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

Disassembly:
mov eax, 0x27c4
call fcn.100cf040
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 0x100a07ed
test bl, 1
jne 0x100a07ed
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 0x100a07ed
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 0x1009f32f
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 0x1009f33f
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 0x1009f360
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 0x1009f37d
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 0x1009f3a4
add edi, 4
dec ebp
jne 0x1009f39d
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 0x1009f3d1
add edi, 4
dec ebp
jne 0x1009f3ca
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.100b5630
mov edx, dword [ebp + 0x688]
lea eax, [esp + 0xe4]
push edx
push eax
mov ecx, ebp
call fcn.100a0ac0
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.100b5630
mov eax, dword [ebp + 0x2f4]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, ebp
call fcn.100a0c20
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.100b5630
mov ecx, dword [ebp + 0x118]
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, ebp
call fcn.100a0d80
mov ecx, dword [esp + 0x27e4]
call fcn.100a0860
mov ebp, eax
cmp ebp, 2
jae 0x1009f50f
mov ebp, 2
lea ebx, [esi + 0x25e4]
test ebp, ebp
mov dword [ebx + 0xac4], 0x400
mov dword [ebx + 0xac8], ebp
jbe 0x1009f538
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.100b5630
mov edx, dword [ebx + 0xac8]
lea eax, [esp + 0x2bc]
push edx
push eax
mov ecx, ebx
call fcn.100a0ac0
lea ebx, [esi + 0x4238]
test ebp, ebp
mov dword [ebx + 0xac4], 0x400
mov dword [ebx + 0xac8], ebp
jbe 0x1009f59a
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.100b5630
mov eax, dword [ebx + 0xac8]
lea ecx, [esp + 0x2bc]
push eax
push ecx
mov ecx, ebx
call fcn.100a0ac0
mov edx, dword [esp + 0x27e4]
mov eax, dword [esi]
cmp eax, edx
mov dword [esp + 0x1c], 0
jae 0x100a07c0
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 0x1009f60e
mov edx, 1
jmp 0x1009f618
cmp edx, 0x40
jne 0x1009f618
mov edx, 0x3f
mov ebp, dword [esp + 0x20]
cmp ebp, 0xffff
ja 0x1009f64e
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 0x1009f652
mov ebx, dword [esp + 0x24]
mov eax, ebp
shr eax, 6
imul eax, edx
cmp ebx, eax
jae 0x1009f6f3
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.100ceea0
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 0x1009f752
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 0x1009f7a7
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.100ceea0
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 0x1009f852
mov ecx, 1
jmp 0x1009f85c
mov ecx, dword [edi + 0x28]
add edi, 0x28
cmp eax, ecx
mov ebp, 0xa
jb 0x1009f76e
mov ecx, edi
mov edi, dword [ecx + 4]
add ecx, 4
inc ebp
cmp eax, edi
jae 0x1009f763
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 0x1009f824
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.100b5630
mov ecx, dword [edi + 0x688]
lea edx, [esp + 0x5dc]
push ecx
push edx
mov ecx, edi
call fcn.100a0ac0
mov dword [edi + 0x684], 0x400
mov edi, dword [edi + 0x688]
test edi, edi
jbe 0x1009f824
mov eax, ebp
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec edi
mov dword [eax - 4], ecx
jne 0x1009f816
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp eax, edx
jb 0x100a07ed
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 0x100a0788
cmp ecx, 0x40
jne 0x1009f85c
mov ecx, 0x3f
cmp ebp, 0xffff
ja 0x1009f884
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 0x1009f8dc
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.100ceea0
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 0x1009f946
mov edx, 1
jmp 0x1009f950
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.100ceea0
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 0x1009ffc0
mov edx, 1
jmp 0x1009ffca
cmp edx, 0x40
jne 0x1009f950
mov edx, 0x3f
cmp ebp, 0xffff
ja 0x1009f978
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 0x1009fa1d
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.100ceea0
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 0x1009fa7c
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 0x1009faca
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.100ceea0
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 0x1009fbeb
mov edx, 1
jmp 0x1009fbf5
mov eax, dword [ebp + 0x28]
add ebp, 0x28
cmp edi, eax
mov ebx, 0xa
jb 0x1009fa98
mov eax, ebp
mov ecx, dword [eax + 4]
add eax, 4
inc ebx
cmp edi, ecx
jae 0x1009fa8d
push ebx
lea ecx, [esp + 0x18]
call fcn.100a0800
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 0x1009fb47
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.100b5630
mov ecx, dword [ebp + 0xac8]
lea edx, [esp + 0x2bc]
push ecx
push edx
mov ecx, ebp
call fcn.100a0ac0
mov dword [ebp + 0xac4], 0x400
mov ebp, dword [ebp + 0xac8]
test ebp, ebp
jbe 0x1009fb47
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebp
mov dword [eax - 4], ecx
jne 0x1009fb39
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp edi, eax
jb 0x100a07ed
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 0x100a07ed
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 0x1009fbad
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 0x1009fbb6
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 0x1009fda3
cmp edx, 0x40
jne 0x1009fbf9
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x1009fc21
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 0x1009fc6e
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.100ceea0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov dword [edi + 0xc], edx
je 0x1009fd3b
mov ebx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
jmp 0x1009fda6
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.100ceea0
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 0x1009fcc8
mov edx, 1
jmp 0x1009fcd2
cmp edx, 0x40
jne 0x1009fcd6
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x1009fcfe
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 0x1009fd4a
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.100ceea0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov dword [edi + 0xc], edx
je 0x1009fd75
mov ebx, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
mov dword [esi + 8], edx
jmp 0x1009fda3
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.100a0820
cmp dword [esp + 0x1c], 1
je 0x1009fd8a
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x1c], ebx
jmp 0x1009fd97
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 0x1009fda3
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 0x1009fe18
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 0x1009fe77
mov eax, dword [ebp + 0x24]
add ebp, 0x24
mov ecx, 9
cmp edi, eax
mov dword [esp + 0x10], ecx
jb 0x1009fe3c
mov eax, ebp
mov edx, dword [eax + 4]
add eax, 4
inc ecx
cmp edi, edx
jae 0x1009fe2d
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.100a0800
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 0x1009fef4
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.100b5630
mov eax, dword [ebp + 0x2f4]
lea ecx, [esp + 0xac]
push eax
push ecx
mov ecx, ebp
call fcn.100a0c20
mov dword [ebp + 0x2f0], 0x200
mov ebp, dword [ebp + 0x2f4]
test ebp, ebp
jbe 0x1009fef4
mov eax, edi
mov edx, dword [eax]
add eax, 4
shr edx, 1
inc edx
dec ebp
mov dword [eax - 4], edx
jne 0x1009fee6
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
cmp edx, ebp
jb 0x100a07ed
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [edi*4 + 0x100f8630]
mov cl, byte [edi + 0x100e38a8]
mov dword [esp + 0x10], eax
mov eax, edx
mov edi, ecx
sub eax, ebp
shr edi, 3
cmp eax, edi
jb 0x100a07ed
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 0x1009ff5a
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 0x1009ff63
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 0x100a07ed
cmp ebx, eax
ja 0x100a07ed
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 0x1009ffaa
mov dword [esp + 0x1c], 1
jmp 0x100a0788
cmp edx, 0x40
jne 0x1009ffce
mov edx, 0x3f
mov dword [esp + 0x10], edx
mov ebp, dword [esp + 0x20]
cmp ebp, 0xffff
ja 0x1009fffa
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 0x100a009b
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.100ceea0
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 0x100a00df
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 0x100a0131
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.100a0820
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 0x100a03a2
mov edx, 1
jmp 0x100a03ac
mov eax, dword [ebp + 0x1c]
add ebp, 0x1c
cmp edi, eax
mov ebx, 7
jb 0x100a00fb
mov eax, ebp
mov ecx, dword [eax + 4]
add eax, 4
inc ebx
cmp edi, ecx
jae 0x100a00f0
push ebx
lea ecx, [esp + 0x18]
call fcn.100a0800
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 0x100a01a5
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.100b5630
mov ecx, dword [ebp + 0x118]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, ebp
call fcn.100a0d80
mov dword [ebp + 0x114], 0x200
mov ebp, dword [ebp + 0x118]
test ebp, ebp
jbe 0x100a01a5
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebp
mov dword [eax - 4], ecx
jne 0x100a0197
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp ebx, eax
jb 0x100a07ed
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 0x100a0213
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 0x100a0268
mov ecx, dword [edi + 0x28]
add edi, 0x28
cmp eax, ecx
mov ebp, 0xa
jb 0x100a022f
mov ecx, edi
mov edi, dword [ecx + 4]
add ecx, 4
inc ebp
cmp eax, edi
jae 0x100a0224
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 0x100a02e5
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.100b5630
mov ecx, dword [edi + 0xac8]
lea edx, [esp + 0x6dc]
push ecx
push edx
mov ecx, edi
call fcn.100a0ac0
mov dword [edi + 0xac4], 0x400
mov edi, dword [edi + 0xac8]
test edi, edi
jbe 0x100a02e5
mov eax, ebp
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec edi
mov dword [eax - 4], ecx
jne 0x100a02d7
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp ebp, eax
jb 0x100a07ed
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 0x100a07ed
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 0x100a0348
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 0x100a0351
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 0x100a0571
cmp edx, 0x40
jne 0x100a03b0
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x100a03d8
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 0x100a0424
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.100ceea0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 2
mov dword [edi + 0xc], edx
jne 0x100a0553
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
jmp 0x100a0541
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.100ceea0
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 0x100a047e
mov edx, 1
jmp 0x100a0488
cmp edx, 0x40
jne 0x100a048c
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x100a04b4
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 0x100a04f9
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.100ceea0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 2
mov dword [edi + 0xc], edx
je 0x100a051b
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
jmp 0x100a0541
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.100a0820
cmp dword [esp + 0x1c], 2
je 0x100a0523
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
jmp 0x100a0535
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.100cee10
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 + 0x10], edi
shr edx, cl
mov ecx, dword [ebx + 0x20]
and edx, 0x7fff
mov edi, edx
cmp edi, ecx
jae 0x100a05d8
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 0x100a0624
mov ecx, dword [ebx + 0x24]
lea eax, [ebx + 0x24]
cmp edi, ecx
mov ebp, 9
jb 0x100a05f2
mov ecx, dword [eax + 4]
add eax, 4
inc ebp
cmp edi, ecx
jae 0x100a05e7
push ebp
lea ecx, [esp + 0x18]
call fcn.100a0800
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 0x100a069b
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.100b5630
mov edx, dword [ebx + 0x2f4]
lea eax, [esp + 0x74]
push edx
push eax
mov ecx, ebx
call fcn.100a0c20
mov dword [ebx + 0x2f0], 0x200
mov ebx, dword [ebx + 0x2f4]
test ebx, ebx
jbe 0x100a069b
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebx
mov dword [eax - 4], ecx
jne 0x100a068d
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
cmp edx, edi
jb 0x100a07ed
mov ebx, dword [ebp*4 + 0x100f8630]
xor ecx, ecx
mov cl, byte [ebp + 0x100e38a8]
mov eax, edx
sub eax, edi
mov edi, ecx
shr edi, 3
cmp eax, edi
mov dword [esp + 0x2c], ebx
jb 0x100a07ed
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 0x100a06fd
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 + 0x2c]
jmp 0x100a0706
mov ecx, 0x20
sub ecx, eax
shr edi, cl
mov ecx, eax
and edi, ebp
mov ebp, dword [esi]
add ebx, edi
shr ecx, 3
sub edx, ecx
and eax, 7
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x27e4]
sub edx, ebp
mov dword [esp + 0x18], eax
cmp ebx, edx
ja 0x100a07ed
mov ecx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
xor eax, eax
xor edi, edi
mov ecx, edx
add ecx, dword [esp + 0x10]
adc eax, edi
cmp eax, edi
ja 0x100a07ed
jb 0x100a0758
cmp ecx, ebp
ja 0x100a07ed
mov edi, dword [esp + 0x27e0]
mov ecx, dword [esp + 0x10]
mov eax, ebp
sub eax, edx
add eax, edi
mov edi, eax
sub edi, ecx
add ebp, ebx
mov dword [esi], ebp
mov cl, byte [edi + edx]
sub cl, byte [edi]
add cl, byte [eax]
inc edi
mov byte [eax + edx], cl
inc eax
dec ebx
jne 0x100a0771
mov dword [esp + 0x1c], 2
mov edx, dword [esp + 0x27e4]
mov eax, dword [esi]
cmp eax, edx
jb 0x1009f5ec
cmp dword [esp + 0x20], 0xffff
ja 0x100a07c0
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 0x100a07ed
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
ja 0x100a07ed
jne 0x100a07de
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x100a07ed
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