Function at 0x403a95
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403e38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 4
sub esp, 0x138
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x148], ecx
mov ecx, dword [ebp - 0x148]
call fcn.00402b91
test eax, eax
jne 0x403ae8
mov ecx, dword [ebp - 0x148]
call fcn.00402be0
test eax, eax
je 0x403aed
jmp 0x403e42
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0x8c], 0
jne 0x403b3e
push 0xa607
mov ecx, dword [ebp - 0x148]
call fcn.00402966
push str.Bad_FTP_Client__Trying_to_STORe_without_a_PORT_command_first_is_against_RFC1123_
push 0x21
mov eax, dword [ebp - 0x148]
push dword [eax + 0x23d8]
push dword [0x43ee50]
mov eax, dword [0x43ee50]
mov eax, dword [eax]
call dword [eax + 0xbc]
add esp, 0x10
jmp 0x403e42
mov ecx, dword [ebp - 0x148]
call fcn.0040282a
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0xc], 0
je 0x403b7d
mov eax, dword [ebp - 0x148]
add eax, 0x2a0
push eax
push 0
push str.STOU
push 0x43dcb4
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
jmp 0x403ba6
mov eax, dword [ebp - 0x148]
mov byte [eax + 0x2a0], 0
push 0x104
push dword [ebp + 8]
mov eax, dword [ebp - 0x148]
add eax, 0x2a0
push eax
call fcn.0040f572
add esp, 0xc
push 2
mov eax, dword [ebp - 0x148]
add eax, 0x2a0
push eax
mov ecx, dword [ebp - 0x148]
call fcn.00406c35
test eax, eax
jne 0x403c1b
push 0xafcb
mov ecx, dword [ebp - 0x148]
call fcn.00402966
mov eax, dword [ebp - 0x148]
add eax, 0x2a0
push eax
mov eax, dword [ebp - 0x148]
add eax, 0x3c
push eax
push str.User__s_not_allowed_access_to__s
push 0x50
mov eax, dword [ebp - 0x148]
push dword [eax + 0x23d8]
push dword [0x43ee50]
mov eax, dword [0x43ee50]
mov eax, dword [eax]
call dword [eax + 0xbc]
add esp, 0x18
jmp 0x403e42
lea ecx, [ebp - 0x138]
call fcn.0041f820
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x10], 0
jne 0x403c3f
or byte [ebp - 0x17], 0x10
push 0xc
call fcn.0040ed53
add esp, 4
mov dword [ebp - 0x140], eax
jmp 0x403c54
cmp dword [ebp - 0x140], 0
je 0x403c8c
mov eax, dword [ebp - 0x18]
or al, 0x11
push eax
mov eax, dword [ebp - 0x148]
add eax, 0x2a0
push eax
mov ecx, dword [ebp - 0x140]
call fcn.0041eee0
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x34], eax
jmp 0x403c99
mov eax, dword [ebp - 0x148]
mov dword [eax + 0x34], 0
cmp dword [ebp + 0x10], 0
je 0x403ccc
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x144], eax
push 2
push 0
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x144]
call dword [eax + 0x20]
jmp 0x403ccc
jmp 0x403d66
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00403e2c
jmp 0x403d7e
jmp 0x403d83
jmp 0x403d88
jmp 0x403d8d
lea eax, [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x148]
add eax, 0x2a0
push eax
call fcn.0041f68e
test eax, eax
je 0x403dc8
lea eax, [ebp - 0x11e]
push eax
mov eax, dword [ebp - 0x148]
add eax, 0x2a0
push eax
call fcn.0040f3fc
add esp, 8
cmp dword [ebp + 0xc], 1
sbb eax, eax
add eax, 2
push eax
mov ecx, dword [ebp - 0x148]
call fcn.00407196
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
mov eax, str.start
mov ecx, str.fail
xor edx, edx
cmp dword [ebp - 0x14], 0
setne dl
dec edx
sub ecx, eax
and edx, ecx
add edx, eax
push edx
push str.STORe__sed_on_file__s
push 0x50
mov eax, dword [ebp - 0x148]
push dword [eax + 0x23d8]
push dword [0x43ee50]
mov eax, dword [0x43ee50]
mov eax, dword [eax]
call dword [eax + 0xbc]
add esp, 0x18
jmp 0x403e42
mov eax, dword [ebp - 0xc]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
leave
ret 0xc