Function at 0x40d5c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x80000301
push 0
push 0x101
push 1
mov ebx, 0x184
call fcn.0041eb40
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d617
push ebx
call fcn.0041d3bc
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040d987
push eax
push 0x104
call fcn.0040d9a3
push 0x80000301
push 0
push 0x101
push 1
mov ebx, 0x184
call fcn.0041eb40
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40d664
push ebx
call fcn.0041d3bc
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, 0x437c13
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004063e2
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40d69a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40d696
imul eax, dword [ebx]
jmp 0x40d68b
mov ecx, eax
test ecx, ecx
je 0x40d6b9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40d6b2
push ebx
push eax
call fcn.0041d3bc
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40d6a0
call fcn.0041d3bc
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40d6d4
mov eax, 0x4372a0
push eax
push 1
mov ebx, 0x168
call fcn.0041dc60
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d6fa
push ebx
call fcn.0041d3bc
add esp, 4
push dword [ebp - 8]
push 0
push dword [ebp - 0x18]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
nop
nop
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d722
push ebx
call fcn.0041d3bc
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0040c677
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 8]
push eax
call fcn.0040c677
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push 2
mov ebx, 0xc8
call fcn.0041ed00
add esp, 0x1c
push eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d786
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40d791
add eax, 8
push eax
xor eax, eax
call dword [0x43c0d7]
nop
nop
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d7ac
push ebx
call fcn.0041d3bc
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d7bc
push ebx
call fcn.0041d3bc
add esp, 4
push 0x80000004
push 0
push 0x437c23
push 1
mov ebx, 0x168
call fcn.0041dc60
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40d7f0
mov eax, 0x4372a0
push eax
push 1
mov ebx, 0x198
call fcn.0041e210
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40d816
push ebx
call fcn.0041d3bc
add esp, 4
call fcn.0040618c
mov dword [ebp - 0x18], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40d831
mov eax, 0x4372a0
push eax
push 1
mov ebx, 0x168
call fcn.0041dc60
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d857
push ebx
call fcn.0041d3bc
add esp, 4
push 2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00406664
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d87c
push ebx
call fcn.0041d3bc
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d88c
push ebx
call fcn.0041d3bc
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40d89f
mov eax, 0x4372e6
push eax
push 1
mov ebx, 0x168
call fcn.0041dc60
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40d8c5
push ebx
call fcn.0041d3bc
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.00406237
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40d8e1
push ebx
call fcn.0041d3bc
add esp, 4
push str.___nul__exit
push dword [ebp - 8]
push dword [ebp - 0x28]
mov ecx, 3
call fcn.0040128a
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40d90c
push ebx
call fcn.0041d3bc
add esp, 4
push 1
push 1
push 1
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, 0x437c69
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040db11
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40d93f
push ebx
call fcn.0041d3bc
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d94f
push ebx
call fcn.0041d3bc
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, 0x4372a0
jmp 0x40d95f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d970
push ebx
call fcn.0041d3bc
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40d980
push ebx
call fcn.0041d3bc
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4