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

Disassembly:
mov eax, 0x27c4
call fcn.100d0570
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 0x100a146d
test bl, 1
jne 0x100a146d
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 0x100a146d
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 0x1009ffaf
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 0x1009ffbf
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 0x1009ffe0
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 0x1009fffd
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 0x100a0024
add edi, 4
dec ebp
jne 0x100a001d
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 0x100a0051
add edi, 4
dec ebp
jne 0x100a004a
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.100b65f0
mov edx, dword [ebp + 0x688]
lea eax, [esp + 0xe4]
push edx
push eax
mov ecx, ebp
call fcn.100a1740
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.100b65f0
mov eax, dword [ebp + 0x2f4]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, ebp
call fcn.100a18a0
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.100b65f0
mov ecx, dword [ebp + 0x118]
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, ebp
call fcn.100a1a00
mov ecx, dword [esp + 0x27e4]
call fcn.100a14e0
mov ebp, eax
cmp ebp, 2
jae 0x100a018f
mov ebp, 2
lea ebx, [esi + 0x25e4]
test ebp, ebp
mov dword [ebx + 0xac4], 0x400
mov dword [ebx + 0xac8], ebp
jbe 0x100a01b8
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.100b65f0
mov edx, dword [ebx + 0xac8]
lea eax, [esp + 0x2bc]
push edx
push eax
mov ecx, ebx
call fcn.100a1740
lea ebx, [esi + 0x4238]
test ebp, ebp
mov dword [ebx + 0xac4], 0x400
mov dword [ebx + 0xac8], ebp
jbe 0x100a021a
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.100b65f0
mov eax, dword [ebx + 0xac8]
lea ecx, [esp + 0x2bc]
push eax
push ecx
mov ecx, ebx
call fcn.100a1740
mov edx, dword [esp + 0x27e4]
mov eax, dword [esi]
cmp eax, edx
mov dword [esp + 0x1c], 0
jae 0x100a1440
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 0x100a028e
mov edx, 1
jmp 0x100a0298
cmp edx, 0x40
jne 0x100a0298
mov edx, 0x3f
mov ebp, dword [esp + 0x20]
cmp ebp, 0xffff
ja 0x100a02ce
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 0x100a02d2
mov ebx, dword [esp + 0x24]
mov eax, ebp
shr eax, 6
imul eax, edx
cmp ebx, eax
jae 0x100a0373
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.100d03d0
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 0x100a03d2
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 0x100a0427
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.100d03d0
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 0x100a04d2
mov ecx, 1
jmp 0x100a04dc
mov ecx, dword [edi + 0x28]
add edi, 0x28
cmp eax, ecx
mov ebp, 0xa
jb 0x100a03ee
mov ecx, edi
mov edi, dword [ecx + 4]
add ecx, 4
inc ebp
cmp eax, edi
jae 0x100a03e3
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 0x100a04a4
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.100b65f0
mov ecx, dword [edi + 0x688]
lea edx, [esp + 0x5dc]
push ecx
push edx
mov ecx, edi
call fcn.100a1740
mov dword [edi + 0x684], 0x400
mov edi, dword [edi + 0x688]
test edi, edi
jbe 0x100a04a4
mov eax, ebp
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec edi
mov dword [eax - 4], ecx
jne 0x100a0496
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp eax, edx
jb 0x100a146d
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 0x100a1408
cmp ecx, 0x40
jne 0x100a04dc
mov ecx, 0x3f
cmp ebp, 0xffff
ja 0x100a0504
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 0x100a055c
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.100d03d0
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 0x100a05c6
mov edx, 1
jmp 0x100a05d0
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.100d03d0
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 0x100a0c40
mov edx, 1
jmp 0x100a0c4a
cmp edx, 0x40
jne 0x100a05d0
mov edx, 0x3f
cmp ebp, 0xffff
ja 0x100a05f8
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 0x100a069d
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.100d03d0
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 0x100a06fc
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 0x100a074a
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.100d03d0
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 0x100a086b
mov edx, 1
jmp 0x100a0875
mov eax, dword [ebp + 0x28]
add ebp, 0x28
cmp edi, eax
mov ebx, 0xa
jb 0x100a0718
mov eax, ebp
mov ecx, dword [eax + 4]
add eax, 4
inc ebx
cmp edi, ecx
jae 0x100a070d
push ebx
lea ecx, [esp + 0x18]
call fcn.100a1480
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 0x100a07c7
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.100b65f0
mov ecx, dword [ebp + 0xac8]
lea edx, [esp + 0x2bc]
push ecx
push edx
mov ecx, ebp
call fcn.100a1740
mov dword [ebp + 0xac4], 0x400
mov ebp, dword [ebp + 0xac8]
test ebp, ebp
jbe 0x100a07c7
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebp
mov dword [eax - 4], ecx
jne 0x100a07b9
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp edi, eax
jb 0x100a146d
xor ecx, ecx
mov edx, edi
mov cl, byte [ebx + 0x100fa338]
mov ebx, dword [ebx*4 + 0x100fa730]
sub edx, eax
mov eax, ecx
shr eax, 3
cmp edx, eax
jb 0x100a146d
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 0x100a082d
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 0x100a0836
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 0x100a0a23
cmp edx, 0x40
jne 0x100a0879
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x100a08a1
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 0x100a08ee
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.100d03d0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov dword [edi + 0xc], edx
je 0x100a09bb
mov ebx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
jmp 0x100a0a26
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.100d03d0
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 0x100a0948
mov edx, 1
jmp 0x100a0952
cmp edx, 0x40
jne 0x100a0956
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x100a097e
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 0x100a09ca
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.100d03d0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov dword [edi + 0xc], edx
je 0x100a09f5
mov ebx, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
mov dword [esi + 8], edx
jmp 0x100a0a23
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.100a14a0
cmp dword [esp + 0x1c], 1
je 0x100a0a0a
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x1c], ebx
jmp 0x100a0a17
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 0x100a0a23
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 0x100a0a98
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 0x100a0af7
mov eax, dword [ebp + 0x24]
add ebp, 0x24
mov ecx, 9
cmp edi, eax
mov dword [esp + 0x10], ecx
jb 0x100a0abc
mov eax, ebp
mov edx, dword [eax + 4]
add eax, 4
inc ecx
cmp edi, edx
jae 0x100a0aad
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.100a1480
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 0x100a0b74
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.100b65f0
mov eax, dword [ebp + 0x2f4]
lea ecx, [esp + 0xac]
push eax
push ecx
mov ecx, ebp
call fcn.100a18a0
mov dword [ebp + 0x2f0], 0x200
mov ebp, dword [ebp + 0x2f4]
test ebp, ebp
jbe 0x100a0b74
mov eax, edi
mov edx, dword [eax]
add eax, 4
shr edx, 1
inc edx
dec ebp
mov dword [eax - 4], edx
jne 0x100a0b66
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
cmp edx, ebp
jb 0x100a146d
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [edi*4 + 0x100fa658]
mov cl, byte [edi + 0x100e5a40]
mov dword [esp + 0x10], eax
mov eax, edx
mov edi, ecx
sub eax, ebp
shr edi, 3
cmp eax, edi
jb 0x100a146d
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 0x100a0bda
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 0x100a0be3
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 0x100a146d
cmp ebx, eax
ja 0x100a146d
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 0x100a0c2a
mov dword [esp + 0x1c], 1
jmp 0x100a1408
cmp edx, 0x40
jne 0x100a0c4e
mov edx, 0x3f
mov dword [esp + 0x10], edx
mov ebp, dword [esp + 0x20]
cmp ebp, 0xffff
ja 0x100a0c7a
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 0x100a0d1b
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.100d03d0
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 0x100a0d5f
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 0x100a0db1
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.100a14a0
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 0x100a1022
mov edx, 1
jmp 0x100a102c
mov eax, dword [ebp + 0x1c]
add ebp, 0x1c
cmp edi, eax
mov ebx, 7
jb 0x100a0d7b
mov eax, ebp
mov ecx, dword [eax + 4]
add eax, 4
inc ebx
cmp edi, ecx
jae 0x100a0d70
push ebx
lea ecx, [esp + 0x18]
call fcn.100a1480
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 0x100a0e25
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.100b65f0
mov ecx, dword [ebp + 0x118]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, ebp
call fcn.100a1a00
mov dword [ebp + 0x114], 0x200
mov ebp, dword [ebp + 0x118]
test ebp, ebp
jbe 0x100a0e25
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebp
mov dword [eax - 4], ecx
jne 0x100a0e17
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp ebx, eax
jb 0x100a146d
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 0x100a0e93
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 0x100a0ee8
mov ecx, dword [edi + 0x28]
add edi, 0x28
cmp eax, ecx
mov ebp, 0xa
jb 0x100a0eaf
mov ecx, edi
mov edi, dword [ecx + 4]
add ecx, 4
inc ebp
cmp eax, edi
jae 0x100a0ea4
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 0x100a0f65
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.100b65f0
mov ecx, dword [edi + 0xac8]
lea edx, [esp + 0x6dc]
push ecx
push edx
mov ecx, edi
call fcn.100a1740
mov dword [edi + 0xac4], 0x400
mov edi, dword [edi + 0xac8]
test edi, edi
jbe 0x100a0f65
mov eax, ebp
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec edi
mov dword [eax - 4], ecx
jne 0x100a0f57
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp ebp, eax
jb 0x100a146d
xor ecx, ecx
mov edi, dword [ebx*4 + 0x100fa730]
mov cl, byte [ebx + 0x100fa338]
mov edx, ebp
sub edx, eax
mov eax, ecx
shr eax, 3
cmp edx, eax
jb 0x100a146d
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 0x100a0fc8
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 0x100a0fd1
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 0x100a11f1
cmp edx, 0x40
jne 0x100a1030
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x100a1058
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 0x100a10a4
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.100d03d0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 2
mov dword [edi + 0xc], edx
jne 0x100a11d3
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
jmp 0x100a11c1
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.100d03d0
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 0x100a10fe
mov edx, 1
jmp 0x100a1108
cmp edx, 0x40
jne 0x100a110c
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x100a1134
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 0x100a1179
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.100d03d0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 2
mov dword [edi + 0xc], edx
je 0x100a119b
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
jmp 0x100a11c1
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.100a14a0
cmp dword [esp + 0x1c], 2
je 0x100a11a3
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
jmp 0x100a11b5
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.100d0340
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 0x100a1258
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 0x100a12a4
mov ecx, dword [ebx + 0x24]
lea eax, [ebx + 0x24]
cmp edi, ecx
mov ebp, 9
jb 0x100a1272
mov ecx, dword [eax + 4]
add eax, 4
inc ebp
cmp edi, ecx
jae 0x100a1267
push ebp
lea ecx, [esp + 0x18]
call fcn.100a1480
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 0x100a131b
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.100b65f0
mov edx, dword [ebx + 0x2f4]
lea eax, [esp + 0x74]
push edx
push eax
mov ecx, ebx
call fcn.100a18a0
mov dword [ebx + 0x2f0], 0x200
mov ebx, dword [ebx + 0x2f4]
test ebx, ebx
jbe 0x100a131b
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebx
mov dword [eax - 4], ecx
jne 0x100a130d
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
cmp edx, edi
jb 0x100a146d
mov ebx, dword [ebp*4 + 0x100fa658]
xor ecx, ecx
mov cl, byte [ebp + 0x100e5a40]
mov eax, edx
sub eax, edi
mov edi, ecx
shr edi, 3
cmp eax, edi
mov dword [esp + 0x2c], ebx
jb 0x100a146d
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 0x100a137d
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 0x100a1386
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 0x100a146d
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 0x100a146d
jb 0x100a13d8
cmp ecx, ebp
ja 0x100a146d
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 0x100a13f1
mov dword [esp + 0x1c], 2
mov edx, dword [esp + 0x27e4]
mov eax, dword [esi]
cmp eax, edx
jb 0x100a026c
cmp dword [esp + 0x20], 0xffff
ja 0x100a1440
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 0x100a146d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
ja 0x100a146d
jne 0x100a145e
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x100a146d
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