Function at 0x60647d
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x1e
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0xffff
movzx ebx, word [esi + 0x98]
mov edx, dword [esi + 0x184]
mov edi, ebx
lea ecx, [edx + edi]
add ecx, ecx
cmp ecx, eax
cmovb ecx, eax
movzx eax, word [esi + 0xbc]
cmp eax, ecx
jbe 0x606344
cmp ecx, 0xffff
cmova ecx, dword [ebp - 0x1c]
mov word [esi + 0xbc], cx
mov dword [esi + 0x280], 0
mov dword [esi + 0x288], 0
test bx, bx
je 0x60637f
lea ecx, [edi + edi*4]
mov eax, 0xcccccccd
add ecx, ecx
mov edi, 0x32
cmp ecx, edi
cmovb ecx, edi
mul edx
shr edx, 3
cmp edx, edi
cmovb edx, edi
add ecx, edx
jmp 0x606388
imul ecx, edx, 0x16
add ecx, 0x12c
mov dword [esi + 0x284], ecx
mov eax, dword [esi]
imul eax, dword [eax + 0x10], 0x64
cmp ecx, eax
jbe 0x6063a0
mov dword [esi + 0x284], eax
mov ecx, eax
movzx edx, word [esi + 0xde]
mov edi, 0x602530
mov dword [esi + 0x28c], ecx
mov eax, 0x602540
movzx ecx, word [esi + 0xdc]
cmp cx, dx
mov dword [esi + 0x104], 0
push esi
cmove eax, edi
mov edi, 0x603da0
mov dword [esi + 0x268], eax
mov eax, 0x603dc0
cmove eax, edi
mov edi, 0x609860
mov dword [esi + 0x26c], eax
mov eax, 0x609890
cmove eax, edi
mov edi, 0x603c90
mov dword [esi + 0x270], eax
mov eax, 0x603cc0
cmove eax, edi
mov dword [esi + 0x274], eax
mov eax, dword [esi + 0x168]
mov dword [esi + 0x164], eax
call fcn.00602310
movzx eax, byte [esi + 0x13c]
add esp, 4
cmp eax, 7
ja case.default.0x60642e
jmp dword [eax*4 + 0x608c00]
mov dword [esi + 0x250], fcn.00603e50
jmp case.default.0x60642e
mov dword [esi + 0x250], 0x603f90
jmp case.default.0x60642e
mov dword [esi + 0x250], 0x604020
jmp case.default.0x60642e
mov dword [esi + 0x250], 0x603e10
jmp case.default.0x60642e
mov dword [esi + 0x250], 0x603fd0
jmp case.default.0x60642e
mov dword [esi + 0x250], 0x603f50
jmp case.default.0x60642e
mov dword [esi + 0x250], 0x603e80
jmp case.default.0x60642e
mov dword [esi + 0x250], fcn.00603ee0
mov word [esi + 0x27c], 0
lea eax, [esi + 0x174]
nop dword [eax]
nop word [eax + eax]
mov edx, dword [esi + 0x170]
mov edi, dword [esi + 0x16c]
mov dword [ebp - 0x18], eax
mov al, byte [edi + edx]
movzx ebx, al
mov byte [esi + 0x178], al
movsx ecx, byte [ebx + 0x6ea460]
mov dword [esi + 0x17c], ecx
test ecx, ecx
jns 0x606502
mov esi, dword [ebp - 0x18]
lea eax, [edx + 1]
cmp eax, dword [esi]
mov esi, dword [ebp + 8]
jge 0x608bed
movzx eax, byte [edi + edx + 1]
imul eax, ecx
mov ecx, 2
sub ecx, eax
mov dword [esi + 0x17c], ecx
lea eax, [edx + ecx]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx]
jg 0x608bed
mov bl, byte [ebx + 0x6ea360]
mov ecx, dword [esi + 0x10]
movzx eax, bl
shr eax, 4
sub ecx, eax
mov dword [esi + 0x1c], ecx
jns 0x60656f
cmp byte [esi + 0x249], 0
jne 0x608b86
xor edx, edx
test bl, 0xf0
jbe 0x606566
nop word [eax + eax]
mov eax, dword [esi + 0x18]
movzx ecx, dx
inc edx
mov dword [eax + ecx*4], 0
movzx eax, byte [esi + 0x178]
mov al, byte [eax + 0x6ea360]
shr al, 4
movzx eax, al
cmp dx, ax
jb 0x606540
mov dword [esi + 0x1c], 0
xor ecx, ecx
mov al, byte [esi + 0x178]
lea edx, [esi + 0x20]
mov byte [ebp - 3], al
mov dword [ebp - 0xc], edx
cmp al, 0x91
jne 0x6065a6
mov eax, dword [esi]
mov eax, dword [eax + 0x2e4]
test eax, eax
je 0x60659c
mov ebx, dword [eax]
lea eax, [esi + 0x20]
add ebx, ecx
mov dword [ebp - 0xc], eax
mov dword [edx], ebx
jmp 0x6065b7
mov ebx, dword [edx]
lea eax, [esi + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x6065b7
movzx eax, al
movzx ebx, byte [eax + 0x6ea360]
and ebx, 0xf
add ebx, ecx
mov dword [edx], ebx
mov edi, dword [esi + 0x14]
cmp ebx, edi
jg 0x608bdc
mov edx, dword [esi + 0x18]
lea eax, [esi + 0x180]
mov dword [ebp - 0x10], eax
mov byte [eax], 1
mov al, byte [ebp - 3]
mov dword [esi + 0xc], 0
lea ebx, [edx + ecx*4]
movzx esi, al
mov dword [ebp - 0x14], esi
cmp esi, 0x92
ja case.default.0x6065f0
jmp dword [esi*4 + 0x608c20]
mov esi, dword [ebp + 8]
and al, 1
movzx eax, al
shl ax, 0xe
movzx ecx, ax
mov eax, ecx
xor eax, 0x4000
movzx edx, ax
mov al, byte [ebp - 3]
cmp al, 4
jae 0x606633
mov word [esi + 0x12a], cx
mov word [esi + 0x12c], dx
mov word [esi + 0x126], cx
mov word [esi + 0x128], dx
test al, 2
jne 0x606765
push esi
mov word [esi + 0x12e], cx
mov word [esi + 0x130], dx
call fcn.00602310
jmp 0x608a9b
mov esi, dword [ebp + 8]
movzx eax, word [ebx]
lea edi, [esi + 0x12a]
push edi
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.00603ad0
add esp, 0x10
test al, al
jne case.0x6065f0.33
mov eax, dword [edi]
push esi
mov dword [esi + 0x126], eax
call fcn.00602310
jmp 0x608a9b
mov esi, dword [ebp + 8]
lea eax, [esi + 0x12e]
push eax
movzx eax, word [ebx]
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.00603ad0
add esp, 0x10
test al, al
jne case.0x6065f0.33
push esi
call fcn.00602310
jmp 0x608a9b
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
mov esi, dword [ebp + 8]
test ecx, ecx
jne 0x6066cc
test eax, eax
je 0x606704
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], ecx
call fcn.005f39a0
mov eax, dword [ebp - 0x50]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12a], ax
mov eax, dword [ebp - 0x4c]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12c], ax
mov eax, dword [esi + 0x12a]
push esi
mov dword [esi + 0x126], eax
call fcn.00602310
jmp 0x608a9b
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
mov esi, dword [ebp + 8]
test ecx, ecx
jne 0x60672d
test eax, eax
je 0x606765
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], ecx
call fcn.005f39a0
mov eax, dword [ebp - 0x58]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12e], ax
mov eax, dword [ebp - 0x54]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x130], ax
push esi
call fcn.00602310
jmp 0x608a9b
mov esi, dword [ebp + 8]
movsx eax, word [esi + 0x12a]
mov dword [ebx], eax
movsx eax, word [esi + 0x12c]
mov dword [ebx + 4], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
movsx eax, word [esi + 0x12e]
mov dword [ebx], eax
movsx eax, word [esi + 0x130]
mov dword [ebx + 4], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
push esi
mov eax, dword [esi + 0x12a]
mov dword [esi + 0x12e], eax
call fcn.00602310
jmp 0x608a9b
mov esi, dword [ebp + 8]
push ebx
push esi
call fcn.00602ec0
add esp, 8
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov ax, word [ebx]
mov word [esi + 0x120], ax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov ax, word [ebx]
mov word [esi + 0x122], ax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov ax, word [ebx]
mov word [esi + 0x124], ax
jmp case.0x6065f0.33
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x60684a
sub eax, 1
je 0x606830
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x606862
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], eax
mov ax, word [ebx]
mov word [esi + 0x15c], ax
jmp case.0x6065f0.33
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x6068ba
sub eax, 1
je 0x6068a0
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x6068d2
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x68], eax
mov ax, word [ebx]
mov word [esi + 0x15e], ax
jmp case.0x6065f0.33
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x60692a
sub eax, 1
je 0x606910
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x606942
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], eax
mov ax, word [ebx]
mov word [esi + 0x160], ax
jmp case.0x6065f0.33
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x60699d
sub eax, 1
je 0x606983
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x6069b5
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], eax
movups xmm0, xmmword [esi + 0x24]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0x34]
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x68], eax
movups xmm0, xmmword [esi + 0x24]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0x34]
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], eax
movzx eax, word [ebx]
mov word [esi + 0x15c], ax
movzx eax, word [ebx]
mov word [esi + 0x15e], ax
movzx eax, word [ebx]
mov word [esi + 0x160], ax
jmp case.0x6065f0.33
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
test eax, eax
jns 0x606a1d
mov dword [esi + 0xc], 0x84
jmp case.0x6065f0.33
cmp eax, 0xffff
cmovg eax, dword [ebp - 0x1c]
mov dword [esi + 0x134], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 1
mov dword [esi + 0x250], 0x603f90
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 0
mov dword [esi + 0x250], 0x603fd0
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [esi + 0x138], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov edi, 1
push esi
call fcn.00604250
add esp, 4
cmp al, 1
je case.0x6065f0.33
movzx eax, byte [esi + 0x178]
sub eax, 0x58
je 0x606aa6
sub eax, 1
jne 0x606aa7
dec edi
jmp 0x606aa7
inc edi
test edi, edi
jne 0x606a81
jmp case.0x6065f0.33
mov edi, dword [ebx]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], edx
test edi, edi
jne 0x606ad8
test ecx, ecx
jne 0x606acf
mov dword [esi + 0xc], 0x84
jmp case.0x6065f0.33
lea eax, [esi + 0x180]
mov dword [ebp - 0x14], eax
add edi, dword [esi + 0x170]
mov dword [esi + 0x170], edi
js 0x606a11
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jle 0x606b0c
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x1c4]
add ecx, ecx
mov eax, dword [eax + ecx*8 - 4]
cmp edi, dword [eax + 8]
jg 0x606a11
mov byte [edx], 0
cmp dword [ebx], 0
jge case.0x6065f0.33
inc dword [esi + 0x288]
mov eax, dword [esi + 0x288]
cmp eax, dword [esi + 0x28c]
jbe case.0x6065f0.33
mov dword [esi + 0xc], 0x8b
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [esi + 0x144], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [esi + 0x148], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x108]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x14c], eax
jmp case.0x6065f0.33
mov eax, dword [ebx]
mov dword [ebx + 4], eax
jmp case.0x6065f0.33
mov ecx, dword [ebp - 0xc]
mov dword [ecx], 0
jmp case.0x6065f0.33
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
test eax, eax
jle 0x606beb
cmp eax, ecx
jg 0x606beb
sub ecx, eax
mov eax, dword [edx + ecx*4]
mov dword [ebx], eax
jmp case.0x6065f0.33
cmp byte [esi + 0x249], 0
je 0x606bfb
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
test eax, eax
jle 0x606817
cmp eax, ecx
jg 0x606817
sub ecx, eax
lea eax, [eax*4 - 4]
mov edi, dword [edx + ecx*4]
lea ecx, [edx + ecx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.005c3580
mov ecx, dword [esi + 0x1c]
add esp, 0xc
mov eax, dword [esi + 0x18]
mov dword [eax + ecx*4 - 4], edi
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
movzx eax, word [ebx]
movzx ebx, word [ebx + 4]
mov dword [ebp - 0x14], eax
cmp ax, word [esi + 0x50]
jae 0x606817
cmp bx, word [esi + 0x2c]
jae 0x606817
movzx ecx, ax
mov eax, dword [esi + 0x58]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x34]
mov ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x254]
push esi
call eax
cdq
sub eax, edx
mov edi, eax
lea eax, [esi + 0x48]
sar edi, 1
push edi
push dword [ebp - 0x14]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
neg edi
lea eax, [esi + 0x24]
push edi
push ebx
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x2c
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
movzx eax, word [ebx]
cmp ax, word [esi + 0x2c]
jb 0x606ce2
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
cmp word [esi + 0x12e], 0
mov ecx, eax
mov edx, dword [esi + 0x3c]
sete bl
add edx, ecx
lea ebx, [ebx*8 + 0xf7]
mov al, bl
and al, 0xef
cmp word [esi + 0x130], 0
movzx ecx, al
movzx eax, bl
cmove ecx, eax
and byte [edx], cl
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x1b4]
inc eax
mov dword [ebp - 0x14], eax
cmp edx, eax
jae 0x606824
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x606d41
lea eax, [edx + edx*4]
lea ecx, [edi + eax*4]
jmp 0x606d43
xor ecx, ecx
mov eax, dword [esi + 0x19c]
cmp dword [ebp - 0x14], eax
jne 0x606d53
cmp dword [ecx + 0xc], edx
je 0x606d7b
mov ecx, edi
test ecx, ecx
je 0x606824
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x606d75
cmp dword [ecx + 0xc], edx
je 0x606d73
add ecx, 0x14
cmp ecx, eax
jb 0x606d67
cmp ecx, eax
je 0x606824
cmp byte [ecx + 0x10], 0
je 0x606824
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jl 0x606d9f
mov dword [esi + 0xc], 0x82
jmp case.0x6065f0.33
cmp dword [ebx], 0
jle case.0x6065f0.33
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c4]
mov dword [edx], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [edx + 4], eax
mov eax, dword [ebx]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
inc dword [esi + 0x1bc]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.00602b20
mov byte [esi + 0x180], 0
add esp, 0xc
mov eax, dword [ebx]
add dword [esi + 0x280], eax
mov eax, dword [esi + 0x280]
cmp eax, dword [esi + 0x284]
jbe case.0x6065f0.33
mov dword [esi + 0xc], 0x8b
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov edx, dword [ebx]
mov ebx, dword [esi + 0x1b4]
inc ebx
cmp edx, ebx
jae 0x606824
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x606824
lea eax, [edx + edx*4]
lea ecx, [edi + eax*4]
mov eax, dword [esi + 0x19c]
cmp ebx, eax
jne 0x606e43
cmp dword [ecx + 0xc], edx
je 0x606e64
mov ecx, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x606e5e
nop
cmp dword [ecx + 0xc], edx
je 0x606e5c
add ecx, 0x14
cmp ecx, eax
jb 0x606e50
cmp ecx, eax
je 0x606824
cmp byte [ecx + 0x10], 0
je 0x606824
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jl 0x606e88
mov dword [esi + 0xc], 0x82
jmp case.0x6065f0.33
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c4]
mov dword [edx], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [edx + 8], 1
mov dword [edx + 4], eax
mov dword [edx + 0xc], ecx
inc dword [esi + 0x1bc]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.00602b20
add esp, 0xc
mov byte [esi + 0x180], 0
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
cmp dword [esi + 0x164], 3
jne 0x606ee5
mov dword [esi + 0xc], 0x9c
jmp case.0x6065f0.33
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x606efd
mov eax, dword [esi + 0x19c]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
jmp 0x606eff
xor eax, eax
mov ecx, dword [ebx]
cmp edi, eax
jae 0x606f13
cmp dword [edi + 0xc], ecx
je 0x606f11
add edi, 0x14
cmp edi, eax
jb 0x606f05
cmp edi, eax
jne 0x606f2a
mov eax, dword [esi + 0x19c]
cmp eax, dword [esi + 0x1a0]
jae 0x606f32
inc eax
mov dword [esi + 0x19c], eax
cmp ecx, 0xffff
jbe 0x606f3e
mov dword [esi + 0xc], 0x8c
jmp case.0x6065f0.33
mov eax, dword [esi + 0x168]
mov dword [edi], eax
movzx edx, cx
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x170]
inc eax
mov byte [edi + 0x10], 1
mov dword [edi + 4], eax
cmp ecx, dword [esi + 0x1b4]
jbe 0x606f68
mov dword [esi + 0x1b4], edx
push esi
call fcn.00604250
add esp, 4
test al, al
jne case.0x6065f0.33
nop dword [eax]
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x606fb6
sub eax, 1
je 0x606fa8
sub eax, 0x5c
je 0x606fb6
push esi
call fcn.00604250
add esp, 4
test al, al
je 0x606f80
jmp case.0x6065f0.33
mov eax, dword [esi + 0x170]
mov dword [edi + 8], eax
jmp case.0x6065f0.33
mov dword [esi + 0xc], 0x89
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jg 0x606fdb
mov dword [esi + 0xc], 0x88
jmp case.0x6065f0.33
mov edx, dword [ebp - 0x10]
dec ecx
mov dword [esi + 0x1bc], ecx
shl ecx, 4
add ecx, dword [esi + 0x1c4]
dec dword [ecx + 8]
mov byte [edx], 0
cmp dword [ecx + 8], 0
jle 0x607011
inc dword [esi + 0x1bc]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 0x170], eax
jmp case.0x6065f0.33
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.00602b20
add esp, 0xc
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
movzx edi, word [ebx]
cmp di, word [esi + 0x2c]
jb 0x607049
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
test al, 1
je 0x60708d
mov eax, dword [esi + 0x34]
mov ecx, edi
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov ebx, eax
mov eax, dword [esi + 0x250]
push 3
push ebx
push esi
cmp eax, fcn.00603ee0
jne 0x607084
call fcn.00603ee0
add esp, 0xc
sub eax, ebx
jmp 0x60708f
call eax
add esp, 0xc
sub eax, ebx
jmp 0x60708f
xor eax, eax
push eax
push edi
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x10
mov word [esi + 0x120], di
mov word [esi + 0x122], di
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
push esi
call fcn.006030f0
jmp 0x608a9b
mov esi, dword [ebp + 8]
lea edi, [esi + 0x134]
mov eax, dword [esi + 0x10]
cmp eax, dword [edi]
jge 0x607108
cmp byte [esi + 0x249], 0
je 0x6070f5
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], 0x86
mov dword [edi], 1
mov dword [ecx], eax
jmp case.0x6065f0.33
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x1c]
mov dword [edi], 1
mov dword [ecx], eax
jmp case.0x6065f0.33
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.00602450
add esp, 0x14
test al, al
jne case.0x6065f0.33
cmp dword [edi], 0
mov ecx, dword [ebp - 0xc]
jle 0x6071f3
mov ebx, dword [ebp - 0x20]
nop dword [eax + eax]
dec dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
movzx edx, word [eax + ecx*4]
cmp dx, word [esi + 0x74]
jb 0x607162
cmp byte [esi + 0x249], 0
jne 0x606824
jmp 0x6071df
cmp word [esi + 0x12e], 0
je 0x60719a
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x607180
cmp byte [esi + 0x27b], 0
jne 0x60718e
mov eax, dword [esi + 0x7c]
mov ecx, edx
mov ebx, dword [ebp - 0x2c]
add dword [eax + ecx*8], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [esi + 0x84]
mov ecx, edx
or byte [eax + ecx], 8
cmp word [esi + 0x130], 0
je 0x6071df
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x6071ca
cmp byte [esi + 0x27b], 0
je 0x6071ca
cmp byte [esi + 0x27c], 0
je 0x6071ca
cmp byte [esi + 0x27d], 0
jne 0x6071d3
mov eax, dword [esi + 0x7c]
mov ecx, edx
add dword [eax + ecx*8 + 4], ebx
mov eax, dword [esi + 0x84]
mov ecx, edx
or byte [eax + ecx], 0x10
dec dword [edi]
cmp dword [edi], 0
jg 0x607140
lea edi, [esi + 0x134]
lea ecx, [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [edi], 1
mov dword [ecx], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
push ebx
push esi
call fcn.00603780
add esp, 8
jmp case.0x6065f0.33
cmp dword [ebx], 2
mov esi, dword [ebp + 8]
jb 0x607236
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.00602450
add esp, 0x14
test al, al
jne case.0x6065f0.33
movzx eax, word [esi + 0x160]
test ax, ax
jne 0x607269
movzx ebx, word [esi + 0x74]
jmp 0x60728e
cmp eax, 1
jne 0x60728c
movzx eax, word [esi + 0x76]
test ax, ax
jle 0x60728c
movsx ecx, ax
mov eax, dword [esi + 0x88]
mov ax, word [eax + ecx*2 - 2]
inc ax
movzx ebx, ax
jmp 0x60728e
xor ebx, ebx
xor eax, eax
xor edi, edi
cmp ax, bx
jae case.0x6065f0.33
xor edx, edx
nop dword [eax]
mov ecx, dword [esi + 0x7c]
cmp dword [ebp - 0x6c], ecx
jne 0x6072ae
cmp word [ebp - 8], di
je 0x60730c
cmp word [esi + 0x12e], 0
je 0x6072d2
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x6072cc
cmp byte [esi + 0x27b], 0
jne 0x6072d2
mov eax, dword [ebp - 0x30]
add dword [edx + ecx], eax
cmp word [esi + 0x130], 0
je 0x60730c
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x607302
cmp byte [esi + 0x27b], 0
je 0x607302
cmp byte [esi + 0x27c], 0
je 0x607302
cmp byte [esi + 0x27d], 0
jne 0x60730c
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebp - 0x34]
add dword [edx + eax + 4], ecx
inc edi
add edx, 8
cmp di, bx
jb 0x6072a0
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
push ebx
push esi
call fcn.006038f0
add esp, 8
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
push esi
call fcn.00602ba0
jmp 0x608a9b
mov esi, dword [ebp + 8]
movzx edi, word [ebx]
mov dword [ebp - 0x14], edi
cmp di, word [esi + 0x50]
jae 0x606817
movzx eax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x606817
cmp word [esi + 0x15e], 0
jne 0x6073ae
mov edx, eax
movzx edi, di
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + edx*8]
mov edx, dword [eax + edx*8 + 4]
mov eax, dword [esi + 0x54]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
lea eax, [esi + 0x48]
push dword [ebx + 4]
push dword [ebp - 0x14]
push eax
mov eax, dword [esi + 0x264]
push esi
call eax
mov eax, dword [esi + 0x54]
add esp, 0x10
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov eax, dword [esi + 0x58]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
mov edi, dword [ebp - 0x14]
movzx ecx, word [esi + 0x120]
mov eax, dword [esi + 0x34]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x58]
movzx ecx, di
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x254]
push esi
call eax
mov ecx, dword [ebx + 4]
sub ecx, eax
lea eax, [esi + 0x48]
push ecx
push edi
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
mov ax, word [esi + 0x120]
add esp, 0x1c
test byte [esi + 0x178], 1
mov word [esi + 0x122], ax
mov word [esi + 0x124], di
je case.0x6065f0.33
mov word [esi + 0x120], di
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x134]
lea ebx, [esi + 0x134]
mov ecx, dword [ebp - 0xc]
mov edx, ecx
cmp dword [esi + 0x10], edi
jl 0x6074d9
mov ax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x6074d6
mov eax, ebx
test edi, edi
jle 0x6074ed
dec dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
movzx edi, word [eax + ecx*4]
cmp di, word [esi + 0x50]
jb 0x607478
cmp byte [esi + 0x249], 0
jne 0x606824
jmp 0x6074b6
movzx ecx, word [esi + 0x120]
mov eax, dword [esi + 0x34]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x58]
mov ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x254]
push esi
call eax
neg eax
push eax
push edi
lea eax, [esi + 0x48]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x1c
dec dword [ebx]
cmp dword [ebx], 0
jg 0x607456
lea eax, [esi + 0x134]
lea ecx, [esi + 0x20]
mov dword [eax], 1
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
jmp case.0x6065f0.33
lea edx, [esi + 0x20]
cmp byte [esi + 0x249], 0
mov eax, ebx
je 0x6074ed
mov dword [esi + 0xc], 0x86
mov ecx, edx
mov dword [eax], 1
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 2
mov dword [esi + 0x250], 0x603f50
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
movzx edx, word [ebx]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], edx
cmp dx, word [esi + 0x2c]
jae 0x607631
cmp ecx, dword [esi + 0x184]
jae 0x607631
mov eax, dword [esi + 0x26c]
cmp eax, 0x603da0
jne 0x607553
mov eax, dword [esi + 0x188]
mov ebx, dword [eax + ecx*4]
jmp 0x60755f
push ecx
push esi
call eax
mov edx, dword [ebp - 0x10]
add esp, 8
mov ebx, eax
cmp word [esi + 0x15c], 0
jne 0x6075ac
movsx eax, word [esi + 0x12e]
push eax
push ebx
movzx edi, dx
call fcn.00605a90
mov ecx, dword [esi + 0x30]
mov dword [ecx + edi*8], eax
movsx eax, word [esi + 0x130]
push eax
push ebx
call fcn.00605a90
mov ecx, dword [esi + 0x30]
add esp, 0x10
mov dword [ecx + edi*8 + 4], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov eax, dword [esi + 0x34]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
mov eax, dword [ebp - 0x10]
movzx ecx, ax
mov eax, dword [esi + 0x34]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov edi, eax
test byte [esi + 0x178], 1
je 0x607605
mov ecx, ebx
sub ecx, edi
jns 0x6075dd
mov ecx, edi
sub ecx, ebx
cmp ecx, dword [esi + 0x144]
mov eax, dword [esi + 0x250]
cmovg ebx, edi
push 3
push ebx
push esi
cmp eax, fcn.00603ee0
jne 0x6075fe
call fcn.00603ee0
jmp 0x607600
call eax
mov ebx, eax
add esp, 0xc
sub ebx, edi
lea eax, [esi + 0x24]
push ebx
push dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
mov edx, dword [ebp - 0x10]
add esp, 0x10
mov word [esi + 0x120], dx
mov word [esi + 0x122], dx
jmp case.0x6065f0.33
cmp byte [esi + 0x249], 0
je 0x607641
mov dword [esi + 0xc], 0x86
mov word [esi + 0x120], dx
mov word [esi + 0x122], dx
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x16c]
sub edi, dword [esi + 0x10]
inc edi
movzx ecx, byte [ecx + eax + 1]
movzx eax, cx
mov dword [ebp - 0x14], ecx
cmp eax, edi
jb 0x607682
mov dword [esi + 0xc], 0x82
jmp case.0x6065f0.33
mov edi, 1
mov eax, edi
cmp ax, cx
ja 0x6076c0
nop
mov ecx, dword [esi + 0x16c]
mov eax, dword [esi + 0x170]
movzx edx, di
inc edi
add ecx, edx
movzx eax, byte [ecx + eax + 1]
mov dword [ebx + edx*4 - 4], eax
mov eax, dword [ebp - 0x14]
cmp di, ax
jbe 0x607690
lea ecx, [esi + 0x20]
movzx eax, ax
add dword [ecx], eax
jmp case.0x6065f0.33
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
movzx eax, ax
add dword [ecx], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x16c]
mov ecx, dword [esi + 0x170]
sub edi, dword [esi + 0x10]
inc edi
mov dl, byte [ecx + eax + 1]
movzx eax, dl
mov byte [ebp - 3], dl
mov dword [ebp - 0x14], eax
cmp eax, edi
jb 0x607700
mov dword [esi + 0xc], 0x82
jmp case.0x6065f0.33
lea eax, [ecx + 2]
mov dword [esi + 0x170], eax
test dl, dl
je 0x607761
nop dword [eax]
add dword [esi + 0x170], 2
lea ebx, [ebx + 4]
mov edx, dword [esi + 0x170]
mov eax, 0x100
add edx, dword [esi + 0x16c]
cwde
movzx ecx, byte [edx - 2]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx - 1]
add cx, ax
sub dword [ebp - 0x14], 1
movsx eax, cx
mov dword [ebx - 4], eax
jne 0x607710
movzx eax, byte [ebp - 3]
lea edx, [esi + 0x180]
add dword [esi + 0x20], eax
lea ecx, [esi + 0x20]
mov byte [edx], 0
jmp case.0x6065f0.33
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
movzx eax, byte [ebp - 3]
add dword [ecx], eax
mov byte [edx], 0
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov edi, dword [ebx]
movzx ecx, word [esi + 0x1e4]
cmp edi, ecx
jb 0x60779e
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
cmp dword [esi + 0x164], 3
jne 0x607811
mov eax, dword [esi + 0x1f0]
cmp dword [esi + 0x1e8], eax
je 0x607811
lea edx, [ebp - 0x38]
push edx
push eax
movzx eax, word [esi + 0x1ec]
push ecx
push eax
push 4
push dword [esi + 8]
call fcn.005f52a0
mov ecx, dword [ebp - 0x38]
add esp, 0x18
mov dword [esi + 0x1f0], eax
mov dword [esi + 0xc], ecx
test ecx, ecx
jne case.0x6065f0.33
movzx ecx, word [esi + 0x1e4]
mov word [esi + 0x1ec], cx
shl ecx, 2
push ecx
push dword [esi + 0x1e8]
push eax
call fcn.005c3580
mov eax, dword [esi + 0x1f0]
add esp, 0xc
mov dword [esi + 0x1e8], eax
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ebx + 4]
mov dword [ecx + edi*4], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov ecx, dword [ebx]
movzx eax, word [esi + 0x1e4]
cmp ecx, eax
jb 0x607852
cmp byte [esi + 0x249], 0
je 0x607847
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
mov dword [ebx], 0
jmp case.0x6065f0.33
mov eax, dword [esi + 0x1e8]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov edi, dword [ebx]
cmp edi, dword [esi + 0x184]
jb 0x607888
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
mov eax, dword [esi + 0x270]
mov ebx, dword [ebx + 4]
cmp eax, 0x609860
jne 0x6078b9
push esi
call fcn.00603c10
add esp, 4
cmp dword [esi + 0xc], 0
jne case.0x6065f0.33
mov eax, dword [esi + 0x188]
mov dword [eax + edi*4], ebx
jmp case.0x6065f0.33
push ebx
push edi
push esi
call eax
add esp, 0xc
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x184]
jb 0x6078ec
cmp byte [esi + 0x249], 0
je 0x607847
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
mov eax, dword [esi + 0x26c]
cmp eax, 0x603da0
jne 0x607909
mov eax, dword [esi + 0x188]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x6065f0.33
push ecx
push esi
call eax
add esp, 8
mov dword [ebx], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov ecx, dword [ebx]
movzx eax, word [esi + 0x74]
cmp ecx, eax
jb 0x60793d
cmp byte [esi + 0x249], 0
je 0x607934
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x6065f0.33
test byte [ebp - 3], 1
je 0x607960
mov eax, dword [esi + 0x78]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x258]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [esi + 0x7c]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
movzx eax, word [ebx]
mov dword [ebp - 0x14], eax
cmp ax, word [esi + 0x74]
jb 0x6079a5
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
movzx edi, ax
mov eax, dword [esi + 0x7c]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
mov eax, dword [esi + 0x254]
push esi
call eax
mov ecx, dword [ebx + 4]
sub ecx, eax
lea eax, [esi + 0x6c]
push ecx
push dword [ebp - 0x14]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x1c
cmp word [esi + 0x160], 0
jne case.0x6065f0.33
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov eax, dword [esi + 0x78]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
movzx ecx, word [ebx]
movzx edi, word [ebx + 4]
cmp cx, word [esi + 0x2c]
jae 0x606beb
cmp di, word [esi + 0x50]
jae 0x606beb
test al, 1
je 0x607a4d
mov eax, dword [esi + 0x58]
mov ecx, edi
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x34]
movzx ecx, word [ebx]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x6065f0.33
cmp word [esi + 0x15c], 0
je 0x607b57
cmp word [esi + 0x15e], 0
je 0x607b57
mov eax, dword [esi + 0x38]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x5c]
mov ecx, edi
mov dword [ebp - 0xc], edx
lea edi, [eax + ecx*8]
mov eax, dword [esi + 0xe0]
cmp eax, dword [esi + 0xe4]
jne 0x607ad9
mov eax, dword [edx + 4]
sub eax, dword [edi + 4]
push eax
mov eax, dword [edx]
sub eax, dword [edi]
push eax
mov eax, dword [esi + 0x258]
push esi
call eax
mov dword [ebp - 0x14], eax
add esp, 0xc
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebx], eax
jmp case.0x6065f0.33
mov dword [ebp - 0x10], eax
mov eax, dword [edx]
sub eax, dword [edi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
sub eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
mov eax, dword [esi + 0x258]
push dword [ebp - 0x44]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [esi + 0x30]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x54]
mov ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 4]
sub eax, dword [ecx + 4]
push eax
mov eax, dword [edx]
sub eax, dword [ecx]
push eax
mov eax, dword [esi + 0x258]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x268]
cmp eax, 0x602530
jne 0x607ba2
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x6065f0.33
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x23
jne 0x607be5
mov eax, dword [esi + 0x268]
cmp eax, 0x602530
jne 0x607bd8
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x6065f0.33
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [esi + 0xd8]
mov dword [ebx], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov byte [esi + 0x140], 1
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov byte [esi + 0x140], 0
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov dword [esi + 0xc], 0x87
jmp case.0x6065f0.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setl cl
mov dword [ebx], ecx
jmp case.0x6065f0.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setle cl
mov dword [ebx], ecx
jmp case.0x6065f0.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setg cl
mov dword [ebx], ecx
jmp case.0x6065f0.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setge cl
mov dword [ebx], ecx
jmp case.0x6065f0.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
sete cl
mov dword [ebx], ecx
jmp case.0x6065f0.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setne cl
mov dword [ebx], ecx
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, dword [esi + 0x250]
cmp ecx, 0x603f50
jne 0x607ce7
mov edx, dword [esi + 0x118]
test eax, eax
js 0x607cc4
add edx, 0x10
add eax, edx
mov edx, 0
and eax, 0xffffffe0
cmovge edx, eax
xor ecx, ecx
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [ebx], ecx
jmp case.0x6065f0.33
sub edx, eax
xor eax, eax
add edx, 0x10
and edx, 0xffffffe0
neg edx
test edx, edx
cmovg edx, eax
xor ecx, ecx
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [ebx], ecx
jmp case.0x6065f0.33
push 3
push eax
push esi
call ecx
mov edx, eax
xor ecx, ecx
and dl, 0x7f
add esp, 0xc
cmp dl, 0x40
sete cl
mov dword [ebx], ecx
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, dword [esi + 0x250]
cmp ecx, 0x603f50
jne 0x607d61
mov ecx, dword [esi + 0x118]
test eax, eax
js 0x607d43
add ecx, 0x10
add eax, ecx
mov ecx, 0
and eax, 0xffffffe0
cmovge ecx, eax
mov eax, 0
test cl, 0x7f
sete al
mov dword [ebx], eax
jmp case.0x6065f0.33
sub ecx, eax
xor eax, eax
add ecx, 0x10
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, eax
test cl, 0x7f
sete al
mov dword [ebx], eax
jmp case.0x6065f0.33
push 3
push eax
push esi
call ecx
mov ecx, eax
add esp, 0xc
test cl, 0x7f
mov eax, 0
sete al
mov dword [ebx], eax
jmp case.0x6065f0.33
cmp dword [ebx], 0
mov esi, dword [ebp + 8]
jne case.0x6065f0.33
mov edi, 1
xor bl, bl
push esi
call fcn.00604250
add esp, 4
cmp al, 1
je case.0x6065f0.33
movzx eax, byte [esi + 0x178]
sub eax, 0x1b
je 0x607dc0
sub eax, 0x3d
je 0x607dbd
sub eax, 1
jne 0x607dc6
sub edi, 1
jmp 0x607dc3
inc edi
jmp 0x607dc6
cmp edi, 1
sete bl
test bl, bl
je 0x607d91
jmp case.0x6065f0.33
cmp dword [ebx], 0
je 0x606bfb
cmp dword [ebx + 4], 0
je 0x606bfb
mov eax, 1
mov dword [ebx], eax
jmp case.0x6065f0.33
cmp dword [ebx], 0
jne 0x607e02
cmp dword [ebx + 4], 0
jne 0x607e02
xor eax, eax
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, 1
mov dword [ebx], eax
jmp case.0x6065f0.33
xor eax, eax
cmp dword [ebx], eax
sete al
mov dword [ebx], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x268]
cmp eax, 0x602530
jne 0x607e38
movzx ecx, word [esi + 0x100]
mov dword [ebp - 0x14], ecx
jmp 0x607e41
push esi
call eax
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
mov edx, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp eax, edx
jb 0x607f79
lea ecx, [esi + 0x249]
nop dword [eax]
mov eax, dword [esi + 0x1c]
cmp eax, 2
jl 0x607f66
lea ecx, [eax - 2]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
movzx ebx, word [eax + ecx*4 + 4]
mov edi, dword [eax + ecx*4]
cmp bx, word [esi + 0x2c]
jae 0x607f38
movzx eax, byte [esi + 0x178]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x607ea5
sub eax, 1
jne 0x607ea8
add ecx, 0x20
jmp 0x607ea8
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 0x14], eax
jne 0x607f30
movzx eax, word [esi + 0x152]
and edi, 0xf
mov ecx, 6
sub ecx, eax
mov eax, dword [esi]
cmp edi, 8
sbb edx, edx
mov eax, dword [eax + 0x60]
add edx, 0xfffffff9
add edx, edi
shl edx, cl
cmp dword [eax + 0x40], 0x28
jne 0x607f1b
cmp byte [esi + 0x27b], 0
je 0x607f1b
cmp byte [esi + 0x27c], 0
je 0x607efd
cmp byte [esi + 0x27d], 0
jne 0x607f2d
cmp byte [esi + 0x248], 0
je 0x607f10
cmp word [esi + 0x130], 0
jne 0x607f1b
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x607f2d
push edx
push ebx
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x10
mov edx, dword [ebp - 0xc]
lea ecx, [esi + 0x249]
jmp 0x607f4e
cmp byte [esi + 0x249], 0
lea ecx, [esi + 0x249]
je 0x607f4e
mov dword [esi + 0xc], 0x86
inc edx
mov dword [ebp - 0xc], edx
cmp edx, dword [ebp - 0x10]
jbe 0x607e60
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x6065f0.33
cmp byte [ecx], 0
je 0x607f72
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov ax, word [ebx]
mov word [esi + 0x150], ax
jmp case.0x6065f0.33
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
cmp eax, 6
jbe 0x607fac
mov dword [esi + 0xc], 0x84
jmp case.0x6065f0.33
mov word [esi + 0x152], ax
jmp case.0x6065f0.33
mov eax, dword [ebx + 4]
add dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [ebx + 4]
sub dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [ebx + 4]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x607fe2
mov dword [esi + 0xc], 0x85
jmp case.0x6065f0.33
push eax
push pe_nt_image_headers32
push dword [ebx]
call fcn.005f0b70
add esp, 0xc
mov dword [ebx], eax
jmp case.0x6065f0.33
push pe_nt_image_headers32
push dword [ebx + 4]
push dword [ebx]
call fcn.005f0a90
add esp, 0xc
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [ebx]
test eax, eax
jns case.0x6065f0.33
neg eax
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [ebx]
neg eax
mov dword [ebx], eax
jmp case.0x6065f0.33
and dword [ebx], 0xffffffc0
jmp case.0x6065f0.33
mov eax, dword [ebx]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
and eax, 3
mov ecx, dword [ebx]
push eax
push ecx
mov edx, dword [esi + 0x250]
push esi
cmp edx, fcn.00603ee0
jne 0x60806c
call fcn.00603ee0
add esp, 0xc
mov dword [ebx], eax
jmp case.0x6065f0.33
call edx
add esp, 0xc
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
and eax, 3
mov ecx, dword [ebx]
mov eax, dword [esi + eax*4 + 0x10c]
test ecx, ecx
js 0x60809e
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [ebx], ecx
jmp case.0x6065f0.33
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg ecx, eax
mov dword [ebx], ecx
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov edi, dword [ebx]
cmp edi, dword [esi + 0x184]
jb 0x6080d4
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
mov eax, dword [esi + 0x108]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x48], eax
mov ecx, dword [esi + 0x188]
mov eax, dword [ebp - 0x48]
mov dword [ecx + edi*4], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
push ebx
push esi
call fcn.00602870
add esp, 8
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x268]
cmp eax, 0x602530
jne 0x608145
movzx edi, word [esi + 0x100]
mov dword [ebp - 0x10], edi
jmp 0x608150
push esi
call eax
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 1
cmp eax, 1
jb 0x607f79
nop word [eax + eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x608235
mov eax, dword [esi + 0x18]
add ecx, 0xfffffffe
mov dword [esi + 0x1c], ecx
mov ebx, dword [eax + ecx*4 + 4]
mov edx, dword [eax + ecx*4]
cmp ebx, dword [esi + 0x184]
jb 0x6081a3
cmp byte [esi + 0x249], 0
jne 0x606824
jmp 0x60821d
movzx eax, byte [esi + 0x178]
mov ecx, edx
shr ecx, 4
and ecx, 0xf
sub eax, 0x74
je 0x6081c1
sub eax, 1
jne 0x6081c4
add ecx, 0x20
jmp 0x6081c4
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp edi, eax
jne 0x60821d
movzx eax, word [esi + 0x152]
and edx, 0xf
mov ecx, 6
sub ecx, eax
mov eax, dword [esi + 0x274]
cmp edx, 8
sbb edi, edi
add edi, 0xfffffff9
add edi, edx
shl edi, cl
cmp eax, 0x603c90
jne 0x608215
push esi
call fcn.00603c10
add esp, 4
cmp dword [esi + 0xc], 0
jne 0x60821d
mov eax, dword [esi + 0x188]
add dword [eax + ebx*4], edi
jmp 0x60821d
push edi
push ebx
push esi
call eax
add esp, 0xc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0xc]
ja 0x607f79
mov edi, dword [ebp - 0x10]
jmp 0x608170
cmp byte [esi + 0x249], 0
je 0x607f72
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x20], eax
jmp case.0x6065f0.33
push dword [ebx]
mov esi, dword [ebp + 8]
push 0x4000
push esi
call fcn.00604060
add esp, 0xc
mov dword [esi + 0x13c], 6
mov dword [esi + 0x250], 0x603e80
jmp case.0x6065f0.33
push dword [ebx]
mov esi, dword [ebp + 8]
push 0x2d41
push esi
call fcn.00604060
add esp, 0xc
mov dword [esi + 0x13c], 7
mov dword [esi + 0x250], fcn.00603ee0
jmp case.0x6065f0.33
cmp dword [ebx + 4], 0
mov esi, dword [ebp + 8]
je case.0x6065f0.33
mov edi, dword [ebx]
test edi, edi
jne 0x6082de
test ecx, ecx
jne 0x6082d6
mov dword [esi + 0xc], 0x84
jmp case.0x6065f0.33
lea edx, [esi + 0x180]
jmp 0x6082e1
mov edx, dword [ebp - 0x10]
add edi, dword [esi + 0x170]
mov dword [esi + 0x170], edi
js 0x606a11
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jle 0x606b0c
jmp 0x606af7
cmp dword [ebx + 4], 0
mov esi, dword [ebp + 8]
jne case.0x6065f0.33
jmp 0x6082c0
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 5
mov dword [esi + 0x250], fcn.00603e50
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 4
mov dword [esi + 0x250], 0x604020
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 3
mov dword [esi + 0x250], 0x603e10
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x608394
cmp byte [esi + 0x27b], 0
je 0x608394
cmp byte [esi + 0x27c], 0
je 0x608394
cmp byte [esi + 0x27d], 0
mov eax, ecx
jne 0x608413
mov edi, dword [esi + 0x134]
mov eax, ecx
cmp dword [esi + 0x10], edi
jge 0x6083c3
cmp byte [esi + 0x249], 0
je 0x608413
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x6065f0.33
test edi, edi
jle 0x608413
nop word [eax + eax]
lea eax, [ecx - 1]
mov dword [esi + 0x1c], eax
movzx ecx, word [edx + eax*4]
cmp cx, word [esi + 0x98]
jb 0x6083f2
cmp byte [esi + 0x249], 0
jne 0x606824
jmp 0x608402
mov eax, dword [esi + 0xa8]
xor byte [eax + ecx], 1
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
dec dword [esi + 0x134]
mov ecx, eax
cmp dword [esi + 0x134], 0
jg 0x6083d0
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x608452
cmp byte [esi + 0x27b], 0
je 0x608452
cmp byte [esi + 0x27c], 0
je 0x608452
cmp byte [esi + 0x27d], 0
jne case.0x6065f0.33
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x606817
cmp ax, cx
jae 0x606817
mov edx, eax
cmp ax, di
ja case.0x6065f0.33
nop dword [eax]
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
or byte [ecx + eax], 1
cmp dx, di
jbe 0x608480
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x6084c5
cmp byte [esi + 0x27b], 0
je 0x6084c5
cmp byte [esi + 0x27c], 0
je 0x6084c5
cmp byte [esi + 0x27d], 0
jne case.0x6065f0.33
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x606817
cmp ax, cx
jae 0x606817
mov edx, eax
cmp ax, di
ja case.0x6065f0.33
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
and byte [ecx + eax], 0xfe
cmp dx, di
jbe 0x6084f0
jmp case.0x6065f0.33
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
movzx ecx, al
cmp ecx, 0xff
jne 0x608524
mov byte [esi + 0x155], 1
jmp case.0x6065f0.33
test al, al
je 0x6085c0
test eax, 0x100
je 0x608545
movzx eax, word [esi + 0x100]
cmp eax, ecx
ja 0x608545
mov byte [esi + 0x155], 1
test dword [ebx], 0x200
je 0x60855d
cmp byte [esi + 0x11d], 0
je 0x60855d
mov byte [esi + 0x155], 1
test dword [ebx], 0x400
je 0x608575
cmp byte [esi + 0x11e], 0
je 0x608575
mov byte [esi + 0x155], 1
test dword [ebx], 0x800
je 0x60858f
movzx eax, word [esi + 0x100]
cmp eax, ecx
jbe 0x60858f
mov byte [esi + 0x155], 0
test dword [ebx], 0x1000
je 0x6085a7
cmp byte [esi + 0x11d], 0
je 0x6085a7
mov byte [esi + 0x155], 0
test dword [ebx], 0x2000
je case.0x6065f0.33
cmp byte [esi + 0x11e], 0
je case.0x6065f0.33
mov byte [esi + 0x155], 0
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
movzx ecx, word [ebx]
movzx eax, word [ebx + 4]
cmp cx, word [esi + 0x50]
jae 0x606817
cmp ax, word [esi + 0x74]
jae 0x606817
mov edi, ecx
mov edx, eax
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x78]
shl edx, 3
add eax, edx
mov dword [ebp - 0x14], edx
mov edx, dword [ecx + edi*8]
mov ecx, dword [ecx + edi*8 + 4]
sub edx, dword [eax]
sub ecx, dword [eax + 4]
test edx, edx
jne 0x608619
test ecx, ecx
jne 0x608619
mov edx, 0x4000
xor bl, bl
jmp 0x60861c
mov bl, byte [ebp - 3]
test bl, 1
je 0x608629
mov eax, ecx
mov ecx, edx
mov edx, eax
neg edx
lea eax, [esi + 0x126]
push eax
push ecx
push edx
call fcn.00603d00
mov ecx, dword [esi + 0x58]
add esp, 0xc
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x14]
mov edx, dword [ecx + edi*8]
mov ecx, dword [ecx + edi*8 + 4]
sub edx, dword [eax]
sub ecx, dword [eax + 4]
test edx, edx
jne 0x60865e
test ecx, ecx
jne 0x60865e
mov edx, 0x4000
xor bl, bl
test bl, 1
je 0x60866b
mov eax, ecx
mov ecx, edx
mov edx, eax
neg edx
lea eax, [esi + 0x12a]
push eax
push ecx
push edx
call fcn.00603d00
push esi
call fcn.00602310
add esp, 0x10
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebx]
mov edi, dword [esi]
test cl, 1
je 0x60869b
mov eax, dword [edi + 0x60]
mov edx, dword [eax + 0x40]
test cl, 2
je 0x6086af
cmp byte [esi + 0x11d], 0
je 0x6086af
or edx, 0x100
test cl, 4
je 0x6086c3
cmp byte [esi + 0x11e], 0
je 0x6086c3
or edx, 0x200
test cl, 8
je 0x6086d9
mov edi, dword [esi]
cmp dword [edi + 0x2e4], 0
je 0x6086d9
or edx, 0x400
test cl, 0x20
je 0x6086ed
cmp byte [esi + 0x278], 0
je 0x6086ed
or edx, 0x1000
mov eax, dword [edi + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x608760
cmp byte [esi + 0x279], 0
je 0x608760
test cl, 0x40
je 0x60870a
or edx, 0x2000
test ecx, 0x100
je 0x608721
cmp byte [esi + 0x27a], 0
je 0x608721
or edx, 0x8000
mov eax, ecx
mov ecx, edx
or ecx, 0x20000
test eax, 0x400
cmove ecx, edx
mov edx, ecx
or edx, 0x40000
test dword [ebx], 0x800
cmove edx, ecx
test dword [ebx], 0x1000
mov dword [ebp - 0x14], edx
je 0x608760
cmp byte [esi + 0x27e], 0
mov eax, edx
je 0x608760
or edx, 0x80000
mov dword [ebx], edx
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
cmp dword [esi + 0x164], 3
jne 0x60877f
mov dword [esi + 0xc], 0x9c
jmp case.0x6065f0.33
mov edi, dword [esi + 0x1b0]
test edi, edi
je 0x6087b0
mov eax, dword [esi + 0x1a8]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
cmp edi, eax
jae 0x6087ae
mov ecx, dword [ebx]
nop dword [eax + eax]
cmp dword [edi + 0xc], ecx
je 0x6087ac
add edi, 0x14
cmp edi, eax
jb 0x6087a0
cmp edi, eax
jne 0x6087c9
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1ac]
jae 0x608854
inc eax
mov dword [esi + 0x1a8], eax
mov eax, dword [ebx]
cmp eax, 0xff
ja 0x608854
movzx eax, al
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [edi + 4], eax
mov eax, dword [esi + 0x168]
mov dword [edi], eax
mov byte [edi + 0x10], 1
mov eax, dword [ebx]
cmp eax, dword [esi + 0x1b8]
jbe 0x608805
movzx eax, al
mov dword [esi + 0x1b8], eax
push esi
call fcn.00604250
add esp, 4
test al, al
jne case.0x6065f0.33
nop word [eax + eax]
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x606fb6
sub eax, 1
je 0x606fa8
sub eax, 0x5c
je 0x606fb6
push esi
call fcn.00604250
add esp, 4
test al, al
je 0x608820
jmp case.0x6065f0.33
mov dword [esi + 0xc], 0x8d
jmp case.0x6065f0.33
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebx + 8], eax
mov dword [ebx + 4], edx
mov dword [ebx], ecx
jmp case.0x6065f0.33
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jle case.0x6065f0.33
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jge case.0x6065f0.33
mov dword [ebx], eax
jmp case.0x6065f0.33
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
test eax, eax
js case.0x6065f0.33
movzx eax, ax
mov dword [esi + 0x158], eax
jmp case.0x6065f0.33
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
mov esi, dword [ebp + 8]
lea eax, [edi - 1]
cmp eax, 2
ja 0x606817
lea ecx, [edi - 1]
mov eax, 1
shl eax, cl
test edx, edx
je 0x6088f3
cmp edx, eax
je 0x6088f3
cmp byte [esi + 0x249], 0
je case.0x6065f0.33
mov dword [esi + 0xc], 0x86
jmp case.0x6065f0.33
mov ecx, dword [esi + 0x164]
cmp ecx, 2
jne 0x608913
not al
and al, byte [esi + 0x154]
or al, dl
mov byte [esi + 0x154], al
jmp case.0x6065f0.33
cmp ecx, 3
jne 0x606817
cmp edi, ecx
jne 0x606817
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne case.0x6065f0.33
cmp edx, 4
setne al
mov byte [esi + 0x27b], al
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax + 0x2e4], 0
je 0x608a95
push ebx
push esi
call fcn.006029e0
add esp, 8
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax + 0x2e4], 0
je 0x608a95
mov dword [ebx], 0x11
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
cmp al, 0xe0
jb 0x608998
push ebx
push esi
call fcn.00603530
add esp, 8
jmp case.0x6065f0.33
cmp al, 0xc0
jb 0x6089ab
push ebx
push esi
call fcn.006032d0
add esp, 8
jmp case.0x6065f0.33
cmp al, 0xb8
jb 0x608a32
sub edi, dword [esi + 0x10]
mov ecx, 0xb7
movzx eax, al
inc edi
sub ax, cx
movzx ecx, ax
mov eax, ecx
mov dword [ebp - 0x14], eax
cmp eax, edi
jb 0x6089da
mov dword [esi + 0xc], 0x82
jmp case.0x6065f0.33
inc dword [esi + 0x170]
xor eax, eax
cmp ax, cx
jae 0x608a29
nop word [eax + eax]
add dword [esi + 0x170], 2
lea ebx, [ebx + 4]
mov edx, dword [esi + 0x170]
mov eax, 0x100
add edx, dword [esi + 0x16c]
cwde
movzx ecx, byte [edx - 2]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx - 1]
add cx, ax
sub dword [ebp - 0x14], 1
movsx eax, cx
mov dword [ebx - 4], eax
jne 0x6089f0
mov byte [esi + 0x180], 0
jmp case.0x6065f0.33
cmp al, 0xb0
jb case.0x6065f0.40
sub edi, dword [esi + 0x10]
mov ecx, 0xaf
movzx eax, al
inc edi
sub ax, cx
movzx ecx, ax
movzx eax, cx
mov dword [ebp - 0x14], ecx
cmp eax, edi
jb 0x608a5b
mov dword [esi + 0xc], 0x82
jmp case.0x6065f0.33
mov edi, 1
mov eax, edi
cmp ax, cx
ja case.0x6065f0.33
nop word [eax + eax]
mov ecx, dword [esi + 0x16c]
mov eax, dword [esi + 0x170]
movzx edx, di
inc edi
add ecx, edx
movzx eax, byte [ecx + eax]
mov dword [ebx + edx*4 - 4], eax
cmp di, word [ebp - 0x14]
jbe 0x608a70
jmp case.0x6065f0.33
mov esi, dword [ebp + 8]
push esi
call fcn.00603b60
add esp, 4
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x608b3e
cmp eax, 0x80
jne 0x608bf4
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x608acf
mov eax, dword [esi + 0x1a8]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
jmp 0x608ad1
xor edx, edx
cmp ecx, edx
jae 0x608ba8
cmp byte [ecx + 0x10], 0
je 0x608aea
mov al, byte [esi + 0x178]
cmp al, byte [ecx + 0xc]
je 0x608aef
add ecx, 0x14
jmp 0x608ad1
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jge 0x608b97
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c4]
mov dword [edx], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [edx + 8], 1
mov dword [edx + 4], eax
mov dword [edx + 0xc], ecx
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.00602b20
add esp, 0xc
cmp al, 1
je 0x608bf4
jmp 0x608b67
cmp byte [esi + 0x180], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
je 0x608b59
mov eax, dword [esi + 0x17c]
add dword [esi + 0x170], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0xf4240
ja 0x608bcb
mov eax, dword [esi + 0x170]
cmp eax, dword [esi + 0x174]
jge 0x608bb9
cmp byte [esi + 0x200], 0
jne 0x608bc2
mov eax, dword [ebp - 0x18]
jmp 0x6064b0
mov dword [esi + 0xc], 0x81
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xc], 0x86
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xc], 0x80
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1bc], 0
jg 0x608bed
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xc], 0x8b
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xc], 0x82
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xc], 0x83
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret