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

Disassembly:
sub esp, 0x330
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x32c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x340]
push edi
mov edi, dword [esp + 0x348]
lea eax, [edi + 0xc]
xor ebp, ebp
push str.netapi32.dll
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebp
mov dword [edi], eax
mov dword [edi + 4], ebp
mov dword [edi + 8], 0xc8
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [esp + 0x24], ebx
cmp ebx, ebp
je 0x100a53eb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NetApiBufferFree
push ebx
call esi
push str.NetGetDCName
push ebx
mov dword [esp + 0x24], eax
call esi
push str.NetUserGetInfo
mov ebp, eax
push ebx
mov dword [esp + 0x34], ebp
call esi
mov dword [esp + 0x28], eax
test eax, eax
je 0x100a53d5
test ebp, ebp
je 0x100a53d5
cmp dword [esp + 0x1c], 0
je 0x100a53d5
mov eax, dword [esp + 0x14]
push 0x40
push eax
or ebp, 0xffffffff
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCR90.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x100a530f
lea edx, [esp + 0x30]
push edx
lea eax, [esi + 1]
lea ecx, [esp + 0x40]
push ebp
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xc8
mov byte [esp + 0x48], 0
call sym.tcl85.dll_Tcl_UtfToUniCharDString
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
push 0
call dword [esp + 0x38]
lea edx, [esp + 0x30]
push edx
mov ebx, eax
call sym.tcl85.dll_Tcl_DStringFree
sub esi, dword [esp + 0x18]
add esp, 4
test ebx, ebx
mov ebx, dword [esp + 0x24]
mov ebp, esi
jne 0x100a53c8
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x40]
push ebp
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xc8
mov byte [esp + 0x48], 0
call sym.tcl85.dll_Tcl_UtfToUniCharDString
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 1
push eax
push edx
call dword [esp + 0x38]
test eax, eax
jne 0x100a53bb
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0x10]
test esi, esi
je 0x100a5379
cmp word [esi], 0
je 0x100a5379
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
call sym.tcl85.dll_Tcl_UniCharToUtfDString
add esp, 0xc
jmp 0x100a53ac
push 0x104
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push edi
lea edx, [esp + 0x138]
push 2
push edx
call sym.tcl85.dll_Tcl_UniCharToUtfDString
push 0xffffffffffffffff
push str._users_default
push edi
call sym.tcl85.dll_Tcl_DStringAppend
add esp, 0x18
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
push ecx
mov dword [esp + 0x14], eax
call dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
call sym.tcl85.dll_Tcl_DStringFree
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100a53d5
push eax
call dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x10], 0
jne 0x100a543c
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
cmp byte [esi], 0x2a
je 0x100a5438
push str.system.ini
push 0x104
lea eax, [esp + 0x38]
push eax
push 0x100bb739
push esi
push str.Password_Lists
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x100a5438
push 0x104
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 3
lea edx, [esp + 0x34]
push edx
push edi
call sym.tcl85.dll_Tcl_DStringAppend
mov eax, dword [edi]
add esp, 0xc
jmp 0x100a5440
mov eax, ebp
jmp 0x100a5440
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x33c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b1b48
add esp, 0x330
ret