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

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push edi
xor edi, edi
cmp ebx, edi
mov ebp, ecx
mov dword [esp + 0x14], ebp
je 0x30009d89
push esi
mov esi, dword [ebx + 0x18]
mov ecx, dword [esi + 0x68]
mov eax, dword [ecx + 0x218]
cmp eax, edi
jne 0x300098f0
call fcn.300e4110
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x78]
add eax, 0xfffffffe
cmp eax, 0x60
ja case.0x3000990a.3
movzx eax, byte [eax + 0x30009da4]
jmp dword [eax*4 + 0x30009d94]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx + 0xc0]
push edi
push edx
lea ecx, [esp + 0x4c]
call fcn.300e4210
lea ecx, [esp + 0x44]
call fcn.300e8bf0
mov esi, eax
cmp esi, edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x6c], esi
je 0x30009a47
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x48]
mov eax, dword [esp + 0x10]
push edx
push 0x7dc
push edi
push eax
add ebp, 0xf70
push ebp
call fcn.30115550
add esp, 0x14
push 0xa
mov ecx, edi
call fcn.30074af0
jmp 0x30009973
mov esi, dword [esp + 0x6c]
mov ecx, esi
call fcn.300e17a0
test al, 1
jne 0x30009a2e
push 0x2e
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.30099ea0
add esp, 0xc
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.30074af0
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.300e47e0
mov ecx, eax
call fcn.300ba480
mov esi, eax
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0
call fcn.30074eb0
push esi
call fcn.30208320
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
push eax
push 0x7df
push edi
push ecx
push ebp
call fcn.30115550
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov edx, dword [ebp]
add esp, 0x18
push 1
push 2
push eax
mov eax, dword [ebx + 0x20]
push ecx
mov ecx, dword [eax + 0xc0]
push ecx
push edi
mov ecx, ebp
call dword [edx + 8]
push 0xa
mov ecx, edi
call fcn.30074af0
mov edx, dword [esp + 0x38]
push edx
call fcn.30208320
add esp, 4
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x44]
call fcn.300e8bf0
test eax, eax
mov dword [esp + 0x6c], eax
jne 0x3000996f
mov ebp, dword [esp + 0x18]
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je case.0x3000990a.3
mov eax, dword [esp + 0x70]
push eax
push ebx
push edi
mov ecx, ebp
call fcn.300098c0
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x30009a52
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x54
ret 0xc
mov eax, dword [ebx + 0x20]
cmp eax, edi
je case.0x3000990a.3
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x218]
cmp eax, edi
jne 0x30009a8e
call fcn.300e4110
cmp eax, 6
jl case.0x3000990a.3
cmp dword [esi + 0x78], 9
sete al
test al, al
mov byte [esp + 0x6c], al
mov dword [esp + 0x14], edi
je 0x30009acd
push 0x14
call fcn.3007a1f0
add esp, 4
cmp eax, edi
je 0x30009ac9
push 1
push 0x7f
mov ecx, eax
call fcn.3007b3d0
mov dword [esp + 0x14], eax
jmp 0x30009acd
mov dword [esp + 0x14], edi
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx + 0xc0]
push edi
push edx
lea ecx, [esp + 0x5c]
call fcn.300e4210
lea ecx, [esp + 0x54]
call fcn.300e8bf0
test eax, eax
mov edi, dword [esp + 0x68]
je 0x30009d5e
mov eax, dword [esi + 0x78]
add ebp, 0xf70
sub eax, 2
je 0x30009b23
sub eax, 7
je 0x30009b16
mov eax, dword [esp + 0x10]
push 0x7d9
push edi
push eax
jmp 0x30009b2e
mov ecx, dword [esp + 0x10]
push 0x7ee
push edi
push ecx
jmp 0x30009b2e
mov edx, dword [esp + 0x10]
push 0x7ec
push edi
push edx
push ebp
call fcn.30115550
mov eax, dword [ebx + 0x14]
add esp, 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.300ba370
xor esi, esi
test al, al
mov dword [esp + 0x1c], esi
je 0x30009b80
push 0x2e
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.30099ea0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
push edx
push 0x7ed
push edi
push eax
push ebp
call fcn.30115550
add esp, 0x20
lea ecx, [esp + 0x38]
call fcn.30025af0
push 0xa
mov ecx, edi
call fcn.30074af0
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx + 0xc0]
cmp eax, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x34], eax
je 0x30009d5a
jmp 0x30009bb0
mov eax, dword [esp + 0x68]
lea esp, [esp]
push 0
push eax
lea ecx, [esp + 0x4c]
call fcn.300e4210
lea ecx, [esp + 0x44]
call fcn.300e8bf0
mov esi, eax
test esi, esi
je 0x30009d04
nop
mov eax, dword [esp + 0x24]
test eax, eax
je 0x30009bea
mov ecx, esi
call fcn.300e17a0
shr eax, 0xb
test al, 1
je 0x30009cf1
mov ecx, esi
call fcn.300e17a0
test al, 1
jne 0x30009cf1
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.300e47e0
mov ecx, eax
call fcn.300ba480
mov dword [esp + 0x20], eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.300e47e0
mov ecx, dword [eax]
mov edx, ecx
and edx, 7
cmp dl, 7
jne 0x30009c36
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
and ecx, 0xfffffff8
call fcn.30075ed0
mov cl, byte [esp + 0x6c]
test cl, cl
mov dword [esp + 0x30], 0
je 0x30009c5e
mov ecx, dword [esp + 0x14]
push esi
push eax
call fcn.3007b7f0
jmp 0x30009ce4
push 0x2e
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.30099ea0
add esp, 0xc
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.30074af0
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x3c]
call fcn.30074eb0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
push edx
push 0x7df
push edi
push eax
push ebp
call fcn.30115550
mov eax, dword [esp + 0x84]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebp]
add esp, 0x14
push 1
push 2
push eax
mov eax, dword [ecx + 0xc0]
push esi
push eax
push edi
mov ecx, ebp
call dword [edx + 8]
push 0xa
mov ecx, edi
call fcn.30074af0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.30208320
add esp, 4
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x20]
push edx
call fcn.30208320
add esp, 4
lea ecx, [esp + 0x44]
call fcn.300e8bf0
mov esi, eax
test esi, esi
jne 0x30009bd0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x30009d3d
mov al, byte [esp + 0x6c]
test al, al
je 0x30009d36
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push esi
push edi
push ecx
mov ecx, ebp
call fcn.30115620
mov ecx, esi
call fcn.3007b4f0
mov ecx, dword [esp + 0x68]
call fcn.300eb560
test eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], 1
jne 0x30009ba8
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x30009d6c
mov edx, dword [ecx]
push 1
call dword [edx]
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je case.0x3000990a.3
mov eax, dword [esp + 0x70]
push eax
push ebx
push edi
mov ecx, ebp
call fcn.300098c0
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x30009d73
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x54
ret 0xc