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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push edx
push edx
mov ecx, dword [edi + 0xc]
push dword [esi + 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
je 0x305644c
mov ecx, dword [edi + 0x14]
push ebx
push dword [esi + 0xc]
mov edx, dword [ecx]
push 0x301c6d0
push 4
push ecx
call dword [edx + 4]
add esp, 0x14
mov eax, ebx
jmp 0x30566ce
xor edx, edx
cmp dword [esi + 0x38], 0x40
setne dl
dec edx
and edx, 5
add edx, 3
cmp dword [esi + 0x30], 0
je 0x3056477
push dword [esi + 0x30]
mov ecx, edi
push dword [esi + 0x2c]
call fcn.03055809
test eax, eax
jne 0x30566ce
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x4c], 0
je 0x305649e
cmp dword [esi + 0x40], 0
je 0x305649e
push dword [esi + 0x40]
mov ecx, edi
push dword [esi + 0x3c]
push 0x11
pop edx
call fcn.03055809
test eax, eax
jne 0x30566ce
cmp dword [esi + 0x4c], 0
je 0x30564bc
push dword [esi + 0x4c]
mov ecx, edi
push dword [esi + 0x48]
push 4
pop edx
call fcn.03055809
test eax, eax
jne 0x30566ce
lea eax, [ebx + 0x78]
cmp dword [eax], eax
je 0x30564e1
cmp dword [esi + 0x58], 0
je 0x30564e1
push dword [esi + 0x58]
mov ecx, edi
push dword [esi + 0x54]
push 0xe
pop edx
call fcn.03055809
test eax, eax
jne 0x30566ce
lea eax, [ebx + 0x80]
cmp dword [eax], eax
je 0x3056509
cmp dword [esi + 0x64], 0
je 0x3056509
push dword [esi + 0x64]
mov ecx, edi
push dword [esi + 0x60]
push 0xd
pop edx
call fcn.03055809
test eax, eax
jne 0x30566ce
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x305652c
push eax
push dword [esi + 0xc0]
mov ecx, edi
push 0x13
pop edx
call fcn.03055809
test eax, eax
jne 0x30566ce
test byte [edi + 0x18], 2
push 0
pop edx
setne dl
cmp dword [esi + 0x6c], 0
lea edx, [edx*4 + 5]
je 0x3056558
push dword [esi + 0x6c]
mov ecx, edi
push dword [esi + 0x68]
call fcn.03055809
test eax, eax
jne 0x30566ce
mov eax, dword [esi + 0xac]
test eax, eax
je 0x305657b
push eax
push dword [esi + 0xa8]
mov ecx, edi
push 0x10
pop edx
call fcn.03055809
test eax, eax
jne 0x30566ce
cmp dword [esi + 0x28], 0
je 0x3056599
push dword [esi + 0x28]
mov ecx, edi
push dword [esi + 0x24]
push 6
pop edx
call fcn.03055809
test eax, eax
jne 0x30566ce
cmp dword [esi + 0x18], 0
je 0x30565b7
push dword [esi + 0x18]
mov ecx, edi
push dword [esi + 0x14]
push 7
pop edx
call fcn.03055809
test eax, eax
jne 0x30566ce
push 0x340
push dword [esi + 0x20]
mov ecx, edi
push 0xf
pop edx
call fcn.03055809
test eax, eax
jne 0x30566ce
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x30565f4
push eax
push dword [esi + 0xb0]
mov ecx, edi
push 0xc
pop edx
call fcn.03055809
test eax, eax
jne 0x30566ce
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x3056617
push eax
push dword [esi + 0xb8]
mov ecx, edi
push 0x12
pop edx
call fcn.03055809
test eax, eax
jne 0x30566ce
mov ebx, dword [esi + 0x98]
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], ecx
jbe 0x3056658
mov esi, dword [ebp + 0xc]
add esi, 4
cmp dword [esi], 0
je 0x305664a
push dword [esi]
mov edx, dword [esi - 4]
mov ecx, edi
push ebx
call fcn.03055809
test eax, eax
jne 0x30566ce
mov ecx, dword [ebp - 4]
add ebx, dword [esi]
inc ecx
add esi, 0xc
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x305662d
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
cmp esi, eax
je 0x30566cc
and dword [ebp - 0xc], 0
lea ecx, [esi - 8]
mov eax, dword [ecx]
mov esi, dword [esi]
mov dword [ebp - 4], ecx
cmp dword [eax], 0
jbe 0x30566c7
xor edx, edx
mov dword [ebp - 8], edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + edx + 4]
mov eax, dword [eax + edx]
mov dword [ebp - 0x14], eax
mov eax, ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
test eax, eax
je 0x30566aa
mov edx, dword [ebp - 0x14]
mov ecx, edi
push eax
push ebx
call fcn.03055809
test eax, eax
jne 0x30566ce
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov eax, dword [ecx + 4]
add ebx, dword [eax + edx + 4]
add edx, 0xc
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], edx
cmp eax, dword [ecx]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jb 0x3056679
cmp esi, dword [ebp + 0x14]
jne 0x3056661
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10