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

Disassembly:
sub esp, 0x48
mov ax, word [0x100fdd00]
mov word [esp + 2], ax
movzx eax, ax
mov ecx, dword [0x100fdd14]
push ebx
mov ebx, dword [esp + 0x54]
xor eax, ebx
mov dword [esp + 0x3c], eax
push ebp
mov ebp, dword [esp + 0x54]
mov edx, dword [0x100fdd10]
push esi
mov esi, dword [0x100fdd30]
movzx eax, byte [ebp + 0x1815]
or eax, esi
inc ecx
mov dword [esp + 0x40], eax
dec esi
mov dword [0x100fdd14], ecx
mov dword [0x100fdd30], esi
push edi
lea eax, [esi + 1]
imul eax, eax, 3
movzx edi, byte [eax + ebp]
imul eax, ecx, 0xc
xor edi, dword [eax + edx]
movzx eax, byte [ecx + ebp]
mov dword [esp + 0x38], eax
mov ax, word [esp + 0x12]
inc ax
movzx ecx, word [0x100fdd50]
mov word [0x100fdd00], ax
or al, 0xa7
mov word [esp + 0x12], ax
inc esi
imul eax, esi, 3
mov dword [0x100fdd30], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], ecx
movzx eax, byte [eax + ebp]
imul edi, eax, 0xb51
dec ebx
movzx eax, word [0x100fdd34]
mov dword [esp + 0x28], eax
imul eax, ebx, 0xc
mov dword [esp + 0x14], edi
mov edx, dword [eax + edx]
movzx eax, word [0x100fdd38]
sub edx, ecx
mov dword [esp + 0x54], eax
inc ebx
mov eax, dword [esp + 0x28]
mov ecx, 0x1c2c
add eax, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], eax
mov al, bl
or al, byte [0x100fdd28]
mov byte [esp + 0x11], al
movzx eax, byte [ebp + ebx*4 + 0xd]
mov dword [esp + 0x40], eax
mov eax, dword [0x100fdd08]
dec eax
mov dword [esp + 0x50], edx
sub ecx, eax
mov dword [0x100fdd08], eax
mov eax, dword [0x100fdd20]
inc ebx
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [0x100fdd18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x60], ebx
movzx edi, byte [eax + 0xe0a]
mov al, byte [0x100fdd02]
inc al
mov dword [esp + 0x34], edi
mov byte [0x100fdd02], al
movzx ecx, al
mov al, byte [ebx + ebp]
mov edi, dword [0x100fdd18]
cmp al, byte [ecx + edi]
mov edi, dword [esp + 0x14]
jae 0x1000986a
mov eax, dword [esp + 0x18]
mov al, byte [esi + eax]
and al, 0xe3
xor byte [0x100fdd1c], al
mov eax, dword [0x100fdd18]
movzx ecx, byte [edx + ebx]
xor edx, edx
movzx esi, word [0x100fdd38]
movzx eax, byte [eax + 0x47b]
and eax, 0x137c
div ecx
mov eax, dword [esp + 0x34]
imul ecx, ebx, 0xc
sub dx, word [eax + esi*2]
mov word [eax + esi*2], dx
movzx eax, word [0x100fdd38]
mov ax, word [eax*4 + 0x931]
or ax, word [ecx + 0x931]
movzx ecx, ax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + ebx*4]
or eax, 0x145d
push eax
push ecx
call fcn.1000ca37
mov dword [0x100fdd3c], eax
sub esi, ebx
mov eax, dword [0x100fdd08]
or eax, dword [0x100fdd48]
movzx eax, ax
push esi
push eax
call fcn.1000ca37
mov ecx, dword [esp + 0x3c]
mov byte [ebp + ebx*2], al
imul eax, dword [edi], 6
mov esi, dword [0x100fdd04]
movzx edi, byte [esp + 0x21]
mov dword [esp + 0x4c], edi
movzx ecx, word [eax + ecx]
mov eax, ebx
cdq
idiv ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
movzx ecx, byte [ecx]
add ecx, ecx
mov edx, dword [edx + ecx*8]
mov ecx, dword [0x100fdd30]
mov ecx, dword [esi + ecx*4]
imul ecx, edi
push ecx
push edx
push dword [0x100fdd24]
push eax
push dword [esi + 0x5024]
push dword [0x100fdd0c]
call fcn.1000ae11
movzx ecx, byte [0x100fdd02]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov dword [edx + ecx*4 + 0x44], eax
movzx ecx, byte [0x100fdd02]
imul eax, ecx, 6
mov al, byte [eax + edi]
and al, byte [esp + 0x3a]
and byte [0x100fdd1c], al
mov eax, dword [esp + 0x70]
movzx edi, byte [eax + ebx*4 + 2]
mov eax, dword [esp + 0x60]
movzx esi, byte [ecx + eax]
movzx eax, byte [ebp + 0xa21]
sub esi, eax
mov eax, dword [0x100fdd18]
movzx edx, byte [eax + 0x7ec]
mov eax, dword [esp + 0x7c]
inc eax
movzx eax, ax
sub edx, eax
mov ax, word [esp + 0x3a]
movzx eax, al
mov dword [esp + 0x6c], eax
mov ecx, dword [eax*4 + 0xf11]
movzx eax, word [0x100fdd50]
add ecx, ebx
and eax, ebx
push eax
push ebx
push ecx
push edx
push esi
push edi
call fcn.1000b9d0
mov edi, dword [esp + 0x54]
mov ecx, ebx
mov byte [ebx + ebp], al
xor ecx, 0x1500
mov eax, dword [esp + 0x58]
add esp, 0x40
mov ebp, dword [esp + 0x38]
mov edx, dword [0x100fdd54]
movzx esi, byte [eax]
movzx eax, word [0x100fdd44]
and ecx, eax
mov eax, dword [edi]
movzx eax, byte [eax + ebp]
mov ebp, dword [esp + 0x5c]
sub ecx, eax
xor dword [edx + esi*8], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x10009b2e
mov edi, eax
mov ecx, ebx
imul eax, eax, 0xc
shl edi, 4
add edi, dword [esp + 0x30]
shl ecx, 4
mov dword [esp + 0x38], ecx
add eax, 0xf11
mov dword [esp + 0x34], edi
mov dword [esp + 0x60], eax
movzx eax, byte [0x100fdd02]
xor edx, edx
imul esi, eax, 3
push 0x1619
push 1
movzx ecx, byte [ebp + eax*2 + 1]
mov eax, dword [esp + 0x44]
div ecx
mov ecx, dword [esp + 0x68]
or al, byte [0x100fdd3c]
add dword [esp + 0x28], 0xffff
sub al, byte [ecx + 0x78]
add byte [esi + ebp], al
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x24]
mov eax, dword [eax]
movzx eax, byte [ecx + eax*2]
push eax
mov eax, ebx
cdq
idiv esi
push edx
push dword [0x100fdd30]
push 0x793
call fcn.1000ae11
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov dword [ecx + edx], eax
xor edx, edx
and dword [0x100fdd48], esi
sub ecx, 0x10
mov eax, dword [esp + 0x78]
mov dword [esp + 0x50], ecx
mov eax, dword [eax]
add dword [edi], eax
mov eax, ebx
div dword [0x100fdd14]
mov eax, dword [esp + 0x3c]
dec ebx
movzx esi, byte [ebp + 0xc9d]
mov edi, dword [0x100fdd4c]
movzx ecx, byte [eax]
mov eax, dword [0x100fdd54]
add ecx, ecx
mov eax, dword [eax + ecx*8]
mov ecx, dword [esp + 0x2c]
push eax
push esi
mov esi, dword [esp + 0x3c]
mov eax, esi
inc dword [ecx]
and eax, 0x1860
push eax
mov eax, esi
imul eax, esi
push edx
push edi
push eax
call fcn.1000b9d0
mov edx, dword [esp + 0x44]
add esp, 0x30
mov ecx, dword [0x100fdd18]
mov edi, dword [esp + 0x34]
add dword [esp + 0x60], 0xc
add edi, 0x10
imul edx, dword [edx], 3
inc esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], edi
mov byte [edx + ecx], al
mov eax, dword [esp + 0x20]
movzx eax, ax
cmp esi, eax
jg 0x10009a26
mov edi, dword [esp + 0x14]
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x24]
mov dx, word [0x100fdd38]
movzx eax, byte [eax]
mov al, byte [ebp + eax*4]
cmp al, byte [0x100fdd03]
jbe 0x10009b5b
mov eax, dword [0x100fdd54]
movzx ecx, dx
mov eax, dword [eax + ecx*4]
cmp eax, dword [0x100fdd28]
ja 0x10009b6f
cmp dword [0x100fdd30], ebx
jae 0x10009b6f
mov ecx, dword [esp + 0x40]
movzx eax, byte [ecx + ebx]
cmp eax, ebx
jne 0x10009bc1
mov eax, dword [esp + 0x44]
inc dx
push dword [esp + 0x3c]
mov word [0x100fdd38], dx
movzx ecx, dx
mov al, byte [ebp + eax*2]
mov edx, dword [esp + 0x2c]
mov byte [edx + ecx*2], al
mov ax, word [esp + 0x16]
dec al
movzx esi, al
mov eax, dword [0x100fdd04]
mov ax, word [eax + esi*8]
sub ax, word [esi*4 + 0xf75]
movzx eax, ax
push eax
call fcn.1000ca37
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
mov byte [esi*4 + 0xe61], al
jmp 0x10009bc5
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dl, byte [0x100fdd02]
mov al, byte [eax + ebx]
cmp al, byte [0x100fdd1c]
jae 0x10009be7
imul eax, ebx, 3
cmp byte [eax + ebp + 4], dl
jb 0x10009d5f
movzx eax, byte [ecx]
mov ecx, dword [edi]
mov edi, dword [esp + 0x28]
mov al, byte [eax + ebp]
cmp al, byte [edi + ecx]
jb 0x10009d5f
imul eax, dword [0x100fdd30], 0xc
inc dl
mov ecx, dword [esp + 0x4c]
mov byte [0x100fdd02], dl
mov edi, dword [esp + 0x18]
add ecx, eax
movzx eax, dl
xor edx, edx
movzx eax, byte [eax + ebp]
div dword [0x100fdd0c]
mov eax, edx
xor edx, edx
div dword [ecx]
mov dword [ecx], eax
mov dl, byte [0x100fdd02]
movzx eax, dl
dec dl
mov byte [0x100fdd02], dl
dec dl
movzx ebp, byte [esi + ebp]
mov esi, dword [esp + 0x5c]
movzx ecx, dl
mov byte [0x100fdd02], dl
mov dword [esp + 0x54], eax
movzx eax, word [0x100fdd44]
movzx ebx, byte [esi + ecx*4 + 8]
add ebx, eax
mov eax, dword [0x100fdd30]
movzx edi, byte [edi + eax*2 + 2]
imul eax, ecx, 3
mov ecx, dword [esp + 0x2c]
movzx esi, byte [eax + esi]
movzx eax, word [0x100fdd38]
and esi, 0x136
inc dl
mov byte [0x100fdd02], dl
xor edx, edx
movzx eax, word [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x50]
movzx ecx, byte [ecx + 0x6f8]
div ecx
push eax
push esi
push edi
push ebx
push ebp
push dword [esp + 0x68]
call fcn.1000b9d0
mov ebx, dword [esp + 0x74]
xor edx, edx
movzx ecx, word [0x100fdd44]
mov ebp, dword [esp + 0x44]
mov byte [ebx + ecx*2], al
inc word [0x100fdd44]
mov esi, dword [0x100fdd14]
movzx eax, byte [ebx + 0x1e99]
movzx ecx, byte [esi + ebx]
div ecx
mov byte [esi + ebx], dl
xor edx, edx
mov esi, dword [esp + 0x78]
movzx ebx, word [0x100fdd00]
mov eax, ebx
movzx ecx, word [ebp + esi*8]
div ecx
mov ecx, dword [0x100fdd30]
mov dword [esp + 0x74], eax
mov eax, dword [0x100fdd04]
movzx ebp, word [ebp + esi*2 + 0xa]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x48]
cdq
idiv dword [ecx + 0x2068]
mov ecx, dword [0x100fdd3c]
mov esi, ecx
mov edi, eax
dec ecx
mov eax, ebx
mov dword [0x100fdd3c], ecx
cdq
idiv dword [esp + 0x78]
push eax
push esi
push edi
push ebp
push dword [esp + 0x84]
push 0x4cb
call fcn.1000ae11
mov word [0x100fdd38], ax
add esp, 0x30
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 0x1433]
imul eax, dword [esp + 0x60]
jmp 0x10009d6d
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 0x1433]
imul eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret