Function at 0x41e4f7
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x65b0
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 - 0x7e3]
push esi
push edi
mov esi, 0x3e7
mov dword [ebp - 0x65ac], ecx
push esi
push 0
push eax
mov byte [ebp - 0x7e4], 0
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x139c], 0
lea eax, [ebp - 0x139b]
push esi
push 0
push eax
call fcn.006390b0
mov esi, str.site.json
lea edi, [ebp - 0x14]
add esp, 0xc
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x41e61b
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [ebp - 0x139c]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x1a
push ebx
call edi
test eax, eax
js 0x41e613
lea eax, [ebp - 0x14]
mov esi, 0x3e8
push eax
lea eax, [ebp - 0x139c]
push eax
push str._sFTPRush_s
lea eax, [ebp - 0x7e4]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x7e4]
call fcn.00405670
test eax, eax
jne 0x41e63c
lea eax, [ebp - 0x139c]
push eax
push ebx
push ebx
push 0x26
push ebx
call edi
test eax, eax
js 0x41e613
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x139c]
push eax
push str._sFTPRush_s
lea eax, [ebp - 0x7e4]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x7e4]
call fcn.00405670
test eax, eax
jne 0x41e63c
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41e600
lea eax, [ebp - 0x14]
mov esi, 0x3e8
push eax
push ebx
push 0x6c643c
lea eax, [ebp - 0x7e4]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
xor ebx, ebx
push 0x6c63d0
lea eax, [ebp - 0x7e4]
mov dword [ebp - 0x65a8], ebx
push eax
lea eax, [ebp - 0x65a8]
push eax
call fcn.00649a00
add esp, 0xc
test eax, eax
jne 0x41e600
cmp dword [ebp - 0x65a8], eax
je 0x41e600
mov edi, 0x3e7
mov byte [ebp - 0x3fc], bl
push edi
lea eax, [ebp - 0x3fb]
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x1784], bl
lea eax, [ebp - 0x1783]
push edi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xbcc], bl
lea eax, [ebp - 0xbcb]
push edi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xfb4], bl
lea eax, [ebp - 0xfb3]
push edi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x3e94]
push dword [ebp - 0x65a8]
push 0x2710
push eax
call fcn.006494dd
mov ebx, dword [ebp - 0x65ac]
jmp 0x41e97d
lea eax, [ebp - 0x3e94]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x41e71e
lea eax, [ebp - 0x3e94]
push eax
call fcn.00643470
dec eax
pop ecx
cmp eax, 0x2710
jae 0x41e9dc
mov byte [ebp + eax - 0x3e94], 0
lea ecx, [ebp - 0x3e94]
call fcn.004046b4
lea ecx, [ebp - 0x3e94]
call fcn.004047e7
lea eax, [ebp - 0x3e94]
push eax
lea eax, [ebp - 0x65a4]
push 0x2710
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x65a4]
push eax
call fcn.00643470
pop ecx
inc eax
push eax
lea eax, [ebp - 0x65a4]
push eax
call fcn.0064ffd4
lea eax, [ebp - 0x65a4]
push str.host:
push eax
call fcn.00639500
add esp, 0x10
test eax, eax
jne 0x41e8c8
lea eax, [ebp - 0x65a4]
push str.host_:
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
jne 0x41e8c8
lea eax, [ebp - 0x65a4]
push str.username_:
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
jne 0x41e87d
lea eax, [ebp - 0x65a4]
push str.username:
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
jne 0x41e87d
lea eax, [ebp - 0x65a4]
push str.password_:
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
jne 0x41e809
lea eax, [ebp - 0x65a4]
push str.password:
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x41e966
lea eax, [ebp - 0x3e94]
push 0x3a
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
je 0x41e966
lea edi, [eax + 1]
lea eax, [ebp - 0x3e94]
push 0x2c
push eax
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x41e83b
mov byte [eax], 0
push edi
lea eax, [ebp - 0x1784]
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea ecx, [ebp - 0x1784]
call fcn.004047e7
push ecx
lea edx, [ebp - 0x3fc]
lea ecx, [ebp - 0x1784]
call fcn.004020b3
pop ecx
test eax, eax
jne 0x41e966
mov byte [ebp - 0x3fc], al
jmp 0x41e966
lea eax, [ebp - 0x3e94]
push 0x3a
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
je 0x41e966
lea edi, [eax + 1]
lea eax, [ebp - 0x3e94]
push 0x2c
push eax
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x41e8af
mov byte [eax], 0
push edi
lea eax, [ebp - 0xbcc]
push esi
push eax
call fcn.006494f3
lea ecx, [ebp - 0xbcc]
jmp 0x41e95e
lea eax, [ebp - 0x3fc]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x41e91c
push 0xffffffffffffffff
push 0x6c5bb9
lea eax, [ebp - 0x3fc]
mov ecx, ebx
push eax
lea eax, [ebp - 0xbcc]
push eax
lea eax, [ebp - 0xfb4]
push eax
push 0x6c5bb9
push 0x140
push 4
call fcn.0043ee6b
xor eax, eax
mov byte [ebp - 0x3fc], al
mov byte [ebp - 0xbcc], al
mov byte [ebp - 0xfb4], al
lea eax, [ebp - 0x3e94]
push 0x3a
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
je 0x41e966
lea edi, [eax + 1]
lea eax, [ebp - 0x3e94]
push 0x2c
push eax
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x41e94a
mov byte [eax], 0
push edi
lea eax, [ebp - 0xfb4]
push esi
push eax
call fcn.006494f3
lea ecx, [ebp - 0xfb4]
add esp, 0xc
call fcn.004047e7
push dword [ebp - 0x65a8]
lea eax, [ebp - 0x3e94]
push 0x2710
push eax
call fcn.006494dd
add esp, 0xc
test eax, eax
jne 0x41e6ec
push dword [ebp - 0x65a8]
call fcn.00649273
pop ecx
lea eax, [ebp - 0x3fc]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x41e9d4
push 0xffffffffffffffff
push 0x6c5bb9
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0xbcc]
push eax
lea ecx, [ebp - 0xfb4]
push ecx
push 0x6c5bb9
push 0x140
push 4
mov ecx, ebx
call fcn.0043ee6b
xor eax, eax
inc eax
jmp 0x41e602
call fcn.00612782
int3