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

Disassembly:
sub esp, 0x204
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x200], eax
push ebp
mov ebp, dword [esp + 0x20c]
mov eax, dword [ebp + 4]
fld qword [ebp + 0x160]
mov ecx, dword [ebp]
fstp qword [esp + 0xf8]
mov edx, dword [ebp + 0x44]
mov dword [esp + 0xf4], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x64], ecx
mov ecx, dword [ebp + 0x58]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0x48]
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 0x4c]
push 0x10160a44
mov dword [esp + 0xf4], ecx
mov ecx, dword [ebp + 0x168]
push 0x10160a44
mov dword [esp + 0x44], ebp
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
call fcn.1000c6a0
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0xac], eax
jg 0x100663fd
push ebx
push esi
push edi
jmp 0x100642b0
cmp dword [ebp + 0x16c], 0
mov dword [esp + 0x34], 0
jne 0x100663fa
mov edi, dword [esp + 0x70]
lea esi, [edi + 0x3264]
push 0x3e8
push esi
call fcn.10041030
mov eax, dword [esp + 0xc0]
add esp, 8
test eax, eax
jl 0x100664c1
mov ecx, dword [esp + 0x100]
cmp eax, dword [ecx + 8]
jge 0x100664c1
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + eax*4]
mov edx, dword [ebp + 0x10]
push 0
push edx
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0xe0]
push ecx
push eax
push edi
call fcn.10063680
add esp, 0x1c
test eax, eax
push esi
jne 0x10064333
call fcn.100410c0
jmp 0x100662ea
call fcn.100410c0
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0xd8]
add esp, 4
cmp ebx, dword [ebp + 0x20]
mov edi, eax
mov dword [esp + 0x98], edi
jg 0x100662d1
mov esi, dword [esp + 0xd8]
cmp esi, dword [ebp + 0x24]
jg 0x100662d1
cmp dword [ebp + 0x18], 0
jne 0x100643a9
test esi, esi
jle 0x10064447
lea edx, [eax + 3]
lea esp, [esp]
test ebx, ebx
jle 0x1006439b
mov eax, edx
mov ecx, ebx
jmp 0x10064390
mov byte [eax], 0
add eax, 4
sub ecx, 1
jne 0x10064390
add edx, dword [esp + 0x3c]
sub esi, 1
jne 0x10064380
jmp 0x10064447
mov edx, esi
imul edx, dword [esp + 0x3c]
push edx
call fcn.100f5b7c
add esp, 4
test eax, eax
mov dword [esp + 0x34], eax
jne 0x100643dd
cmp dword [ebp + 0x10], eax
jne 0x100643d7
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x32fc], 0
jne 0x100662ed
push edi
jmp 0x100662e5
test esi, esi
jle 0x10064447
add edi, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x1c], esi
test ebx, ebx
jle 0x10064434
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edi, ebx
mov edi, edi
movzx eax, byte [ecx + 1]
movzx edx, byte [ecx - 1]
add edx, eax
movzx eax, byte [ecx]
add edx, eax
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [esi], edx
add ecx, 4
add esi, 4
sub edi, 1
jne 0x10064400
mov eax, dword [esp + 0x3c]
add dword [esp + 0x74], eax
add dword [esp + 0x78], eax
sub dword [esp + 0x1c], 1
jne 0x100643f0
fld1
mov dword [esp + 0xf8], 0
fsub qword [esp + 0x104]
fnstcw word [esp + 0x20]
fmul qword [0x10161968]
movzx eax, word [esp + 0x20]
or eax, 0xc00
mov dword [esp + 0x14], eax
lea eax, [esp + 0xf8]
push eax
fldcw word [esp + 0x18]
lea eax, [ebp + 0x5c]
push 0x101618f0
push eax
fistp qword [esp + 0xd4]
mov edi, dword [esp + 0xd4]
mov dword [esp + 0x84], edi
fldcw word [esp + 0x2c]
call fcn.100f86bd
mov eax, dword [esp + 0x104]
movzx esi, byte [esp + 0x106]
mov ebp, dword [esp + 0xe4]
movzx ecx, ah
and eax, 0xff
add eax, edi
mov dword [esp + 0x2c], eax
add ecx, edi
lea eax, [ebx - 1]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
xor ecx, ecx
add esi, edi
mov edi, dword [eax]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + ebx*4 - 4]
lea eax, [ebp - 1]
imul eax, dword [esp + 0x48]
lea edx, [ebp - 1]
mov ebp, dword [esp + 0x40]
mov ebp, dword [eax + ebp]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x40]
lea eax, [eax + ebx*4]
mov eax, dword [eax + ebp - 4]
add esp, 0xc
cmp edi, ecx
mov ebp, edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x74], ebp
jne 0x1006470b
mov edi, dword [esp + 0x5c]
cmp ecx, edi
jne 0x1006470b
cmp edi, eax
jne 0x1006470b
xor edi, edi
cmp dword [esp + 0xd8], edi
mov dword [esp + 0x68], 1
jle 0x100645d6
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
jmp 0x10064590
xor eax, eax
test ebx, ebx
jle 0x100645be
cmp dword [ecx], ebp
jne 0x100645a6
add eax, 1
add ecx, 4
cmp eax, ebx
jl 0x10064596
jmp 0x100645be
cmp eax, ebx
mov ecx, dword [ecx]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0x9c], edi
jl 0x100645d6
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x3c]
add edi, 1
cmp edi, dword [esp + 0xd8]
mov dword [esp + 0x1c], ecx
jl 0x10064590
xor edi, edi
cmp dword [esp + 0xd8], edi
jle 0x10064635
xor ecx, ecx
mov dword [esp + 0x1c], ecx
lea eax, [ebx - 1]
test eax, eax
jl 0x1006461d
lea ecx, [ecx + eax*4]
add ecx, dword [esp + 0x34]
cmp dword [ecx], ebp
jne 0x10064605
sub eax, 1
sub ecx, 4
test eax, eax
jge 0x100645f5
jmp 0x1006461d
test eax, eax
mov ecx, dword [ecx]
mov dword [esp + 0x64], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xa0], edi
jge 0x10064635
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x3c]
add edi, 1
cmp edi, dword [esp + 0xd8]
mov dword [esp + 0x1c], ecx
jl 0x100645e7
mov edi, dword [esp + 0xd8]
add edi, 0xffffffff
test edi, edi
jl 0x100646a0
mov eax, dword [esp + 0x3c]
mov ecx, eax
neg ecx
mov dword [esp + 0x18], ecx
mov ecx, edi
imul ecx, eax
add ecx, dword [esp + 0x34]
mov dword [esp + 0x58], ecx
lea esp, [esp]
xor eax, eax
test ebx, ebx
jle 0x1006468d
cmp dword [ecx], ebp
jne 0x10064676
add eax, 1
add ecx, 4
cmp eax, ebx
jl 0x10064666
jmp 0x10064689
cmp eax, ebx
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov dword [esp + 0xa8], eax
mov edx, edi
jl 0x1006469c
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x18]
sub edi, 1
test edi, edi
mov dword [esp + 0x58], ecx
jge 0x10064660
mov dword [esp + 0x58], edx
mov edi, dword [esp + 0xd8]
add edi, 0xffffffff
test edi, edi
jl 0x1006470b
mov eax, dword [esp + 0x3c]
mov ecx, edi
imul ecx, eax
neg eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
lea eax, [ebx - 1]
test eax, eax
jl 0x100646f8
lea ecx, [ecx + eax*4]
add ecx, dword [esp + 0x34]
nop
cmp dword [ecx], ebp
jne 0x100646e0
sub eax, 1
sub ecx, 4
test eax, eax
jge 0x100646d0
jmp 0x100646f8
test eax, eax
mov ecx, dword [ecx]
mov dword [esp + 0x60], ecx
mov dword [esp + 0xac], eax
mov dword [esp + 0x94], edi
jge 0x1006470b
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x18]
sub edi, 1
test edi, edi
mov dword [esp + 0x1c], ecx
jge 0x100646c1
mov eax, dword [esp + 0xfc]
test eax, eax
mov ebp, dword [esp + 0x48]
jne 0x10064e00
mov eax, dword [ebp + 0x24]
xor edi, edi
sub eax, dword [esp + 0xd8]
mov dword [esp + 0x44], edi
mov dword [esp + 0xc8], eax
js 0x100662a2
mov ecx, dword [ebp + 0x20]
sub ecx, ebx
mov dword [esp + 0x14], ecx
xor ecx, ecx
cmp dword [esp + 0x14], ecx
mov dword [esp + 0x40], ecx
jl 0x10064dec
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x9c]
imul edx, eax
imul edi, eax
mov ebp, dword [esp + 0xb4]
imul ebx, eax
lea ebx, [ebx + ebp*4]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0xa0]
imul ebx, eax
lea ebx, [ebx + ebp*4]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0xa8]
lea edx, [edx + ebx*4]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x94]
imul edx, eax
mov eax, dword [esp + 0xac]
lea edx, [edx + eax*4]
movzx eax, byte [esp + 0x6e]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x88], edx
movzx edx, ah
and eax, 0xff
mov dword [esp + 0x84], edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x80], eax
jmp 0x100647f7
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x90]
lea edi, [edi + ecx*4]
add edi, dword [esp + 0xc4]
mov ecx, dword [esp + 0x7c]
mov eax, dword [eax + edi]
mov edx, dword [ecx + edi]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [ecx + edi]
mov ecx, dword [esp + 0x88]
mov ecx, dword [ecx + edi]
movzx ebp, ah
mov dword [esp + 0x2c], ecx
mov ecx, eax
and eax, 0xff
shr ecx, 0x10
mov dword [esp + 0x10], eax
and ecx, 0xff
mov dword [esp + 0x1c], ebp
mov ebp, ecx
sub ebp, esi
mov eax, 0
sets al
mov dword [esp + 0x18], 0xff
sub eax, 1
and eax, ebp
mov ebp, dword [esp + 0x1c]
sub ebp, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov eax, 0
sets al
sub eax, 1
and eax, ebp
mov ebp, dword [esp + 0x10]
sub ebp, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, 0
sets al
add ecx, esi
sub eax, 1
and eax, ebp
cmp ecx, 0xff
jg 0x1006489e
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
add ecx, ebp
cmp ecx, 0xff
mov dword [esp + 0x1c], 0xff
jg 0x100648bc
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
add ecx, ebp
cmp ecx, 0xff
mov dword [esp + 0x10], 0xff
jg 0x100648da
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xa4]
cmp ecx, dword [esp + 0x54]
jl 0x10064dc4
cmp ecx, dword [esp + 0x18]
jg 0x10064dc4
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x30]
jl 0x10064dc4
cmp ecx, dword [esp + 0x1c]
jg 0x10064dc4
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jl 0x10064dc4
cmp ecx, dword [esp + 0x10]
jg 0x10064dc4
movzx ecx, dh
mov eax, edx
and edx, 0xff
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
movzx edx, byte [esp + 0x66]
shr eax, 0x10
and eax, 0xff
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x64]
movzx ecx, dh
mov dword [esp + 0x28], ecx
and edx, 0xff
mov ebp, eax
sub ebp, esi
mov ecx, 0
sets cl
mov dword [esp + 0x18], 0xff
sub ecx, 1
and ecx, ebp
mov ebp, dword [esp + 0x1c]
sub ebp, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov ecx, 0
sets cl
sub ecx, 1
and ecx, ebp
mov ebp, dword [esp + 0x10]
sub ebp, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
mov ecx, 0
sets cl
add eax, esi
sub ecx, 1
and ebp, ecx
cmp eax, 0xff
jg 0x100649b3
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add ecx, eax
cmp ecx, 0xff
mov dword [esp + 0x1c], 0xff
jg 0x100649d1
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add ecx, eax
cmp ecx, 0xff
mov dword [esp + 0x10], 0xff
jg 0x100649ef
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x54]
jl 0x10064dc4
cmp eax, dword [esp + 0x18]
jg 0x10064dc4
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x50]
jl 0x10064dc4
cmp eax, dword [esp + 0x1c]
jg 0x10064dc4
cmp edx, ebp
jl 0x10064dc4
cmp edx, dword [esp + 0x10]
jg 0x10064dc4
movzx ecx, byte [esp + 0x5e]
mov eax, ebx
movzx edx, bh
and ebx, 0xff
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x5c]
shr eax, 0x10
movzx ebx, ch
and eax, 0xff
mov dword [esp + 0x30], ebx
mov ebp, ecx
and ebp, 0xff
mov ecx, eax
sub ecx, esi
mov ebx, 0
sets bl
sub ebx, 1
and ebx, ecx
mov dword [esp + 0x28], ebx
mov ecx, edx
sub ecx, dword [esp + 0x24]
mov ebx, 0
sets bl
sub ebx, 1
and ebx, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x54], ebx
mov ebx, 0
sets bl
add eax, esi
sub ebx, 1
and ebx, ecx
mov ecx, 0xff
cmp eax, ecx
mov dword [esp + 0x10], ecx
jg 0x10064ab8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
add edx, eax
cmp edx, ecx
mov dword [esp + 0x18], ecx
jg 0x10064aca
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add ecx, edx
cmp ecx, 0xff
mov edx, 0xff
jg 0x10064ae3
mov edx, ecx
mov ecx, dword [esp + 0x50]
cmp ecx, dword [esp + 0x28]
jl 0x10064dc4
cmp ecx, dword [esp + 0x10]
jg 0x10064dc4
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x54]
jl 0x10064dc4
cmp eax, dword [esp + 0x18]
jg 0x10064dc4
cmp ebp, ebx
jl 0x10064dc4
cmp ebp, edx
jg 0x10064dc4
mov ecx, dword [esp + 0x2c]
mov eax, ecx
movzx ebx, ch
and ecx, 0xff
mov dword [esp + 0x1c], ecx
movzx ecx, byte [esp + 0x62]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x60]
movzx edx, ch
shr eax, 0x10
mov ebp, ecx
and eax, 0xff
mov dword [esp + 0x28], edx
and ebp, 0xff
mov edx, eax
sub edx, esi
mov ecx, 0
sets cl
sub ecx, 1
and ecx, edx
mov dword [esp + 0x50], ecx
mov edx, ebx
sub edx, dword [esp + 0x24]
mov ecx, 0
sets cl
sub ecx, 1
and ecx, edx
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov ecx, 0
sets cl
add eax, esi
sub ecx, 1
and edx, ecx
cmp eax, 0xff
jle 0x10064ba9
mov eax, 0xff
mov ecx, dword [esp + 0x24]
add ebx, ecx
cmp ebx, 0xff
mov dword [esp + 0x10], 0xff
jg 0x10064bc3
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add ecx, ebx
cmp ecx, 0xff
mov ebx, 0xff
jg 0x10064bdc
mov ebx, ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x50]
jl 0x10064dc4
cmp ecx, eax
jg 0x10064dc4
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x30]
jl 0x10064dc4
cmp ecx, dword [esp + 0x10]
jg 0x10064dc4
cmp ebp, edx
jl 0x10064dc4
cmp ebp, ebx
jg 0x10064dc4
xor eax, eax
cmp dword [esp + 0x78], eax
jne 0x10064d2e
cmp dword [esp + 0x68], eax
jne 0x10064d2e
cmp esi, eax
jne 0x10064d2e
cmp dword [esp + 0x24], eax
jne 0x10064d2e
cmp dword [esp + 0x20], eax
jne 0x10064d2e
cmp dword [esp + 0xd8], eax
mov dword [esp + 0x18], eax
jle 0x10064db3
mov ebp, dword [esp + 0x34]
mov edx, edi
mov dword [esp + 0x1c], edx
jmp 0x10064c70
mov eax, dword [esp + 0xd4]
add eax, eax
add eax, eax
cmp eax, 4
mov ecx, ebp
jb 0x10064c96
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x10064c9a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10064c82
test eax, eax
je 0x10064cf7
movzx ebx, byte [edx]
movzx edi, byte [ecx]
sub ebx, edi
jne 0x10064ce9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10064cf7
movzx ebx, byte [edx]
movzx edi, byte [ecx]
sub ebx, edi
jne 0x10064ce9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10064cf7
movzx ebx, byte [edx]
movzx edi, byte [ecx]
sub ebx, edi
jne 0x10064ce9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10064cf7
movzx ebx, byte [edx]
movzx edx, byte [ecx]
sub ebx, edx
je 0x10064cf7
test ebx, ebx
mov eax, 1
jg 0x10064cf9
or eax, 0xffffffff
jmp 0x10064cf9
xor eax, eax
test eax, eax
jne 0x10064db3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add edx, dword [esp + 0x4c]
add ebp, dword [esp + 0x3c]
add eax, 1
cmp eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jl 0x10064c70
jmp 0x10064db3
cmp dword [esp + 0xd8], eax
mov dword [esp + 0x18], eax
jle 0x10064db3
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], edi
xor ebx, ebx
cmp dword [esp + 0xd4], ebx
jle 0x10064d93
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [ebp + ebx*4]
push edx
mov edx, dword [edi]
push eax
push esi
call fcn.1004aa40
add esp, 0x14
test eax, eax
je 0x10064d8a
add ebx, 1
add edi, 4
cmp ebx, dword [esp + 0xd4]
jl 0x10064d52
jmp 0x10064d93
cmp ebx, dword [esp + 0xd4]
jl 0x10064db3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
add ebp, dword [esp + 0x3c]
add dword [esp + 0x10], ecx
add eax, 1
cmp eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
jl 0x10064d43
mov edx, dword [esp + 0xd8]
cmp dword [esp + 0x18], edx
je 0x1006646a
mov ecx, dword [esp + 0x40]
add ecx, 1
cmp ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
jle 0x100647f0
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0xc8]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
add edi, 1
cmp edi, eax
mov dword [esp + 0x44], edi
jle 0x10064744
jmp 0x100662a2
cmp eax, 1
jne 0x100654ec
mov edi, dword [ebp + 0x24]
sub edi, dword [esp + 0xd8]
mov dword [esp + 0x44], edi
js 0x100662a2
mov eax, dword [ebp + 0x20]
sub eax, ebx
mov dword [esp + 0xa4], eax
lea esp, [esp]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x40], ecx
jl 0x100654da
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x9c]
imul edx, eax
imul edi, eax
mov ebp, dword [esp + 0xb4]
imul ebx, eax
lea ebx, [ebx + ebp*4]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0xa0]
imul ebx, eax
lea ebx, [ebx + ebp*4]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0xa8]
lea edx, [edx + ebx*4]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x94]
imul edx, eax
mov eax, dword [esp + 0xac]
lea edx, [edx + eax*4]
movzx eax, byte [esp + 0x6e]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x88], edx
movzx edx, ah
and eax, 0xff
mov dword [esp + 0x84], edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x80], eax
jmp 0x10064ee7
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x90]
lea edi, [edi + ecx*4]
add edi, dword [esp + 0xc4]
mov ecx, dword [esp + 0x7c]
mov eax, dword [eax + edi]
mov edx, dword [ecx + edi]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [ecx + edi]
mov ecx, dword [esp + 0x88]
mov ecx, dword [ecx + edi]
movzx ebp, ah
mov dword [esp + 0x54], ecx
mov ecx, eax
and eax, 0xff
shr ecx, 0x10
mov dword [esp + 0x1c], eax
and ecx, 0xff
mov dword [esp + 0x14], ebp
mov ebp, ecx
sub ebp, esi
mov eax, 0
sets al
mov dword [esp + 0x10], 0xff
sub eax, 1
and eax, ebp
mov ebp, dword [esp + 0x14]
sub ebp, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, 0
sets al
sub eax, 1
and eax, ebp
mov ebp, dword [esp + 0x1c]
sub ebp, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, 0
sets al
add ecx, esi
sub eax, 1
and eax, ebp
cmp ecx, 0xff
jg 0x10064f8e
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
add ecx, ebp
cmp ecx, 0xff
mov dword [esp + 0x14], 0xff
jg 0x10064fac
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
add ecx, ebp
cmp ecx, 0xff
mov dword [esp + 0x1c], 0xff
jg 0x10064fca
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc8]
cmp ecx, dword [esp + 0x2c]
jl 0x100654b4
cmp ecx, dword [esp + 0x10]
jg 0x100654b4
mov ecx, dword [esp + 0x50]
cmp ecx, dword [esp + 0x28]
jl 0x100654b4
cmp ecx, dword [esp + 0x14]
jg 0x100654b4
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jl 0x100654b4
cmp ecx, dword [esp + 0x1c]
jg 0x100654b4
movzx ecx, dh
mov eax, edx
and edx, 0xff
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
movzx edx, byte [esp + 0x66]
shr eax, 0x10
and eax, 0xff
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x64]
movzx ecx, dh
mov dword [esp + 0x30], ecx
and edx, 0xff
mov ebp, eax
sub ebp, esi
mov ecx, 0
sets cl
mov dword [esp + 0x10], 0xff
sub ecx, 1
and ecx, ebp
mov ebp, dword [esp + 0x14]
sub ebp, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, 0
sets cl
sub ecx, 1
and ecx, ebp
mov ebp, dword [esp + 0x1c]
sub ebp, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov ecx, 0
sets cl
add eax, esi
sub ecx, 1
and ebp, ecx
cmp eax, 0xff
jg 0x100650a3
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
add ecx, eax
cmp ecx, 0xff
mov dword [esp + 0x14], 0xff
jg 0x100650c1
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add ecx, eax
cmp ecx, 0xff
mov dword [esp + 0x1c], 0xff
jg 0x100650df
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x28]
jl 0x100654b4
cmp eax, dword [esp + 0x10]
jg 0x100654b4
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x38]
jl 0x100654b4
cmp eax, dword [esp + 0x14]
jg 0x100654b4
cmp edx, ebp
jl 0x100654b4
cmp edx, dword [esp + 0x1c]
jg 0x100654b4
movzx ecx, byte [esp + 0x5e]
mov eax, ebx
movzx edx, bh
and ebx, 0xff
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x5c]
shr eax, 0x10
movzx ebx, ch
and eax, 0xff
mov dword [esp + 0x30], ebx
mov ebp, ecx
and ebp, 0xff
mov ecx, eax
sub ecx, esi
mov ebx, 0
sets bl
sub ebx, 1
and ebx, ecx
mov dword [esp + 0x28], ebx
mov ecx, edx
sub ecx, dword [esp + 0x24]
mov ebx, 0
sets bl
sub ebx, 1
and ebx, ecx
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ebx
mov ebx, 0
sets bl
add eax, esi
sub ebx, 1
and ebx, ecx
mov ecx, 0xff
cmp eax, ecx
mov dword [esp + 0x1c], ecx
jg 0x100651a8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
add edx, eax
cmp edx, ecx
mov dword [esp + 0x10], ecx
jg 0x100651ba
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add ecx, edx
cmp ecx, 0xff
mov edx, 0xff
jg 0x100651d3
mov edx, ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x28]
jl 0x100654b4
cmp ecx, dword [esp + 0x1c]
jg 0x100654b4
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x38]
jl 0x100654b4
cmp eax, dword [esp + 0x10]
jg 0x100654b4
cmp ebp, ebx
jl 0x100654b4
cmp ebp, edx
jg 0x100654b4
mov ecx, dword [esp + 0x54]
mov eax, ecx
movzx ebx, ch
and ecx, 0xff
mov dword [esp + 0x14], ecx
movzx ecx, byte [esp + 0x62]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x60]
movzx edx, ch
shr eax, 0x10
mov ebp, ecx
and eax, 0xff
mov dword [esp + 0x30], edx
and ebp, 0xff
mov edx, eax
sub edx, esi
mov ecx, 0
sets cl
sub ecx, 1
and ecx, edx
mov dword [esp + 0x28], ecx
mov edx, ebx
sub edx, dword [esp + 0x24]
mov ecx, 0
sets cl
sub ecx, 1
and ecx, edx
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov ecx, 0
sets cl
add eax, esi
sub ecx, 1
and edx, ecx
cmp eax, 0xff
jle 0x10065299
mov eax, 0xff
mov ecx, dword [esp + 0x24]
add ebx, ecx
cmp ebx, 0xff
mov dword [esp + 0x1c], 0xff
jg 0x100652b3
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add ecx, ebx
cmp ecx, 0xff
mov ebx, 0xff
jg 0x100652cc
mov ebx, ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x28]
jl 0x100654b4
cmp ecx, eax
jg 0x100654b4
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x38]
jl 0x100654b4
cmp ecx, dword [esp + 0x1c]
jg 0x100654b4
cmp ebp, edx
jl 0x100654b4
cmp ebp, ebx
jg 0x100654b4
xor ecx, ecx
cmp dword [esp + 0x78], ecx
jne 0x1006541e
cmp dword [esp + 0x68], ecx
jne 0x1006541e
cmp esi, ecx
jne 0x1006541e
cmp dword [esp + 0x24], ecx
jne 0x1006541e
cmp dword [esp + 0x20], ecx
jne 0x1006541e
cmp dword [esp + 0xd8], ecx
mov dword [esp + 0x18], ecx
jle 0x100654a3
mov ebp, dword [esp + 0x34]
mov edx, edi
mov dword [esp + 0x14], edx
jmp 0x10065360
mov eax, dword [esp + 0xd4]
add eax, eax
add eax, eax
cmp eax, 4
mov ecx, ebp
jb 0x10065386
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x1006538a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10065372
test eax, eax
je 0x100653e7
movzx edi, byte [ecx]
movzx ebx, byte [edx]
sub ebx, edi
jne 0x100653d9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100653e7
movzx edi, byte [ecx]
movzx ebx, byte [edx]
sub ebx, edi
jne 0x100653d9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100653e7
movzx edi, byte [ecx]
movzx ebx, byte [edx]
sub ebx, edi
jne 0x100653d9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100653e7
movzx eax, byte [ecx]
movzx ebx, byte [edx]
sub ebx, eax
je 0x100653e7
test ebx, ebx
mov eax, 1
jg 0x100653e9
or eax, 0xffffffff
jmp 0x100653e9
xor eax, eax
test eax, eax
jne 0x100654a3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add edx, dword [esp + 0x4c]
add ebp, dword [esp + 0x3c]
add eax, 1
cmp eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x10065360
jmp 0x100654a3
cmp dword [esp + 0xd8], ecx
mov dword [esp + 0x18], ecx
jle 0x100654a3
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], edi
xor ebx, ebx
cmp dword [esp + 0xd4], ebx
jle 0x10065483
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [edi]
push eax
push ecx
mov ecx, dword [ebp + ebx*4]
push esi
call fcn.1004aa40
add esp, 0x14
test eax, eax
je 0x1006547a
add ebx, 1
add edi, 4
cmp ebx, dword [esp + 0xd4]
jl 0x10065442
jmp 0x10065483
cmp ebx, dword [esp + 0xd4]
jl 0x100654a3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
add ebp, dword [esp + 0x3c]
add dword [esp + 0x10], edx
add eax, 1
cmp eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
jl 0x10065433
mov eax, dword [esp + 0xd8]
cmp dword [esp + 0x18], eax
je 0x1006630c
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xa4]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x40], ecx
jle 0x10064ee0
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
sub edi, 1
mov dword [esp + 0x44], edi
jns 0x10064e30
jmp 0x100662a2
cmp eax, 2
jne 0x10065bd0
mov eax, dword [ebp + 0x24]
xor edi, edi
sub eax, dword [esp + 0xd8]
mov dword [esp + 0x44], edi
mov dword [esp + 0xa4], eax
js 0x100662a2
mov ecx, dword [ebp + 0x20]
sub ecx, ebx
mov dword [esp + 0x1c], ecx
jmp 0x10065520
test ecx, ecx
mov dword [esp + 0x40], ecx
jl 0x10065bbc
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x9c]
imul edx, eax
imul edi, eax
mov ebp, dword [esp + 0xb4]
imul ebx, eax
lea ebx, [ebx + ebp*4]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0xa0]
imul ebx, eax
lea ebx, [ebx + ebp*4]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0xa8]
lea edx, [edx + ebx*4]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x94]
imul edx, eax
mov eax, dword [esp + 0xac]
lea edx, [edx + eax*4]
movzx eax, byte [esp + 0x6e]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x88], edx
movzx edx, ah
and eax, 0xff
mov dword [esp + 0x84], edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x80], eax
jmp 0x100655c8
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x90]
lea edi, [edi + ecx*4]
add edi, dword [esp + 0xc4]
mov ecx, dword [esp + 0x7c]
mov eax, dword [eax + edi]
mov edx, dword [ecx + edi]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [ecx + edi]
mov ecx, dword [esp + 0x88]
mov ecx, dword [ecx + edi]
movzx ebp, ah
mov dword [esp + 0x54], ecx
mov ecx, eax
and eax, 0xff
shr ecx, 0x10
mov dword [esp + 0x10], eax
and ecx, 0xff
mov dword [esp + 0x14], ebp
mov ebp, ecx
sub ebp, esi
mov eax, 0
sets al
mov dword [esp + 0x18], 0xff
sub eax, 1
and eax, ebp
mov ebp, dword [esp + 0x14]
sub ebp, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, 0
sets al
sub eax, 1
and eax, ebp
mov ebp, dword [esp + 0x10]
sub ebp, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, 0
sets al
add ecx, esi
sub eax, 1
and eax, ebp
cmp ecx, 0xff
jg 0x1006566f
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
add ecx, ebp
cmp ecx, 0xff
mov dword [esp + 0x14], 0xff
jg 0x1006568d
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
add ecx, ebp
cmp ecx, 0xff
mov dword [esp + 0x10], 0xff
jg 0x100656ab
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc8]
cmp ecx, dword [esp + 0x2c]
jl 0x10065b94
cmp ecx, dword [esp + 0x18]
jg 0x10065b94
mov ecx, dword [esp + 0x50]
cmp ecx, dword [esp + 0x28]
jl 0x10065b94
cmp ecx, dword [esp + 0x14]
jg 0x10065b94
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jl 0x10065b94
cmp ecx, dword [esp + 0x10]
jg 0x10065b94
movzx ecx, dh
mov eax, edx
and edx, 0xff
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
movzx edx, byte [esp + 0x66]
shr eax, 0x10
and eax, 0xff
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x64]
movzx ecx, dh
mov dword [esp + 0x30], ecx
and edx, 0xff
mov ebp, eax
sub ebp, esi
mov ecx, 0
sets cl
mov dword [esp + 0x18], 0xff
sub ecx, 1
and ecx, ebp
mov ebp, dword [esp + 0x14]
sub ebp, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, 0
sets cl
sub ecx, 1
and ecx, ebp
mov ebp, dword [esp + 0x10]
sub ebp, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov ecx, 0
sets cl
add eax, esi
sub ecx, 1
and ebp, ecx
cmp eax, 0xff
jg 0x10065784
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
add ecx, eax
cmp ecx, 0xff
mov dword [esp + 0x14], 0xff
jg 0x100657a2
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add ecx, eax
cmp ecx, 0xff
mov dword [esp + 0x10], 0xff
jg 0x100657c0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x28]
jl 0x10065b94
cmp eax, dword [esp + 0x18]
jg 0x10065b94
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x38]
jl 0x10065b94
cmp eax, dword [esp + 0x14]
jg 0x10065b94
cmp edx, ebp
jl 0x10065b94
cmp edx, dword [esp + 0x10]
jg 0x10065b94
movzx ecx, byte [esp + 0x5e]
mov eax, ebx
movzx edx, bh
and ebx, 0xff
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x5c]
shr eax, 0x10
movzx ebx, ch
and eax, 0xff
mov dword [esp + 0x30], ebx
mov ebp, ecx
and ebp, 0xff
mov ecx, eax
sub ecx, esi
mov ebx, 0
sets bl
sub ebx, 1
and ebx, ecx
mov dword [esp + 0x28], ebx
mov ecx, edx
sub ecx, dword [esp + 0x24]
mov ebx, 0
sets bl
sub ebx, 1
and ebx, ecx
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ebx
mov ebx, 0
sets bl
add eax, esi
sub ebx, 1
and ebx, ecx
mov ecx, 0xff
cmp eax, ecx
mov dword [esp + 0x10], ecx
jg 0x10065889
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
add edx, eax
cmp edx, ecx
mov dword [esp + 0x18], ecx
jg 0x1006589b
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add ecx, edx
cmp ecx, 0xff
mov edx, 0xff
jg 0x100658b4
mov edx, ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x28]
jl 0x10065b94
cmp ecx, dword [esp + 0x10]
jg 0x10065b94
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x38]
jl 0x10065b94
cmp eax, dword [esp + 0x18]
jg 0x10065b94
cmp ebp, ebx
jl 0x10065b94
cmp ebp, edx
jg 0x10065b94
mov ecx, dword [esp + 0x54]
mov eax, ecx
movzx ebx, ch
and ecx, 0xff
mov dword [esp + 0x14], ecx
movzx ecx, byte [esp + 0x62]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x60]
movzx edx, ch
shr eax, 0x10
mov ebp, ecx
and eax, 0xff
mov dword [esp + 0x30], edx
and ebp, 0xff
mov edx, eax
sub edx, esi
mov ecx, 0
sets cl
sub ecx, 1
and ecx, edx
mov dword [esp + 0x28], ecx
mov edx, ebx
sub edx, dword [esp + 0x24]
mov ecx, 0
sets cl
sub ecx, 1
and ecx, edx
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov ecx, 0
sets cl
add eax, esi
sub ecx, 1
and edx, ecx
cmp eax, 0xff
jle 0x1006597a
mov eax, 0xff
mov ecx, dword [esp + 0x24]
add ebx, ecx
cmp ebx, 0xff
mov dword [esp + 0x10], 0xff
jg 0x10065994
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add ecx, ebx
cmp ecx, 0xff
mov ebx, 0xff
jg 0x100659ad
mov ebx, ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x28]
jl 0x10065b94
cmp ecx, eax
jg 0x10065b94
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x38]
jl 0x10065b94
cmp ecx, dword [esp + 0x10]
jg 0x10065b94
cmp ebp, edx
jl 0x10065b94
cmp ebp, ebx
jg 0x10065b94
xor ecx, ecx
cmp dword [esp + 0x78], ecx
jne 0x10065afe
cmp dword [esp + 0x68], ecx
jne 0x10065afe
cmp esi, ecx
jne 0x10065afe
cmp dword [esp + 0x24], ecx
jne 0x10065afe
cmp dword [esp + 0x20], ecx
jne 0x10065afe
cmp dword [esp + 0xd8], ecx
mov dword [esp + 0x18], ecx
jle 0x10065b83
mov ebp, dword [esp + 0x34]
mov edx, edi
mov dword [esp + 0x14], edx
jmp 0x10065a40
mov eax, dword [esp + 0xd4]
add eax, eax
add eax, eax
cmp eax, 4
mov ecx, ebp
jb 0x10065a66
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x10065a6a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10065a52
test eax, eax
je 0x10065ac7
movzx ebx, byte [edx]
movzx edi, byte [ecx]
sub ebx, edi
jne 0x10065ab9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10065ac7
movzx ebx, byte [edx]
movzx edi, byte [ecx]
sub ebx, edi
jne 0x10065ab9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10065ac7
movzx ebx, byte [edx]
movzx edi, byte [ecx]
sub ebx, edi
jne 0x10065ab9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10065ac7
movzx ebx, byte [edx]
movzx edx, byte [ecx]
sub ebx, edx
je 0x10065ac7
test ebx, ebx
mov eax, 1
jg 0x10065ac9
or eax, 0xffffffff
jmp 0x10065ac9
xor eax, eax
test eax, eax
jne 0x10065b83
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add edx, dword [esp + 0x4c]
add ebp, dword [esp + 0x3c]
add eax, 1
cmp eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x10065a40
jmp 0x10065b83
cmp dword [esp + 0xd8], ecx
mov dword [esp + 0x18], ecx
jle 0x10065b83
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], edi
xor ebx, ebx
cmp dword [esp + 0xd4], ebx
jle 0x10065b63
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [ebp + ebx*4]
push edx
mov edx, dword [edi]
push eax
push esi
call fcn.1004aa40
add esp, 0x14
test eax, eax
je 0x10065b5a
add ebx, 1
add edi, 4
cmp ebx, dword [esp + 0xd4]
jl 0x10065b22
jmp 0x10065b63
cmp ebx, dword [esp + 0xd4]
jl 0x10065b83
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
add ebp, dword [esp + 0x3c]
add dword [esp + 0x10], ecx
add eax, 1
cmp eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
jl 0x10065b13
mov edx, dword [esp + 0xd8]
cmp dword [esp + 0x18], edx
je 0x10066413
mov ecx, dword [esp + 0x40]
sub ecx, 1
mov dword [esp + 0x40], ecx
jns 0x100655c1
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0x44]
add edi, 1
cmp edi, eax
mov dword [esp + 0x44], edi
jle 0x10065520
jmp 0x100662a2
cmp eax, 3
jne 0x100662a2
mov edi, dword [ebp + 0x24]
sub edi, dword [esp + 0xd8]
mov dword [esp + 0x44], edi
js 0x100662a2
mov ecx, dword [ebp + 0x20]
sub ecx, ebx
mov dword [esp + 0x1c], ecx
jmp 0x10065c00
test ecx, ecx
mov dword [esp + 0x40], ecx
jl 0x10066295
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x9c]
imul edx, eax
imul edi, eax
mov ebp, dword [esp + 0xb4]
imul ebx, eax
lea ebx, [ebx + ebp*4]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0xa0]
imul ebx, eax
lea ebx, [ebx + ebp*4]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0xa8]
lea edx, [edx + ebx*4]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x94]
imul edx, eax
mov eax, dword [esp + 0xac]
lea edx, [edx + eax*4]
movzx eax, byte [esp + 0x6e]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x88], edx
movzx edx, ah
and eax, 0xff
mov dword [esp + 0x84], edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x80], eax
jmp 0x10065ca8
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x90]
lea edi, [edi + ecx*4]
add edi, dword [esp + 0xc4]
mov ecx, dword [esp + 0x7c]
mov eax, dword [eax + edi]
mov edx, dword [ecx + edi]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [ecx + edi]
mov ecx, dword [esp + 0x88]
mov ecx, dword [ecx + edi]
movzx ebp, ah
mov dword [esp + 0x54], ecx
mov ecx, eax
and eax, 0xff
shr ecx, 0x10
mov dword [esp + 0x10], eax
and ecx, 0xff
mov dword [esp + 0x14], ebp
mov ebp, ecx
sub ebp, esi
mov eax, 0
sets al
mov dword [esp + 0x18], 0xff
sub eax, 1
and eax, ebp
mov ebp, dword [esp + 0x14]
sub ebp, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, 0
sets al
sub eax, 1
and eax, ebp
mov ebp, dword [esp + 0x10]
sub ebp, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, 0
sets al
add ecx, esi
sub eax, 1
and eax, ebp
cmp ecx, 0xff
jg 0x10065d4f
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
add ecx, ebp
cmp ecx, 0xff
mov dword [esp + 0x14], 0xff
jg 0x10065d6d
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
add ecx, ebp
cmp ecx, 0xff
mov dword [esp + 0x10], 0xff
jg 0x10065d8b
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc8]
cmp ecx, dword [esp + 0x2c]
jl 0x10066274
cmp ecx, dword [esp + 0x18]
jg 0x10066274
mov ecx, dword [esp + 0x50]
cmp ecx, dword [esp + 0x28]
jl 0x10066274
cmp ecx, dword [esp + 0x14]
jg 0x10066274
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jl 0x10066274
cmp ecx, dword [esp + 0x10]
jg 0x10066274
movzx ecx, dh
mov eax, edx
and edx, 0xff
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
movzx edx, byte [esp + 0x66]
shr eax, 0x10
and eax, 0xff
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x64]
movzx ecx, dh
mov dword [esp + 0x30], ecx
and edx, 0xff
mov ebp, eax
sub ebp, esi
mov ecx, 0
sets cl
mov dword [esp + 0x18], 0xff
sub ecx, 1
and ecx, ebp
mov ebp, dword [esp + 0x14]
sub ebp, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, 0
sets cl
sub ecx, 1
and ecx, ebp
mov ebp, dword [esp + 0x10]
sub ebp, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov ecx, 0
sets cl
add eax, esi
sub ecx, 1
and ebp, ecx
cmp eax, 0xff
jg 0x10065e64
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
add ecx, eax
cmp ecx, 0xff
mov dword [esp + 0x14], 0xff
jg 0x10065e82
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add ecx, eax
cmp ecx, 0xff
mov dword [esp + 0x10], 0xff
jg 0x10065ea0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x28]
jl 0x10066274
cmp eax, dword [esp + 0x18]
jg 0x10066274
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x38]
jl 0x10066274
cmp eax, dword [esp + 0x14]
jg 0x10066274
cmp edx, ebp
jl 0x10066274
cmp edx, dword [esp + 0x10]
jg 0x10066274
movzx ecx, byte [esp + 0x5e]
mov eax, ebx
movzx edx, bh
and ebx, 0xff
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x5c]
shr eax, 0x10
movzx ebx, ch
and eax, 0xff
mov dword [esp + 0x30], ebx
mov ebp, ecx
and ebp, 0xff
mov ecx, eax
sub ecx, esi
mov ebx, 0
sets bl
sub ebx, 1
and ebx, ecx
mov dword [esp + 0x28], ebx
mov ecx, edx
sub ecx, dword [esp + 0x24]
mov ebx, 0
sets bl
sub ebx, 1
and ebx, ecx
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ebx
mov ebx, 0
sets bl
add eax, esi
sub ebx, 1
and ebx, ecx
mov ecx, 0xff
cmp eax, ecx
mov dword [esp + 0x10], ecx
jg 0x10065f69
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
add edx, eax
cmp edx, ecx
mov dword [esp + 0x18], ecx
jg 0x10065f7b
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add ecx, edx
cmp ecx, 0xff
mov edx, 0xff
jg 0x10065f94
mov edx, ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x28]
jl 0x10066274
cmp ecx, dword [esp + 0x10]
jg 0x10066274
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x38]
jl 0x10066274
cmp eax, dword [esp + 0x18]
jg 0x10066274
cmp ebp, ebx
jl 0x10066274
cmp ebp, edx
jg 0x10066274
mov ecx, dword [esp + 0x54]
mov eax, ecx
movzx ebx, ch
and ecx, 0xff
mov dword [esp + 0x14], ecx
movzx ecx, byte [esp + 0x62]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x60]
movzx edx, ch
shr eax, 0x10
mov ebp, ecx
and eax, 0xff
mov dword [esp + 0x30], edx
and ebp, 0xff
mov edx, eax
sub edx, esi
mov ecx, 0
sets cl
sub ecx, 1
and ecx, edx
mov dword [esp + 0x28], ecx
mov edx, ebx
sub edx, dword [esp + 0x24]
mov ecx, 0
sets cl
sub ecx, 1
and ecx, edx
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov ecx, 0
sets cl
add eax, esi
sub ecx, 1
and edx, ecx
cmp eax, 0xff
jle 0x1006605a
mov eax, 0xff
mov ecx, dword [esp + 0x24]
add ebx, ecx
cmp ebx, 0xff
mov dword [esp + 0x10], 0xff
jg 0x10066074
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add ecx, ebx
cmp ecx, 0xff
mov ebx, 0xff
jg 0x1006608d
mov ebx, ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x28]
jl 0x10066274
cmp ecx, eax
jg 0x10066274
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x38]
jl 0x10066274
cmp ecx, dword [esp + 0x10]
jg 0x10066274
cmp ebp, edx
jl 0x10066274
cmp ebp, ebx
jg 0x10066274
xor eax, eax
cmp dword [esp + 0x78], eax
jne 0x100661de
cmp dword [esp + 0x68], eax
jne 0x100661de
cmp esi, eax
jne 0x100661de
cmp dword [esp + 0x24], eax
jne 0x100661de
cmp dword [esp + 0x20], eax
jne 0x100661de
cmp dword [esp + 0xd8], eax
mov dword [esp + 0x18], eax
jle 0x10066263
mov ebp, dword [esp + 0x34]
mov edx, edi
mov dword [esp + 0x14], edx
jmp 0x10066120
mov eax, dword [esp + 0xd4]
add eax, eax
add eax, eax
cmp eax, 4
mov ecx, ebp
jb 0x10066146
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x1006614a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10066132
test eax, eax
je 0x100661a7
movzx edi, byte [ecx]
movzx ebx, byte [edx]
sub ebx, edi
jne 0x10066199
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100661a7
movzx edi, byte [ecx]
movzx ebx, byte [edx]
sub ebx, edi
jne 0x10066199
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100661a7
movzx edi, byte [ecx]
movzx ebx, byte [edx]
sub ebx, edi
jne 0x10066199
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100661a7
movzx eax, byte [ecx]
movzx ebx, byte [edx]
sub ebx, eax
je 0x100661a7
test ebx, ebx
mov eax, 1
jg 0x100661a9
or eax, 0xffffffff
jmp 0x100661a9
xor eax, eax
test eax, eax
jne 0x10066263
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add edx, dword [esp + 0x4c]
add ebp, dword [esp + 0x3c]
add eax, 1
cmp eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x10066120
jmp 0x10066263
cmp dword [esp + 0xd8], eax
mov dword [esp + 0x18], eax
jle 0x10066263
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], edi
xor ebx, ebx
cmp dword [esp + 0xd4], ebx
jle 0x10066243
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [edi]
push eax
push ecx
mov ecx, dword [ebp + ebx*4]
push esi
call fcn.1004aa40
add esp, 0x14
test eax, eax
je 0x1006623a
add ebx, 1
add edi, 4
cmp ebx, dword [esp + 0xd4]
jl 0x10066202
jmp 0x10066243
cmp ebx, dword [esp + 0xd4]
jl 0x10066263
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
add ebp, dword [esp + 0x3c]
add dword [esp + 0x10], edx
add eax, 1
cmp eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
jl 0x100661f3
mov eax, dword [esp + 0xd8]
cmp dword [esp + 0x18], eax
je 0x1006646a
mov ecx, dword [esp + 0x40]
sub ecx, 1
mov dword [esp + 0x40], ecx
jns 0x10065ca1
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
sub edi, 1
mov dword [esp + 0x44], edi
jns 0x10065c00
cmp dword [ebp + 0x10], 0
jne 0x100662b5
mov ecx, dword [esp + 0x70]
cmp dword [ecx + 0x32fc], 0
jne 0x100662c5
mov edx, dword [esp + 0x98]
push edx
call fcn.100f5c3f
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x100662ed
mov eax, dword [esp + 0x34]
jmp 0x100662e4
cmp dword [ebp + 0x10], 0
jne 0x100662e4
mov ecx, dword [esp + 0x70]
cmp dword [ecx + 0x32fc], 0
jne 0x100662ed
push eax
call fcn.100f5c3f
add esp, 4
mov eax, dword [esp + 0xb8]
add eax, 1
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0xb8], eax
jle 0x100642b0
jmp 0x100663fa
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x48]
cmp dword [ebx + 0x10], 0
mov edx, dword [esp + 0x44]
lea esi, [eax + ecx]
mov eax, dword [esp + 0xc0]
lea edi, [edx + eax]
jne 0x1006633f
mov ecx, dword [esp + 0x70]
cmp dword [ecx + 0x32fc], 0
jne 0x1006634f
mov edx, dword [esp + 0x98]
push edx
call fcn.100f5c3f
add esp, 4
cmp dword [ebx + 0x18], 0
je 0x10066362
mov eax, dword [esp + 0x34]
push eax
call fcn.100f5c3f
add esp, 4
mov al, 0x64
push edi
mov cl, 0x25
mov byte [esp + 0x109], al
mov byte [esp + 0x10c], al
mov byte [esp + 0x10f], al
mov eax, dword [esp + 0xbc]
push esi
mov dl, 0x7c
mov byte [esp + 0x10c], cl
mov byte [esp + 0x10f], cl
mov byte [esp + 0x112], cl
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x112], dl
mov byte [esp + 0x115], dl
push ecx
lea edx, [esp + 0x120]
push edx
mov byte [esp + 0x120], 0
call fcn.100f7960
lea eax, [esp + 0x124]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100663d4
sub eax, edx
lea eax, [esp + eax + 0x110]
push eax
lea ecx, [esp + 0x114]
push ecx
mov ecx, dword [ebx + 0x168]
call fcn.1000c6a0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x204]
pop ebp
xor ecx, esp
call fcn.100f611a
add esp, 0x204
ret
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x48]
cmp dword [ebx + 0x10], 0
mov eax, dword [esp + 0x44]
lea esi, [ecx + edx]
mov ecx, dword [esp + 0xc0]
lea edi, [eax + ecx]
jne 0x10066446
mov edx, dword [esp + 0x70]
cmp dword [edx + 0x32fc], 0
jne 0x10066456
mov eax, dword [esp + 0x98]
push eax
call fcn.100f5c3f
add esp, 4
cmp dword [ebx + 0x18], 0
je 0x10066362
mov ecx, dword [esp + 0x34]
push ecx
jmp 0x1006635a
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0x48]
cmp dword [ebx + 0x10], 0
mov ecx, dword [esp + 0x44]
lea esi, [edx + eax]
mov edx, dword [esp + 0xc0]
lea edi, [ecx + edx]
jne 0x1006649d
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x32fc], 0
jne 0x100664ad
mov ecx, dword [esp + 0x98]
push ecx
call fcn.100f5c3f
add esp, 4
cmp dword [ebx + 0x18], 0
je 0x10066362
mov edx, dword [esp + 0x34]
push edx
jmp 0x1006635a
jmp fcn.100e4be9