Function at 0x44b80c
Capabilities:
Resume thread
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push esi
mov eax, 0xe1c2f3b4
mov dword [ebp - 0x18], eax
dec eax
push eax
test byte [ebp + 0x20], 0x20
jne 0x44b93e
mov ecx, dword [ebp + 0x18]
sub esi, esi
push 0x1f
pop dword [ebp - 0x14]
mov dword [ecx + 0xa4], edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
push 0xc
pop dword [ebp - 0x24]
mov dword [ebp - 0x20], 0x44ab1c
mov dword [ebp - 0x1c], esi
test byte [ebp + 0x24], 4
jne 0x44b862
cmp dword [0x44aacc], esi
setne byte [ebp - 0x10]
cmp dword [ebp + 0x28], esi
je 0x44b8d9
test byte [ebp + 0x20], 8
je 0x44b889
push esi
push edi
mov esi, 0x44aa1c
mov edi, ecx
add byte [ecx + 0x64], 0xfc
add edi, 0x90
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
test byte [ebp + 0x24], 0x10
jne 0x44b8ac
mov ecx, 0
jecxz 0x44b8ac
push edx
push esp
push 0x3e0
push 0x44ab1c
push 4
push ebx
call ecx
test eax, eax
pop edx
jge 0x44b8af
mov dword [ebp - 0x20], esi
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
test eax, eax
je 0x44ba49
cmp eax, 0xc0000005
je 0x44ba49
test byte [ebp + 0x20], 8
je 0x44b8e8
jmp 0x44b954
push esi
push edi
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov ecx, ebx
push 4
pop edx
mov eax, esi
cmp dword [ebp + 0x28], esi
jne 0x44b921
test byte [ebp + 0x20], 1
je 0x44b912
push 0x182
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [ebp + 0x10]
add eax, 0x20
mov dword [ebp - 0xc], eax
and byte [eax], 0xfd
push 0x48
pop edx
test byte [ebp + 0x24], 8
jne 0x44b91e
or dl, 0x10
mov ecx, dword [ebp + 0x10]
or eax, dword [ebp - 0x10]
push esi
push esp
push edx
push eax
push edi
push esi
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [0x44aae0]
test eax, eax
pop dword [ebp - 4]
mov esi, eax
jne 0x44b97b
cmp byte [0x44b024], 0
je 0x44ba49
or byte [ebp + 0x20], 8
jmp 0x44b827
push esi
mov edx, esp
push esi
push esi
push esp
push edx
push dword [ebp - 0x10]
push edi
push esi
push esi
push esi
push 1
push dword [ebp - 0x20]
push ebx
call dword [0x44aaec]
test eax, eax
pop ecx
pop dword [ebp - 4]
pop esi
jl 0x44ba49
sub esp, 0x20
cmp dword [ebp + 0x28], 0
mov eax, esp
jne 0x44b9a4
push 0x1c
push eax
push dword [ecx + 0xc]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x44b9ef
mov ecx, dword [esp + 4]
jecxz 0x44b9ef
or ecx, 0x10
mov dword [ebp - 8], ecx
jmp 0x44b9ef
mov ecx, 0
jecxz 0x44b9d6
push 0
push 0x1c
push eax
push 0
push esi
call ecx
test eax, eax
jl 0x44b9d6
mov eax, dword [esp + 4]
test eax, eax
je 0x44b9d6
lea ecx, [ebp - 8]
add eax, 0xe0c
push 0
push 4
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
mov al, byte [ebp + 0x20]
and al, 0x11
cmp al, 0x11
je 0x44b9ef
mov ecx, 0
jecxz 0x44b9ef
push 0
push 0
push 0x11
push esi
call ecx
add esp, 0x20
test byte [ebp + 0x24], 1
je 0x44b9fe
cmp dword [ebp + 0x14], 0
je 0x44ba19
push esi
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov ecx, dword [ebp + 0x14]
jecxz 0x44ba19
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x44ba1e
inc dword [esp]
jmp 0x44ba49
push 0x10
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
je 0x44ba32
test eax, eax
je 0x44ba43
push esp
push esi
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
pop eax
push eax
cmp eax, 0x40010003
jne 0x44ba49
pop edx
push 0xe1c2f3b5
mov ecx, dword [ebp - 0xc]
jecxz 0x44ba51
or byte [ecx], 2
pop eax
cmp eax, dword [ebp - 0x18]
push eax
jne 0x44baaa
test byte [ebp + 0x24], 1
je 0x44ba81
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [edx + 0x10], ebx
mov dword [edx + 0x18], esi
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], edi
mov dword [edx + 0x24], ecx
cmp dword [ebp - 0x10], 0
jne 0x44bae3
or dword [edx], 4
jmp 0x44bae3
test byte [ebp + 0x24], 2
je 0x44badc
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push 0x7f
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x44bab0
dec dword [ebp - 0x14]
jg 0x44ba96
jmp 0x44badc
test byte [ebp + 0x20], 8
je 0x44babc
mov ecx, dword [ebp - 8]
jecxz 0x44babc
push ecx
call dword [0x44aadc]
test byte [ebp + 0x24], 4
jne 0x44badc
pop eax
cmp dword [ebp - 0x18], eax
push eax
je 0x44bad5
inc eax
cmp dword [ebp - 0x18], eax
je 0x44bad5
cmp dword [ebp - 0x10], 0
jne 0x44badc
push edi
call dword [0x44aadc]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp + 0x20]
pop eax
pop esi
leave
ret 0x24