Function at 0x461c9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f2c
xor eax, eax
push ebp
push 0x461f18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403afc
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x40db58]
call fcn.00402f3c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x461ede
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4879a8], 0
je 0x461ddc
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 4]
call fcn.00407368
mov edx, dword [ebp - 0x22c]
mov eax, dword [0x4879b0]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov esi, eax
cmp esi, 0xffffffff
jle 0x461de7
mov edx, esi
mov eax, dword [0x4879b0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
push 0x40
mov ecx, dword [0x4879b8]
mov dl, 1
mov eax, dword [0x40da98]
call fcn.00411104
mov dword [ebp - 8], eax
mov edx, dword [esi + 4]
xor ecx, ecx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov dl, 1
mov eax, dword [0x40db58]
call fcn.00402f3c
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00410f40
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00410e04
xor ecx, ecx
mov dl, 1
mov eax, dword [0x45d394]
call fcn.00414e48
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, 0x24
mov edx, 0x461f30
call fcn.00403b50
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x28], 0x2e32
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.0045de5c
jmp 0x461de7
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00411370
mov eax, dword [ebp - 0x10]
call fcn.00410e10
test eax, eax
jle 0x461ea8
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00410e04
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00403b94
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00407b10
lea eax, [ebp - 0x225]
push eax
push 0x201
call sub.KERNEL32.DLL_GetTempPathA
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x225]
mov ecx, 0x201
call fcn.00403d28
lea eax, [ebp - 0x22c]
push eax
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 0x1c]
call fcn.00407ad8
mov edx, dword [ebp - 0x230]
pop eax
call fcn.00403d80
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 0x14]
call fcn.00403b94
push 0xffff
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x40da98]
call fcn.00411104
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.00410f40
mov edx, dword [ebp - 0x14]
mov eax, dword [0x487a44]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.00403b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461ee5
mov eax, dword [ebp - 0xc]
call fcn.00402f64
mov eax, dword [ebp - 8]
call fcn.00402f64
mov eax, dword [ebp - 0x20]
call fcn.00402f64
mov eax, dword [ebp - 0x10]
call fcn.00402f64
mov eax, dword [ebp - 0x24]
call fcn.00402f64
ret