Function at 0x10030ea0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push esi
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x1003108b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
push 1
mov ecx, dword [ebp - 4]
call fcn.10028ca7
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10028ca7
cmp dword [eax], 0
je 0x10030f54
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x10030f54
mov dword [ebp - 0x18], 1
jmp 0x10030f58
and dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.10028ca7
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
je 0x10030f72
mov dword [ebp - 0x54], 1
jmp 0x10030f76
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10028ca7
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x10030fbf
mov dword [ebp - 0x1c], 1
jmp 0x10030fc3
and dword [ebp - 0x1c], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.10028ca7
mov esi, dword [ebp - 0x1c]
imul esi, dword [eax]
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10028ca7
sub esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x58]
call fcn.10028ca7
cmp esi, dword [eax]
jne 0x10030ff9
mov dword [ebp - 0x5c], 1
jmp 0x10030ffd
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10028ca7
mov esi, eax
push 0
mov ecx, dword [ebp - 4]
call fcn.10028ca7
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x1003102d
mov dword [ebp - 0x10], 1
jmp 0x10031031
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp - 0x10]
add esi, 0x6e3268dd
push 0
mov ecx, dword [ebp - 4]
call fcn.10028ca7
imul esi, dword [eax]
cmp esi, 0x651e
je 0x10031060
mov dword [ebp - 0x24], 1
jmp 0x10031064
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
imul eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jl 0x1003107d
mov dword [ebp - 0x28], 1
jmp 0x10031081
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x10031093
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
mov esp, ebp
pop ebp
ret