Function at 0x40c9c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449a64
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x462014]
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 - 0x154], edi
mov dword [ebp - 0x120], 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.00407c80
cmp eax, 0x11
je 0x40cc2f
cmp eax, 0x10
je 0x40cc2f
cmp eax, 0x13
je 0x40cc2f
cmp eax, 2
je 0x40cc2f
sub esp, 0x18
mov ecx, esp
push 0x46323c
call fcn.00417a50
lea ecx, [ebp - 0x16c]
call fcn.00405960
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 - 0x128], 0
mov dword [ebp - 0x124], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x138], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cab0
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.00418110
mov dword [ebp - 0x120], 3
push esi
lea edx, [ebp - 0x138]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x150]
call fcn.00418270
add esp, 4
mov byte [ebp - 4], 6
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40cafd
mov edx, dword [eax]
mov ebx, dword [eax + 0x10]
mov esi, dword [edi + 0x14]
mov eax, esi
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp ebx, eax
ja 0x40cb31
lea eax, [ecx + ebx]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x40cb1d
mov eax, dword [edi]
push ebx
lea esi, [eax + ecx]
push edx
push esi
call fcn.004342b0
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x40cb48
push ebx
push edx
mov byte [ebp - 0x11c], 0
mov ecx, edi
push dword [ebp - 0x11c]
push ebx
call fcn.00418f90
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x40cb82
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd81
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp edx, 0x10
jb 0x40cbd7
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cbcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd81
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp edx, 0x10
jb 0x40cd63
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cd59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd81
jmp 0x40cd59
sub esp, 0x18
mov ecx, esp
push 0x46323c
call fcn.00417a50
lea ecx, [ebp - 0x16c]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 1
call fcn.00408f80
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.00418270
add esp, 0x1c
mov byte [ebp - 4], 3
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40cc80
mov edx, dword [eax]
mov ebx, dword [eax + 0x10]
mov esi, dword [edi + 0x14]
mov eax, esi
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp ebx, eax
ja 0x40ccb4
lea eax, [ecx + ebx]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x40cca0
mov eax, dword [edi]
push ebx
lea esi, [eax + ecx]
push edx
push esi
call fcn.004342b0
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x40cccb
push ebx
push edx
mov byte [ebp - 0x11c], 0
mov ecx, edi
push dword [ebp - 0x11c]
push ebx
call fcn.00418f90
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x40cd05
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ccfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd81
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp edx, 0x10
jb 0x40cbd7
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cbcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd81
jmp 0x40cbcd
push edx
push ecx
call fcn.0041d6b3
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.0041d041
mov esp, ebp
pop ebp
ret
call fcn.00436cca
int3