Function at 0x100295c3
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100295e2
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1002986a
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10029852
mov eax, dword [ebp - 0x6c]
mov dword [eax], 0xc2e3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
or eax, 0xffffffff
cmp eax, 0x4a9c79eb
jge 0x10029699
mov dword [ebp - 0x20], 1
jmp 0x1002969d
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 5]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0xffffffff
jge 0x100296bf
mov dword [ebp - 0x38], 1
jmp 0x100296c3
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x93d7
jle 0x100296d5
mov dword [ebp - 0x10], 1
jmp 0x100296d9
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jne 0x100296f4
mov dword [ebp - 0x30], 1
jmp 0x100296f8
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0x4d2c
jl 0x1002970a
mov dword [ebp - 0x18], 1
jmp 0x1002970e
and dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 0x44]
call fcn.10015477
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
push 2
mov ecx, dword [ebp - 0xc]
call fcn.10015477
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jg 0x10029737
mov dword [ebp - 0x48], 1
jmp 0x1002973b
and dword [ebp - 0x48], 0
push 2
mov ecx, dword [ebp - 0xc]
call fcn.10015477
xor esi, esi
add esi, 0xffffb65c
push 1
mov ecx, dword [ebp - 0xc]
call fcn.10015477
cmp esi, dword [eax]
jle 0x10029764
mov dword [ebp - 0x24], 1
jmp 0x10029768
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
neg eax
je 0x10029784
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10015477
cmp dword [eax], 0
je 0x10029784
mov eax, dword [ebp - 8]
cmp dword [eax], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, 0xb505
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jle 0x1002979e
mov dword [ebp - 0x50], 1
jmp 0x100297a2
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x100297ca
mov eax, dword [ebp - 8]
cmp dword [eax], 0
push 3
mov ecx, dword [ebp - 0xc]
call fcn.10015477
imul eax, dword [eax], 0xfffffffb
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jne 0x100297e7
mov dword [ebp - 0x14], 1
jmp 0x100297eb
and dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10015477
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x60]
jg 0x10029824
mov dword [ebp - 0x34], 1
jmp 0x10029828
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
jge 0x1002983b
mov dword [ebp - 0x3c], 1
jmp 0x1002983f
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jg 0x10029852
mov dword [ebp - 0x68], 1
jmp 0x10029856
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x78]
mov dword [eax], 4
pop esi
mov esp, ebp
pop ebp
ret