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

Disassembly:
sub esp, 0x40
mov eax, dword [0x100a1040]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebp
mov ebp, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x10], esi
test esi, esi
jne 0x10008e34
lea eax, [esi + 0x20]
pop esi
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1003b025
add esp, 0x40
ret
mov eax, dword [esp + 0x5c]
push ebx
push edi
mov edi, dword [esp + 0x60]
xor ebx, ebx
sub edi, eax
mov dword [esp + 0x14], ebx
test edi, edi
jle 0x10008e5b
nop word [eax + eax]
sub edi, eax
inc ebx
test edi, edi
jg 0x10008e50
mov dword [esp + 0x14], ebx
cmp ebp, 8
ja 0x100091c1
cmp ebp, dword [esi + 0x1d4]
ja 0x100091c1
neg edi
mov dword [esp + 0x60], edi
cmp edi, 0x800
jg 0x100091c1
cmp ebx, 3
jge 0x100091c1
push 0x34
lea eax, [esi + 8]
push 0x1006f720
push eax
mov dword [esp + 0x28], eax
call fcn.100058b0
mov ecx, dword [esp + 0x80]
add esp, 0xc
cmp dword [esp + 0x58], 0
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0
jne 0x100091a7
cmp dword [esi + 0x3c], edi
jne 0x10008f32
mov eax, dword [esp + 0x70]
cmp dword [esi + 0x48], eax
jne 0x10008f32
cmp dword [esi], 0
mov ecx, dword [esp + 0x5c]
jne 0x10008f15
test ecx, ecx
je 0x10008f15
mov edi, dword [esp + 0x1c]
lea ebx, [esi + 0x50]
mov esi, 3
nop
push ebx
push 0
push ebp
push edi
call fcn.100096e0
add esp, 0x10
add ebx, 0x6c
sub esi, 1
jne 0x10008ef0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi]
test eax, eax
je 0x10009150
test ecx, ecx
jne 0x10009150
mov dword [esi + 0x1d8], eax
jmp 0x10009150
cmp dword [esi + 0x48], 0
je 0x100091a7
or eax, 0xffffffff
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x20], eax
or eax, eax
mov dword [esp + 0x18], eax
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
cmp ecx, 2
jne 0x10008f83
push 0
push dword [0x10070740]
push 0x100706c8
push eax
call fcn.10015850
push 0
push dword [0x10070740]
push 0x100706c8
jmp 0x10008f9a
xor ebx, ebx
test ecx, ecx
sete bl
push ebx
push 0
push 0
push eax
call fcn.10015850
push ebx
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call fcn.10015850
mov ebx, dword [esp + 0x90]
add esp, 0x20
lea eax, [ebx - 1]
cmp eax, 5
ja case.default.0x10008fba
jmp dword [eax*4 + 0x100091dc]
cmp ebp, 2
je case.default.0x10008fba
push dword [esi + 0x48]
lea eax, [esp + 0x28]
push 0
push eax
call fcn.10015820
movzx eax, al
push ebx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x40]
push 0
push eax
call fcn.10015820
movzx ebx, al
add esp, 0x18
mov dword [esp + 0x10], ebx
jmp case.default.0x10008fba
cmp dword [esi + 0x44], 2
jl case.default.0x10008fba
mov eax, dword [esi + 0x48]
cmp eax, 2
push eax
setne al
movzx eax, al
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10015820
movzx eax, al
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x48]
cmp eax, 2
push eax
setne al
inc al
movzx eax, al
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10015820
movzx eax, al
cmp ebx, 2
mov dword [esp + 0x30], eax
setne al
movzx eax, al
push ebx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10015820
movzx eax, al
cmp ebx, 2
mov dword [esp + 0x34], eax
setne al
inc al
movzx eax, al
push ebx
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10015820
movzx eax, al
add esp, 0x30
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.10005890
mov edx, dword [esi + 0x44]
add esp, 8
cmp edx, ebp
jle 0x1000909d
xor ebx, ebx
jmp 0x100090a1
mov ebx, dword [esi + 0x3c]
dec ebx
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x100090c8
cmp dword [esp + 0x10], 0xffffffff
je 0x100090c8
mov ecx, edx
imul ecx, ebx
add ecx, eax
mov eax, dword [esi + 0x4c]
mov ax, word [eax + ecx*2]
mov ecx, dword [esp + 0x10]
mov word [esp + ecx*2 + 0x3c], ax
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x100090eb
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
je 0x100090eb
imul edx, ebx
add edx, eax
mov eax, dword [esi + 0x4c]
mov ax, word [eax + edx*2]
mov word [esp + ecx*2 + 0x3c], ax
lea eax, [ebp*2]
mov ecx, ebp
push eax
imul ecx, ebx
lea eax, [esp + 0x40]
push eax
mov eax, dword [esi + 0x4c]
lea eax, [eax + ecx*2]
push eax
call fcn.100058b0
mov edx, dword [esi + 0x44]
xor eax, eax
add esp, 0xc
cmp edx, ebp
setg al
lea ebx, [ebx + eax*2]
dec ebx
cmp ebx, dword [esi + 0x3c]
jge 0x10009127
test ebx, ebx
jns 0x100090a1
mov ebx, dword [esp + 0x14]
lea eax, [esi + 0x50]
push 0x144
push eax
call fcn.10005890
add esp, 8
mov dword [esi + 0x194], 0
mov dword [esi + 0x1dc], 1
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x70]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], eax
mov dword [esi], ecx
cmp ecx, 1
je 0x10009170
cmp ecx, 2
jne 0x10009192
push 1
push dword [esp + 0x78]
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
push 0
push 0
push dword [esi + 4]
call fcn.100164c0
add esp, 0x20
test eax, eax
jne 0x100091c1
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1003b025
add esp, 0x40
ret
mov eax, dword [esi + 0x1d4]
shl eax, 0xc
push eax
push dword [esi + 0x4c]
call fcn.10005890
add esp, 8
jmp 0x1000912b
pop edi
mov eax, 0x40
pop ebx
mov ecx, dword [esp + 0x44]
pop esi
pop ebp
xor ecx, esp
call fcn.1003b025
add esp, 0x40
ret