Function at 0x411210
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449cf9
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x466124]
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.004093d0
cmp eax, 0x11
je 0x41147c
cmp eax, 0x10
je 0x41147c
cmp eax, 0x13
je 0x41147c
cmp eax, 2
je 0x41147c
sub esp, 0x18
mov ecx, esp
push 0x46747c
call fcn.00423040
lea ecx, [ebp - 0x16c]
call fcn.004061f0
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 0x411310
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.00423f50
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.00425440
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 0x4113b2
cmp dword [edi + 0x14], 0x10
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x411399
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call fcn.0042add0
mov eax, dword [ebp - 0x144]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x4113cf
push ecx
push edx
mov byte [ebp - 0x11c], 0
push dword [ebp - 0x11c]
push ecx
mov ecx, edi
call fcn.004251c0
mov ebx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x140]
cmp eax, 0x10
jb 0x411405
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4113fb
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4115f4
push ecx
push ebx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp - 0x128]
cmp edx, 0x10
jb 0x41143f
mov ecx, dword [ebp - 0x13c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411435
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4115f4
push edx
push ecx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp - 0x158]
cmp edx, 0x10
jb 0x4115d6
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4115cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4115f4
jmp 0x4115cc
sub esp, 0x18
mov ecx, esp
push 0x46747c
call fcn.00423040
lea ecx, [ebp - 0x16c]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 1
call fcn.0040a750
push esi
push eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
push dword [ebp - 0x124]
call fcn.00425440
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 0x411523
cmp dword [edi + 0x14], 0x10
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x41150a
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call fcn.0042add0
mov eax, dword [ebp - 0x12c]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x411540
push ecx
push edx
mov byte [ebp - 0x11c], 0
push dword [ebp - 0x11c]
push ecx
mov ecx, edi
call fcn.004251c0
mov ebx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x128]
cmp eax, 0x10
jb 0x411576
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41156c
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4115f4
push ecx
push ebx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp - 0x140]
cmp edx, 0x10
jb 0x4115ac
mov ecx, dword [ebp - 0x154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4115a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4115f4
push edx
push ecx
call fcn.00429d36
add esp, 8
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
jmp 0x41143f
push edx
push ecx
call fcn.00429d36
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.004296c0
mov esp, ebp
pop ebp
ret
call fcn.0042ed29
int3