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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
movsx edx, word [ecx + 0x4c]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 + 0x4e]
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x4c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 + 0x78]
movzx edx, word [eax + 0x12]
cmp ecx, edx
jge 0x1008a989
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x49]
cmp ecx, 1
je 0x1008a993
mov eax, 1
jmp 0x1008ac65
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx*2 + 0x4e]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4 + 0x78]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 0x1c]
lea ecx, [ecx + eax*2]
mov eax, 1
imul eax, eax, 0
movzx ecx, byte [ecx + eax]
shl ecx, 8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x40]
mov esi, dword [ebp - 0x1c]
lea eax, [eax + esi*2]
mov esi, 1
shl esi, 0
movzx eax, byte [eax + esi]
or ecx, eax
and edx, ecx
mov ecx, dword [ebp - 0xc]
add edx, dword [ecx + 0x38]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 5]
test eax, eax
jne 0x1008aa32
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10086870
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1008aa32
mov eax, dword [ebp - 8]
jmp 0x1008ac65
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.100807b0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1008aa5a
mov eax, dword [ebp - 8]
jmp 0x1008ac65
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x10], 0
jne 0x1008aa7c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [edx + 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.10080510
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x44]
push ecx
call fcn.1007b9a0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1008aa9c
mov eax, dword [ebp - 8]
jmp 0x1008ac65
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10087560
add esp, 0xc
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
movzx eax, word [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.10087a90
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x1008aada
mov eax, dword [ebp - 8]
jmp 0x1008ac65
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 5]
test ecx, ecx
jne 0x1008abe3
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x4c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x78]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x7c]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x12]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
lea ecx, [eax + ecx*2 - 2]
mov eax, 1
imul eax, eax, 0
movzx ecx, byte [ecx + eax]
shl ecx, 8
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x12]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x40]
lea eax, [esi + eax*2 - 2]
mov esi, 1
shl esi, 0
movzx eax, byte [eax + esi]
or ecx, eax
and edx, ecx
mov ecx, dword [ebp - 0x10]
add edx, dword [ecx + 0x38]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.100810f0
add esp, 8
movzx ecx, ax
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
push edx
call fcn.1007b9a0
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x28]
add eax, 4
push eax
mov ecx, dword [ebp - 0x18]
sub ecx, 4
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.10087c80
add esp, 0x1c
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x12]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10087a90
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x1008abe3
mov eax, dword [ebp - 8]
jmp 0x1008ac65
mov eax, dword [ebp + 8]
push eax
call fcn.1008a400
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1008ac50
mov ecx, dword [ebp + 8]
movsx edx, word [ecx + 0x4c]
cmp edx, dword [ebp - 0x14]
jle 0x1008ac50
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 0x4c]
cmp ecx, dword [ebp - 0x14]
jle 0x1008ac41
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x4c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x78]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x4c]
sub cx, 1
mov edx, dword [ebp + 8]
mov word [edx + 0x4c], cx
mov eax, dword [ebp - 0x38]
push eax
call fcn.100823e0
add esp, 4
jmp 0x1008ac04
mov ecx, dword [ebp + 8]
push ecx
call fcn.1008a400
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1008ac62
mov edx, dword [ebp + 8]
push edx
call fcn.10085940
add esp, 4
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret