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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x64
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x4c], eax
mov ebp, dword [esp + 0x9c]
mov eax, dword [ebx + 8]
mov dword [esp + 0x50], eax
cmp ebp, 1
je 0x65cbb2
cmp ebp, 2
je 0x65cba8
cmp ebp, 4
je 0x65cb9e
mov ebx, 1
mov eax, dword [esp + 0x8c]
shl eax, 6
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x94]
cmp ecx, esi
je 0x65bce0
mov eax, dword [esp + 0x98]
cmp edx, eax
je 0x65bce0
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4de0]
test esi, esi
mov dword [esp + 0x3c], esi
je 0x65b7d0
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37c0]
mov dword [esp + 0x48], esi
jmp 0x65b7dd
mov eax, dword [esp + 0x80]
mov esi, dword [eax]
mov dword [esp + 0x48], esi
cmp ebp, 1
je 0x65be2e
cmp ebp, 2
je 0x65ba89
cmp ebp, 4
jne 0x65b939
mov al, byte [esp + 0xa0]
test al, al
je 0x65b8d0
xor eax, eax
xor esi, esi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x40], esi
jle 0x65bbb7
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x3c]
mov ebp, esi
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], ebx
jmp 0x65b841
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x65b860
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x65b87b
mov eax, dword [esp + 0x80]
mov ebx, dword [eax + 0x34]
mov edx, esi
shl edx, 4
lea ecx, [edx + esi*8]
mov eax, dword [ecx + ebx + 4]
imul eax, dword [ecx + ebx + 8]
mov ebx, eax
cmp eax, 1
je 0x65bd80
lea ebx, [eax - 1]
test eax, eax
je 0x65b8bd
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea esi, [esi]
mov edx, ebp
inc ebp
shl edx, 6
lea eax, [edi + edx*2]
mov dword [esp], eax
call dword [esi + 0x50]
dec ebx
cmp ebx, 0xffffffff
jne 0x65b8a0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x65b83b
jmp 0x65bd3c
xor esi, esi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x65bbb7
mov eax, esi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, eax
mov esi, esi
lea edi, [edi]
mov dword [esp], ebx
call dword [ebp + 0x50]
add ebx, 0x80
inc esi
cmp esi, edi
jl 0x65b910
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x65bbb7
cmp ebp, 8
jne 0x65bbb7
mov al, byte [esp + 0xa0]
test al, al
je 0x65ba20
xor eax, eax
xor esi, esi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x40], esi
jle 0x65bbb7
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
jmp 0x65b98d
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x65b9b0
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x65b9cb
mov eax, dword [esp + 0x80]
mov ebp, dword [eax + 0x34]
mov edx, esi
shl edx, 4
lea ecx, [edx + esi*8]
mov eax, dword [ecx + ebp + 4]
imul eax, dword [ecx + ebp + 8]
mov ebp, eax
cmp eax, 1
je 0x65bd58
lea ebp, [eax - 1]
test eax, eax
je 0x65ba0d
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea esi, [esi]
mov edx, ebx
inc ebx
shl edx, 6
lea eax, [edi + edx*2]
mov dword [esp], eax
call dword [esi + 0x54]
dec ebp
cmp ebp, 0xffffffff
jne 0x65b9f0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x65b987
jmp 0x65bdc0
xor edi, edi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x65bbb7
mov eax, edi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov esi, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x8c]
mov esi, esi
lea edi, [edi]
mov dword [esp], esi
call dword [ebp + 0x54]
add esi, 0x80
inc edi
cmp edi, ebx
jl 0x65ba60
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x65bbb7
mov al, byte [esp + 0xa0]
test al, al
je 0x65bb60
xor eax, eax
xor esi, esi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x40], esi
jle 0x65bbb7
mov dword [esp + 0x30], edx
mov esi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
jmp 0x65bad2
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x65baf0
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x65bb0b
mov eax, dword [esp + 0x80]
mov ebp, dword [eax + 0x34]
mov edx, esi
shl edx, 4
lea ecx, [edx + esi*8]
mov eax, dword [ecx + ebp + 4]
imul eax, dword [ecx + ebp + 8]
mov ebp, eax
cmp eax, 1
je 0x65bda0
lea ebp, [eax - 1]
test eax, eax
je 0x65bb4d
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea esi, [esi]
mov edx, ebx
inc ebx
shl edx, 6
lea eax, [edi + edx*2]
mov dword [esp], eax
call dword [esi + 0x4c]
dec ebp
cmp ebp, 0xffffffff
jne 0x65bb30
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x65bacc
jmp 0x65be12
xor esi, esi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x65bbb7
mov eax, esi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, eax
mov dword [esp], ebx
call dword [ebp + 0x4c]
add ebx, 0x80
inc esi
cmp esi, edi
jl 0x65bb93
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4ddc]
test esi, esi
je 0x65bce0
xor ebx, ebx
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37c0]
test edi, edi
jle 0x65be08
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x37cc]
shl ecx, 4
mov esi, dword [esp + 0x94]
mov ebp, esi
shl ebp, 7
mov dword [esp + 0x44], ebp
shl esi, 4
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov ecx, ebx
xor ebp, ebp
mov esi, ecx
shl esi, 4
mov ebx, dword [esi + eax + 8]
test ebx, ebx
jle 0x65bdff
mov edx, dword [esi + eax + 4]
lea edi, [ecx + ecx]
mov dword [esp + 0x24], ecx
xor ecx, ecx
test edx, edx
jle 0x65bde8
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x78]
jmp 0x65bc58
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + eax + 8]
imul ebx, dword [esp + 0x30]
mov eax, dword [esi + 0x4ddc]
mov ebp, edx
imul ebp, dword [esp + 0x34]
add ebp, dword [eax + edi*2 + 4]
imul edx, dword [esp + 0x44]
add ebx, dword [esp + 0x2c]
imul ebx, edx
add ebp, ebx
mov edx, ecx
shl edx, 4
add ebp, edx
xor ebx, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x4c]
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], 0x10
call dword [0x7e3f08]
mov eax, dword [esi + 0x37cc]
mov edx, dword [esp + 0x28]
mov edx, dword [edx + eax + 4]
mov ecx, dword [esp + 0x40]
imul ecx, edx
add ebp, ecx
add edi, 0x10
inc ebx
cmp ebx, 8
jl 0x65bc91
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
inc ecx
cmp ecx, edx
jl 0x65bc50
jmp 0x65bddc
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4de8]
cmp esi, 1
je 0x65beb7
cmp ebp, 1
je 0x65be99
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov dword [esp], ebp
mov al, byte [esp + 0xa0]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], al
call fcn.0064b080
xor eax, eax
add esp, 0x64
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x65bbb7
mov edx, ebx
inc ebx
shl edx, 6
mov eax, dword [esp + 0x4c]
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0x50]
mov dword [esp], ecx
call dword [eax + 0x50]
jmp 0x65ba0d
mov edx, ebp
inc ebp
shl edx, 6
mov eax, dword [esp + 0x4c]
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0x50]
mov dword [esp], ecx
call dword [eax + 0x4c]
jmp 0x65b8bd
mov edx, ebx
inc ebx
shl edx, 6
mov eax, dword [esp + 0x4c]
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0x50]
mov dword [esp], ecx
call dword [eax + 0x48]
jmp 0x65bb4d
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x65bbb7
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esi + eax + 8]
inc ebp
cmp ebp, ebx
jl 0x65bc29
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
mov edi, dword [edx + 0x37c0]
inc ecx
cmp ecx, edi
jl 0x65bc0b
xor eax, eax
add esp, 0x64
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x65bbb7
xor edi, edi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x65bbb7
mov eax, edi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov esi, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x8c]
lea esi, [esi]
lea edi, [edi]
mov dword [esp], esi
call dword [ebp + 0x48]
add esi, 0x80
inc edi
cmp edi, ebx
jl 0x65be70
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x65bbb7
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x50]
call dword [edx + 0xa0]
jmp 0x65bd32
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37b8]
cmp edi, 2
je 0x65c7e0
cmp edi, 2
jne 0x65bcf3
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37bc]
cmp esi, 2
jne 0x65bcf3
cmp ebp, 1
jne 0x65bcfc
mov edi, dword [esp + 0x78]
mov eax, dword [edi + 4]
sar eax, 4
mov dword [esp + 0x58], eax
mov esi, dword [edi + 8]
sar esi, 4
mov dword [esp + 0x5c], esi
mov edi, dword [edi + 0x4dec]
cmp edx, dword [edi + 0x10]
je 0x65bf74
mov eax, dword [edi]
mov esi, dword [edi + 4]
mov dword [esp + 0x44], eax
mov dword [edi], esi
mov edi, dword [esp + 0x78]
mov esi, dword [edi + 0x4dec]
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x98]
cmp edx, eax
jne 0x65bf5d
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4dec]
mov esi, dword [edi + 0xc]
mov dword [edi + 8], esi
mov edi, dword [eax + 0x4dec]
mov esi, dword [esp + 0x44]
mov dword [edi + 0xc], esi
mov edi, dword [eax + 0x4dec]
jmp 0x65bf74
mov edi, dword [esp + 0x78]
mov esi, dword [edi + 0x4dec]
mov eax, dword [esp + 0x44]
mov dword [esi + 8], eax
mov edi, dword [edi + 0x4dec]
mov dword [edi + 0x10], edx
mov eax, dword [esp + 0x94]
cmp ecx, eax
je 0x65c592
mov eax, dword [esp + 0x98]
cmp edx, eax
je 0x65c592
mov eax, dword [esp + 0x94]
lea esi, [eax - 1]
cmp ecx, esi
mov dword [esp + 0x60], esi
jne 0x65c0b7
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x4c]
and eax, 0xf
je 0x65c0a7
mov dword [esp + 0x30], edx
lea esi, [ebp + ebp]
lea eax, [eax + ebp*2 - 1]
cdq
idiv esi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4834]
mov dword [esp + 0x24], edi
mov eax, dword [eax + 0x74]
test eax, eax
jne 0x65c08f
xor eax, eax
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x54]
mov dword [esp + 0x2c], eax
test edi, edi
mov dword [esp + 0x48], edi
jle 0x65c0c5
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37cc]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x44], esi
neg edi
add edi, 8
mov eax, dword [esp + 0x2c]
shl eax, 4
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov eax, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
lea esi, [eax + ecx]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x65c614
shl edi, 7
add ecx, 0x10
inc ebx
imul edi, dword [esi + 8]
add edx, edi
mov esi, dword [esp + 0x48]
cmp ebx, esi
jl 0x65c048
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
jmp 0x65c0c5
mov eax, dword [esp + 0x80]
mov esi, dword [eax + 0x34]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x65c6b0
jmp 0x65c0c5
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
jmp 0x65c0c5
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x98]
lea esi, [eax - 1]
cmp edx, esi
mov dword [esp + 0x48], esi
jne 0x65c1a4
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x50]
and eax, 0xf
je 0x65c1a4
mov dword [esp + 0x30], edx
lea esi, [ebp + ebp]
lea eax, [eax + ebp*2 - 1]
xor edi, edi
cdq
idiv esi
mov edx, dword [esp + 0x78]
mov edx, dword [edx + 0x54]
mov dword [esp + 0x3c], edi
test edx, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
jle 0x65c1a4
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x37cc]
add eax, eax
mov dword [esp + 0x44], edi
add eax, eax
add eax, eax
mov esi, eax
neg esi
add esi, 0x40
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x3c]
shl esi, 4
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x38], ebx
mov ebx, edi
lea edi, [ebx + ecx]
mov esi, dword [edi + 8]
cmp esi, 1
je 0x65c74e
mov edi, dword [edi + 4]
shl edi, 7
imul esi, edi
add eax, esi
add ecx, 0x10
inc edx
cmp edx, ebp
jl 0x65c161
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x54]
lea eax, [esi + esi]
imul eax, ecx
mov dword [esp + 0x2c], eax
lea edi, [esi + esi]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x3c], edi
mov esi, dword [esi + 0x4dec]
mov esi, dword [esi + 8]
mov edi, dword [esp + 0x54]
lea esi, [esi + edi*2]
add esi, eax
lea eax, [edi - 1]
test edi, edi
je 0x65c1fe
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x24]
mov esi, esi
movzx ebx, word [ebp]
dec eax
add ebp, 2
mov word [esi], bx
add esi, 2
cmp eax, 0xffffffff
jne 0x65c1e0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x65c267
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 8]
add esi, 0xe
mov edi, dword [eax + 0x4834]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
lea eax, [edi - 1]
test edi, edi
je 0x65c267
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x44]
mov ecx, 7
nop
lea esi, [esi]
movzx ebp, word [ebx]
add ebx, 0x10
dec ecx
mov word [esi], bp
add esi, 0x10
cmp ecx, 0xffffffff
jne 0x65c240
dec eax
cmp eax, 0xffffffff
jne 0x65c236
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x65c2e7
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 0x4dec]
mov edi, dword [esp + 0x94]
lea edi, [edi + edi]
mov esi, dword [esi + 0x4834]
add esi, 0xe
imul edi, dword [esp + 0x54]
add edi, dword [eax + 8]
add edi, dword [esp + 0x3c]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
lea eax, [edi - 1]
test edi, edi
je 0x65c2e7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x44]
mov ebp, 7
nop
movzx ecx, word [esi]
add esi, 0x10
dec ebp
mov word [ebx], cx
add ebx, 0x10
cmp ebp, 0xffffffff
jne 0x65c2c0
dec eax
cmp eax, 0xffffffff
jne 0x65c2ba
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test edx, edx
jne 0x65c432
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 4]
add esi, dword [esp + 0x3c]
mov edi, dword [eax + 0x4834]
mov eax, dword [esp + 0x8c]
add esi, dword [esp + 0x2c]
lea eax, [eax - 1]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
test edi, edi
mov dword [esp + 0x40], eax
je 0x65c36a
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
add esi, 0x70
mov ebx, 7
nop
lea esi, [esi]
movzx ebp, word [ecx]
add ecx, 2
dec ebx
mov word [esi], bp
add esi, 2
cmp ebx, 0xffffffff
jne 0x65c340
add ecx, 0x70
dec eax
cmp eax, 0xffffffff
jne 0x65c333
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x65c3c4
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 4]
add esi, 0x7e
mov edi, dword [eax + 0x4834]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x65c3c4
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x44]
nop
movzx ebx, word [ebp]
add ebp, 0x80
dec eax
mov word [esi], bx
add esi, 0x80
cmp eax, 0xffffffff
jne 0x65c3a0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x65c432
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4dec]
mov esi, dword [esp + 0x94]
lea esi, [esi + esi]
mov eax, dword [eax + 0x4834]
add eax, 0xe
imul esi, dword [esp + 0x54]
add esi, dword [edi + 4]
mov edi, dword [esp + 0x3c]
lea esi, [esi + edi + 0x70]
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x65c432
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
lea esi, [esi]
movzx ebp, word [eax]
add eax, 0x80
dec ebx
mov word [esi], bp
add esi, 0x80
cmp ebx, 0xffffffff
jne 0x65c410
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x48]
cmp edx, eax
jne 0x65c592
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x3c]
mov edi, dword [eax + 0x4834]
mov eax, dword [esp + 0x8c]
add esi, dword [esp + 0x2c]
lea eax, [eax - 1]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
test edi, edi
mov dword [esp + 0x40], eax
je 0x65c4ba
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x44]
add ebx, 0x70
mov ebp, 7
lea esi, [esi]
movzx ecx, word [ebx]
add ebx, 2
dec ebp
mov word [esi], cx
add esi, 2
cmp ebp, 0xffffffff
jne 0x65c490
add esi, 0x70
dec eax
cmp eax, 0xffffffff
jne 0x65c482
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x65c523
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 0x4dec]
mov eax, dword [eax + 0xc]
add eax, 0xe
mov edi, dword [esi + 0x4834]
add edi, 0x70
mov dword [esp + 0x48], edi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x65c523
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x44]
mov ebp, edi
nop
lea esi, [esi]
movzx ebx, word [ebp]
add ebp, 0x80
dec esi
mov word [eax], bx
add eax, 0x80
cmp esi, 0xffffffff
jne 0x65c500
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x65c592
mov edi, dword [esp + 0x78]
mov esi, dword [edi + 0x4dec]
mov eax, dword [esp + 0x94]
lea eax, [eax + eax]
imul eax, dword [esp + 0x54]
add eax, dword [esi + 0xc]
mov esi, dword [edi + 0x4834]
add esi, 0x7e
add eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x65c592
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
mov esi, esi
lea edi, [edi]
movzx ebp, word [esi]
add esi, 0x80
dec ebx
mov word [eax], bp
add eax, 0x80
cmp ebx, 0xffffffff
jne 0x65c570
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x58]
cmp ecx, eax
jle 0x65be08
mov eax, dword [esp + 0x5c]
cmp edx, eax
jle 0x65be08
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x4dec]
mov eax, dword [esp + 0x54]
lea esi, [eax + eax]
imul esi, ecx
add esi, dword [edi + 4]
test eax, eax
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x78]
mov esi, dword [esi + 0x4834]
mov dword [esp + 0x44], esi
lea esi, [eax - 1]
je 0x65c60d
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
lea esi, [esi]
lea edi, [edi]
movzx ebp, word [ebx]
dec esi
add ebx, 2
mov word [eax], bp
add eax, 2
cmp esi, 0xffffffff
jne 0x65c5f0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
dec ecx
dec edx
jmp 0x65bcf3
xor esi, esi
mov eax, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebp, ecx
cmp ecx, 8
jge 0x65c67f
cmp ebx, 6
jl 0x65c670
nop
lea esi, [esi]
movsx edx, word [eax + ebp*2 - 2]
mov word [eax + ebp*2], dx
mov word [eax + ebp*2 + 2], dx
mov word [eax + ebp*2 + 4], dx
mov word [eax + ebp*2 + 6], dx
mov word [eax + ebp*2 + 8], dx
add ebp, 5
cmp ebp, 2
jl 0x65c640
lea esi, [esi]
lea edi, [edi]
movzx edx, word [eax + ebp*2 - 2]
mov word [eax + ebp*2], dx
inc ebp
cmp ebp, 8
jl 0x65c670
add eax, 0x10
inc esi
cmp esi, 8
jl 0x65c62c
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x78]
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x37cc]
lea esi, [eax + ecx]
mov edi, dword [esi + 4]
jmp 0x65c057
xor esi, esi
mov eax, dword [esp + 0x40]
neg eax
add eax, 8
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x40]
mov edx, ebx
cmp ebx, 8
jge 0x65c71f
cmp eax, 6
jl 0x65c710
nop
lea esi, [esi]
movsx ebp, word [ecx + edx*2 - 2]
mov word [ecx + edx*2], bp
mov word [ecx + edx*2 + 2], bp
mov word [ecx + edx*2 + 4], bp
mov word [ecx + edx*2 + 6], bp
mov word [ecx + edx*2 + 8], bp
add edx, 5
cmp edx, 2
jl 0x65c6e0
lea esi, [esi]
lea edi, [edi]
movzx ebp, word [ecx + edx*2 - 2]
mov word [ecx + edx*2], bp
inc edx
cmp edx, 8
jl 0x65c710
add ecx, 0x10
inc esi
cmp esi, 8
jl 0x65c6cf
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
jmp 0x65c0c5
xor ebp, ebp
mov ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
mov eax, ecx
cmp ecx, 0x40
jge 0x65c7b1
cmp edx, 0x30
jl 0x65c7a0
movsx esi, word [ebx + eax*2 - 0x10]
mov word [ebx + eax*2], si
mov word [ebx + eax*2 + 0x10], si
mov word [ebx + eax*2 + 0x20], si
mov word [ebx + eax*2 + 0x30], si
mov word [ebx + eax*2 + 0x40], si
add eax, 0x28
cmp eax, 0x10
jl 0x65c772
mov esi, esi
lea edi, [edi]
movzx esi, word [ebx + eax*2 - 0x10]
mov word [ebx + eax*2], si
add eax, 8
cmp eax, 0x40
jl 0x65c7a0
add ebx, 2
inc ebp
cmp ebp, 8
jl 0x65c766
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x54]
mov ebx, dword [ebx + 0x37cc]
lea edi, [ebx + ecx]
mov esi, dword [edi + 8]
jmp 0x65c170
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37bc]
cmp esi, 1
jne 0x65beca
mov dword [esp + 0x30], edx
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 4]
lea edi, [ebx + ebx]
cdq
idiv edi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x94]
cmp ecx, eax
je 0x65c9f7
mov eax, dword [esp + 0x94]
lea esi, [eax - 1]
cmp ecx, esi
jne 0x65c933
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x4c]
and eax, 0xf
je 0x65c923
mov dword [esp + 0x30], edx
lea esi, [ebp + ebp]
lea eax, [eax + ebp*2 - 1]
cdq
idiv esi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4834]
mov dword [esp + 0x2c], edi
mov eax, dword [eax + 0x74]
test eax, eax
jne 0x65c90b
xor eax, eax
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x54]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x48], edi
jle 0x65c941
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37cc]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], esi
neg edi
add edi, 8
mov eax, dword [esp + 0x44]
shl eax, 4
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], edx
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ebx
mov ebx, eax
mov eax, dword [ebx + edi + 4]
cmp eax, 1
je 0x65ca6d
shl eax, 7
add ecx, eax
add ebx, 0x10
inc ebp
cmp ebp, edx
jl 0x65c8ce
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
jmp 0x65c941
mov eax, dword [esp + 0x80]
mov esi, dword [eax + 0x34]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x65cb00
jmp 0x65c941
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
jmp 0x65c941
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
lea eax, [ecx + ecx]
mov edi, dword [esp + 0x54]
imul eax, edi
add eax, dword [esi + 4]
lea eax, [eax + edi*2]
lea esi, [edi - 1]
test edi, edi
je 0x65c98e
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x2c]
lea esi, [esi]
movzx ebx, word [ebp]
dec esi
add ebp, 2
mov word [eax], bx
add eax, 2
cmp esi, 0xffffffff
jne 0x65c970
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x65c9f7
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov edi, dword [esi + 4]
lea esi, [edi + ebx*2 - 2]
mov eax, dword [eax + 0x4834]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x2c], eax
lea eax, [edi - 1]
test edi, edi
je 0x65c9f7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov ebp, 7
lea esi, [esi]
movzx ecx, word [ebx]
add ebx, 0x10
dec ebp
mov word [esi], cx
add esi, 0x10
cmp ebp, 0xffffffff
jne 0x65c9d0
dec eax
cmp eax, 0xffffffff
jne 0x65c9c7
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jle 0x65be08
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x4dec]
lea esi, [ecx + ecx]
mov eax, dword [esp + 0x54]
imul esi, eax
add esi, dword [edi + 4]
test eax, eax
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x78]
mov esi, dword [esi + 0x4834]
mov dword [esp + 0x3c], esi
lea esi, [eax - 1]
je 0x65ca5d
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
nop
movzx ebp, word [ebx]
dec esi
add ebx, 2
mov word [eax], bp
add eax, 2
cmp esi, 0xffffffff
jne 0x65ca40
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
dec ecx
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37b8]
jmp 0x65beca
xor edx, edx
mov eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x24]
mov ecx, ebp
cmp ebp, 8
jge 0x65cacf
cmp ebx, 6
jl 0x65cac0
movsx esi, word [eax + ecx*2 - 2]
mov word [eax + ecx*2], si
mov word [eax + ecx*2 + 2], si
mov word [eax + ecx*2 + 4], si
mov word [eax + ecx*2 + 6], si
mov word [eax + ecx*2 + 8], si
add ecx, 5
cmp ecx, 2
jl 0x65ca91
lea esi, [esi]
lea edi, [edi]
movzx esi, word [eax + ecx*2 - 2]
mov word [eax + ecx*2], si
inc ecx
cmp ecx, 8
jl 0x65cac0
add eax, 0x10
inc edx
cmp edx, 8
jl 0x65ca85
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
mov edx, dword [esi + 0x54]
mov edi, dword [esi + 0x37cc]
mov eax, dword [ebx + edi + 4]
jmp 0x65c8db
xor esi, esi
mov eax, dword [esp + 0x24]
neg eax
add eax, 8
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov ebp, ecx
cmp ecx, 8
jge 0x65cb6f
cmp eax, 6
jl 0x65cb60
nop
lea esi, [esi]
movsx edx, word [ebx + ebp*2 - 2]
mov word [ebx + ebp*2], dx
mov word [ebx + ebp*2 + 2], dx
mov word [ebx + ebp*2 + 4], dx
mov word [ebx + ebp*2 + 6], dx
mov word [ebx + ebp*2 + 8], dx
add ebp, 5
cmp ebp, 2
jl 0x65cb30
lea esi, [esi]
lea edi, [edi]
movzx edx, word [ebx + ebp*2 - 2]
mov word [ebx + ebp*2], dx
inc ebp
cmp ebp, 8
jl 0x65cb60
add ebx, 0x10
inc esi
cmp esi, 8
jl 0x65cb1f
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
jmp 0x65c941
mov ebx, 2
jmp 0x65b782
mov ebx, 4
jmp 0x65b782
mov ebx, 8
jmp 0x65b782