Function at 0x1002b605
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1002b620
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x1002b807
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [eax], 2
jmp 0x1002b6a2
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x1002b807
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10018b0a
or eax, 0xffffffff
je 0x1002b765
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x1002b6d9
mov dword [ebp - 0x18], 1
jmp 0x1002b6dd
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
imul eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx]
cmp eax, 0xacc8e11f
je 0x1002b6fb
mov dword [ebp - 0x1c], 1
jmp 0x1002b6ff
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10018b0a
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 0x8b31]
test eax, eax
jne 0x1002b725
mov dword [ebp - 0x20], 1
jmp 0x1002b729
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10018b0a
cmp dword [eax], 0
je 0x1002b74e
xor eax, eax
inc eax
je 0x1002b74e
mov dword [ebp - 0x24], 1
jmp 0x1002b752
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jg 0x1002b765
mov dword [ebp - 0x58], 1
jmp 0x1002b769
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10018b0a
push 2
mov ecx, dword [ebp - 4]
call fcn.10018b0a
cmp dword [eax], 0xffffffff
je 0x1002b78e
mov dword [ebp - 0x5c], 1
jmp 0x1002b792
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10018b0a
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10018b0a
cmp dword [eax], 0x6264a05a
jl 0x1002b7c9
push 1
mov ecx, dword [ebp - 4]
call fcn.10018b0a
cmp dword [eax], 0
jne 0x1002b7c9
and dword [ebp - 0x60], 0
jmp 0x1002b7d0
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [eax], 0x5f37d796
mov eax, 0xa74db503
cmp eax, 0x5ea0d0a0
je 0x1002b7f6
mov dword [ebp - 0x2c], 1
jmp 0x1002b7fa
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x1002b697
mov esp, ebp
pop ebp
ret