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

Disassembly:
sub esp, 0x7c
push ebx
mov ebx, dword [esp + 0x84]
lea eax, [esp + 0x58]
push ebp
push esi
push edi
mov esi, dword [ebx + 0x8c]
push eax
push esi
call fcn.1002b990
lea eax, [esp + 0x78]
push eax
push esi
call fcn.1002b990
lea eax, [esp + 0x8c]
push eax
push esi
call fcn.1002b990
lea eax, [esp + 0x54]
mov dword [esp + 0xa0], esi
mov esi, dword [ebx + 0x8c]
push eax
push esi
call fcn.1002b990
lea eax, [esp + 0x68]
push eax
push esi
call fcn.10050400
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.1002b990
lea eax, [esp + 0x4c]
mov dword [esp + 0x90], esi
push eax
push dword [ebx + 0x8c]
call fcn.1002b990
lea eax, [esp + 0x60]
push eax
push dword [ebx + 0x8c]
call fcn.100272c0
mov eax, dword [ebx + 4]
add esp, 0x40
mov esi, dword [esp + 0x94]
mov ebp, dword [eax + 0x84]
lea eax, [esp + 0x64]
mov esi, dword [esi + 4]
push eax
add esi, 7
mov dword [esp + 0x14], ebp
push ebp
shr esi, 3
call fcn.1002b9b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10030d87
lea eax, [esp + 0x70]
push eax
push ebp
call fcn.1002b9b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10030d87
lea eax, [esp + 0x7c]
push eax
push ebp
call fcn.1002b9b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10030d87
mov eax, dword [ebx + 4]
or ebp, 0xffffffff
cmp dword [eax + 0x88], 6
mov eax, dword [esp + 0x7c]
jne 0x10030a05
add eax, 0x1f
sar eax, 5
shl eax, 2
push eax
push 0xff
push dword [esp + 0x88]
call fcn.100506f0
mov ecx, dword [esp + 0x88]
add esp, 0xc
lea edi, [ecx + 0x1f]
sar edi, 5
and ecx, 0x8000001f
jns 0x100309e0
dec ecx
or ecx, 0xffffffe0
inc ecx
jne 0x100309f2
mov eax, dword [esp + 0x80]
or edx, 0xffffffff
and dword [eax + edi*4 - 4], edx
jmp 0x10030a2d
mov eax, dword [esp + 0x80]
mov edx, ebp
shl edx, cl
not edx
and dword [eax + edi*4 - 4], edx
jmp 0x10030a2d
add eax, 0x1f
sar eax, 5
shl eax, 2
push eax
push 0
push dword [esp + 0x88]
call fcn.100506f0
mov eax, dword [esp + 0x8c]
add esp, 0xc
mov dword [eax], 1
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
call fcn.1002b9b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10030d87
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x14]
call fcn.1002b9b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10030d87
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x14]
call fcn.1002b9b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10030d87
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x14]
call fcn.1002b9b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10030d87
mov eax, dword [ebx + 4]
cmp dword [eax + 0x88], 6
mov eax, dword [esp + 0x3c]
jne 0x10030b06
add eax, 0x1f
sar eax, 5
shl eax, 2
push eax
push 0xff
push dword [esp + 0x48]
call fcn.100506f0
mov ecx, dword [esp + 0x48]
add esp, 0xc
lea eax, [ecx + 0x1f]
sar eax, 5
mov dword [esp + 0x14], eax
and ecx, 0x8000001f
jns 0x10030adf
dec ecx
or ecx, 0xffffffe0
inc ecx
jne 0x10030af2
mov eax, dword [esp + 0x40]
or edx, 0xffffffff
mov ecx, dword [esp + 0x14]
and dword [eax + ecx*4 - 4], edx
jmp 0x10030b28
mov eax, dword [esp + 0x40]
mov edx, ebp
shl edx, cl
mov ecx, dword [esp + 0x14]
not edx
and dword [eax + ecx*4 - 4], edx
jmp 0x10030b28
add eax, 0x1f
sar eax, 5
shl eax, 2
push eax
push 0
push dword [esp + 0x48]
call fcn.100506f0
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov dword [eax], 1
mov eax, dword [ebx + 4]
cmp dword [eax + 0x88], 6
mov eax, dword [esp + 0x48]
jne 0x10030b87
add eax, 0x1f
sar eax, 5
shl eax, 2
push eax
push 0xff
push dword [esp + 0x54]
call fcn.100506f0
mov ecx, dword [esp + 0x54]
add esp, 0xc
lea edx, [ecx + 0x1f]
sar edx, 5
and ecx, 0x8000001f
jns 0x10030b6a
dec ecx
or ecx, 0xffffffe0
inc ecx
jne 0x10030b79
mov eax, dword [esp + 0x4c]
or ebp, 0xffffffff
and dword [eax + edx*4 - 4], ebp
jmp 0x10030ba9
mov eax, dword [esp + 0x4c]
shl ebp, cl
not ebp
and dword [eax + edx*4 - 4], ebp
jmp 0x10030ba9
add eax, 0x1f
sar eax, 5
shl eax, 2
push eax
push 0
push dword [esp + 0x54]
call fcn.100506f0
mov eax, dword [esp + 0x58]
add esp, 0xc
mov dword [eax], 1
mov eax, dword [esp + 0x54]
add eax, 0x1f
sar eax, 5
shl eax, 2
push eax
push 0
push dword [esp + 0x60]
call fcn.100506f0
mov eax, dword [esp + 0xac]
movzx ebp, byte [eax]
inc eax
mov dword [esp + 0xac], eax
lea eax, [esp + 0x34]
push eax
push ebp
push dword [esp + 0xac]
call fcn.10027010
add esp, 0x18
cmp dword [esp + 0x2c], 0
je 0x10030d87
cmp dword [esp + 0x30], 0
je 0x10030d87
push ebp
call fcn.10027380
mov ebp, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebp
test ebp, ebp
jle 0x10030d87
mov eax, dword [esp + 0x9c]
mov ecx, ebp
neg ecx
mov dword [esp + 0x14], ecx
jmp 0x10030c30
xor edi, edi
cmp dword [esp + 0x28], edi
jle 0x10030d54
xor ebx, ebx
mov edi, edi
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edi*4]
cmp eax, ebp
jne 0x10030cb2
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xa0]
mov eax, dword [eax + edi*4]
add eax, ebx
imul eax, esi
lea ebp, [ecx + eax*2]
lea eax, [esp + 0x64]
push eax
push esi
push ebp
call fcn.1002d0e0
add esp, 0xc
test eax, eax
jne 0x10030d42
lea eax, [esp + 0x70]
push eax
lea eax, [esi + ebp]
push esi
push eax
call fcn.1002d0e0
add esp, 0xc
test eax, eax
jne 0x10030d42
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x9c]
call fcn.1002f1f0
add esp, 0x10
jmp 0x10030d27
cmp eax, ecx
jne 0x10030d33
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xa0]
mov eax, dword [eax + edi*4]
add eax, ebx
imul eax, esi
lea ebp, [ecx + eax*2]
lea eax, [esp + 0x64]
push eax
push esi
push ebp
call fcn.1002d0e0
add esp, 0xc
test eax, eax
jne 0x10030d42
lea eax, [esp + 0x1c]
push eax
lea eax, [esi + ebp]
push esi
push eax
call fcn.1002d0e0
add esp, 0xc
test eax, eax
jne 0x10030d42
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.1002b4e0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0xa8]
call fcn.1002f1f0
add esp, 0x1c
test eax, eax
jne 0x10030d42
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
add ebx, dword [esp + 0x18]
inc edi
cmp edi, dword [esp + 0x28]
jl 0x10030c40
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x9c]
push eax
lea ecx, [esp + 0x40]
push ecx
push eax
push ebx
call fcn.1002f1f0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10030d87
mov ecx, dword [esp + 0x14]
dec ebp
mov eax, dword [esp + 0x9c]
inc ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
test ebp, ebp
jg 0x10030c30
lea eax, [esp + 0x64]
push eax
call fcn.1002ba00
lea eax, [esp + 0x74]
push eax
call fcn.1002ba00
lea eax, [esp + 0x84]
push eax
call fcn.1002ba00
lea eax, [esp + 0x48]
push eax
call fcn.1002ba00
lea eax, [esp + 0x58]
push eax
call fcn.1002ba00
lea eax, [esp + 0x68]
push eax
call fcn.1002ba00
lea eax, [esp + 0x34]
push eax
call fcn.1002ba00
lea eax, [esp + 0x44]
push eax
call fcn.100272f0
add esp, 0x20
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret