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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x24], 0
mov edi, dword [esi]
mov eax, dword [edi + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x101297a2
cmp byte [esi + 0x265], 0
je 0x101297a2
test dword [edi + 8], 0x2000
jne 0x101297a2
mov al, byte [esi + 0x154]
shr al, 2
not al
and al, 1
jmp 0x101297a4
xor al, al
mov byte [esi + 0x267], al
mov eax, 0x1e
movzx ebx, word [esi + 0x98]
mov edx, dword [esi + 0x180]
mov word [esi + 0x268], 0
mov dword [ebp - 0x20], 0xffff
lea ecx, [ebx + edx]
add ecx, ecx
cmp ecx, eax
cmovb ecx, eax
movzx eax, word [esi + 0xbc]
cmp eax, ecx
jbe 0x101297f2
cmp ecx, 0xffff
cmova ecx, dword [ebp - 0x20]
mov word [esi + 0xbc], cx
movzx eax, word [esi + 0x98]
mov dword [esi + 0x26c], 0
mov dword [esi + 0x274], 0
test ax, ax
je 0x10129835
lea ecx, [ebx + ebx*4]
mov eax, 0xcccccccd
mov ebx, 0x32
add ecx, ecx
cmp ecx, ebx
cmovb ecx, ebx
mul edx
shr edx, 3
cmp edx, ebx
cmovb edx, ebx
lea eax, [edx + ecx]
jmp 0x1012983d
imul eax, edx, 0x16
add eax, 0x12c
mov dword [esi + 0x270], eax
imul ecx, dword [edi + 0x10], 0x64
cmp eax, ecx
jbe 0x10129853
mov dword [esi + 0x270], ecx
jmp 0x10129855
mov ecx, eax
movzx eax, word [esi + 0xde]
mov edi, 0x101273e0
movzx ebx, word [esi + 0xdc]
mov edx, 0x1012cf10
mov dword [esi + 0x278], ecx
cmp bx, ax
mov ecx, 0x101273c0
mov dword [ebp - 0xc], eax
cmove edi, ecx
mov dword [ebp - 4], 0x101272d0
mov ecx, 0x1012cef0
mov dword [esi + 0x104], 0
cmove edx, ecx
mov eax, 0x10126000
mov ecx, 0x101272f0
cmove ecx, dword [ebp - 4]
cmp bx, word [ebp - 0xc]
mov dword [ebp - 4], 0x10125ff0
cmove eax, dword [ebp - 4]
mov dword [esi + 0x254], eax
mov dword [esi + 0x258], edi
mov dword [esi + 0x25c], edx
push esi
mov dword [esi + 0x260], ecx
call fcn.10125db0
movzx eax, byte [esi + 0x13c]
add esp, 4
cmp eax, 7
ja case.default.0x101298e4
jmp dword [eax*4 + 0x1012c288]
mov dword [esi + 0x23c], 0x10127460
jmp case.default.0x101298e4
mov dword [esi + 0x23c], 0x10127570
jmp case.default.0x101298e4
mov dword [esi + 0x23c], 0x101275f0
jmp case.default.0x101298e4
mov dword [esi + 0x23c], 0x10127430
jmp case.default.0x101298e4
mov dword [esi + 0x23c], 0x101275b0
jmp case.default.0x101298e4
mov dword [esi + 0x23c], 0x10127530
jmp case.default.0x101298e4
mov dword [esi + 0x23c], 0x10127480
jmp case.default.0x101298e4
mov dword [esi + 0x23c], 0x101274d0
mov edi, dword [esi + 0x16c]
nop
mov ebx, dword [esi + 0x168]
mov dl, byte [ebx + edi]
movzx eax, dl
mov byte [ebp - 5], dl
mov byte [esi + 0x174], dl
mov dword [ebp - 4], eax
movsx ecx, byte [eax + 0x10206798]
mov dword [esi + 0x178], ecx
test ecx, ecx
jns 0x1012999d
lea eax, [edi + 1]
cmp eax, dword [esi + 0x170]
jge 0x1012c278
movzx eax, byte [ebx + edi + 1]
imul eax, ecx
mov ecx, 2
sub ecx, eax
mov dword [esi + 0x178], ecx
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x170]
jg 0x1012c278
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x10]
mov bl, byte [eax + 0x10206698]
movzx eax, bl
shr eax, 4
sub ecx, eax
mov dword [esi + 0x1c], ecx
jns 0x10129a14
cmp byte [esi + 0x235], 0
jne 0x1012c20e
xor edi, edi
mov byte [ebp - 5], dl
test bl, 0xf0
jbe 0x10129a0b
nop dword [eax]
mov eax, dword [esi + 0x18]
movzx ecx, di
inc edi
mov dword [eax + ecx*4], 0
mov dl, byte [esi + 0x174]
movzx eax, dl
mov byte [ebp - 5], dl
mov al, byte [eax + 0x10206698]
shr al, 4
movzx eax, al
cmp di, ax
jb 0x101299e0
mov dword [esi + 0x1c], 0
xor ecx, ecx
cmp dl, 0x91
jne 0x10129a3f
mov eax, dword [esi]
mov eax, dword [eax + 0x2e0]
test eax, eax
je 0x10129a34
mov eax, dword [eax]
add eax, ecx
movzx edi, dl
mov dword [esi + 0x20], eax
mov dword [ebp - 4], edi
jmp 0x10129a54
mov eax, dword [esi + 0x20]
movzx edi, dl
mov dword [ebp - 4], edi
jmp 0x10129a54
movzx ebx, dl
mov dword [ebp - 4], ebx
movzx eax, byte [ebx + 0x10206698]
and eax, 0xf
add eax, ecx
mov dword [esi + 0x20], eax
mov edi, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
cmp eax, edi
jg 0x1012c265
mov eax, dword [esi + 0x18]
mov byte [esi + 0x17c], 1
mov dword [esi + 0xc], 0
lea ebx, [eax + ecx*4]
mov eax, dword [ebp - 4]
cmp eax, 0x92
ja case.default.0x10129a84
jmp dword [eax*4 + 0x1012c2a8]
mov al, dl
and al, 1
movzx eax, al
shl ax, 0xe
movzx ecx, ax
mov eax, ecx
xor eax, 0x4000
movzx eax, ax
cmp dl, 4
jae 0x10129ac4
mov word [esi + 0x12a], cx
mov word [esi + 0x12c], ax
mov word [esi + 0x126], cx
mov word [esi + 0x128], ax
test dl, 2
jne 0x10129beb
mov word [esi + 0x12e], cx
push esi
mov word [esi + 0x130], ax
call fcn.10125db0
jmp 0x1012c118
movzx eax, word [ebx]
lea edi, [esi + 0x12a]
push edi
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.10127190
add esp, 0x10
test al, al
jne case.0x10129a84.33
mov eax, dword [edi]
push esi
mov dword [esi + 0x126], eax
call fcn.10125db0
jmp 0x1012c118
lea eax, [esi + 0x12e]
push eax
movzx eax, word [ebx]
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.10127190
add esp, 0x10
test al, al
jne case.0x10129a84.33
push esi
call fcn.10125db0
jmp 0x1012c118
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
test ecx, ecx
jne 0x10129b55
test eax, eax
je 0x10129b8d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], ecx
call fcn.10118700
mov eax, dword [ebp - 0x2c]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12a], ax
mov eax, dword [ebp - 0x28]
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.10125db0
jmp 0x1012c118
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
test ecx, ecx
jne 0x10129bb3
test eax, eax
je 0x10129beb
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], ecx
call fcn.10118700
mov eax, dword [ebp - 0x34]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12e], ax
mov eax, dword [ebp - 0x30]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x130], ax
push esi
call fcn.10125db0
jmp 0x1012c118
movsx eax, word [esi + 0x12a]
mov dword [ebx], eax
movsx eax, word [esi + 0x12c]
mov dword [ebx + 4], eax
jmp case.0x10129a84.33
movsx eax, word [esi + 0x12e]
mov dword [ebx], eax
movsx eax, word [esi + 0x130]
mov dword [ebx + 4], eax
jmp case.0x10129a84.33
mov eax, dword [esi + 0x12a]
push esi
mov dword [esi + 0x12e], eax
call fcn.10125db0
jmp 0x1012c118
push ebx
push esi
call fcn.101266d0
add esp, 8
jmp case.0x10129a84.33
mov ax, word [ebx]
mov word [esi + 0x120], ax
jmp case.0x10129a84.33
mov ax, word [ebx]
mov word [esi + 0x122], ax
jmp case.0x10129a84.33
mov ax, word [ebx]
mov word [esi + 0x124], ax
jmp case.0x10129a84.33
mov eax, dword [ebx]
sub eax, 0
je 0x10129cb8
sub eax, 1
je 0x10129c9e
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10129cd0
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], eax
mov ax, word [ebx]
mov word [esi + 0x15c], ax
jmp case.0x10129a84.33
mov eax, dword [ebx]
sub eax, 0
je 0x10129d25
sub eax, 1
je 0x10129d0b
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10129d3d
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x68], eax
mov ax, word [ebx]
mov word [esi + 0x15e], ax
jmp case.0x10129a84.33
mov eax, dword [ebx]
sub eax, 0
je 0x10129d92
sub eax, 1
je 0x10129d78
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10129daa
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], eax
mov ax, word [ebx]
mov word [esi + 0x160], ax
jmp case.0x10129a84.33
mov eax, dword [ebx]
sub eax, 0
je 0x10129e02
sub eax, 1
je 0x10129de8
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10129e1a
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], eax
movups xmm0, xmmword [esi + 0x24]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0x34]
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x68], eax
movups xmm0, xmmword [esi + 0x24]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0x34]
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], eax
movzx eax, word [ebx]
mov word [esi + 0x15c], ax
movzx eax, word [ebx]
mov word [esi + 0x15e], ax
movzx eax, word [ebx]
mov word [esi + 0x160], ax
jmp case.0x10129a84.33
mov eax, dword [ebx]
test eax, eax
jns 0x10129e7f
mov dword [esi + 0xc], 0x84
jmp case.0x10129a84.33
cmp eax, 0xffff
cmovg eax, dword [ebp - 0x20]
mov dword [esi + 0x134], eax
jmp case.0x10129a84.33
mov dword [esi + 0x13c], 1
mov dword [esi + 0x23c], 0x10127570
jmp case.0x10129a84.33
mov dword [esi + 0x13c], 0
mov dword [esi + 0x23c], 0x101275b0
jmp case.0x10129a84.33
mov eax, dword [ebx]
mov dword [esi + 0x138], eax
jmp case.0x10129a84.33
mov edi, 1
push esi
call fcn.10127820
add esp, 4
cmp al, 1
je case.0x10129a84.33
movzx eax, byte [esi + 0x174]
sub eax, 0x58
je 0x10129efc
sub eax, 1
jne 0x10129efd
dec edi
jmp 0x10129efd
inc edi
test edi, edi
jne 0x10129ed7
jmp case.0x10129a84.33
mov eax, dword [ebx]
test eax, eax
jne 0x10129f14
test ecx, ecx
je 0x10129e73
add dword [esi + 0x16c], eax
mov edx, dword [esi + 0x16c]
js 0x10129e73
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
jle 0x10129f45
mov eax, dword [esi + 0x1b8]
add ecx, ecx
mov eax, dword [eax + ecx*8 - 4]
cmp edx, dword [eax + 8]
jg 0x10129e73
mov byte [esi + 0x17c], 0
cmp dword [ebx], 0
jge case.0x10129a84.33
inc dword [esi + 0x274]
mov eax, dword [esi + 0x274]
cmp eax, dword [esi + 0x278]
jbe case.0x10129a84.33
mov dword [esi + 0xc], 0x8b
jmp case.0x10129a84.33
mov eax, dword [ebx]
mov dword [esi + 0x144], eax
jmp case.0x10129a84.33
mov eax, dword [ebx]
mov dword [esi + 0x148], eax
jmp case.0x10129a84.33
mov eax, dword [esi + 0x108]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
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 eax, dword [ebp - 0x38]
mov dword [esi + 0x14c], eax
jmp case.0x10129a84.33
mov eax, dword [ebx]
mov dword [ebx + 4], eax
jmp case.0x10129a84.33
mov dword [esi + 0x20], 0
jmp case.0x10129a84.33
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp case.0x10129a84.33
mov eax, dword [esi + 0x10]
mov dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [ebx]
test eax, eax
jle 0x1012a01a
cmp eax, ecx
jg 0x1012a01a
sub ecx, eax
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x10129a84.33
cmp byte [esi + 0x235], 0
je 0x1012a02a
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x10129a84.33
mov edx, dword [ebx]
test edx, edx
jle 0x10129c85
cmp edx, ecx
jg 0x10129c85
mov eax, dword [esi + 0x18]
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.0x10129a84.33
movzx eax, word [ebx]
movzx ebx, word [ebx + 4]
mov dword [ebp - 4], eax
cmp ax, word [esi + 0x50]
jae 0x10129c85
cmp bx, word [esi + 0x2c]
jae 0x10129c85
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 + 0x240]
push esi
call eax
cdq
lea ecx, [esi + 0x48]
sub eax, edx
mov edi, eax
sar edi, 1
push edi
push dword [ebp - 4]
push ecx
mov ecx, dword [esi + 0x24c]
push esi
call ecx
neg edi
lea eax, [esi + 0x24]
push edi
push ebx
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x2c
jmp case.0x10129a84.33
movzx eax, word [ebx]
cmp ax, word [esi + 0x2c]
jb 0x1012a10b
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.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.0x10129a84.33
mov eax, dword [esi + 0x1a8]
mov edx, dword [ebx + 4]
inc eax
mov dword [ebp - 4], eax
cmp edx, eax
jae 0x10129c92
mov edi, dword [esi + 0x198]
test edi, edi
je 0x1012a167
lea eax, [edx + edx*2]
lea ecx, [edi + eax*8]
jmp 0x1012a169
xor ecx, ecx
mov eax, dword [esi + 0x190]
cmp dword [ebp - 4], eax
jne 0x1012a179
cmp dword [ecx + 0xc], edx
je 0x1012a1a4
mov ecx, edi
test ecx, ecx
je 0x10129c92
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x1012a19e
nop dword [eax]
cmp dword [ecx + 0xc], edx
je 0x1012a19c
add ecx, 0x18
cmp ecx, eax
jb 0x1012a190
cmp ecx, eax
je 0x10129c92
cmp byte [ecx + 0x10], 0
je 0x10129c92
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jl 0x1012a1c8
mov dword [esi + 0xc], 0x82
jmp case.0x10129a84.33
cmp dword [ebx], 0
jle case.0x10129a84.33
mov eax, dword [esi + 0x164]
shl edx, 4
add edx, dword [esi + 0x1b8]
mov dword [edx], eax
mov eax, dword [esi + 0x16c]
inc eax
mov dword [edx + 4], eax
mov eax, dword [ebx]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
inc dword [esi + 0x1b0]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.10126330
mov byte [esi + 0x17c], 0
add esp, 0xc
mov eax, dword [ebx]
add dword [esi + 0x26c], eax
mov eax, dword [esi + 0x26c]
cmp eax, dword [esi + 0x270]
jbe case.0x10129a84.33
mov dword [esi + 0xc], 0x8b
jmp case.0x10129a84.33
mov edx, dword [ebx]
mov ebx, dword [esi + 0x1a8]
inc ebx
cmp edx, ebx
jae 0x10129c92
mov edi, dword [esi + 0x198]
test edi, edi
je 0x10129c92
lea eax, [edx + edx*2]
lea ecx, [edi + eax*8]
mov eax, dword [esi + 0x190]
cmp ebx, eax
jne 0x1012a269
cmp dword [ecx + 0xc], edx
je 0x1012a289
mov ecx, edi
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x1012a283
cmp dword [ecx + 0xc], edx
je 0x1012a281
add ecx, 0x18
cmp ecx, eax
jb 0x1012a275
cmp ecx, eax
je 0x10129c92
cmp byte [ecx + 0x10], 0
je 0x10129c92
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jl 0x1012a2ad
mov dword [esi + 0xc], 0x82
jmp case.0x10129a84.33
mov eax, dword [esi + 0x164]
shl edx, 4
add edx, dword [esi + 0x1b8]
mov dword [edx], eax
mov eax, dword [esi + 0x16c]
inc eax
mov dword [edx + 8], 1
mov dword [edx + 4], eax
mov dword [edx + 0xc], ecx
inc dword [esi + 0x1b0]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.10126330
add esp, 0xc
mov byte [esi + 0x17c], 0
jmp case.0x10129a84.33
mov edx, dword [esi + 0x164]
cmp edx, 3
jne 0x1012a309
mov dword [esi + 0xc], 0x9c
jmp case.0x10129a84.33
mov edi, dword [esi + 0x198]
test edi, edi
je 0x1012a321
mov eax, dword [esi + 0x190]
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
jmp 0x1012a323
xor eax, eax
mov ecx, dword [ebx]
cmp edi, eax
jae 0x1012a33e
nop dword [eax]
cmp dword [edi + 0xc], ecx
je 0x1012a33c
add edi, 0x18
cmp edi, eax
jb 0x1012a330
cmp edi, eax
jne 0x1012a355
mov eax, dword [esi + 0x190]
cmp eax, dword [esi + 0x194]
jae 0x1012a35d
inc eax
mov dword [esi + 0x190], eax
cmp ecx, 0xffff
jbe 0x1012a369
mov dword [esi + 0xc], 0x8c
jmp case.0x10129a84.33
mov dword [edi], edx
movzx edx, cx
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x16c]
inc eax
mov word [edi + 0x10], 1
mov dword [edi + 4], eax
mov dword [edi + 0x14], 0
cmp ecx, dword [esi + 0x1a8]
jbe 0x1012a396
mov dword [esi + 0x1a8], edx
push esi
call fcn.10127820
add esp, 4
test al, al
jne case.0x10129a84.33
nop word [eax + eax]
movzx eax, byte [esi + 0x174]
sub eax, 0x2c
je 0x1012a3e6
sub eax, 1
je 0x1012a3d8
sub eax, 0x5c
je 0x1012a3e6
push esi
call fcn.10127820
add esp, 4
test al, al
je 0x1012a3b0
jmp case.0x10129a84.33
mov eax, dword [esi + 0x16c]
mov dword [edi + 8], eax
jmp case.0x10129a84.33
mov dword [esi + 0xc], 0x89
jmp case.0x10129a84.33
mov eax, dword [esi + 0x1b0]
test eax, eax
jg 0x1012a408
mov dword [esi + 0xc], 0x88
jmp case.0x10129a84.33
dec eax
mov dword [esi + 0x1b0], eax
shl eax, 4
add eax, dword [esi + 0x1b8]
dec dword [eax + 8]
mov byte [esi + 0x17c], 0
cmp dword [eax + 8], 0
jle 0x1012a43f
inc dword [esi + 0x1b0]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 0x16c], eax
jmp case.0x10129a84.33
push dword [eax + 4]
push dword [eax]
push esi
call fcn.10126330
add esp, 0xc
jmp case.0x10129a84.33
movzx ebx, word [ebx]
cmp bx, word [esi + 0x2c]
jb 0x1012a474
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
test dl, 1
je 0x1012a4e6
mov eax, dword [esi + 0x34]
mov ecx, ebx
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x240]
push esi
call eax
mov ecx, dword [esi + 0x10c]
mov edi, eax
mov eax, dword [esi + 0x23c]
add esp, 0xc
cmp eax, 0x101275b0
jne 0x1012a4d8
test edi, edi
js 0x1012a4c1
add ecx, edi
mov edx, 0x20
and ecx, 0xffffffc0
cmp ecx, 0xffffffe0
lea eax, [ecx + 0x20]
cmovge edx, eax
sub edx, edi
jmp 0x1012a4e8
sub ecx, edi
mov eax, 0xffffffe0
and ecx, 0xffffffc0
mov edx, eax
sub edx, ecx
test edx, edx
cmovg edx, eax
sub edx, edi
jmp 0x1012a4e8
push ecx
push edi
push esi
call eax
mov edx, eax
add esp, 0xc
sub edx, edi
jmp 0x1012a4e8
xor edx, edx
push edx
push ebx
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x10
mov word [esi + 0x120], bx
mov word [esi + 0x122], bx
jmp case.0x10129a84.33
push esi
call fcn.10126910
jmp 0x1012c118
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x134]
jge 0x1012a53c
cmp byte [esi + 0x235], 0
je 0x1012a630
mov dword [esi + 0xc], 0x86
jmp 0x1012a630
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.10125f10
add esp, 0x14
test al, al
jne case.0x10129a84.33
cmp dword [esi + 0x134], 0
jle 0x1012a630
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
dec dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
movzx ecx, word [eax + ecx*4]
mov eax, ecx
cmp cx, word [esi + 0x74]
jb 0x1012a59a
cmp byte [esi + 0x235], 0
jne 0x10129c92
jmp 0x1012a61d
cmp word [esi + 0x12e], 0
je 0x1012a5da
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a5c6
cmp byte [esi + 0x267], 0
je 0x1012a5c6
mov eax, dword [esi + 0x84]
mov edx, ecx
or byte [eax + edx], 8
jmp 0x1012a5dc
mov eax, dword [esi + 0x7c]
mov edx, ecx
add dword [eax + edx*8], edi
mov eax, dword [esi + 0x84]
or byte [eax + edx], 8
jmp 0x1012a5dc
mov edx, eax
cmp word [esi + 0x130], 0
je 0x1012a61d
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a60c
cmp byte [esi + 0x267], 0
je 0x1012a60c
cmp byte [esi + 0x268], 0
je 0x1012a60c
cmp byte [esi + 0x269], 0
jne 0x1012a613
mov eax, dword [esi + 0x7c]
add dword [eax + ecx*8 + 4], ebx
mov eax, dword [esi + 0x84]
or byte [eax + edx], 0x10
dec dword [esi + 0x134]
cmp dword [esi + 0x134], 0
jg 0x1012a573
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x10129a84.33
cmp word [esi + 0x160], 0
mov eax, 1
movzx ebx, word [ebx]
je 0x1012a65b
movzx eax, word [esi + 0x76]
movsx edi, bx
cwde
cmp edi, eax
jb 0x1012a67c
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.10125f10
add esp, 0x14
test al, al
jne case.0x10129a84.33
test bx, bx
jne 0x1012a6a9
xor ecx, ecx
jmp 0x1012a6c0
mov eax, dword [esi + 0x88]
mov ax, word [eax + edi*2 - 2]
sub ax, word [esi + 0x8c]
inc ax
movzx ecx, ax
cmp word [esi + 0x160], 0
jne 0x1012a6d0
movzx ebx, word [esi + 0x74]
jmp 0x1012a6e6
mov eax, dword [esi + 0x88]
mov ax, word [eax + edi*2]
sub ax, word [esi + 0x8c]
inc ax
movzx ebx, ax
movzx edi, cx
cmp cx, bx
jae case.0x10129a84.33
movzx ecx, cx
mov edx, dword [esi + 0x7c]
cmp dword [ebp - 0x74], edx
jne 0x1012a703
cmp word [ebp - 0x14], di
je 0x1012a775
cmp word [esi + 0x12e], 0
je 0x1012a731
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a721
cmp byte [esi + 0x267], 0
jne 0x1012a727
mov eax, dword [ebp - 0x44]
add dword [edx + ecx*8], eax
mov eax, dword [esi + 0x84]
or byte [eax + ecx], 8
cmp word [esi + 0x130], 0
je 0x1012a775
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a761
cmp byte [esi + 0x267], 0
je 0x1012a761
cmp byte [esi + 0x268], 0
je 0x1012a761
cmp byte [esi + 0x269], 0
jne 0x1012a76b
mov eax, dword [esi + 0x7c]
mov edx, dword [ebp - 0x48]
add dword [eax + ecx*8 + 4], edx
mov eax, dword [esi + 0x84]
or byte [eax + ecx], 0x10
inc edi
inc ecx
cmp di, bx
jb 0x1012a6f5
jmp case.0x10129a84.33
cmp dword [ebx], 2
jb 0x1012a7a3
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.10125f10
add esp, 0x14
test al, al
jne case.0x10129a84.33
movzx eax, word [esi + 0x160]
test ax, ax
jne 0x1012a7d9
movzx ebx, word [esi + 0x74]
jmp 0x1012a7fe
cmp eax, 1
jne 0x1012a7fc
movzx eax, word [esi + 0x76]
test ax, ax
jle 0x1012a7fc
movsx ecx, ax
mov eax, dword [esi + 0x88]
mov ax, word [eax + ecx*2 - 2]
inc ax
movzx ebx, ax
jmp 0x1012a7fe
xor ebx, ebx
xor eax, eax
xor edi, edi
cmp ax, bx
jae case.0x10129a84.33
xor edx, edx
nop dword [eax]
mov ecx, dword [esi + 0x7c]
cmp dword [ebp - 0x74], ecx
jne 0x1012a81e
cmp word [ebp - 0x18], di
je 0x1012a87c
cmp word [esi + 0x12e], 0
je 0x1012a842
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a83c
cmp byte [esi + 0x267], 0
jne 0x1012a842
mov eax, dword [ebp - 0x4c]
add dword [ecx + edx], eax
cmp word [esi + 0x130], 0
je 0x1012a87c
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a872
cmp byte [esi + 0x267], 0
je 0x1012a872
cmp byte [esi + 0x268], 0
je 0x1012a872
cmp byte [esi + 0x269], 0
jne 0x1012a87c
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebp - 0x50]
add dword [edx + eax + 4], ecx
inc edi
add edx, 8
cmp di, bx
jb 0x1012a810
jmp case.0x10129a84.33
push ebx
push esi
call fcn.10126fd0
add esp, 8
jmp case.0x10129a84.33
push esi
call fcn.101263b0
jmp 0x1012c118
movzx edi, word [ebx]
mov dword [ebp - 4], edi
cmp di, word [esi + 0x50]
jae 0x10129c85
movzx eax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x10129c85
cmp word [esi + 0x15e], 0
mov ecx, eax
jne 0x1012a936
mov edx, dword [esi + 0x30]
movzx ecx, di
mov edi, eax
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0x54]
mov esi, dword [ebp - 8]
mov eax, dword [edx + edi*8]
mov dword [ecx + esi*8], eax
mov eax, dword [edx + edi*8 + 4]
mov edx, esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ecx + edx*8 + 4], eax
push dword [ebx + 4]
lea eax, [esi + 0x48]
push edi
push eax
mov eax, dword [esi + 0x250]
push esi
call eax
mov ecx, dword [esi + 0x54]
add esp, 0x10
mov edi, dword [ebp - 8]
mov edx, dword [esi + 0x58]
mov eax, dword [ebp - 8]
mov eax, dword [ecx + eax*8]
mov dword [edx + edi*8], eax
mov eax, edi
mov eax, dword [ecx + eax*8 + 4]
mov ecx, edi
mov edi, dword [ebp - 4]
mov dword [edx + ecx*8 + 4], eax
movzx ecx, word [esi + 0x120]
jmp 0x1012a93c
movzx eax, di
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x34]
movzx ecx, cx
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 + 0x240]
push esi
call eax
mov ecx, dword [ebx + 4]
sub ecx, eax
lea eax, [esi + 0x48]
push ecx
push edi
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
mov ax, word [esi + 0x120]
add esp, 0x1c
test byte [esi + 0x174], 1
mov word [esi + 0x122], ax
mov word [esi + 0x124], di
je case.0x10129a84.33
mov word [esi + 0x120], di
jmp case.0x10129a84.33
mov edx, dword [esi + 0x134]
cmp dword [esi + 0x10], edx
jl 0x1012aa54
mov ax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x1012aa54
test edx, edx
jle 0x1012aa64
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 0x1012a9f2
cmp byte [esi + 0x235], 0
jne 0x10129c92
jmp 0x1012aa30
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 + 0x240]
push esi
call eax
neg eax
push eax
push edi
lea eax, [esi + 0x48]
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x1c
dec dword [esi + 0x134]
cmp dword [esi + 0x134], 0
jg 0x1012a9d0
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x10129a84.33
cmp byte [esi + 0x235], 0
je 0x1012aa64
mov dword [esi + 0xc], 0x86
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x10129a84.33
mov dword [esi + 0x13c], 2
mov dword [esi + 0x23c], 0x10127530
jmp case.0x10129a84.33
mov eax, dword [esi + 0x144]
mov ecx, dword [ebx + 4]
movzx ebx, word [ebx]
mov dword [ebp - 0xc], eax
movzx eax, bx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
cmp bx, word [esi + 0x2c]
jae 0x1012abf3
cmp ecx, dword [esi + 0x180]
jae 0x1012abf3
mov eax, dword [esi + 0x258]
cmp eax, 0x101273c0
jne 0x1012aad5
mov eax, dword [esi + 0x184]
mov edi, dword [eax + ecx*4]
jmp 0x1012aade
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 0x1012ab4d
movsx eax, word [esi + 0x12e]
push eax
push edi
call fcn.10128e50
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.10128e50
mov ecx, dword [esi + 0x30]
add esp, 0x10
movzx edx, bx
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov esi, ebx
movzx eax, si
movzx esi, bx
mov eax, dword [ecx + eax*8]
mov dword [edx + esi*8], eax
mov esi, ebx
mov ebx, dword [ebp - 4]
movzx eax, si
mov eax, dword [ecx + eax*8 + 4]
movzx ecx, si
mov esi, dword [ebp + 8]
mov dword [edx + ecx*8 + 4], eax
mov eax, dword [esi + 0x34]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x240]
push esi
call eax
add esp, 0xc
mov ecx, eax
test byte [esi + 0x174], 1
mov dword [ebp - 4], ecx
je 0x1012abcc
mov eax, edi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0xc]
cmovg edi, ecx
mov ecx, dword [esi + 0x23c]
mov eax, edi
mov edi, dword [esi + 0x10c]
cmp ecx, 0x10127530
jne 0x1012abbf
test eax, eax
js 0x1012abac
add edi, 0x10
add eax, edi
mov edi, 0
and eax, 0xffffffe0
cmovge edi, eax
jmp 0x1012abc9
sub edi, eax
xor eax, eax
add edi, 0x10
and edi, 0xffffffe0
neg edi
test edi, edi
cmovg edi, eax
jmp 0x1012abc9
push edi
push eax
push esi
call ecx
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp - 4]
sub edi, ecx
lea eax, [esi + 0x24]
push edi
push ebx
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x10
mov word [esi + 0x120], bx
mov word [esi + 0x122], bx
jmp case.0x10129a84.33
cmp byte [esi + 0x235], 0
je 0x1012ac03
mov dword [esi + 0xc], 0x86
mov word [esi + 0x120], bx
mov word [esi + 0x122], bx
jmp case.0x10129a84.33
mov ecx, dword [esi + 0x168]
mov eax, dword [esi + 0x16c]
sub edi, dword [esi + 0x10]
inc edi
movzx eax, byte [ecx + eax + 1]
movzx ecx, ax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp ecx, edi
jb 0x1012ac44
mov dword [esi + 0xc], 0x82
jmp case.0x10129a84.33
mov edi, 1
mov edx, edi
cmp dx, ax
ja 0x1012ac81
mov ecx, dword [esi + 0x168]
mov eax, dword [esi + 0x16c]
movzx edx, di
inc edi
add ecx, edx
movzx eax, byte [ecx + eax + 1]
mov dword [ebx + edx*4 - 4], eax
cmp di, word [ebp - 4]
jbe 0x1012ac50
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 8]
add eax, ecx
mov dword [esi + 0x20], eax
jmp case.0x10129a84.33
mov eax, dword [ebp - 0xc]
add eax, ecx
mov dword [esi + 0x20], eax
jmp case.0x10129a84.33
mov eax, dword [esi + 0x168]
mov ecx, dword [esi + 0x16c]
sub edi, dword [esi + 0x10]
inc edi
mov dl, byte [ecx + eax + 1]
movzx eax, dl
mov dword [ebp - 8], eax
cmp eax, edi
jb 0x1012acb8
mov dword [esi + 0xc], 0x82
jmp case.0x10129a84.33
lea eax, [ecx + 2]
mov dword [esi + 0x16c], eax
test dl, dl
je 0x1012ad20
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
nop dword [eax + eax]
add dword [esi + 0x16c], 2
lea ebx, [ebx + 4]
mov edi, dword [esi + 0x16c]
mov eax, 0x100
mov edx, dword [esi + 0x168]
cwde
movzx ecx, byte [edx + edi - 2]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + edi - 1]
add cx, ax
sub dword [ebp - 4], 1
movsx eax, cx
mov dword [ebx - 4], eax
jne 0x1012acd0
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 8]
mov byte [esi + 0x17c], 0
mov dword [esi + 0x20], eax
jmp case.0x10129a84.33
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [esi + 0x17c], 0
mov dword [esi + 0x20], eax
jmp case.0x10129a84.33
movzx eax, word [esi + 0x1d8]
mov edx, dword [ebx]
cmp edx, eax
jb 0x1012ad5b
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
mov ecx, dword [esi + 0x1dc]
mov eax, dword [ebx + 4]
mov dword [ecx + edx*4], eax
jmp case.0x10129a84.33
movzx eax, word [esi + 0x1d8]
mov ecx, dword [ebx]
cmp ecx, eax
jb 0x1012ad99
cmp byte [esi + 0x235], 0
je 0x1012ad8e
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
mov dword [ebx], 0
jmp case.0x10129a84.33
mov eax, dword [esi + 0x1dc]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x10129a84.33
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x180]
jb 0x1012adcc
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
mov eax, dword [esi + 0x25c]
mov edx, dword [ebx + 4]
cmp eax, 0x1012cef0
jne 0x1012adea
mov eax, dword [esi + 0x184]
mov dword [eax + ecx*4], edx
jmp case.0x10129a84.33
push edx
push ecx
push esi
call eax
add esp, 0xc
jmp case.0x10129a84.33
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x180]
jb 0x1012ae16
cmp byte [esi + 0x235], 0
je 0x1012ad8e
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
mov eax, dword [esi + 0x258]
cmp eax, 0x101273c0
jne 0x1012ae33
mov eax, dword [esi + 0x184]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x10129a84.33
push ecx
push esi
call eax
add esp, 8
mov dword [ebx], eax
jmp case.0x10129a84.33
movzx eax, word [esi + 0x74]
mov ecx, dword [ebx]
cmp ecx, eax
jb 0x1012ae64
cmp byte [esi + 0x235], 0
je 0x1012ae5b
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x10129a84.33
test dl, 1
je 0x1012ae86
mov eax, dword [esi + 0x78]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x244]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [esi + 0x7c]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x240]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10129a84.33
movzx eax, word [ebx]
mov dword [ebp - 4], eax
cmp ax, word [esi + 0x74]
jb 0x1012aec8
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
movzx edi, ax
mov eax, dword [esi + 0x7c]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
mov eax, dword [esi + 0x240]
push esi
call eax
mov ecx, dword [ebx + 4]
sub ecx, eax
lea eax, [esi + 0x6c]
push ecx
push dword [ebp - 4]
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x1c
cmp word [esi + 0x160], 0
jne case.0x10129a84.33
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
mov eax, dword [ecx + edi*8]
mov dword [edx + edi*8], eax
mov eax, dword [ecx + edi*8 + 4]
mov dword [edx + edi*8 + 4], eax
jmp case.0x10129a84.33
movzx eax, word [ebx]
movzx edi, word [ebx + 4]
cmp ax, word [esi + 0x2c]
jae 0x1012a01a
cmp di, word [esi + 0x50]
jae 0x1012a01a
test dl, 1
je 0x1012af6e
mov eax, dword [esi + 0x58]
mov ecx, edi
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x34]
movzx ecx, word [ebx]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x240]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10129a84.33
cmp word [esi + 0x15c], 0
je 0x1012b07a
cmp word [esi + 0x15e], 0
je 0x1012b07a
mov ecx, eax
mov eax, dword [esi + 0x38]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x5c]
mov ecx, edi
mov dword [ebp - 8], edx
lea edi, [eax + ecx*8]
mov eax, dword [esi + 0xe0]
cmp eax, dword [esi + 0xe4]
jne 0x1012affc
mov eax, dword [edx + 4]
sub eax, dword [edi + 4]
push eax
mov eax, dword [edx]
sub eax, dword [edi]
push eax
mov eax, dword [esi + 0x244]
push esi
call eax
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
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 - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx], eax
jmp case.0x10129a84.33
mov dword [ebp - 0xc], eax
mov eax, dword [edx]
sub eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
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 - 0x5c], eax
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
sub eax, dword [edi + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
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 - 0x58], eax
push dword [ebp - 0x58]
mov eax, dword [esi + 0x244]
push dword [ebp - 0x5c]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10129a84.33
mov ecx, eax
mov eax, dword [esi + 0x30]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x54]
mov ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 4]
sub eax, dword [ecx + 4]
push eax
mov eax, dword [edx]
sub eax, dword [ecx]
push eax
mov eax, dword [esi + 0x244]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10125ff0
jne 0x1012b0c4
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x10129a84.33
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x23
jne 0x1012b104
mov eax, dword [esi + 0x254]
cmp eax, 0x10125ff0
jne 0x1012b0f7
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x10129a84.33
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [esi + 0xd8]
mov dword [ebx], eax
jmp case.0x10129a84.33
mov byte [esi + 0x140], 1
jmp case.0x10129a84.33
mov byte [esi + 0x140], 0
jmp case.0x10129a84.33
mov dword [esi + 0xc], 0x87
jmp case.0x10129a84.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setl cl
mov dword [ebx], ecx
jmp case.0x10129a84.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setle cl
mov dword [ebx], ecx
jmp case.0x10129a84.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setg cl
mov dword [ebx], ecx
jmp case.0x10129a84.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setge cl
mov dword [ebx], ecx
jmp case.0x10129a84.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
sete cl
mov dword [ebx], ecx
jmp case.0x10129a84.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setne cl
mov dword [ebx], ecx
jmp case.0x10129a84.33
mov ecx, dword [esi + 0x23c]
mov eax, dword [ebx]
cmp ecx, 0x10127530
jne 0x1012b1f4
test eax, eax
js 0x1012b1cf
add eax, 0x10
mov edx, 0
and eax, 0xffffffe0
cmovge edx, eax
xor ecx, ecx
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [ebx], ecx
jmp case.0x10129a84.33
mov edx, 0x10
sub edx, eax
xor eax, eax
and edx, 0xffffffe0
neg edx
test edx, edx
cmovg edx, eax
xor ecx, ecx
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [ebx], ecx
jmp case.0x10129a84.33
push 0
push eax
push esi
call ecx
mov edx, eax
xor ecx, ecx
and dl, 0x7f
add esp, 0xc
cmp dl, 0x40
sete cl
mov dword [ebx], ecx
jmp case.0x10129a84.33
mov ecx, dword [esi + 0x23c]
mov eax, dword [ebx]
cmp ecx, 0x10127530
jne 0x1012b265
test eax, eax
js 0x1012b245
add eax, 0x10
mov ecx, 0
and eax, 0xffffffe0
cmovge ecx, eax
mov eax, 0
test cl, 0x7f
sete al
mov dword [ebx], eax
jmp case.0x10129a84.33
mov ecx, 0x10
sub ecx, eax
xor eax, eax
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, eax
test cl, 0x7f
sete al
mov dword [ebx], eax
jmp case.0x10129a84.33
push 0
push eax
push esi
call ecx
mov ecx, eax
add esp, 0xc
test cl, 0x7f
mov eax, 0
sete al
mov dword [ebx], eax
jmp case.0x10129a84.33
cmp dword [ebx], 0
jne case.0x10129a84.33
mov edi, 1
xor bl, bl
push esi
call fcn.10127820
add esp, 4
cmp al, 1
je case.0x10129a84.33
movzx eax, byte [esi + 0x174]
sub eax, 0x1b
je 0x1012b2c1
sub eax, 0x3d
je 0x1012b2be
sub eax, 1
jne 0x1012b2c7
sub edi, 1
jmp 0x1012b2c4
inc edi
jmp 0x1012b2c7
cmp edi, 1
sete bl
test bl, bl
je 0x1012b292
jmp case.0x10129a84.33
cmp dword [ebx], 0
je 0x1012a02a
cmp dword [ebx + 4], 0
je 0x1012a02a
mov eax, 1
mov dword [ebx], eax
jmp case.0x10129a84.33
cmp dword [ebx], 0
jne 0x1012b303
cmp dword [ebx + 4], 0
jne 0x1012b303
xor eax, eax
mov dword [ebx], eax
jmp case.0x10129a84.33
mov eax, 1
mov dword [ebx], eax
jmp case.0x10129a84.33
xor eax, eax
cmp dword [ebx], eax
sete al
mov dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10125ff0
jne 0x1012b336
movzx edi, word [esi + 0x100]
mov dword [ebp - 4], edi
jmp 0x1012b342
push esi
call eax
mov ecx, dword [esi + 0x1c]
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov edx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
cmp eax, 1
jb 0x1012b470
nop dword [eax]
cmp edx, 2
jl 0x1012b457
mov eax, dword [esi + 0x18]
lea ecx, [edx - 2]
mov dword [esi + 0x1c], ecx
mov edx, ecx
movzx ebx, word [eax + ecx*4 + 4]
mov edi, dword [eax + ecx*4]
cmp bx, word [esi + 0x2c]
jae 0x1012b42f
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x1012b3a4
sub eax, 1
jne 0x1012b3a7
add ecx, 0x20
jmp 0x1012b3a7
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 4], eax
jne 0x1012b428
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 0x1012b416
cmp byte [esi + 0x267], 0
je 0x1012b416
cmp byte [esi + 0x268], 0
je 0x1012b3f8
cmp byte [esi + 0x269], 0
jne 0x1012b428
cmp byte [esi + 0x234], 0
je 0x1012b40b
cmp word [esi + 0x130], 0
jne 0x1012b416
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x1012b428
push edx
push ebx
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x10
mov ecx, dword [esi + 0x1c]
mov edx, ecx
jmp 0x1012b43f
cmp byte [esi + 0x235], 0
je 0x1012b43f
mov dword [esi + 0xc], 0x86
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 8]
jbe 0x1012b360
mov dword [esi + 0x20], ecx
jmp case.0x10129a84.33
cmp byte [esi + 0x235], 0
je 0x1012b467
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
xor ecx, ecx
mov dword [esi + 0x20], ecx
jmp case.0x10129a84.33
mov ax, word [ebx]
mov word [esi + 0x150], ax
jmp case.0x10129a84.33
mov eax, dword [ebx]
cmp eax, 6
jbe 0x1012b49a
mov dword [esi + 0xc], 0x84
jmp case.0x10129a84.33
mov word [esi + 0x152], ax
jmp case.0x10129a84.33
mov eax, dword [ebx + 4]
add dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [ebx + 4]
sub dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [ebx + 4]
test eax, eax
jne 0x1012b4cd
mov dword [esi + 0xc], 0x85
jmp case.0x10129a84.33
push eax
push 0x40
push dword [ebx]
call fcn.10115e70
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10129a84.33
push 0x40
push dword [ebx + 4]
push dword [ebx]
call fcn.10115d90
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [ebx]
test eax, eax
jns case.0x10129a84.33
neg eax
mov dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [ebx]
neg eax
mov dword [ebx], eax
jmp case.0x10129a84.33
and dword [ebx], 0xffffffc0
jmp case.0x10129a84.33
mov eax, dword [ebx]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [ebx], eax
jmp case.0x10129a84.33
mov edx, dword [esi + 0x23c]
mov ecx, dword [esi + eax*4 - 0x94]
mov eax, dword [ebx]
cmp edx, 0x10127530
jne 0x1012b576
test eax, eax
js 0x1012b55e
add ecx, 0x10
add eax, ecx
mov ecx, 0
and eax, 0xffffffe0
cmovge ecx, eax
mov dword [ebx], ecx
jmp case.0x10129a84.33
sub ecx, eax
xor eax, eax
add ecx, 0x10
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, eax
mov dword [ebx], ecx
jmp case.0x10129a84.33
push ecx
push eax
push esi
call edx
mov ecx, eax
add esp, 0xc
mov dword [ebx], ecx
jmp case.0x10129a84.33
mov ecx, dword [ebx]
mov eax, dword [esi + eax*4 - 0xa4]
test ecx, ecx
js 0x1012b5a4
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [ebx], ecx
jmp case.0x10129a84.33
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg ecx, eax
mov dword [ebx], ecx
jmp case.0x10129a84.33
mov edi, dword [ebx]
cmp edi, dword [esi + 0x180]
jb 0x1012b5d7
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
mov eax, dword [esi + 0x108]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
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 - 0x60], eax
mov ecx, dword [esi + 0x184]
mov eax, dword [ebp - 0x60]
mov dword [ecx + edi*4], eax
jmp case.0x10129a84.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10125ff0
jne 0x1012b633
movzx edi, word [esi + 0x100]
mov dword [ebp - 4], edi
jmp 0x1012b63f
push esi
call eax
mov ecx, dword [esi + 0x1c]
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov edx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
cmp eax, 1
jb 0x1012b470
cmp edx, 2
jl 0x1012b457
mov eax, dword [esi + 0x18]
lea ecx, [edx - 2]
mov dword [esi + 0x1c], ecx
mov edx, ecx
movzx ebx, word [eax + ecx*4 + 4]
mov edi, dword [eax + ecx*4]
cmp bx, word [esi + 0x2c]
jae 0x1012b725
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x1012b69a
sub eax, 1
jne 0x1012b69d
add ecx, 0x20
jmp 0x1012b69d
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 4], eax
jne 0x1012b71e
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 0x1012b70c
cmp byte [esi + 0x267], 0
je 0x1012b70c
cmp byte [esi + 0x268], 0
je 0x1012b6ee
cmp byte [esi + 0x269], 0
jne 0x1012b71e
cmp byte [esi + 0x234], 0
je 0x1012b701
cmp word [esi + 0x130], 0
jne 0x1012b70c
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x1012b71e
push edx
push ebx
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x10
mov ecx, dword [esi + 0x1c]
mov edx, ecx
jmp 0x1012b735
cmp byte [esi + 0x235], 0
je 0x1012b735
mov dword [esi + 0xc], 0x86
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 8]
jbe 0x1012b656
mov dword [esi + 0x20], ecx
jmp case.0x10129a84.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10125ff0
jne 0x1012b766
movzx edx, word [esi + 0x100]
mov dword [ebp - 0xc], edx
jmp 0x1012b771
push esi
call eax
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, eax
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 1
cmp eax, 1
jb 0x1012b859
nop word [eax + eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x1012b842
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 + 0x180]
jb 0x1012b7c3
cmp byte [esi + 0x235], 0
jne 0x10129c92
jmp 0x1012b82e
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x74
je 0x1012b7e1
sub eax, 1
jne 0x1012b7e4
add ecx, 0x20
jmp 0x1012b7e4
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp edx, eax
jne 0x1012b82e
movzx eax, word [esi + 0x152]
and edi, 0xf
mov ecx, 6
sub ecx, eax
mov eax, dword [esi + 0x260]
cmp edi, 8
sbb edx, edx
add edx, 0xfffffff9
add edx, edi
shl edx, cl
cmp eax, 0x101272d0
jne 0x1012b826
mov eax, dword [esi + 0x184]
add dword [eax + ebx*4], edx
jmp 0x1012b82e
push edx
push ebx
push esi
call eax
add esp, 0xc
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
ja 0x1012b859
mov edx, dword [ebp - 0xc]
jmp 0x1012b790
cmp byte [esi + 0x235], 0
je 0x1012b852
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x10129a84.33
push dword [ebx]
push 0x4000
push esi
call fcn.10127630
add esp, 0xc
mov dword [esi + 0x13c], 6
mov dword [esi + 0x23c], 0x10127480
jmp case.0x10129a84.33
push dword [ebx]
push 0x2d41
push esi
call fcn.10127630
add esp, 0xc
mov dword [esi + 0x13c], 7
mov dword [esi + 0x23c], 0x101274d0
jmp case.0x10129a84.33
cmp dword [ebx + 4], 0
je case.0x10129a84.33
jmp case.0x10129a84.28
cmp dword [ebx + 4], 0
jne case.0x10129a84.33
jmp case.0x10129a84.28
mov dword [esi + 0x13c], 5
mov dword [esi + 0x23c], 0x10127460
jmp case.0x10129a84.33
mov dword [esi + 0x13c], 4
mov dword [esi + 0x23c], 0x101275f0
jmp case.0x10129a84.33
mov dword [esi + 0x13c], 3
mov dword [esi + 0x23c], 0x10127430
jmp case.0x10129a84.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012b945
cmp byte [esi + 0x267], 0
je 0x1012b945
cmp byte [esi + 0x268], 0
je 0x1012b945
cmp byte [esi + 0x269], 0
jne 0x1012b9b9
mov eax, dword [esi + 0x134]
cmp dword [esi + 0x10], eax
jge 0x1012b972
cmp byte [esi + 0x235], 0
je 0x1012b9b9
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x10129a84.33
test eax, eax
jle 0x1012b9b9
dec dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
movzx eax, word [eax + ecx*4]
cmp ax, word [esi + 0x98]
jb 0x1012b99b
cmp byte [esi + 0x235], 0
jne 0x10129c92
jmp 0x1012b9a7
mov ecx, eax
mov eax, dword [esi + 0xa8]
xor byte [eax + ecx], 1
dec dword [esi + 0x134]
cmp dword [esi + 0x134], 0
jg 0x1012b976
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x10129a84.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012b9f5
cmp byte [esi + 0x267], 0
je 0x1012b9f5
cmp byte [esi + 0x268], 0
je 0x1012b9f5
cmp byte [esi + 0x269], 0
jne case.0x10129a84.33
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x10129c85
cmp ax, cx
jae 0x10129c85
mov edx, eax
cmp ax, di
ja case.0x10129a84.33
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
or byte [ecx + eax], 1
cmp dx, di
jbe 0x1012ba20
jmp case.0x10129a84.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012ba62
cmp byte [esi + 0x267], 0
je 0x1012ba62
cmp byte [esi + 0x268], 0
je 0x1012ba62
cmp byte [esi + 0x269], 0
jne case.0x10129a84.33
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x10129c85
cmp ax, cx
jae 0x10129c85
mov edx, eax
cmp ax, di
ja case.0x10129a84.33
nop dword [eax]
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
and byte [ecx + eax], 0xfe
cmp dx, di
jbe 0x1012ba90
jmp case.0x10129a84.33
mov ecx, dword [ebx]
movzx edx, cl
cmp edx, 0xff
jne 0x1012bac1
mov byte [esi + 0x155], 1
jmp case.0x10129a84.33
test cl, cl
je 0x1012bb68
test ecx, 0x100
je 0x1012bae5
movzx eax, word [esi + 0x100]
cmp eax, edx
ja 0x1012bae5
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x200
je 0x1012baff
cmp byte [esi + 0x11d], 0
je 0x1012baff
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x400
je 0x1012bb19
cmp byte [esi + 0x11e], 0
je 0x1012bb19
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x800
je 0x1012bb35
movzx eax, word [esi + 0x100]
cmp eax, edx
jbe 0x1012bb35
mov byte [esi + 0x155], 0
mov ecx, dword [ebx]
test ecx, 0x1000
je 0x1012bb4f
cmp byte [esi + 0x11d], 0
je 0x1012bb4f
mov byte [esi + 0x155], 0
mov ecx, dword [ebx]
test ecx, 0x2000
je case.0x10129a84.33
cmp byte [esi + 0x11e], 0
je case.0x10129a84.33
mov byte [esi + 0x155], 0
jmp case.0x10129a84.33
movzx ecx, word [ebx]
movzx eax, word [ebx + 4]
cmp cx, word [esi + 0x50]
jae 0x10129c85
cmp ax, word [esi + 0x74]
jae 0x10129c85
mov ebx, ecx
mov ecx, dword [esi + 0x54]
shl ebx, 3
add ecx, ebx
mov dword [ebp - 0x1c], ebx
mov ebx, eax
mov eax, dword [esi + 0x78]
shl ebx, 3
mov dword [ebp - 0x10], ebx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub edi, dword [eax + ebx]
mov eax, dword [eax + ebx + 4]
mov ebx, ecx
sub ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
test edi, edi
jne 0x1012bbcf
test ebx, ebx
jne 0x1012bbcf
xor dl, dl
mov edi, 0x4000
mov byte [ebp - 5], dl
lea eax, [esi + 0x126]
and dl, 1
push eax
mov eax, edi
cmove eax, ebx
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
test dl, dl
cmove eax, edi
push eax
call fcn.10127320
mov ecx, dword [esi + 0x58]
add esp, 0xc
add ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x10]
mov edi, dword [ecx]
sub edi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov ebx, eax
sub ebx, edx
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x1012bc21
test ebx, ebx
jne 0x1012bc21
mov edi, 0x4000
xor cl, cl
jmp 0x1012bc24
mov cl, byte [ebp - 5]
lea eax, [esi + 0x12a]
and cl, 1
push eax
mov eax, edi
cmove eax, ebx
sub edx, dword [ebp - 0x10]
test cl, cl
push eax
cmove edx, edi
push edx
call fcn.10127320
push esi
call fcn.10125db0
add esp, 0x10
jmp case.0x10129a84.33
mov edx, dword [ebx]
xor ecx, ecx
mov edi, dword [esi]
test dl, 1
je 0x1012bc61
mov eax, dword [edi + 0x60]
mov ecx, dword [eax + 0x40]
mov eax, edi
test dl, 2
je 0x1012bc77
cmp byte [esi + 0x11d], 0
je 0x1012bc77
or ecx, 0x100
test dl, 4
je 0x1012bc8b
cmp byte [esi + 0x11e], 0
je 0x1012bc8b
or ecx, 0x200
test dl, 8
je 0x1012bca1
cmp dword [edi + 0x2e0], 0
mov eax, edi
je 0x1012bca1
or ecx, 0x400
test dl, 0x20
je 0x1012bcb5
cmp byte [esi + 0x264], 0
je 0x1012bcb5
or ecx, 0x1000
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012bd36
cmp byte [esi + 0x265], 0
je 0x1012bd36
mov edi, dword [ebx]
mov eax, edx
mov edx, ecx
or edx, 0x2000
and al, 0x40
cmove edx, ecx
mov ecx, edx
mov dword [ebp - 0xc], ecx
test edi, 0x100
je 0x1012bcfa
cmp byte [esi + 0x266], 0
mov dword [ebp - 0xc], ecx
je 0x1012bcfa
or ecx, 0x8000
mov dword [ebp - 0xc], ecx
or ecx, 0x20000
mov eax, edi
and eax, 0x400
mov eax, edi
cmove ecx, dword [ebp - 0xc]
mov edx, ecx
or edx, 0x40000
and eax, 0x800
cmove edx, ecx
mov ecx, edx
test edi, 0x1000
je 0x1012bd36
cmp byte [esi + 0x26a], 0
je 0x1012bd36
or ecx, 0x80000
mov dword [ebx], ecx
jmp case.0x10129a84.33
cmp dword [esi + 0x164], 3
jne 0x1012bd52
mov dword [esi + 0xc], 0x9c
jmp case.0x10129a84.33
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x1012bd80
mov eax, dword [esi + 0x19c]
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
cmp edi, eax
jae 0x1012bd7e
mov ecx, dword [ebx]
nop
cmp dword [edi + 0xc], ecx
je 0x1012bd7c
add edi, 0x18
cmp edi, eax
jb 0x1012bd70
cmp edi, eax
jne 0x1012bd99
mov eax, dword [esi + 0x19c]
cmp eax, dword [esi + 0x1a0]
jae 0x1012be24
inc eax
mov dword [esi + 0x19c], eax
mov eax, dword [ebx]
cmp eax, 0xff
ja 0x1012be24
movzx eax, al
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x16c]
inc eax
mov dword [edi + 4], eax
mov eax, dword [esi + 0x164]
mov dword [edi], eax
mov byte [edi + 0x10], 1
mov eax, dword [ebx]
cmp eax, dword [esi + 0x1ac]
jbe 0x1012bdd5
movzx eax, al
mov dword [esi + 0x1ac], eax
push esi
call fcn.10127820
add esp, 4
test al, al
jne case.0x10129a84.33
nop word [eax + eax]
movzx eax, byte [esi + 0x174]
sub eax, 0x2c
je 0x1012a3e6
sub eax, 1
je 0x1012a3d8
sub eax, 0x5c
je 0x1012a3e6
push esi
call fcn.10127820
add esp, 4
test al, al
je 0x1012bdf0
jmp case.0x10129a84.33
mov dword [esi + 0xc], 0x8d
jmp case.0x10129a84.33
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebx + 8], eax
mov dword [ebx + 4], edx
mov dword [ebx], ecx
jmp case.0x10129a84.33
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jle case.0x10129a84.33
mov dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jge case.0x10129a84.33
mov dword [ebx], eax
jmp case.0x10129a84.33
mov eax, dword [ebx]
test eax, eax
js case.0x10129a84.33
movzx eax, ax
mov dword [esi + 0x158], eax
jmp case.0x10129a84.33
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
lea eax, [edi - 1]
cmp eax, 2
ja 0x10129c85
lea ecx, [edi - 1]
mov eax, 1
shl eax, cl
test edx, edx
je 0x1012bebd
cmp edx, eax
je 0x1012bebd
cmp byte [esi + 0x235], 0
je case.0x10129a84.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129a84.33
not al
and al, byte [esi + 0x154]
or al, dl
mov byte [esi + 0x154], al
cmp edi, 3
jne case.0x10129a84.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne case.0x10129a84.33
cmp edx, 4
setne al
mov byte [esi + 0x267], al
jmp case.0x10129a84.33
mov eax, dword [esi]
mov ecx, dword [eax + 0x2e0]
test ecx, ecx
je case.0x10129a84.40
sub edi, dword [esi + 0x10]
mov edx, dword [ecx]
inc edi
mov ecx, dword [ecx + 8]
mov dword [ebp - 4], ecx
cmp edx, edi
jb 0x1012bf22
mov dword [esi + 0xc], 0x82
jmp case.0x10129a84.33
test ecx, ecx
je 0x1012bfdd
xor edi, edi
test edx, edx
je case.0x10129a84.33
cmp edx, 0x10
jb 0x1012bfb2
lea eax, [edx - 1]
lea eax, [ecx + eax*4]
cmp ebx, eax
ja 0x1012bf4d
lea eax, [edx - 1]
lea eax, [ebx + eax*4]
cmp eax, ecx
jae 0x1012bfb2
mov esi, dword [ebp - 4]
mov eax, edx
and eax, 0xfffffff0
add ecx, 0x30
mov dword [ebp - 0x1c], eax
sub esi, ebx
mov eax, 2
mov dword [ebp - 0x10], esi
movd xmm1, eax
lea eax, [ebx + 0x10]
nop dword [eax]
movups xmm0, xmmword [ecx - 0x30]
add edi, 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 edi, dword [ebp - 0x1c]
jb 0x1012bf70
mov esi, dword [ebp + 8]
cmp edi, edx
jae case.0x10129a84.33
mov esi, dword [ebp - 4]
lea ecx, [ebx + edi*4]
sub esi, ebx
sub edx, edi
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
sar eax, 2
mov dword [ecx - 4], eax
sub edx, 1
jne 0x1012bfc4
mov esi, dword [ebp + 8]
jmp case.0x10129a84.33
test edx, edx
je case.0x10129a84.33
mov ecx, edx
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
jmp case.0x10129a84.33
mov eax, dword [esi]
cmp dword [eax + 0x2e0], 0
je case.0x10129a84.40
mov dword [ebx], 0x11
jmp case.0x10129a84.33
cmp dl, 0xe0
jb 0x1012c020
push ebx
push esi
call fcn.10126d70
add esp, 8
jmp case.0x10129a84.33
cmp dl, 0xc0
jb 0x1012c034
push ebx
push esi
call fcn.10126af0
add esp, 8
jmp case.0x10129a84.33
cmp dl, 0xb8
jb 0x1012c0b4
sub edi, dword [esi + 0x10]
mov ecx, 0xb7
movzx eax, dl
inc edi
sub ax, cx
movzx ecx, ax
mov eax, ecx
mov dword [ebp - 4], eax
cmp eax, edi
jb 0x1012c060
mov dword [esi + 0xc], 0x82
jmp case.0x10129a84.33
inc dword [esi + 0x16c]
xor eax, eax
cmp ax, cx
jae 0x1012c0ab
nop dword [eax]
add dword [esi + 0x16c], 2
lea ebx, [ebx + 4]
mov edi, dword [esi + 0x16c]
mov eax, 0x100
mov edx, dword [esi + 0x168]
cwde
movzx ecx, byte [edx + edi - 2]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + edi - 1]
add cx, ax
sub dword [ebp - 4], 1
movsx eax, cx
mov dword [ebx - 4], eax
jne 0x1012c070
mov byte [esi + 0x17c], 0
jmp case.0x10129a84.33
cmp dl, 0xb0
jb case.0x10129a84.40
sub edi, dword [esi + 0x10]
mov ecx, 0xaf
movzx eax, dl
inc edi
sub ax, cx
movzx ecx, ax
movzx eax, cx
mov dword [ebp - 0x10], ecx
cmp eax, edi
jb 0x1012c0de
mov dword [esi + 0xc], 0x82
jmp case.0x10129a84.33
mov edi, 1
mov eax, edi
cmp ax, cx
ja case.0x10129a84.33
nop word [eax + eax]
mov ecx, dword [esi + 0x168]
mov eax, dword [esi + 0x16c]
movzx edx, di
inc edi
add ecx, edx
movzx eax, byte [ecx + eax]
mov dword [ebx + edx*4 - 4], eax
cmp di, word [ebp - 0x10]
jbe 0x1012c0f0
jmp case.0x10129a84.33
push esi
call fcn.10127220
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1012c1c1
cmp eax, 0x80
jne 0x1012c280
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x1012c149
mov eax, dword [esi + 0x19c]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
jmp 0x1012c150
xor edx, edx
nop dword [eax + eax]
cmp ecx, edx
jae 0x1012c234
cmp byte [ecx + 0x10], 0
je 0x1012c169
mov al, byte [esi + 0x174]
cmp al, byte [ecx + 0xc]
je 0x1012c16e
add ecx, 0x18
jmp 0x1012c150
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jge 0x1012c221
mov eax, dword [esi + 0x164]
shl edx, 4
add edx, dword [esi + 0x1b8]
mov dword [edx], eax
mov eax, dword [esi + 0x16c]
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.10126330
add esp, 0xc
cmp al, 1
jne 0x1012c1ea
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x17c], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
je 0x1012c1dc
mov eax, dword [esi + 0x178]
add dword [esi + 0x16c], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0xf4240
ja 0x1012c259
mov edi, dword [esi + 0x16c]
cmp edi, dword [esi + 0x170]
jge 0x1012c247
cmp byte [esi + 0x1ec], 0
je 0x10129950
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xc], 0x81
mov eax, 0x81
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xc], 0x86
mov eax, 0x86
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xc], 0x80
mov eax, 0x80
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1b0], 0
jg 0x1012c278
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x8b
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xc], 0x82
mov eax, 0x82
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x83
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret