Function at 0x536e39
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 0x536cf2
cmp byte [esi + 0x265], 0
je 0x536cf2
test dword [edi + 8], 0x2000
jne 0x536cf2
mov al, byte [esi + 0x154]
shr al, 2
not al
and al, 1
jmp 0x536cf4
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 0x536d42
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 0x536d84
lea ecx, [ebx + ebx*4]
mov eax, 0xcccccccd
add ecx, ecx
mov ebx, 0x32
cmp ecx, ebx
cmovb ecx, ebx
mul edx
shr edx, 3
cmp edx, ebx
cmovb edx, ebx
add ecx, edx
jmp 0x536d8b
lea ecx, [edx*8 + 0x12c]
mov dword [esi + 0x270], ecx
imul eax, dword [edi + 0x10], 0x64
cmp ecx, eax
jbe 0x536da1
mov dword [esi + 0x270], eax
jmp 0x536da3
mov eax, ecx
movzx ebx, word [esi + 0xdc]
mov ecx, 0x534a50
mov dword [esi + 0x278], eax
mov edi, 0x534a70
movzx eax, word [esi + 0xde]
mov edx, 0x53a430
cmp bx, ax
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0x534960
mov eax, 0x5336a0
cmove edi, ecx
mov dword [esi + 0x104], 0
mov ecx, 0x53a410
cmove edx, ecx
mov ecx, 0x534980
cmove ecx, dword [ebp - 4]
cmp bx, word [ebp - 8]
mov dword [ebp - 4], 0x533690
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.00533450
movzx eax, byte [esi + 0x13c]
add esp, 4
cmp eax, 7
ja case.default.0x536e32
jmp dword [eax*4 + 0x53978c]
mov dword [esi + 0x23c], 0x534af0
jmp case.default.0x536e32
mov dword [esi + 0x23c], 0x534c00
jmp case.default.0x536e32
mov dword [esi + 0x23c], 0x534c80
jmp case.default.0x536e32
mov dword [esi + 0x23c], 0x534ac0
jmp case.default.0x536e32
mov dword [esi + 0x23c], 0x534c40
jmp case.default.0x536e32
mov dword [esi + 0x23c], 0x534bc0
jmp case.default.0x536e32
mov dword [esi + 0x23c], 0x534b10
jmp case.default.0x536e32
mov dword [esi + 0x23c], 0x534b60
mov edi, dword [esi + 0x16c]
nop dword [eax]
mov ebx, dword [esi + 0x168]
mov dl, byte [ebx + edi]
movzx eax, dl
mov byte [ebp - 9], dl
mov byte [esi + 0x174], dl
mov dword [ebp - 4], eax
movsx ecx, byte [eax + 0x5b78f8]
mov dword [esi + 0x178], ecx
test ecx, ecx
jns 0x536eed
lea eax, [edi + 1]
cmp eax, dword [esi + 0x170]
jge 0x53977b
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 0x53977b
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x10]
mov bl, byte [eax + 0x5b77f8]
movzx eax, bl
shr eax, 4
sub ecx, eax
mov dword [esi + 0x1c], ecx
jns 0x536f64
cmp byte [esi + 0x235], 0
jne 0x539711
xor edi, edi
mov byte [ebp - 9], dl
test bl, 0xf0
jbe 0x536f5b
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 - 9], dl
mov al, byte [eax + 0x5b77f8]
shr al, 4
movzx eax, al
cmp di, ax
jb 0x536f30
mov dword [esi + 0x1c], 0
xor ecx, ecx
cmp dl, 0x91
jne 0x536f8f
mov eax, dword [esi]
mov eax, dword [eax + 0x2e0]
test eax, eax
je 0x536f84
mov eax, dword [eax]
add eax, ecx
movzx edi, dl
mov dword [esi + 0x20], eax
mov dword [ebp - 4], edi
jmp 0x536fa4
mov eax, dword [esi + 0x20]
movzx edi, dl
mov dword [ebp - 4], edi
jmp 0x536fa4
movzx ebx, dl
mov dword [ebp - 4], ebx
movzx eax, byte [ebx + 0x5b77f8]
and eax, 0xf
add eax, ecx
mov dword [esi + 0x20], eax
mov edi, dword [esi + 0x14]
mov dword [ebp - 8], eax
cmp eax, edi
jg 0x539768
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.0x536fd4
jmp dword [eax*4 + 0x5397ac]
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 0x537014
mov word [esi + 0x12a], cx
mov word [esi + 0x12c], ax
mov word [esi + 0x126], cx
mov word [esi + 0x128], ax
test dl, 2
jne 0x53713b
mov word [esi + 0x12e], cx
push esi
mov word [esi + 0x130], ax
call fcn.00533450
jmp 0x539628
movzx eax, word [ebx]
lea edi, [esi + 0x12a]
push edi
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.00534830
add esp, 0x10
test al, al
jne case.0x536fd4.33
mov eax, dword [edi]
push esi
mov dword [esi + 0x126], eax
call fcn.00533450
jmp 0x539628
lea eax, [esi + 0x12e]
push eax
movzx eax, word [ebx]
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.00534830
add esp, 0x10
test al, al
jne case.0x536fd4.33
push esi
call fcn.00533450
jmp 0x539628
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
test ecx, ecx
jne 0x5370a5
test eax, eax
je 0x5370dd
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], ecx
call fcn.00525b30
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.00533450
jmp 0x539628
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
test ecx, ecx
jne 0x537103
test eax, eax
je 0x53713b
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], ecx
call fcn.00525b30
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.00533450
jmp 0x539628
movsx eax, word [esi + 0x12a]
mov dword [ebx], eax
movsx eax, word [esi + 0x12c]
mov dword [ebx + 4], eax
jmp case.0x536fd4.33
movsx eax, word [esi + 0x12e]
mov dword [ebx], eax
movsx eax, word [esi + 0x130]
mov dword [ebx + 4], eax
jmp case.0x536fd4.33
mov eax, dword [esi + 0x12a]
push esi
mov dword [esi + 0x12e], eax
call fcn.00533450
jmp 0x539628
push ebx
push esi
call fcn.00533d70
add esp, 8
jmp case.0x536fd4.33
mov ax, word [ebx]
mov word [esi + 0x120], ax
jmp case.0x536fd4.33
mov ax, word [ebx]
mov word [esi + 0x122], ax
jmp case.0x536fd4.33
mov ax, word [ebx]
mov word [esi + 0x124], ax
jmp case.0x536fd4.33
mov eax, dword [ebx]
sub eax, 0
je 0x537208
sub eax, 1
je 0x5371ee
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x537220
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.0x536fd4.33
mov eax, dword [ebx]
sub eax, 0
je 0x537275
sub eax, 1
je 0x53725b
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x53728d
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.0x536fd4.33
mov eax, dword [ebx]
sub eax, 0
je 0x5372e2
sub eax, 1
je 0x5372c8
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x5372fa
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.0x536fd4.33
mov eax, dword [ebx]
sub eax, 0
je 0x537352
sub eax, 1
je 0x537338
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x53736a
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.0x536fd4.33
mov eax, dword [ebx]
test eax, eax
jns 0x5373cf
mov dword [esi + 0xc], 0x84
jmp case.0x536fd4.33
cmp eax, 0xffff
cmovg eax, dword [ebp - 0x20]
mov dword [esi + 0x134], eax
jmp case.0x536fd4.33
mov dword [esi + 0x13c], 1
mov dword [esi + 0x23c], 0x534c00
jmp case.0x536fd4.33
mov dword [esi + 0x13c], 0
mov dword [esi + 0x23c], 0x534c40
jmp case.0x536fd4.33
mov eax, dword [ebx]
mov dword [esi + 0x138], eax
jmp case.0x536fd4.33
mov edi, 1
push esi
call fcn.00534eb0
add esp, 4
cmp al, 1
je case.0x536fd4.33
movzx eax, byte [esi + 0x174]
sub eax, 0x58
je 0x53744c
sub eax, 1
jne 0x53744d
dec edi
jmp 0x53744d
inc edi
test edi, edi
jne 0x537427
jmp case.0x536fd4.33
mov eax, dword [ebx]
test eax, eax
jne 0x537464
test ecx, ecx
je 0x5373c3
add dword [esi + 0x16c], eax
mov edx, dword [esi + 0x16c]
js 0x5373c3
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
jle 0x537495
mov eax, dword [esi + 0x1b8]
add ecx, ecx
mov eax, dword [eax + ecx*8 - 4]
cmp edx, dword [eax + 8]
jg 0x5373c3
mov byte [esi + 0x17c], 0
cmp dword [ebx], 0
jge case.0x536fd4.33
inc dword [esi + 0x274]
mov eax, dword [esi + 0x274]
cmp eax, dword [esi + 0x278]
jbe case.0x536fd4.33
mov dword [esi + 0xc], 0x8b
jmp case.0x536fd4.33
mov eax, dword [ebx]
mov dword [esi + 0x144], eax
jmp case.0x536fd4.33
mov eax, dword [ebx]
mov dword [esi + 0x148], eax
jmp case.0x536fd4.33
mov eax, dword [esi + 0x108]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x14c], eax
jmp case.0x536fd4.33
mov eax, dword [ebx]
mov dword [ebx + 4], eax
jmp case.0x536fd4.33
mov dword [esi + 0x20], 0
jmp case.0x536fd4.33
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp case.0x536fd4.33
mov eax, dword [esi + 0x10]
mov dword [ebx], eax
jmp case.0x536fd4.33
mov eax, dword [ebx]
test eax, eax
jle 0x53756a
cmp eax, ecx
jg 0x53756a
sub ecx, eax
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x536fd4.33
cmp byte [esi + 0x235], 0
je 0x53757a
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x536fd4.33
mov edx, dword [ebx]
test edx, edx
jle 0x5371d5
cmp edx, ecx
jg 0x5371d5
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 fcn.0057bb70
mov ecx, dword [esi + 0x1c]
add esp, 0xc
mov eax, dword [esi + 0x18]
mov dword [eax + ecx*4 - 4], edi
jmp case.0x536fd4.33
movzx eax, word [ebx]
movzx ebx, word [ebx + 4]
mov dword [ebp - 4], eax
cmp ax, word [esi + 0x50]
jae 0x5371d5
cmp bx, word [esi + 0x2c]
jae 0x5371d5
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.0x536fd4.33
movzx eax, word [ebx]
cmp ax, word [esi + 0x2c]
jb 0x53765b
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.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.0x536fd4.33
mov edi, dword [esi + 0x1a8]
mov edx, dword [ebx + 4]
inc edi
cmp edx, edi
jae 0x5371e2
mov ecx, dword [esi + 0x198]
lea eax, [edx + edx*2]
lea ecx, [ecx + eax*8]
mov eax, dword [esi + 0x190]
cmp edi, eax
jne 0x5376bd
cmp dword [ecx + 0xc], edx
je 0x5376e4
mov ecx, dword [esi + 0x198]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x5376de
nop dword [eax]
cmp dword [ecx + 0xc], edx
je 0x5376dc
add ecx, 0x18
cmp ecx, eax
jb 0x5376d0
cmp ecx, eax
je 0x5371e2
cmp byte [ecx + 0x10], 0
je 0x5371e2
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jl 0x537708
mov dword [esi + 0xc], 0x82
jmp case.0x536fd4.33
cmp dword [ebx], 0
jle case.0x536fd4.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.005339d0
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.0x536fd4.33
mov dword [esi + 0xc], 0x8b
jmp case.0x536fd4.33
mov edi, dword [esi + 0x1a8]
mov edx, dword [ebx]
inc edi
cmp edx, edi
jae 0x5371e2
mov ebx, dword [esi + 0x198]
lea eax, [edx + edx*2]
lea ecx, [ebx + eax*8]
mov eax, dword [esi + 0x190]
cmp edi, eax
jne 0x5377a1
cmp dword [ecx + 0xc], edx
je 0x5377c4
mov ecx, ebx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x5377be
nop dword [eax]
cmp dword [ecx + 0xc], edx
je 0x5377bc
add ecx, 0x18
cmp ecx, eax
jb 0x5377b0
cmp ecx, eax
je 0x5371e2
cmp byte [ecx + 0x10], 0
je 0x5371e2
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jl 0x5377e8
mov dword [esi + 0xc], 0x82
jmp case.0x536fd4.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.005339d0
add esp, 0xc
mov byte [esi + 0x17c], 0
jmp case.0x536fd4.33
cmp dword [esi + 0x164], 3
jne 0x537842
mov dword [esi + 0xc], 0x9c
jmp case.0x536fd4.33
mov edx, dword [esi + 0x190]
mov edi, dword [esi + 0x198]
mov ecx, dword [ebx]
lea eax, [edx + edx*2]
lea eax, [edi + eax*8]
cmp edi, eax
jae 0x53786e
nop word [eax + eax]
cmp dword [edi + 0xc], ecx
je 0x53786c
add edi, 0x18
cmp edi, eax
jb 0x537860
cmp edi, eax
jne 0x537881
cmp edx, dword [esi + 0x194]
jae 0x537889
lea eax, [edx + 1]
mov dword [esi + 0x190], eax
cmp ecx, 0xffff
jbe 0x537895
mov dword [esi + 0xc], 0x8c
jmp case.0x536fd4.33
mov eax, dword [esi + 0x164]
mov dword [edi], eax
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 0x5378c8
mov dword [esi + 0x1a8], edx
push esi
call fcn.00534eb0
add esp, 4
test al, al
jne case.0x536fd4.33
nop dword [eax]
movzx eax, byte [esi + 0x174]
sub eax, 0x2c
je 0x537916
sub eax, 1
je 0x537908
sub eax, 0x5c
je 0x537916
push esi
call fcn.00534eb0
add esp, 4
test al, al
je 0x5378e0
jmp case.0x536fd4.33
mov eax, dword [esi + 0x16c]
mov dword [edi + 8], eax
jmp case.0x536fd4.33
mov dword [esi + 0xc], 0x89
jmp case.0x536fd4.33
mov eax, dword [esi + 0x1b0]
test eax, eax
jg 0x537938
mov dword [esi + 0xc], 0x88
jmp case.0x536fd4.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 0x53796f
inc dword [esi + 0x1b0]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 0x16c], eax
jmp case.0x536fd4.33
push dword [eax + 4]
push dword [eax]
push esi
call fcn.005339d0
add esp, 0xc
jmp case.0x536fd4.33
movzx ebx, word [ebx]
cmp bx, word [esi + 0x2c]
jb 0x5379a4
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.33
test dl, 1
je 0x537a16
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, 0x534c40
jne 0x537a08
test edi, edi
js 0x5379f1
add ecx, edi
mov edx, 0x20
and ecx, 0xffffffc0
cmp ecx, 0xffffffe0
lea eax, [ecx + 0x20]
cmovge edx, eax
sub edx, edi
jmp 0x537a18
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 0x537a18
push ecx
push edi
push esi
call eax
mov edx, eax
add esp, 0xc
sub edx, edi
jmp 0x537a18
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.0x536fd4.33
push esi
call fcn.00533fb0
jmp 0x539628
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x134]
jge 0x537a6c
cmp byte [esi + 0x235], 0
je 0x537b60
mov dword [esi + 0xc], 0x86
jmp 0x537b60
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.005335b0
add esp, 0x14
test al, al
jne case.0x536fd4.33
cmp dword [esi + 0x134], 0
jle 0x537b60
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 0x537aca
cmp byte [esi + 0x235], 0
jne 0x5371e2
jmp 0x537b4d
cmp word [esi + 0x12e], 0
je 0x537b0a
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x537af6
cmp byte [esi + 0x267], 0
je 0x537af6
mov eax, dword [esi + 0x84]
mov edx, ecx
or byte [eax + edx], 8
jmp 0x537b0c
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 0x537b0c
mov edx, eax
cmp word [esi + 0x130], 0
je 0x537b4d
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x537b3c
cmp byte [esi + 0x267], 0
je 0x537b3c
cmp byte [esi + 0x268], 0
je 0x537b3c
cmp byte [esi + 0x269], 0
jne 0x537b43
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 0x537aa3
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x536fd4.33
cmp word [esi + 0x160], 0
mov eax, 1
movzx ebx, word [ebx]
je 0x537b8b
movzx eax, word [esi + 0x76]
movsx edi, bx
cwde
cmp edi, eax
jb 0x537bac
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.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.005335b0
add esp, 0x14
test al, al
jne case.0x536fd4.33
test bx, bx
jne 0x537bd9
xor ecx, ecx
jmp 0x537bf0
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 0x537c00
movzx ebx, word [esi + 0x74]
jmp 0x537c16
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.0x536fd4.33
movzx ecx, cx
mov edx, dword [esi + 0x7c]
cmp dword [ebp - 0x74], edx
jne 0x537c33
cmp word [ebp - 0x14], di
je 0x537ca5
cmp word [esi + 0x12e], 0
je 0x537c61
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x537c51
cmp byte [esi + 0x267], 0
jne 0x537c57
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 0x537ca5
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x537c91
cmp byte [esi + 0x267], 0
je 0x537c91
cmp byte [esi + 0x268], 0
je 0x537c91
cmp byte [esi + 0x269], 0
jne 0x537c9b
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 0x537c25
jmp case.0x536fd4.33
cmp dword [ebx], 2
jb 0x537cd3
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.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.005335b0
add esp, 0x14
test al, al
jne case.0x536fd4.33
movzx eax, word [esi + 0x160]
test ax, ax
jne 0x537d09
movzx ebx, word [esi + 0x74]
jmp 0x537d2e
cmp eax, 1
jne 0x537d2c
movzx eax, word [esi + 0x76]
test ax, ax
jle 0x537d2c
movsx ecx, ax
mov eax, dword [esi + 0x88]
mov ax, word [eax + ecx*2 - 2]
inc ax
movzx ebx, ax
jmp 0x537d2e
xor ebx, ebx
xor eax, eax
xor edi, edi
cmp ax, bx
jae case.0x536fd4.33
xor edx, edx
nop dword [eax]
mov ecx, dword [esi + 0x7c]
cmp dword [ebp - 0x74], ecx
jne 0x537d4e
cmp word [ebp - 0x18], di
je 0x537dac
cmp word [esi + 0x12e], 0
je 0x537d72
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x537d6c
cmp byte [esi + 0x267], 0
jne 0x537d72
mov eax, dword [ebp - 0x4c]
add dword [edx + ecx], eax
cmp word [esi + 0x130], 0
je 0x537dac
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x537da2
cmp byte [esi + 0x267], 0
je 0x537da2
cmp byte [esi + 0x268], 0
je 0x537da2
cmp byte [esi + 0x269], 0
jne 0x537dac
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 0x537d40
jmp case.0x536fd4.33
push ebx
push esi
call fcn.00534670
add esp, 8
jmp case.0x536fd4.33
push esi
call fcn.00533a50
jmp 0x539628
movzx edi, word [ebx]
cmp di, word [esi + 0x50]
jae 0x5371d5
movzx eax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x5371d5
cmp word [esi + 0x15e], 0
mov ecx, eax
mov dword [ebp - 0xc], edi
jne 0x537e56
mov edx, eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + edx*8]
mov edx, dword [eax + edx*8 + 4]
mov eax, dword [esi + 0x54]
mov esi, edi
mov dword [eax + esi*8], ecx
mov ecx, edi
mov esi, dword [ebp + 8]
mov dword [eax + ecx*8 + 4], edx
push dword [ebx + 4]
lea eax, [esi + 0x48]
push edi
push eax
mov eax, dword [esi + 0x250]
push esi
call eax
mov eax, dword [esi + 0x54]
mov edx, edi
add esp, 0x10
mov ecx, dword [eax + edx*8]
mov edx, dword [eax + edx*8 + 4]
mov eax, dword [esi + 0x58]
mov esi, edi
mov dword [eax + esi*8], ecx
mov ecx, edi
mov esi, dword [ebp + 8]
mov dword [eax + ecx*8 + 4], edx
movzx ecx, word [esi + 0x120]
mov eax, dword [esi + 0x34]
movzx ecx, cx
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp - 0xc]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 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.0x536fd4.33
mov word [esi + 0x120], di
jmp case.0x536fd4.33
mov edx, dword [esi + 0x134]
cmp dword [esi + 0x10], edx
jl 0x537f74
mov ax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x537f74
test edx, edx
jle 0x537f84
nop word [eax + eax]
dec dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
movzx edi, word [eax + ecx*4]
cmp di, word [esi + 0x50]
jb 0x537f12
cmp byte [esi + 0x235], 0
jne 0x5371e2
jmp 0x537f50
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 0x537ef0
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x536fd4.33
cmp byte [esi + 0x235], 0
je 0x537f84
mov dword [esi + 0xc], 0x86
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x536fd4.33
mov dword [esi + 0x13c], 2
mov dword [esi + 0x23c], 0x534bc0
jmp case.0x536fd4.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 0x53810b
cmp ecx, dword [esi + 0x180]
jae 0x53810b
mov eax, dword [esi + 0x258]
cmp eax, 0x534a50
jne 0x537ff5
mov eax, dword [esi + 0x184]
mov edi, dword [eax + ecx*4]
jmp 0x537ffe
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 0x538065
movsx eax, word [esi + 0x12e]
push eax
push edi
call fcn.005364e0
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.005364e0
mov ecx, dword [esi + 0x30]
add esp, 0x10
movzx edx, bx
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + edx*8]
mov edx, dword [eax + edx*8 + 4]
mov eax, dword [esi + 0x34]
movzx esi, bx
mov dword [eax + esi*8], ecx
mov esi, ebx
mov ebx, dword [ebp - 4]
movzx ecx, si
mov esi, dword [ebp + 8]
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [esi + 0x34]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x240]
push esi
call eax
add esp, 0xc
mov ecx, eax
test byte [esi + 0x174], 1
mov dword [ebp - 4], ecx
je 0x5380e4
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, 0x534bc0
jne 0x5380d7
test eax, eax
js 0x5380c4
add edi, 0x10
add eax, edi
mov edi, 0
and eax, 0xffffffe0
cmovge edi, eax
jmp 0x5380e1
sub edi, eax
xor eax, eax
add edi, 0x10
and edi, 0xffffffe0
neg edi
test edi, edi
cmovg edi, eax
jmp 0x5380e1
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.0x536fd4.33
cmp byte [esi + 0x235], 0
je 0x53811b
mov dword [esi + 0xc], 0x86
mov word [esi + 0x120], bx
mov word [esi + 0x122], bx
jmp case.0x536fd4.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 - 0xc], ecx
cmp ecx, edi
jb 0x53815c
mov dword [esi + 0xc], 0x82
jmp case.0x536fd4.33
mov edi, 1
mov edx, edi
cmp dx, ax
ja 0x5381a1
nop dword [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 + 1]
mov dword [ebx + edx*4 - 4], eax
cmp di, word [ebp - 4]
jbe 0x538170
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov dword [esi + 0x20], eax
jmp case.0x536fd4.33
mov eax, dword [ebp - 8]
add eax, ecx
mov dword [esi + 0x20], eax
jmp case.0x536fd4.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 - 0xc], eax
cmp eax, edi
jb 0x5381d8
mov dword [esi + 0xc], 0x82
jmp case.0x536fd4.33
lea eax, [ecx + 2]
mov dword [esi + 0x16c], eax
test dl, dl
je 0x538240
mov eax, dword [ebp - 0xc]
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 0x5381f0
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 0xc]
mov byte [esi + 0x17c], 0
mov dword [esi + 0x20], eax
jmp case.0x536fd4.33
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov byte [esi + 0x17c], 0
mov dword [esi + 0x20], eax
jmp case.0x536fd4.33
movzx eax, word [esi + 0x1d8]
mov edx, dword [ebx]
cmp edx, eax
jb 0x53827b
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.33
mov ecx, dword [esi + 0x1dc]
mov eax, dword [ebx + 4]
mov dword [ecx + edx*4], eax
jmp case.0x536fd4.33
movzx eax, word [esi + 0x1d8]
mov ecx, dword [ebx]
cmp ecx, eax
jb 0x5382b9
cmp byte [esi + 0x235], 0
je 0x5382ae
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.33
mov dword [ebx], 0
jmp case.0x536fd4.33
mov eax, dword [esi + 0x1dc]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x536fd4.33
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x180]
jb 0x5382ec
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.33
mov eax, dword [esi + 0x25c]
mov edx, dword [ebx + 4]
cmp eax, 0x53a410
jne 0x53830a
mov eax, dword [esi + 0x184]
mov dword [eax + ecx*4], edx
jmp case.0x536fd4.33
push edx
push ecx
push esi
call eax
add esp, 0xc
jmp case.0x536fd4.33
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x180]
jb 0x538336
cmp byte [esi + 0x235], 0
je 0x5382ae
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.33
mov eax, dword [esi + 0x258]
cmp eax, 0x534a50
jne 0x538353
mov eax, dword [esi + 0x184]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x536fd4.33
push ecx
push esi
call eax
add esp, 8
mov dword [ebx], eax
jmp case.0x536fd4.33
movzx eax, word [esi + 0x74]
mov ecx, dword [ebx]
cmp ecx, eax
jb 0x538384
cmp byte [esi + 0x235], 0
je 0x53837b
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x536fd4.33
test dl, 1
je 0x5383a6
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.0x536fd4.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.0x536fd4.33
movzx eax, word [ebx]
mov dword [ebp - 4], eax
cmp ax, word [esi + 0x74]
jb 0x5383e8
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.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.0x536fd4.33
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov eax, dword [esi + 0x78]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
jmp case.0x536fd4.33
movzx eax, word [ebx]
movzx edi, word [ebx + 4]
cmp ax, word [esi + 0x2c]
jae 0x53756a
cmp di, word [esi + 0x50]
jae 0x53756a
test dl, 1
je 0x53848e
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.0x536fd4.33
cmp word [esi + 0x15c], 0
je 0x53859a
cmp word [esi + 0x15e], 0
je 0x53859a
mov ecx, eax
mov eax, dword [esi + 0x38]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x5c]
mov ecx, edi
mov dword [ebp - 0xc], edx
lea edi, [eax + ecx*8]
mov eax, dword [esi + 0xe0]
cmp eax, dword [esi + 0xe4]
jne 0x53851c
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 - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx], eax
jmp case.0x536fd4.33
mov dword [ebp - 8], eax
mov eax, dword [edx]
sub eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0xe4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
sub eax, dword [edi + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 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.0x536fd4.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.0x536fd4.33
mov eax, dword [esi + 0x254]
cmp eax, 0x533690
jne 0x5385e4
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x536fd4.33
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x536fd4.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x23
jne 0x538624
mov eax, dword [esi + 0x254]
cmp eax, 0x533690
jne 0x538617
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x536fd4.33
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x536fd4.33
mov eax, dword [esi + 0xd8]
mov dword [ebx], eax
jmp case.0x536fd4.33
mov byte [esi + 0x140], 1
jmp case.0x536fd4.33
mov byte [esi + 0x140], 0
jmp case.0x536fd4.33
mov dword [esi + 0xc], 0x87
jmp case.0x536fd4.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setl cl
mov dword [ebx], ecx
jmp case.0x536fd4.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setle cl
mov dword [ebx], ecx
jmp case.0x536fd4.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setg cl
mov dword [ebx], ecx
jmp case.0x536fd4.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setge cl
mov dword [ebx], ecx
jmp case.0x536fd4.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
sete cl
mov dword [ebx], ecx
jmp case.0x536fd4.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setne cl
mov dword [ebx], ecx
jmp case.0x536fd4.33
mov ecx, dword [esi + 0x23c]
mov eax, dword [ebx]
cmp ecx, 0x534bc0
jne 0x538714
test eax, eax
js 0x5386ef
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.0x536fd4.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.0x536fd4.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.0x536fd4.33
mov ecx, dword [esi + 0x23c]
mov eax, dword [ebx]
cmp ecx, 0x534bc0
jne 0x538785
test eax, eax
js 0x538765
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.0x536fd4.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.0x536fd4.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.0x536fd4.33
cmp dword [ebx], 0
jne case.0x536fd4.33
mov edi, 1
xor bl, bl
push esi
call fcn.00534eb0
add esp, 4
cmp al, 1
je case.0x536fd4.33
movzx eax, byte [esi + 0x174]
sub eax, 0x1b
je 0x5387e1
sub eax, 0x3d
je 0x5387de
sub eax, 1
jne 0x5387e7
sub edi, 1
jmp 0x5387e4
inc edi
jmp 0x5387e7
cmp edi, 1
sete bl
test bl, bl
je 0x5387b2
jmp case.0x536fd4.33
cmp dword [ebx], 0
je 0x53757a
cmp dword [ebx + 4], 0
je 0x53757a
mov eax, 1
mov dword [ebx], eax
jmp case.0x536fd4.33
cmp dword [ebx], 0
jne 0x538823
cmp dword [ebx + 4], 0
jne 0x538823
xor eax, eax
mov dword [ebx], eax
jmp case.0x536fd4.33
mov eax, 1
mov dword [ebx], eax
jmp case.0x536fd4.33
xor eax, eax
cmp dword [ebx], eax
sete al
mov dword [ebx], eax
jmp case.0x536fd4.33
mov eax, dword [esi + 0x254]
cmp eax, 0x533690
jne 0x538856
movzx edi, word [esi + 0x100]
mov dword [ebp - 4], edi
jmp 0x538862
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 - 0xc], eax
mov dword [ebp - 8], 1
cmp eax, 1
jb 0x538990
nop dword [eax]
cmp edx, 2
jl 0x538977
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 0x53894f
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x5388c4
sub eax, 1
jne 0x5388c7
add ecx, 0x20
jmp 0x5388c7
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 4], eax
jne 0x538948
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 0x538936
cmp byte [esi + 0x267], 0
je 0x538936
cmp byte [esi + 0x268], 0
je 0x538918
cmp byte [esi + 0x269], 0
jne 0x538948
cmp byte [esi + 0x234], 0
je 0x53892b
cmp word [esi + 0x130], 0
jne 0x538936
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x538948
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 0x53895f
cmp byte [esi + 0x235], 0
je 0x53895f
mov dword [esi + 0xc], 0x86
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0xc]
jbe 0x538880
mov dword [esi + 0x20], ecx
jmp case.0x536fd4.33
cmp byte [esi + 0x235], 0
je 0x538987
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
xor ecx, ecx
mov dword [esi + 0x20], ecx
jmp case.0x536fd4.33
mov ax, word [ebx]
mov word [esi + 0x150], ax
jmp case.0x536fd4.33
mov eax, dword [ebx]
cmp eax, 6
jbe 0x5389ba
mov dword [esi + 0xc], 0x84
jmp case.0x536fd4.33
mov word [esi + 0x152], ax
jmp case.0x536fd4.33
mov eax, dword [ebx + 4]
add dword [ebx], eax
jmp case.0x536fd4.33
mov eax, dword [ebx + 4]
sub dword [ebx], eax
jmp case.0x536fd4.33
mov eax, dword [ebx + 4]
test eax, eax
jne 0x5389ed
mov dword [esi + 0xc], 0x85
jmp case.0x536fd4.33
push eax
push 0x40
push dword [ebx]
call fcn.00522ce0
add esp, 0xc
mov dword [ebx], eax
jmp case.0x536fd4.33
push 0x40
push dword [ebx + 4]
push dword [ebx]
call fcn.00522c00
add esp, 0xc
mov dword [ebx], eax
jmp case.0x536fd4.33
mov eax, dword [ebx]
test eax, eax
jns case.0x536fd4.33
neg eax
mov dword [ebx], eax
jmp case.0x536fd4.33
mov eax, dword [ebx]
neg eax
mov dword [ebx], eax
jmp case.0x536fd4.33
and dword [ebx], 0xffffffc0
jmp case.0x536fd4.33
mov eax, dword [ebx]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [ebx], eax
jmp case.0x536fd4.33
mov edx, dword [esi + 0x23c]
mov ecx, dword [esi + eax*4 - 0x94]
mov eax, dword [ebx]
cmp edx, 0x534bc0
jne 0x538a96
test eax, eax
js 0x538a7e
add ecx, 0x10
add eax, ecx
mov ecx, 0
and eax, 0xffffffe0
cmovge ecx, eax
mov dword [ebx], ecx
jmp case.0x536fd4.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.0x536fd4.33
push ecx
push eax
push esi
call edx
mov ecx, eax
add esp, 0xc
mov dword [ebx], ecx
jmp case.0x536fd4.33
mov ecx, dword [ebx]
mov eax, dword [esi + eax*4 - 0xa4]
test ecx, ecx
js 0x538ac4
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [ebx], ecx
jmp case.0x536fd4.33
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg ecx, eax
mov dword [ebx], ecx
jmp case.0x536fd4.33
mov edi, dword [ebx]
cmp edi, dword [esi + 0x180]
jb 0x538af7
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.33
mov eax, dword [esi + 0x108]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x60], eax
mov ecx, dword [esi + 0x184]
mov eax, dword [ebp - 0x60]
mov dword [ecx + edi*4], eax
jmp case.0x536fd4.33
mov eax, dword [esi + 0x254]
cmp eax, 0x533690
jne 0x538b53
movzx edi, word [esi + 0x100]
mov dword [ebp - 4], edi
jmp 0x538b5f
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 - 0xc], eax
mov dword [ebp - 8], 1
cmp eax, 1
jb 0x538990
cmp edx, 2
jl 0x538977
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 0x538c45
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x538bba
sub eax, 1
jne 0x538bbd
add ecx, 0x20
jmp 0x538bbd
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 4], eax
jne 0x538c3e
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 0x538c2c
cmp byte [esi + 0x267], 0
je 0x538c2c
cmp byte [esi + 0x268], 0
je 0x538c0e
cmp byte [esi + 0x269], 0
jne 0x538c3e
cmp byte [esi + 0x234], 0
je 0x538c21
cmp word [esi + 0x130], 0
jne 0x538c2c
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x538c3e
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 0x538c55
cmp byte [esi + 0x235], 0
je 0x538c55
mov dword [esi + 0xc], 0x86
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0xc]
jbe 0x538b76
mov dword [esi + 0x20], ecx
jmp case.0x536fd4.33
mov eax, dword [esi + 0x254]
cmp eax, 0x533690
jne 0x538c86
movzx edx, word [esi + 0x100]
mov dword [ebp - 8], edx
jmp 0x538c91
push esi
call eax
add esp, 4
mov dword [ebp - 8], eax
mov edx, eax
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
cmp eax, 1
jb 0x538d79
nop word [eax + eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x538d62
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 0x538ce3
cmp byte [esi + 0x235], 0
jne 0x5371e2
jmp 0x538d4e
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x74
je 0x538d01
sub eax, 1
jne 0x538d04
add ecx, 0x20
jmp 0x538d04
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp edx, eax
jne 0x538d4e
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, 0x534960
jne 0x538d46
mov eax, dword [esi + 0x184]
add dword [eax + ebx*4], edx
jmp 0x538d4e
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 - 0xc]
ja 0x538d79
mov edx, dword [ebp - 8]
jmp 0x538cb0
cmp byte [esi + 0x235], 0
je 0x538d72
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x536fd4.33
push dword [ebx]
push 0x4000
push esi
call fcn.00534cc0
add esp, 0xc
mov dword [esi + 0x13c], 6
mov dword [esi + 0x23c], 0x534b10
jmp case.0x536fd4.33
push dword [ebx]
push 0x2d41
push esi
call fcn.00534cc0
add esp, 0xc
mov dword [esi + 0x13c], 7
mov dword [esi + 0x23c], 0x534b60
jmp case.0x536fd4.33
cmp dword [ebx + 4], 0
je case.0x536fd4.33
jmp case.0x536fd4.28
cmp dword [ebx + 4], 0
jne case.0x536fd4.33
jmp case.0x536fd4.28
mov dword [esi + 0x13c], 5
mov dword [esi + 0x23c], 0x534af0
jmp case.0x536fd4.33
mov dword [esi + 0x13c], 4
mov dword [esi + 0x23c], 0x534c80
jmp case.0x536fd4.33
mov dword [esi + 0x13c], 3
mov dword [esi + 0x23c], 0x534ac0
jmp case.0x536fd4.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x538e65
cmp byte [esi + 0x267], 0
je 0x538e65
cmp byte [esi + 0x268], 0
je 0x538e65
cmp byte [esi + 0x269], 0
jne 0x538ed9
mov eax, dword [esi + 0x134]
cmp dword [esi + 0x10], eax
jge 0x538e92
cmp byte [esi + 0x235], 0
je 0x538ed9
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x536fd4.33
test eax, eax
jle 0x538ed9
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 0x538ebb
cmp byte [esi + 0x235], 0
jne 0x5371e2
jmp 0x538ec7
mov ecx, eax
mov eax, dword [esi + 0xa8]
xor byte [eax + ecx], 1
dec dword [esi + 0x134]
cmp dword [esi + 0x134], 0
jg 0x538e96
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x536fd4.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x538f15
cmp byte [esi + 0x267], 0
je 0x538f15
cmp byte [esi + 0x268], 0
je 0x538f15
cmp byte [esi + 0x269], 0
jne case.0x536fd4.33
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x5371d5
cmp ax, cx
jae 0x5371d5
mov edx, eax
cmp ax, di
ja case.0x536fd4.33
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
or byte [ecx + eax], 1
cmp dx, di
jbe 0x538f40
jmp case.0x536fd4.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x538f82
cmp byte [esi + 0x267], 0
je 0x538f82
cmp byte [esi + 0x268], 0
je 0x538f82
cmp byte [esi + 0x269], 0
jne case.0x536fd4.33
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x5371d5
cmp ax, cx
jae 0x5371d5
mov edx, eax
cmp ax, di
ja case.0x536fd4.33
nop dword [eax]
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
and byte [ecx + eax], 0xfe
cmp dx, di
jbe 0x538fb0
jmp case.0x536fd4.33
mov ecx, dword [ebx]
movzx edx, cl
cmp edx, 0xff
jne 0x538fe1
mov byte [esi + 0x155], 1
jmp case.0x536fd4.33
test cl, cl
je 0x539088
test ecx, 0x100
je 0x539005
movzx eax, word [esi + 0x100]
cmp eax, edx
ja 0x539005
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x200
je 0x53901f
cmp byte [esi + 0x11d], 0
je 0x53901f
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x400
je 0x539039
cmp byte [esi + 0x11e], 0
je 0x539039
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x800
je 0x539055
movzx eax, word [esi + 0x100]
cmp eax, edx
jbe 0x539055
mov byte [esi + 0x155], 0
mov ecx, dword [ebx]
test ecx, 0x1000
je 0x53906f
cmp byte [esi + 0x11d], 0
je 0x53906f
mov byte [esi + 0x155], 0
mov ecx, dword [ebx]
test ecx, 0x2000
je case.0x536fd4.33
cmp byte [esi + 0x11e], 0
je case.0x536fd4.33
mov byte [esi + 0x155], 0
jmp case.0x536fd4.33
movzx ecx, word [ebx]
movzx eax, word [ebx + 4]
cmp cx, word [esi + 0x50]
jae 0x5371d5
cmp ax, word [esi + 0x74]
jae 0x5371d5
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 - 8], ecx
test edi, edi
jne 0x5390ef
test ebx, ebx
jne 0x5390ef
xor dl, dl
mov edi, 0x4000
mov byte [ebp - 9], dl
mov cl, dl
lea eax, [esi + 0x126]
push eax
mov eax, dword [ebp - 4]
and cl, 1
cmovne ebx, edi
sub eax, dword [ebp - 8]
test cl, 1
push ebx
cmove eax, edi
push eax
call fcn.005349b0
mov ecx, dword [esi + 0x58]
add esp, 0xc
add ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x10]
mov ebx, dword [ecx]
sub ebx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov edi, eax
sub edi, edx
mov dword [ebp - 0x10], eax
test ebx, ebx
jne 0x539142
test edi, edi
jne 0x539142
mov ebx, 0x4000
xor cl, cl
jmp 0x539145
mov cl, byte [ebp - 9]
and cl, 1
lea eax, [esi + 0x12a]
push eax
cmovne edi, ebx
sub edx, dword [ebp - 0x10]
test cl, 1
push edi
cmove edx, ebx
push edx
call fcn.005349b0
push esi
call fcn.00533450
add esp, 0x10
jmp case.0x536fd4.33
mov edx, dword [ebx]
xor ecx, ecx
mov edi, dword [esi]
test dl, 1
je 0x539181
mov eax, dword [edi + 0x60]
mov ecx, dword [eax + 0x40]
mov eax, edi
test dl, 2
je 0x539197
cmp byte [esi + 0x11d], 0
je 0x539197
or ecx, 0x100
test dl, 4
je 0x5391ab
cmp byte [esi + 0x11e], 0
je 0x5391ab
or ecx, 0x200
test dl, 8
je 0x5391c1
cmp dword [edi + 0x2e0], 0
mov eax, edi
je 0x5391c1
or ecx, 0x400
test dl, 0x20
je 0x5391d5
cmp byte [esi + 0x264], 0
je 0x5391d5
or ecx, 0x1000
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x539256
cmp byte [esi + 0x265], 0
je 0x539256
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 - 8], ecx
test edi, 0x100
je 0x53921a
cmp byte [esi + 0x266], 0
mov dword [ebp - 8], ecx
je 0x53921a
or ecx, 0x8000
mov dword [ebp - 8], ecx
or ecx, 0x20000
mov eax, edi
and eax, 0x400
mov eax, edi
cmove ecx, dword [ebp - 8]
mov edx, ecx
or edx, 0x40000
and eax, 0x800
cmove edx, ecx
mov ecx, edx
test edi, 0x1000
je 0x539256
cmp byte [esi + 0x26a], 0
je 0x539256
or ecx, 0x80000
mov dword [ebx], ecx
jmp case.0x536fd4.33
cmp dword [esi + 0x164], 3
jne 0x539272
mov dword [esi + 0xc], 0x9c
jmp case.0x536fd4.33
mov edx, dword [esi + 0x19c]
mov edi, dword [esi + 0x1a4]
lea eax, [edx + edx*2]
lea eax, [edi + eax*8]
cmp edi, eax
jae 0x53929e
mov ecx, dword [ebx]
nop word [eax + eax]
cmp dword [edi + 0xc], ecx
je 0x53929c
add edi, 0x18
cmp edi, eax
jb 0x539290
cmp edi, eax
jne 0x5392b5
cmp edx, dword [esi + 0x1a0]
jae 0x539334
lea eax, [edx + 1]
mov dword [esi + 0x19c], eax
mov eax, dword [ebx]
cmp eax, 0xff
ja 0x539334
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 0x5392ed
movzx eax, al
mov dword [esi + 0x1ac], eax
push esi
call fcn.00534eb0
add esp, 4
test al, al
jne case.0x536fd4.33
nop
movzx eax, byte [esi + 0x174]
sub eax, 0x2c
je 0x537916
sub eax, 1
je 0x537908
sub eax, 0x5c
je 0x537916
push esi
call fcn.00534eb0
add esp, 4
test al, al
je 0x539300
jmp case.0x536fd4.33
mov dword [esi + 0xc], 0x8d
jmp case.0x536fd4.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.0x536fd4.33
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jle case.0x536fd4.33
mov dword [ebx], eax
jmp case.0x536fd4.33
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jge case.0x536fd4.33
mov dword [ebx], eax
jmp case.0x536fd4.33
mov eax, dword [ebx]
test eax, eax
js case.0x536fd4.33
movzx eax, ax
mov dword [esi + 0x158], eax
jmp case.0x536fd4.33
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
lea eax, [edi - 1]
cmp eax, 2
ja 0x5371d5
lea ecx, [edi - 1]
mov eax, 1
shl eax, cl
test edx, edx
je 0x5393cd
cmp edx, eax
je 0x5393cd
cmp byte [esi + 0x235], 0
je case.0x536fd4.33
mov dword [esi + 0xc], 0x86
jmp case.0x536fd4.33
not al
and al, byte [esi + 0x154]
or al, dl
mov byte [esi + 0x154], al
cmp edi, 3
jne case.0x536fd4.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne case.0x536fd4.33
cmp edx, 4
setne al
mov byte [esi + 0x267], al
jmp case.0x536fd4.33
mov eax, dword [esi]
mov ecx, dword [eax + 0x2e0]
test ecx, ecx
je case.0x536fd4.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 0x539432
mov dword [esi + 0xc], 0x82
jmp case.0x536fd4.33
test ecx, ecx
je 0x5394ed
xor edi, edi
test edx, edx
je case.0x536fd4.33
cmp edx, 0x10
jb 0x5394c2
lea eax, [edx - 1]
lea eax, [ecx + eax*4]
cmp ebx, eax
ja 0x53945d
lea eax, [edx - 1]
lea eax, [ebx + eax*4]
cmp eax, ecx
jae 0x5394c2
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 0x539480
mov esi, dword [ebp + 8]
cmp edi, edx
jae case.0x536fd4.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 0x5394d4
mov esi, dword [ebp + 8]
jmp case.0x536fd4.33
test edx, edx
je case.0x536fd4.33
mov ecx, edx
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
jmp case.0x536fd4.33
mov eax, dword [esi]
cmp dword [eax + 0x2e0], 0
je case.0x536fd4.40
mov dword [ebx], 0x11
jmp case.0x536fd4.33
cmp dl, 0xe0
jb 0x539530
push ebx
push esi
call fcn.00534410
add esp, 8
jmp case.0x536fd4.33
cmp dl, 0xc0
jb 0x539544
push ebx
push esi
call fcn.00534190
add esp, 8
jmp case.0x536fd4.33
cmp dl, 0xb8
jb 0x5395c4
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 0x539570
mov dword [esi + 0xc], 0x82
jmp case.0x536fd4.33
inc dword [esi + 0x16c]
xor eax, eax
cmp ax, cx
jae 0x5395bb
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 0x539580
mov byte [esi + 0x17c], 0
jmp case.0x536fd4.33
cmp dl, 0xb0
jb case.0x536fd4.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 0x5395ee
mov dword [esi + 0xc], 0x82
jmp case.0x536fd4.33
mov edi, 1
mov eax, edi
cmp ax, cx
ja case.0x536fd4.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 0x539600
jmp case.0x536fd4.33
push esi
call fcn.005348c0
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5396c4
cmp eax, 0x80
jne 0x539783
mov eax, dword [esi + 0x19c]
mov ecx, dword [esi + 0x1a4]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
cmp ecx, edx
jae 0x539737
cmp byte [ecx + 0x10], 0
je 0x53966c
mov al, byte [esi + 0x174]
cmp al, byte [ecx + 0xc]
je 0x539671
add ecx, 0x18
jmp 0x539653
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jge 0x539724
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.005339d0
add esp, 0xc
cmp al, 1
jne 0x5396ed
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 0x5396df
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 0x53975c
mov edi, dword [esi + 0x16c]
cmp edi, dword [esi + 0x170]
jge 0x53974a
cmp byte [esi + 0x1ec], 0
je 0x536ea0
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 0x53977b
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