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

Disassembly:
sub esp, 0x18c
mov eax, dword [0x101685a4]
xor eax, esp
mov dword [esp + 0x188], eax
movzx eax, byte [ecx + 7]
push esi
mov esi, dword [esp + 0x194]
push edi
cmp eax, 5
ja case.0x1008ce6a.3
jmp dword [eax*4 + 0x1008d140]
mov edi, dword [esi + 0xc]
lea eax, [ecx + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x10]
mov byte [esp + 0xc], 0
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x48], eax
cmp ecx, 0xffffffff
jne 0x1008cebf
lea ecx, [edi + 0x38]
call fcn.100c4da0
movzx ecx, byte [eax + 4]
movzx eax, byte [eax + 5]
shl ecx, 8
add eax, ecx
xor ecx, ecx
cmp ecx, eax
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x20], ecx
push esi
lea eax, [esp + 0x10]
mov dword [esp + 0x50], ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.10095120
mov al, byte [esp + 0xc]
jmp 0x1008d124
push ebx
mov ebx, dword [esi + 0x44]
lea edi, [ecx + 0xc]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
add ecx, eax
mov byte [esp + 0x38], 0
sub ecx, 1
je 0x1008cf09
xor al, al
jmp 0x1008cf1f
movzx ecx, byte [ebx + 4]
mov eax, 0x100
movzx edx, byte [ebx + 5]
imul ecx, eax
add dx, cx
setne al
movzx ecx, byte [edi + 0x10]
mov ebx, dword [esi + 0xc]
shl ecx, 8
mov byte [esp + 0x39], al
movzx eax, byte [edi + 0x11]
add ecx, eax
mov dword [esp + 0x3c], 0
movzx eax, byte [edi + 0x12]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x40], edi
movzx eax, byte [edi + 0x13]
shl ecx, 8
add ecx, edi
mov dword [esp + 0x54], edi
add eax, ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x58], eax
cmp ecx, 0xffffffff
jne 0x1008cf8a
lea ecx, [ebx + 0x38]
call fcn.100c4da0
movzx ecx, byte [eax + 5]
movzx eax, byte [eax + 4]
shl eax, 8
add eax, ecx
xor ecx, ecx
cmp ecx, eax
sbb ecx, ecx
and ecx, eax
mov dword [ebx + 0x20], ecx
push esi
lea eax, [esp + 0x30]
mov dword [esp + 0x60], ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.10092430
mov al, byte [esp + 0x2c]
pop ebx
jmp 0x1008d124
lea edx, [ecx + 0xc]
mov edi, dword [esi + 0xc]
movzx eax, byte [edx + 0x11]
movzx ecx, byte [edx + 0x10]
shl ecx, 8
add ecx, eax
mov byte [esp + 0x74], 0
movzx eax, byte [edx + 0x12]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x78], esi
movzx eax, byte [edx + 0x13]
shl ecx, 8
add ecx, edx
mov dword [esp + 0x7c], edx
add eax, ecx
mov dword [esp + 0x8c], 0
movzx ecx, byte [edx + 0x14]
shl ecx, 8
mov dword [esp + 0x80], eax
movzx eax, byte [edx + 0x15]
add ecx, eax
mov dword [esp + 0x5c], edx
movzx eax, byte [edx + 0x16]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
add ecx, edx
add eax, ecx
movzx ecx, byte [edx + 0x18]
shl ecx, 8
mov dword [esp + 0x84], eax
movzx eax, byte [edx + 0x19]
add ecx, eax
movzx eax, byte [edx + 0x1a]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1b]
shl ecx, 8
add ecx, edx
add eax, ecx
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x60], eax
cmp ecx, 0xffffffff
jne 0x1008d070
lea ecx, [edi + 0x38]
call fcn.100c4da0
movzx ecx, byte [eax + 5]
movzx eax, byte [eax + 4]
shl eax, 8
add eax, ecx
xor ecx, ecx
cmp ecx, eax
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x20], ecx
push esi
lea eax, [esp + 0x78]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x64]
call fcn.10094750
mov al, byte [esp + 0x74]
jmp 0x1008d124
push esi
add ecx, 0xc
call fcn.100b1a30
jmp 0x1008d124
movzx eax, byte [ecx + 0x1c]
lea edx, [ecx + 0xc]
movzx ecx, byte [edx + 0x11]
mov edi, dword [esi + 0xc]
shl eax, 8
add ecx, eax
mov byte [esp + 0x18], 0
movzx eax, byte [edx + 0x12]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x1c], esi
movzx eax, byte [edx + 0x13]
shl ecx, 8
add ecx, edx
mov dword [esp + 0x20], 0
add eax, ecx
mov dword [esp + 0x68], edx
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x6c], eax
cmp ecx, 0xffffffff
jne 0x1008d109
lea ecx, [edi + 0x38]
call fcn.100c4da0
movzx ecx, byte [eax + 4]
movzx eax, byte [eax + 5]
shl ecx, 8
add eax, ecx
xor ecx, ecx
cmp ecx, eax
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x20], ecx
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x74], ecx
push eax
lea ecx, [esp + 0x70]
call fcn.10092e10
mov al, byte [esp + 0x18]
jmp 0x1008d124
xor al, al
mov ecx, dword [esp + 0x190]
pop edi
pop esi
xor ecx, esp
call fcn.10107bf3
add esp, 0x18c
ret 4