Function at 0x10129813
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 0x10129682
cmp byte [esi + 0x265], 0
je 0x10129682
test dword [edi + 8], 0x2000
jne 0x10129682
mov al, byte [esi + 0x154]
shr al, 2
not al
and al, 1
jmp 0x10129684
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 0x101296d2
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 0x10129715
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 0x1012971d
imul eax, edx, 0x16
add eax, 0x12c
mov dword [esi + 0x270], eax
imul ecx, dword [edi + 0x10], 0x64
cmp eax, ecx
jbe 0x10129733
mov dword [esi + 0x270], ecx
jmp 0x10129735
mov ecx, eax
movzx eax, word [esi + 0xde]
mov edi, 0x101272c0
movzx ebx, word [esi + 0xdc]
mov edx, 0x1012cdf0
mov dword [esi + 0x278], ecx
cmp bx, ax
mov ecx, 0x101272a0
mov dword [ebp - 0xc], eax
cmove edi, ecx
mov dword [ebp - 4], 0x101271b0
mov ecx, 0x1012cdd0
mov dword [esi + 0x104], 0
cmove edx, ecx
mov eax, 0x10125ee0
mov ecx, 0x101271d0
cmove ecx, dword [ebp - 4]
cmp bx, word [ebp - 0xc]
mov dword [ebp - 4], 0x10125ed0
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.10125c90
movzx eax, byte [esi + 0x13c]
add esp, 4
cmp eax, 7
ja case.default.0x101297c4
jmp dword [eax*4 + 0x1012c168]
mov dword [esi + 0x23c], 0x10127340
jmp case.default.0x101297c4
mov dword [esi + 0x23c], 0x10127450
jmp case.default.0x101297c4
mov dword [esi + 0x23c], 0x101274d0
jmp case.default.0x101297c4
mov dword [esi + 0x23c], 0x10127310
jmp case.default.0x101297c4
mov dword [esi + 0x23c], 0x10127490
jmp case.default.0x101297c4
mov dword [esi + 0x23c], 0x10127410
jmp case.default.0x101297c4
mov dword [esi + 0x23c], 0x10127360
jmp case.default.0x101297c4
mov dword [esi + 0x23c], 0x101273b0
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 + 0x102066b8]
mov dword [esi + 0x178], ecx
test ecx, ecx
jns 0x1012987d
lea eax, [edi + 1]
cmp eax, dword [esi + 0x170]
jge 0x1012c158
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 0x1012c158
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x10]
mov bl, byte [eax + 0x102065b8]
movzx eax, bl
shr eax, 4
sub ecx, eax
mov dword [esi + 0x1c], ecx
jns 0x101298f4
cmp byte [esi + 0x235], 0
jne 0x1012c0ee
xor edi, edi
mov byte [ebp - 5], dl
test bl, 0xf0
jbe 0x101298eb
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 + 0x102065b8]
shr al, 4
movzx eax, al
cmp di, ax
jb 0x101298c0
mov dword [esi + 0x1c], 0
xor ecx, ecx
cmp dl, 0x91
jne 0x1012991f
mov eax, dword [esi]
mov eax, dword [eax + 0x2e0]
test eax, eax
je 0x10129914
mov eax, dword [eax]
add eax, ecx
movzx edi, dl
mov dword [esi + 0x20], eax
mov dword [ebp - 4], edi
jmp 0x10129934
mov eax, dword [esi + 0x20]
movzx edi, dl
mov dword [ebp - 4], edi
jmp 0x10129934
movzx ebx, dl
mov dword [ebp - 4], ebx
movzx eax, byte [ebx + 0x102065b8]
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 0x1012c145
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.0x10129964
jmp dword [eax*4 + 0x1012c188]
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 0x101299a4
mov word [esi + 0x12a], cx
mov word [esi + 0x12c], ax
mov word [esi + 0x126], cx
mov word [esi + 0x128], ax
test dl, 2
jne 0x10129acb
mov word [esi + 0x12e], cx
push esi
mov word [esi + 0x130], ax
call fcn.10125c90
jmp 0x1012bff8
movzx eax, word [ebx]
lea edi, [esi + 0x12a]
push edi
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.10127070
add esp, 0x10
test al, al
jne case.0x10129964.33
mov eax, dword [edi]
push esi
mov dword [esi + 0x126], eax
call fcn.10125c90
jmp 0x1012bff8
lea eax, [esi + 0x12e]
push eax
movzx eax, word [ebx]
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.10127070
add esp, 0x10
test al, al
jne case.0x10129964.33
push esi
call fcn.10125c90
jmp 0x1012bff8
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
test ecx, ecx
jne 0x10129a35
test eax, eax
je 0x10129a6d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], ecx
call fcn.101185e0
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.10125c90
jmp 0x1012bff8
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
test ecx, ecx
jne 0x10129a93
test eax, eax
je 0x10129acb
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], ecx
call fcn.101185e0
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.10125c90
jmp 0x1012bff8
movsx eax, word [esi + 0x12a]
mov dword [ebx], eax
movsx eax, word [esi + 0x12c]
mov dword [ebx + 4], eax
jmp case.0x10129964.33
movsx eax, word [esi + 0x12e]
mov dword [ebx], eax
movsx eax, word [esi + 0x130]
mov dword [ebx + 4], eax
jmp case.0x10129964.33
mov eax, dword [esi + 0x12a]
push esi
mov dword [esi + 0x12e], eax
call fcn.10125c90
jmp 0x1012bff8
push ebx
push esi
call fcn.101265b0
add esp, 8
jmp case.0x10129964.33
mov ax, word [ebx]
mov word [esi + 0x120], ax
jmp case.0x10129964.33
mov ax, word [ebx]
mov word [esi + 0x122], ax
jmp case.0x10129964.33
mov ax, word [ebx]
mov word [esi + 0x124], ax
jmp case.0x10129964.33
mov eax, dword [ebx]
sub eax, 0
je 0x10129b98
sub eax, 1
je 0x10129b7e
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10129bb0
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.0x10129964.33
mov eax, dword [ebx]
sub eax, 0
je 0x10129c05
sub eax, 1
je 0x10129beb
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10129c1d
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.0x10129964.33
mov eax, dword [ebx]
sub eax, 0
je 0x10129c72
sub eax, 1
je 0x10129c58
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10129c8a
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.0x10129964.33
mov eax, dword [ebx]
sub eax, 0
je 0x10129ce2
sub eax, 1
je 0x10129cc8
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10129cfa
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.0x10129964.33
mov eax, dword [ebx]
test eax, eax
jns 0x10129d5f
mov dword [esi + 0xc], 0x84
jmp case.0x10129964.33
cmp eax, 0xffff
cmovg eax, dword [ebp - 0x20]
mov dword [esi + 0x134], eax
jmp case.0x10129964.33
mov dword [esi + 0x13c], 1
mov dword [esi + 0x23c], 0x10127450
jmp case.0x10129964.33
mov dword [esi + 0x13c], 0
mov dword [esi + 0x23c], 0x10127490
jmp case.0x10129964.33
mov eax, dword [ebx]
mov dword [esi + 0x138], eax
jmp case.0x10129964.33
mov edi, 1
push esi
call fcn.10127700
add esp, 4
cmp al, 1
je case.0x10129964.33
movzx eax, byte [esi + 0x174]
sub eax, 0x58
je 0x10129ddc
sub eax, 1
jne 0x10129ddd
dec edi
jmp 0x10129ddd
inc edi
test edi, edi
jne 0x10129db7
jmp case.0x10129964.33
mov eax, dword [ebx]
test eax, eax
jne 0x10129df4
test ecx, ecx
je 0x10129d53
add dword [esi + 0x16c], eax
mov edx, dword [esi + 0x16c]
js 0x10129d53
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
jle 0x10129e25
mov eax, dword [esi + 0x1b8]
add ecx, ecx
mov eax, dword [eax + ecx*8 - 4]
cmp edx, dword [eax + 8]
jg 0x10129d53
mov byte [esi + 0x17c], 0
cmp dword [ebx], 0
jge case.0x10129964.33
inc dword [esi + 0x274]
mov eax, dword [esi + 0x274]
cmp eax, dword [esi + 0x278]
jbe case.0x10129964.33
mov dword [esi + 0xc], 0x8b
jmp case.0x10129964.33
mov eax, dword [ebx]
mov dword [esi + 0x144], eax
jmp case.0x10129964.33
mov eax, dword [ebx]
mov dword [esi + 0x148], eax
jmp case.0x10129964.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.0x10129964.33
mov eax, dword [ebx]
mov dword [ebx + 4], eax
jmp case.0x10129964.33
mov dword [esi + 0x20], 0
jmp case.0x10129964.33
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp case.0x10129964.33
mov eax, dword [esi + 0x10]
mov dword [ebx], eax
jmp case.0x10129964.33
mov eax, dword [ebx]
test eax, eax
jle 0x10129efa
cmp eax, ecx
jg 0x10129efa
sub ecx, eax
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x10129964.33
cmp byte [esi + 0x235], 0
je 0x10129f0a
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x10129964.33
mov edx, dword [ebx]
test edx, edx
jle 0x10129b65
cmp edx, ecx
jg 0x10129b65
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.0x10129964.33
movzx eax, word [ebx]
movzx ebx, word [ebx + 4]
mov dword [ebp - 4], eax
cmp ax, word [esi + 0x50]
jae 0x10129b65
cmp bx, word [esi + 0x2c]
jae 0x10129b65
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.0x10129964.33
movzx eax, word [ebx]
cmp ax, word [esi + 0x2c]
jb 0x10129feb
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.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.0x10129964.33
mov eax, dword [esi + 0x1a8]
mov edx, dword [ebx + 4]
inc eax
mov dword [ebp - 4], eax
cmp edx, eax
jae 0x10129b72
mov edi, dword [esi + 0x198]
test edi, edi
je 0x1012a047
lea eax, [edx + edx*2]
lea ecx, [edi + eax*8]
jmp 0x1012a049
xor ecx, ecx
mov eax, dword [esi + 0x190]
cmp dword [ebp - 4], eax
jne 0x1012a059
cmp dword [ecx + 0xc], edx
je 0x1012a084
mov ecx, edi
test ecx, ecx
je 0x10129b72
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x1012a07e
nop dword [eax]
cmp dword [ecx + 0xc], edx
je 0x1012a07c
add ecx, 0x18
cmp ecx, eax
jb 0x1012a070
cmp ecx, eax
je 0x10129b72
cmp byte [ecx + 0x10], 0
je 0x10129b72
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jl 0x1012a0a8
mov dword [esi + 0xc], 0x82
jmp case.0x10129964.33
cmp dword [ebx], 0
jle case.0x10129964.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.10126210
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.0x10129964.33
mov dword [esi + 0xc], 0x8b
jmp case.0x10129964.33
mov edx, dword [ebx]
mov ebx, dword [esi + 0x1a8]
inc ebx
cmp edx, ebx
jae 0x10129b72
mov edi, dword [esi + 0x198]
test edi, edi
je 0x10129b72
lea eax, [edx + edx*2]
lea ecx, [edi + eax*8]
mov eax, dword [esi + 0x190]
cmp ebx, eax
jne 0x1012a149
cmp dword [ecx + 0xc], edx
je 0x1012a169
mov ecx, edi
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x1012a163
cmp dword [ecx + 0xc], edx
je 0x1012a161
add ecx, 0x18
cmp ecx, eax
jb 0x1012a155
cmp ecx, eax
je 0x10129b72
cmp byte [ecx + 0x10], 0
je 0x10129b72
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jl 0x1012a18d
mov dword [esi + 0xc], 0x82
jmp case.0x10129964.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.10126210
add esp, 0xc
mov byte [esi + 0x17c], 0
jmp case.0x10129964.33
mov edx, dword [esi + 0x164]
cmp edx, 3
jne 0x1012a1e9
mov dword [esi + 0xc], 0x9c
jmp case.0x10129964.33
mov edi, dword [esi + 0x198]
test edi, edi
je 0x1012a201
mov eax, dword [esi + 0x190]
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
jmp 0x1012a203
xor eax, eax
mov ecx, dword [ebx]
cmp edi, eax
jae 0x1012a21e
nop dword [eax]
cmp dword [edi + 0xc], ecx
je 0x1012a21c
add edi, 0x18
cmp edi, eax
jb 0x1012a210
cmp edi, eax
jne 0x1012a235
mov eax, dword [esi + 0x190]
cmp eax, dword [esi + 0x194]
jae 0x1012a23d
inc eax
mov dword [esi + 0x190], eax
cmp ecx, 0xffff
jbe 0x1012a249
mov dword [esi + 0xc], 0x8c
jmp case.0x10129964.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 0x1012a276
mov dword [esi + 0x1a8], edx
push esi
call fcn.10127700
add esp, 4
test al, al
jne case.0x10129964.33
nop word [eax + eax]
movzx eax, byte [esi + 0x174]
sub eax, 0x2c
je 0x1012a2c6
sub eax, 1
je 0x1012a2b8
sub eax, 0x5c
je 0x1012a2c6
push esi
call fcn.10127700
add esp, 4
test al, al
je 0x1012a290
jmp case.0x10129964.33
mov eax, dword [esi + 0x16c]
mov dword [edi + 8], eax
jmp case.0x10129964.33
mov dword [esi + 0xc], 0x89
jmp case.0x10129964.33
mov eax, dword [esi + 0x1b0]
test eax, eax
jg 0x1012a2e8
mov dword [esi + 0xc], 0x88
jmp case.0x10129964.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 0x1012a31f
inc dword [esi + 0x1b0]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 0x16c], eax
jmp case.0x10129964.33
push dword [eax + 4]
push dword [eax]
push esi
call fcn.10126210
add esp, 0xc
jmp case.0x10129964.33
movzx ebx, word [ebx]
cmp bx, word [esi + 0x2c]
jb 0x1012a354
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.33
test dl, 1
je 0x1012a3c6
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, 0x10127490
jne 0x1012a3b8
test edi, edi
js 0x1012a3a1
add ecx, edi
mov edx, 0x20
and ecx, 0xffffffc0
cmp ecx, 0xffffffe0
lea eax, [ecx + 0x20]
cmovge edx, eax
sub edx, edi
jmp 0x1012a3c8
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 0x1012a3c8
push ecx
push edi
push esi
call eax
mov edx, eax
add esp, 0xc
sub edx, edi
jmp 0x1012a3c8
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.0x10129964.33
push esi
call fcn.101267f0
jmp 0x1012bff8
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x134]
jge 0x1012a41c
cmp byte [esi + 0x235], 0
je 0x1012a510
mov dword [esi + 0xc], 0x86
jmp 0x1012a510
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.10125df0
add esp, 0x14
test al, al
jne case.0x10129964.33
cmp dword [esi + 0x134], 0
jle 0x1012a510
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 0x1012a47a
cmp byte [esi + 0x235], 0
jne 0x10129b72
jmp 0x1012a4fd
cmp word [esi + 0x12e], 0
je 0x1012a4ba
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a4a6
cmp byte [esi + 0x267], 0
je 0x1012a4a6
mov eax, dword [esi + 0x84]
mov edx, ecx
or byte [eax + edx], 8
jmp 0x1012a4bc
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 0x1012a4bc
mov edx, eax
cmp word [esi + 0x130], 0
je 0x1012a4fd
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a4ec
cmp byte [esi + 0x267], 0
je 0x1012a4ec
cmp byte [esi + 0x268], 0
je 0x1012a4ec
cmp byte [esi + 0x269], 0
jne 0x1012a4f3
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 0x1012a453
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x10129964.33
cmp word [esi + 0x160], 0
mov eax, 1
movzx ebx, word [ebx]
je 0x1012a53b
movzx eax, word [esi + 0x76]
movsx edi, bx
cwde
cmp edi, eax
jb 0x1012a55c
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.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.10125df0
add esp, 0x14
test al, al
jne case.0x10129964.33
test bx, bx
jne 0x1012a589
xor ecx, ecx
jmp 0x1012a5a0
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 0x1012a5b0
movzx ebx, word [esi + 0x74]
jmp 0x1012a5c6
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.0x10129964.33
movzx ecx, cx
mov edx, dword [esi + 0x7c]
cmp dword [ebp - 0x74], edx
jne 0x1012a5e3
cmp word [ebp - 0x14], di
je 0x1012a655
cmp word [esi + 0x12e], 0
je 0x1012a611
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a601
cmp byte [esi + 0x267], 0
jne 0x1012a607
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 0x1012a655
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a641
cmp byte [esi + 0x267], 0
je 0x1012a641
cmp byte [esi + 0x268], 0
je 0x1012a641
cmp byte [esi + 0x269], 0
jne 0x1012a64b
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 0x1012a5d5
jmp case.0x10129964.33
cmp dword [ebx], 2
jb 0x1012a683
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.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.10125df0
add esp, 0x14
test al, al
jne case.0x10129964.33
movzx eax, word [esi + 0x160]
test ax, ax
jne 0x1012a6b9
movzx ebx, word [esi + 0x74]
jmp 0x1012a6de
cmp eax, 1
jne 0x1012a6dc
movzx eax, word [esi + 0x76]
test ax, ax
jle 0x1012a6dc
movsx ecx, ax
mov eax, dword [esi + 0x88]
mov ax, word [eax + ecx*2 - 2]
inc ax
movzx ebx, ax
jmp 0x1012a6de
xor ebx, ebx
xor eax, eax
xor edi, edi
cmp ax, bx
jae case.0x10129964.33
xor edx, edx
nop dword [eax]
mov ecx, dword [esi + 0x7c]
cmp dword [ebp - 0x74], ecx
jne 0x1012a6fe
cmp word [ebp - 0x18], di
je 0x1012a75c
cmp word [esi + 0x12e], 0
je 0x1012a722
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a71c
cmp byte [esi + 0x267], 0
jne 0x1012a722
mov eax, dword [ebp - 0x4c]
add dword [ecx + edx], eax
cmp word [esi + 0x130], 0
je 0x1012a75c
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012a752
cmp byte [esi + 0x267], 0
je 0x1012a752
cmp byte [esi + 0x268], 0
je 0x1012a752
cmp byte [esi + 0x269], 0
jne 0x1012a75c
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 0x1012a6f0
jmp case.0x10129964.33
push ebx
push esi
call fcn.10126eb0
add esp, 8
jmp case.0x10129964.33
push esi
call fcn.10126290
jmp 0x1012bff8
movzx edi, word [ebx]
mov dword [ebp - 4], edi
cmp di, word [esi + 0x50]
jae 0x10129b65
movzx eax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x10129b65
cmp word [esi + 0x15e], 0
mov ecx, eax
jne 0x1012a816
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 0x1012a81c
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.0x10129964.33
mov word [esi + 0x120], di
jmp case.0x10129964.33
mov edx, dword [esi + 0x134]
cmp dword [esi + 0x10], edx
jl 0x1012a934
mov ax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x1012a934
test edx, edx
jle 0x1012a944
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 0x1012a8d2
cmp byte [esi + 0x235], 0
jne 0x10129b72
jmp 0x1012a910
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 0x1012a8b0
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x10129964.33
cmp byte [esi + 0x235], 0
je 0x1012a944
mov dword [esi + 0xc], 0x86
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x10129964.33
mov dword [esi + 0x13c], 2
mov dword [esi + 0x23c], 0x10127410
jmp case.0x10129964.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 0x1012aad3
cmp ecx, dword [esi + 0x180]
jae 0x1012aad3
mov eax, dword [esi + 0x258]
cmp eax, 0x101272a0
jne 0x1012a9b5
mov eax, dword [esi + 0x184]
mov edi, dword [eax + ecx*4]
jmp 0x1012a9be
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 0x1012aa2d
movsx eax, word [esi + 0x12e]
push eax
push edi
call fcn.10128d30
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.10128d30
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 0x1012aaac
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, 0x10127410
jne 0x1012aa9f
test eax, eax
js 0x1012aa8c
add edi, 0x10
add eax, edi
mov edi, 0
and eax, 0xffffffe0
cmovge edi, eax
jmp 0x1012aaa9
sub edi, eax
xor eax, eax
add edi, 0x10
and edi, 0xffffffe0
neg edi
test edi, edi
cmovg edi, eax
jmp 0x1012aaa9
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.0x10129964.33
cmp byte [esi + 0x235], 0
je 0x1012aae3
mov dword [esi + 0xc], 0x86
mov word [esi + 0x120], bx
mov word [esi + 0x122], bx
jmp case.0x10129964.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 0x1012ab24
mov dword [esi + 0xc], 0x82
jmp case.0x10129964.33
mov edi, 1
mov edx, edi
cmp dx, ax
ja 0x1012ab61
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 0x1012ab30
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 8]
add eax, ecx
mov dword [esi + 0x20], eax
jmp case.0x10129964.33
mov eax, dword [ebp - 0xc]
add eax, ecx
mov dword [esi + 0x20], eax
jmp case.0x10129964.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 0x1012ab98
mov dword [esi + 0xc], 0x82
jmp case.0x10129964.33
lea eax, [ecx + 2]
mov dword [esi + 0x16c], eax
test dl, dl
je 0x1012ac00
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 0x1012abb0
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 8]
mov byte [esi + 0x17c], 0
mov dword [esi + 0x20], eax
jmp case.0x10129964.33
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [esi + 0x17c], 0
mov dword [esi + 0x20], eax
jmp case.0x10129964.33
movzx eax, word [esi + 0x1d8]
mov edx, dword [ebx]
cmp edx, eax
jb 0x1012ac3b
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.33
mov ecx, dword [esi + 0x1dc]
mov eax, dword [ebx + 4]
mov dword [ecx + edx*4], eax
jmp case.0x10129964.33
movzx eax, word [esi + 0x1d8]
mov ecx, dword [ebx]
cmp ecx, eax
jb 0x1012ac79
cmp byte [esi + 0x235], 0
je 0x1012ac6e
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.33
mov dword [ebx], 0
jmp case.0x10129964.33
mov eax, dword [esi + 0x1dc]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x10129964.33
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x180]
jb 0x1012acac
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.33
mov eax, dword [esi + 0x25c]
mov edx, dword [ebx + 4]
cmp eax, 0x1012cdd0
jne 0x1012acca
mov eax, dword [esi + 0x184]
mov dword [eax + ecx*4], edx
jmp case.0x10129964.33
push edx
push ecx
push esi
call eax
add esp, 0xc
jmp case.0x10129964.33
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x180]
jb 0x1012acf6
cmp byte [esi + 0x235], 0
je 0x1012ac6e
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.33
mov eax, dword [esi + 0x258]
cmp eax, 0x101272a0
jne 0x1012ad13
mov eax, dword [esi + 0x184]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x10129964.33
push ecx
push esi
call eax
add esp, 8
mov dword [ebx], eax
jmp case.0x10129964.33
movzx eax, word [esi + 0x74]
mov ecx, dword [ebx]
cmp ecx, eax
jb 0x1012ad44
cmp byte [esi + 0x235], 0
je 0x1012ad3b
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x10129964.33
test dl, 1
je 0x1012ad66
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.0x10129964.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.0x10129964.33
movzx eax, word [ebx]
mov dword [ebp - 4], eax
cmp ax, word [esi + 0x74]
jb 0x1012ada8
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.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.0x10129964.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.0x10129964.33
movzx eax, word [ebx]
movzx edi, word [ebx + 4]
cmp ax, word [esi + 0x2c]
jae 0x10129efa
cmp di, word [esi + 0x50]
jae 0x10129efa
test dl, 1
je 0x1012ae4e
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.0x10129964.33
cmp word [esi + 0x15c], 0
je 0x1012af5a
cmp word [esi + 0x15e], 0
je 0x1012af5a
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 0x1012aedc
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.0x10129964.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.0x10129964.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.0x10129964.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10125ed0
jne 0x1012afa4
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x10129964.33
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x10129964.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x23
jne 0x1012afe4
mov eax, dword [esi + 0x254]
cmp eax, 0x10125ed0
jne 0x1012afd7
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x10129964.33
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x10129964.33
mov eax, dword [esi + 0xd8]
mov dword [ebx], eax
jmp case.0x10129964.33
mov byte [esi + 0x140], 1
jmp case.0x10129964.33
mov byte [esi + 0x140], 0
jmp case.0x10129964.33
mov dword [esi + 0xc], 0x87
jmp case.0x10129964.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setl cl
mov dword [ebx], ecx
jmp case.0x10129964.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setle cl
mov dword [ebx], ecx
jmp case.0x10129964.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setg cl
mov dword [ebx], ecx
jmp case.0x10129964.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setge cl
mov dword [ebx], ecx
jmp case.0x10129964.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
sete cl
mov dword [ebx], ecx
jmp case.0x10129964.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setne cl
mov dword [ebx], ecx
jmp case.0x10129964.33
mov ecx, dword [esi + 0x23c]
mov eax, dword [ebx]
cmp ecx, 0x10127410
jne 0x1012b0d4
test eax, eax
js 0x1012b0af
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.0x10129964.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.0x10129964.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.0x10129964.33
mov ecx, dword [esi + 0x23c]
mov eax, dword [ebx]
cmp ecx, 0x10127410
jne 0x1012b145
test eax, eax
js 0x1012b125
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.0x10129964.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.0x10129964.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.0x10129964.33
cmp dword [ebx], 0
jne case.0x10129964.33
mov edi, 1
xor bl, bl
push esi
call fcn.10127700
add esp, 4
cmp al, 1
je case.0x10129964.33
movzx eax, byte [esi + 0x174]
sub eax, 0x1b
je 0x1012b1a1
sub eax, 0x3d
je 0x1012b19e
sub eax, 1
jne 0x1012b1a7
sub edi, 1
jmp 0x1012b1a4
inc edi
jmp 0x1012b1a7
cmp edi, 1
sete bl
test bl, bl
je 0x1012b172
jmp case.0x10129964.33
cmp dword [ebx], 0
je 0x10129f0a
cmp dword [ebx + 4], 0
je 0x10129f0a
mov eax, 1
mov dword [ebx], eax
jmp case.0x10129964.33
cmp dword [ebx], 0
jne 0x1012b1e3
cmp dword [ebx + 4], 0
jne 0x1012b1e3
xor eax, eax
mov dword [ebx], eax
jmp case.0x10129964.33
mov eax, 1
mov dword [ebx], eax
jmp case.0x10129964.33
xor eax, eax
cmp dword [ebx], eax
sete al
mov dword [ebx], eax
jmp case.0x10129964.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10125ed0
jne 0x1012b216
movzx edi, word [esi + 0x100]
mov dword [ebp - 4], edi
jmp 0x1012b222
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 0x1012b350
nop dword [eax]
cmp edx, 2
jl 0x1012b337
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 0x1012b30f
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x1012b284
sub eax, 1
jne 0x1012b287
add ecx, 0x20
jmp 0x1012b287
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 4], eax
jne 0x1012b308
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 0x1012b2f6
cmp byte [esi + 0x267], 0
je 0x1012b2f6
cmp byte [esi + 0x268], 0
je 0x1012b2d8
cmp byte [esi + 0x269], 0
jne 0x1012b308
cmp byte [esi + 0x234], 0
je 0x1012b2eb
cmp word [esi + 0x130], 0
jne 0x1012b2f6
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x1012b308
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 0x1012b31f
cmp byte [esi + 0x235], 0
je 0x1012b31f
mov dword [esi + 0xc], 0x86
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 8]
jbe 0x1012b240
mov dword [esi + 0x20], ecx
jmp case.0x10129964.33
cmp byte [esi + 0x235], 0
je 0x1012b347
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
xor ecx, ecx
mov dword [esi + 0x20], ecx
jmp case.0x10129964.33
mov ax, word [ebx]
mov word [esi + 0x150], ax
jmp case.0x10129964.33
mov eax, dword [ebx]
cmp eax, 6
jbe 0x1012b37a
mov dword [esi + 0xc], 0x84
jmp case.0x10129964.33
mov word [esi + 0x152], ax
jmp case.0x10129964.33
mov eax, dword [ebx + 4]
add dword [ebx], eax
jmp case.0x10129964.33
mov eax, dword [ebx + 4]
sub dword [ebx], eax
jmp case.0x10129964.33
mov eax, dword [ebx + 4]
test eax, eax
jne 0x1012b3ad
mov dword [esi + 0xc], 0x85
jmp case.0x10129964.33
push eax
push 0x40
push dword [ebx]
call fcn.10115d50
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10129964.33
push 0x40
push dword [ebx + 4]
push dword [ebx]
call fcn.10115c70
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10129964.33
mov eax, dword [ebx]
test eax, eax
jns case.0x10129964.33
neg eax
mov dword [ebx], eax
jmp case.0x10129964.33
mov eax, dword [ebx]
neg eax
mov dword [ebx], eax
jmp case.0x10129964.33
and dword [ebx], 0xffffffc0
jmp case.0x10129964.33
mov eax, dword [ebx]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [ebx], eax
jmp case.0x10129964.33
mov edx, dword [esi + 0x23c]
mov ecx, dword [esi + eax*4 - 0x94]
mov eax, dword [ebx]
cmp edx, 0x10127410
jne 0x1012b456
test eax, eax
js 0x1012b43e
add ecx, 0x10
add eax, ecx
mov ecx, 0
and eax, 0xffffffe0
cmovge ecx, eax
mov dword [ebx], ecx
jmp case.0x10129964.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.0x10129964.33
push ecx
push eax
push esi
call edx
mov ecx, eax
add esp, 0xc
mov dword [ebx], ecx
jmp case.0x10129964.33
mov ecx, dword [ebx]
mov eax, dword [esi + eax*4 - 0xa4]
test ecx, ecx
js 0x1012b484
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [ebx], ecx
jmp case.0x10129964.33
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg ecx, eax
mov dword [ebx], ecx
jmp case.0x10129964.33
mov edi, dword [ebx]
cmp edi, dword [esi + 0x180]
jb 0x1012b4b7
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.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.0x10129964.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10125ed0
jne 0x1012b513
movzx edi, word [esi + 0x100]
mov dword [ebp - 4], edi
jmp 0x1012b51f
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 0x1012b350
cmp edx, 2
jl 0x1012b337
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 0x1012b605
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x1012b57a
sub eax, 1
jne 0x1012b57d
add ecx, 0x20
jmp 0x1012b57d
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 4], eax
jne 0x1012b5fe
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 0x1012b5ec
cmp byte [esi + 0x267], 0
je 0x1012b5ec
cmp byte [esi + 0x268], 0
je 0x1012b5ce
cmp byte [esi + 0x269], 0
jne 0x1012b5fe
cmp byte [esi + 0x234], 0
je 0x1012b5e1
cmp word [esi + 0x130], 0
jne 0x1012b5ec
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x1012b5fe
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 0x1012b615
cmp byte [esi + 0x235], 0
je 0x1012b615
mov dword [esi + 0xc], 0x86
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 8]
jbe 0x1012b536
mov dword [esi + 0x20], ecx
jmp case.0x10129964.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10125ed0
jne 0x1012b646
movzx edx, word [esi + 0x100]
mov dword [ebp - 0xc], edx
jmp 0x1012b651
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 0x1012b739
nop word [eax + eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x1012b722
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 0x1012b6a3
cmp byte [esi + 0x235], 0
jne 0x10129b72
jmp 0x1012b70e
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x74
je 0x1012b6c1
sub eax, 1
jne 0x1012b6c4
add ecx, 0x20
jmp 0x1012b6c4
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp edx, eax
jne 0x1012b70e
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, 0x101271b0
jne 0x1012b706
mov eax, dword [esi + 0x184]
add dword [eax + ebx*4], edx
jmp 0x1012b70e
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 0x1012b739
mov edx, dword [ebp - 0xc]
jmp 0x1012b670
cmp byte [esi + 0x235], 0
je 0x1012b732
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x10129964.33
push dword [ebx]
push 0x4000
push esi
call fcn.10127510
add esp, 0xc
mov dword [esi + 0x13c], 6
mov dword [esi + 0x23c], 0x10127360
jmp case.0x10129964.33
push dword [ebx]
push 0x2d41
push esi
call fcn.10127510
add esp, 0xc
mov dword [esi + 0x13c], 7
mov dword [esi + 0x23c], 0x101273b0
jmp case.0x10129964.33
cmp dword [ebx + 4], 0
je case.0x10129964.33
jmp case.0x10129964.28
cmp dword [ebx + 4], 0
jne case.0x10129964.33
jmp case.0x10129964.28
mov dword [esi + 0x13c], 5
mov dword [esi + 0x23c], 0x10127340
jmp case.0x10129964.33
mov dword [esi + 0x13c], 4
mov dword [esi + 0x23c], 0x101274d0
jmp case.0x10129964.33
mov dword [esi + 0x13c], 3
mov dword [esi + 0x23c], 0x10127310
jmp case.0x10129964.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012b825
cmp byte [esi + 0x267], 0
je 0x1012b825
cmp byte [esi + 0x268], 0
je 0x1012b825
cmp byte [esi + 0x269], 0
jne 0x1012b899
mov eax, dword [esi + 0x134]
cmp dword [esi + 0x10], eax
jge 0x1012b852
cmp byte [esi + 0x235], 0
je 0x1012b899
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x10129964.33
test eax, eax
jle 0x1012b899
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 0x1012b87b
cmp byte [esi + 0x235], 0
jne 0x10129b72
jmp 0x1012b887
mov ecx, eax
mov eax, dword [esi + 0xa8]
xor byte [eax + ecx], 1
dec dword [esi + 0x134]
cmp dword [esi + 0x134], 0
jg 0x1012b856
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x10129964.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012b8d5
cmp byte [esi + 0x267], 0
je 0x1012b8d5
cmp byte [esi + 0x268], 0
je 0x1012b8d5
cmp byte [esi + 0x269], 0
jne case.0x10129964.33
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x10129b65
cmp ax, cx
jae 0x10129b65
mov edx, eax
cmp ax, di
ja case.0x10129964.33
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
or byte [ecx + eax], 1
cmp dx, di
jbe 0x1012b900
jmp case.0x10129964.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012b942
cmp byte [esi + 0x267], 0
je 0x1012b942
cmp byte [esi + 0x268], 0
je 0x1012b942
cmp byte [esi + 0x269], 0
jne case.0x10129964.33
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x10129b65
cmp ax, cx
jae 0x10129b65
mov edx, eax
cmp ax, di
ja case.0x10129964.33
nop dword [eax]
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
and byte [ecx + eax], 0xfe
cmp dx, di
jbe 0x1012b970
jmp case.0x10129964.33
mov ecx, dword [ebx]
movzx edx, cl
cmp edx, 0xff
jne 0x1012b9a1
mov byte [esi + 0x155], 1
jmp case.0x10129964.33
test cl, cl
je 0x1012ba48
test ecx, 0x100
je 0x1012b9c5
movzx eax, word [esi + 0x100]
cmp eax, edx
ja 0x1012b9c5
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x200
je 0x1012b9df
cmp byte [esi + 0x11d], 0
je 0x1012b9df
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x400
je 0x1012b9f9
cmp byte [esi + 0x11e], 0
je 0x1012b9f9
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x800
je 0x1012ba15
movzx eax, word [esi + 0x100]
cmp eax, edx
jbe 0x1012ba15
mov byte [esi + 0x155], 0
mov ecx, dword [ebx]
test ecx, 0x1000
je 0x1012ba2f
cmp byte [esi + 0x11d], 0
je 0x1012ba2f
mov byte [esi + 0x155], 0
mov ecx, dword [ebx]
test ecx, 0x2000
je case.0x10129964.33
cmp byte [esi + 0x11e], 0
je case.0x10129964.33
mov byte [esi + 0x155], 0
jmp case.0x10129964.33
movzx ecx, word [ebx]
movzx eax, word [ebx + 4]
cmp cx, word [esi + 0x50]
jae 0x10129b65
cmp ax, word [esi + 0x74]
jae 0x10129b65
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 0x1012baaf
test ebx, ebx
jne 0x1012baaf
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.10127200
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 0x1012bb01
test ebx, ebx
jne 0x1012bb01
mov edi, 0x4000
xor cl, cl
jmp 0x1012bb04
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.10127200
push esi
call fcn.10125c90
add esp, 0x10
jmp case.0x10129964.33
mov edx, dword [ebx]
xor ecx, ecx
mov edi, dword [esi]
test dl, 1
je 0x1012bb41
mov eax, dword [edi + 0x60]
mov ecx, dword [eax + 0x40]
mov eax, edi
test dl, 2
je 0x1012bb57
cmp byte [esi + 0x11d], 0
je 0x1012bb57
or ecx, 0x100
test dl, 4
je 0x1012bb6b
cmp byte [esi + 0x11e], 0
je 0x1012bb6b
or ecx, 0x200
test dl, 8
je 0x1012bb81
cmp dword [edi + 0x2e0], 0
mov eax, edi
je 0x1012bb81
or ecx, 0x400
test dl, 0x20
je 0x1012bb95
cmp byte [esi + 0x264], 0
je 0x1012bb95
or ecx, 0x1000
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1012bc16
cmp byte [esi + 0x265], 0
je 0x1012bc16
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 0x1012bbda
cmp byte [esi + 0x266], 0
mov dword [ebp - 0xc], ecx
je 0x1012bbda
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 0x1012bc16
cmp byte [esi + 0x26a], 0
je 0x1012bc16
or ecx, 0x80000
mov dword [ebx], ecx
jmp case.0x10129964.33
cmp dword [esi + 0x164], 3
jne 0x1012bc32
mov dword [esi + 0xc], 0x9c
jmp case.0x10129964.33
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x1012bc60
mov eax, dword [esi + 0x19c]
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
cmp edi, eax
jae 0x1012bc5e
mov ecx, dword [ebx]
nop
cmp dword [edi + 0xc], ecx
je 0x1012bc5c
add edi, 0x18
cmp edi, eax
jb 0x1012bc50
cmp edi, eax
jne 0x1012bc79
mov eax, dword [esi + 0x19c]
cmp eax, dword [esi + 0x1a0]
jae 0x1012bd04
inc eax
mov dword [esi + 0x19c], eax
mov eax, dword [ebx]
cmp eax, 0xff
ja 0x1012bd04
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 0x1012bcb5
movzx eax, al
mov dword [esi + 0x1ac], eax
push esi
call fcn.10127700
add esp, 4
test al, al
jne case.0x10129964.33
nop word [eax + eax]
movzx eax, byte [esi + 0x174]
sub eax, 0x2c
je 0x1012a2c6
sub eax, 1
je 0x1012a2b8
sub eax, 0x5c
je 0x1012a2c6
push esi
call fcn.10127700
add esp, 4
test al, al
je 0x1012bcd0
jmp case.0x10129964.33
mov dword [esi + 0xc], 0x8d
jmp case.0x10129964.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.0x10129964.33
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jle case.0x10129964.33
mov dword [ebx], eax
jmp case.0x10129964.33
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jge case.0x10129964.33
mov dword [ebx], eax
jmp case.0x10129964.33
mov eax, dword [ebx]
test eax, eax
js case.0x10129964.33
movzx eax, ax
mov dword [esi + 0x158], eax
jmp case.0x10129964.33
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
lea eax, [edi - 1]
cmp eax, 2
ja 0x10129b65
lea ecx, [edi - 1]
mov eax, 1
shl eax, cl
test edx, edx
je 0x1012bd9d
cmp edx, eax
je 0x1012bd9d
cmp byte [esi + 0x235], 0
je case.0x10129964.33
mov dword [esi + 0xc], 0x86
jmp case.0x10129964.33
not al
and al, byte [esi + 0x154]
or al, dl
mov byte [esi + 0x154], al
cmp edi, 3
jne case.0x10129964.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne case.0x10129964.33
cmp edx, 4
setne al
mov byte [esi + 0x267], al
jmp case.0x10129964.33
mov eax, dword [esi]
mov ecx, dword [eax + 0x2e0]
test ecx, ecx
je case.0x10129964.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 0x1012be02
mov dword [esi + 0xc], 0x82
jmp case.0x10129964.33
test ecx, ecx
je 0x1012bebd
xor edi, edi
test edx, edx
je case.0x10129964.33
cmp edx, 0x10
jb 0x1012be92
lea eax, [edx - 1]
lea eax, [ecx + eax*4]
cmp ebx, eax
ja 0x1012be2d
lea eax, [edx - 1]
lea eax, [ebx + eax*4]
cmp eax, ecx
jae 0x1012be92
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 0x1012be50
mov esi, dword [ebp + 8]
cmp edi, edx
jae case.0x10129964.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 0x1012bea4
mov esi, dword [ebp + 8]
jmp case.0x10129964.33
test edx, edx
je case.0x10129964.33
mov ecx, edx
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
jmp case.0x10129964.33
mov eax, dword [esi]
cmp dword [eax + 0x2e0], 0
je case.0x10129964.40
mov dword [ebx], 0x11
jmp case.0x10129964.33
cmp dl, 0xe0
jb 0x1012bf00
push ebx
push esi
call fcn.10126c50
add esp, 8
jmp case.0x10129964.33
cmp dl, 0xc0
jb 0x1012bf14
push ebx
push esi
call fcn.101269d0
add esp, 8
jmp case.0x10129964.33
cmp dl, 0xb8
jb 0x1012bf94
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 0x1012bf40
mov dword [esi + 0xc], 0x82
jmp case.0x10129964.33
inc dword [esi + 0x16c]
xor eax, eax
cmp ax, cx
jae 0x1012bf8b
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 0x1012bf50
mov byte [esi + 0x17c], 0
jmp case.0x10129964.33
cmp dl, 0xb0
jb case.0x10129964.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 0x1012bfbe
mov dword [esi + 0xc], 0x82
jmp case.0x10129964.33
mov edi, 1
mov eax, edi
cmp ax, cx
ja case.0x10129964.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 0x1012bfd0
jmp case.0x10129964.33
push esi
call fcn.10127100
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1012c0a1
cmp eax, 0x80
jne 0x1012c160
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x1012c029
mov eax, dword [esi + 0x19c]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
jmp 0x1012c030
xor edx, edx
nop dword [eax + eax]
cmp ecx, edx
jae 0x1012c114
cmp byte [ecx + 0x10], 0
je 0x1012c049
mov al, byte [esi + 0x174]
cmp al, byte [ecx + 0xc]
je 0x1012c04e
add ecx, 0x18
jmp 0x1012c030
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jge 0x1012c101
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.10126210
add esp, 0xc
cmp al, 1
jne 0x1012c0ca
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 0x1012c0bc
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 0x1012c139
mov edi, dword [esi + 0x16c]
cmp edi, dword [esi + 0x170]
jge 0x1012c127
cmp byte [esi + 0x1ec], 0
je 0x10129830
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 0x1012c158
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