Function at 0x3006e6ce
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
xor edx, edx
push edx
push ecx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e733
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
push 0x30022b3c
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 4]
call eax
add esp, 0x14
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x30]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x38]
sub eax, 0x40
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 8
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e76f
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x4c], 0
je 0x3006e7a2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x40]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
push eax
push 0x11
mov ecx, dword [ebp + 8]
push ecx
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e7a2
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x48]
push edx
push 4
mov eax, dword [ebp + 8]
push eax
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e7cc
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov ecx, dword [ebp + 0x10]
add ecx, 0x78
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x78], ecx
je 0x3006e804
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x54]
push eax
push 0xe
mov ecx, dword [ebp + 8]
push ecx
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e804
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov edx, dword [ebp + 0x10]
add edx, 0x80
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x80], edx
je 0x3006e842
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x64]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x60]
push ecx
push 0xd
mov edx, dword [ebp + 8]
push edx
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e842
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x6c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x68]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
and edx, 2
neg edx
sbb edx, edx
and edx, 4
add edx, 5
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e87e
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xac], 0
je 0x3006e8ba
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xac]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xa8]
push edx
push 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e8ba
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
push ecx
push 6
mov edx, dword [ebp + 8]
push edx
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e8e4
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
push eax
push 7
mov ecx, dword [ebp + 8]
push ecx
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e90e
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
push 0x2c
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
push eax
push 0xf
mov ecx, dword [ebp + 8]
push ecx
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e933
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0xb4], 0
je 0x3006e96f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xb4]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xb0]
push eax
push 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e96f
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0xbc], 0
je 0x3006e9a8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xbc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xb8]
push eax
push 0x12
mov ecx, dword [ebp + 8]
push ecx
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006e9a8
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x98]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x3006e9c6
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x18]
jae 0x3006ea19
mov eax, dword [ebp - 8]
imul eax, eax, 0xc
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax + 4]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0xc
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3006d4a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3006ea04
mov eax, dword [ebp - 0xc]
jmp 0x3006ea1b
mov edx, dword [ebp - 8]
imul edx, edx, 0xc
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + edx + 4]
mov dword [ebp - 4], ecx
jmp 0x3006e9bd
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14