Function at 0x210fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x249a99
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x265124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x120], 1
call fcn.002093d0
cmp eax, 0x11
je 0x21123c
cmp eax, 0x10
je 0x21123c
cmp eax, 0x13
je 0x21123c
cmp eax, 2
je 0x21123c
sub esp, 0x18
mov ecx, esp
push 0x26647c
call fcn.00223030
lea ecx, [ebp - 0x16c]
call fcn.002061f0
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 4
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x12c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x2110d0
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.00223f40
mov dword [ebp - 0x120], 5
push esi
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x124]
lea ecx, [ebp - 0x154]
call fcn.00225430
mov dword [ebp - 0x120], 0xd
mov byte [ebp - 4], 6
lea edx, [ebp - 0x154]
cmp dword [ebp - 0x140], 0x10
mov ebx, dword [ebp - 0x154]
mov eax, dword [edi + 0x14]
cmovae edx, ebx
mov esi, dword [edi + 0x10]
sub eax, esi
mov ecx, dword [ebp - 0x144]
cmp ecx, eax
ja 0x211172
cmp dword [edi + 0x14], 0x10
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x211159
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call fcn.0022adc0
mov eax, dword [ebp - 0x144]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x21118f
push ecx
push edx
mov byte [ebp - 0x11c], 0
push dword [ebp - 0x11c]
push ecx
mov ecx, edi
call fcn.002251b0
mov ebx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x140]
cmp eax, 0x10
jb 0x2111c5
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x2111bb
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2113b4
push ecx
push ebx
call fcn.00229d26
add esp, 8
mov edx, dword [ebp - 0x128]
cmp edx, 0x10
jb 0x2111ff
mov ecx, dword [ebp - 0x13c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2111f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2113b4
push edx
push ecx
call fcn.00229d26
add esp, 8
mov edx, dword [ebp - 0x158]
cmp edx, 0x10
jb 0x211396
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21138c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2113b4
jmp 0x21138c
sub esp, 0x18
mov ecx, esp
push 0x26647c
call fcn.00223030
lea ecx, [ebp - 0x16c]
call fcn.002061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 1
call fcn.0020a750
push esi
push eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
push dword [ebp - 0x124]
call fcn.00225430
mov dword [ebp - 0x120], 3
mov byte [ebp - 4], 3
lea edx, [ebp - 0x13c]
cmp dword [ebp - 0x128], 0x10
mov ebx, dword [ebp - 0x13c]
mov eax, dword [edi + 0x14]
cmovae edx, ebx
mov esi, dword [edi + 0x10]
sub eax, esi
mov ecx, dword [ebp - 0x12c]
cmp ecx, eax
ja 0x2112e3
cmp dword [edi + 0x14], 0x10
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x2112ca
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call fcn.0022adc0
mov eax, dword [ebp - 0x12c]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x211300
push ecx
push edx
mov byte [ebp - 0x11c], 0
push dword [ebp - 0x11c]
push ecx
mov ecx, edi
call fcn.002251b0
mov ebx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x128]
cmp eax, 0x10
jb 0x211336
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x21132c
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2113b4
push ecx
push ebx
call fcn.00229d26
add esp, 8
mov edx, dword [ebp - 0x140]
cmp edx, 0x10
jb 0x21136c
mov ecx, dword [ebp - 0x154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x211362
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2113b4
push edx
push ecx
call fcn.00229d26
add esp, 8
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
jmp 0x2111ff
push edx
push ecx
call fcn.00229d26
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.002296b0
mov esp, ebp
pop ebp
ret
call fcn.0022ea38
int3