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

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
mov eax, 0x1e
push edi
mov dword [esp + 0x20], 0
mov ebp, 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 0x4cb6d0
cmp ecx, ebp
cmova ecx, ebp
mov word [esi + 0xbc], cx
mov dword [esi + 0x280], 0
mov dword [esi + 0x288], 0
test bx, bx
je 0x4cb70b
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 0x4cb714
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 0x4cb72c
mov dword [esi + 0x284], eax
mov ecx, eax
movzx edx, word [esi + 0xde]
mov edi, 0x4c7930
mov dword [esi + 0x28c], ecx
mov eax, 0x4c7940
movzx ecx, word [esi + 0xdc]
cmp cx, dx
mov dword [esi + 0x104], 0
push esi
cmove eax, edi
mov edi, 0x4c91d0
mov dword [esi + 0x268], eax
mov eax, 0x4c91f0
cmove eax, edi
mov edi, 0x4cee20
mov dword [esi + 0x26c], eax
mov eax, 0x4cee50
cmove eax, edi
mov edi, 0x4c90b0
mov dword [esi + 0x270], eax
mov eax, 0x4c90e0
cmove eax, edi
mov dword [esi + 0x274], eax
mov eax, dword [esi + 0x168]
mov dword [esi + 0x164], eax
call fcn.004c7720
movzx eax, byte [esi + 0x13c]
add esp, 4
cmp eax, 7
ja case.default.0x4cb7ba
jmp dword [eax*4 + 0x4ce0c0]
mov dword [esi + 0x250], fcn.004c9290
jmp case.default.0x4cb7ba
mov dword [esi + 0x250], 0x4c93d0
jmp case.default.0x4cb7ba
mov dword [esi + 0x250], 0x4c9450
jmp case.default.0x4cb7ba
mov dword [esi + 0x250], 0x4c9250
jmp case.default.0x4cb7ba
mov dword [esi + 0x250], 0x4c9410
jmp case.default.0x4cb7ba
mov dword [esi + 0x250], 0x4c9390
jmp case.default.0x4cb7ba
mov dword [esi + 0x250], 0x4c92c0
jmp case.default.0x4cb7ba
mov dword [esi + 0x250], fcn.004c9320
mov word [esi + 0x27c], 0
lea ebp, [esi + 0x174]
nop
mov edx, dword [esi + 0x170]
mov edi, dword [esi + 0x16c]
mov dword [esp + 0x4c], ebp
mov al, byte [edi + edx]
movzx ebx, al
mov byte [esi + 0x178], al
movsx ecx, byte [ebx + 0x5f7f70]
mov dword [esi + 0x17c], ecx
test ecx, ecx
jns 0x4cb87e
lea eax, [edx + 1]
cmp eax, dword [ebp]
jge 0x4ce0ad
movzx eax, byte [edi + edx + 1]
imul eax, ecx
mov ecx, 2
sub ecx, eax
mov dword [esi + 0x17c], ecx
lea eax, [edx + ecx]
cmp eax, dword [ebp]
jg 0x4ce0ad
mov bl, byte [ebx + 0x5f7e70]
mov ecx, dword [esi + 0x10]
movzx eax, bl
shr eax, 4
sub ecx, eax
mov dword [esi + 0x1c], ecx
jns 0x4cb8e3
cmp byte [esi + 0x249], 0
jne 0x4ce040
xor edx, edx
test bl, 0xf0
jbe 0x4cb8da
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 + 0x5f7e70]
shr al, 4
movzx eax, al
cmp dx, ax
jb 0x4cb8b4
mov dword [esi + 0x1c], 0
xor ecx, ecx
mov al, byte [esi + 0x178]
lea ebp, [esi + 0x20]
mov byte [esp + 0x10], al
cmp al, 0x91
jne 0x4cb914
mov eax, dword [esi]
mov eax, dword [eax + 0x2e4]
test eax, eax
je 0x4cb90c
mov eax, dword [eax]
add eax, ecx
mov dword [ebp], eax
lea ebp, [esi + 0x20]
jmp 0x4cb926
mov eax, dword [ebp]
lea ebp, [esi + 0x20]
jmp 0x4cb926
movzx eax, al
movzx eax, byte [eax + 0x5f7e70]
and eax, 0xf
add eax, ecx
mov dword [ebp], eax
mov edi, dword [esi + 0x14]
cmp eax, edi
jg 0x4ce09b
mov edx, dword [esi + 0x18]
lea eax, [esi + 0x180]
mov dword [esp + 0x18], eax
mov byte [eax], 1
mov al, byte [esp + 0x10]
mov dword [esi + 0xc], 0
lea ebx, [edx + ecx*4]
movzx esi, al
mov dword [esp + 0x1c], esi
cmp esi, 0x92
ja case.default.0x4cb962
jmp dword [esi*4 + 0x4ce0e0]
mov esi, dword [esp + 0x88]
and al, 1
movzx eax, al
shl ax, 0xe
movzx ecx, ax
mov eax, ecx
xor eax, 0x4000
movzx edx, ax
mov al, byte [esp + 0x10]
cmp al, 4
jae 0x4cb9aa
mov word [esi + 0x12a], cx
mov word [esi + 0x12c], dx
mov word [esi + 0x126], cx
mov word [esi + 0x128], dx
test al, 2
jne 0x4cbaf6
push esi
mov word [esi + 0x12e], cx
mov word [esi + 0x130], dx
call fcn.004c7720
jmp 0x4cdf4e
mov esi, dword [esp + 0x88]
movzx eax, word [ebx]
lea edi, [esi + 0x12a]
push edi
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.004c8f00
add esp, 0x10
test al, al
jne case.0x4cb962.351
mov eax, dword [edi]
push esi
mov dword [esi + 0x126], eax
call fcn.004c7720
jmp 0x4cdf4e
mov esi, dword [esp + 0x88]
lea eax, [esi + 0x12e]
push eax
movzx eax, word [ebx]
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.004c8f00
add esp, 0x10
test al, al
jne case.0x4cb962.351
push esi
call fcn.004c7720
jmp 0x4cdf4e
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
mov esi, dword [esp + 0x88]
test ecx, ecx
jne 0x4cba4f
test eax, eax
je 0x4cba8c
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x54], ecx
call fcn.004b9b20
mov eax, dword [esp + 0x54]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12a], ax
mov eax, dword [esp + 0x54]
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.004c7720
jmp 0x4cdf4e
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
mov esi, dword [esp + 0x88]
test ecx, ecx
jne 0x4cbab9
test eax, eax
je 0x4cbaf6
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], ecx
call fcn.004b9b20
mov eax, dword [esp + 0x5c]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12e], ax
mov eax, dword [esp + 0x5c]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x130], ax
push esi
call fcn.004c7720
jmp 0x4cdf4e
mov esi, dword [esp + 0x88]
movsx eax, word [esi + 0x12a]
mov dword [ebx], eax
movsx eax, word [esi + 0x12c]
mov dword [ebx + 4], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
movsx eax, word [esi + 0x12e]
mov dword [ebx], eax
movsx eax, word [esi + 0x130]
mov dword [ebx + 4], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
push esi
mov eax, dword [esi + 0x12a]
mov dword [esi + 0x12e], eax
call fcn.004c7720
jmp 0x4cdf4e
mov esi, dword [esp + 0x88]
push ebx
push esi
call fcn.004c82c0
add esp, 8
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov ax, word [ebx]
mov word [esi + 0x120], ax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov ax, word [ebx]
mov word [esi + 0x122], ax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov ax, word [ebx]
mov word [esi + 0x124], ax
jmp case.0x4cb962.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
sub eax, 0
je 0x4cbbfb
sub eax, 1
je 0x4cbbe1
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x4cbc13
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.0x4cb962.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
sub eax, 0
je 0x4cbc6f
sub eax, 1
je 0x4cbc55
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x4cbc87
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.0x4cb962.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
sub eax, 0
je 0x4cbce3
sub eax, 1
je 0x4cbcc9
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x4cbcfb
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.0x4cb962.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
sub eax, 0
je 0x4cbd5a
sub eax, 1
je 0x4cbd40
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x4cbd72
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.0x4cb962.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
test eax, eax
jns 0x4cbdde
mov dword [esi + 0xc], 0x84
jmp case.0x4cb962.351
cmp eax, 0xffff
mov ecx, 0xffff
cmovg eax, ecx
mov dword [esi + 0x134], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 1
mov dword [esi + 0x250], 0x4c93d0
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 0
mov dword [esi + 0x250], 0x4c9410
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [ebx]
mov dword [esi + 0x138], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov edi, 1
push esi
call fcn.004c9680
add esp, 4
cmp al, 1
je case.0x4cb962.351
movzx eax, byte [esi + 0x178]
sub eax, 0x58
je 0x4cbe7b
sub eax, 1
jne 0x4cbe7c
dec edi
jmp 0x4cbe7c
inc edi
test edi, edi
jne 0x4cbe56
jmp case.0x4cb962.351
mov edi, dword [ebx]
mov edx, dword [esp + 0x18]
mov ebp, edx
mov esi, dword [esp + 0x88]
test edi, edi
jne 0x4cbeae
test ecx, ecx
jne 0x4cbea8
mov dword [esi + 0xc], 0x84
jmp case.0x4cb962.351
lea ebp, [esi + 0x180]
add edi, dword [esi + 0x170]
mov dword [esi + 0x170], edi
js 0x4cbdd2
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jle 0x4cbee1
mov edx, ebp
mov eax, dword [esi + 0x1c4]
add ecx, ecx
mov eax, dword [eax + ecx*8 - 4]
cmp edi, dword [eax + 8]
jg 0x4cbdd2
mov byte [edx], 0
cmp dword [ebx], 0
jge case.0x4cb962.351
inc dword [esi + 0x288]
mov eax, dword [esi + 0x288]
cmp eax, dword [esi + 0x28c]
jbe case.0x4cb962.351
mov dword [esi + 0xc], 0x8b
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [ebx]
mov dword [esi + 0x144], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [ebx]
mov dword [esi + 0x148], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x108]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
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 [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14c], eax
jmp case.0x4cb962.351
mov eax, dword [ebx]
mov dword [ebx + 4], eax
jmp case.0x4cb962.351
mov dword [ebp], 0
jmp case.0x4cb962.351
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x10]
mov dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
test eax, eax
jle 0x4cbfd8
cmp eax, ecx
jg 0x4cbfd8
sub ecx, eax
mov eax, dword [edx + ecx*4]
mov dword [ebx], eax
jmp case.0x4cb962.351
cmp byte [esi + 0x249], 0
je 0x4cbfe8
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
test eax, eax
jle 0x4cbbc8
cmp eax, ecx
jg 0x4cbbc8
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.005ad5b0
mov ecx, dword [esi + 0x1c]
add esp, 0xc
mov eax, dword [esi + 0x18]
mov dword [eax + ecx*4 - 4], edi
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
movzx ebp, word [ebx]
movzx ebx, word [ebx + 4]
cmp bp, word [esi + 0x50]
jae 0x4cbbc8
cmp bx, word [esi + 0x2c]
jae 0x4cbbc8
mov eax, dword [esi + 0x58]
mov ecx, ebp
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 ebp
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.0x4cb962.351
mov esi, dword [esp + 0x88]
movzx eax, word [ebx]
cmp ax, word [esi + 0x2c]
jb 0x4cc0d5
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
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.0x4cb962.351
mov esi, dword [esp + 0x88]
mov edx, dword [ebx + 4]
mov ebp, dword [esi + 0x1b4]
inc ebp
cmp edx, ebp
jae 0x4cbbd5
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x4cc135
lea eax, [edx + edx*4]
lea ecx, [edi + eax*4]
jmp 0x4cc137
xor ecx, ecx
mov eax, dword [esi + 0x19c]
cmp ebp, eax
jne 0x4cc146
cmp dword [ecx + 0xc], edx
je 0x4cc174
mov ecx, edi
test ecx, ecx
je 0x4cbbd5
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x4cc16e
nop word [eax + eax]
cmp dword [ecx + 0xc], edx
je 0x4cc16c
add ecx, 0x14
cmp ecx, eax
jb 0x4cc160
cmp ecx, eax
je 0x4cbbd5
cmp byte [ecx + 0x10], 0
je 0x4cbbd5
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jl 0x4cc198
mov dword [esi + 0xc], 0x82
jmp case.0x4cb962.351
cmp dword [ebx], 0
jle case.0x4cb962.351
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.004c7f10
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.0x4cb962.351
mov dword [esi + 0xc], 0x8b
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov edx, dword [ebx]
mov ebx, dword [esi + 0x1b4]
inc ebx
cmp edx, ebx
jae 0x4cbbd5
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x4cbbd5
lea eax, [edx + edx*4]
lea ecx, [edi + eax*4]
mov eax, dword [esi + 0x19c]
cmp ebx, eax
jne 0x4cc240
cmp dword [ecx + 0xc], edx
je 0x4cc264
mov ecx, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x4cc25e
nop dword [eax]
cmp dword [ecx + 0xc], edx
je 0x4cc25c
add ecx, 0x14
cmp ecx, eax
jb 0x4cc250
cmp ecx, eax
je 0x4cbbd5
cmp byte [ecx + 0x10], 0
je 0x4cbbd5
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jl 0x4cc288
mov dword [esi + 0xc], 0x82
jmp case.0x4cb962.351
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.004c7f10
add esp, 0xc
mov byte [esi + 0x180], 0
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
cmp dword [esi + 0x164], 3
jne 0x4cc2e9
mov dword [esi + 0xc], 0x9c
jmp case.0x4cb962.351
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x4cc301
mov eax, dword [esi + 0x19c]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
jmp 0x4cc303
xor eax, eax
mov ecx, dword [ebx]
cmp edi, eax
jae 0x4cc31e
nop dword [eax]
cmp dword [edi + 0xc], ecx
je 0x4cc31c
add edi, 0x14
cmp edi, eax
jb 0x4cc310
cmp edi, eax
jne 0x4cc335
mov eax, dword [esi + 0x19c]
cmp eax, dword [esi + 0x1a0]
jae 0x4cc33d
inc eax
mov dword [esi + 0x19c], eax
cmp ecx, 0xffff
jbe 0x4cc349
mov dword [esi + 0xc], 0x8c
jmp case.0x4cb962.351
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 0x4cc373
mov dword [esi + 0x1b4], edx
push esi
call fcn.004c9680
add esp, 4
test al, al
jne case.0x4cb962.351
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x4cc3ba
sub eax, 1
je 0x4cc3ac
sub eax, 0x5c
je 0x4cc3ba
push esi
call fcn.004c9680
add esp, 4
test al, al
je 0x4cc384
jmp case.0x4cb962.351
mov eax, dword [esi + 0x170]
mov dword [edi + 8], eax
jmp case.0x4cb962.351
mov dword [esi + 0xc], 0x89
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jg 0x4cc3e3
mov dword [esi + 0xc], 0x88
jmp case.0x4cb962.351
mov edx, dword [esp + 0x18]
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 0x4cc41a
inc dword [esi + 0x1bc]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 0x170], eax
jmp case.0x4cb962.351
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.004c7f10
add esp, 0xc
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
movzx edi, word [ebx]
cmp di, word [esi + 0x2c]
jb 0x4cc456
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
test al, 1
je 0x4cc49a
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.004c9320
jne 0x4cc491
call fcn.004c9320
add esp, 0xc
sub eax, ebx
jmp 0x4cc49c
call eax
add esp, 0xc
sub eax, ebx
jmp 0x4cc49c
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.0x4cb962.351
mov esi, dword [esp + 0x88]
push esi
call fcn.004c8510
jmp 0x4cdf4e
mov esi, dword [esp + 0x88]
lea edi, [esi + 0x134]
mov eax, dword [esi + 0x10]
cmp eax, dword [edi]
jge 0x4cc50f
cmp byte [esi + 0x249], 0
je 0x4cc5f2
mov eax, dword [esi + 0x1c]
lea ebp, [esi + 0x20]
mov dword [esi + 0xc], 0x86
mov dword [edi], 1
mov dword [ebp], eax
jmp case.0x4cb962.351
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
push esi
call fcn.004c7850
add esp, 0x14
test al, al
jne case.0x4cb962.351
cmp dword [edi], 0
jle 0x4cc5f2
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
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 0x4cc567
cmp byte [esi + 0x249], 0
jne 0x4cbbd5
jmp 0x4cc5de
cmp word [esi + 0x12e], 0
je 0x4cc599
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x4cc585
cmp byte [esi + 0x27b], 0
jne 0x4cc58d
mov eax, dword [esi + 0x7c]
mov ecx, edx
add dword [eax + ecx*8], ebp
mov eax, dword [esi + 0x84]
mov ecx, edx
or byte [eax + ecx], 8
cmp word [esi + 0x130], 0
je 0x4cc5de
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x4cc5c9
cmp byte [esi + 0x27b], 0
je 0x4cc5c9
cmp byte [esi + 0x27c], 0
je 0x4cc5c9
cmp byte [esi + 0x27d], 0
jne 0x4cc5d2
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 0x4cc545
lea edi, [esi + 0x134]
lea ebp, [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [edi], 1
mov dword [ebp], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
push ebx
push esi
call fcn.004c8bc0
add esp, 8
jmp case.0x4cb962.351
cmp dword [ebx], 2
mov esi, dword [esp + 0x88]
jb 0x4cc63e
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.004c7850
add esp, 0x14
test al, al
jne case.0x4cb962.351
movzx eax, word [esi + 0x160]
test ax, ax
jne 0x4cc675
movzx ebx, word [esi + 0x74]
jmp 0x4cc69a
cmp eax, 1
jne 0x4cc698
movzx eax, word [esi + 0x76]
test ax, ax
jle 0x4cc698
movsx ecx, ax
mov eax, dword [esi + 0x88]
mov ax, word [eax + ecx*2 - 2]
inc ax
movzx ebx, ax
jmp 0x4cc69a
xor ebx, ebx
xor eax, eax
xor edi, edi
cmp ax, bx
jae case.0x4cb962.351
mov bp, word [esp + 0x14]
xor edx, edx
nop
mov ecx, dword [esi + 0x7c]
cmp dword [esp + 0x70], ecx
jne 0x4cc6be
cmp bp, di
je 0x4cc71e
cmp word [esi + 0x12e], 0
je 0x4cc6e3
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x4cc6dc
cmp byte [esi + 0x27b], 0
jne 0x4cc6e3
mov eax, dword [esp + 0x30]
add dword [edx + ecx], eax
cmp word [esi + 0x130], 0
je 0x4cc71e
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x4cc713
cmp byte [esi + 0x27b], 0
je 0x4cc713
cmp byte [esi + 0x27c], 0
je 0x4cc713
cmp byte [esi + 0x27d], 0
jne 0x4cc71e
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x34]
add dword [edx + eax + 4], ecx
inc edi
add edx, 8
cmp di, bx
jb 0x4cc6b0
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
push ebx
push esi
call fcn.004c8d30
add esp, 8
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
push esi
call fcn.004c7f80
jmp 0x4cdf4e
mov esi, dword [esp + 0x88]
movzx ebp, word [ebx]
cmp bp, word [esi + 0x50]
jae 0x4cbbc8
movzx eax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x4cbbc8
cmp word [esi + 0x15e], 0
jne 0x4cc7c3
mov edx, eax
mov edi, ebp
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 ebp
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
movzx ecx, word [esi + 0x120]
lea edi, [esi + 0x48]
mov eax, dword [esi + 0x34]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x58]
mov ecx, ebp
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
mov eax, dword [esi + 0x260]
push ecx
push ebp
push edi
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], bp
je case.0x4cb962.351
mov word [esi + 0x120], bp
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov ecx, ebp
mov edx, dword [esi + 0x134]
lea ebx, [esi + 0x134]
cmp dword [esi + 0x10], edx
jl 0x4cc8f4
mov ax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x4cc8f1
mov eax, ebx
test edx, edx
jle 0x4cc908
nop dword [eax + eax]
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 0x4cc892
cmp byte [esi + 0x249], 0
jne 0x4cbbd5
jmp 0x4cc8d0
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 0x4cc870
lea eax, [esi + 0x134]
lea ebp, [esi + 0x20]
mov dword [eax], 1
mov eax, dword [esi + 0x1c]
mov dword [ebp], eax
jmp case.0x4cb962.351
lea ecx, [esi + 0x20]
cmp byte [esi + 0x249], 0
mov eax, ebx
je 0x4cc908
mov dword [esi + 0xc], 0x86
mov ebp, ecx
mov dword [eax], 1
mov eax, dword [esi + 0x1c]
mov dword [ebp], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 2
mov dword [esi + 0x250], 0x4c9390
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
movzx ebp, word [ebx]
mov ecx, dword [ebx + 4]
cmp bp, word [esi + 0x2c]
jae 0x4cca45
cmp ecx, dword [esi + 0x184]
jae 0x4cca45
mov eax, dword [esi + 0x26c]
cmp eax, 0x4c91d0
jne 0x4cc974
mov eax, dword [esi + 0x188]
mov ebx, dword [eax + ecx*4]
jmp 0x4cc97d
push ecx
push esi
call eax
add esp, 8
mov ebx, eax
cmp word [esi + 0x15c], 0
jne 0x4cc9c9
movsx eax, word [esi + 0x12e]
mov edi, ebp
push eax
push ebx
call fcn.004cadb0
mov ecx, dword [esi + 0x30]
mov dword [ecx + edi*8], eax
movsx eax, word [esi + 0x130]
push eax
push ebx
call fcn.004cadb0
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 [esi + 0x34]
mov ecx, ebp
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 0x4cca1e
mov ecx, ebx
sub ecx, edi
jns 0x4cc9f6
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.004c9320
jne 0x4cca17
call fcn.004c9320
jmp 0x4cca19
call eax
mov ebx, eax
add esp, 0xc
sub ebx, edi
lea eax, [esi + 0x24]
push ebx
push ebp
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x10
mov word [esi + 0x120], bp
mov word [esi + 0x122], bp
jmp case.0x4cb962.351
cmp byte [esi + 0x249], 0
je 0x4cca55
mov dword [esi + 0xc], 0x86
mov word [esi + 0x120], bp
mov word [esi + 0x122], bp
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
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 [esp + 0x1c], ecx
cmp eax, edi
jb 0x4cca9b
mov dword [esi + 0xc], 0x82
jmp case.0x4cb962.351
mov edi, 1
mov eax, edi
cmp ax, cx
ja 0x4ccad7
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 + 1]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + edx*4 - 4], eax
cmp di, cx
jbe 0x4ccab0
lea ebp, [esi + 0x20]
movzx eax, cx
add dword [ebp], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
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 [esp + 0x10], dl
mov dword [esp + 0x1c], eax
cmp eax, edi
jb 0x4ccb18
mov dword [esi + 0xc], 0x82
jmp case.0x4cb962.351
lea eax, [ecx + 2]
mov dword [esi + 0x170], eax
test dl, dl
je 0x4ccb83
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 [esp + 0x1c], 1
movsx eax, cx
mov dword [ebx - 4], eax
jne 0x4ccb30
movzx eax, byte [esp + 0x10]
lea edx, [esi + 0x180]
add dword [esi + 0x20], eax
lea ebp, [esi + 0x20]
mov byte [edx], 0
jmp case.0x4cb962.351
mov edx, dword [esp + 0x18]
movzx eax, byte [esp + 0x10]
add dword [ebp], eax
mov byte [edx], 0
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov edi, dword [ebx]
movzx ecx, word [esi + 0x1e4]
cmp edi, ecx
jb 0x4ccbc4
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
cmp dword [esi + 0x164], 3
jne 0x4ccc39
mov eax, dword [esi + 0x1f0]
cmp dword [esi + 0x1e8], eax
je 0x4ccc39
lea edx, [esp + 0x38]
push edx
push eax
movzx eax, word [esi + 0x1ec]
push ecx
push eax
push 4
push dword [esi + 8]
call fcn.004bb420
mov ecx, dword [esp + 0x50]
add esp, 0x18
mov dword [esi + 0x1f0], eax
mov dword [esi + 0xc], ecx
test ecx, ecx
jne case.0x4cb962.351
movzx ecx, word [esi + 0x1e4]
mov word [esi + 0x1ec], cx
shl ecx, 2
push ecx
push dword [esi + 0x1e8]
push eax
call fcn.005ad5b0
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.0x4cb962.351
mov esi, dword [esp + 0x88]
mov ecx, dword [ebx]
movzx eax, word [esi + 0x1e4]
cmp ecx, eax
jb 0x4ccc7e
cmp byte [esi + 0x249], 0
je 0x4ccc73
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
mov dword [ebx], 0
jmp case.0x4cb962.351
mov eax, dword [esi + 0x1e8]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov edi, dword [ebx]
cmp edi, dword [esi + 0x184]
jb 0x4cccb8
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
mov eax, dword [esi + 0x270]
mov ebx, dword [ebx + 4]
cmp eax, 0x4cee20
jne 0x4ccce9
push esi
call fcn.004c9030
add esp, 4
cmp dword [esi + 0xc], 0
jne case.0x4cb962.351
mov eax, dword [esi + 0x188]
mov dword [eax + edi*4], ebx
jmp case.0x4cb962.351
push ebx
push edi
push esi
call eax
add esp, 0xc
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x184]
jb 0x4ccd20
cmp byte [esi + 0x249], 0
je 0x4ccc73
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
mov eax, dword [esi + 0x26c]
cmp eax, 0x4c91d0
jne 0x4ccd3d
mov eax, dword [esi + 0x188]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x4cb962.351
push ecx
push esi
call eax
add esp, 8
mov dword [ebx], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov ecx, dword [ebx]
movzx eax, word [esi + 0x74]
cmp ecx, eax
jb 0x4ccd75
cmp byte [esi + 0x249], 0
je 0x4ccd6c
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x4cb962.351
test byte [esp + 0x10], 1
je 0x4ccd99
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.0x4cb962.351
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.0x4cb962.351
mov esi, dword [esp + 0x88]
movzx ebp, word [ebx]
cmp bp, word [esi + 0x74]
jb 0x4ccddf
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
mov eax, dword [esi + 0x7c]
mov edi, ebp
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 ebp
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x1c
cmp word [esi + 0x160], 0
jne case.0x4cb962.351
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.0x4cb962.351
mov esi, dword [esp + 0x88]
movzx ebp, word [ebx]
movzx edi, word [ebx + 4]
cmp bp, word [esi + 0x2c]
jae 0x4cbfd8
cmp di, word [esi + 0x50]
jae 0x4cbfd8
test al, 1
je 0x4cce87
mov eax, dword [esi + 0x58]
mov ecx, edi
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x34]
mov ecx, ebp
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.0x4cb962.351
cmp word [esi + 0x15c], 0
je 0x4ccfa1
cmp word [esi + 0x15e], 0
je 0x4ccfa1
mov eax, dword [esi + 0x38]
mov ecx, ebp
lea ebp, [eax + ecx*8]
mov eax, dword [esi + 0x5c]
mov ecx, edi
lea edi, [eax + ecx*8]
mov eax, dword [esi + 0xe0]
cmp eax, dword [esi + 0xe4]
jne 0x4ccf19
mov eax, dword [ebp + 4]
sub eax, dword [edi + 4]
push eax
mov eax, dword [ebp]
sub eax, dword [edi]
push eax
mov eax, dword [esi + 0x258]
push esi
call eax
mov dword [esp + 0x28], eax
add esp, 0xc
mov eax, dword [esi + 0xe0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
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 [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx], eax
jmp case.0x4cb962.351
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
sub eax, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
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 [esp + 0x44], eax
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 4]
sub eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
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 [esp + 0x40], eax
push dword [esp + 0x40]
mov eax, dword [esi + 0x258]
push dword [esp + 0x48]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [esi + 0x30]
mov ecx, ebp
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.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x268]
cmp eax, 0x4c7930
jne 0x4ccff2
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x4cb962.351
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x23
jne 0x4cd039
mov eax, dword [esi + 0x268]
cmp eax, 0x4c7930
jne 0x4cd02c
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x4cb962.351
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [esi + 0xd8]
mov dword [ebx], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov byte [esi + 0x140], 1
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov byte [esi + 0x140], 0
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0xc], 0x87
jmp case.0x4cb962.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setl cl
mov dword [ebx], ecx
jmp case.0x4cb962.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setle cl
mov dword [ebx], ecx
jmp case.0x4cb962.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setg cl
mov dword [ebx], ecx
jmp case.0x4cb962.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setge cl
mov dword [ebx], ecx
jmp case.0x4cb962.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
sete cl
mov dword [ebx], ecx
jmp case.0x4cb962.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setne cl
mov dword [ebx], ecx
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [ebx]
mov ecx, dword [esi + 0x250]
cmp ecx, 0x4c9390
jne 0x4cd14b
mov edx, dword [esi + 0x118]
test eax, eax
js 0x4cd128
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.0x4cb962.351
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.0x4cb962.351
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.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [ebx]
mov ecx, dword [esi + 0x250]
cmp ecx, 0x4c9390
jne 0x4cd1c9
mov ecx, dword [esi + 0x118]
test eax, eax
js 0x4cd1ab
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.0x4cb962.351
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.0x4cb962.351
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.0x4cb962.351
cmp dword [ebx], 0
mov esi, dword [esp + 0x88]
jne case.0x4cb962.351
mov edi, 1
xor bl, bl
nop dword [eax]
push esi
call fcn.004c9680
add esp, 4
cmp al, 1
je case.0x4cb962.351
movzx eax, byte [esi + 0x178]
sub eax, 0x1b
je 0x4cd22f
sub eax, 0x3d
je 0x4cd22c
sub eax, 1
jne 0x4cd235
sub edi, 1
jmp 0x4cd232
inc edi
jmp 0x4cd235
cmp edi, 1
sete bl
test bl, bl
je 0x4cd200
jmp case.0x4cb962.351
cmp dword [ebx], 0
je 0x4cbfe8
cmp dword [ebx + 4], 0
je 0x4cbfe8
mov eax, 1
mov dword [ebx], eax
jmp case.0x4cb962.351
cmp dword [ebx], 0
jne 0x4cd271
cmp dword [ebx + 4], 0
jne 0x4cd271
xor eax, eax
mov dword [ebx], eax
jmp case.0x4cb962.351
mov eax, 1
mov dword [ebx], eax
jmp case.0x4cb962.351
xor eax, eax
cmp dword [ebx], eax
sete al
mov dword [ebx], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x268]
cmp eax, 0x4c7930
jne 0x4cd2a8
movzx eax, word [esi + 0x100]
jmp 0x4cd2ae
push esi
call eax
add esp, 4
mov edx, dword [ebx]
mov ebp, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
cmp edx, ebp
jb 0x4cd3e3
lea ecx, [esi + 0x249]
nop dword [eax + eax]
mov eax, dword [esi + 0x1c]
cmp eax, 2
jl 0x4cd3d0
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 0x4cd3a6
movzx eax, byte [esi + 0x178]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x4cd315
sub eax, 1
jne 0x4cd318
add ecx, 0x20
jmp 0x4cd318
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [esp + 0x1c], eax
jne 0x4cd39e
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 0x4cd388
cmp byte [esi + 0x27b], 0
je 0x4cd388
cmp byte [esi + 0x27c], 0
je 0x4cd36a
cmp byte [esi + 0x27d], 0
jne 0x4cd39a
cmp byte [esi + 0x248], 0
je 0x4cd37d
cmp word [esi + 0x130], 0
jne 0x4cd388
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x4cd39a
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 [esp + 0x18]
lea ecx, [esi + 0x249]
jmp 0x4cd3bc
cmp byte [esi + 0x249], 0
lea ecx, [esi + 0x249]
je 0x4cd3bc
mov dword [esi + 0xc], 0x86
inc ebp
cmp ebp, edx
jbe 0x4cd2d0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x4cb962.351
cmp byte [ecx], 0
je 0x4cd3dc
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov ax, word [ebx]
mov word [esi + 0x150], ax
jmp case.0x4cb962.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
cmp eax, 6
jbe 0x4cd41e
mov dword [esi + 0xc], 0x84
jmp case.0x4cb962.351
mov word [esi + 0x152], ax
jmp case.0x4cb962.351
mov eax, dword [ebx + 4]
add dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [ebx + 4]
sub dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x88]
test eax, eax
jne 0x4cd458
mov dword [esi + 0xc], 0x85
jmp case.0x4cb962.351
push eax
push 0x40
push dword [ebx]
call fcn.004b6ef0
add esp, 0xc
mov dword [ebx], eax
jmp case.0x4cb962.351
push 0x40
push dword [ebx + 4]
push dword [ebx]
call fcn.004b6e10
add esp, 0xc
mov dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [ebx]
test eax, eax
jns case.0x4cb962.351
neg eax
mov dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [ebx]
neg eax
mov dword [ebx], eax
jmp case.0x4cb962.351
and dword [ebx], 0xffffffc0
jmp case.0x4cb962.351
mov eax, dword [ebx]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x88]
and eax, 3
mov ecx, dword [ebx]
push eax
push ecx
mov edx, dword [esi + 0x250]
push esi
cmp edx, fcn.004c9320
jne 0x4cd4e7
call fcn.004c9320
add esp, 0xc
mov dword [ebx], eax
jmp case.0x4cb962.351
call edx
add esp, 0xc
mov dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x88]
and eax, 3
mov ecx, dword [ebx]
mov eax, dword [esi + eax*4 + 0x10c]
test ecx, ecx
js 0x4cd51e
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [ebx], ecx
jmp case.0x4cb962.351
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg ecx, eax
mov dword [ebx], ecx
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov edi, dword [ebx]
cmp edi, dword [esi + 0x184]
jb 0x4cd558
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
mov eax, dword [esi + 0x108]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
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 [esp + 0x48], eax
mov ecx, dword [esi + 0x188]
mov eax, dword [esp + 0x48]
mov dword [ecx + edi*4], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
push ebx
push esi
call fcn.004c7c60
add esp, 8
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x268]
cmp eax, 0x4c7930
jne 0x4cd5d8
movzx edi, word [esi + 0x100]
mov dword [esp + 0x1c], edi
jmp 0x4cd5e4
push esi
call eax
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, eax
mov ecx, dword [ebx]
mov ebp, 1
mov dword [esp + 0x18], ecx
cmp ecx, ebp
jb 0x4cd3e3
nop word [eax + eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x4cd6c1
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 0x4cd633
cmp byte [esi + 0x249], 0
jne 0x4cbbd5
jmp 0x4cd6ad
movzx eax, byte [esi + 0x178]
mov ecx, edx
shr ecx, 4
and ecx, 0xf
sub eax, 0x74
je 0x4cd651
sub eax, 1
jne 0x4cd654
add ecx, 0x20
jmp 0x4cd654
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp edi, eax
jne 0x4cd6ad
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, 0x4c90b0
jne 0x4cd6a5
push esi
call fcn.004c9030
add esp, 4
cmp dword [esi + 0xc], 0
jne 0x4cd6ad
mov eax, dword [esi + 0x188]
add dword [eax + ebx*4], edi
jmp 0x4cd6ad
push edi
push ebx
push esi
call eax
add esp, 0xc
inc ebp
cmp ebp, dword [esp + 0x18]
ja 0x4cd3e3
mov edi, dword [esp + 0x1c]
jmp 0x4cd600
cmp byte [esi + 0x249], 0
je 0x4cd3dc
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x20], eax
jmp case.0x4cb962.351
push dword [ebx]
mov esi, dword [esp + 0x8c]
push 0x4000
push esi
call fcn.004c9490
add esp, 0xc
mov dword [esi + 0x13c], 6
mov dword [esi + 0x250], 0x4c92c0
jmp case.0x4cb962.351
push dword [ebx]
mov esi, dword [esp + 0x8c]
push 0x2d41
push esi
call fcn.004c9490
add esp, 0xc
mov dword [esi + 0x13c], 7
mov dword [esi + 0x250], fcn.004c9320
jmp case.0x4cb962.351
cmp dword [ebx + 4], 0
mov esi, dword [esp + 0x88]
je case.0x4cb962.351
mov edi, dword [ebx]
test edi, edi
jne 0x4cd776
test ecx, ecx
jne 0x4cd76e
mov dword [esi + 0xc], 0x84
jmp case.0x4cb962.351
lea edx, [esi + 0x180]
jmp 0x4cd77a
mov edx, dword [esp + 0x18]
add edi, dword [esi + 0x170]
mov dword [esi + 0x170], edi
js 0x4cbdd2
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jle 0x4cbee1
jmp 0x4cbecc
cmp dword [ebx + 4], 0
mov esi, dword [esp + 0x88]
jne case.0x4cb962.351
jmp 0x4cd758
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 5
mov dword [esi + 0x250], fcn.004c9290
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 4
mov dword [esi + 0x250], 0x4c9450
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 3
mov dword [esi + 0x250], 0x4c9250
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x4cd841
cmp byte [esi + 0x27b], 0
je 0x4cd841
cmp byte [esi + 0x27c], 0
je 0x4cd841
cmp byte [esi + 0x27d], 0
mov eax, ecx
jne 0x4cd8b7
mov edi, dword [esi + 0x134]
mov eax, ecx
cmp dword [esi + 0x10], edi
jge 0x4cd870
cmp byte [esi + 0x249], 0
je 0x4cd8b7
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x4cb962.351
test edi, edi
jle 0x4cd8b7
lea eax, [ecx - 1]
mov dword [esi + 0x1c], eax
movzx ecx, word [edx + eax*4]
cmp cx, word [esi + 0x98]
jb 0x4cd896
cmp byte [esi + 0x249], 0
jne 0x4cbbd5
jmp 0x4cd8a6
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 0x4cd874
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x4cd8fa
cmp byte [esi + 0x27b], 0
je 0x4cd8fa
cmp byte [esi + 0x27c], 0
je 0x4cd8fa
cmp byte [esi + 0x27d], 0
jne case.0x4cb962.351
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x4cbbc8
cmp ax, cx
jae 0x4cbbc8
mov edx, eax
cmp ax, di
ja case.0x4cb962.351
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
or byte [ecx + eax], 1
cmp dx, di
jbe 0x4cd925
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x4cd96e
cmp byte [esi + 0x27b], 0
je 0x4cd96e
cmp byte [esi + 0x27c], 0
je 0x4cd96e
cmp byte [esi + 0x27d], 0
jne case.0x4cb962.351
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x4cbbc8
cmp ax, cx
jae 0x4cbbc8
mov edx, eax
cmp ax, di
ja case.0x4cb962.351
nop dword [eax]
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
and byte [ecx + eax], 0xfe
cmp dx, di
jbe 0x4cd9a0
jmp case.0x4cb962.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
movzx ecx, al
cmp ecx, 0xff
jne 0x4cd9d8
mov byte [esi + 0x155], 1
jmp case.0x4cb962.351
test al, al
je 0x4cda74
test eax, 0x100
je 0x4cd9f9
movzx eax, word [esi + 0x100]
cmp eax, ecx
ja 0x4cd9f9
mov byte [esi + 0x155], 1
test dword [ebx], 0x200
je 0x4cda11
cmp byte [esi + 0x11d], 0
je 0x4cda11
mov byte [esi + 0x155], 1
test dword [ebx], 0x400
je 0x4cda29
cmp byte [esi + 0x11e], 0
je 0x4cda29
mov byte [esi + 0x155], 1
test dword [ebx], 0x800
je 0x4cda43
movzx eax, word [esi + 0x100]
cmp eax, ecx
jbe 0x4cda43
mov byte [esi + 0x155], 0
test dword [ebx], 0x1000
je 0x4cda5b
cmp byte [esi + 0x11d], 0
je 0x4cda5b
mov byte [esi + 0x155], 0
test dword [ebx], 0x2000
je case.0x4cb962.351
cmp byte [esi + 0x11e], 0
je case.0x4cb962.351
mov byte [esi + 0x155], 0
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
movzx ecx, word [ebx]
movzx eax, word [ebx + 4]
cmp cx, word [esi + 0x50]
jae 0x4cbbc8
cmp ax, word [esi + 0x74]
jae 0x4cbbc8
mov edi, ecx
mov ebp, eax
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x78]
mov edx, dword [ecx + edi*8]
mov ecx, dword [ecx + edi*8 + 4]
sub edx, dword [eax + ebp*8]
sub ecx, dword [eax + ebp*8 + 4]
test edx, edx
jne 0x4cdacb
test ecx, ecx
jne 0x4cdacb
mov edx, 0x4000
xor bl, bl
jmp 0x4cdacf
mov bl, byte [esp + 0x10]
test bl, 1
je 0x4cdadc
mov eax, ecx
mov ecx, edx
mov edx, eax
neg edx
lea eax, [esi + 0x126]
push eax
push ecx
push edx
call fcn.004c9120
mov ecx, dword [esi + 0x58]
add esp, 0xc
mov eax, dword [esi + 0x7c]
mov edx, dword [ecx + edi*8]
mov ecx, dword [ecx + edi*8 + 4]
sub edx, dword [eax + ebp*8]
sub ecx, dword [eax + ebp*8 + 4]
test edx, edx
jne 0x4cdb10
test ecx, ecx
jne 0x4cdb10
mov edx, 0x4000
xor bl, bl
test bl, 1
je 0x4cdb1d
mov eax, ecx
mov ecx, edx
mov edx, eax
neg edx
lea eax, [esi + 0x12a]
push eax
push ecx
push edx
call fcn.004c9120
push esi
call fcn.004c7720
add esp, 0x10
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
xor edx, edx
mov ecx, dword [ebx]
mov edi, dword [esi]
test cl, 1
je 0x4cdb51
mov eax, dword [edi + 0x60]
mov edx, dword [eax + 0x40]
test cl, 2
je 0x4cdb65
cmp byte [esi + 0x11d], 0
je 0x4cdb65
or edx, 0x100
test cl, 4
je 0x4cdb79
cmp byte [esi + 0x11e], 0
je 0x4cdb79
or edx, 0x200
test cl, 8
je 0x4cdb8f
mov edi, dword [esi]
cmp dword [edi + 0x2e4], 0
je 0x4cdb8f
or edx, 0x400
test cl, 0x20
je 0x4cdba3
cmp byte [esi + 0x278], 0
je 0x4cdba3
or edx, 0x1000
mov eax, dword [edi + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x4cdc13
cmp byte [esi + 0x279], 0
je 0x4cdc13
test cl, 0x40
je 0x4cdbc0
or edx, 0x2000
test ecx, 0x100
je 0x4cdbd7
cmp byte [esi + 0x27a], 0
je 0x4cdbd7
or edx, 0x8000
mov eax, ecx
mov ecx, edx
or ecx, 0x20000
test eax, 0x400
cmove ecx, edx
mov ebp, ecx
or ebp, 0x40000
test dword [ebx], 0x800
cmove ebp, ecx
test dword [ebx], 0x1000
mov edx, ebp
je 0x4cdc13
cmp byte [esi + 0x27e], 0
je 0x4cdc13
or edx, 0x80000
mov dword [ebx], edx
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
cmp dword [esi + 0x164], 3
jne 0x4cdc36
mov dword [esi + 0xc], 0x9c
jmp case.0x4cb962.351
mov edi, dword [esi + 0x1b0]
test edi, edi
je 0x4cdc62
mov eax, dword [esi + 0x1a8]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
cmp edi, eax
jae 0x4cdc60
mov ecx, dword [ebx]
cmp dword [edi + 0xc], ecx
je 0x4cdc5e
add edi, 0x14
cmp edi, eax
jb 0x4cdc52
cmp edi, eax
jne 0x4cdc7b
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1ac]
jae 0x4cdd04
inc eax
mov dword [esi + 0x1a8], eax
mov eax, dword [ebx]
cmp eax, 0xff
ja 0x4cdd04
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 0x4cdcb7
movzx eax, al
mov dword [esi + 0x1b8], eax
push esi
call fcn.004c9680
add esp, 4
test al, al
jne case.0x4cb962.351
nop dword [eax + eax]
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x4cc3ba
sub eax, 1
je 0x4cc3ac
sub eax, 0x5c
je 0x4cc3ba
push esi
call fcn.004c9680
add esp, 4
test al, al
je 0x4cdcd0
jmp case.0x4cb962.351
mov dword [esi + 0xc], 0x8d
jmp case.0x4cb962.351
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.0x4cb962.351
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jle case.0x4cb962.351
mov dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jge case.0x4cb962.351
mov dword [ebx], eax
jmp case.0x4cb962.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
test eax, eax
js case.0x4cb962.351
movzx eax, ax
mov dword [esi + 0x158], eax
jmp case.0x4cb962.351
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
mov esi, dword [esp + 0x88]
lea eax, [edi - 1]
cmp eax, 2
ja 0x4cbbc8
lea ecx, [edi - 1]
mov eax, 1
shl eax, cl
test edx, edx
je 0x4cddab
cmp edx, eax
je 0x4cddab
cmp byte [esi + 0x249], 0
je case.0x4cb962.351
mov dword [esi + 0xc], 0x86
jmp case.0x4cb962.351
mov ecx, dword [esi + 0x164]
cmp ecx, 2
jne 0x4cddcb
not al
and al, byte [esi + 0x154]
or al, dl
mov byte [esi + 0x154], al
jmp case.0x4cb962.351
cmp ecx, 3
jne 0x4cbbc8
cmp edi, ecx
jne 0x4cbbc8
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne case.0x4cb962.351
cmp edx, 4
setne al
mov byte [esi + 0x27b], al
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
cmp dword [eax + 0x2e4], 0
je 0x4cdf48
push ebx
push esi
call fcn.004c7dc0
add esp, 8
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
cmp dword [eax + 0x2e4], 0
je 0x4cdf48
mov dword [ebx], 0x11
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
cmp al, 0xe0
jb 0x4cde5c
push ebx
push esi
call fcn.004c8970
add esp, 8
jmp case.0x4cb962.351
cmp al, 0xc0
jb 0x4cde6f
push ebx
push esi
call fcn.004c8700
add esp, 8
jmp case.0x4cb962.351
cmp al, 0xb8
jb 0x4cdef1
sub edi, dword [esi + 0x10]
mov ecx, 0xb7
movzx eax, al
inc edi
sub ax, cx
movzx eax, ax
mov ebp, eax
cmp ebp, edi
jb 0x4cde9b
mov dword [esi + 0xc], 0x82
jmp case.0x4cb962.351
inc dword [esi + 0x170]
xor ecx, ecx
cmp cx, ax
jae 0x4cdee8
nop dword [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
movsx eax, cx
mov dword [ebx - 4], eax
sub ebp, 1
jne 0x4cdeb0
mov byte [esi + 0x180], 0
jmp case.0x4cb962.351
cmp al, 0xb0
jb case.0x4cb962.344
sub edi, dword [esi + 0x10]
mov ecx, 0xaf
movzx eax, al
inc edi
sub ax, cx
movzx ebp, ax
cmp ebp, edi
jb 0x4cdf14
mov dword [esi + 0xc], 0x82
jmp case.0x4cb962.351
mov edi, 1
mov eax, edi
cmp ax, bp
ja case.0x4cb962.351
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, bp
jbe 0x4cdf20
jmp case.0x4cb962.351
mov esi, dword [esp + 0x88]
push esi
call fcn.004c8f90
add esp, 4
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4cdff5
cmp eax, 0x80
jne 0x4ce0b4
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x4cdf86
mov eax, dword [esi + 0x1a8]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
jmp 0x4cdf88
xor edx, edx
cmp ecx, edx
jae 0x4ce064
cmp byte [ecx + 0x10], 0
je 0x4cdfa1
mov al, byte [esi + 0x178]
cmp al, byte [ecx + 0xc]
je 0x4cdfa6
add ecx, 0x14
jmp 0x4cdf88
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jge 0x4ce052
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.004c7f10
add esp, 0xc
cmp al, 1
je 0x4ce0b4
jmp 0x4ce020
cmp byte [esi + 0x180], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
je 0x4ce010
mov eax, dword [esi + 0x17c]
add dword [esi + 0x170], eax
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, 0xf4240
ja 0x4ce089
mov eax, dword [esi + 0x170]
cmp eax, dword [esi + 0x174]
jge 0x4ce076
cmp byte [esi + 0x200], 0
jne 0x4ce07f
mov ebp, dword [esp + 0x4c]
jmp 0x4cb830
pop edi
mov dword [esi + 0xc], 0x81
mov eax, dword [esi + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
pop edi
mov dword [esi + 0xc], 0x86
mov eax, dword [esi + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
pop edi
mov dword [esi + 0xc], 0x80
mov eax, dword [esi + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
cmp dword [esi + 0x1bc], 0
jg 0x4ce0ad
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x74
ret
pop edi
mov dword [esi + 0xc], 0x8b
mov eax, dword [esi + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
pop edi
mov dword [esi + 0xc], 0x82
mov eax, dword [esi + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov dword [esi + 0xc], 0x83
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret