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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x10583760]
xor eax, esp
mov dword [esp + 0x1b8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x10]
push esi
mov ebx, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], edx
mov edx, ebx
mov dword [esp + 0x64], ecx
mov ecx, dword [ebp + 0xc]
push edi
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0xa8], eax
call fcn.102268d0
add esp, 0xc
mov dword [esp + 0x94], eax
neg eax
sbb ecx, ecx
mov eax, dword [esp + 0x18]
and ecx, 4
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax], 0
cmp ebx, 4
jl 0x10222dea
cmp ecx, 4
jge 0x10222df1
mov dword [ebp + 0x1c], 0
push ecx
mov edx, ebx
mov ecx, eax
call fcn.102224b0
add esp, 4
test eax, eax
jne 0x10222e19
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.101f6477
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x94], 0
je 0x10222e28
call fcn.1022a210
cmp dword [ebp + 0x1c], 0
je 0x10222e85
call fcn.10226360
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
push eax
push esi
push edi
push dword [esp + 0x40]
call fcn.10225110
add esp, 0x10
test eax, eax
je 0x10222e02
cmp dword [esp + 0x94], 0
je 0x102245e5
mov eax, dword [esp + 0x18]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [esp + 0xa4]
push ebx
push esi
push dword [esp + 0x64]
call dword [0x1059fbcc]
add esp, 0x18
jmp 0x102245e5
mov eax, dword [esp + 0x18]
xor ebx, ebx
movss xmm1, dword [ebp + 0x18]
comiss xmm1, dword [0x103d79c0]
mov dword [esp + 0x14], ebx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
jbe 0x10222ed0
lea ecx, [esp + 0xd8]
call fcn.1022e250
lea ebx, [esp + 0xd8]
mov dword [esp + 0x14], ebx
call fcn.10226760
mov eax, dword [esp + 0x9c]
xor ecx, ecx
sar eax, 1
mov edi, 0x200
mov dword [esp + 0x5c], eax
test eax, eax
jle 0x10223ca4
mov edx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
mov eax, ecx
and ecx, 1
sar eax, 1
mov dword [esp + 0x48], ecx
lea edi, [ebx + edx]
mov dword [esp + 0x74], eax
mov dword [esp + 0xa0], edi
lea eax, [esi + esi]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], 0
lea ecx, [edi + esi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], ecx
lea ecx, [edx + esi]
mov dword [esp + 0xc8], ecx
mov ecx, esi
sub ecx, edx
mov esi, eax
mov dword [esp + 0x8c], ecx
mov ecx, esi
sub ecx, ebx
sub ebx, esi
mov dword [esp + 0x84], ecx
mov ecx, 4
sub ecx, edx
mov dword [esp + 0xa4], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x50]
sub ecx, esi
mov dword [esp + 0xd4], ecx
mov ecx, edi
sub ecx, esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x18]
nop dword [eax]
xor edi, edi
test ecx, ecx
jle 0x10223006
mov esi, dword [esp + 0xd0]
mov ecx, dword [esp + 0x60]
add esi, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], ecx
jmp 0x10222fd4
mov ecx, dword [esp + 0x1c]
movzx eax, byte [eax + esi]
movzx edx, byte [esi]
movzx ecx, byte [ecx + esi]
push ebx
push eax
call fcn.10226650
mov ecx, dword [esp + 0x54]
add esp, 8
mov edx, dword [ebp + 0x10]
add esi, edx
mov byte [edi + ecx], al
inc edi
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
cmp edi, ecx
jl 0x10222fd0
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
xor edi, edi
add eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
test ecx, ecx
jle 0x1022306b
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x1c], ecx
jmp 0x10223039
mov ecx, dword [esp + 0x1c]
movzx eax, byte [esi + eax]
movzx edx, byte [esi]
movzx ecx, byte [esi + ecx]
push ebx
push eax
call fcn.10226650
mov ecx, dword [esp + 0x44]
add esp, 8
mov edx, dword [ebp + 0x10]
add esi, edx
mov byte [edi + ecx], al
inc edi
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x6c]
cmp edi, ecx
jl 0x10223035
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x94], 0
mov edi, dword [esp + 0x4c]
mov eax, dword [esi + 0x1c]
lea edi, [edi + eax*2]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x30]
je 0x10223874
push dword [esi + 0x28]
mov eax, dword [esp + 0xd8]
push dword [esp + 0x2c]
mov esi, dword [ebp + 0x14]
add eax, edi
push 2
push ecx
push esi
push eax
mov dword [esp + 0x34], eax
call dword [0x1059fbcc]
mov ecx, dword [esp + 0x40]
add esp, 0x18
neg eax
sbb eax, eax
inc eax
and eax, dword [esp + 0x94]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x28]
lea ecx, [ecx + eax*2]
mov dword [esp + 0x28], ecx
je 0x10223871
mov eax, dword [esp + 0x10]
xor edi, edi
add eax, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x80], edi
cmp dword [esp + 0x74], edi
jle 0x102235d0
mov ecx, dword [esp + 0x30]
mov edi, ecx
mov ebx, dword [esp + 0xa4]
mov edx, dword [esp + 0x1c]
add ebx, ecx
mov eax, dword [esp + 0x38]
mov esi, edx
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0xb8]
sub edi, ebx
sub dword [esp + 0xbc], ebx
mov ebx, edx
sub ebx, dword [esp + 0xb8]
mov dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0xb0], edi
mov edi, ebx
sub edi, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa0]
sub ecx, edx
add eax, dword [esp + 0xcc]
sub ebx, edx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x38]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x54], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0xc4], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], ecx
nop dword [eax]
mov ecx, dword [ebp + 0x14]
mov edi, dword [esp + 0xc0]
lea edx, [esi + ecx]
movzx ebx, byte [edx]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x88], edx
movzx ebx, byte [edi + eax]
mov edi, dword [esp + 0x80]
mov dword [esp + 0xb4], ebx
movzx ebx, byte [esi]
mov dword [esp + 0x70], ebx
movzx ebx, byte [edx + 4]
add ebx, dword [esp + 0x40]
add ebx, dword [esp + 0x70]
add ebx, dword [esp + 0xb4]
cmp ebx, 0x3fc
je 0x102233dc
test ebx, ebx
je 0x102233dc
movzx eax, byte [ecx + eax]
movzx edi, byte [esi + ecx + 4]
mov ebx, dword [ebx*4 + 0x103c4da8]
mov dword [esp + 0xac], ebx
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0xc]
imul edx, edi
movzx eax, byte [ecx + eax - 4]
mov ecx, dword [esp + 0xc]
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0x40]
add edx, eax
movzx eax, byte [ecx]
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0xb4]
add edx, eax
movzx eax, byte [ecx - 4]
mov ecx, 0x200
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0x70]
add edx, eax
imul edx, ebx
mov ebx, dword [esp + 0xbc]
shr edx, 0x11
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add ecx, 0x40
add eax, ecx
mov ecx, dword [esp + 0x6c]
sar eax, 7
add ecx, esi
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [esp + 0x88]
add esi, dword [esp + 0x98]
movzx eax, byte [eax + ecx + 4]
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0xc]
imul edx, edi
movzx eax, byte [ebx + eax]
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0xb4]
add edx, eax
mov eax, dword [esp + 0xc4]
movzx eax, byte [eax + esi]
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0x40]
add edx, eax
movzx eax, byte [ecx]
mov ecx, 0x200
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0x70]
add edx, eax
imul edx, dword [esp + 0xac]
shr edx, 0x11
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add ecx, 0x40
add eax, ecx
mov ecx, dword [esp + 0x98]
add ecx, dword [esp + 0x54]
sar eax, 7
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + ecx + 4]
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0xc]
imul edx, edi
mov edi, dword [esp + 0xb0]
movzx eax, byte [edi + eax]
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0xb4]
mov edi, dword [esp + 0x80]
add edx, eax
movzx eax, byte [ecx]
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0x70]
add edx, eax
movzx eax, byte [esi]
mov esi, dword [esp + 0x54]
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0x40]
add edx, eax
imul edx, dword [esp + 0xac]
shr edx, 0x11
mov eax, edx
sar eax, 9
jmp 0x1022352b
mov ebx, dword [esp + 0xb8]
add ecx, ebx
movzx eax, byte [ecx + edi + 4]
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [ecx + edi]
mov ecx, 0x200
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
movzx eax, byte [ebx + edi + 4]
mov ebx, dword [ebp + 0x14]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, dword [esp + 0xc]
movzx eax, byte [eax - 4]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, edx
and edx, 0x1ff
shr eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add ecx, 0x40
add eax, ecx
sar eax, 7
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xa8]
lea ecx, [eax + ebx]
movzx eax, byte [edi + eax + 4]
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [ecx + edi + 4]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
movzx eax, byte [ecx + edi]
mov ecx, 0x200
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, dword [esp + 0x6c]
movzx eax, byte [esi + eax]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, edx
and edx, 0x1ff
shr eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add ecx, 0x40
add eax, ecx
mov ecx, dword [esp + 0x30]
sar eax, 7
add ecx, ebx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
add eax, dword [esp + 0x84]
add eax, dword [esp + 0xcc]
movzx eax, byte [eax + edi]
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [ecx + edi + 4]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
movzx eax, byte [ecx + edi]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, dword [esp + 0x98]
movzx eax, byte [esi + eax]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, edx
shr eax, 9
mov ebx, dword [esp + 0x14]
and edx, 0x1ff
mov ecx, 0x200
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
mov edx, dword [esp + 0x88]
push ebx
add eax, 0x40
add eax, ecx
mov ecx, dword [esp + 0x7c]
sar eax, 7
push eax
mov dword [esp + 0x48], eax
call fcn.10226560
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x98]
push ebx
push dword [esp + 0x4c]
mov byte [ecx + edx], al
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x88]
call fcn.10226470
mov edx, dword [esp + 0x8c]
add edi, 8
add esi, 8
mov dword [esp + 0x90], edi
add esp, 0x10
mov dword [esp + 0x54], esi
mov byte [edx], al
inc edx
mov eax, dword [esp + 0xc]
add eax, 8
mov dword [esp + 0x7c], edx
sub dword [esp + 0x3c], 1
mov dword [esp + 0xc], eax
jne 0x102231b0
mov esi, dword [ebp + 0x14]
cmp dword [esp + 0x48], 0
je 0x10223c5a
mov eax, dword [esp + 0x1c]
add eax, edi
mov dword [esp + 0xc], eax
movzx edx, byte [eax + esi]
movzx eax, byte [eax]
add edx, eax
add edx, edx
cmp edx, 0x3fc
je 0x10223735
test edx, edx
je 0x10223735
mov esi, dword [edx*4 + 0x103c4da8]
mov ecx, dword [esp + 0xa4]
add ecx, dword [esp + 0x30]
mov eax, dword [ebp + 0x14]
add ecx, edi
mov ebx, dword [esp + 0xc]
movzx eax, byte [ecx + eax]
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [ebp + 0x14]
movzx eax, byte [ebx + eax]
imul edx, eax
movzx eax, byte [ecx]
movzx ecx, word [eax*2 + 0x1059e210]
mov eax, ebx
movzx eax, byte [eax]
imul ecx, eax
add edx, ecx
mov ecx, 0x200
imul edx, esi
add edx, edx
shr edx, 0x11
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add ecx, 0x40
add eax, ecx
mov ecx, dword [esp + 0xa8]
sar eax, 7
add ecx, edi
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [ecx + eax]
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [ebp + 0x14]
movzx eax, byte [ebx + eax]
imul edx, eax
movzx eax, byte [ecx]
movzx ecx, word [eax*2 + 0x1059e210]
mov eax, ebx
movzx eax, byte [eax]
imul ecx, eax
add edx, ecx
mov ecx, 0x200
imul edx, esi
add edx, edx
shr edx, 0x11
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add ecx, 0x40
add eax, ecx
mov ecx, dword [esp + 0x30]
add ecx, edi
sar eax, 7
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
movzx eax, byte [ecx + edi]
movzx edx, word [eax*2 + 0x1059e210]
mov eax, ebx
movzx eax, byte [eax + edi]
imul edx, eax
movzx eax, byte [ecx]
movzx ecx, word [eax*2 + 0x1059e210]
mov eax, ebx
mov ebx, dword [esp + 0x14]
movzx eax, byte [eax]
imul ecx, eax
add edx, ecx
imul edx, esi
add edx, edx
shr edx, 0x11
jmp 0x10223802
mov ecx, dword [esp + 0xa4]
add ecx, dword [esp + 0x30]
add ecx, edi
movzx eax, byte [ecx + esi]
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [ecx]
mov ecx, 0x200
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add ecx, 0x40
add eax, ecx
mov ecx, dword [esp + 0xa8]
sar eax, 7
add ecx, edi
mov dword [esp + 0x3c], eax
movzx eax, byte [ecx + esi]
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [ecx]
mov ecx, 0x200
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add ecx, 0x40
add eax, ecx
mov ecx, dword [esp + 0x30]
sar eax, 7
add ecx, edi
mov dword [esp + 0x1c], eax
movzx eax, byte [ecx + esi]
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [ecx]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov eax, edx
mov ecx, 0x200
sar eax, 9
and edx, 0x1ff
sub ecx, edx
push ebx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
mov edx, dword [esp + 0x20]
add eax, 0x40
add eax, ecx
mov ecx, dword [esp + 0x40]
sar eax, 7
push eax
mov dword [esp + 0x74], eax
call fcn.10226560
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
push ebx
push dword [esp + 0x78]
mov byte [edx + ecx], al
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
call fcn.10226470
mov esi, dword [esp + 0x48]
add esp, 0x10
mov ecx, dword [esp + 0x20]
mov byte [ecx + esi], al
jmp 0x10223c5a
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
xor ecx, ecx
add eax, dword [esp + 0x24]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x70], ecx
cmp dword [esp + 0x74], ecx
jle 0x10223b22
mov ecx, dword [esp + 0xa0]
lea ebx, [eax + edx]
mov esi, dword [ebp + 0x14]
lea eax, [edx + edx]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x1c], eax
add edx, edi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, edx
sub eax, ecx
mov dword [esp + 0x40], ecx
add eax, dword [esp + 0xa4]
sub edx, ecx
mov dword [esp + 0x90], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x78], edx
add eax, dword [esp + 0xa4]
mov dword [esp + 0xb0], eax
mov eax, ebx
sub eax, ecx
sub ebx, ecx
add eax, esi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
sub eax, ecx
add eax, esi
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x6c]
sub eax, ecx
mov dword [esp + 0xac], eax
mov eax, edi
sub eax, ecx
add eax, esi
mov dword [esp + 0x7c], eax
mov eax, edi
sub eax, ecx
mov edi, ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
imul eax, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x90]
mov esi, 0x200
mov ecx, esi
push dword [esp + 0x14]
movzx eax, byte [eax + edi]
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0xb4]
movzx eax, byte [eax + edi]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, dword [esp + 0x90]
movzx eax, byte [eax + edi]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
movzx eax, byte [edi]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, edx
and edx, 0x1ff
shr eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov ebx, dword [eax*4 + 0x1059e414]
mov eax, dword [esp + 0xb0]
imul ebx, edx
add ecx, 0x40
movzx eax, byte [edi + eax]
add ebx, ecx
mov ecx, esi
sar ebx, 7
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0xc8]
movzx eax, byte [edi + eax]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, dword [esp + 0xc4]
movzx eax, byte [edi + eax]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, dword [esp + 0x84]
movzx eax, byte [edi + eax]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, edx
and edx, 0x1ff
shr eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov edi, dword [eax*4 + 0x1059e414]
mov eax, dword [esp + 0x80]
imul edi, edx
add ecx, 0x40
add edi, ecx
mov ecx, dword [esp + 0x44]
sar edi, 7
movzx eax, byte [eax + ecx]
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0x88]
movzx eax, byte [eax + ecx]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, dword [esp + 0x7c]
movzx eax, byte [eax + ecx]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, dword [esp + 0x8c]
movzx eax, byte [ecx + eax]
mov ecx, esi
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
mov eax, edx
and edx, 0x1ff
shr eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov esi, dword [eax*4 + 0x1059e414]
imul esi, edx
add ecx, 0x40
add esi, ecx
sar esi, 7
push esi
mov edx, edi
mov ecx, ebx
call fcn.10226560
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x28]
push dword [esp + 0x1c]
push esi
mov byte [ecx + edx], al
mov edx, edi
mov ecx, ebx
call fcn.10226470
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov edi, dword [esp + 0x40]
add edi, dword [esp + 0x1c]
mov dword [esp + 0x40], edi
mov byte [ecx], al
inc ecx
sub dword [esp + 0x3c], 1
mov dword [esp + 0x20], ecx
jne 0x10223960
mov ecx, dword [esp + 0x70]
cmp dword [esp + 0x48], 0
je 0x10223c56
mov eax, dword [esp + 0x30]
mov edi, 0x200
add eax, dword [esp + 0xa4]
mov esi, dword [ebp + 0x14]
add ecx, eax
push dword [esp + 0x14]
movzx eax, byte [ecx + esi]
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [ecx]
mov ecx, edi
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov eax, edx
and edx, 0x1ff
sub ecx, edx
sar eax, 9
imul ecx, dword [eax*4 + 0x1059e410]
mov ebx, dword [eax*4 + 0x1059e414]
imul ebx, edx
add ecx, 0x40
add ebx, ecx
mov ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x74]
sar ebx, 7
movzx eax, byte [ecx + esi]
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [ecx]
mov ecx, edi
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov eax, edx
and edx, 0x1ff
sub ecx, edx
sar eax, 9
imul ecx, dword [eax*4 + 0x1059e410]
mov edi, dword [eax*4 + 0x1059e414]
imul edi, edx
add ecx, 0x40
add edi, ecx
mov ecx, dword [esp + 0x74]
add ecx, dword [esp + 0x34]
sar edi, 7
movzx eax, byte [ecx + esi]
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [ecx]
mov ecx, 0x200
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov esi, dword [eax*4 + 0x1059e414]
imul esi, edx
mov edx, edi
add ecx, 0x40
add esi, ecx
mov ecx, ebx
sar esi, 7
push esi
call fcn.10226560
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x6c]
push dword [esp + 0x1c]
push esi
mov byte [ecx + edx], al
mov edx, edi
mov ecx, ebx
call fcn.10226470
mov ebx, dword [esp + 0x48]
add esp, 0x10
mov ecx, dword [esp + 0x54]
mov byte [ecx + ebx], al
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
add dword [esp + 0x24], ecx
add dword [esp + 0xa0], ecx
mov eax, dword [esi + 0x20]
add dword [esp + 0x64], eax
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x58], ecx
add eax, ecx
sub dword [esp + 0x5c], 1
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
jne 0x10222fa0
mov esi, dword [ebp + 0x14]
mov edi, 0x200
mov ecx, dword [esp + 0x2c]
test byte [esp + 0x9c], 1
je 0x102245e5
mov eax, dword [esp + 0x44]
imul ecx, esi
mov dword [esp + 0x48], 0
add ecx, ecx
mov dword [esp + 0x2c], ecx
test eax, eax
jle 0x10223d40
mov eax, dword [esp + 0x10]
add ecx, eax
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x60]
sub edx, eax
sub esi, eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x68], esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x8c], edx
movzx eax, byte [edx + ecx]
movzx edx, byte [ecx]
push ebx
push eax
mov eax, dword [esp + 0x70]
movzx ecx, byte [eax + ecx]
call fcn.10226650
mov edx, dword [esp + 0x50]
add esp, 8
mov ecx, dword [esp + 0x4c]
mov byte [edx + ecx], al
inc edx
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x44]
add ecx, esi
mov dword [esp + 0x48], edx
cmp edx, eax
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x84], ecx
jl 0x10223cf2
mov ecx, dword [esp + 0x2c]
jmp 0x10223d43
mov esi, dword [ebp + 0x10]
cmp dword [esp + 0x94], 0
je 0x102242df
add ecx, dword [esp + 0x50]
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
push 1
push eax
push 0
push ecx
call dword [0x1059fbcc]
add esp, 0x18
neg eax
sbb eax, eax
inc eax
and eax, dword [esp + 0x94]
je 0x102242df
mov eax, dword [esp + 0x44]
xor edx, edx
mov esi, dword [esp + 0x10]
mov ecx, eax
add esi, dword [esp + 0x2c]
sar ecx, 1
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x7c], ecx
test ecx, ecx
jle 0x102240bf
mov eax, dword [esp + 0x38]
mov ebx, esi
mov ecx, dword [esp + 0x18]
mov edx, ebx
sub edx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x60]
add edx, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x2c]
sub dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
sub dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
sub ebx, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x78], eax
nop dword [eax]
movzx eax, byte [ecx]
movzx ebx, byte [ecx - 4]
mov dword [esp + 0x5c], eax
add eax, ebx
add eax, eax
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x14]
cmp eax, 0x3fc
je 0x10223f47
test eax, eax
je 0x10223f47
mov edi, dword [eax*4 + 0x103c4da8]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0xc]
add esi, ecx
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx + eax]
movzx edx, word [eax*2 + 0x1059e210]
imul edx, dword [esp + 0x50]
movzx eax, byte [esi + ecx]
mov ecx, 0x200
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0x5c]
add edx, eax
imul edx, edi
add edx, edx
shr edx, 0x11
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add ecx, 0x40
add eax, ecx
mov ecx, 0x200
sar eax, 7
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
movzx edx, word [eax*2 + 0x1059e210]
imul edx, dword [esp + 0x50]
movzx eax, byte [esi]
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0x5c]
add edx, eax
imul edx, edi
add edx, edx
shr edx, 0x11
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add ecx, 0x40
add eax, ecx
mov ecx, dword [esp + 0x24]
sar eax, 7
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xc]
movzx eax, byte [ecx + eax]
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [esi + ecx]
imul edx, dword [esp + 0x50]
movzx eax, word [eax*2 + 0x1059e210]
imul eax, dword [esp + 0x5c]
add edx, eax
imul edx, edi
mov edi, 0x200
add edx, edx
shr edx, 0x11
jmp 0x1022401f
mov eax, dword [esp + 0x60]
mov ecx, edi
add eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
movzx eax, byte [edx + eax + 4]
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + esi]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add eax, 0x40
add eax, ecx
mov ecx, dword [esp + 0x74]
sar eax, 7
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + ecx + 4]
mov ecx, edi
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [esi]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add eax, 0x40
add eax, ecx
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x2c]
sar eax, 7
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
movzx eax, byte [eax + esi]
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + ecx + 4]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov esi, dword [esp + 0xc]
mov eax, edx
sar eax, 9
and edx, 0x1ff
mov ecx, edi
sub ecx, edx
push ebx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
mov edx, dword [esp + 0x5c]
add eax, 0x40
add eax, ecx
mov ecx, dword [esp + 0x24]
sar eax, 7
push eax
mov dword [esp + 0x50], eax
call fcn.10226560
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x94]
push ebx
push dword [esp + 0x54]
mov byte [edx + ecx], al
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
call fcn.10226470
mov ecx, dword [esp + 0x64]
add esi, 8
mov edx, dword [esp + 0x20]
add esp, 0x10
add edx, 8
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov byte [ecx], al
inc ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x80]
add ecx, 8
sub dword [esp + 0x7c], 1
mov dword [esp + 0x80], ecx
jne 0x10223e10
mov eax, dword [esp + 0x44]
test al, 1
je 0x102245e5
mov eax, dword [esp + 0x18]
movzx esi, byte [edx + eax]
shl esi, 2
cmp esi, 0x3fc
je 0x102241d1
test esi, esi
je 0x102241d1
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x2c]
mov esi, dword [esi*4 + 0x103c4da8]
mov ebx, dword [esp + 0x14]
movzx eax, byte [edx + eax]
movzx ecx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0x18]
movzx eax, byte [edx + eax]
mov edx, esi
imul ecx, eax
imul edx, ecx
mov ecx, edi
shl edx, 2
shr edx, 0x11
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add eax, 0x40
add eax, ecx
mov ecx, dword [esp + 0x10]
sar eax, 7
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
movzx eax, byte [ecx + eax]
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0x18]
movzx eax, byte [ecx + eax]
mov ecx, edi
imul edx, eax
imul edx, esi
shl edx, 2
shr edx, 0x11
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
mov edx, dword [esp + 0x10]
add eax, 0x40
add eax, ecx
sar eax, 7
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x2c]
movzx eax, byte [edx + eax]
movzx ecx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0x18]
movzx eax, byte [edx + eax]
imul ecx, eax
imul ecx, esi
shl ecx, 2
shr ecx, 0x11
jmp 0x10224273
mov eax, dword [esp + 0x60]
mov ecx, edi
add eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
movzx eax, byte [edx + eax]
movzx edx, word [eax*2 + 0x1059e210]
shl edx, 2
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add ecx, 0x40
add eax, ecx
mov ecx, edi
sar eax, 7
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
movzx eax, byte [esi + eax]
movzx edx, word [eax*2 + 0x1059e210]
shl edx, 2
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, edx
add eax, 0x40
add eax, ecx
sar eax, 7
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x2c]
movzx eax, byte [esi + eax]
movzx ecx, word [eax*2 + 0x1059e210]
shl ecx, 2
mov edx, dword [esp + 0x48]
mov eax, ecx
sar eax, 9
and ecx, 0x1ff
sub edi, ecx
push ebx
imul edi, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, ecx
mov ecx, dword [esp + 0x88]
add eax, 0x40
add eax, edi
sar eax, 7
push eax
mov dword [esp + 0x24], eax
call fcn.10226560
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x80]
push ebx
push dword [esp + 0x28]
mov byte [edx + ecx], al
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x94]
call fcn.10226470
mov edx, dword [esp + 0x88]
jmp 0x102245db
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x20], 0
add ecx, dword [esp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
mov ebx, eax
sar ebx, 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x5c], ebx
test ebx, ebx
jle 0x102244e5
mov ebx, dword [esp + 0x2c]
lea eax, [esi + esi]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x58]
sub eax, ecx
mov edx, dword [esp + 0x38]
add eax, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x58]
sub eax, ecx
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x68], eax
lea eax, [ecx + ebx]
sub eax, dword [esp + 0x4c]
add eax, esi
mov dword [esp + 0x90], eax
lea eax, [ecx + ebx]
sub eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x64]
sub eax, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xb0], eax
lea eax, [esi + esi]
imul eax, ebx
mov dword [esp + 0x24], eax
jmp 0x10224396
mov edi, 0x200
movzx eax, byte [esi + ecx]
mov ecx, edi
mov esi, dword [esp + 0x28]
push dword [esp + 0x14]
movzx edx, word [eax*2 + 0x1059e210]
movzx eax, byte [esi]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov ebx, dword [eax*4 + 0x1059e414]
mov eax, dword [esp + 0x6c]
imul ebx, edx
movzx eax, byte [eax + esi]
add ebx, 0x40
add ebx, ecx
mov ecx, edi
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0x90]
sar ebx, 7
movzx eax, byte [eax + esi]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov edi, dword [eax*4 + 0x1059e414]
mov eax, dword [esp + 0xcc]
imul edi, edx
movzx eax, byte [eax + esi]
add edi, 0x40
add edi, ecx
mov ecx, 0x200
movzx edx, word [eax*2 + 0x1059e210]
mov eax, dword [esp + 0x94]
sar edi, 7
movzx eax, byte [eax + esi]
movzx eax, word [eax*2 + 0x1059e210]
add edx, eax
add edx, edx
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov esi, dword [eax*4 + 0x1059e414]
imul esi, edx
mov edx, edi
add ecx, 0x40
add esi, ecx
mov ecx, ebx
sar esi, 7
push esi
call fcn.10226560
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xb8]
push dword [esp + 0x1c]
push esi
mov byte [edx + ecx], al
mov edx, edi
mov ecx, ebx
call fcn.10226470
mov ecx, dword [esp + 0x60]
add esp, 0x10
mov esi, dword [ebp + 0x10]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0xac]
sub dword [esp + 0x5c], 1
mov dword [esp + 0x28], ecx
jne 0x10224391
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
test al, 1
je 0x102245e5
movzx eax, byte [edx + ecx]
mov esi, 0x200
mov ecx, esi
push dword [esp + 0x14]
movzx edx, word [eax*2 + 0x1059e210]
shl edx, 2
mov eax, edx
and edx, 0x1ff
sub ecx, edx
sar eax, 9
imul ecx, dword [eax*4 + 0x1059e410]
mov ebx, dword [eax*4 + 0x1059e414]
mov eax, dword [esp + 0x28]
imul ebx, edx
add ecx, 0x40
add ebx, ecx
mov ecx, dword [esp + 0x5c]
sar ebx, 7
mov dword [esp + 0x6c], ebx
movzx eax, byte [eax + ecx]
mov ecx, esi
movzx edx, word [eax*2 + 0x1059e210]
shl edx, 2
mov eax, edx
and edx, 0x1ff
sar eax, 9
sub ecx, edx
imul ecx, dword [eax*4 + 0x1059e410]
mov edi, dword [eax*4 + 0x1059e414]
mov eax, dword [esp + 0x28]
imul edi, edx
add ecx, 0x40
add edi, ecx
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x30]
sar edi, 7
mov edx, edi
movzx eax, byte [eax + ecx]
movzx ecx, word [eax*2 + 0x1059e210]
shl ecx, 2
mov eax, ecx
and ecx, 0x1ff
sar eax, 9
sub esi, ecx
imul esi, dword [eax*4 + 0x1059e410]
mov eax, dword [eax*4 + 0x1059e414]
imul eax, ecx
mov ecx, ebx
add eax, 0x40
add esi, eax
sar esi, 7
push esi
call fcn.10226560
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
push dword [esp + 0x1c]
push esi
mov byte [edx + ecx], al
mov edx, edi
mov ecx, ebx
call fcn.10226470
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
add esp, 0x10
mov byte [edx + ecx], al
mov ecx, dword [esp + 0x1c4]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101f6477
mov esp, ebp
pop ebp
ret