Function at 0x3058430
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 0x3058495
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
push 0x30061c0
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 0x305877d
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x30584d1
mov eax, dword [ebp - 0xc]
jmp 0x305877d
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x4c], 0
je 0x3058504
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3058504
mov eax, dword [ebp - 0xc]
jmp 0x305877d
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x305852e
mov eax, dword [ebp - 0xc]
jmp 0x305877d
mov ecx, dword [ebp + 0x10]
add ecx, 0x78
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x78], ecx
je 0x3058566
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3058566
mov eax, dword [ebp - 0xc]
jmp 0x305877d
mov edx, dword [ebp + 0x10]
add edx, 0x80
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x80], edx
je 0x30585a4
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x30585a4
mov eax, dword [ebp - 0xc]
jmp 0x305877d
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x30585e0
mov eax, dword [ebp - 0xc]
jmp 0x305877d
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xac], 0
je 0x305861c
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x305861c
mov eax, dword [ebp - 0xc]
jmp 0x305877d
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3058646
mov eax, dword [ebp - 0xc]
jmp 0x305877d
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3058670
mov eax, dword [ebp - 0xc]
jmp 0x305877d
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3058695
mov eax, dword [ebp - 0xc]
jmp 0x305877d
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0xb4], 0
je 0x30586d1
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x30586d1
mov eax, dword [ebp - 0xc]
jmp 0x305877d
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0xbc], 0
je 0x305870a
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x305870a
mov eax, dword [ebp - 0xc]
jmp 0x305877d
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x98]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x3058728
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x18]
jae 0x305877b
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.03057170
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3058766
mov eax, dword [ebp - 0xc]
jmp 0x305877d
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 0x305871f
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14