Function at 0x10064da0
Capabilities:
Access peb ldr_data
Check os version
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov ebx, dword [ebx]
push eax
mov esi, dword [ebx + 0x30]
mov eax, esi
call fcn.10066baa
test eax, eax
jbe 0x10064dff
mov edx, eax
xor ecx, ecx
shr edx, 1
je 0x100668dc
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], ebx
movzx ebx, word [esi + edi*4]
cmp ebx, 0x41
jl 0x10064d9e
cmp ebx, 0x5a
lea eax, [ebx + 0x20]
cmovle ebx, eax
imul ecx, ecx, 0x1003f
movzx ebx, bx
aas
add byte [ecx], al
add byte [edi], cl
mov bh, 0xdb
add ecx, ebx
movzx ebx, word [esi + edi*4 + 2]
cmp ebx, 0x41
jl 0x10064dbc
cmp ebx, 0x5a
lea eax, [ebx + 0x20]
cmovle ebx, eax
imul ecx, ecx, 0x1003f
inc edi
movzx ebx, bx
add ecx, ebx
cmp edi, edx
jb 0x10064d8c
mov eax, dword [esp + 0x14]
lea edi, [edi + edi + 1]
mov ebx, dword [esp + 0x10]
lea edx, [edi - 1]
cmp edx, eax
jae 0x10064e01
movzx edx, word [esi + edi*2 - 2]
cmp edx, 0x41
jl 0x10064df2
cmp edx, 0x5a
lea eax, [edx + 0x20]
cmovle edx, eax
imul ecx, ecx, 0x1003f
movzx eax, dx
add ecx, eax
jmp 0x10064e01
xor ecx, ecx
cmp ecx, 0xdfacee7b
jne 0x10064d61
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], eax
mov ebx, dword [eax + 0xbf5f8]
mov esi, dword [eax + 0xbf5fc]
test ebx, ebx
jbe 0x10064edf
cmp ebx, 6
jbe 0x10064e4c
lea edx, [esp + 0x20]
lea eax, [eax + 0xbf600]
neg eax
add eax, edx
lea edx, [ebx*4]
cmp eax, edx
jge 0x10064e97
neg eax
cmp eax, edx
jge 0x10064e97
mov eax, ebx
shr eax, 1
je 0x100668e6
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov edi, dword [edx + ecx*8 + 0xbf600]
add edi, esi
mov dword [esp + ecx*8 + 0x20], edi
mov edi, dword [edx + ecx*8 + 0xbf604]
add edi, esi
mov dword [esp + ecx*8 + 0x24], edi
inc ecx
cmp ecx, eax
jb 0x10064e5c
lea edx, [ecx + ecx + 1]
lea eax, [edx - 1]
cmp eax, ebx
jae 0x10064edf
mov eax, dword [esp + 0x14]
add esi, dword [eax + edx*4 + 0xbf5fc]
mov dword [esp + edx*4 + 0x1c], esi
jmp 0x10064edf
mov eax, ebx
movd xmm0, esi
pshufd xmm0, xmm0, 0
and eax, 0xfffffffc
mov ecx, dword [esp + 0x14]
xor edx, edx
movdqu xmm1, xmmword [ecx + edx*4 + 0xbf600]
paddd xmm1, xmm0
movdqu xmmword [esp + edx*4 + 0x20], xmm1
add edx, 4
cmp edx, eax
jb 0x10064eab
cmp eax, ebx
jae 0x10064edf
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax*4 + 0xbf600]
add edx, esi
mov dword [esp + eax*4 + 0x20], edx
inc eax
cmp eax, ebx
jb 0x10064ecd
mov edi, dword [esp + 0x40]
mov edx, dword fs:[0x30]
mov dword [esp + 0x10], edx
mov esi, dword [edx + 0xc]
xor edx, edx
add esi, 0xc
mov esi, dword [esi]
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x10064ef6
test edi, edi
je 0x10064f42
movzx eax, word [ebx]
mov ecx, edx
test eax, eax
je 0x10064f3e
mov dword [esp + 0x18], edi
mov eax, edx
movzx edi, word [ebx + eax*2]
cmp edi, 0x41
jl 0x10064f24
cmp edi, 0x5a
lea edx, [edi + 0x20]
cmovle edi, edx
inc eax
movzx edx, di
add ecx, edx
movzx edi, word [ebx + eax*2]
test edi, edi
jne 0x10064f12
nop word [eax + eax]
mov edi, dword [esp + 0x18]
xor edx, edx
cmp edi, ecx
jne 0x10064ef6
mov edx, dword [esp + 0x10]
mov esi, dword [esi + 0x18]
mov ecx, dword [esp + 0x7c]
mov edx, dword [edx + 0xc]
xor ebx, ebx
mov dword [esp + 0xcc4], esi
add edx, 0xc
mov edx, dword [edx]
mov edi, dword [edx + 0x30]
test edi, edi
je 0x10064f5c
test ecx, ecx
je 0x10064fa8
movzx eax, word [edi]
mov esi, ebx
test eax, eax
je 0x10064fa4
mov dword [esp + 0x10], ecx
mov eax, ebx
movzx ebx, word [edi + eax*2]
cmp ebx, 0x41
jl 0x10064f8a
cmp ebx, 0x5a
lea ecx, [ebx + 0x20]
cmovle ebx, ecx
inc eax
movzx ecx, bx
add esi, ecx
movzx ebx, word [edi + eax*2]
test ebx, ebx
jne 0x10064f78
nop word [eax + eax]
mov ecx, dword [esp + 0x10]
xor ebx, ebx
cmp ecx, esi
jne 0x10064f5c
mov edx, dword [edx + 0x18]
mov esi, dword [esp + 0xcc4]
mov dword [esp + 0xabc], edx
add esp, 0xfffffff4
mov eax, esi
mov edx, dword [esp + 0xa0]
lea ecx, [esp + 0x2c]
call fcn.10066902
mov dword [esp + 0x8cc], eax
add esp, 0xfffffff4
mov eax, esi
mov edx, dword [esp + 0x128]
lea ecx, [esp + 0x2c]
call fcn.10066902
mov ebx, eax
add esp, 0xfffffff4
mov eax, esi
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x2c]
call fcn.10066902
mov dword [esp + 0x8c4], eax
add esp, 0xfffffff4
mov eax, dword [esp + 0xac8]
lea ecx, [esp + 0x2c]
mov edx, dword [ecx + 0x70]
call fcn.10066902
mov dword [esp + 0x8c0], eax
add esp, 0xfffffff4
mov eax, esi
mov edx, dword [esp + 0x158]
lea ecx, [esp + 0x2c]
call fcn.10066902
mov dword [esp + 0x8bc], eax
add esp, 0xfffffff4
mov eax, esi
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x2c]
call fcn.10066902
mov dword [esp + 0x8b8], eax
add esp, 0xfffffff4
mov eax, dword [esp + 0xac8]
lea ecx, [esp + 0x2c]
mov edx, dword [ecx + 0x64]
call fcn.10066902
mov dword [esp + 0x8b4], eax
add esp, 0xfffffff4
mov eax, esi
mov edx, dword [esp + 0x130]
lea ecx, [esp + 0x2c]
call fcn.10066902
mov dword [esp + 0x8b0], eax
add esp, 0xfffffff4
mov eax, esi
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x2c]
call fcn.10066902
mov dword [esp + 0x8ac], eax
add esp, 0xfffffff4
mov eax, esi
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
call fcn.10066902
mov dword [esp + 0xcf0], eax
add esp, 0xfffffff4
mov eax, esi
mov edx, dword [esp + 0x15c]
lea ecx, [esp + 0x2c]
call fcn.10066902
mov dword [esp + 0x1c], eax
add esp, 0xfffffff4
mov eax, esi
mov edx, dword [esp + 0x164]
lea ecx, [esp + 0x2c]
call fcn.10066902
add esp, 0xfffffff4
mov eax, dword [esp + 0xac8]
lea ecx, [esp + 0x2c]
mov edx, dword [ecx + 0x34]
call fcn.10066902
mov edi, eax
push 0x80
push 0x40
call dword [esp + 0xcf8]
mov dword [esp + 0xcf4], eax
mov ecx, dword [esi + 0x3c]
xor eax, eax
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6b8], edx
mov ecx, dword [ecx + esi + 0x78]
mov dword [esp + 0x18], edi
mov dword [esp + 0x8c8], ebx
mov ebx, eax
mov edx, dword [ecx + esi + 0x20]
add edx, esi
mov dword [esp + 0x6c0], edx
mov edx, dword [ecx + esi + 0x1c]
add edx, esi
mov dword [esp + 0x6bc], edx
mov edx, dword [ecx + esi + 0x24]
add edx, esi
mov dword [esp + 0x6b4], edx
mov dword [esp + 0xcc4], esi
jmp 0x1006516f
inc ebx
mov ecx, dword [esp + 0x6c0]
mov edx, 0x208
mov esi, dword [esp + 0xcc4]
add esp, 0xfffffff8
lea eax, [esp + 0x4a4]
add esi, dword [ecx + ebx*4]
call fcn.10066be6
mov eax, esi
push eax
call fcn.100679ca
mov ecx, eax
test eax, eax
je 0x1006533c
cmp eax, 6
jbe 0x1006527f
mov dword [esp + 0x10], ecx
lea edx, [eax + esi]
neg edx
lea ecx, [esp + eax*2 + 0x49c]
add edx, ecx
lea edi, [eax + eax]
mov dword [esp + 0x6c4], ecx
mov ecx, dword [esp + 0x10]
cmp edx, edi
jg 0x100651dd
neg edx
cmp edx, eax
jle 0x1006527f
mov edi, eax
shr edi, 1
je 0x100653dc
xor ecx, ecx
lea edx, [esi + eax]
mov dword [esp + 0x6a8], esi
mov dword [esp + 0x6c8], edi
mov dword [esp + 0x6a4], eax
mov dword [esp + 0x6b0], ebx
mov esi, ecx
mov ebx, dword [esp + 0x6c4]
lea eax, [ecx*4]
neg eax
inc ecx
movsx edi, byte [esi + edx]
mov word [ebx + eax], di
movsx edi, byte [esi + edx - 1]
add esi, 0xfffffffe
mov word [ebx + eax - 2], di
cmp ecx, dword [esp + 0x6c8]
jb 0x1006520a
mov eax, dword [esp + 0x6a4]
lea edx, [ecx + ecx + 1]
mov esi, dword [esp + 0x6a8]
mov ebx, dword [esp + 0x6b0]
lea ecx, [edx - 1]
cmp ecx, eax
jae 0x10065272
lea ecx, [esi + eax]
sub ecx, edx
add edx, edx
neg edx
movsx edi, byte [ecx + 1]
mov ecx, dword [esp + 0x6c4]
mov word [edx + ecx + 2], di
lea edx, [eax + 1]
sub eax, edx
lea ecx, [eax + 1]
jmp 0x1006533c
mov edx, eax
shr edx, 1
mov dword [esp + 0x6cc], edx
je 0x100668d2
xor edx, edx
lea ecx, [esp + eax*2 + 0x49c]
mov dword [esp + 0x6ac], ecx
lea edi, [esi + eax]
mov dword [esp + 0x6a4], eax
xor ecx, ecx
mov dword [esp + 0x6a8], esi
mov dword [esp + 0x6b0], ebx
mov eax, dword [esp + 0x6ac]
movsx esi, byte [ecx + edi]
lea ebx, [edx*4]
neg ebx
inc edx
mov word [eax + ebx], si
movsx esi, byte [ecx + edi - 1]
add ecx, 0xfffffffe
mov word [eax + ebx - 2], si
cmp edx, dword [esp + 0x6cc]
jb 0x100652c1
mov eax, dword [esp + 0x6a4]
lea ecx, [edx + edx]
neg ecx
lea edx, [edx + edx + 1]
mov esi, dword [esp + 0x6a8]
add ecx, eax
mov ebx, dword [esp + 0x6b0]
lea edi, [edx - 1]
cmp edi, eax
jae 0x1006533c
mov dword [esp + 0x6a8], esi
lea edi, [esi + eax]
sub edi, edx
lea esi, [edx + edx]
neg esi
lea ecx, [esp + eax*2 + 0x49c]
movsx edi, byte [edi + 1]
mov word [esi + ecx + 2], di
mov ecx, eax
mov esi, dword [esp + 0x6a8]
sub ecx, edx
movsx edx, byte [ecx + esi]
mov word [esp + ecx*2 + 0x49c], dx
push eax
lea eax, [esp + 0x4a0]
call fcn.10066baa
mov ecx, eax
test ecx, ecx
jbe 0x100653b0
mov edx, ecx
xor eax, eax
mov esi, dword [esp + 0x38]
shr edx, 1
je 0x100653e6
mov dword [esp + 0x6b0], ebx
xor edi, edi
imul eax, esi
movzx ebx, word [esp + edi*4 + 0x49c]
add eax, ebx
imul eax, esi
movzx ebx, word [esp + edi*4 + 0x49e]
inc edi
add eax, ebx
cmp edi, edx
jb 0x10065370
mov ebx, dword [esp + 0x6b0]
lea edi, [edi + edi + 1]
lea edx, [edi - 1]
cmp edx, ecx
jae 0x100653b2
imul esi, eax
movzx eax, word [esp + edi*2 + 0x49a]
add eax, esi
jmp 0x100653b2
xor eax, eax
mov edx, dword [esp + 0x6b4]
mov ecx, dword [esp + 0x6bc]
movzx esi, word [edx + ebx*2]
mov edx, dword [esp + 0xcc4]
add edx, dword [ecx + esi*4]
cmp eax, dword [esp + 0x6b8]
je 0x100653ed
jmp 0x1006516e
mov edx, 1
jmp 0x10065252
mov edi, 1
jmp 0x1006539a
mov ecx, dword [esp + 0xcf4]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x8c8]
mov dword [ecx + 0x3c], edi
mov edi, dword [esp + 0xcf0]
mov dword [ecx + 0x64], edi
mov edi, dword [esp + 0x8b4]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x8c4]
mov dword [ecx + 0x4c], edi
mov edi, dword [esp + 0x8c0]
mov dword [ecx + 0x68], edx
mov edx, dword [esp + 0x8cc]
mov dword [ecx + 0x30], edi
mov edi, dword [esp + 0x8ac]
mov dword [ecx + 0x44], edx
mov edx, dword [esp + 0x8b0]
mov dword [ecx + 0x6c], edi
mov edi, dword [esp + 0x1c]
mov dword [ecx + 0x34], edx
mov edx, dword [esp + 0xabc]
mov dword [ecx + 0x54], edi
mov esi, dword [esp + 0xcc4]
mov eax, dword [esp + 0x8bc]
mov edi, dword [esp + 0x8b8]
mov dword [ecx + 4], esi
mov dword [ecx + 0x78], edx
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x70], edi
mov dword [ecx + 0x24], ebx
mov ecx, dword [edx + 0x3c]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x8dc], ebx
mov ecx, dword [ecx + edx + 0x78]
mov eax, dword [ecx + edx + 0x20]
mov edi, dword [ecx + edx + 0x1c]
add eax, edx
mov ecx, dword [ecx + edx + 0x24]
add edi, edx
add ecx, edx
xor edx, edx
mov dword [esp + 0x8d0], ecx
mov ebx, edx
mov dword [esp + 0x8d4], edi
mov dword [esp + 0x8d8], eax
jmp 0x100654c0
inc ebx
mov ecx, dword [esp + 0x8d8]
mov edx, 0x208
mov esi, dword [esp + 0xabc]
add esp, 0xfffffff8
lea eax, [esp + 0x6ac]
add esi, dword [ecx + ebx*4]
call fcn.10066be6
mov eax, esi
push eax
call fcn.100679ca
mov ecx, eax
test eax, eax
je 0x1006566f
cmp eax, 6
jbe 0x100655c4
mov dword [esp + 0x10], ecx
lea edx, [eax + esi]
neg edx
lea ecx, [esp + eax*2 + 0x6a4]
add edx, ecx
lea edi, [eax + eax]
mov dword [esp + 0x8b4], ecx
mov ecx, dword [esp + 0x10]
cmp edx, edi
jg 0x1006552e
neg edx
cmp edx, eax
jle 0x100655c4
mov edi, eax
shr edi, 1
je 0x1006570f
xor ecx, ecx
lea edx, [esi + eax]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x8b8], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x8b0], ebx
mov esi, ecx
mov ebx, dword [esp + 0x8b4]
lea eax, [ecx*4]
neg eax
inc ecx
movsx edi, byte [esi + edx]
mov word [ebx + eax], di
movsx edi, byte [esi + edx - 1]
add esi, 0xfffffffe
mov word [ebx + eax - 2], di
cmp ecx, dword [esp + 0x8b8]
jb 0x10065555
mov eax, dword [esp + 0x18]
lea edx, [ecx + ecx + 1]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x8b0]
lea ecx, [edx - 1]
cmp ecx, eax
jae 0x100655b7
lea ecx, [esi + eax]
sub ecx, edx
add edx, edx
neg edx
movsx edi, byte [ecx + 1]
mov ecx, dword [esp + 0x8b4]
mov word [edx + ecx + 2], di
lea ecx, [eax + 1]
sub eax, ecx
lea ecx, [eax + 1]
jmp 0x1006566f
mov edi, eax
shr edi, 1
mov dword [esp + 0x8bc], edi
je 0x100668c8
xor edx, edx
lea ecx, [esp + eax*2 + 0x6a4]
mov dword [esp + 0x8ac], ecx
lea edi, [esi + eax]
mov dword [esp + 0x18], eax
xor ecx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x8b0], ebx
mov eax, dword [esp + 0x8ac]
movsx esi, byte [ecx + edi]
lea ebx, [edx*4]
neg ebx
inc edx
mov word [eax + ebx], si
movsx esi, byte [ecx + edi - 1]
add ecx, 0xfffffffe
mov word [eax + ebx - 2], si
cmp edx, dword [esp + 0x8bc]
jb 0x10065600
mov eax, dword [esp + 0x18]
lea ecx, [edx + edx]
neg ecx
lea edx, [edx + edx + 1]
mov esi, dword [esp + 0x1c]
add ecx, eax
mov ebx, dword [esp + 0x8b0]
lea edi, [edx - 1]
cmp edi, eax
jae 0x1006566f
mov dword [esp + 0x1c], esi
lea edi, [esi + eax]
sub edi, edx
lea esi, [edx + edx]
neg esi
lea ecx, [esp + eax*2 + 0x6a4]
movsx edi, byte [edi + 1]
mov word [esi + ecx + 2], di
mov ecx, eax
mov esi, dword [esp + 0x1c]
sub ecx, edx
movsx esi, byte [ecx + esi]
mov word [esp + ecx*2 + 0x6a4], si
push eax
lea eax, [esp + 0x6a8]
call fcn.10066baa
mov ecx, eax
test ecx, ecx
jbe 0x100656e3
mov edx, ecx
xor eax, eax
mov esi, dword [esp + 0x38]
shr edx, 1
je 0x10065719
mov dword [esp + 0x8b0], ebx
xor edi, edi
imul eax, esi
movzx ebx, word [esp + edi*4 + 0x6a4]
add eax, ebx
imul eax, esi
movzx ebx, word [esp + edi*4 + 0x6a6]
inc edi
add eax, ebx
cmp edi, edx
jb 0x100656a3
mov ebx, dword [esp + 0x8b0]
lea edx, [edi + edi + 1]
lea edi, [edx - 1]
cmp edi, ecx
jae 0x100656e5
imul esi, eax
movzx eax, word [esp + edx*2 + 0x6a2]
add eax, esi
jmp 0x100656e5
xor eax, eax
mov ecx, dword [esp + 0x8d0]
mov esi, dword [esp + 0x8d4]
mov edx, dword [esp + 0xabc]
movzx edi, word [ecx + ebx*2]
add edx, dword [esi + edi*4]
cmp eax, dword [esp + 0x8dc]
je 0x10065720
jmp 0x100654bf
mov edx, 1
jmp 0x10065597
mov edx, 1
jmp 0x100656cd
mov ecx, dword [esp + 0xcf4]
mov edi, dword [esp + 0xabc]
mov esi, dword [esp + 0xcc4]
mov dword [ecx + 0x58], edx
mov ebx, dword [edi + 0x3c]
mov edx, dword [esp + 0x138]
mov dword [esp + 0xacc], edx
mov eax, dword [ebx + edi + 0x78]
mov ecx, dword [eax + edi + 0x20]
mov ebx, dword [eax + edi + 0x1c]
add ecx, edi
mov eax, dword [eax + edi + 0x24]
add ebx, edi
add eax, edi
xor edi, edi
mov dword [esp + 0xac0], eax
mov dword [esp + 0xac4], ebx
mov dword [esp + 0xac8], ecx
jmp 0x10065779
inc edi
mov ecx, dword [esp + 0xac8]
mov edx, 0x208
mov ebx, dword [esp + 0xabc]
add esp, 0xfffffff8
lea eax, [esp + 0x8b4]
add ebx, dword [ecx + edi*4]
call fcn.10066be6
mov eax, ebx
push eax
call fcn.100679ca
mov ecx, eax
test eax, eax
je 0x10065928
cmp eax, 6
jbe 0x1006587d
mov dword [esp + 0x10], ecx
lea edx, [eax + ebx]
neg edx
lea ecx, [esp + eax*2 + 0x8ac]
add edx, ecx
lea esi, [eax + eax]
mov dword [esp + 0xad0], ecx
mov ecx, dword [esp + 0x10]
cmp edx, esi
jg 0x100657e7
neg edx
cmp edx, eax
jle 0x1006587d
mov esi, eax
shr esi, 1
je 0x100659c8
xor ecx, ecx
lea edx, [ebx + eax]
mov dword [esp + 0xad4], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xab8], edi
mov esi, ecx
mov ebx, dword [esp + 0xad0]
lea eax, [ecx*4]
neg eax
inc ecx
movsx edi, byte [esi + edx]
mov word [ebx + eax], di
movsx edi, byte [esi + edx - 1]
add esi, 0xfffffffe
mov word [ebx + eax - 2], di
cmp ecx, dword [esp + 0xad4]
jb 0x1006580e
mov eax, dword [esp + 0x18]
lea edx, [ecx + ecx + 1]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0xab8]
lea ecx, [edx - 1]
cmp ecx, eax
jae 0x10065870
lea ecx, [ebx + eax]
sub ecx, edx
add edx, edx
neg edx
movsx esi, byte [ecx + 1]
mov ecx, dword [esp + 0xad0]
mov word [edx + ecx + 2], si
lea edx, [eax + 1]
sub eax, edx
lea ecx, [eax + 1]
jmp 0x10065928
mov edx, eax
shr edx, 1
mov dword [esp + 0xad8], edx
je 0x100668be
xor edx, edx
lea ecx, [esp + eax*2 + 0x8ac]
mov dword [esp + 0xab4], ecx
lea esi, [ebx + eax]
mov dword [esp + 0x18], eax
xor ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xab8], edi
mov eax, dword [esp + 0xab4]
movsx edi, byte [ecx + esi]
lea ebx, [edx*4]
neg ebx
inc edx
mov word [eax + ebx], di
movsx edi, byte [ecx + esi - 1]
add ecx, 0xfffffffe
mov word [eax + ebx - 2], di
cmp edx, dword [esp + 0xad8]
jb 0x100658b9
mov eax, dword [esp + 0x18]
lea ecx, [edx + edx]
neg ecx
lea edx, [edx + edx + 1]
mov ebx, dword [esp + 0x1c]
add ecx, eax
mov edi, dword [esp + 0xab8]
lea esi, [edx - 1]
cmp esi, eax
jae 0x10065928
mov dword [esp + 0x1c], ebx
lea esi, [ebx + eax]
sub esi, edx
lea ebx, [edx + edx]
neg ebx
lea ecx, [esp + eax*2 + 0x8ac]
movsx esi, byte [esi + 1]
mov word [ebx + ecx + 2], si
mov ecx, eax
mov ebx, dword [esp + 0x1c]
sub ecx, edx
movsx edx, byte [ecx + ebx]
mov word [esp + ecx*2 + 0x8ac], dx
push eax
lea eax, [esp + 0x8b0]
call fcn.10066baa
mov ecx, eax
test ecx, ecx
jbe 0x1006599c
mov edx, ecx
xor eax, eax
mov ebx, dword [esp + 0x38]
shr edx, 1
je 0x100659d2
mov dword [esp + 0xab8], edi
xor esi, esi
imul eax, ebx
movzx edi, word [esp + esi*4 + 0x8ac]
add eax, edi
imul eax, ebx
movzx edi, word [esp + esi*4 + 0x8ae]
inc esi
add eax, edi
cmp esi, edx
jb 0x1006595c
mov edi, dword [esp + 0xab8]
lea esi, [esi + esi + 1]
lea edx, [esi - 1]
cmp edx, ecx
jae 0x1006599e
imul ebx, eax
movzx eax, word [esp + esi*2 + 0x8aa]
add eax, ebx
jmp 0x1006599e
xor eax, eax
mov edx, dword [esp + 0xac0]
mov ecx, dword [esp + 0xac4]
movzx ebx, word [edx + edi*2]
mov edx, dword [esp + 0xabc]
add edx, dword [ecx + ebx*4]
cmp eax, dword [esp + 0xacc]
je 0x100659d9
jmp 0x10065778
mov edx, 1
jmp 0x10065850
mov esi, 1
jmp 0x10065986
mov ecx, dword [esp + 0xcf4]
xor edi, edi
mov esi, dword [esp + 0xcc4]
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0x5c], edx
mov ebx, dword [esi + 0x3c]
mov dword [esp + 0xcd4], eax
mov edx, dword [ebx + esi + 0x78]
mov ecx, dword [edx + esi + 0x20]
mov ebx, dword [edx + esi + 0x1c]
add ecx, esi
mov edx, dword [edx + esi + 0x24]
add ebx, esi
add edx, esi
mov dword [esp + 0xcc8], edx
mov dword [esp + 0xccc], ebx
mov dword [esp + 0xcd0], ecx
jmp 0x10065a28
inc edi
mov ecx, dword [esp + 0xcd0]
mov edx, 0x208
mov ebx, dword [esp + 0xcc4]
add esp, 0xfffffff8
lea eax, [esp + 0xabc]
add ebx, dword [ecx + edi*4]
call fcn.10066be6
mov eax, ebx
push eax
call fcn.100679ca
mov ecx, eax
test eax, eax
je 0x10065bd7
cmp eax, 6
jbe 0x10065b2c
mov dword [esp + 0x10], ecx
lea edx, [eax + ebx]
neg edx
lea ecx, [esp + eax*2 + 0xab4]
add edx, ecx
lea esi, [eax + eax]
mov dword [esp + 0xcd8], ecx
mov ecx, dword [esp + 0x10]
cmp edx, esi
jg 0x10065a96
neg edx
cmp edx, eax
jle 0x10065b2c
mov esi, eax
shr esi, 1
je 0x10065c77
xor ecx, ecx
lea edx, [ebx + eax]
mov dword [esp + 0xcdc], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xcc0], edi
mov esi, ecx
mov ebx, dword [esp + 0xcd8]
lea eax, [ecx*4]
neg eax
inc ecx
movsx edi, byte [esi + edx]
mov word [ebx + eax], di
movsx edi, byte [esi + edx - 1]
add esi, 0xfffffffe
mov word [ebx + eax - 2], di
cmp ecx, dword [esp + 0xcdc]
jb 0x10065abd
mov eax, dword [esp + 0x18]
lea edx, [ecx + ecx + 1]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0xcc0]
lea ecx, [edx - 1]
cmp ecx, eax
jae 0x10065b1f
lea ecx, [ebx + eax]
sub ecx, edx
add edx, edx
neg edx
movsx esi, byte [ecx + 1]
mov ecx, dword [esp + 0xcd8]
mov word [edx + ecx + 2], si
lea edx, [eax + 1]
sub eax, edx
lea ecx, [eax + 1]
jmp 0x10065bd7
mov edx, eax
shr edx, 1
mov dword [esp + 0xce0], edx
je 0x100668b4
xor edx, edx
lea ecx, [esp + eax*2 + 0xab4]
mov dword [esp + 0xcbc], ecx
lea esi, [ebx + eax]
mov dword [esp + 0x18], eax
xor ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xcc0], edi
mov eax, dword [esp + 0xcbc]
movsx edi, byte [ecx + esi]
lea ebx, [edx*4]
neg ebx
inc edx
mov word [eax + ebx], di
movsx edi, byte [ecx + esi - 1]
add ecx, 0xfffffffe
mov word [eax + ebx - 2], di
cmp edx, dword [esp + 0xce0]
jb 0x10065b68
mov eax, dword [esp + 0x18]
lea ecx, [edx + edx]
neg ecx
lea edx, [edx + edx + 1]
mov ebx, dword [esp + 0x1c]
add ecx, eax
mov edi, dword [esp + 0xcc0]
lea esi, [edx - 1]
cmp esi, eax
jae 0x10065bd7
mov dword [esp + 0x1c], ebx
lea esi, [ebx + eax]
sub esi, edx
lea ebx, [edx + edx]
neg ebx
lea ecx, [esp + eax*2 + 0xab4]
movsx esi, byte [esi + 1]
mov word [ebx + ecx + 2], si
mov ecx, eax
mov ebx, dword [esp + 0x1c]
sub ecx, edx
movsx edx, byte [ecx + ebx]
mov word [esp + ecx*2 + 0xab4], dx
push eax
lea eax, [esp + 0xab8]
call fcn.10066baa
mov edx, eax
test edx, edx
jbe 0x10065c4b
mov eax, edx
xor ecx, ecx
mov ebx, dword [esp + 0x38]
shr eax, 1
je 0x10065c81
mov dword [esp + 0xcc0], edi
xor esi, esi
imul ecx, ebx
movzx edi, word [esp + esi*4 + 0xab4]
add ecx, edi
imul ecx, ebx
movzx edi, word [esp + esi*4 + 0xab6]
inc esi
add ecx, edi
cmp esi, eax
jb 0x10065c0b
mov edi, dword [esp + 0xcc0]
lea esi, [esi + esi + 1]
lea eax, [esi - 1]
cmp eax, edx
jae 0x10065c4d
imul ebx, ecx
movzx ecx, word [esp + esi*2 + 0xab2]
add ecx, ebx
jmp 0x10065c4d
xor ecx, ecx
mov eax, dword [esp + 0xcc8]
mov edx, dword [esp + 0xccc]
movzx ebx, word [eax + edi*2]
mov eax, dword [esp + 0xcc4]
add eax, dword [edx + ebx*4]
cmp ecx, dword [esp + 0xcd4]
je 0x10065c88
jmp 0x10065a27
mov edx, 1
jmp 0x10065aff
mov esi, 1
jmp 0x10065c35
mov edx, dword [esp + 0xc4]
mov edi, dword [esp + 0x14]
mov dword [esp + 0xcf8], eax
mov eax, dword [esp + 0x104]
xor eax, dword [esp + 0xa4]
mov ebx, dword [edi + edx]
mov edi, dword [edi + edx + 4]
cmp ebx, eax
jne 0x1006630f
xor esi, esi
mov edi, dword [esi + 8]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 0xc]
push edi
push 0x40
mov eax, dword [esp + 0xcfc]
call dword [eax + 0x64]
mov ebx, eax
mov dword [esp + 0xcdc], 0
lea eax, [esp + 0xcdc]
push eax
push dword [esp + 0x14]
lea edx, [esi + 0x10]
push edx
push edi
push ebx
push 2
mov ecx, dword [eax + 0x18]
call dword [ecx + 0x3c]
test eax, eax
jne 0x10066302
push eax
lea eax, [ebx + 0x90]
call fcn.100679ca
test eax, eax
jne 0x10065d17
mov eax, dword [ebx + 0x160]
jmp 0x10065d19
xor eax, eax
mov edx, dword [ebx + 8]
add edx, ebx
lea eax, [edx + eax + 0x3dd]
mov dword [esp + 0xcd8], eax
mov edx, dword [esp + 0x108]
cmp dword [eax + 0xee4], 0
jbe 0x10065f9a
xor ecx, ecx
mov dword [esp + 0xccc], ecx
mov dword [esp + 0xce0], edx
mov dword [esp + 0x1c], ebx
lea edi, [eax + 0x10de]
mov dword [esp + 0xcd4], esi
mov eax, edi
push eax
call fcn.100679ca
lea edx, [eax + eax + 2]
push edx
push 0x40
mov ecx, dword [esp + 0xcfc]
call dword [ecx + 0x64]
mov ebx, eax
mov eax, edi
push eax
call fcn.100679ca
mov ecx, eax
test eax, eax
je 0x10065ee9
cmp eax, 6
jbe 0x10065e4c
mov dword [esp + 0x10], ecx
lea edx, [eax + edi]
neg edx
lea ecx, [ebx + eax*2]
add edx, ecx
lea esi, [eax + eax]
mov dword [esp + 0xcc0], ecx
mov ecx, dword [esp + 0x10]
cmp edx, esi
jg 0x10065dc1
neg edx
cmp edx, eax
jle 0x10065e4c
mov esi, eax
shr esi, 1
je 0x1006663d
xor ecx, ecx
lea edx, [edi + eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0xce8], esi
mov dword [esp + 0xcd0], edi
mov eax, ecx
mov ebx, dword [esp + 0xcc0]
movsx edi, byte [eax + edx]
lea esi, [ecx*4]
neg esi
inc ecx
mov word [ebx + esi], di
movsx edi, byte [eax + edx - 1]
add eax, 0xfffffffe
mov word [ebx + esi - 2], di
cmp ecx, dword [esp + 0xce8]
jb 0x10065def
mov eax, dword [esp + 0x14]
lea ecx, [ecx + ecx + 1]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0xcd0]
lea edx, [ecx - 1]
cmp edx, eax
jae 0x10065e3f
neg ecx
add ecx, eax
movsx edx, byte [ecx + edi + 1]
mov word [ebx + ecx*2 + 2], dx
lea edx, [eax + 1]
sub eax, edx
lea ecx, [eax + 1]
jmp 0x10065ee9
mov esi, eax
shr esi, 1
je 0x10066715
xor edx, edx
lea ecx, [ebx + eax*2]
mov dword [esp + 0xcc8], ecx
lea ecx, [edi + eax]
mov dword [esp + 0xcc4], ecx
mov dword [esp + 0xcec], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0xcd0], edi
mov ecx, edx
mov esi, dword [esp + 0xcc4]
mov eax, dword [esp + 0xcc8]
movsx edi, byte [ecx + esi]
lea ebx, [edx*4]
neg ebx
inc edx
mov word [eax + ebx], di
movsx edi, byte [ecx + esi - 1]
add ecx, 0xfffffffe
mov word [eax + ebx - 2], di
cmp edx, dword [esp + 0xcec]
jb 0x10065e92
mov eax, dword [esp + 0x14]
lea ecx, [edx + edx]
neg ecx
lea esi, [edx + edx + 1]
mov ebx, dword [esp + 0x18]
add ecx, eax
mov edi, dword [esp + 0xcd0]
lea edx, [esi - 1]
cmp edx, eax
jae 0x10065ee9
sub eax, esi
mov ecx, eax
movsx edx, byte [eax + edi + 1]
mov word [ebx + eax*2 + 2], dx
movsx edx, byte [ecx + edi]
mov eax, ebx
push eax
mov word [ebx + ecx*2], dx
call fcn.10066baa
mov dword [esp + 0xce4], eax
test eax, eax
jbe 0x10065f58
mov edx, eax
xor ecx, ecx
mov esi, dword [esp + 0x38]
shr edx, 1
je 0x10066647
mov dword [esp + 0xcd0], edi
xor eax, eax
imul ecx, esi
movzx edi, word [ebx + eax*4]
add ecx, edi
imul ecx, esi
movzx edi, word [ebx + eax*4 + 2]
inc eax
add ecx, edi
cmp eax, edx
jb 0x10065f1d
mov edi, dword [esp + 0xcd0]
lea eax, [eax + eax + 1]
lea edx, [eax - 1]
cmp edx, dword [esp + 0xce4]
jae 0x10065f5a
imul esi, ecx
movzx ecx, word [ebx + eax*2 - 2]
add ecx, esi
jmp 0x10065f5a
xor ecx, ecx
cmp ecx, dword [esp + 0xce0]
je 0x100666dd
mov ecx, dword [esp + 0xcd8]
add edi, 0x8a
mov edx, dword [esp + 0xccc]
inc edx
mov dword [esp + 0xccc], edx
cmp edx, dword [ecx + 0xee4]
jb 0x10065d61
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xcd4]
xor eax, eax
mov dword [esp + 0xcc4], eax
mov dword [esp + 0xcc0], eax
push 0x20a
push 0x40
call dword [esp + 0xcf8]
mov dword [esp + 0xccc], eax
lea eax, [ebx + 0xf4]
mov dword [esp + 0xcc8], eax
push eax
call fcn.100679ca
mov ecx, eax
test eax, eax
je 0x10066159
cmp eax, 6
jbe 0x100660ae
mov edx, dword [esp + 0xccc]
lea edi, [eax + eax]
mov dword [esp + 0x10], ecx
lea ecx, [eax + ebx + 0xf4]
mov dword [esp + 0x18], ecx
lea edx, [edx + eax*2]
mov dword [esp + 0x14], edx
sub edx, ecx
mov ecx, dword [esp + 0x10]
cmp edx, edi
jg 0x10066019
neg edx
cmp edx, eax
jle 0x100660ae
mov edi, eax
shr edi, 1
je 0x10066651
xor ecx, ecx
mov dword [esp + 0x10], eax
xor edx, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xcd0], edi
mov dword [esp + 0xcd4], esi
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
movsx edi, byte [edx + eax]
lea esi, [ecx*4]
neg esi
inc ecx
mov word [ebx + esi], di
movsx edi, byte [edx + eax - 1]
add edx, 0xfffffffe
mov word [ebx + esi - 2], di
cmp ecx, dword [esp + 0xcd0]
jb 0x10066045
mov eax, dword [esp + 0x10]
lea edx, [ecx + ecx + 1]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xcd4]
lea ecx, [edx - 1]
cmp ecx, eax
jae 0x100660a1
mov ecx, dword [esp + 0x18]
sub ecx, edx
neg edx
add edx, eax
movsx edi, byte [ecx + 1]
mov ecx, dword [esp + 0xccc]
mov word [ecx + edx*2 + 2], di
lea edx, [eax + 1]
sub eax, edx
lea ecx, [eax + 1]
jmp 0x10066159
mov edi, eax
shr edi, 1
je 0x100666d3
mov ecx, dword [esp + 0xccc]
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xcd4], esi
lea ecx, [ecx + eax*2]
mov dword [esp + 0x18], ecx
lea ecx, [eax + ebx + 0xf4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xcd0], edi
mov dword [esp + 0x1c], ebx
mov ecx, edx
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
movsx edi, byte [ecx + esi]
lea ebx, [edx*4]
neg ebx
inc edx
mov word [eax + ebx], di
movsx edi, byte [ecx + esi - 1]
add ecx, 0xfffffffe
mov word [eax + ebx - 2], di
cmp edx, dword [esp + 0xcd0]
jb 0x100660f3
mov eax, dword [esp + 0x10]
lea ecx, [edx + edx]
neg ecx
lea edx, [edx + edx + 1]
mov ebx, dword [esp + 0x1c]
add ecx, eax
mov esi, dword [esp + 0xcd4]
lea edi, [edx - 1]
cmp edi, eax
jae 0x10066159
mov edi, dword [esp + 0xccc]
lea ecx, [eax + ebx + 0xf4]
sub ecx, edx
sub eax, edx
movsx edx, byte [ecx + 1]
mov ecx, eax
mov word [edi + eax*2 + 2], dx
mov eax, dword [esp + 0xcc8]
mov edi, dword [esp + 0xccc]
movsx edx, byte [ecx + eax]
xor eax, eax
mov word [edi + ecx*2], dx
movzx edx, word [edi]
test edx, edx
je 0x100666bf
mov ecx, edi
inc eax
movzx edx, word [ecx + eax*2]
test edx, edx
jne 0x1006617e
mov edi, dword [esp + 0xccc]
dec eax
lea ecx, [edi + eax*2]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x1006618e
mov dword [esp + 0x18], ecx
push 0x20a
push 0x40
mov eax, dword [esp + 0xcfc]
call dword [eax + 0x64]
mov edi, eax
mov edx, dword [esp + 0x18]
lea eax, [edx + 2]
mov dword [esp + 0xcc8], eax
push eax
call fcn.10066baa
mov dword [esp + 0xccc], eax
test eax, eax
jbe 0x10066236
cmp dword [esp + 0xccc], 0x30
jbe 0x1006665b
mov edx, eax
mov eax, dword [esp + 0xcc8]
sub eax, edi
mov ecx, eax
mov dword [esp + 0x1c], ebx
lea ebx, [edx + edx]
neg ecx
xor edx, edx
cmp ecx, ebx
mov ecx, 0
mov dword [esp + 0x14], edi
mov edi, 1
cmovg edx, edi
cmp eax, ebx
mov dword [esp + 0x10], ebx
cmovle edi, ecx
mov ebx, dword [esp + 0x1c]
or edx, edi
mov edi, dword [esp + 0x14]
je 0x1006665b
push dword [esp + 0x10]
push dword [esp + 0xccc]
push edi
call fcn.10064ce6
add esp, 0xc
push edi
mov eax, dword [esp + 0xcf8]
call dword [eax + 0x34]
mov edi, eax
push dword [esp + 0xcc4]
push 0x40
mov ecx, dword [edi + 0x3c]
add edi, dword [ecx + edi + 0x2c]
call dword [esp + 0xcf8]
mov edx, edi
mov ecx, dword [esp + 0xcc4]
mov dword [esp + 0x10], eax
call fcn.10067572
mov eax, dword [esp + 0x10]
cdq
mov ecx, dword [esp + 0xcd8]
movd xmm1, eax
movd xmm0, edx
punpckldq xmm1, xmm0
movq qword [ecx + 0xcc0], xmm1
lea ecx, [esp + 0x1c]
mov dword [ecx], 0
push ecx
push dword [esp + 0x134]
push dword [esp + 0xccc]
push edi
call dword [esp + 0xd08]
mov eax, edi
mov edx, dword [esp + 0xcc0]
mov ecx, dword [esp + 0xcc4]
call fcn.10067572
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x20]
push dword [esp + 0xccc]
push edi
call dword [esp + 0xd08]
mov ecx, dword [esp + 0x130]
lea eax, [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [eax + 0xcb4]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
push eax
push esi
push dword [esp + 0xce0]
push ebx
call edi
add esp, 0x10
add esp, 0xd04
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push 0x40
mov dword [esp + 0x18], edx
call dword [esp + 0xcf8]
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, ebx
lea edx, [eax + edx + 8]
mov eax, esi
call fcn.10067572
test ebx, ebx
jbe 0x100663b6
lea edx, [ebx + 3]
sar edx, 1
shr edx, 0x1e
lea ebx, [edx + ebx + 3]
sar ebx, 2
cmp ebx, 4
jl 0x100668ad
mov ecx, esi
and ecx, 0xf
je 0x10066368
test cl, 3
jne 0x100668ad
neg ecx
add ecx, 0x10
shr ecx, 2
lea edx, [ecx + 4]
cmp ebx, edx
jl 0x100668ad
mov edx, ebx
sub edx, ecx
and edx, 3
neg edx
add edx, ebx
test ecx, ecx
jbe 0x1006638c
xor eax, eax
xor dword [esi + eax*4], edi
inc eax
cmp eax, ecx
jb 0x10066384
movd xmm0, edi
pshufd xmm0, xmm0, 0
movdqu xmm1, xmmword [esi + ecx*4]
pxor xmm1, xmm0
movdqu xmmword [esi + ecx*4], xmm1
add ecx, 4
cmp ecx, edx
jb 0x10066395
cmp edx, ebx
jae 0x100663b6
xor dword [esi + edx*4], edi
inc edx
cmp edx, ebx
jb 0x100663ae
push 0x20a
push 0x40
call dword [esp + 0xcf8]
mov ebx, eax
cmp byte [esi], 0
je 0x100663dc
xor edx, edx
movsx ecx, byte [edx + esi]
mov word [ebx + edx*2], cx
inc edx
cmp byte [edx + esi], 0
jne 0x100663cd
push 0x20a
push 0x40
mov eax, dword [esp + 0xcfc]
call dword [eax + 0x64]
mov esi, eax
push 0x105
push esi
push 0
mov eax, dword [esp + 0xd00]
call dword [eax + 0x54]
movzx edx, word [esi]
xor eax, eax
test edx, edx
je 0x1006689f
inc eax
movzx edx, word [esi + eax*2]
test edx, edx
jne 0x1006640e
xor ecx, ecx
mov word [esi + eax*2], cx
dec eax
movzx edx, word [esi + eax*2]
cmp edx, 0x5c
jne 0x10066419
movzx edx, word [esi]
xor eax, eax
test edx, edx
je 0x10066898
inc eax
lea ecx, [esi + eax*2]
movzx edx, word [ecx]
test edx, edx
jne 0x10066434
movzx edx, word [ecx - 2]
cmp edx, 0x5c
je 0x10066458
mov edx, 0x5c
mov word [esi + eax*2], dx
mov edx, 1
jmp 0x1006645a
xor edx, edx
test ebx, ebx
je 0x1006688d
add eax, edx
xor ecx, ecx
movzx edx, word [ebx]
test edx, edx
je 0x10066481
lea edx, [esi + eax*2]
movzx edi, word [ebx + ecx*2]
mov word [edx + ecx*2], di
inc ecx
movzx edi, word [ebx + ecx*2]
test edi, edi
jne 0x10066470
add ecx, eax
xor eax, eax
mov word [esi + ecx*2], ax
xor eax, eax
push eax
push 0x80
push 3
push eax
push 1
push closesocket
push esi
mov edx, dword [esp + 0xd10]
call dword [edx + 0x44]
mov esi, eax
cmp esi, 0xffffffff
je 0x100664f4
push 0
push esi
mov eax, dword [esp + 0xcfc]
call dword [eax + 0x6c]
mov edi, eax
test edi, edi
je 0x100664e9
lea eax, [edi + 1]
push eax
push 0x40
mov ecx, dword [esp + 0xcfc]
call dword [ecx + 0x64]
mov ebx, eax
lea eax, [esp + 0xcbc]
push 0
push eax
push edi
push ebx
push esi
mov ecx, dword [eax + 0x38]
call dword [ecx + 0x70]
test eax, eax
jne 0x10066501
push esi
mov eax, dword [esp + 0xcf8]
call dword [eax + 0x68]
add esp, 0xd04
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
mov eax, dword [esp + 0xcf8]
call dword [eax + 0x68]
mov ecx, 4
lea eax, [esp + 0xcfc]
lea edx, [esp + 0xb0]
call fcn.10067572
mov ecx, 4
lea eax, [esp + 0xd00]
lea edx, [esp + 0x34]
call fcn.10067572
lea eax, [edi + ebx]
add edi, 0xfffffff0
je 0x10066820
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
mov edx, edi
mov dword [esp + 0xcc4], ecx
mov dword [esp + 0xcc0], eax
mov dword [esp + 0xcd4], esi
mov esi, ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xcc8], esi
xor edi, edi
lea eax, [esi + ecx]
mov esi, edx
movzx edx, byte [esp + edi + 0xcfc]
cmp dl, byte [edi + eax + 1]
je 0x10066593
cmp edx, 0x3f
jne 0x10066876
inc edi
cmp edi, 8
jb 0x1006657c
mov esi, dword [esp + 0xcc8]
lea esi, [esi + ecx + 1]
test esi, esi
je 0x10066775
mov edx, dword [eax + 1]
mov edi, edx
shr edi, 8
mov ecx, edx
and edi, 0xff
shl ecx, 0x18
shl edi, 0x10
add ecx, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
shl edi, 8
add ecx, edi
shr edx, 0x18
mov edi, dword [esi + 8]
add ecx, edx
lea edx, [esi + 8]
cmp edi, dword [esp + 0x10c]
jne 0x100665f6
cmp dword [esp + 0xcd4], 0
je 0x1006671f
cmp dword [esp + 0xcd4], 0
je 0x10066862
lea edi, [ebx + ecx]
cmp edi, dword [esp + 0xcc4]
ja 0x10066841
add ebx, dword [esp + 0xcd4]
mov eax, ebx
call fcn.10067572
mov edx, dword [esp + 0xcc0]
mov ebx, edi
sub edx, esi
add edx, 0xfffffff0
je 0x10066831
xor ecx, ecx
jmp 0x1006656e
mov ecx, 1
jmp 0x10065e2a
mov eax, 1
jmp 0x10065f40
mov edx, 1
jmp 0x10066080
mov edx, dword [esp + 0xccc]
shr edx, 1
je 0x100666b8
mov dword [esp + 0xcd4], esi
xor ecx, ecx
mov eax, dword [esp + 0x18]
movzx esi, word [eax + ecx*4 + 2]
mov word [edi + ecx*4], si
movzx esi, word [eax + ecx*4 + 4]
mov word [edi + ecx*4 + 2], si
inc ecx
cmp ecx, edx
jb 0x10066673
mov esi, dword [esp + 0xcd4]
lea eax, [ecx + ecx + 1]
lea edx, [eax - 1]
cmp edx, dword [esp + 0xccc]
jae 0x10066236
mov edx, dword [esp + 0x18]
movzx ecx, word [edx + eax*2]
mov word [edi + eax*2 - 2], cx
jmp 0x10066236
mov eax, 1
jmp 0x10066696
cmp edx, 0x5c
jne 0x10066187
mov eax, edi
mov dword [esp + 0x18], eax
jmp 0x1006619e
mov edx, 1
jmp 0x10066135
mov eax, dword [edi + 0x82]
mov ecx, dword [esp + 0xcd8]
mov edx, dword [edi + 0x86]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xcd4]
lea edi, [eax + ecx + 0xee4]
mov dword [esp + 0xcc4], edx
mov dword [esp + 0xcc0], edi
jmp 0x10065faa
mov esi, 1
jmp 0x10065ed4
mov edi, dword [edx + 8]
add edi, 0x10
mov dword [esp + 0x18], edx
mov dword [esp + 0xcc4], edi
push edi
push 0x40
mov edi, dword [esp + 0xcfc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
call dword [edi + 0x64]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xcd4], eax
mov dword [esp + 0x14], ecx
call fcn.10067572
mov edx, dword [esp + 0xcc0]
sub edx, esi
mov ecx, dword [esp + 0x14]
add ebx, ecx
add edx, 0xfffffff0
jne 0x10066636
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0xcd4]
test esi, esi
je 0x10066820
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov ebx, dword [edx + 4]
test al, 3
je 0x1006679b
dec eax
test al, 3
jne 0x10066796
test eax, eax
jbe 0x10066815
lea edx, [eax + 3]
sar edx, 1
shr edx, 0x1e
lea edx, [edx + eax + 3]
sar edx, 2
cmp edx, 4
jl 0x1006682d
mov ecx, esi
and ecx, 0xf
je 0x100667c7
test cl, 3
jne 0x1006682d
neg ecx
add ecx, 0x10
shr ecx, 2
lea eax, [ecx + 4]
cmp edx, eax
jl 0x1006682d
mov eax, edx
sub eax, ecx
and eax, 3
neg eax
add eax, edx
test ecx, ecx
jbe 0x100667e8
xor edi, edi
xor dword [esi + edi*4 + 0x10], ebx
inc edi
cmp edi, ecx
jb 0x100667df
movd xmm0, ebx
pshufd xmm0, xmm0, 0
movdqu xmm1, xmmword [esi + ecx*4 + 0x10]
pxor xmm1, xmm0
movdqu xmmword [esi + ecx*4 + 0x10], xmm1
add ecx, 4
cmp ecx, eax
jb 0x100667f1
cmp eax, edx
jae 0x10066815
xor dword [esi + eax*4 + 0x10], ebx
inc eax
cmp eax, edx
jb 0x1006680c
cmp dword [esp + 0x1c], 0
ja 0x10065cb9
add esp, 0xd04
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x10066808
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0xcd4]
jmp 0x10066788
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0xcc4]
mov esi, dword [esp + 0xcd4]
sub ecx, ebx
lea eax, [esi + ebx]
call fcn.10067572
jmp 0x10066788
mov edx, dword [esp + 0xcc0]
sub edx, esi
add edx, 0xfffffff0
jne 0x10066636
jmp 0x10066820
mov edx, esi
inc ecx
mov esi, dword [esp + 0xcc8]
cmp ecx, edx
jb 0x1006656e
jmp 0x10066775
xor eax, eax
mov word [ecx + 2], ax
jmp 0x10066489
mov ecx, esi
jmp 0x1006643f
cmp edx, 0x5c
jne 0x10066417
jmp 0x1006642a
xor edx, edx
jmp 0x100663aa
mov edx, 1
jmp 0x10065baa
mov edx, 1
jmp 0x100658fb
mov edx, 1
jmp 0x10065642
mov edx, 1
jmp 0x10065309
mov edi, 1
jmp 0x10064dd8
mov edx, 1
jmp 0x10064e7f