Function at 0x44b48f
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2d4
mov ecx, dword [ebp + 8]
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x44b4b3
mov eax, dword [0x53342c]
mov dword [ecx], eax
mov edi, dword [0x53341c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x10dd
cmp edi, eax
jne 0x44b724
cmp dword [0x533428], 0
je 0x44b4df
call fcn.0044b352
jmp 0x44b71e
mov esi, dword [0x533420]
test esi, esi
je 0x44b5a4
xor ebx, ebx
cmp dword [esi + 4], 0
mov ecx, dword [esi + 0x10]
je 0x44b537
cmp byte [ecx + 0x17], 0
je 0x44b56b
xor edi, edi
mov dword [ebp - 0x2dc], ebx
mov eax, dword [esi + 0xc]
add eax, edi
lea edx, [ebp - 0x2dc]
push edx
push ebx
push ecx
push eax
call fcn.00461258
cmp dword [ebp - 0x2dc], ebx
jne 0x44b571
mov ecx, eax
mov edx, dword [esi + 0x10]
sub eax, edx
movzx edx, byte [edx + 0x17]
mov edi, eax
cmp eax, edx
jl 0x44b500
mov edi, eax
jmp 0x44b577
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esi + 0xc]
lea eax, [edx + 5]
mov byte [edx], 0xe9
sub ecx, eax
mov dword [edx + 1], ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x18]
cmp eax, edx
jae 0x44b566
sub edx, eax
push edx
push 0xcc
push eax
call fcn.004b8bc0
add esp, 0xc
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
jmp 0x44b598
xor edx, edx
xor edi, edi
jmp 0x44b577
mov eax, dword [esi + 0x10]
mov dl, byte [eax + 0x17]
movzx eax, dl
cmp edi, eax
jne 0x44b583
mov eax, dword [esi + 8]
jmp 0x44b595
mov dword [0x533428], 0xd
mov eax, dword [esi + 8]
mov dword [0x53342c], eax
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
mov esi, dword [esi]
test esi, esi
jne 0x44b4ef
mov esi, dword [0x533424]
test esi, esi
je 0x44b650
lea edi, [ebp - 0x2dc]
mov dword [ebp - 0x2dc], 0x10001
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x44b646
mov ebx, dword [0x533420]
test ebx, ebx
je 0x44b646
mov dword [ebp - 0x2e0], esi
cmp dword [ebx + 4], 0
mov eax, dword [ebp - 0x224]
je 0x44b607
mov edx, dword [ebx + 0x10]
mov ecx, eax
sub ecx, edx
jb 0x44b640
add edx, 4
cmp eax, edx
jae 0x44b640
mov dword [ebp - 0x224], ecx
add ecx, dword [ebx + 0xc]
jmp 0x44b630
mov edx, dword [ebx + 0xc]
mov ecx, eax
sub ecx, edx
jb 0x44b640
mov esi, edi
mov edi, dword [ebx + 0x10]
movzx edi, byte [edi + 0x17]
add edx, edi
mov edi, esi
mov esi, dword [ebp - 0x2e0]
cmp eax, edx
jae 0x44b640
mov dword [ebp - 0x224], ecx
add ecx, dword [ebx + 0x10]
mov dword [ebp - 0x224], ecx
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x44b5e0
mov esi, dword [esi]
test esi, esi
jne 0x44b5b8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [0x533420]
test edi, edi
je 0x44b6cf
mov esi, eax
mov eax, dword [edi + 0x10]
movzx eax, byte [eax + 0x17]
lea ecx, [ebp - 0x2dc]
push ecx
push dword [edi + 0x14]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 0x10]
movzx eax, byte [eax + 0x17]
push eax
push dword [edi + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp dword [edi + 4], 0
je 0x44b6be
mov eax, dword [edi + 0x10]
test eax, eax
je 0x44b6be
mov ecx, eax
and ecx, 0xffff0000
xorps xmm0, xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
mov edx, dword [ecx + 8]
mov dword [eax + 0x18], edx
mov dword [ecx + 8], eax
mov dword [edi + 0x10], 0
mov ebx, dword [edi]
push edi
call fcn.004af3c6
add esp, 4
mov edi, ebx
test ebx, ebx
jne 0x44b662
mov dword [0x533420], 0
call fcn.0044b439
mov esi, dword [0x533424]
test esi, esi
je 0x44b704
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esi + 4]
call edi
mov ebx, dword [esi]
push esi
call fcn.004af3c6
add esp, 4
mov esi, ebx
test ebx, ebx
jne 0x44b6ee
xor eax, eax
mov dword [0x533424], eax
mov dword [0x53341c], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x44b71e
mov eax, dword [0x53342c]
mov dword [ecx], eax
mov esi, dword [0x533428]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af401
mov eax, esi
add esp, 0x2d4
pop esi
pop edi
pop ebx
pop ebp
ret 4