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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x1e
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 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 0x49b3e4
cmp ecx, 0xffff
cmova ecx, dword [ebp - 0x10]
mov word [esi + 0xbc], cx
mov dword [esi + 0x280], 0
mov dword [esi + 0x288], 0
test bx, bx
je 0x49b41f
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 0x49b428
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 0x49b440
mov dword [esi + 0x284], eax
mov ecx, eax
movzx eax, word [esi + 0xde]
mov edi, 0x498e70
movzx ebx, word [esi + 0xdc]
mov edx, 0x49e870
mov dword [esi + 0x28c], ecx
cmp bx, ax
mov ecx, 0x498e50
mov dword [ebp - 0xc], eax
cmove edi, ecx
mov dword [ebp - 0x14], 0x498d40
mov ecx, 0x49e840
mov dword [esi + 0x104], 0
cmove edx, ecx
mov eax, 0x4975b0
mov ecx, 0x498d70
cmove ecx, dword [ebp - 0x14]
cmp bx, word [ebp - 0xc]
mov dword [ebp - 0x14], 0x4975a0
cmove eax, dword [ebp - 0x14]
mov dword [esi + 0x268], eax
mov dword [esi + 0x26c], edi
mov dword [esi + 0x270], edx
mov dword [esi + 0x274], ecx
mov eax, dword [esi + 0x168]
push esi
mov dword [esi + 0x164], eax
call fcn.00497380
movzx eax, byte [esi + 0x13c]
add esp, 4
cmp eax, 7
ja case.default.0x49b4db
jmp dword [eax*4 + 0x49dbb0]
mov dword [esi + 0x250], fcn.00498f00
jmp case.default.0x49b4db
mov dword [esi + 0x250], 0x499040
jmp case.default.0x49b4db
mov dword [esi + 0x250], 0x4990d0
jmp case.default.0x49b4db
mov dword [esi + 0x250], 0x498ec0
jmp case.default.0x49b4db
mov dword [esi + 0x250], 0x499080
jmp case.default.0x49b4db
mov dword [esi + 0x250], 0x499000
jmp case.default.0x49b4db
mov dword [esi + 0x250], 0x498f30
jmp case.default.0x49b4db
mov dword [esi + 0x250], fcn.00498f90
lea edx, [esi + 0xc]
mov word [esi + 0x27c], 0
mov dword [ebp - 8], edx
nop
mov eax, dword [esi + 0x16c]
mov edi, dword [esi + 0x170]
add eax, edi
mov dword [ebp - 0x14], eax
mov bl, byte [eax]
movzx eax, bl
mov byte [esi + 0x178], bl
mov dword [ebp - 0xc], eax
movsx ecx, byte [eax + 0x623cb0]
mov dword [esi + 0x17c], ecx
test ecx, ecx
jns 0x49b5a9
lea eax, [edi + 1]
cmp eax, dword [esi + 0x174]
jge 0x49db9c
mov eax, dword [ebp - 0x14]
lea edx, [esi + 0xc]
movzx eax, byte [eax + 1]
imul eax, ecx
mov ecx, 2
sub ecx, eax
mov dword [esi + 0x17c], ecx
lea eax, [edi + ecx]
cmp eax, dword [esi + 0x174]
jg 0x49db9c
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 0x10]
mov bh, byte [eax + 0x623bb0]
movzx eax, bh
shr eax, 4
sub ecx, eax
mov dword [esi + 0x1c], ecx
jns 0x49b616
cmp byte [esi + 0x249], 0
jne 0x49db19
xor edx, edx
test bh, 0xf0
jbe 0x49b60d
mov eax, dword [esi + 0x18]
movzx ecx, dx
inc edx
mov dword [eax + ecx*4], 0
mov bl, byte [esi + 0x178]
movzx eax, bl
mov al, byte [eax + 0x623bb0]
shr al, 4
movzx eax, al
cmp dx, ax
jb 0x49b5e5
mov dword [esi + 0x1c], 0
xor ecx, ecx
cmp bl, 0x91
jne 0x49b630
mov eax, dword [esi]
mov eax, dword [eax + 0x2e4]
test eax, eax
je 0x49b62b
mov eax, dword [eax]
jmp 0x49b63d
mov eax, dword [esi + 0x20]
jmp 0x49b642
movzx eax, bl
movzx eax, byte [eax + 0x623bb0]
and eax, 0xf
add eax, ecx
mov dword [esi + 0x20], eax
mov edx, dword [esi + 0x14]
cmp eax, edx
jg 0x49db89
mov eax, dword [esi + 0x18]
mov byte [esi + 0x180], 1
mov dword [esi + 0xc], 0
movzx esi, bl
mov dword [ebp - 0x30], eax
lea edi, [eax + ecx*4]
mov dword [ebp - 0xc], esi
cmp esi, 0x92
ja case.default.0x49b676
jmp dword [esi*4 + 0x49dbd0]
mov esi, dword [ebp + 8]
mov al, bl
and al, 1
movzx eax, al
shl ax, 0xe
movzx ecx, ax
mov eax, ecx
xor eax, 0x4000
movzx eax, ax
cmp bl, 4
jae 0x49b6b9
mov word [esi + 0x12a], cx
mov word [esi + 0x12c], ax
mov word [esi + 0x126], cx
mov word [esi + 0x128], ax
test bl, 2
jne 0x49b7ec
mov word [esi + 0x12e], cx
push esi
mov word [esi + 0x130], ax
call fcn.00497380
jmp 0x49da29
mov esi, dword [ebp + 8]
movzx eax, word [edi]
lea ebx, [esi + 0x12a]
push ebx
push eax
movzx eax, word [edi + 4]
push eax
push esi
call fcn.00498b80
add esp, 0x10
test al, al
jne case.0x49b676.33
mov eax, dword [ebx]
push esi
mov dword [esi + 0x126], eax
call fcn.00497380
jmp 0x49da29
mov esi, dword [ebp + 8]
lea eax, [esi + 0x12e]
push eax
movzx eax, word [edi]
push eax
movzx eax, word [edi + 4]
push eax
push esi
call fcn.00498b80
add esp, 0x10
test al, al
jne case.0x49b676.33
push esi
call fcn.00497380
jmp 0x49da29
movsx ecx, word [edi]
movsx eax, word [edi + 4]
mov esi, dword [ebp + 8]
test ecx, ecx
jne 0x49b753
test eax, eax
je 0x49b78b
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], ecx
call fcn.004898d0
mov eax, dword [ebp - 0x48]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12a], ax
mov eax, dword [ebp - 0x44]
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.00497380
jmp 0x49da29
movsx ecx, word [edi]
movsx eax, word [edi + 4]
mov esi, dword [ebp + 8]
test ecx, ecx
jne 0x49b7b4
test eax, eax
je 0x49b7ec
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], ecx
call fcn.004898d0
mov eax, dword [ebp - 0x50]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12e], ax
mov eax, dword [ebp - 0x4c]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x130], ax
push esi
call fcn.00497380
jmp 0x49da29
mov esi, dword [ebp + 8]
movsx eax, word [esi + 0x12a]
mov dword [edi], eax
movsx eax, word [esi + 0x12c]
mov dword [edi + 4], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
movsx eax, word [esi + 0x12e]
mov dword [edi], eax
movsx eax, word [esi + 0x130]
mov dword [edi + 4], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
push esi
mov eax, dword [esi + 0x12a]
mov dword [esi + 0x12e], eax
call fcn.00497380
jmp 0x49da29
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00497de0
add esp, 8
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ax, word [edi]
mov word [esi + 0x120], ax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ax, word [edi]
mov word [esi + 0x122], ax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ax, word [edi]
mov word [esi + 0x124], ax
jmp case.0x49b676.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x49b8d1
sub eax, 1
je 0x49b8b7
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x49b8e9
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 [edi]
mov word [esi + 0x15c], ax
jmp case.0x49b676.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x49b941
sub eax, 1
je 0x49b927
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x49b959
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 [edi]
mov word [esi + 0x15e], ax
jmp case.0x49b676.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x49b9b1
sub eax, 1
je 0x49b997
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x49b9c9
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 [edi]
mov word [esi + 0x160], ax
jmp case.0x49b676.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x49ba24
sub eax, 1
je 0x49ba0a
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x49ba3c
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 [edi]
mov word [esi + 0x15c], ax
movzx eax, word [edi]
mov word [esi + 0x15e], ax
movzx eax, word [edi]
mov word [esi + 0x160], ax
jmp case.0x49b676.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
test eax, eax
jns 0x49baa4
mov dword [esi + 0xc], 0x84
jmp case.0x49b676.33
cmp eax, 0xffff
cmovg eax, dword [ebp - 0x10]
mov dword [esi + 0x134], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 1
mov dword [esi + 0x250], 0x499040
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 0
mov dword [esi + 0x250], 0x499080
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi + 0x138], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov edi, 1
push esi
call fcn.00499300
add esp, 4
cmp al, 1
je case.0x49b676.33
movzx eax, byte [esi + 0x178]
sub eax, 0x58
je 0x49bb2d
sub eax, 1
jne 0x49bb2e
dec edi
jmp 0x49bb2e
inc edi
test edi, edi
jne 0x49bb08
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov edx, dword [edi]
test edx, edx
jne 0x49bb48
test ecx, ecx
je 0x49ba98
add edx, dword [esi + 0x170]
mov dword [esi + 0x170], edx
js 0x49ba98
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jle 0x49bb79
mov eax, dword [esi + 0x1c4]
add ecx, ecx
mov eax, dword [eax + ecx*8 - 4]
cmp edx, dword [eax + 8]
jg 0x49ba98
mov byte [esi + 0x180], 0
cmp dword [edi], 0
jge case.0x49b676.33
inc dword [esi + 0x288]
mov eax, dword [esi + 0x288]
cmp eax, dword [esi + 0x28c]
jbe case.0x49b676.33
mov dword [esi + 0xc], 0x8b
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi + 0x144], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi + 0x148], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x108]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
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 - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x14c], eax
jmp case.0x49b676.33
mov eax, dword [edi]
mov dword [edi + 4], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x20], 0
jmp case.0x49b676.33
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov dword [edi], eax
jmp case.0x49b676.33
mov edx, dword [edi]
mov esi, dword [ebp + 8]
test edx, edx
jle 0x49bc5d
cmp edx, ecx
jg 0x49bc5d
sub ecx, edx
mov eax, dword [eax + ecx*4]
mov dword [edi], eax
jmp case.0x49b676.33
cmp byte [esi + 0x249], 0
je 0x49bc6d
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [edi], eax
jmp case.0x49b676.33
mov edx, dword [edi]
mov esi, dword [ebp + 8]
test edx, edx
jle 0x49b89e
cmp edx, ecx
jg 0x49b89e
sub ecx, edx
mov edi, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
lea eax, [edx*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [esi + 0x1c]
add esp, 0xc
mov eax, dword [esi + 0x18]
mov dword [eax + ecx*4 - 4], edi
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
movzx eax, word [edi]
movzx ebx, word [edi + 4]
mov dword [ebp - 0x14], eax
cmp ax, word [esi + 0x50]
jae 0x49b89e
cmp bx, word [esi + 0x2c]
jae 0x49b89e
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.0x49b676.33
mov esi, dword [ebp + 8]
movzx eax, word [edi]
cmp ax, word [esi + 0x2c]
jb 0x49bd54
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.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.0x49b676.33
mov esi, dword [ebp + 8]
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x1b4]
inc eax
mov dword [ebp - 0x14], eax
cmp edx, eax
jae 0x49b8ab
mov ebx, dword [esi + 0x1a4]
test ebx, ebx
je 0x49bdb3
lea eax, [edx + edx*4]
lea ecx, [ebx + eax*4]
jmp 0x49bdb5
xor ecx, ecx
mov eax, dword [esi + 0x19c]
cmp dword [ebp - 0x14], eax
jne 0x49bdc5
cmp dword [ecx + 0xc], edx
je 0x49bdf4
mov ecx, ebx
test ecx, ecx
je 0x49b8ab
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x49bdee
nop dword [eax]
cmp dword [ecx + 0xc], edx
je 0x49bdec
add ecx, 0x14
cmp ecx, eax
jb 0x49bde0
cmp ecx, eax
je 0x49b8ab
cmp byte [ecx + 0x10], 0
je 0x49b8ab
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jl 0x49be18
mov dword [esi + 0xc], 0x82
jmp case.0x49b676.33
cmp dword [edi], 0
jle case.0x49b676.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 [edi]
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.00497a40
mov byte [esi + 0x180], 0
add esp, 0xc
mov eax, dword [edi]
add dword [esi + 0x280], eax
mov eax, dword [esi + 0x280]
cmp eax, dword [esi + 0x284]
jbe case.0x49b676.33
mov dword [esi + 0xc], 0x8b
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov edx, dword [edi]
mov ebx, dword [esi + 0x1b4]
inc ebx
cmp edx, ebx
jae 0x49b8ab
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x49b8ab
lea eax, [edx + edx*4]
lea ecx, [edi + eax*4]
mov eax, dword [esi + 0x19c]
cmp ebx, eax
jne 0x49bebc
cmp dword [ecx + 0xc], edx
je 0x49bedc
mov ecx, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x49bed6
cmp dword [ecx + 0xc], edx
je 0x49bed4
add ecx, 0x14
cmp ecx, eax
jb 0x49bec8
cmp ecx, eax
je 0x49b8ab
cmp byte [ecx + 0x10], 0
je 0x49b8ab
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jl 0x49bf00
mov dword [esi + 0xc], 0x82
jmp case.0x49b676.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.00497a40
add esp, 0xc
mov byte [esi + 0x180], 0
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
cmp dword [esi + 0x164], 3
jne 0x49bf5d
mov dword [esi + 0xc], 0x9c
jmp case.0x49b676.33
mov ebx, dword [esi + 0x1a4]
test ebx, ebx
je 0x49bf75
mov eax, dword [esi + 0x19c]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
jmp 0x49bf77
xor eax, eax
mov ecx, dword [edi]
cmp ebx, eax
jae 0x49bf8e
nop dword [eax]
cmp dword [ebx + 0xc], ecx
je 0x49bf8c
add ebx, 0x14
cmp ebx, eax
jb 0x49bf80
cmp ebx, eax
jne 0x49bfa5
mov eax, dword [esi + 0x19c]
cmp eax, dword [esi + 0x1a0]
jae 0x49bfad
inc eax
mov dword [esi + 0x19c], eax
cmp ecx, 0xffff
jbe 0x49bfb9
mov dword [esi + 0xc], 0x8c
jmp case.0x49b676.33
mov eax, dword [esi + 0x168]
mov dword [ebx], eax
movzx edx, cx
mov dword [ebx + 0xc], edx
mov eax, dword [esi + 0x170]
inc eax
mov byte [ebx + 0x10], 1
mov dword [ebx + 4], eax
cmp ecx, dword [esi + 0x1b4]
jbe 0x49bfe3
mov dword [esi + 0x1b4], edx
push esi
call fcn.00499300
add esp, 4
test al, al
jne case.0x49b676.33
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x49c02a
sub eax, 1
je 0x49c01c
sub eax, 0x5c
je 0x49c02a
push esi
call fcn.00499300
add esp, 4
test al, al
je 0x49bff4
jmp case.0x49b676.33
mov eax, dword [esi + 0x170]
mov dword [ebx + 8], eax
jmp case.0x49b676.33
mov dword [esi + 0xc], 0x89
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jg 0x49c04f
mov dword [esi + 0xc], 0x88
jmp case.0x49b676.33
dec ecx
mov dword [esi + 0x1bc], ecx
shl ecx, 4
add ecx, dword [esi + 0x1c4]
dec dword [ecx + 8]
mov byte [esi + 0x180], 0
cmp dword [ecx + 8], 0
jle 0x49c086
inc dword [esi + 0x1bc]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 0x170], eax
jmp case.0x49b676.33
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.00497a40
add esp, 0xc
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
movzx edi, word [edi]
cmp di, word [esi + 0x2c]
jb 0x49c0be
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
test bl, 1
je 0x49c103
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.00498f90
jne 0x49c0fa
call fcn.00498f90
add esp, 0xc
sub eax, ebx
jmp 0x49c105
call eax
add esp, 0xc
sub eax, ebx
jmp 0x49c105
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.0x49b676.33
mov esi, dword [ebp + 8]
push esi
call fcn.00498020
jmp 0x49da29
mov esi, dword [ebp + 8]
push esi
call fcn.00498830
jmp 0x49da29
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.004986a0
add esp, 8
jmp case.0x49b676.33
cmp dword [edi], 2
mov esi, dword [ebp + 8]
jb 0x49c179
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004974c0
add esp, 0x14
test al, al
jne case.0x49b676.33
movzx eax, word [esi + 0x160]
test ax, ax
jne 0x49c1ac
movzx ebx, word [esi + 0x74]
jmp 0x49c1d1
cmp eax, 1
jne 0x49c1cf
movzx eax, word [esi + 0x76]
test ax, ax
jle 0x49c1cf
movsx ecx, ax
mov eax, dword [esi + 0x88]
mov ax, word [eax + ecx*2 - 2]
inc ax
movzx ebx, ax
jmp 0x49c1d1
xor ebx, ebx
xor eax, eax
xor edi, edi
cmp ax, bx
jae case.0x49b676.33
xor edx, edx
mov ecx, dword [esi + 0x7c]
cmp dword [ebp - 0x64], ecx
jne 0x49c1ee
cmp word [ebp - 4], di
je 0x49c24c
cmp word [esi + 0x12e], 0
je 0x49c215
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x49c20c
cmp byte [esi + 0x27b], 0
jne 0x49c212
mov eax, dword [ebp - 0x20]
add dword [ecx + edx], eax
mov ecx, dword [esi + 0x7c]
cmp word [esi + 0x130], 0
je 0x49c24c
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x49c245
cmp byte [esi + 0x27b], 0
je 0x49c245
cmp byte [esi + 0x27c], 0
je 0x49c245
cmp byte [esi + 0x27d], 0
jne 0x49c24c
mov eax, dword [ebp - 0x24]
add dword [edx + ecx + 4], eax
inc edi
add edx, 8
cmp di, bx
jb 0x49c1e0
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00498960
add esp, 8
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
push esi
call fcn.00497ac0
jmp 0x49da29
mov esi, dword [ebp + 8]
movzx ebx, word [edi]
mov ecx, ebx
cmp bx, word [esi + 0x50]
jae 0x49b89e
movzx eax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x49b89e
cmp word [esi + 0x15e], 0
mov dword [ebp - 0xc], ecx
jne 0x49c2f8
mov edx, eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + edx*8]
mov edx, dword [eax + edx*8 + 4]
mov eax, dword [esi + 0x54]
mov esi, ebx
mov dword [eax + esi*8], ecx
mov ecx, ebx
mov esi, dword [ebp + 8]
mov dword [eax + ecx*8 + 4], edx
push dword [edi + 4]
lea eax, [esi + 0x48]
push ebx
push eax
mov eax, dword [esi + 0x264]
push esi
call eax
mov eax, dword [esi + 0x54]
mov edx, ebx
add esp, 0x10
mov ecx, dword [eax + edx*8]
mov edx, dword [eax + edx*8 + 4]
mov eax, dword [esi + 0x58]
mov esi, ebx
mov dword [eax + esi*8], ecx
mov ecx, ebx
mov esi, dword [ebp + 8]
mov dword [eax + ecx*8 + 4], edx
movzx ecx, word [esi + 0x120]
mov eax, dword [esi + 0x34]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp - 0xc]
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 [edi + 4]
sub ecx, eax
lea eax, [esi + 0x48]
push ecx
push ebx
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], bx
je case.0x49b676.33
mov word [esi + 0x120], bx
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x134]
cmp dword [esi + 0x10], ecx
jl 0x49c401
mov ax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x49c401
test ecx, ecx
jle 0x49c411
nop
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 0x49c3b2
cmp byte [esi + 0x249], 0
jne 0x49b8ab
jmp 0x49c3f0
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 [esi + 0x134]
cmp dword [esi + 0x134], 0
jg 0x49c390
jmp 0x49c411
cmp byte [esi + 0x249], 0
je 0x49c411
mov dword [esi + 0xc], 0x86
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 2
mov dword [esi + 0x250], 0x499000
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
movzx eax, word [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0xc], eax
movzx ebx, ax
cmp ax, word [esi + 0x2c]
jae 0x49c552
cmp ecx, dword [esi + 0x184]
jae 0x49c552
mov eax, dword [esi + 0x26c]
cmp eax, 0x498e50
jne 0x49c47f
mov eax, dword [esi + 0x188]
mov edi, dword [eax + ecx*4]
jmp 0x49c488
push ecx
push esi
call eax
add esp, 8
mov edi, eax
cmp word [esi + 0x15c], 0
jne 0x49c4d2
movsx eax, word [esi + 0x12e]
push eax
push edi
call fcn.0049ab30
mov ecx, dword [esi + 0x30]
mov dword [ecx + ebx*8], eax
movsx eax, word [esi + 0x130]
push eax
push edi
call fcn.0049ab30
mov ecx, dword [esi + 0x30]
add esp, 0x10
mov dword [ecx + ebx*8 + 4], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + ebx*8]
mov edx, dword [eax + ebx*8 + 4]
mov eax, dword [esi + 0x34]
mov dword [eax + ebx*8], ecx
mov dword [eax + ebx*8 + 4], edx
mov eax, dword [esi + 0x34]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov ebx, eax
test byte [esi + 0x178], 1
je 0x49c526
mov eax, dword [esi + 0x250]
mov ecx, edi
mov edx, ebx
sub edx, edi
sub ecx, ebx
push 3
cmovns edx, ecx
cmp edx, dword [esi + 0x144]
cmovg edi, ebx
push edi
push esi
cmp eax, fcn.00498f90
jne 0x49c51f
call fcn.00498f90
jmp 0x49c521
call eax
mov edi, eax
add esp, 0xc
sub edi, ebx
lea eax, [esi + 0x24]
push edi
push dword [ebp - 0xc]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov word [esi + 0x120], ax
mov word [esi + 0x122], ax
jmp case.0x49b676.33
cmp byte [esi + 0x249], 0
je 0x49c562
mov dword [esi + 0xc], 0x86
mov word [esi + 0x120], ax
mov word [esi + 0x122], ax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x170]
mov eax, dword [esi + 0x16c]
sub edx, dword [esi + 0x10]
inc edx
movzx eax, byte [ecx + eax + 1]
movzx ecx, ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], ecx
cmp ecx, edx
jb 0x49c5a6
mov dword [esi + 0xc], 0x82
jmp case.0x49b676.33
mov ebx, 1
mov edx, ebx
cmp dx, ax
ja 0x49c5e4
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [esi + 0x170]
mov eax, dword [esi + 0x16c]
movzx edx, bx
inc ebx
add ecx, edx
movzx eax, byte [ecx + eax + 1]
mov dword [edi + edx*4 - 4], eax
cmp bx, word [ebp - 0x14]
jbe 0x49c5c0
mov ecx, dword [ebp - 0xc]
add dword [esi + 0x20], ecx
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x16c]
mov ecx, dword [esi + 0x170]
sub edx, dword [esi + 0x10]
inc edx
mov bl, byte [ecx + eax + 1]
movzx eax, bl
mov dword [ebp - 0xc], eax
cmp eax, edx
jb 0x49c619
mov dword [esi + 0xc], 0x82
jmp case.0x49b676.33
lea eax, [ecx + 2]
mov dword [esi + 0x170], eax
test bl, bl
je 0x49c668
mov ebx, dword [ebp - 0xc]
nop dword [eax]
add dword [esi + 0x170], 2
lea edi, [edi + 4]
mov edx, dword [esi + 0x16c]
mov eax, 0x100
add edx, dword [esi + 0x170]
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 [edi - 4], eax
sub ebx, 1
jne 0x49c630
mov eax, dword [ebp - 0xc]
add dword [esi + 0x20], eax
mov byte [esi + 0x180], 0
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ebx, dword [edi]
movzx ecx, word [esi + 0x1e4]
cmp ebx, ecx
jb 0x49c6a3
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
cmp dword [esi + 0x164], 3
jne 0x49c716
mov eax, dword [esi + 0x1f0]
cmp dword [esi + 0x1e8], eax
je 0x49c716
lea edx, [ebp - 0x28]
push edx
push eax
movzx eax, word [esi + 0x1ec]
push ecx
push eax
push 4
push dword [esi + 8]
call fcn.0048b110
mov ecx, dword [ebp - 0x28]
add esp, 0x18
mov dword [esi + 0x1f0], eax
mov dword [esi + 0xc], ecx
test ecx, ecx
jne case.0x49b676.33
movzx ecx, word [esi + 0x1e4]
mov word [esi + 0x1ec], cx
shl ecx, 2
push ecx
push dword [esi + 0x1e8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x1f0]
add esp, 0xc
mov dword [esi + 0x1e8], eax
mov ecx, dword [esi + 0x1e8]
mov eax, dword [edi + 4]
mov dword [ecx + ebx*4], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ecx, dword [edi]
movzx eax, word [esi + 0x1e4]
cmp ecx, eax
jb 0x49c757
cmp byte [esi + 0x249], 0
je 0x49c74c
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
mov dword [edi], 0
jmp case.0x49b676.33
mov eax, dword [esi + 0x1e8]
mov eax, dword [eax + ecx*4]
mov dword [edi], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ebx, dword [edi]
cmp ebx, dword [esi + 0x184]
jb 0x49c78d
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
mov eax, dword [esi + 0x270]
mov edi, dword [edi + 4]
cmp eax, 0x49e840
jne 0x49c7be
push esi
call fcn.00498cc0
add esp, 4
cmp dword [esi + 0xc], 0
jne case.0x49b676.33
mov eax, dword [esi + 0x188]
mov dword [eax + ebx*4], edi
jmp case.0x49b676.33
push edi
push ebx
push esi
call eax
add esp, 0xc
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ecx, dword [edi]
cmp ecx, dword [esi + 0x184]
jb 0x49c7f1
cmp byte [esi + 0x249], 0
je 0x49c74c
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
mov eax, dword [esi + 0x26c]
cmp eax, 0x498e50
jne 0x49c80e
mov eax, dword [esi + 0x188]
mov eax, dword [eax + ecx*4]
mov dword [edi], eax
jmp case.0x49b676.33
push ecx
push esi
call eax
add esp, 8
mov dword [edi], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ecx, dword [edi]
movzx eax, word [esi + 0x74]
cmp ecx, eax
jb 0x49c842
cmp byte [esi + 0x249], 0
je 0x49c839
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [edi], eax
jmp case.0x49b676.33
test bl, 1
je 0x49c864
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 [edi], eax
jmp case.0x49b676.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 [edi], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
movzx eax, word [edi]
mov dword [ebp - 0x14], eax
cmp ax, word [esi + 0x74]
jb 0x49c8a9
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
movzx ebx, ax
mov eax, dword [esi + 0x7c]
shl ebx, 3
push dword [ebx + eax + 4]
push dword [ebx + eax]
mov eax, dword [esi + 0x254]
push esi
call eax
mov ecx, dword [edi + 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.0x49b676.33
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebx + eax]
mov edx, dword [ebx + eax + 4]
mov eax, dword [esi + 0x78]
mov dword [ebx + eax], ecx
mov dword [ebx + eax + 4], edx
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
movzx eax, word [edi]
movzx edx, word [edi + 4]
cmp ax, word [esi + 0x2c]
jae 0x49bc5d
cmp dx, word [esi + 0x50]
jae 0x49bc5d
test bl, 1
je 0x49c955
mov eax, dword [esi + 0x58]
mov ecx, edx
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x34]
movzx ecx, word [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
add esp, 0xc
mov dword [edi], eax
jmp case.0x49b676.33
cmp word [esi + 0x15c], 0
je 0x49ca61
cmp word [esi + 0x15e], 0
je 0x49ca61
mov ecx, eax
mov eax, dword [esi + 0x38]
lea ebx, [eax + ecx*8]
mov eax, dword [esi + 0x5c]
mov ecx, edx
lea ecx, [eax + ecx*8]
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0x30], ecx
cmp eax, dword [esi + 0xe4]
jne 0x49c9e3
mov eax, dword [ebx + 4]
sub eax, dword [ecx + 4]
push eax
mov eax, dword [ebx]
sub eax, dword [ecx]
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 - 0xc], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
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 - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi], eax
jmp case.0x49b676.33
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
sub eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
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 - 0x38], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 4]
sub eax, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
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 - 0x34], eax
push dword [ebp - 0x34]
mov eax, dword [esi + 0x258]
push dword [ebp - 0x38]
push esi
call eax
add esp, 0xc
mov dword [edi], eax
jmp case.0x49b676.33
mov ecx, eax
mov eax, dword [esi + 0x30]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x54]
movzx ecx, word [edi + 4]
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 [edi], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x268]
cmp eax, 0x4975a0
jne 0x49cab0
movzx eax, word [esi + 0x100]
mov dword [edi], eax
jmp case.0x49b676.33
push esi
call eax
add esp, 4
mov dword [edi], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x23
jne 0x49caf3
mov eax, dword [esi + 0x268]
cmp eax, 0x4975a0
jne 0x49cae6
movzx eax, word [esi + 0x100]
mov dword [edi], eax
jmp case.0x49b676.33
push esi
call eax
add esp, 4
mov dword [edi], eax
jmp case.0x49b676.33
mov eax, dword [esi + 0xd8]
mov dword [edi], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov byte [esi + 0x140], 1
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov byte [esi + 0x140], 0
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov dword [esi + 0xc], 0x87
jmp case.0x49b676.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setl cl
mov dword [edi], ecx
jmp case.0x49b676.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setle cl
mov dword [edi], ecx
jmp case.0x49b676.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setg cl
mov dword [edi], ecx
jmp case.0x49b676.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setge cl
mov dword [edi], ecx
jmp case.0x49b676.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
sete cl
mov dword [edi], ecx
jmp case.0x49b676.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setne cl
mov dword [edi], ecx
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, dword [esi + 0x250]
cmp ecx, 0x499000
jne 0x49cbf5
mov edx, dword [esi + 0x118]
test eax, eax
js 0x49cbd2
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 [edi], ecx
jmp case.0x49b676.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 [edi], ecx
jmp case.0x49b676.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 [edi], ecx
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, dword [esi + 0x250]
cmp ecx, 0x499000
jne 0x49cc6f
mov ecx, dword [esi + 0x118]
test eax, eax
js 0x49cc51
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 [edi], eax
jmp case.0x49b676.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 [edi], eax
jmp case.0x49b676.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 [edi], eax
jmp case.0x49b676.33
cmp dword [edi], 0
mov esi, dword [ebp + 8]
jne case.0x49b676.33
mov edi, 1
xor bl, bl
nop
push esi
call fcn.00499300
add esp, 4
cmp al, 1
je case.0x49b676.33
movzx eax, byte [esi + 0x178]
sub eax, 0x1b
je 0x49cccf
sub eax, 0x3d
je 0x49cccc
sub eax, 1
jne 0x49ccd5
sub edi, 1
jmp 0x49ccd2
inc edi
jmp 0x49ccd5
cmp edi, 1
sete bl
test bl, bl
je 0x49cca0
jmp case.0x49b676.33
cmp dword [edi], 0
je 0x49bc6d
cmp dword [edi + 4], 0
je 0x49bc6d
mov eax, 1
mov dword [edi], eax
jmp case.0x49b676.33
cmp dword [edi], 0
jne 0x49cd11
cmp dword [edi + 4], 0
jne 0x49cd11
xor eax, eax
mov dword [edi], eax
jmp case.0x49b676.33
mov eax, 1
mov dword [edi], eax
jmp case.0x49b676.33
xor eax, eax
cmp dword [edi], eax
sete al
mov dword [edi], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x268]
cmp eax, 0x4975a0
jne 0x49cd47
movzx edx, word [esi + 0x100]
mov dword [ebp - 0x14], edx
jmp 0x49cd52
push esi
call eax
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, eax
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], 1
cmp eax, 1
jb 0x49ce83
nop word [eax + eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x49ce6c
mov eax, dword [esi + 0x18]
add ecx, 0xfffffffe
mov dword [esi + 0x1c], ecx
movzx ebx, word [eax + ecx*4 + 4]
mov edi, dword [eax + ecx*4]
cmp bx, word [esi + 0x2c]
jae 0x49ce3e
movzx eax, byte [esi + 0x178]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x49cdb5
sub eax, 1
jne 0x49cdb8
add ecx, 0x20
jmp 0x49cdb8
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp edx, eax
jne 0x49ce4e
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 0x49ce2a
cmp byte [esi + 0x27b], 0
je 0x49ce2a
cmp byte [esi + 0x27c], 0
je 0x49ce0c
cmp byte [esi + 0x27d], 0
jne 0x49ce4e
cmp byte [esi + 0x248], 0
je 0x49ce1f
cmp word [esi + 0x130], 0
jne 0x49ce2a
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x49ce4e
push edx
push ebx
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x10
jmp 0x49ce4e
cmp byte [esi + 0x249], 0
je 0x49ce4e
mov dword [esi + 0xc], 0x86
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x30]
jbe 0x49cd70
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x49b676.33
cmp byte [esi + 0x249], 0
je 0x49ce7c
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ax, word [edi]
mov word [esi + 0x150], ax
jmp case.0x49b676.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
cmp eax, 6
jbe 0x49ceb6
mov dword [esi + 0xc], 0x84
jmp case.0x49b676.33
mov word [esi + 0x152], ax
jmp case.0x49b676.33
mov eax, dword [edi + 4]
add dword [edi], eax
jmp case.0x49b676.33
mov eax, dword [edi + 4]
sub dword [edi], eax
jmp case.0x49b676.33
mov eax, dword [edi + 4]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x49ceec
mov dword [esi + 0xc], 0x85
jmp case.0x49b676.33
push eax
push 0x40
push dword [edi]
call fcn.00486db0
add esp, 0xc
mov dword [edi], eax
jmp case.0x49b676.33
push 0x40
push dword [edi + 4]
push dword [edi]
call fcn.00486cd0
add esp, 0xc
mov dword [edi], eax
jmp case.0x49b676.33
mov eax, dword [edi]
test eax, eax
jns case.0x49b676.33
neg eax
mov dword [edi], eax
jmp case.0x49b676.33
mov eax, dword [edi]
neg eax
mov dword [edi], eax
jmp case.0x49b676.33
and dword [edi], 0xffffffc0
jmp case.0x49b676.33
mov eax, dword [edi]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [edi], eax
jmp case.0x49b676.33
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
and eax, 3
mov ecx, dword [edi]
push eax
push ecx
mov edx, dword [esi + 0x250]
push esi
cmp edx, fcn.00498f90
jne 0x49cf76
call fcn.00498f90
add esp, 0xc
mov dword [edi], eax
jmp case.0x49b676.33
call edx
add esp, 0xc
mov dword [edi], eax
jmp case.0x49b676.33
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
and eax, 3
mov ecx, dword [edi]
mov eax, dword [esi + eax*4 + 0x10c]
test ecx, ecx
js 0x49cfa8
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [edi], ecx
jmp case.0x49b676.33
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg ecx, eax
mov dword [edi], ecx
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov ebx, dword [edi]
cmp ebx, dword [esi + 0x184]
jb 0x49cfde
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
mov eax, dword [esi + 0x108]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
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 ecx, dword [esi + 0x188]
mov eax, dword [ebp - 0x3c]
mov dword [ecx + ebx*4], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.004978e0
add esp, 8
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x268]
cmp eax, 0x4975a0
jne 0x49d04f
movzx ecx, word [esi + 0x100]
mov dword [ebp - 0x14], ecx
jmp 0x49d058
push esi
call eax
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], 1
cmp eax, 1
jb 0x49ce83
nop dword [eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x49ce6c
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 0x49d0a6
cmp byte [esi + 0x249], 0
jne 0x49b8ab
jmp 0x49d121
movzx eax, byte [esi + 0x178]
mov ecx, edx
shr ecx, 4
and ecx, 0xf
sub eax, 0x74
je 0x49d0c4
sub eax, 1
jne 0x49d0c7
add ecx, 0x20
jmp 0x49d0c7
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 0x14], eax
jne 0x49d121
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, 0x498d40
jne 0x49d119
push esi
call fcn.00498cc0
add esp, 4
cmp dword [esi + 0xc], 0
jne 0x49d121
mov eax, dword [esi + 0x188]
add dword [eax + ebx*4], edi
jmp 0x49d121
push edi
push ebx
push esi
call eax
add esp, 0xc
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x30]
jbe 0x49d070
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x49b676.33
push dword [edi]
mov esi, dword [ebp + 8]
push 0x4000
push esi
call fcn.00499110
add esp, 0xc
mov dword [esi + 0x13c], 6
mov dword [esi + 0x250], 0x498f30
jmp case.0x49b676.33
push dword [edi]
mov esi, dword [ebp + 8]
push 0x2d41
push esi
call fcn.00499110
add esp, 0xc
mov dword [esi + 0x13c], 7
mov dword [esi + 0x250], fcn.00498f90
jmp case.0x49b676.33
cmp dword [edi + 4], 0
mov esi, dword [ebp + 8]
je case.0x49b676.33
jmp 0x49bb3a
cmp dword [edi + 4], 0
mov esi, dword [ebp + 8]
jne case.0x49b676.33
jmp 0x49bb3a
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 5
mov dword [esi + 0x250], fcn.00498f00
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 4
mov dword [esi + 0x250], 0x4990d0
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 3
mov dword [esi + 0x250], 0x498ec0
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x49d237
cmp byte [esi + 0x27b], 0
je 0x49d237
cmp byte [esi + 0x27c], 0
je 0x49d237
cmp byte [esi + 0x27d], 0
mov eax, ecx
jne 0x49d2b3
mov edx, dword [esi + 0x134]
mov eax, ecx
cmp dword [esi + 0x10], edx
jge 0x49d266
cmp byte [esi + 0x249], 0
je 0x49d2b3
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x49b676.33
test edx, edx
jle 0x49d2b3
mov edx, dword [ebp - 0x30]
nop dword [eax]
lea eax, [ecx - 1]
mov dword [esi + 0x1c], eax
movzx ecx, word [edx + eax*4]
cmp cx, word [esi + 0x98]
jb 0x49d292
cmp byte [esi + 0x249], 0
jne 0x49b8ab
jmp 0x49d2a2
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 0x49d270
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x49d2f2
cmp byte [esi + 0x27b], 0
je 0x49d2f2
cmp byte [esi + 0x27c], 0
je 0x49d2f2
cmp byte [esi + 0x27d], 0
jne case.0x49b676.33
movzx ebx, word [edi + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [edi]
cmp bx, cx
jae 0x49b89e
cmp ax, cx
jae 0x49b89e
mov edx, eax
cmp ax, bx
ja case.0x49b676.33
nop dword [eax]
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
or byte [ecx + eax], 1
cmp dx, bx
jbe 0x49d320
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x49d365
cmp byte [esi + 0x27b], 0
je 0x49d365
cmp byte [esi + 0x27c], 0
je 0x49d365
cmp byte [esi + 0x27d], 0
jne case.0x49b676.33
movzx ebx, word [edi + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [edi]
cmp bx, cx
jae 0x49b89e
cmp ax, cx
jae 0x49b89e
mov edx, eax
cmp ax, bx
ja case.0x49b676.33
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
and byte [ecx + eax], 0xfe
cmp dx, bx
jbe 0x49d390
jmp case.0x49b676.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
movzx ecx, al
cmp ecx, 0xff
jne 0x49d3c4
mov byte [esi + 0x155], 1
jmp case.0x49b676.33
test al, al
je 0x49d460
test eax, 0x100
je 0x49d3e5
movzx eax, word [esi + 0x100]
cmp eax, ecx
ja 0x49d3e5
mov byte [esi + 0x155], 1
test dword [edi], 0x200
je 0x49d3fd
cmp byte [esi + 0x11d], 0
je 0x49d3fd
mov byte [esi + 0x155], 1
test dword [edi], 0x400
je 0x49d415
cmp byte [esi + 0x11e], 0
je 0x49d415
mov byte [esi + 0x155], 1
test dword [edi], 0x800
je 0x49d42f
movzx eax, word [esi + 0x100]
cmp eax, ecx
jbe 0x49d42f
mov byte [esi + 0x155], 0
test dword [edi], 0x1000
je 0x49d447
cmp byte [esi + 0x11d], 0
je 0x49d447
mov byte [esi + 0x155], 0
test dword [edi], 0x2000
je case.0x49b676.33
cmp byte [esi + 0x11e], 0
je case.0x49b676.33
mov byte [esi + 0x155], 0
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
movzx ecx, word [edi]
movzx eax, word [edi + 4]
cmp cx, word [esi + 0x50]
jae 0x49b89e
cmp ax, word [esi + 0x74]
jae 0x49b89e
mov edx, ecx
mov ecx, dword [esi + 0x54]
shl edx, 3
add ecx, edx
mov dword [ebp - 0xc], edx
mov edx, eax
mov eax, dword [esi + 0x78]
shl edx, 3
add eax, edx
mov dword [ebp - 0x40], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edi, ecx
mov dword [ebp - 0x14], ecx
sub edx, dword [eax]
mov eax, dword [eax + 4]
sub edi, eax
mov dword [ebp - 0x30], eax
test edx, edx
jne 0x49d4c7
test edi, edi
jne 0x49d4c7
mov edx, 0x4000
xor bl, bl
lea eax, [esi + 0x126]
test bl, 1
push eax
mov eax, dword [ebp - 0x30]
cmovne edi, edx
sub eax, dword [ebp - 0x14]
mov cl, bl
test cl, 1
push edi
cmove eax, edx
push eax
call fcn.00498db0
mov ecx, dword [esi + 0x58]
add esp, 0xc
add ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x40]
mov edi, dword [ecx]
sub edi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0x40], eax
test edi, edi
jne 0x49d518
test ecx, ecx
jne 0x49d518
mov edi, 0x4000
xor bl, bl
and bl, 1
lea eax, [esi + 0x12a]
push eax
cmovne ecx, edi
sub edx, dword [ebp - 0x40]
test bl, bl
push ecx
cmove edx, edi
push edx
call fcn.00498db0
push esi
call fcn.00497380
add esp, 0x10
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [edi]
mov edx, dword [esi]
test bl, 1
je 0x49d556
mov eax, dword [edx + 0x60]
mov ecx, dword [eax + 0x40]
mov eax, edx
test bl, 2
je 0x49d56c
cmp byte [esi + 0x11d], 0
je 0x49d56c
or ecx, 0x100
test bl, 4
je 0x49d580
cmp byte [esi + 0x11e], 0
je 0x49d580
or ecx, 0x200
test bl, 8
je 0x49d596
cmp dword [eax + 0x2e4], 0
mov edx, eax
je 0x49d596
or ecx, 0x400
test bl, 0x20
je 0x49d5aa
cmp byte [esi + 0x278], 0
je 0x49d5aa
or ecx, 0x1000
mov eax, dword [edx + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x49d626
cmp byte [esi + 0x279], 0
je 0x49d626
mov edx, ecx
or edx, 0x2000
test bl, 0x40
cmove edx, ecx
mov ecx, edx
mov dword [ebp - 0xc], ecx
test ebx, 0x100
je 0x49d5ec
cmp byte [esi + 0x27a], 0
mov dword [ebp - 0xc], ecx
je 0x49d5ec
or ecx, 0x8000
mov dword [ebp - 0xc], ecx
or ecx, 0x20000
test ebx, 0x400
cmove ecx, dword [ebp - 0xc]
mov edx, ecx
or edx, 0x40000
test ebx, 0x800
cmove edx, ecx
mov ecx, edx
test ebx, 0x1000
je 0x49d626
cmp byte [esi + 0x27e], 0
je 0x49d626
or ecx, 0x80000
mov dword [edi], ecx
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
cmp dword [esi + 0x164], 3
jne 0x49d645
mov dword [esi + 0xc], 0x9c
jmp case.0x49b676.33
mov ebx, dword [esi + 0x1b0]
test ebx, ebx
je 0x49d671
mov eax, dword [esi + 0x1a8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
cmp ebx, eax
jae 0x49d66f
mov ecx, dword [edi]
cmp dword [ebx + 0xc], ecx
je 0x49d66d
add ebx, 0x14
cmp ebx, eax
jb 0x49d661
cmp ebx, eax
jne 0x49d68a
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1ac]
jae 0x49d714
inc eax
mov dword [esi + 0x1a8], eax
mov eax, dword [edi]
cmp eax, 0xff
ja 0x49d714
movzx eax, al
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x168]
mov dword [ebx], eax
mov byte [ebx + 0x10], 1
mov eax, dword [edi]
cmp eax, dword [esi + 0x1b8]
jbe 0x49d6c6
movzx eax, al
mov dword [esi + 0x1b8], eax
push esi
call fcn.00499300
add esp, 4
test al, al
jne case.0x49b676.33
nop word [eax + eax]
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x49c02a
sub eax, 1
je 0x49c01c
sub eax, 0x5c
je 0x49c02a
push esi
call fcn.00499300
add esp, 4
test al, al
je 0x49d6e0
jmp case.0x49b676.33
mov dword [esi + 0xc], 0x8d
jmp case.0x49b676.33
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [edi + 8], eax
mov dword [edi + 4], edx
mov dword [edi], ecx
jmp case.0x49b676.33
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jle case.0x49b676.33
mov dword [edi], eax
jmp case.0x49b676.33
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jge case.0x49b676.33
mov dword [edi], eax
jmp case.0x49b676.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
test eax, eax
js case.0x49b676.33
movzx eax, ax
mov dword [esi + 0x158], eax
jmp case.0x49b676.33
mov ebx, dword [edi + 4]
mov edx, dword [edi]
mov esi, dword [ebp + 8]
lea eax, [ebx - 1]
cmp eax, 2
ja 0x49b89e
lea ecx, [ebx - 1]
mov eax, 1
shl eax, cl
test edx, edx
je 0x49d7b3
cmp edx, eax
je 0x49d7b3
cmp byte [esi + 0x249], 0
je case.0x49b676.33
mov dword [esi + 0xc], 0x86
jmp case.0x49b676.33
mov ecx, dword [esi + 0x164]
cmp ecx, 2
jne 0x49d7d3
not al
and al, byte [esi + 0x154]
or al, dl
mov byte [esi + 0x154], al
jmp case.0x49b676.33
cmp ecx, 3
jne 0x49d7fc
cmp ebx, ecx
jne 0x49d7fc
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne case.0x49b676.33
cmp edx, 4
setne al
mov byte [esi + 0x27b], al
jmp case.0x49b676.33
cmp byte [esi + 0x249], 0
jne 0x49b8ab
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x2e4]
test ecx, ecx
je 0x49da23
sub edx, dword [esi + 0x10]
mov ebx, dword [ecx]
inc edx
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x14], ecx
cmp ebx, edx
jb 0x49d83d
mov dword [esi + 0xc], 0x82
jmp case.0x49b676.33
test ecx, ecx
je 0x49d8f7
xor edx, edx
test ebx, ebx
je case.0x49b676.33
cmp ebx, 0x10
jb 0x49d8cf
lea eax, [ebx - 1]
lea eax, [ecx + eax*4]
cmp edi, eax
ja 0x49d86c
lea eax, [ebx - 1]
lea eax, [edi + eax*4]
cmp eax, ecx
jae 0x49d8cf
mov esi, dword [ebp - 0x14]
mov eax, ebx
and eax, 0xfffffff0
add ecx, 0x30
mov dword [ebp - 0x30], eax
sub esi, edi
mov eax, 2
mov dword [ebp - 0x40], esi
movd xmm1, eax
lea eax, [edi + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x30]
add edx, 0x10
lea eax, [eax + 0x40]
lea ecx, [ecx + 0x40]
psrad xmm0, xmm1
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [esi + eax - 0x40]
psrad xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x50]
psrad xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x40]
psrad xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
cmp edx, dword [ebp - 0x30]
jb 0x49d890
cmp edx, ebx
jae case.0x49b676.33
mov esi, dword [ebp - 0x14]
lea ecx, [edi + edx*4]
sub esi, edi
sub ebx, edx
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
sar eax, 2
mov dword [ecx - 4], eax
sub ebx, 1
jne 0x49d8e1
jmp case.0x49b676.33
test ebx, ebx
je case.0x49b676.33
mov ecx, ebx
xor eax, eax
rep stosd dword es:[edi], eax
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax + 0x2e4], 0
je 0x49da23
mov dword [edi], 0x11
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
cmp bl, 0xe0
jb 0x49d93e
push edi
push esi
call fcn.00498460
add esp, 8
jmp case.0x49b676.33
cmp bl, 0xc0
jb 0x49d952
push edi
push esi
call fcn.00498200
add esp, 8
jmp case.0x49b676.33
cmp bl, 0xb8
jb 0x49d9d1
sub edx, dword [esi + 0x10]
mov ecx, 0xb7
movzx eax, bl
inc edx
sub ax, cx
movzx eax, ax
mov ebx, eax
cmp ebx, edx
jb 0x49d97f
mov dword [esi + 0xc], 0x82
jmp case.0x49b676.33
inc dword [esi + 0x170]
xor ecx, ecx
cmp cx, ax
jae 0x49d9c8
nop dword [eax]
add dword [esi + 0x170], 2
lea edi, [edi + 4]
mov edx, dword [esi + 0x16c]
mov eax, 0x100
add edx, dword [esi + 0x170]
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 [edi - 4], eax
sub ebx, 1
jne 0x49d990
mov byte [esi + 0x180], 0
jmp case.0x49b676.33
cmp bl, 0xb0
jb case.0x49b676.40
sub edx, dword [esi + 0x10]
mov ecx, 0xaf
movzx eax, bl
inc edx
sub ax, cx
movzx ebx, ax
cmp ebx, edx
jb 0x49d9f5
mov dword [esi + 0xc], 0x82
jmp case.0x49b676.33
mov edx, 1
mov eax, edx
cmp ax, bx
ja case.0x49b676.33
mov eax, dword [esi + 0x170]
add eax, dword [esi + 0x16c]
movzx ecx, dx
inc edx
movzx eax, byte [eax + ecx]
mov dword [edi + ecx*4 - 4], eax
cmp dx, bx
jbe 0x49da01
jmp case.0x49b676.33
mov esi, dword [ebp + 8]
push esi
call fcn.00498c10
add esp, 4
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x49dacd
cmp eax, 0x80
jne 0x49dba2
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x49da5d
mov eax, dword [esi + 0x1a8]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
jmp 0x49da60
xor edx, edx
nop
cmp ecx, edx
jae 0x49db3e
cmp byte [ecx + 0x10], 0
je 0x49da79
mov al, byte [esi + 0x178]
cmp al, byte [ecx + 0xc]
je 0x49da7e
add ecx, 0x14
jmp 0x49da60
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jge 0x49db2b
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.00497a40
add esp, 0xc
cmp al, 1
je 0x49dba2
jmp 0x49dafa
cmp byte [esi + 0x180], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
je 0x49dae8
mov eax, dword [esi + 0x17c]
add dword [esi + 0x170], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0xf4240
ja 0x49db76
mov eax, dword [esi + 0x170]
cmp eax, dword [esi + 0x174]
jge 0x49db51
cmp byte [esi + 0x200], 0
jne 0x49db6d
lea edx, [esi + 0xc]
jmp 0x49b550
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov dword [eax], 0x81
mov eax, dword [eax]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 0xc], 0x86
pop esi
mov eax, dword [eax]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 0xc], 0x80
pop esi
mov eax, dword [eax]
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1bc], 0
jle 0x49db6d
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 0xc], 0x83
pop esi
mov eax, dword [eax]
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 0xc], 0x8b
pop esi
mov eax, dword [eax]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 0xc], 0x82
pop esi
mov eax, dword [eax]
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edx], 0x83
mov eax, dword [ebp - 8]
mov eax, dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret