Function at 0x43119e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4678
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1f5b]
push esi
push edi
mov esi, 0x3e7
mov dword [ebp - 0x4674], ecx
push esi
push 0
push eax
mov byte [ebp - 0x1f5c], 0
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x1b74], 0
lea eax, [ebp - 0x1b73]
push esi
push 0
push eax
call fcn.006390b0
mov esi, str.32BitFtp.ini
lea edi, [ebp - 0x18]
add esp, 0xc
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.00643470
mov esi, 0x3e8
pop ecx
cmp eax, 1
jae 0x431246
push esi
lea eax, [ebp - 0x1b74]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x431240
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
lea ebx, [ebp - 0x1b74]
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x6c643c
lea eax, [ebp - 0x1f5c]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x1f5c]
xor ebx, ebx
mov dword [ebp - 0x4670], ebx
push 0x6c63d0
push eax
lea eax, [ebp - 0x4670]
push eax
call fcn.00649a00
add esp, 0xc
test eax, eax
jne 0x43122d
cmp dword [ebp - 0x4670], ebx
je 0x43122d
mov edi, 0x3e7
mov byte [ebp - 0x404], bl
push edi
lea eax, [ebp - 0x403]
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xfbc], bl
lea eax, [ebp - 0xfbb]
push edi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x178c], bl
lea eax, [ebp - 0x178b]
push edi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xbd4], bl
lea eax, [ebp - 0xbd3]
push edi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x7ec], bl
lea eax, [ebp - 0x7eb]
push edi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x13a4], bl
lea eax, [ebp - 0x13a3]
push edi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x466c]
push dword [ebp - 0x4670]
push 0x2710
push eax
call fcn.006494dd
mov edi, 0x6c5bb9
jmp 0x43162c
lea eax, [ebp - 0x466c]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x431370
lea eax, [ebp - 0x466c]
push eax
call fcn.00643470
dec eax
pop ecx
cmp eax, 0x2710
jae 0x4316d4
mov byte [ebp + eax - 0x466c], bl
lea ecx, [ebp - 0x466c]
call fcn.004047e7
lea eax, [ebp - 0x466c]
push 0x5b
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
je 0x431457
lea eax, [ebp - 0x466c]
push 0x5d
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
je 0x431457
lea eax, [ebp - 0x404]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x431434
lea eax, [ebp - 0x7ec]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x4313f2
lea eax, [ebp - 0x7ec]
push eax
lea eax, [ebp - 0xbd4]
push eax
push str._s:_s
lea eax, [ebp - 0x13a4]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x431409
lea eax, [ebp - 0xbd4]
push eax
lea eax, [ebp - 0x13a4]
push esi
push eax
call fcn.006494f3
add esp, 0xc
mov ecx, dword [ebp - 0x4674]
lea eax, [ebp - 0x404]
push 0xffffffffffffffff
push edi
push eax
lea eax, [ebp - 0x178c]
push eax
lea eax, [ebp - 0x13a4]
push eax
push edi
push 0x14d
push 4
call fcn.0043ee6b
mov byte [ebp - 0x178c], bl
mov byte [ebp - 0x7ec], bl
mov byte [ebp - 0xbd4], bl
mov byte [ebp - 0xfbc], bl
mov byte [ebp - 0x404], bl
jmp 0x431615
push str.hostaddress
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x466c]
push str.hostaddress
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x4314af
push str.hostaddress
call fcn.00643470
pop ecx
lea ecx, [ebp - 0x466c]
add eax, ecx
push eax
lea eax, [ebp - 0xbd4]
push esi
push eax
call fcn.006494f3
lea ecx, [ebp - 0xbd4]
add esp, 0xc
call fcn.004047e7
jmp 0x431615
push str.hostport
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x466c]
push str.hostport
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x4314fc
push str.hostport
call fcn.00643470
pop ecx
lea ecx, [ebp - 0x466c]
add eax, ecx
push eax
lea eax, [ebp - 0x7ec]
push esi
push eax
call fcn.006494f3
lea ecx, [ebp - 0x7ec]
jmp 0x4314a2
push str.hostusername
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x466c]
push str.hostusername
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x43154c
push str.hostusername
call fcn.00643470
pop ecx
lea ecx, [ebp - 0x466c]
add eax, ecx
push eax
lea eax, [ebp - 0x178c]
push esi
push eax
call fcn.006494f3
lea ecx, [ebp - 0x178c]
jmp 0x4314a2
push str.hostpassword
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x466c]
push str.hostpassword
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x431615
push str.hostpassword
call fcn.00643470
pop ecx
lea ecx, [ebp - 0x466c]
add eax, ecx
push eax
lea eax, [ebp - 0xfbc]
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea ecx, [ebp - 0xfbc]
call fcn.004047e7
lea eax, [ebp - 0xfbc]
mov byte [ebp - 0x404], bl
push eax
call fcn.00643470
pop ecx
cmp eax, 1
jb 0x431615
lea esi, [ebp - 0xfbc]
mov eax, esi
push eax
call fcn.00643470
cdq
sub eax, edx
mov edi, eax
sar edi, 1
pop ecx
test edi, edi
jle 0x431601
lea eax, [ebp - 0x4678]
push eax
push str._02X
push esi
call fcn.00404468
mov al, byte [ebp - 0x4678]
add esp, 0xc
sub al, bl
add esi, 2
mov byte [ebp + ebx - 0x404], al
inc ebx
cmp ebx, edi
jl 0x4315d5
mov byte [ebp + ebx - 0x404], 0
mov esi, 0x3e8
xor ebx, ebx
mov edi, 0x6c5bb9
push dword [ebp - 0x4670]
lea eax, [ebp - 0x466c]
push 0x2710
push eax
call fcn.006494dd
add esp, 0xc
test eax, eax
jne 0x43133f
push dword [ebp - 0x4670]
call fcn.00649273
pop ecx
lea eax, [ebp - 0x404]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x4316cc
lea eax, [ebp - 0x7ec]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x43168a
lea eax, [ebp - 0x7ec]
push eax
lea eax, [ebp - 0xbd4]
push eax
push str._s:_s
lea eax, [ebp - 0x13a4]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x4316a1
lea eax, [ebp - 0xbd4]
push eax
lea eax, [ebp - 0x13a4]
push esi
push eax
call fcn.006494f3
add esp, 0xc
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x178c]
push eax
lea ecx, [ebp - 0x13a4]
push ecx
mov ecx, dword [ebp - 0x4674]
push edi
push 0x14d
push 4
call fcn.0043ee6b
xor eax, eax
inc eax
jmp 0x43122f
call fcn.00612782
int3