Function at 0x1002fbe8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax*8 + 0x1061d958], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax*8 + 0x1061d95c], ecx
mov eax, dword [0x1098cb9c]
dec eax
cmp dword [ebp + 8], eax
jne 0x1002fc6d
and dword [ebp - 4], 0
jmp 0x1002fc1d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [0x1098cb9c]
jge 0x1002fc57
cmp dword [ebp - 4], 0
je 0x1002fc3a
mov dl, 0x20
mov ecx, 0x1061c7f8
call fcn.1003c016
mov eax, dword [ebp - 4]
push dword [eax*8 + 0x1061d95c]
push dword [eax*8 + 0x1061d958]
mov ecx, 0x1061c7f8
call fcn.100221af
jmp 0x1002fc16
push 0x1002bf98
mov ecx, 0x1061c7f8
call fcn.1002b8e1
push 0
call fcn.1005d6e9
push 0
push 3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10073850
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x18]
jne 0x1002fd65
push 0
push 3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100737a0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x1098d078
call fcn.10039dff
test eax, eax
je 0x1002fd65
push 0
push 3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100737a0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x1098d078
call fcn.10039d7e
cmp dword [eax], 0
jle 0x1002fd65
push 0
push 3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100737a0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x1098d078
call fcn.10039d7e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
push 0
push 3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100737a0
push edx
push eax
mov eax, dword [ebp + 8]
inc eax
push eax
call fcn.1002fbe8
add esp, 0xc
push 0
push 3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100737a0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x1098d078
call fcn.10039d7e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
cmp dword [ebp + 0x10], 0x29a2241a
jg 0x1002fe58
jl 0x1002fd81
cmp dword [ebp + 0xc], 0xf62c0000
jae 0x1002fe58
push 0
push 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10060cd0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x1098d078
call fcn.10039dff
test eax, eax
je 0x1002fe58
push 0
push 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10060cd0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x1098d078
call fcn.10039d7e
cmp dword [eax], 0
jle 0x1002fe58
push 0
push 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10060cd0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x1098d078
call fcn.10039d7e
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
push 0
push 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10060cd0
push edx
push eax
mov eax, dword [ebp + 8]
inc eax
push eax
call fcn.1002fbe8
add esp, 0xc
push 0
push 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10060cd0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x1098d078
call fcn.10039d7e
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret