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

Disassembly:
mov eax, 0x27c4
call fcn.100d1eb0
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 0x100a26bd
test bl, 1
jne 0x100a26bd
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 0x100a26bd
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 0x100a11ff
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 0x100a120f
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 0x100a1230
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 0x100a124d
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 0x100a1274
add edi, 4
dec ebp
jne 0x100a126d
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 0x100a12a1
add edi, 4
dec ebp
jne 0x100a129a
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.100b7960
mov edx, dword [ebp + 0x688]
lea eax, [esp + 0xe4]
push edx
push eax
mov ecx, ebp
call fcn.100a2990
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.100b7960
mov eax, dword [ebp + 0x2f4]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, ebp
call fcn.100a2af0
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.100b7960
mov ecx, dword [ebp + 0x118]
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, ebp
call fcn.100a2c50
mov ecx, dword [esp + 0x27e4]
call fcn.100a2730
mov ebp, eax
cmp ebp, 2
jae 0x100a13df
mov ebp, 2
lea ebx, [esi + 0x25e4]
test ebp, ebp
mov dword [ebx + 0xac4], 0x400
mov dword [ebx + 0xac8], ebp
jbe 0x100a1408
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.100b7960
mov edx, dword [ebx + 0xac8]
lea eax, [esp + 0x2bc]
push edx
push eax
mov ecx, ebx
call fcn.100a2990
lea ebx, [esi + 0x4238]
test ebp, ebp
mov dword [ebx + 0xac4], 0x400
mov dword [ebx + 0xac8], ebp
jbe 0x100a146a
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.100b7960
mov eax, dword [ebx + 0xac8]
lea ecx, [esp + 0x2bc]
push eax
push ecx
mov ecx, ebx
call fcn.100a2990
mov edx, dword [esp + 0x27e4]
mov eax, dword [esi]
cmp eax, edx
mov dword [esp + 0x1c], 0
jae 0x100a2690
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 0x100a14de
mov edx, 1
jmp 0x100a14e8
cmp edx, 0x40
jne 0x100a14e8
mov edx, 0x3f
mov ebp, dword [esp + 0x20]
cmp ebp, 0xffff
ja 0x100a151e
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 0x100a1522
mov ebx, dword [esp + 0x24]
mov eax, ebp
shr eax, 6
imul eax, edx
cmp ebx, eax
jae 0x100a15c3
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.100d1d10
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 0x100a1622
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 0x100a1677
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.100d1d10
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 0x100a1722
mov ecx, 1
jmp 0x100a172c
mov ecx, dword [edi + 0x28]
add edi, 0x28
cmp eax, ecx
mov ebp, 0xa
jb 0x100a163e
mov ecx, edi
mov edi, dword [ecx + 4]
add ecx, 4
inc ebp
cmp eax, edi
jae 0x100a1633
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 0x100a16f4
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.100b7960
mov ecx, dword [edi + 0x688]
lea edx, [esp + 0x5dc]
push ecx
push edx
mov ecx, edi
call fcn.100a2990
mov dword [edi + 0x684], 0x400
mov edi, dword [edi + 0x688]
test edi, edi
jbe 0x100a16f4
mov eax, ebp
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec edi
mov dword [eax - 4], ecx
jne 0x100a16e6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp eax, edx
jb 0x100a26bd
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 0x100a2658
cmp ecx, 0x40
jne 0x100a172c
mov ecx, 0x3f
cmp ebp, 0xffff
ja 0x100a1754
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 0x100a17ac
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.100d1d10
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 0x100a1816
mov edx, 1
jmp 0x100a1820
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.100d1d10
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 0x100a1e90
mov edx, 1
jmp 0x100a1e9a
cmp edx, 0x40
jne 0x100a1820
mov edx, 0x3f
cmp ebp, 0xffff
ja 0x100a1848
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 0x100a18ed
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.100d1d10
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 0x100a194c
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 0x100a199a
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.100d1d10
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 0x100a1abb
mov edx, 1
jmp 0x100a1ac5
mov eax, dword [ebp + 0x28]
add ebp, 0x28
cmp edi, eax
mov ebx, 0xa
jb 0x100a1968
mov eax, ebp
mov ecx, dword [eax + 4]
add eax, 4
inc ebx
cmp edi, ecx
jae 0x100a195d
push ebx
lea ecx, [esp + 0x18]
call fcn.100a26d0
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 0x100a1a17
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.100b7960
mov ecx, dword [ebp + 0xac8]
lea edx, [esp + 0x2bc]
push ecx
push edx
mov ecx, ebp
call fcn.100a2990
mov dword [ebp + 0xac4], 0x400
mov ebp, dword [ebp + 0xac8]
test ebp, ebp
jbe 0x100a1a17
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebp
mov dword [eax - 4], ecx
jne 0x100a1a09
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp edi, eax
jb 0x100a26bd
xor ecx, ecx
mov edx, edi
mov cl, byte [ebx + 0x100fc320]
mov ebx, dword [ebx*4 + 0x100fc718]
sub edx, eax
mov eax, ecx
shr eax, 3
cmp edx, eax
jb 0x100a26bd
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 0x100a1a7d
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 0x100a1a86
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 0x100a1c73
cmp edx, 0x40
jne 0x100a1ac9
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x100a1af1
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 0x100a1b3e
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.100d1d10
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov dword [edi + 0xc], edx
je 0x100a1c0b
mov ebx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
jmp 0x100a1c76
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.100d1d10
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 0x100a1b98
mov edx, 1
jmp 0x100a1ba2
cmp edx, 0x40
jne 0x100a1ba6
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x100a1bce
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 0x100a1c1a
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.100d1d10
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov dword [edi + 0xc], edx
je 0x100a1c45
mov ebx, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
mov dword [esi + 8], edx
jmp 0x100a1c73
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.100a26f0
cmp dword [esp + 0x1c], 1
je 0x100a1c5a
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x1c], ebx
jmp 0x100a1c67
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 0x100a1c73
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 0x100a1ce8
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 0x100a1d47
mov eax, dword [ebp + 0x24]
add ebp, 0x24
mov ecx, 9
cmp edi, eax
mov dword [esp + 0x10], ecx
jb 0x100a1d0c
mov eax, ebp
mov edx, dword [eax + 4]
add eax, 4
inc ecx
cmp edi, edx
jae 0x100a1cfd
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.100a26d0
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 0x100a1dc4
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.100b7960
mov eax, dword [ebp + 0x2f4]
lea ecx, [esp + 0xac]
push eax
push ecx
mov ecx, ebp
call fcn.100a2af0
mov dword [ebp + 0x2f0], 0x200
mov ebp, dword [ebp + 0x2f4]
test ebp, ebp
jbe 0x100a1dc4
mov eax, edi
mov edx, dword [eax]
add eax, 4
shr edx, 1
inc edx
dec ebp
mov dword [eax - 4], edx
jne 0x100a1db6
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
cmp edx, ebp
jb 0x100a26bd
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [edi*4 + 0x100fc640]
mov cl, byte [edi + 0x100e7b68]
mov dword [esp + 0x10], eax
mov eax, edx
mov edi, ecx
sub eax, ebp
shr edi, 3
cmp eax, edi
jb 0x100a26bd
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 0x100a1e2a
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 0x100a1e33
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 0x100a26bd
cmp ebx, eax
ja 0x100a26bd
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 0x100a1e7a
mov dword [esp + 0x1c], 1
jmp 0x100a2658
cmp edx, 0x40
jne 0x100a1e9e
mov edx, 0x3f
mov dword [esp + 0x10], edx
mov ebp, dword [esp + 0x20]
cmp ebp, 0xffff
ja 0x100a1eca
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 0x100a1f6b
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.100d1d10
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 0x100a1faf
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 0x100a2001
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.100a26f0
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 0x100a2272
mov edx, 1
jmp 0x100a227c
mov eax, dword [ebp + 0x1c]
add ebp, 0x1c
cmp edi, eax
mov ebx, 7
jb 0x100a1fcb
mov eax, ebp
mov ecx, dword [eax + 4]
add eax, 4
inc ebx
cmp edi, ecx
jae 0x100a1fc0
push ebx
lea ecx, [esp + 0x18]
call fcn.100a26d0
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 0x100a2075
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.100b7960
mov ecx, dword [ebp + 0x118]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, ebp
call fcn.100a2c50
mov dword [ebp + 0x114], 0x200
mov ebp, dword [ebp + 0x118]
test ebp, ebp
jbe 0x100a2075
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebp
mov dword [eax - 4], ecx
jne 0x100a2067
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp ebx, eax
jb 0x100a26bd
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 0x100a20e3
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 0x100a2138
mov ecx, dword [edi + 0x28]
add edi, 0x28
cmp eax, ecx
mov ebp, 0xa
jb 0x100a20ff
mov ecx, edi
mov edi, dword [ecx + 4]
add ecx, 4
inc ebp
cmp eax, edi
jae 0x100a20f4
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 0x100a21b5
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.100b7960
mov ecx, dword [edi + 0xac8]
lea edx, [esp + 0x6dc]
push ecx
push edx
mov ecx, edi
call fcn.100a2990
mov dword [edi + 0xac4], 0x400
mov edi, dword [edi + 0xac8]
test edi, edi
jbe 0x100a21b5
mov eax, ebp
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec edi
mov dword [eax - 4], ecx
jne 0x100a21a7
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp ebp, eax
jb 0x100a26bd
xor ecx, ecx
mov edi, dword [ebx*4 + 0x100fc718]
mov cl, byte [ebx + 0x100fc320]
mov edx, ebp
sub edx, eax
mov eax, ecx
shr eax, 3
cmp edx, eax
jb 0x100a26bd
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 0x100a2218
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 0x100a2221
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 0x100a2441
cmp edx, 0x40
jne 0x100a2280
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x100a22a8
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 0x100a22f4
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.100d1d10
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 2
mov dword [edi + 0xc], edx
jne 0x100a2423
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
jmp 0x100a2411
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.100d1d10
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 0x100a234e
mov edx, 1
jmp 0x100a2358
cmp edx, 0x40
jne 0x100a235c
mov edx, 0x3f
mov dword [esp + 0x10], edx
cmp ebp, 0xffff
ja 0x100a2384
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 0x100a23c9
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.100d1d10
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 2
mov dword [edi + 0xc], edx
je 0x100a23eb
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
jmp 0x100a2411
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.100a26f0
cmp dword [esp + 0x1c], 2
je 0x100a23f3
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
jmp 0x100a2405
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.100d1c70
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 0x100a24a8
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 0x100a24f4
mov ecx, dword [ebx + 0x24]
lea eax, [ebx + 0x24]
cmp edi, ecx
mov ebp, 9
jb 0x100a24c2
mov ecx, dword [eax + 4]
add eax, 4
inc ebp
cmp edi, ecx
jae 0x100a24b7
push ebp
lea ecx, [esp + 0x18]
call fcn.100a26d0
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 0x100a256b
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.100b7960
mov edx, dword [ebx + 0x2f4]
lea eax, [esp + 0x74]
push edx
push eax
mov ecx, ebx
call fcn.100a2af0
mov dword [ebx + 0x2f0], 0x200
mov ebx, dword [ebx + 0x2f4]
test ebx, ebx
jbe 0x100a256b
mov eax, edi
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
inc ecx
dec ebx
mov dword [eax - 4], ecx
jne 0x100a255d
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
cmp edx, edi
jb 0x100a26bd
mov ebx, dword [ebp*4 + 0x100fc640]
xor ecx, ecx
mov cl, byte [ebp + 0x100e7b68]
mov eax, edx
sub eax, edi
mov edi, ecx
shr edi, 3
cmp eax, edi
mov dword [esp + 0x2c], ebx
jb 0x100a26bd
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 0x100a25cd
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 0x100a25d6
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 0x100a26bd
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 0x100a26bd
jb 0x100a2628
cmp ecx, ebp
ja 0x100a26bd
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 0x100a2641
mov dword [esp + 0x1c], 2
mov edx, dword [esp + 0x27e4]
mov eax, dword [esi]
cmp eax, edx
jb 0x100a14bc
cmp dword [esp + 0x20], 0xffff
ja 0x100a2690
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 0x100a26bd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
ja 0x100a26bd
jne 0x100a26ae
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x100a26bd
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