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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x1e
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0xffff
movzx ebx, word [esi + 0x98]
mov edx, dword [esi + 0x184]
mov edi, ebx
lea ecx, [edi + edx]
add ecx, ecx
cmp ecx, eax
cmovb ecx, eax
movzx eax, word [esi + 0xbc]
cmp eax, ecx
jbe 0x1013cc04
cmp ecx, 0xffff
cmova ecx, dword [ebp - 0xc]
mov word [esi + 0xbc], cx
mov dword [esi + 0x288], 0
mov dword [esi + 0x290], 0
test bx, bx
je 0x1013cc3f
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 0x1013cc48
imul ecx, edx, 0x16
add ecx, 0x12c
mov dword [esi + 0x28c], ecx
mov eax, dword [esi]
imul eax, dword [eax + 0x10], 0x64
cmp ecx, eax
jbe 0x1013cc60
mov dword [esi + 0x28c], eax
mov ecx, eax
movzx eax, word [esi + 0xde]
mov edi, 0x1013a520
movzx ebx, word [esi + 0xdc]
mov edx, 0x10140150
cmp bx, ax
mov dword [esi + 0x294], ecx
mov dword [ebp - 8], eax
mov ecx, 0x1013a500
cmove edi, ecx
mov dword [ebp - 0x10], 0x1013a3f0
mov ecx, 0x10140120
mov dword [esi + 0x104], 0
cmove edx, ecx
mov eax, 0x10138da0
mov ecx, 0x1013a420
cmove ecx, dword [ebp - 0x10]
cmp bx, word [ebp - 8]
mov dword [ebp - 0x10], 0x10138d90
cmove eax, dword [ebp - 0x10]
mov dword [esi + 0x270], eax
mov dword [esi + 0x274], edi
mov dword [esi + 0x278], edx
mov dword [esi + 0x27c], ecx
mov eax, dword [esi + 0x188]
mov dword [esi + 0x194], eax
mov eax, dword [esi + 0x1ec]
mov dword [esi + 0x1f8], eax
mov eax, dword [esi + 0x168]
push esi
mov dword [esi + 0x164], eax
call fcn.10138b70
movzx eax, byte [esi + 0x13c]
add esp, 4
cmp eax, 7
ja case.default.0x1013cd13
jmp dword [eax*4 + 0x1013f49c]
mov dword [esi + 0x258], fcn.1013a5b0
jmp case.default.0x1013cd13
mov dword [esi + 0x258], 0x1013a6f0
jmp case.default.0x1013cd13
mov dword [esi + 0x258], 0x1013a780
jmp case.default.0x1013cd13
mov dword [esi + 0x258], 0x1013a570
jmp case.default.0x1013cd13
mov dword [esi + 0x258], 0x1013a730
jmp case.default.0x1013cd13
mov dword [esi + 0x258], fcn.1013a6b0
jmp case.default.0x1013cd13
mov dword [esi + 0x258], 0x1013a5e0
jmp case.default.0x1013cd13
mov dword [esi + 0x258], 0x1013a640
mov word [esi + 0x284], 0
mov eax, dword [esi + 0x16c]
lea edx, [esi + 0xc]
mov edi, dword [esi + 0x170]
add eax, edi
mov dword [ebp - 0x10], eax
mov bl, byte [eax]
movzx eax, bl
mov byte [esi + 0x178], bl
mov dword [ebp - 8], eax
movsx ecx, byte [eax + 0x101aec40]
mov dword [esi + 0x17c], ecx
test ecx, ecx
jns 0x1013cddd
lea eax, [edi + 1]
cmp eax, dword [esi + 0x174]
jge 0x1013f471
mov eax, dword [ebp - 0x10]
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 0x1013f471
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0x10]
mov bh, byte [eax + 0x101aeb40]
movzx eax, bh
shr eax, 4
sub ecx, eax
mov dword [esi + 0x1c], ecx
jns 0x1013ce51
cmp byte [esi + 0x251], 0
jne 0x1013f432
xor edx, edx
test bh, 0xf0
jbe 0x1013ce48
nop dword [eax]
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 + 0x101aeb40]
shr al, 4
movzx eax, al
cmp dx, ax
jb 0x1013ce20
mov dword [esi + 0x1c], 0
xor ecx, ecx
cmp bl, 0x91
jne 0x1013ce6b
mov eax, dword [esi]
mov eax, dword [eax + 0x2e0]
test eax, eax
je 0x1013ce66
mov edx, dword [eax]
jmp 0x1013ce78
mov edx, dword [esi + 0x20]
jmp 0x1013ce7d
movzx eax, bl
movzx edx, byte [eax + 0x101aeb40]
and edx, 0xf
add edx, ecx
mov dword [esi + 0x20], edx
cmp edx, dword [esi + 0x14]
jg 0x1013f468
mov edx, dword [esi + 0x18]
movzx eax, bl
mov byte [esi + 0x180], 1
mov dword [esi + 0xc], 0
lea edi, [edx + ecx*4]
cmp eax, 0x92
ja case.default.0x1013cea8
jmp dword [eax*4 + 0x1013f4bc]
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 0x1013cee8
mov word [esi + 0x12a], cx
mov word [esi + 0x12c], ax
mov word [esi + 0x126], cx
mov word [esi + 0x128], ax
test bl, 2
jne 0x1013d00f
mov word [esi + 0x12e], cx
push esi
mov word [esi + 0x130], ax
call fcn.10138b70
jmp 0x1013f328
movzx eax, word [edi]
lea ebx, [esi + 0x12a]
push ebx
push eax
movzx eax, word [edi + 4]
push eax
push esi
call fcn.1013a200
add esp, 0x10
test al, al
jne case.0x1013cea8.33
mov eax, dword [ebx]
push esi
mov dword [esi + 0x126], eax
call fcn.10138b70
jmp 0x1013f328
lea eax, [esi + 0x12e]
push eax
movzx eax, word [edi]
push eax
movzx eax, word [edi + 4]
push eax
push esi
call fcn.1013a200
add esp, 0x10
test al, al
jne case.0x1013cea8.33
push esi
call fcn.10138b70
jmp 0x1013f328
movsx ecx, word [edi]
movsx eax, word [edi + 4]
test ecx, ecx
jne 0x1013cf79
test eax, eax
je 0x1013cfb1
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], ecx
call fcn.1012ba90
mov eax, dword [ebp - 0x40]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12a], ax
mov eax, dword [ebp - 0x3c]
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.10138b70
jmp 0x1013f328
movsx ecx, word [edi]
movsx eax, word [edi + 4]
test ecx, ecx
jne 0x1013cfd7
test eax, eax
je 0x1013d00f
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], ecx
call fcn.1012ba90
mov eax, dword [ebp - 0x48]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12e], ax
mov eax, dword [ebp - 0x44]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x130], ax
push esi
call fcn.10138b70
jmp 0x1013f328
movsx eax, word [esi + 0x12a]
mov dword [edi], eax
movsx eax, word [esi + 0x12c]
mov dword [edi + 4], eax
jmp case.0x1013cea8.33
movsx eax, word [esi + 0x12e]
mov dword [edi], eax
movsx eax, word [esi + 0x130]
mov dword [edi + 4], eax
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x12a]
push esi
mov dword [esi + 0x12e], eax
call fcn.10138b70
jmp 0x1013f328
push edi
push esi
call fcn.10139470
add esp, 8
jmp case.0x1013cea8.33
mov ax, word [edi]
mov word [esi + 0x120], ax
jmp case.0x1013cea8.33
mov ax, word [edi]
mov word [esi + 0x122], ax
jmp case.0x1013cea8.33
mov ax, word [edi]
mov word [esi + 0x124], ax
jmp case.0x1013cea8.33
mov eax, dword [edi]
sub eax, 0
je 0x1013d0dc
sub eax, 1
je 0x1013d0c2
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1013d0f4
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.0x1013cea8.33
mov eax, dword [edi]
sub eax, 0
je 0x1013d149
sub eax, 1
je 0x1013d12f
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1013d161
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.0x1013cea8.33
mov eax, dword [edi]
sub eax, 0
je 0x1013d1b6
sub eax, 1
je 0x1013d19c
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1013d1ce
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.0x1013cea8.33
mov eax, dword [edi]
sub eax, 0
je 0x1013d226
sub eax, 1
je 0x1013d20c
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1013d23e
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.0x1013cea8.33
mov eax, dword [edi]
test eax, eax
jns 0x1013d2a3
mov dword [esi + 0xc], 0x84
jmp case.0x1013cea8.33
cmp eax, 0xffff
cmovg eax, dword [ebp - 0xc]
mov dword [esi + 0x134], eax
jmp case.0x1013cea8.33
mov dword [esi + 0x13c], 1
mov dword [esi + 0x258], 0x1013a6f0
jmp case.0x1013cea8.33
mov dword [esi + 0x13c], 0
mov dword [esi + 0x258], 0x1013a730
jmp case.0x1013cea8.33
mov eax, dword [edi]
mov dword [esi + 0x138], eax
jmp case.0x1013cea8.33
mov edi, 1
nop dword [eax + eax]
push esi
call fcn.1013a9b0
add esp, 4
cmp al, 1
je case.0x1013cea8.33
movzx eax, byte [esi + 0x178]
sub eax, 0x58
je 0x1013d325
sub eax, 1
jne 0x1013d326
dec edi
jmp 0x1013d326
inc edi
test edi, edi
jne 0x1013d300
jmp case.0x1013cea8.33
mov edx, dword [edi]
test edx, edx
jne 0x1013d33d
test ecx, ecx
je 0x1013d297
add edx, dword [esi + 0x170]
mov dword [esi + 0x170], edx
js 0x1013d297
mov ecx, dword [esi + 0x1c0]
test ecx, ecx
jle 0x1013d36e
mov eax, dword [esi + 0x1c8]
add ecx, ecx
mov eax, dword [eax + ecx*8 - 4]
cmp edx, dword [eax + 8]
jg 0x1013d297
mov byte [esi + 0x180], 0
cmp dword [edi], 0
jge case.0x1013cea8.33
inc dword [esi + 0x290]
mov eax, dword [esi + 0x290]
cmp eax, dword [esi + 0x294]
jbe case.0x1013cea8.33
mov dword [esi + 0xc], 0x8b
jmp case.0x1013cea8.33
mov eax, dword [edi]
mov dword [esi + 0x144], eax
jmp case.0x1013cea8.33
mov eax, dword [edi]
mov dword [esi + 0x148], eax
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x108]
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
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 - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14c], eax
jmp case.0x1013cea8.33
mov eax, dword [edi]
mov dword [edi + 4], eax
jmp case.0x1013cea8.33
mov dword [esi + 0x20], 0
jmp case.0x1013cea8.33
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x10]
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [edi]
test eax, eax
jle 0x1013d440
cmp eax, ecx
jg 0x1013d440
sub ecx, eax
mov eax, dword [edx + ecx*4]
mov dword [edi], eax
jmp case.0x1013cea8.33
cmp byte [esi + 0x251], 0
je 0x1013d450
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [edi]
test eax, eax
jle 0x1013d0a9
cmp eax, ecx
jg 0x1013d0a9
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 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.0x1013cea8.33
movzx eax, word [edi]
movzx ebx, word [edi + 4]
mov dword [ebp - 0x10], eax
cmp ax, word [esi + 0x50]
jae 0x1013d0a9
cmp bx, word [esi + 0x2c]
jae 0x1013d0a9
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 + 0x25c]
push esi
call eax
cdq
sub eax, edx
mov edi, eax
lea eax, [esi + 0x48]
sar edi, 1
push edi
push dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x268]
push esi
call eax
neg edi
lea eax, [esi + 0x24]
push edi
push ebx
push eax
mov eax, dword [esi + 0x268]
push esi
call eax
add esp, 0x2c
jmp case.0x1013cea8.33
movzx eax, word [edi]
cmp ax, word [esi + 0x2c]
jb 0x1013d52e
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.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.0x1013cea8.33
mov eax, dword [esi + 0x1b8]
mov edx, dword [edi + 4]
inc eax
mov dword [ebp - 0x10], eax
cmp edx, eax
jae 0x1013d0b6
mov ebx, dword [esi + 0x1a8]
test ebx, ebx
je 0x1013d58a
lea eax, [edx + edx*2]
lea ecx, [ebx + eax*8]
jmp 0x1013d58c
xor ecx, ecx
mov eax, dword [esi + 0x1a0]
cmp dword [ebp - 0x10], eax
jne 0x1013d59c
cmp dword [ecx + 0xc], edx
je 0x1013d5c4
mov ecx, ebx
test ecx, ecx
je 0x1013d0b6
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x1013d5be
cmp dword [ecx + 0xc], edx
je 0x1013d5bc
add ecx, 0x18
cmp ecx, eax
jb 0x1013d5b0
cmp ecx, eax
je 0x1013d0b6
cmp byte [ecx + 0x10], 0
je 0x1013d0b6
mov edx, dword [esi + 0x1c0]
cmp edx, dword [esi + 0x1c4]
jl 0x1013d5e8
mov dword [esi + 0xc], 0x82
jmp case.0x1013cea8.33
cmp dword [edi], 0
jle case.0x1013cea8.33
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c8]
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 + 0x1c0]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.101390d0
mov byte [esi + 0x180], 0
add esp, 0xc
mov eax, dword [edi]
add dword [esi + 0x288], eax
mov eax, dword [esi + 0x288]
cmp eax, dword [esi + 0x28c]
jbe case.0x1013cea8.33
mov dword [esi + 0xc], 0x8b
jmp case.0x1013cea8.33
mov ebx, dword [esi + 0x1b8]
mov edx, dword [edi]
inc ebx
cmp edx, ebx
jae 0x1013d0b6
mov edi, dword [esi + 0x1a8]
test edi, edi
je 0x1013d0b6
lea eax, [edx + edx*2]
lea ecx, [edi + eax*8]
mov eax, dword [esi + 0x1a0]
cmp ebx, eax
jne 0x1013d689
cmp dword [ecx + 0xc], edx
je 0x1013d6a9
mov ecx, edi
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x1013d6a3
cmp dword [ecx + 0xc], edx
je 0x1013d6a1
add ecx, 0x18
cmp ecx, eax
jb 0x1013d695
cmp ecx, eax
je 0x1013d0b6
cmp byte [ecx + 0x10], 0
je 0x1013d0b6
mov edx, dword [esi + 0x1c0]
cmp edx, dword [esi + 0x1c4]
jl 0x1013d6cd
mov dword [esi + 0xc], 0x82
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c8]
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 + 0x1c0]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.101390d0
add esp, 0xc
mov byte [esi + 0x180], 0
jmp case.0x1013cea8.33
cmp dword [esi + 0x164], 3
jne 0x1013d727
mov dword [esi + 0xc], 0x9c
jmp case.0x1013cea8.33
mov ebx, dword [esi + 0x1a8]
test ebx, ebx
je 0x1013d73f
mov eax, dword [esi + 0x1a0]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
jmp 0x1013d741
xor eax, eax
mov ecx, dword [edi]
cmp ebx, eax
jae 0x1013d755
cmp dword [ebx + 0xc], ecx
je 0x1013d753
add ebx, 0x18
cmp ebx, eax
jb 0x1013d747
cmp ebx, eax
jne 0x1013d76c
mov eax, dword [esi + 0x1a0]
cmp eax, dword [esi + 0x1a4]
jae 0x1013d774
inc eax
mov dword [esi + 0x1a0], eax
cmp ecx, 0xffff
jbe 0x1013d780
mov dword [esi + 0xc], 0x8c
jmp case.0x1013cea8.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 word [ebx + 0x10], 1
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], 0
cmp ecx, dword [esi + 0x1b8]
jbe 0x1013d7b3
mov dword [esi + 0x1b8], edx
push esi
call fcn.1013a9b0
add esp, 4
test al, al
jne case.0x1013cea8.33
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x1013d7fa
sub eax, 1
je 0x1013d7ec
sub eax, 0x5c
je 0x1013d7fa
push esi
call fcn.1013a9b0
add esp, 4
test al, al
je 0x1013d7c4
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x170]
mov dword [ebx + 8], eax
jmp case.0x1013cea8.33
mov dword [esi + 0xc], 0x89
jmp case.0x1013cea8.33
mov ecx, dword [esi + 0x1c0]
test ecx, ecx
jg 0x1013d81c
mov dword [esi + 0xc], 0x88
jmp case.0x1013cea8.33
dec ecx
mov dword [esi + 0x1c0], ecx
shl ecx, 4
add ecx, dword [esi + 0x1c8]
dec dword [ecx + 8]
mov byte [esi + 0x180], 0
cmp dword [ecx + 8], 0
jle 0x1013d853
inc dword [esi + 0x1c0]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 0x170], eax
jmp case.0x1013cea8.33
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.101390d0
add esp, 0xc
jmp case.0x1013cea8.33
movzx edi, word [edi]
mov dword [ebp - 0x10], edi
cmp di, word [esi + 0x2c]
jb 0x1013d88b
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
test bl, 1
je 0x1013d908
mov eax, dword [esi + 0x34]
movzx ecx, di
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x25c]
push esi
call eax
mov edi, eax
add esp, 0xc
mov eax, dword [esi + 0x258]
cmp eax, 0x1013a730
jne 0x1013d8f6
mov ecx, dword [esi + 0x118]
test edi, edi
js 0x1013d8dc
add ecx, edi
mov edx, 0x20
and ecx, 0xffffffc0
cmp ecx, 0xffffffe0
lea eax, [ecx + 0x20]
cmovge edx, eax
sub edx, edi
mov edi, dword [ebp - 0x10]
jmp 0x1013d90a
sub ecx, edi
mov eax, 0xffffffe0
and ecx, 0xffffffc0
mov edx, eax
sub edx, ecx
test edx, edx
cmovg edx, eax
sub edx, edi
mov edi, dword [ebp - 0x10]
jmp 0x1013d90a
push 3
push edi
push esi
call eax
mov edx, eax
add esp, 0xc
sub edx, edi
mov edi, dword [ebp - 0x10]
jmp 0x1013d90a
xor edx, edx
push edx
push edi
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x268]
push esi
call eax
add esp, 0x10
mov word [esi + 0x120], di
mov word [esi + 0x122], di
jmp case.0x1013cea8.33
push esi
call fcn.101396b0
jmp 0x1013f328
push esi
call fcn.10139eb0
jmp 0x1013f328
push edi
push esi
call fcn.10139d20
add esp, 8
jmp case.0x1013cea8.33
cmp dword [edi], 2
jb 0x1013d972
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.10138cb0
add esp, 0x14
test al, al
jne case.0x1013cea8.33
movzx eax, word [esi + 0x160]
test ax, ax
jne 0x1013d9a5
movzx ebx, word [esi + 0x74]
jmp 0x1013d9ca
cmp eax, 1
jne 0x1013d9c8
movzx eax, word [esi + 0x76]
test ax, ax
jle 0x1013d9c8
movsx ecx, ax
mov eax, dword [esi + 0x88]
mov ax, word [eax + ecx*2 - 2]
inc ax
movzx ebx, ax
jmp 0x1013d9ca
xor ebx, ebx
xor eax, eax
xor edi, edi
cmp ax, bx
jae case.0x1013cea8.33
xor edx, edx
nop dword [eax]
mov ecx, dword [esi + 0x7c]
cmp dword [ebp - 0x5c], ecx
jne 0x1013d9ee
cmp word [ebp - 4], di
je 0x1013da4c
cmp word [esi + 0x12e], 0
je 0x1013da15
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1013da0c
cmp byte [esi + 0x283], 0
jne 0x1013da12
mov eax, dword [ebp - 0x1c]
add dword [edx + ecx], eax
mov ecx, dword [esi + 0x7c]
cmp word [esi + 0x130], 0
je 0x1013da4c
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1013da45
cmp byte [esi + 0x283], 0
je 0x1013da45
cmp byte [esi + 0x284], 0
je 0x1013da45
cmp byte [esi + 0x285], 0
jne 0x1013da4c
mov eax, dword [ebp - 0x20]
add dword [edx + ecx + 4], eax
inc edi
add edx, 8
cmp di, bx
jb 0x1013d9e0
jmp case.0x1013cea8.33
push edi
push esi
call fcn.10139fe0
add esp, 8
jmp case.0x1013cea8.33
push esi
call fcn.10139150
jmp 0x1013f328
movzx ebx, word [edi]
mov ecx, ebx
cmp bx, word [esi + 0x50]
jae 0x1013d0a9
movzx eax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x1013d0a9
cmp word [esi + 0x15e], 0
mov dword [ebp - 8], ecx
lea ecx, [esi + 0x48]
mov dword [ebp - 0x10], ecx
jne 0x1013daf4
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]
mov eax, dword [esi + 0x26c]
push ebx
push dword [ebp - 0x10]
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 - 8]
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 + 0x25c]
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 + 0x268]
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.0x1013cea8.33
mov word [esi + 0x120], bx
jmp case.0x1013cea8.33
mov edi, dword [esi + 0x134]
cmp dword [esi + 0x10], edi
jl 0x1013dc16
mov ax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x1013dc16
mov eax, ecx
test edi, edi
jle 0x1013dc28
nop
lea eax, [ecx - 1]
mov dword [esi + 0x1c], eax
movzx edi, word [edx + eax*4]
cmp di, word [esi + 0x50]
jb 0x1013dbaf
cmp byte [esi + 0x251], 0
jne 0x1013d0b6
jmp 0x1013dbf3
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 + 0x25c]
push esi
call eax
neg eax
push eax
push edi
lea eax, [esi + 0x48]
push eax
mov eax, dword [esi + 0x268]
push esi
call eax
mov eax, dword [esi + 0x1c]
add esp, 0x1c
mov edx, dword [esi + 0x18]
dec dword [esi + 0x134]
mov ecx, eax
cmp dword [esi + 0x134], 0
jg 0x1013db90
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x1013cea8.33
cmp byte [esi + 0x251], 0
mov eax, ecx
je 0x1013dc28
mov dword [esi + 0xc], 0x86
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x1013cea8.33
mov dword [esi + 0x13c], 2
mov dword [esi + 0x258], fcn.1013a6b0
jmp case.0x1013cea8.33
movzx ebx, word [edi]
mov ecx, dword [edi + 4]
movzx eax, bx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
cmp bx, word [esi + 0x2c]
jae 0x1013dd7f
cmp ecx, dword [esi + 0x184]
jae 0x1013dd7f
mov eax, dword [esi + 0x274]
cmp eax, 0x1013a500
jne 0x1013dc90
mov eax, dword [esi + 0x188]
mov edi, dword [eax + ecx*4]
jmp 0x1013dc99
push ecx
push esi
call eax
add esp, 8
mov edi, eax
cmp word [esi + 0x15c], 0
mov eax, dword [ebp - 8]
movzx ecx, ax
jne 0x1013dd00
movsx eax, word [esi + 0x12e]
push eax
push edi
call fcn.1013c260
mov ecx, dword [esi + 0x30]
mov ebx, dword [ebp - 8]
movzx edx, bx
mov dword [ecx + edx*8], eax
movsx eax, word [esi + 0x130]
push eax
push edi
call fcn.1013c260
mov ecx, dword [esi + 0x30]
add esp, 0x10
movzx edx, bx
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + edx*8]
mov edx, dword [eax + edx*8 + 4]
mov eax, dword [esi + 0x34]
movzx esi, bx
mov dword [eax + esi*8], ecx
mov esi, ebx
mov ebx, dword [ebp - 0x10]
movzx ecx, si
mov esi, dword [ebp + 8]
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [esi + 0x34]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x25c]
push esi
call eax
add esp, 0xc
mov ecx, eax
test byte [esi + 0x178], 1
mov dword [ebp - 8], ecx
je 0x1013dd58
mov eax, edi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esi + 0x144]
mov eax, dword [esi + 0x258]
cmovg edi, ecx
push 3
push edi
push esi
cmp eax, fcn.1013a6b0
jne 0x1013dd4e
call fcn.1013a6b0
jmp 0x1013dd50
call eax
mov ecx, dword [ebp - 8]
mov edi, eax
add esp, 0xc
sub edi, ecx
lea eax, [esi + 0x24]
push edi
push ebx
push eax
mov eax, dword [esi + 0x268]
push esi
call eax
add esp, 0x10
mov word [esi + 0x120], bx
mov word [esi + 0x122], bx
jmp case.0x1013cea8.33
cmp byte [esi + 0x251], 0
je 0x1013dd8f
mov dword [esi + 0xc], 0x86
mov word [esi + 0x120], bx
mov word [esi + 0x122], bx
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x16c]
mov ecx, dword [esi + 0x170]
movzx ecx, byte [ecx + eax + 1]
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
movzx edx, cx
inc eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], edx
cmp edx, eax
jb 0x1013ddd3
mov dword [esi + 0xc], 0x82
jmp case.0x1013cea8.33
mov ebx, 1
mov eax, ebx
cmp ax, cx
ja 0x1013de04
nop
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 - 0x10]
jbe 0x1013dde0
mov edx, dword [ebp - 0x24]
add dword [esi + 0x20], edx
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x16c]
mov ecx, dword [esi + 0x170]
mov dl, byte [eax + ecx + 1]
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
movzx ebx, dl
inc eax
mov dword [ebp - 0x24], ebx
cmp ebx, eax
jb 0x1013de39
mov dword [esi + 0xc], 0x82
jmp case.0x1013cea8.33
lea eax, [ecx + 2]
mov dword [esi + 0x170], eax
test dl, dl
je 0x1013de8b
nop word [eax + 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 0x1013de50
mov ebx, dword [ebp - 0x24]
add dword [esi + 0x20], ebx
mov byte [esi + 0x180], 0
jmp case.0x1013cea8.33
mov eax, dword [edi]
movzx ecx, word [esi + 0x1e8]
mov dword [ebp - 0x24], eax
cmp eax, ecx
jb 0x1013dec3
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
cmp dword [esi + 0x164], 3
jne 0x1013df31
mov eax, dword [esi + 0x1ec]
cmp eax, dword [esi + 0x1f8]
jne 0x1013df31
movzx eax, word [esi + 0x1f0]
lea ebx, [esi + 0x1f4]
push ecx
push ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
push dword [esi + 8]
call fcn.101400d0
mov ecx, dword [ebp - 8]
add esp, 0x14
mov dword [esi + 0xc], eax
mov word [esi + 0x1f0], cx
test eax, eax
jne case.0x1013cea8.33
movzx eax, cx
shl eax, 2
push eax
push dword [esi + 0x1ec]
push dword [ebx]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx]
add esp, 0xc
mov dword [esi + 0x1ec], eax
mov ecx, dword [esi + 0x1ec]
mov edx, dword [ebp - 0x24]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
jmp case.0x1013cea8.33
movzx eax, word [esi + 0x1e8]
mov ecx, dword [edi]
cmp ecx, eax
jb 0x1013df72
cmp byte [esi + 0x251], 0
je 0x1013df67
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
mov dword [edi], 0
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x1ec]
mov eax, dword [eax + ecx*4]
mov dword [edi], eax
jmp case.0x1013cea8.33
mov ebx, dword [edi]
cmp ebx, dword [esi + 0x184]
jb 0x1013dfa5
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x278]
mov edi, dword [edi + 4]
cmp eax, 0x10140120
jne 0x1013dfd6
push esi
call fcn.1013a340
add esp, 4
cmp dword [esi + 0xc], 0
jne case.0x1013cea8.33
mov eax, dword [esi + 0x188]
mov dword [eax + ebx*4], edi
jmp case.0x1013cea8.33
push edi
push ebx
push esi
call eax
add esp, 0xc
jmp case.0x1013cea8.33
mov ecx, dword [edi]
cmp ecx, dword [esi + 0x184]
jb 0x1013e006
cmp byte [esi + 0x251], 0
je 0x1013df67
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x274]
cmp eax, 0x1013a500
jne 0x1013e023
mov eax, dword [esi + 0x188]
mov eax, dword [eax + ecx*4]
mov dword [edi], eax
jmp case.0x1013cea8.33
push ecx
push esi
call eax
add esp, 8
mov dword [edi], eax
jmp case.0x1013cea8.33
movzx eax, word [esi + 0x74]
mov ecx, dword [edi]
cmp ecx, eax
jb 0x1013e054
cmp byte [esi + 0x251], 0
je 0x1013e04b
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [edi], eax
jmp case.0x1013cea8.33
test bl, 1
je 0x1013e076
mov eax, dword [esi + 0x78]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0xc
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x7c]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x25c]
push esi
call eax
add esp, 0xc
mov dword [edi], eax
jmp case.0x1013cea8.33
movzx eax, word [edi]
mov dword [ebp - 0x24], eax
cmp ax, word [esi + 0x74]
jb 0x1013e0b8
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.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 + 0x25c]
push esi
call eax
mov ecx, dword [edi + 4]
sub ecx, eax
lea eax, [esi + 0x6c]
push ecx
push dword [ebp - 0x24]
push eax
mov eax, dword [esi + 0x268]
push esi
call eax
add esp, 0x1c
cmp word [esi + 0x160], 0
jne case.0x1013cea8.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.0x1013cea8.33
movzx eax, word [edi]
movzx edx, word [edi + 4]
cmp ax, word [esi + 0x2c]
jae 0x1013d440
cmp dx, word [esi + 0x50]
jae 0x1013d440
test bl, 1
je 0x1013e161
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 + 0x25c]
push esi
call eax
add esp, 0xc
mov dword [edi], eax
jmp case.0x1013cea8.33
cmp word [esi + 0x15c], 0
je 0x1013e26d
cmp word [esi + 0x15e], 0
je 0x1013e26d
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 - 8], ecx
cmp eax, dword [esi + 0xe4]
jne 0x1013e1ef
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 + 0x260]
push esi
call eax
mov dword [ebp - 0x24], eax
add esp, 0xc
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
jmp case.0x1013cea8.33
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
sub eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0xe4]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
sub eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
mov eax, dword [esi + 0x260]
push dword [ebp - 0x30]
push esi
call eax
add esp, 0xc
mov dword [edi], eax
jmp case.0x1013cea8.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 + 0x260]
push esi
call eax
add esp, 0xc
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x270]
cmp eax, 0x10138d90
jne 0x1013e2b9
movzx eax, word [esi + 0x100]
mov dword [edi], eax
jmp case.0x1013cea8.33
push esi
call eax
add esp, 4
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x23
jne 0x1013e2f9
mov eax, dword [esi + 0x270]
cmp eax, 0x10138d90
jne 0x1013e2ec
movzx eax, word [esi + 0x100]
mov dword [edi], eax
jmp case.0x1013cea8.33
push esi
call eax
add esp, 4
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [esi + 0xd8]
mov dword [edi], eax
jmp case.0x1013cea8.33
mov byte [esi + 0x140], 1
jmp case.0x1013cea8.33
mov byte [esi + 0x140], 0
jmp case.0x1013cea8.33
mov dword [esi + 0xc], 0x87
jmp case.0x1013cea8.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setl cl
mov dword [edi], ecx
jmp case.0x1013cea8.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setle cl
mov dword [edi], ecx
jmp case.0x1013cea8.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setg cl
mov dword [edi], ecx
jmp case.0x1013cea8.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setge cl
mov dword [edi], ecx
jmp case.0x1013cea8.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
sete cl
mov dword [edi], ecx
jmp case.0x1013cea8.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setne cl
mov dword [edi], ecx
jmp case.0x1013cea8.33
mov ecx, dword [esi + 0x258]
mov eax, dword [edi]
cmp ecx, fcn.1013a6b0
jne 0x1013e3ef
mov edx, dword [esi + 0x118]
test eax, eax
js 0x1013e3cc
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.0x1013cea8.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.0x1013cea8.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.0x1013cea8.33
mov ecx, dword [esi + 0x258]
mov eax, dword [edi]
cmp ecx, fcn.1013a6b0
jne 0x1013e466
mov ecx, dword [esi + 0x118]
test eax, eax
js 0x1013e448
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.0x1013cea8.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.0x1013cea8.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.0x1013cea8.33
cmp dword [edi], 0
jne case.0x1013cea8.33
mov edi, 1
xor bl, bl
push esi
call fcn.1013a9b0
add esp, 4
cmp al, 1
je case.0x1013cea8.33
movzx eax, byte [esi + 0x178]
sub eax, 0x1b
je 0x1013e4c2
sub eax, 0x3d
je 0x1013e4bf
sub eax, 1
jne 0x1013e4c8
sub edi, 1
jmp 0x1013e4c5
inc edi
jmp 0x1013e4c8
cmp edi, 1
sete bl
test bl, bl
je 0x1013e493
jmp case.0x1013cea8.33
cmp dword [edi], 0
je 0x1013d450
cmp dword [edi + 4], 0
je 0x1013d450
mov eax, 1
mov dword [edi], eax
jmp case.0x1013cea8.33
cmp dword [edi], 0
jne 0x1013e504
cmp dword [edi + 4], 0
jne 0x1013e504
xor eax, eax
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, 1
mov dword [edi], eax
jmp case.0x1013cea8.33
xor eax, eax
cmp dword [edi], eax
sete al
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x270]
cmp eax, 0x10138d90
jne 0x1013e534
movzx eax, word [esi + 0x100]
jmp 0x1013e53d
push esi
call eax
mov ecx, dword [esi + 0x1c]
add esp, 4
mov edx, dword [edi]
mov ebx, 1
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], edx
cmp edx, ebx
jb 0x1013e657
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x1013e63e
mov eax, dword [esi + 0x18]
add ecx, 0xfffffffe
mov dword [esi + 0x1c], ecx
movzx edi, word [eax + ecx*4 + 4]
mov edx, dword [eax + ecx*4]
cmp di, word [esi + 0x2c]
jae 0x1013e61c
movzx eax, byte [esi + 0x178]
mov ecx, edx
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x1013e597
sub eax, 1
jne 0x1013e59a
add ecx, 0x20
jmp 0x1013e59a
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 8], eax
jne 0x1013e617
and edx, 0xf
sub edx, 8
js 0x1013e5b1
inc edx
movzx eax, word [esi + 0x152]
mov ecx, 6
sub ecx, eax
mov eax, dword [esi]
shl edx, cl
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1013e605
cmp byte [esi + 0x283], 0
je 0x1013e605
cmp byte [esi + 0x284], 0
je 0x1013e5e7
cmp byte [esi + 0x285], 0
jne 0x1013e617
cmp byte [esi + 0x250], 0
je 0x1013e5fa
cmp word [esi + 0x130], 0
jne 0x1013e605
mov eax, dword [esi + 0x3c]
mov ecx, edi
test byte [ecx + eax], 0x10
je 0x1013e617
push edx
push edi
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x268]
push esi
call eax
add esp, 0x10
mov ecx, dword [esi + 0x1c]
jmp 0x1013e62c
cmp byte [esi + 0x251], 0
je 0x1013e62c
mov dword [esi + 0xc], 0x86
inc ebx
cmp ebx, dword [ebp - 0x24]
jbe 0x1013e552
mov dword [esi + 0x20], ecx
jmp case.0x1013cea8.33
cmp byte [esi + 0x251], 0
je 0x1013e64e
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
xor ecx, ecx
mov dword [esi + 0x20], ecx
jmp case.0x1013cea8.33
mov ax, word [edi]
mov word [esi + 0x150], ax
jmp case.0x1013cea8.33
mov eax, dword [edi]
cmp eax, 6
jbe 0x1013e681
mov dword [esi + 0xc], 0x84
jmp case.0x1013cea8.33
mov word [esi + 0x152], ax
jmp case.0x1013cea8.33
mov eax, dword [edi + 4]
add dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [edi + 4]
sub dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [edi + 4]
test eax, eax
jne 0x1013e6b4
mov dword [esi + 0xc], 0x85
jmp case.0x1013cea8.33
push eax
push 0x40
push dword [edi]
call fcn.10128f20
add esp, 0xc
mov dword [edi], eax
jmp case.0x1013cea8.33
push 0x40
push dword [edi + 4]
push dword [edi]
call fcn.10128e40
add esp, 0xc
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [edi]
test eax, eax
jns case.0x1013cea8.33
neg eax
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [edi]
neg eax
mov dword [edi], eax
jmp case.0x1013cea8.33
and dword [edi], 0xffffffc0
jmp case.0x1013cea8.33
mov eax, dword [edi]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [edi], eax
jmp case.0x1013cea8.33
mov ecx, dword [esi + 0x258]
and eax, 3
mov edx, dword [edi]
cmp ecx, fcn.1013a6b0
jne 0x1013e760
mov ecx, dword [esi + eax*4 + 0x10c]
test edx, edx
js 0x1013e748
lea eax, [ecx + 0x10]
mov ecx, 0
add eax, edx
and eax, 0xffffffe0
cmovge ecx, eax
mov dword [edi], ecx
jmp case.0x1013cea8.33
sub ecx, edx
xor eax, eax
add ecx, 0x10
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, eax
mov dword [edi], ecx
jmp case.0x1013cea8.33
push eax
push edx
push esi
call ecx
mov ecx, eax
add esp, 0xc
mov dword [edi], ecx
jmp case.0x1013cea8.33
mov ecx, dword [edi]
and eax, 3
mov eax, dword [esi + eax*4 + 0x10c]
test ecx, ecx
js 0x1013e791
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [edi], ecx
jmp case.0x1013cea8.33
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg ecx, eax
mov dword [edi], ecx
jmp case.0x1013cea8.33
mov ebx, dword [edi]
cmp ebx, dword [esi + 0x184]
jb 0x1013e7c4
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x108]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x34], eax
mov ecx, dword [esi + 0x188]
mov eax, dword [ebp - 0x34]
mov dword [ecx + ebx*4], eax
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x270]
cmp eax, 0x10138d90
jne 0x1013e81d
movzx eax, word [esi + 0x100]
jmp 0x1013e826
push esi
call eax
mov ecx, dword [esi + 0x1c]
add esp, 4
mov edx, dword [edi]
mov ebx, 1
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], edx
cmp edx, ebx
jb 0x1013e657
nop dword [eax + eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x1013e63e
mov eax, dword [esi + 0x18]
add ecx, 0xfffffffe
mov dword [esi + 0x1c], ecx
movzx edi, word [eax + ecx*4 + 4]
mov edx, dword [eax + ecx*4]
cmp di, word [esi + 0x2c]
jae 0x1013e90a
movzx eax, byte [esi + 0x178]
mov ecx, edx
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x1013e885
sub eax, 1
jne 0x1013e888
add ecx, 0x20
jmp 0x1013e888
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 8], eax
jne 0x1013e905
and edx, 0xf
sub edx, 8
js 0x1013e89f
inc edx
movzx eax, word [esi + 0x152]
mov ecx, 6
sub ecx, eax
mov eax, dword [esi]
shl edx, cl
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1013e8f3
cmp byte [esi + 0x283], 0
je 0x1013e8f3
cmp byte [esi + 0x284], 0
je 0x1013e8d5
cmp byte [esi + 0x285], 0
jne 0x1013e905
cmp byte [esi + 0x250], 0
je 0x1013e8e8
cmp word [esi + 0x130], 0
jne 0x1013e8f3
mov eax, dword [esi + 0x3c]
mov ecx, edi
test byte [ecx + eax], 0x10
je 0x1013e905
push edx
push edi
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x268]
push esi
call eax
add esp, 0x10
mov ecx, dword [esi + 0x1c]
jmp 0x1013e91a
cmp byte [esi + 0x251], 0
je 0x1013e91a
mov dword [esi + 0xc], 0x86
inc ebx
cmp ebx, dword [ebp - 0x24]
jbe 0x1013e840
mov dword [esi + 0x20], ecx
jmp case.0x1013cea8.33
mov eax, dword [esi + 0x270]
cmp eax, 0x10138d90
jne 0x1013e945
movzx edx, word [esi + 0x100]
mov dword [ebp - 0x10], edx
jmp 0x1013e950
push esi
call eax
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, eax
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 1
cmp eax, 1
jb 0x1013ea44
nop word [eax + eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x1013ea2d
mov eax, dword [esi + 0x18]
add ecx, 0xfffffffe
mov dword [esi + 0x1c], ecx
mov ebx, dword [eax + ecx*4 + 4]
mov edi, dword [eax + ecx*4]
cmp ebx, dword [esi + 0x184]
jb 0x1013e9a3
cmp byte [esi + 0x251], 0
jne 0x1013d0b6
jmp 0x1013ea19
movzx eax, byte [esi + 0x178]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x74
je 0x1013e9c1
sub eax, 1
jne 0x1013e9c4
add ecx, 0x20
jmp 0x1013e9c4
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp edx, eax
jne 0x1013ea19
and edi, 0xf
sub edi, 8
js 0x1013e9da
inc edi
movzx eax, word [esi + 0x152]
mov ecx, 6
sub ecx, eax
mov eax, dword [esi + 0x27c]
shl edi, cl
cmp eax, 0x1013a3f0
jne 0x1013ea11
push esi
call fcn.1013a340
add esp, 4
cmp dword [esi + 0xc], 0
jne 0x1013ea19
mov eax, dword [esi + 0x188]
add dword [eax + ebx*4], edi
jmp 0x1013ea19
push edi
push ebx
push esi
call eax
add esp, 0xc
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x24]
ja 0x1013ea44
mov edx, dword [ebp - 0x10]
jmp 0x1013e970
cmp byte [esi + 0x251], 0
je 0x1013ea3d
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x1013cea8.33
push dword [edi]
push 0x4000
push esi
call fcn.1013a7c0
add esp, 0xc
mov dword [esi + 0x13c], 6
mov dword [esi + 0x258], 0x1013a5e0
jmp case.0x1013cea8.33
push dword [edi]
push 0x2d41
push esi
call fcn.1013a7c0
add esp, 0xc
mov dword [esi + 0x13c], 7
mov dword [esi + 0x258], 0x1013a640
jmp case.0x1013cea8.33
cmp dword [edi + 4], 0
je case.0x1013cea8.33
jmp case.0x1013cea8.28
cmp dword [edi + 4], 0
jne case.0x1013cea8.33
jmp case.0x1013cea8.28
mov dword [esi + 0x13c], 5
mov dword [esi + 0x258], fcn.1013a5b0
jmp case.0x1013cea8.33
mov dword [esi + 0x13c], 4
mov dword [esi + 0x258], 0x1013a780
jmp case.0x1013cea8.33
mov dword [esi + 0x13c], 3
mov dword [esi + 0x258], 0x1013a570
jmp case.0x1013cea8.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1013eb36
cmp byte [esi + 0x283], 0
je 0x1013eb36
cmp byte [esi + 0x284], 0
je 0x1013eb36
cmp byte [esi + 0x285], 0
mov eax, ecx
jne 0x1013dc28
mov edi, dword [esi + 0x134]
mov eax, ecx
cmp dword [esi + 0x10], edi
jge 0x1013eb69
cmp byte [esi + 0x251], 0
je 0x1013dc28
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x1013cea8.33
test edi, edi
jle 0x1013dc28
lea eax, [ecx - 1]
mov dword [esi + 0x1c], eax
movzx ecx, word [edx + eax*4]
cmp cx, word [esi + 0x98]
jb 0x1013eb93
cmp byte [esi + 0x251], 0
jne 0x1013d0b6
jmp 0x1013eba3
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 0x1013eb71
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x1013cea8.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1013ebf0
cmp byte [esi + 0x283], 0
je 0x1013ebf0
cmp byte [esi + 0x284], 0
je 0x1013ebf0
cmp byte [esi + 0x285], 0
jne case.0x1013cea8.33
movzx ebx, word [edi + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [edi]
cmp bx, cx
jae 0x1013d0a9
cmp ax, cx
jae 0x1013d0a9
mov edx, eax
cmp ax, bx
ja case.0x1013cea8.33
nop dword [eax + eax]
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
or byte [ecx + eax], 1
cmp dx, bx
jbe 0x1013ec20
jmp case.0x1013cea8.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1013ec62
cmp byte [esi + 0x283], 0
je 0x1013ec62
cmp byte [esi + 0x284], 0
je 0x1013ec62
cmp byte [esi + 0x285], 0
jne case.0x1013cea8.33
movzx ebx, word [edi + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [edi]
cmp bx, cx
jae 0x1013d0a9
cmp ax, cx
jae 0x1013d0a9
mov edx, eax
cmp ax, bx
ja case.0x1013cea8.33
nop dword [eax]
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
and byte [ecx + eax], 0xfe
cmp dx, bx
jbe 0x1013ec90
jmp case.0x1013cea8.33
mov eax, dword [edi]
movzx ecx, al
cmp ecx, 0xff
jne 0x1013ecc1
mov byte [esi + 0x155], 1
jmp case.0x1013cea8.33
test al, al
je 0x1013ed5d
test eax, 0x100
je 0x1013ece2
movzx eax, word [esi + 0x100]
cmp eax, ecx
ja 0x1013ece2
mov byte [esi + 0x155], 1
test dword [edi], 0x200
je 0x1013ecfa
cmp byte [esi + 0x11d], 0
je 0x1013ecfa
mov byte [esi + 0x155], 1
test dword [edi], 0x400
je 0x1013ed12
cmp byte [esi + 0x11e], 0
je 0x1013ed12
mov byte [esi + 0x155], 1
test dword [edi], 0x800
je 0x1013ed2c
movzx eax, word [esi + 0x100]
cmp eax, ecx
jbe 0x1013ed2c
mov byte [esi + 0x155], 0
test dword [edi], 0x1000
je 0x1013ed44
cmp byte [esi + 0x11d], 0
je 0x1013ed44
mov byte [esi + 0x155], 0
test dword [edi], 0x2000
je case.0x1013cea8.33
cmp byte [esi + 0x11e], 0
je case.0x1013cea8.33
mov byte [esi + 0x155], 0
jmp case.0x1013cea8.33
movzx ecx, word [edi]
movzx eax, word [edi + 4]
cmp cx, word [esi + 0x50]
jae 0x1013d0a9
cmp ax, word [esi + 0x74]
jae 0x1013d0a9
mov edx, ecx
mov ecx, dword [esi + 0x54]
shl edx, 3
add ecx, edx
mov dword [ebp - 8], edx
mov edx, eax
mov eax, dword [esi + 0x78]
shl edx, 3
add eax, edx
mov dword [ebp - 0x38], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edi, ecx
mov dword [ebp - 0x10], ecx
sub edx, dword [eax]
mov eax, dword [eax + 4]
sub edi, eax
mov dword [ebp - 0x24], eax
test edx, edx
jne 0x1013edc1
test edi, edi
jne 0x1013edc1
mov edx, 0x4000
xor bl, bl
lea eax, [esi + 0x126]
test bl, 1
push eax
mov eax, edx
mov cl, bl
cmove eax, edi
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x10]
test cl, 1
cmove eax, edx
push eax
call fcn.1013a460
mov ecx, dword [esi + 0x58]
add esp, 0xc
add ecx, dword [ebp - 8]
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x38]
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 - 0x38], eax
test edi, edi
jne 0x1013ee14
test ecx, ecx
jne 0x1013ee14
mov edi, 0x4000
xor bl, bl
lea eax, [esi + 0x12a]
and bl, 1
push eax
mov eax, edi
cmove eax, ecx
sub edx, dword [ebp - 0x38]
test bl, bl
push eax
cmove edx, edi
push edx
call fcn.1013a460
push esi
call fcn.10138b70
add esp, 0x10
jmp case.0x1013cea8.33
mov edx, dword [edi]
xor ecx, ecx
mov ebx, dword [esi]
test dl, 1
je 0x1013ee51
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + 0x40]
mov eax, ebx
test dl, 2
je 0x1013ee67
cmp byte [esi + 0x11d], 0
je 0x1013ee67
or ecx, 0x100
test dl, 4
je 0x1013ee7b
cmp byte [esi + 0x11e], 0
je 0x1013ee7b
or ecx, 0x200
test dl, 8
je 0x1013ee91
cmp dword [eax + 0x2e0], 0
mov ebx, eax
je 0x1013ee91
or ecx, 0x400
test dl, 0x20
je 0x1013eea5
cmp byte [esi + 0x280], 0
je 0x1013eea5
or ecx, 0x1000
mov eax, dword [ebx + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1013ef1c
cmp byte [esi + 0x281], 0
je 0x1013ef1c
mov eax, edx
mov edx, ecx
or edx, 0x2000
test al, 0x40
cmove edx, ecx
test dword [edi], 0x100
mov ebx, edx
je 0x1013eedf
cmp byte [esi + 0x282], 0
je 0x1013eedf
or ebx, 0x8000
mov ecx, ebx
or ecx, 0x20000
test dword [edi], 0x400
cmove ecx, ebx
mov ebx, dword [edi]
mov edx, ecx
or edx, 0x40000
test ebx, 0x800
cmove edx, ecx
mov ecx, edx
test ebx, 0x1000
je 0x1013ef1c
cmp byte [esi + 0x286], 0
je 0x1013ef1c
or ecx, 0x80000
mov dword [edi], ecx
jmp case.0x1013cea8.33
cmp dword [esi + 0x164], 3
jne 0x1013ef38
mov dword [esi + 0xc], 0x9c
jmp case.0x1013cea8.33
mov ebx, dword [esi + 0x1b4]
test ebx, ebx
je 0x1013ef64
mov eax, dword [esi + 0x1ac]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
cmp ebx, eax
jae 0x1013ef62
mov ecx, dword [edi]
cmp dword [ebx + 0xc], ecx
je 0x1013ef60
add ebx, 0x18
cmp ebx, eax
jb 0x1013ef54
cmp ebx, eax
jne 0x1013ef7d
mov eax, dword [esi + 0x1ac]
cmp eax, dword [esi + 0x1b0]
jae 0x1013f004
inc eax
mov dword [esi + 0x1ac], eax
mov eax, dword [edi]
cmp eax, 0xff
ja 0x1013f004
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 + 0x1bc]
jbe 0x1013efb9
movzx eax, al
mov dword [esi + 0x1bc], eax
push esi
call fcn.1013a9b0
add esp, 4
test al, al
jne case.0x1013cea8.33
nop word [eax + eax]
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x1013d7fa
sub eax, 1
je 0x1013d7ec
sub eax, 0x5c
je 0x1013d7fa
push esi
call fcn.1013a9b0
add esp, 4
test al, al
je 0x1013efd0
jmp case.0x1013cea8.33
mov dword [esi + 0xc], 0x8d
jmp case.0x1013cea8.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.0x1013cea8.33
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jle case.0x1013cea8.33
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jge case.0x1013cea8.33
mov dword [edi], eax
jmp case.0x1013cea8.33
mov eax, dword [edi]
test eax, eax
js case.0x1013cea8.33
movzx eax, ax
mov dword [esi + 0x158], eax
jmp case.0x1013cea8.33
mov ebx, dword [edi + 4]
mov edx, dword [edi]
lea eax, [ebx - 1]
cmp eax, 2
ja 0x1013d0a9
lea ecx, [ebx - 1]
mov eax, 1
shl eax, cl
test edx, edx
je 0x1013f09d
cmp edx, eax
je 0x1013f09d
cmp byte [esi + 0x251], 0
je case.0x1013cea8.33
mov dword [esi + 0xc], 0x86
jmp case.0x1013cea8.33
mov ecx, dword [esi + 0x164]
cmp ecx, 2
jne 0x1013f0bd
not al
and al, byte [esi + 0x154]
or al, dl
mov byte [esi + 0x154], al
jmp case.0x1013cea8.33
cmp ecx, 3
jne 0x1013f0e6
cmp ebx, ecx
jne 0x1013f0e6
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne case.0x1013cea8.33
cmp edx, 4
setne al
mov byte [esi + 0x283], al
jmp case.0x1013cea8.33
cmp byte [esi + 0x251], 0
jne 0x1013d0b6
jmp case.0x1013cea8.33
mov eax, dword [esi]
mov ecx, dword [eax + 0x2e0]
test ecx, ecx
je case.0x1013cea8.40
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
mov edx, dword [ecx]
inc eax
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x10], ecx
cmp edx, eax
jb 0x1013f127
mov dword [esi + 0xc], 0x82
jmp case.0x1013cea8.33
test ecx, ecx
je 0x1013f1e9
xor ebx, ebx
test edx, edx
je case.0x1013cea8.33
cmp edx, 0x10
jb 0x1013f1b7
lea eax, [edx - 1]
lea eax, [ecx + eax*4]
cmp edi, eax
ja 0x1013f156
lea eax, [edx - 1]
lea eax, [edi + eax*4]
cmp eax, ecx
jae 0x1013f1b7
mov esi, dword [ebp - 0x10]
mov eax, edx
and eax, 0xfffffff0
add ecx, 0x30
mov dword [ebp - 0x24], eax
sub esi, edi
mov eax, 2
mov dword [ebp - 0x38], esi
movd xmm1, eax
lea eax, [edi + 0x10]
movups xmm0, xmmword [ecx - 0x30]
add ebx, 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 ebx, dword [ebp - 0x24]
jb 0x1013f175
mov esi, dword [ebp + 8]
cmp ebx, edx
jae case.0x1013cea8.33
mov esi, dword [ebp - 0x10]
lea ecx, [edi + ebx*4]
sub esi, edi
sub edx, ebx
nop dword [eax]
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
sar eax, 2
mov dword [ecx - 4], eax
sub edx, 1
jne 0x1013f1d0
mov esi, dword [ebp + 8]
jmp case.0x1013cea8.33
test edx, edx
je case.0x1013cea8.33
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
jmp case.0x1013cea8.33
mov eax, dword [esi]
cmp dword [eax + 0x2e0], 0
je case.0x1013cea8.40
mov dword [edi], 0x11
jmp case.0x1013cea8.33
cmp bl, 0xe0
jb 0x1013f22a
push edi
push esi
call fcn.10139af0
add esp, 8
jmp case.0x1013cea8.33
cmp bl, 0xc0
jb 0x1013f23e
push edi
push esi
call fcn.10139890
add esp, 8
jmp case.0x1013cea8.33
cmp bl, 0xb8
jb 0x1013f2c1
movzx eax, bl
mov ecx, 0xb7
sub ax, cx
movzx ecx, ax
mov eax, dword [esi + 0x14]
mov ebx, ecx
sub eax, dword [esi + 0x10]
inc eax
cmp ebx, eax
jb 0x1013f26e
mov dword [esi + 0xc], 0x82
jmp case.0x1013cea8.33
inc dword [esi + 0x170]
xor eax, eax
cmp ax, cx
jae 0x1013f2b8
nop dword [eax + 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 0x1013f280
mov byte [esi + 0x180], 0
jmp case.0x1013cea8.33
cmp bl, 0xb0
jb case.0x1013cea8.40
movzx eax, bl
mov ecx, 0xaf
sub ax, cx
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
movzx edx, ax
inc ecx
movzx eax, dx
mov dword [ebp - 0x38], edx
cmp eax, ecx
jb 0x1013f2ee
mov dword [esi + 0xc], 0x82
jmp case.0x1013cea8.33
mov ebx, 1
mov eax, ebx
cmp ax, dx
ja case.0x1013cea8.33
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]
mov dword [edi + edx*4 - 4], eax
cmp bx, word [ebp - 0x38]
jbe 0x1013f300
jmp case.0x1013cea8.33
push esi
call fcn.1013a290
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1013f3cd
cmp eax, 0x80
jne 0x1013f477
mov ecx, dword [esi + 0x1b4]
test ecx, ecx
je 0x1013f359
mov eax, dword [esi + 0x1ac]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
jmp 0x1013f360
xor edx, edx
nop dword [eax + eax]
cmp ecx, edx
jae 0x1013f444
cmp byte [ecx + 0x10], 0
je 0x1013f379
mov al, byte [esi + 0x178]
cmp al, byte [ecx + 0xc]
je 0x1013f37e
add ecx, 0x18
jmp 0x1013f360
mov edx, dword [esi + 0x1c0]
cmp edx, dword [esi + 0x1c4]
jge 0x1013f43b
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c8]
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.101390d0
add esp, 0xc
cmp al, 1
je 0x1013f477
jmp 0x1013f3f6
cmp byte [esi + 0x180], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
je 0x1013f3e8
mov eax, dword [esi + 0x17c]
add dword [esi + 0x170], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0xf4240
ja 0x1013f45f
mov eax, dword [esi + 0x170]
cmp eax, dword [esi + 0x174]
jge 0x1013f44d
cmp byte [esi + 0x208], 0
je 0x1013cd81
mov eax, dword [esi + 0x194]
mov dword [esi + 0x188], eax
mov eax, dword [esi + 0x1f8]
pop edi
mov dword [esi + 0x1ec], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xc], 0x81
jmp 0x1013f477
mov dword [esi + 0xc], 0x86
jmp 0x1013f477
mov dword [esi + 0xc], 0x80
jmp 0x1013f477
cmp dword [esi + 0x1c0], 0
jle 0x1013f411
mov dword [esi + 0xc], 0x83
jmp 0x1013f477
mov dword [esi + 0xc], 0x8b
jmp 0x1013f477
mov dword [esi + 0xc], 0x82
jmp 0x1013f477
mov dword [edx], 0x83
mov ecx, dword [esi + 0x194]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x188], ecx
mov ecx, dword [esi + 0x1f8]
pop edi
mov dword [esi + 0x1ec], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret