Function at 0x457401
Capabilities:
Resolve function by parsing pe exports
Resume thread

Disassembly:
mov eax, 0x5487ef
call fcn.004c7c10
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push 0x58
call fcn.00529189
pop ecx
mov dword [ebp - 0x14], eax
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x457437
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
mov ecx, eax
call fcn.004575f7
mov edi, eax
mov esi, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x38]
mov edx, eax
and edx, ecx
mov dword [ebp - 0x20], eax
cmp edx, 0xffffffff
mov edx, dword [esi + 0x3c]
mov dword [ebp - 0x1c], ecx
jne 0x4574a8
mov eax, dword [ebp - 0x10]
push 0
push 2
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx + 0x20]
sub eax, dword [esi + 8]
mov ecx, dword [ecx + 0x24]
sbb ecx, dword [esi + 0xc]
sub eax, ebx
sbb ecx, edx
push ecx
push eax
call fcn.004c8320
add eax, ebx
mov ebx, 0x1000
adc edx, dword [esi + 0x3c]
push 0
push ebx
push edx
push eax
call fcn.004c8320
push 0
push ebx
push edx
push eax
call fcn.004c83d0
or dword [edi + 0x10], 0xffffffff
or dword [edi + 0x14], 0xffffffff
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x4574ec
sub eax, ebx
push 0
sbb ecx, edx
push 2
push ecx
push eax
call fcn.004c8320
add eax, ebx
mov ebx, 0x1000
adc edx, dword [esi + 0x3c]
push 0
push ebx
push edx
push eax
call fcn.004c8320
push 0
push ebx
push edx
push eax
call fcn.004c83d0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
sub eax, dword [ebp - 0x18]
sbb ecx, edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
add eax, dword [ebp - 0x18]
push 0xe0
adc ecx, dword [ebp - 0x14]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
call fcn.00529189
pop ecx
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 1
je 0x457529
push dword [ebp + 0xc]
mov ecx, eax
push edi
push dword [ebp - 0x10]
call fcn.00455d19
mov ebx, eax
jmp 0x45752b
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
push 0
push 0
push 4
mov ecx, ebx
call fcn.00528638
test eax, eax
je 0x4575cb
mov eax, dword [ebx + 0x28]
push 0
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x45756b
cmp dword [eax], 0
jne 0x4575bb
push 0x64
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4575bb
cmp dword [edi + 0x28], 0x14
jge 0x4575a8
cmp dword [esi + 0x28], 0x15
je 0x4575bb
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
sub eax, dword [esi + 8]
sbb ecx, dword [esi + 0xc]
sub eax, dword [esi + 0x38]
sbb ecx, dword [esi + 0x3c]
mov dword [ebp - 0x1c], ecx
js 0x4575bb
jg 0x45755c
cmp eax, 0x20000
jb 0x4575bb
jmp 0x45755c
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
mov dword [edi + 0x50], ebx
mov eax, edi
jmp 0x4575e6
push 2
mov ecx, ebx
call fcn.00456694
mov ecx, ebx
call fcn.004566a1
test ebx, ebx
je 0x4575d8
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
test edi, edi
je 0x4575e4
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8