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

Disassembly:
mov eax, 0x27c4
call fcn.100ce480
push ebx
mov ebx, dword [esp + 0x27d0]
push ebp
push esi
mov esi, ecx
xor edx, edx
cmp ebx, 8
push edi
mov dword [esi], edx
jb 0x100a03e7
test bl, 1
jne 0x100a03e7
mov eax, dword [esp + 0x27d8]
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x20], 0xffffffff
mov cx, word [eax]
mov di, word [eax + 2]
shl ecx, 0x10
or ecx, edi
lea edi, [eax + 4]
cmp ecx, 0xffffffff
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edi
jae 0x100a03e7
add eax, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
xor eax, eax
lea ecx, [esi + 4]
inc eax
mov dword [ecx], eax
add ecx, 4
cmp eax, 4
jb 0x1009ef2f
xor eax, eax
lea ecx, [esi + 0x18]
inc eax
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ecx, 8
cmp eax, 4
jb 0x1009ef3f
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
lea eax, [esi + 0x58]
mov ecx, 0x10
mov ebx, 0x55555555
mov dword [eax + 8], ebx
mov dword [eax], 0x30
mov dword [eax + 0xc], edx
add eax, 0x10
dec ecx
jne 0x1009ef60
lea eax, [esi + 0x158]
mov ecx, 0x20
mov dword [eax + 8], ebx
mov dword [eax], 0x30
mov dword [eax + 0xc], edx
add eax, 0x10
dec ecx
jne 0x1009ef7d
lea eax, [esi + 0x358]
lea edi, [esi + 0x40]
mov ebp, 3
mov dword [edi], edx
mov ecx, 0x40
mov dword [eax + 8], ebx
mov dword [eax], 0x30
mov dword [eax + 0xc], edx
add eax, 0x10
dec ecx
jne 0x1009efa4
add edi, 4
dec ebp
jne 0x1009ef9d
lea eax, [esi + 0xf58]
lea edi, [esi + 0x4c]
mov ebp, 3
mov dword [edi], edx
mov ecx, 0x40
mov dword [eax + 8], ebx
mov dword [eax], 0x30
mov dword [eax + 0xc], edx
add eax, 0x10
dec ecx
jne 0x1009efd1
add edi, 4
dec ebp
jne 0x1009efca
lea ebp, [esi + 0x1b58]
mov ecx, 0x100
mov eax, 1
push 0xf
lea ebx, [ebp + 0x68c]
mov dword [ebp + 0x684], 0x400
mov edi, ebx
mov dword [ebp + 0x688], ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x688]
lea ecx, [esp + 0xe8]
push eax
push ecx
lea edx, [esp + 0x6e8]
mov ecx, ebx
call fcn.100b5200
mov edx, dword [ebp + 0x688]
lea eax, [esp + 0xe4]
push edx
push eax
mov ecx, ebp
call fcn.100a06c0
lea ebp, [esi + 0x3d2c]
mov ecx, 0x36
mov eax, 1
push 0xf
lea ebx, [ebp + 0x2f8]
mov dword [ebp + 0x2f0], 0x200
mov edi, ebx
mov dword [ebp + 0x2f4], ecx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x2f4]
lea edx, [esp + 0x40]
push ecx
push edx
lea edx, [esp + 0x1f0]
mov ecx, ebx
call fcn.100b5200
mov eax, dword [ebp + 0x2f4]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, ebp
call fcn.100a0820
lea ebp, [esi + 0x40fc]
mov ecx, 8
mov eax, 1
push 0xf
lea ebx, [ebp + 0x11c]
mov dword [ebp + 0x114], 0x200
mov edi, ebx
mov dword [ebp + 0x118], ecx
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0x118]
lea eax, [esp + 0x30]
push edx
push eax
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.100b5200
mov ecx, dword [ebp + 0x118]
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, ebp
call fcn.100a0980
mov ecx, dword [esp + 0x27e4]
call fcn.100a0460
mov ebp, eax
cmp ebp, 2
jae 0x1009f10f
mov ebp, 2
lea ebx, [esi + 0x25e4]
test ebp, ebp
mov dword [ebx + 0xac4], 0x400
mov dword [ebx + 0xac8], ebp
jbe 0x1009f138
lea edi, [ebx + 0xacc]
mov ecx, ebp
mov eax, 1
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xac8]
push 0xf
lea ecx, [esp + 0x2c0]
push eax
push ecx
lea edx, [esp + 0xee8]
lea ecx, [ebx + 0xacc]
call fcn.100b5200
mov edx, dword [ebx + 0xac8]
lea eax, [esp + 0x2bc]
push edx
push eax
mov ecx, ebx
call fcn.100a06c0
lea ebx, [esi + 0x4238]
test ebp, ebp
mov dword [ebx + 0xac4], 0x400
mov dword [ebx + 0xac8], ebp
jbe 0x1009f19a
lea edi, [ebx + 0xacc]
mov ecx, ebp
mov eax, 1
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0xac8]
push 0xf
lea edx, [esp + 0x2c0]
push ecx
push edx
lea edx, [esp + 0xee8]
lea ecx, [ebx + 0xacc]
call fcn.100b5200
mov eax, dword [ebx + 0xac8]
lea ecx, [esp + 0x2bc]
push eax
push ecx
mov ecx, ebx
call fcn.100a06c0
mov edx, dword [esp + 0x27e4]
mov eax, dword [esi]
cmp eax, edx
mov dword [esp + 0x1c], 0
jae 0x100a03ba
mov eax, dword [esi + 0x38]
mov ecx, eax
and eax, 7
shl ecx, 4
shl eax, 1
mov edx, dword [ecx + esi + 0x58]
lea edi, [ecx + esi + 0x58]
test edx, edx
mov ecx, eax
jne 0x1009f20e
mov edx, 1
jmp 0x1009f218
cmp edx, 0x40
jne 0x1009f218
mov edx, 0x3f
mov ebp, dword [esp + 0x20]
cmp ebp, 0xffff
ja 0x1009f24e
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
shl ebp, 0x10
mov dword [esp + 0x20], ebp
xor ebp, ebp
mov bp, word [eax]
shl ebx, 0x10
or ebx, ebp
mov ebp, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
jmp 0x1009f252
mov ebx, dword [esp + 0x24]
mov eax, ebp
shr eax, 6
imul eax, edx
cmp ebx, eax
jae 0x1009f2f3
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0xc]
mov ebx, dword [edi]
mov ecx, edx
shr ecx, 0x1f
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
add ebx, ecx
mov ecx, 1
mov dword [edi], ebx
call fcn.100ce2e0
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov ebx, dword [esp + 0x14]
xor eax, eax
xor edx, edx
mov ecx, 9
mov ah, byte [ebx - 1]
mov dl, byte [ebx - 3]
mov al, byte [ebx - 2]
lea edi, [esi + 0x1b58]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x18]
sub ecx, edx
shr eax, cl
mov ecx, dword [edi + 0x24]
and eax, 0x7fff
cmp eax, ecx
jae 0x1009f352
shr eax, 6
xor ecx, ecx
mov cx, word [edi + eax*2 + 0x84]
mov eax, ecx
and eax, 0xf
add edx, eax
mov eax, edx
and edx, 7
shr eax, 3
sub ebx, eax
mov dword [esp + 0x18], edx
shr ecx, 4
mov dword [esp + 0x14], ebx
mov ebx, ecx
jmp 0x1009f3a7
or ecx, 1
sub ebp, eax
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0xc]
mov ecx, edx
sub ebx, eax
mov eax, dword [edi + 8]
mov dword [esp + 0x20], ebp
shr ecx, 0x1f
dec ecx
mov dword [esp + 0x24], ebx
add dword [edi], ecx
mov ecx, 1
call fcn.100ce2e0
or al, 1
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x3c]
mov edx, eax
and eax, 0xf
shl edx, 4
shl eax, 1
mov ecx, dword [edx + esi + 0x158]
lea edi, [edx + esi + 0x158]
test ecx, ecx
jne 0x1009f452
mov ecx, 1
jmp 0x1009f45c
mov ecx, dword [edi + 0x28]
add edi, 0x28
cmp eax, ecx
mov ebp, 0xa
jb 0x1009f36e
mov ecx, edi
mov edi, dword [ecx + 4]
add ecx, 4
inc ebp
cmp eax, edi
jae 0x1009f363
add edx, ebp
lea edi, [esi + 0x1b58]
mov ecx, edx
and edx, 7
shr ecx, 3
sub ebx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
mov ecx, dword [edi + ebp*4 - 4]
sub eax, ecx
mov ecx, 0xf
sub ecx, ebp
shr eax, cl
mov ecx, dword [edi + ebp*4 + 0x44]
add eax, ecx
xor ebx, ebx
mov bx, word [edi + eax*2 + 0x484]
mov ecx, dword [esi + ebx*4 + 0x21e4]
inc ecx
mov dword [esi + ebx*4 + 0x21e4], ecx
mov eax, dword [esi + 0x21dc]
dec eax
mov dword [esi + 0x21dc], eax
jne 0x1009f424
mov edx, dword [edi + 0x688]
lea ebp, [edi + 0x68c]
push 0xf
lea eax, [esp + 0x5e0]
push edx
push eax
lea edx, [esp + 0xae8]
mov ecx, ebp
call fcn.100b5200
mov ecx, dword [edi + 0x688]
lea edx, [esp + 0x5dc]
push ecx
push edx
mov ecx, edi
call fcn.100a06c0
mov dword [edi + 0x684], 0x400
mov edi, dword [edi + 0x688]
test edi, edi
jbe 0x1009f424
mov eax, ebp
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec edi
mov dword [eax - 4], ecx
jne 0x1009f416
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp eax, edx
jb 0x100a03e7
mov eax, dword [esi]
mov ecx, dword [esp + 0x27e0]
mov dword [esp + 0x1c], 0
mov byte [eax + ecx], bl
mov eax, dword [esi]
inc eax
mov dword [esi], eax
jmp 0x100a0382
cmp ecx, 0x40
jne 0x1009f45c
mov ecx, 0x3f
cmp ebp, 0xffff
ja 0x1009f484
mov edx, dword [esp + 0x28]
shl ebp, 0x10
mov dword [esp + 0x20], ebp
xor ebp, ebp
mov bp, word [edx]
shl ebx, 0x10
or ebx, ebp
add edx, 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
mov ebp, dword [esp + 0x20]
shr ebp, 6
imul ebp, ecx
cmp ebx, ebp
jae 0x1009f4dc
mov dword [esi + 0x3c], eax
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov ecx, edx
shr ecx, 0x1f
add dword [edi], ecx
mov ecx, 1
mov dword [esp + 0x20], ebp
call fcn.100ce2e0
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x40]
mov edx, eax
and eax, 0x1f
shl edx, 4
shl eax, 1
lea edi, [edx + esi + 0x358]
mov edx, dword [edx + esi + 0x358]
test edx, edx
jne 0x1009f546
mov edx, 1
jmp 0x1009f550
mov ecx, dword [esp + 0x20]
or al, 1
sub ecx, ebp
mov dword [esi + 0x3c], eax
mov edx, dword [edi + 0xc]
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 8]
mov ecx, edx
shr ecx, 0x1f
sub ebx, ebp
mov ebp, dword [edi]
dec ecx
mov dword [esp + 0x24], ebx
add ebp, ecx
mov ecx, 1
mov dword [edi], ebp
call fcn.100ce2e0
or al, 1
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x4c]
mov ecx, eax
and eax, 0x1f
shl ecx, 4
shl eax, 1
mov edx, dword [ecx + esi + 0xf58]
lea edi, [ecx + esi + 0xf58]
test edx, edx
mov dword [esp + 0x10], edx
jne 0x1009fbc0
mov edx, 1
jmp 0x1009fbca
cmp edx, 0x40
jne 0x1009f550
mov edx, 0x3f
cmp ebp, 0xffff
ja 0x1009f578
mov ecx, dword [esp + 0x28]
shl ebp, 0x10
mov dword [esp + 0x20], ebp
xor ebp, ebp
mov bp, word [ecx]
shl ebx, 0x10
or ebx, ebp
add ecx, 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x20]
shr ecx, 6
imul ecx, edx
cmp ebx, ecx
jae 0x1009f61d
mov dword [esi + 0x40], eax
mov edx, dword [edi + 0xc]
mov ebx, dword [edi]
mov eax, dword [edi + 8]
mov dword [esp + 0x20], ecx
mov ecx, edx
shr ecx, 0x1f
add ebx, ecx
mov ecx, 1
mov dword [edi], ebx
call fcn.100ce2e0
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov ebx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov ah, byte [ebx - 1]
mov cl, byte [ebx - 3]
mov al, byte [ebx - 2]
lea ebp, [esi + 0x25e4]
shl eax, 8
or eax, ecx
mov ecx, 9
sub ecx, edx
shr eax, cl
and eax, 0x7fff
mov edi, eax
mov eax, dword [ebp + 0x24]
cmp edi, eax
jae 0x1009f67c
shr edi, 6
xor eax, eax
mov ax, word [ebp + edi*2 + 0x84]
mov ecx, eax
and ecx, 0xf
add edx, ecx
mov ecx, edx
and edx, 7
shr ecx, 3
sub ebx, ecx
mov dword [esp + 0x18], edx
shr eax, 4
mov dword [esp + 0x14], ebx
mov ebx, eax
jmp 0x1009f6ca
mov ebp, dword [esp + 0x20]
or al, 1
mov dword [esi + 0x40], eax
mov edx, dword [edi + 0xc]
sub ebp, ecx
sub ebx, ecx
mov eax, dword [edi + 8]
mov ecx, edx
shr ecx, 0x1f
dec ecx
mov dword [esp + 0x24], ebx
add dword [edi], ecx
mov ecx, 1
call fcn.100ce2e0
or al, 1
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x44]
mov edx, eax
and eax, 0x1f
shl edx, 4
shl eax, 1
lea edi, [edx + esi + 0x758]
mov ecx, eax
mov edx, dword [edi]
test edx, edx
mov dword [esp + 0x10], edx
jne 0x1009f7eb
mov edx, 1
jmp 0x1009f7f5
mov eax, dword [ebp + 0x28]
add ebp, 0x28
cmp edi, eax
mov ebx, 0xa
jb 0x1009f698
mov eax, ebp
mov ecx, dword [eax + 4]
add eax, 4
inc ebx
cmp edi, ecx
jae 0x1009f68d
push ebx
lea ecx, [esp + 0x18]
call fcn.100a0400
mov ecx, dword [esi + ebx*4 + 0x25e0]
lea ebp, [esi + 0x25e4]
sub edi, ecx
mov ecx, 0xf
mov eax, dword [ebp + ebx*4 + 0x44]
sub ecx, ebx
shr edi, cl
add edi, eax
xor ebx, ebx
mov bx, word [ebp + edi*2 + 0x484]
mov ecx, dword [esi + ebx*4 + 0x30b0]
inc ecx
mov dword [esi + ebx*4 + 0x30b0], ecx
mov eax, dword [esi + 0x30a8]
dec eax
mov dword [esi + 0x30a8], eax
jne 0x1009f747
mov edx, dword [ebp + 0xac8]
lea edi, [ebp + 0xacc]
push 0xf
lea eax, [esp + 0x2c0]
push edx
push eax
lea edx, [esp + 0xee8]
mov ecx, edi
call fcn.100b5200
mov ecx, dword [ebp + 0xac8]
lea edx, [esp + 0x2bc]
push ecx
push edx
mov ecx, ebp
call fcn.100a06c0
mov dword [ebp + 0xac4], 0x400
mov ebp, dword [ebp + 0xac8]
test ebp, ebp
jbe 0x1009f747
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebp
mov dword [eax - 4], ecx
jne 0x1009f739
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp edi, eax
jb 0x100a03e7
xor ecx, ecx
mov edx, edi
mov cl, byte [ebx + 0x100f8310]
mov ebx, dword [ebx*4 + 0x100f8708]
sub edx, eax
mov eax, ecx
shr eax, 3
cmp edx, eax
jb 0x100a03e7
mov eax, dword [esp + 0x18]
mov edx, 1
mov edi, dword [edi - 4]
add eax, ecx
shl edx, cl
dec edx
cmp eax, 0x20
mov dword [esp + 0x10], edx
jbe 0x1009f7ad
mov ebp, dword [esp + 0x14]
mov cl, 0x28
xor edx, edx
sub cl, al
mov dl, byte [ebp - 5]
shr edx, cl
lea ecx, [eax - 0x20]
shl edi, cl
or edi, edx
mov edx, dword [esp + 0x10]
jmp 0x1009f7b6
mov ecx, 0x20
sub ecx, eax
shr edi, cl
mov ebp, dword [esp + 0x14]
mov ecx, eax
shr ecx, 3
and eax, 7
and edi, edx
mov edx, dword [esi + 0xc]
sub ebp, ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
add ebx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
mov dword [esi + 8], ecx
jmp 0x1009f9a3
cmp edx, 0x40
jne 0x1009f7f9
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x1009f821
mov eax, dword [esp + 0x28]
xor edx, edx
shl ebx, 0x10
mov dx, word [eax]
shl ebp, 0x10
or ebx, edx
mov edx, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov eax, ebp
shr eax, 6
imul eax, edx
cmp ebx, eax
jae 0x1009f86e
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0xc]
mov ebx, dword [edi]
mov ecx, edx
shr ecx, 0x1f
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
add ebx, ecx
mov ecx, 1
mov dword [edi], ebx
call fcn.100ce2e0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov dword [edi + 0xc], edx
je 0x1009f93b
mov ebx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
jmp 0x1009f9a6
or ecx, 1
sub ebp, eax
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0xc]
mov ecx, edx
sub ebx, eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], ebx
shr ecx, 0x1f
dec ecx
add dword [edi], ecx
mov ecx, 1
call fcn.100ce2e0
or al, 1
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x48]
mov ecx, eax
and eax, 0x1f
shl ecx, 4
shl eax, 1
mov edx, dword [ecx + esi + 0xb58]
lea edi, [ecx + esi + 0xb58]
test edx, edx
mov ecx, eax
mov dword [esp + 0x10], edx
jne 0x1009f8c8
mov edx, 1
jmp 0x1009f8d2
cmp edx, 0x40
jne 0x1009f8d6
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x1009f8fe
mov eax, dword [esp + 0x28]
xor edx, edx
shl ebx, 0x10
mov dx, word [eax]
shl ebp, 0x10
or ebx, edx
mov edx, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov eax, ebp
shr eax, 6
imul eax, edx
cmp ebx, eax
jae 0x1009f94a
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0xc]
mov ebx, dword [edi]
mov ecx, edx
shr ecx, 0x1f
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
add ebx, ecx
mov ecx, 1
mov dword [edi], ebx
call fcn.100ce2e0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov dword [edi + 0xc], edx
je 0x1009f975
mov ebx, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
mov dword [esi + 8], edx
jmp 0x1009f9a3
or ecx, 1
sub ebp, eax
sub ebx, eax
mov dword [esi + 0x48], ecx
push 1
mov ecx, edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
call fcn.100a0420
cmp dword [esp + 0x1c], 1
je 0x1009f98a
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x1c], ebx
jmp 0x1009f997
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 8], ecx
jmp 0x1009f9a3
mov ebx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x10], ecx
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
mov dword [esi + 0xc], edx
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
xor edx, edx
xor eax, eax
mov dh, byte [edi - 1]
mov al, byte [edi - 3]
mov dl, byte [edi - 2]
mov ecx, 9
shl edx, 8
or edx, eax
sub ecx, ebp
mov eax, dword [esi + 0x3d4c]
lea ebp, [esi + 0x3d2c]
shr edx, cl
and edx, 0x7fff
mov edi, edx
cmp edi, eax
jae 0x1009fa18
mov ecx, dword [esp + 0x18]
xor eax, eax
shr edi, 7
mov ax, word [ebp + edi*2 + 0x84]
mov edi, dword [esp + 0x14]
mov edx, eax
and edx, 0xf
add ecx, edx
mov edx, ecx
and ecx, 7
shr edx, 3
sub edi, edx
mov dword [esp + 0x18], ecx
shr eax, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
jmp 0x1009fa77
mov eax, dword [ebp + 0x24]
add ebp, 0x24
mov ecx, 9
cmp edi, eax
mov dword [esp + 0x10], ecx
jb 0x1009fa3c
mov eax, ebp
mov edx, dword [eax + 4]
add eax, 4
inc ecx
cmp edi, edx
jae 0x1009fa2d
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.100a0400
mov eax, dword [esp + 0x10]
lea ebp, [esi + 0x3d2c]
mov ecx, dword [ebp + eax*4 - 4]
sub edi, ecx
mov ecx, 0xf
sub ecx, eax
shr edi, cl
mov ecx, dword [ebp + eax*4 + 0x44]
add edi, ecx
xor eax, eax
mov ax, word [ebp + edi*2 + 0x284]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + eax*4 + 0x4024]
inc ecx
mov dword [esi + eax*4 + 0x4024], ecx
mov eax, dword [esi + 0x401c]
dec eax
mov dword [esi + 0x401c], eax
jne 0x1009faf4
mov ecx, dword [ebp + 0x2f4]
push 0xf
lea edx, [esp + 0xb0]
lea edi, [ebp + 0x2f8]
push ecx
push edx
lea edx, [esp + 0x1f0]
mov ecx, edi
call fcn.100b5200
mov eax, dword [ebp + 0x2f4]
lea ecx, [esp + 0xac]
push eax
push ecx
mov ecx, ebp
call fcn.100a0820
mov dword [ebp + 0x2f0], 0x200
mov ebp, dword [ebp + 0x2f4]
test ebp, ebp
jbe 0x1009faf4
mov eax, edi
mov edx, dword [eax]
add eax, 4
shr edx, 1
inc edx
dec ebp
mov dword [eax - 4], edx
jne 0x1009fae6
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
cmp edx, ebp
jb 0x100a03e7
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [edi*4 + 0x100f8630]
mov cl, byte [edi + 0x100e3890]
mov dword [esp + 0x10], eax
mov eax, edx
mov edi, ecx
sub eax, ebp
shr edi, 3
cmp eax, edi
jb 0x100a03e7
mov eax, dword [esp + 0x18]
mov ebp, 1
mov edi, dword [edx - 4]
add eax, ecx
shl ebp, cl
dec ebp
cmp eax, 0x20
jbe 0x1009fb5a
mov cl, 0x28
xor ebx, ebx
mov bl, byte [edx - 5]
sub cl, al
shr ebx, cl
lea ecx, [eax - 0x20]
shl edi, cl
or edi, ebx
mov ebx, dword [esp + 0x1c]
jmp 0x1009fb63
mov ecx, 0x20
sub ecx, eax
shr edi, cl
mov ecx, eax
and eax, 7
shr ecx, 3
sub edx, ecx
mov ecx, dword [esp + 0x27e4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
and edi, ebp
sub ecx, eax
add edx, edi
cmp edx, ecx
ja 0x100a03e7
cmp ebx, eax
ja 0x100a03e7
mov ecx, dword [esp + 0x27e0]
lea edi, [eax + ecx]
mov ecx, edi
sub ecx, ebx
add eax, edx
mov dword [esi], eax
mov al, byte [ecx]
mov byte [edi], al
inc edi
inc ecx
dec edx
jne 0x1009fbaa
mov dword [esp + 0x1c], 1
jmp 0x100a0382
cmp edx, 0x40
jne 0x1009fbce
mov edx, 0x3f
mov dword [esp + 0x10], edx
mov ebp, dword [esp + 0x20]
cmp ebp, 0xffff
ja 0x1009fbfa
mov ecx, dword [esp + 0x28]
xor edx, edx
shl ebx, 0x10
mov dx, word [ecx]
shl ebp, 0x10
or ebx, edx
mov edx, dword [esp + 0x10]
add ecx, 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov ecx, ebp
shr ecx, 6
imul ecx, edx
cmp ebx, ecx
jae 0x1009fc9b
mov dword [esi + 0x4c], eax
mov edx, dword [edi + 0xc]
mov ebx, dword [edi]
mov eax, dword [edi + 8]
mov dword [esp + 0x20], ecx
mov ecx, edx
shr ecx, 0x1f
add ebx, ecx
mov ecx, 1
mov dword [edi], ebx
call fcn.100ce2e0
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov ebx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov ah, byte [ebx - 1]
mov cl, byte [ebx - 3]
mov al, byte [ebx - 2]
lea ebp, [esi + 0x40fc]
shl eax, 8
or eax, ecx
mov ecx, 9
sub ecx, edx
shr eax, cl
and eax, 0x7fff
mov edi, eax
mov eax, dword [ebp + 0x18]
cmp edi, eax
jae 0x1009fcdf
shr edi, 9
xor eax, eax
mov ax, word [ebp + edi*2 + 0x84]
mov ecx, eax
and ecx, 0xf
add edx, ecx
mov ecx, edx
and edx, 7
shr ecx, 3
sub ebx, ecx
mov dword [esp + 0x18], edx
shr eax, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
jmp 0x1009fd31
sub ebp, ecx
sub ebx, ecx
or al, 1
push 1
mov ecx, edi
mov dword [esp + 0x28], ebx
mov dword [esi + 0x4c], eax
call fcn.100a0420
mov eax, dword [esi + 0x50]
mov edx, eax
and eax, 0x1f
shl edx, 4
shl eax, 1
lea edi, [edx + esi + 0x1358]
mov ecx, eax
mov edx, dword [edi]
test edx, edx
mov dword [esp + 0x10], edx
jne 0x1009ffa2
mov edx, 1
jmp 0x1009ffac
mov eax, dword [ebp + 0x1c]
add ebp, 0x1c
cmp edi, eax
mov ebx, 7
jb 0x1009fcfb
mov eax, ebp
mov ecx, dword [eax + 4]
add eax, 4
inc ebx
cmp edi, ecx
jae 0x1009fcf0
push ebx
lea ecx, [esp + 0x18]
call fcn.100a0400
mov ecx, dword [esi + ebx*4 + 0x40f8]
lea ebp, [esi + 0x40fc]
sub edi, ecx
mov ecx, 0xf
mov eax, dword [ebp + ebx*4 + 0x44]
sub ecx, ebx
shr edi, cl
add edi, eax
xor eax, eax
mov ax, word [ebp + edi*2 + 0x104]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + eax*4 + 0x4218]
inc ecx
mov dword [esi + eax*4 + 0x4218], ecx
mov eax, dword [esi + 0x4210]
dec eax
mov dword [esi + 0x4210], eax
jne 0x1009fda5
mov edx, dword [ebp + 0x118]
lea edi, [ebp + 0x11c]
push 0xf
lea eax, [esp + 0x38]
push edx
push eax
lea edx, [esp + 0x48]
mov ecx, edi
call fcn.100b5200
mov ecx, dword [ebp + 0x118]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, ebp
call fcn.100a0980
mov dword [ebp + 0x114], 0x200
mov ebp, dword [ebp + 0x118]
test ebp, ebp
jbe 0x1009fda5
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebp
mov dword [eax - 4], ecx
jne 0x1009fd97
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp ebx, eax
jb 0x100a03e7
xor eax, eax
xor edx, edx
mov ah, byte [ebx - 1]
mov dl, byte [ebx - 3]
mov al, byte [ebx - 2]
mov ecx, 9
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x18]
sub ecx, edx
lea edi, [esi + 0x4238]
shr eax, cl
mov ecx, dword [edi + 0x24]
and eax, 0x7fff
cmp eax, ecx
jae 0x1009fe13
shr eax, 6
xor ecx, ecx
mov cx, word [edi + eax*2 + 0x84]
mov eax, ecx
and eax, 0xf
add edx, eax
mov eax, edx
and edx, 7
shr eax, 3
sub ebx, eax
mov dword [esp + 0x18], edx
shr ecx, 4
mov dword [esp + 0x14], ebx
mov ebx, ecx
jmp 0x1009fe68
mov ecx, dword [edi + 0x28]
add edi, 0x28
cmp eax, ecx
mov ebp, 0xa
jb 0x1009fe2f
mov ecx, edi
mov edi, dword [ecx + 4]
add ecx, 4
inc ebp
cmp eax, edi
jae 0x1009fe24
add edx, ebp
lea edi, [esi + 0x4238]
mov ecx, edx
and edx, 7
shr ecx, 3
sub ebx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
mov ecx, dword [edi + ebp*4 - 4]
sub eax, ecx
mov ecx, 0xf
sub ecx, ebp
shr eax, cl
mov ecx, dword [edi + ebp*4 + 0x44]
add eax, ecx
xor ebx, ebx
mov bx, word [edi + eax*2 + 0x484]
mov ecx, dword [esi + ebx*4 + 0x4d04]
inc ecx
mov dword [esi + ebx*4 + 0x4d04], ecx
mov eax, dword [esi + 0x4cfc]
dec eax
mov dword [esi + 0x4cfc], eax
jne 0x1009fee5
mov edx, dword [edi + 0xac8]
lea ebp, [edi + 0xacc]
push 0xf
lea eax, [esp + 0x6e0]
push edx
push eax
lea edx, [esp + 0x1b64]
mov ecx, ebp
call fcn.100b5200
mov ecx, dword [edi + 0xac8]
lea edx, [esp + 0x6dc]
push ecx
push edx
mov ecx, edi
call fcn.100a06c0
mov dword [edi + 0xac4], 0x400
mov edi, dword [edi + 0xac8]
test edi, edi
jbe 0x1009fee5
mov eax, ebp
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec edi
mov dword [eax - 4], ecx
jne 0x1009fed7
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp ebp, eax
jb 0x100a03e7
xor ecx, ecx
mov edi, dword [ebx*4 + 0x100f8708]
mov cl, byte [ebx + 0x100f8310]
mov edx, ebp
sub edx, eax
mov eax, ecx
shr eax, 3
cmp edx, eax
jb 0x100a03e7
mov edx, dword [esp + 0x18]
mov ebx, 1
shl ebx, cl
lea eax, [edx + ecx]
mov edx, dword [ebp - 4]
dec ebx
cmp eax, 0x20
mov dword [esp + 0x10], ebx
jbe 0x1009ff48
mov cl, 0x28
xor ebx, ebx
mov bl, byte [ebp - 5]
sub cl, al
shr ebx, cl
lea ecx, [eax - 0x20]
shl edx, cl
or edx, ebx
mov ebx, dword [esp + 0x10]
jmp 0x1009ff51
mov ecx, 0x20
sub ecx, eax
shr edx, cl
mov ecx, eax
and edx, ebx
shr ecx, 3
add edi, edx
mov edx, dword [esi + 0x28]
sub ebp, ecx
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [esi + 0x34], ecx
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x28], edx
mov edx, dword [esi + 0x18]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x1c]
xor edx, edx
xor ebx, ebx
and eax, 7
or edx, edi
or ecx, ebx
mov dword [esi + 0x18], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esi + 0x1c], ecx
jmp 0x100a0171
cmp edx, 0x40
jne 0x1009ffb0
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x1009ffd8
mov eax, dword [esp + 0x28]
xor edx, edx
shl ebx, 0x10
mov dx, word [eax]
shl ebp, 0x10
or ebx, edx
mov edx, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov eax, ebp
shr eax, 6
imul eax, edx
cmp ebx, eax
jae 0x100a0024
mov dword [esi + 0x50], ecx
mov edx, dword [edi + 0xc]
mov ebx, dword [edi]
mov ecx, edx
shr ecx, 0x1f
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
add ebx, ecx
mov ecx, 1
mov dword [edi], ebx
call fcn.100ce2e0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 2
mov dword [edi + 0xc], edx
jne 0x100a0153
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
jmp 0x100a0141
or ecx, 1
sub ebp, eax
mov dword [esi + 0x50], ecx
mov edx, dword [edi + 0xc]
mov ecx, edx
sub ebx, eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], ebx
shr ecx, 0x1f
dec ecx
add dword [edi], ecx
mov ecx, 1
call fcn.100ce2e0
or al, 1
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x54]
mov ecx, eax
and eax, 0x1f
shl ecx, 4
shl eax, 1
mov edx, dword [ecx + esi + 0x1758]
lea edi, [ecx + esi + 0x1758]
test edx, edx
mov ecx, eax
mov dword [esp + 0x10], edx
jne 0x100a007e
mov edx, 1
jmp 0x100a0088
cmp edx, 0x40
jne 0x100a008c
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x100a00b4
mov eax, dword [esp + 0x28]
xor edx, edx
shl ebx, 0x10
mov dx, word [eax]
shl ebp, 0x10
or ebx, edx
mov edx, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov eax, ebp
shr eax, 6
imul eax, edx
cmp ebx, eax
jae 0x100a00f9
mov dword [esi + 0x54], ecx
mov edx, dword [edi + 0xc]
mov ebx, dword [edi]
mov ecx, edx
shr ecx, 0x1f
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
add ebx, ecx
mov ecx, 1
mov dword [edi], ebx
call fcn.100ce2e0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 2
mov dword [edi + 0xc], edx
je 0x100a011b
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
jmp 0x100a0141
or ecx, 1
sub ebp, eax
sub ebx, eax
mov dword [esi + 0x54], ecx
push 1
mov ecx, edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
call fcn.100a0420
cmp dword [esp + 0x1c], 2
je 0x100a0123
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
jmp 0x100a0135
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x34], edx
mov edx, dword [esi + 0x20]
mov dword [esi + 0x28], edx
mov edx, dword [esi + 0x24]
mov dword [esi + 0x2c], edx
mov edx, dword [esi + 0x18]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], edx
mov dword [esi + 0x1c], ecx
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov ecx, 0x20
mov eax, edi
call fcn.100ce240
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dh, byte [ebp - 1]
lea ebx, [esi + 0x3d2c]
mov dl, byte [ebp - 2]
shl edi, cl
xor ecx, ecx
mov cl, byte [ebp - 3]
shl edx, 8
or edx, ecx
mov ecx, 9
sub ecx, eax
mov dword [esp + 0x2c], edi
shr edx, cl
mov ecx, dword [ebx + 0x20]
and edx, 0x7fff
mov edi, edx
cmp edi, ecx
jae 0x100a01d8
shr edi, 7
xor ecx, ecx
mov cx, word [ebx + edi*2 + 0x84]
mov edx, ecx
and edx, 0xf
add eax, edx
mov edx, eax
and eax, 7
shr edx, 3
sub ebp, edx
mov dword [esp + 0x18], eax
shr ecx, 4
mov dword [esp + 0x14], ebp
mov ebp, ecx
jmp 0x100a0224
mov ecx, dword [ebx + 0x24]
lea eax, [ebx + 0x24]
cmp edi, ecx
mov ebp, 9
jb 0x100a01f2
mov ecx, dword [eax + 4]
add eax, 4
inc ebp
cmp edi, ecx
jae 0x100a01e7
push ebp
lea ecx, [esp + 0x18]
call fcn.100a0400
mov ecx, dword [esi + ebp*4 + 0x3d28]
lea ebx, [esi + 0x3d2c]
sub edi, ecx
mov ecx, 0xf
mov eax, dword [ebx + ebp*4 + 0x44]
sub ecx, ebp
shr edi, cl
add edi, eax
xor ebp, ebp
mov bp, word [ebx + edi*2 + 0x284]
mov ecx, dword [esi + ebp*4 + 0x4024]
inc ecx
mov dword [esi + ebp*4 + 0x4024], ecx
mov eax, dword [esi + 0x401c]
dec eax
mov dword [esi + 0x401c], eax
jne 0x100a029b
mov eax, dword [ebx + 0x2f4]
push 0xf
lea ecx, [esp + 0x78]
lea edi, [ebx + 0x2f8]
push eax
push ecx
lea edx, [esp + 0xf0]
mov ecx, edi
call fcn.100b5200
mov edx, dword [ebx + 0x2f4]
lea eax, [esp + 0x74]
push edx
push eax
mov ecx, ebx
call fcn.100a0820
mov dword [ebx + 0x2f0], 0x200
mov ebx, dword [ebx + 0x2f4]
test ebx, ebx
jbe 0x100a029b
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebx
mov dword [eax - 4], ecx
jne 0x100a028d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp edx, eax
jb 0x100a03e7
mov ecx, dword [ebp*4 + 0x100f8630]
mov edi, edx
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov cl, byte [ebp + 0x100e3890]
sub edi, eax
mov eax, ecx
shr eax, 3
cmp edi, eax
jb 0x100a03e7
mov eax, dword [esp + 0x18]
mov ebp, 1
mov edi, dword [edx - 4]
add eax, ecx
shl ebp, cl
dec ebp
cmp eax, 0x20
jbe 0x100a02f9
mov cl, 0x28
xor ebx, ebx
mov bl, byte [edx - 5]
sub cl, al
shr ebx, cl
lea ecx, [eax - 0x20]
shl edi, cl
or edi, ebx
jmp 0x100a0302
mov ecx, 0x20
sub ecx, eax
shr edi, cl
mov ecx, eax
mov ebx, dword [esi]
shr ecx, 3
sub edx, ecx
and edi, ebp
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add edx, edi
and eax, 7
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x27e4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
sub edx, ebx
cmp eax, edx
ja 0x100a03e7
mov ebp, dword [esp + 0x2c]
cmp ebp, ebx
ja 0x100a03e7
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x27e0]
mov edx, 1
mov eax, ebx
shl edx, cl
sub eax, edx
add eax, edi
mov edi, eax
sub edi, ebp
mov ebp, dword [esp + 0x10]
add ebx, ebp
mov dword [esi], ebx
mov cl, byte [edi + edx]
mov bl, byte [edi]
sub cl, bl
mov bl, byte [eax]
add cl, bl
inc edi
mov byte [eax + edx], cl
inc eax
dec ebp
jne 0x100a0367
mov dword [esp + 0x1c], 2
mov edx, dword [esp + 0x27e4]
mov eax, dword [esi]
cmp eax, edx
jb 0x1009f1ec
cmp dword [esp + 0x20], 0xffff
ja 0x100a03ba
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
xor edx, edx
mov dx, word [ecx]
shl eax, 0x10
or eax, edx
add ecx, 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x100a03e7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
ja 0x100a03e7
jne 0x100a03d8
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x100a03e7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x27c4
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x27c4
ret 0x10