Function at 0x4030a9
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.004ac7d6
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004ac7d6
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.004ac7d6
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x4b0190
call fcn.004ac7d0
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x403169
mov eax, 0
jmp 0x403312
cmp dword [ebp + 0xc], 0
jne 0x40319f
mov dword [ebp - 0x1c], esp
mov eax, 0xa
call fcn.004ac7ca
cmp dword [ebp - 0x1c], esp
je 0x40319c
push 0xa0
push 0x407c28a
push 6
call fcn.004ac7c4
add esp, 0xc
mov dword [ebp + 8], eax
cmp dword [ebp + 0x14], 0
jne 0x4031c7
mov eax, 0x938cd4
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4031c1
push ebx
call fcn.004ac7dc
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.0040333e
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0xb
call fcn.004ac7ca
cmp dword [ebp - 0x1c], esp
je 0x403207
push 0x138
push 0x407c28a
push 6
call fcn.004ac7c4
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x86ac68
mov eax, 0xc
call fcn.004ac7ca
cmp dword [ebp - 0x1c], esp
je 0x40323d
push 0x162
push 0x407c28a
push 6
call fcn.004ac7c4
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0xd
call fcn.004ac7ca
cmp dword [ebp - 0x1c], esp
je 0x4032db
push 0x260
push 0x407c28a
push 6
call fcn.004ac7c4
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 3
call fcn.004ac7ca
cmp dword [ebp - 0x1c], esp
je 0x40330a
push 0x2a4
push 0x407c28a
push 6
call fcn.004ac7c4
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x403312
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004ac7dc
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004ac7dc
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.004ac7dc
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10