Function at 0x5781c4
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.004fe628
mov dword [esp], 0x62d51d
call sub.KERNEL32.dll_LoadLibraryA
push ebx
mov ebx, eax
test eax, eax
je 0x578301
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 0x5782f8
test edi, edi
je 0x5782f8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5782f8
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 0x578364
lea esi, [esp + 0x44]
mov dword [esp], esi
call fcn.004fe628
mov dword [esp + 8], esi
mov dword [esp + 4], 0xffffffff
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp], eax
call fcn.0050d8d4
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.004fe768
test edi, edi
je 0x5784a5
xor edi, edi
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5782dd
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 0x578301
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 0x578352
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], 0x62d571
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 0x578444
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.004fe628
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov edx, dword [esp + 0x340]
mov dword [esp], edx
call fcn.0050d8d4
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 0x578434
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x10]
test edi, edi
je 0x5783c9
cmp word [edi], 0
jne 0x578480
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.0050d7b4
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], str._users_default
mov edx, dword [esp + 0x344]
mov dword [esp], edx
call fcn.004fe644
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 0x578436
xor edi, edi
mov dword [esp], esi
call fcn.004fe768
jmp 0x5782cd
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.004fe644
mov edx, dword [esp + 0x344]
mov edi, dword [edx]
jmp 0x5782ea
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.0050d7b4
jmp 0x57841d
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x340]
jmp 0x57836d