Function at 0x421fcf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x234c
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 5
pop ecx
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x178c]
and dword [ebp - 0x2348], 0
lea eax, [ebp - 0x1777]
mov esi, str.BitKinex_bitkinex.ds
rep movsd dword es:[edi], dword [esi]
push 0x3d3
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.00626f50
push ebx
mov esi, str.RecoverBitkinexPassword
push esi
push str._n__s_Entered____s_
call fcn.00449974
push ebx
call fcn.00631510
add esp, 0x1c
cmp eax, 1
jae 0x422092
lea eax, [ebp - 0x2344]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x422068
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
call fcn.00449974
add esp, 0xc
jmp 0x4223c5
lea eax, [ebp - 0x178c]
mov edi, 0x3e8
push eax
lea eax, [ebp - 0x2344]
push eax
push 0x66c218
lea eax, [ebp - 0xbd4]
push edi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x4220a8
push ebx
mov edi, 0x3e8
lea eax, [ebp - 0xbd4]
push edi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0xbd4]
push eax
push esi
push str._n_s_Final_profile_path___s
call fcn.00449974
push 0x66ca20
lea eax, [ebp - 0xbd4]
push eax
lea eax, [ebp - 0x2348]
push eax
call fcn.00632119
add esp, 0x18
test eax, eax
jne 0x4223b2
cmp dword [ebp - 0x2348], eax
je 0x4223b2
push dword [ebp - 0x2348]
lea eax, [ebp - 0x404]
or ebx, 0xffffffff
push edi
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
je 0x422390
lea esi, [ebp - 0x404]
dec esi
mov dword [ebp - 0x234c], esi
lea eax, [ebp - 0x404]
push eax
call fcn.00631510
pop ecx
cmp byte [eax + esi], 0xa
jne 0x42214b
lea eax, [ebp - 0x404]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, 0x400
jae 0x4223d6
mov byte [ebp + eax - 0x404], 0
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x7ec]
push edi
push eax
call fcn.006311ec
lea eax, [ebp - 0x7ec]
push eax
call fcn.00631510
inc eax
push eax
lea eax, [ebp - 0x7ec]
push eax
call fcn.00631711
lea eax, [ebp - 0x7ec]
push eax
call fcn.00449da7
lea eax, [ebp - 0x7ec]
push eax
call fcn.00631510
add esp, 0x20
cmp eax, 2
jb 0x42236d
push str._node_definition
call fcn.00631510
push eax
lea eax, [ebp - 0x7ec]
push str._node_definition
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x4221f1
mov byte [ebp - 0x1f5c], al
inc ebx
mov byte [ebp - 0x1b74], al
mov byte [ebp - 0xfbc], al
mov byte [ebp - 0x13a4], al
lea eax, [ebp - 0x404]
push eax
push str._n_Found_Start_of_account_line__s
call fcn.00449974
pop ecx
pop ecx
jmp 0x42236d
push str.SET_DST_ADDR
call fcn.00631510
push eax
lea eax, [ebp - 0x7ec]
push str.SET_DST_ADDR
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x422264
lea eax, [ebp - 0x404]
push eax
push str._n_Found_host_line__s
call fcn.00449974
push str.SET_DST_ADDR
call fcn.00631510
lea esi, [ebp - 0x404]
add esi, eax
push esi
call fcn.00449da7
push esi
lea eax, [ebp - 0x13a4]
push edi
push eax
call fcn.006311ec
lea eax, [ebp - 0x13a4]
push eax
push str._n__Got_Server__s
call fcn.00449974
add esp, 0x24
jmp 0x422367
push str.SET_USER
call fcn.00631510
push eax
lea eax, [ebp - 0x7ec]
push str.SET_USER
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x4222cc
lea eax, [ebp - 0x404]
push eax
push str._n_Found_user_line__s
call fcn.00449974
push str.SET_USER
call fcn.00631510
lea esi, [ebp - 0x404]
add esi, eax
push esi
call fcn.00449da7
push esi
lea eax, [ebp - 0xfbc]
push edi
push eax
call fcn.006311ec
lea eax, [ebp - 0xfbc]
push eax
push str._n__Got_Username___s
jmp 0x422257
push str.SET_PASS
call fcn.00631510
push eax
lea eax, [ebp - 0x7ec]
push str.SET_PASS
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x42236d
lea eax, [ebp - 0x404]
push eax
push str._n_Found_Password_line__s
call fcn.00449974
push str.SET_PASS
call fcn.00631510
lea esi, [ebp - 0x404]
add esi, eax
push esi
call fcn.00449da7
push esi
lea eax, [ebp - 0x1b74]
push edi
push eax
call fcn.006311ec
push edi
lea eax, [ebp - 0x1f5c]
push eax
lea eax, [ebp - 0x1b74]
push eax
call fcn.0040870b
push 0xffffffffffffffff
mov ecx, 0x66ae5d
lea eax, [ebp - 0x1f5c]
push ecx
push eax
lea eax, [ebp - 0xfbc]
push eax
lea eax, [ebp - 0x13a4]
push eax
push ecx
push 0x142
push 4
call fcn.00412c85
add esp, 0x48
mov esi, dword [ebp - 0x234c]
push dword [ebp - 0x2348]
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
jne 0x422117
mov esi, str.RecoverBitkinexPassword
push dword [ebp - 0x2348]
call fcn.00637603
lea ecx, [ebx + 1]
push ecx
push esi
push str._n_n_s_Total_Bitkindex_Accounts_found__d
call fcn.00449974
xor eax, eax
add esp, 0x10
inc eax
jmp 0x4223c7
lea eax, [ebp - 0xbd4]
push eax
push str._n_Unable_to_find_Bitkinex_password_file_:__s
call fcn.00449974
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
call fcn.005fe87a
int3