Function at 0x44a389
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x48a881
call fcn.0047dc56
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
or dword [ebp - 4], 0xffffffff
push edi
push edi
push ebx
push 0x441470
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 0x18]
call fcn.004323bf
mov eax, dword [ebp - 0x18]
test eax, eax
sete byte [ebp - 0xd]
add ebx, 0x60
test eax, eax
je 0x44a453
mov eax, dword [ebx]
mov dword [ebp - 0x14], ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, ebx
call esi
test eax, eax
je 0x44a409
mov eax, dword [ebx]
push 0x410118
push 2
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, ebx
call esi
push eax
call fcn.00456145
add esp, 0xc
cmp byte [ebp - 0xd], 0
mov eax, edi
jne 0x44a414
mov eax, dword [ebp - 0x18]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44a4d9
cmp eax, 0xffffffff
je 0x44a498
mov eax, dword [ebx]
mov edi, 0x8000ffff
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x44a5a3
push 0xc58
jmp 0x44a583
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004324dd
mov edx, dword [ebx]
mov edi, eax
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, ebx
call esi
test eax, eax
je 0x44a5a3
mov eax, dword [ebx]
push 0xc40
push 0x4100e4
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, ebx
jmp 0x44a598
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x44a4af
movzx edi, di
or edi, 0x80070000
test edi, edi
jns 0x44a5a3
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x44a5a3
push 0xc53
jmp 0x44a583
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x44a511
mov eax, dword [ebx]
push 0x410160
push 2
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, dword [ebp - 0x14]
call esi
push eax
call fcn.00456145
add esp, 0xc
cmp byte [ebp - 0xd], 0
jne 0x44a51a
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x44a554
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004324dd
mov edi, eax
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x44a5a3
push 0xc4e
jmp 0x44a583
mov edi, dword [ebp - 0x20]
test edi, edi
jle 0x44a566
movzx edi, di
or edi, 0x80070000
test edi, edi
jns 0x44a5a3
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x44a5a3
push 0xc4f
mov eax, dword [ebx]
push 0x4100e4
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4928c8]
mov ecx, dword [ebp - 0x14]
call esi
mov edx, edi
mov ecx, eax
call fcn.00456239
push edi
call fcn.00432150
mov dword [ebp - 4], 1
cmp byte [ebp - 0xd], 0
jne 0x44a5bf
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.0047dc27
ret