Function at 0x577640
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x32c
mov edx, dword [esp + 0x344]
mov dword [esp], edx
call fcn.004fde3c
mov dword [esp], str.netapi32.dll
call sub.KERNEL32.dll_LoadLibraryA
push ebx
mov ebx, eax
test eax, eax
je 0x57777d
mov dword [esp + 4], str.NetApiBufferFree
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov dword [esp + 0x28], eax
mov dword [esp + 4], str.NetGetDCName
mov dword [esp], ebx
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov edi, eax
mov dword [esp + 4], str.NetUserGetInfo
mov dword [esp], ebx
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov ebp, eax
test eax, eax
je 0x577774
test edi, edi
je 0x577774
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x577774
mov dword [esp + 0x40], 0
mov dword [esp + 4], 0x40
mov eax, dword [esp + 0x340]
mov dword [esp], eax
call sub.msvcrt.dll_strchr
mov dword [esp + 0x2c], eax
test eax, eax
je 0x5777e0
lea esi, [esp + 0x44]
mov dword [esp], esi
call fcn.004fde3c
mov dword [esp + 8], esi
mov dword [esp + 4], 0xffffffff
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp], eax
call fcn.0050d000
lea edx, [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0
call edi
sub esp, 0xc
mov edi, eax
mov dword [esp], esi
call fcn.004fdf7c
test edi, edi
je 0x577921
xor edi, edi
mov eax, dword [esp + 0x40]
test eax, eax
je 0x577759
mov dword [esp], eax
call dword [esp + 0x28]
push eax
mov dword [esp], ebx
call sub.KERNEL32.dll_FreeLibrary
push eax
test edi, edi
je 0x57777d
mov eax, edi
add esp, 0x32c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call sub.KERNEL32.dll_FreeLibrary
push ebp
mov eax, dword [esp + 0x340]
cmp byte [eax], 0x2a
je 0x5777ce
mov dword [esp + 0x14], str.system.ini
mov dword [esp + 0x10], 0x104
lea ebx, [esp + 0x118]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x61dd85
mov edx, dword [esp + 0x340]
mov dword [esp + 4], edx
mov dword [esp], str.Password_Lists
call sub.KERNEL32.dll_GetPrivateProfileStringA
sub esp, 0x18
test eax, eax
jne 0x5778c0
xor edi, edi
mov eax, edi
add esp, 0x32c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, 0xffffffff
lea esi, [esp + 0x44]
mov dword [esp], esi
call fcn.004fde3c
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov edx, dword [esp + 0x340]
mov dword [esp], edx
call fcn.0050d000
lea edx, [esp + 0x3c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call ebp
sub esp, 0x10
test eax, eax
jne 0x5778b0
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x10]
test edi, edi
je 0x577845
cmp word [edi], 0
jne 0x5778fc
mov dword [esp + 4], 0x104
lea edi, [esp + 0x118]
mov dword [esp], edi
call sub.KERNEL32.dll_GetWindowsDirectoryW
sub esp, 8
mov edx, dword [esp + 0x344]
mov dword [esp + 8], edx
mov dword [esp + 4], 2
mov dword [esp], edi
call fcn.0050cee0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], str._users_default
mov edx, dword [esp + 0x344]
mov dword [esp], edx
call fcn.004fde58
mov edx, dword [esp + 0x344]
mov edi, dword [edx]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dword [esp + 0x28]
push eax
jmp 0x5778b2
xor edi, edi
mov dword [esp], esi
call fcn.004fdf7c
jmp 0x577749
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call sub.KERNEL32.dll_GetWindowsDirectoryA
sub esp, 8
mov dword [esp + 8], 3
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x344]
mov dword [esp], edx
call fcn.004fde58
mov edx, dword [esp + 0x344]
mov edi, dword [edx]
jmp 0x577766
mov dword [esp], edi
call sub.KERNEL32.dll_lstrlenW
push edx
mov edx, dword [esp + 0x344]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0050cee0
jmp 0x577899
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x340]
jmp 0x5777e9