Function at 0x526230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x164
mov eax, dword [0x5ff1d4]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x108], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10c], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x110], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x114], ebx
mov dword [esp + 0xf0], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x58], eax
or eax, 0xffffffff
movups xmm2, xmmword [0x5e6830]
mov dword [esp + 0xb4], eax
mov eax, dword [ecx]
mov dword [esp + 0xec], ecx
mov ecx, dword [ebx]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x90], ebx
mov ebx, eax
shr ebx, 0x13
and ebx, 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x8c], ebx
mov ebx, eax
shr ebx, 0x11
and ebx, 1
mov dword [esp + 0x28], edx
mov dword [esp + 0xac], ebx
mov ebx, eax
shr ebx, 0x12
and ebx, 1
shr eax, 3
mov esi, dword [ebp + 0x10]
mov dword [esp + 0xc8], ebx
xor ebx, 1
mov dword [esp + 0xcc], ebx
or edi, 0xffffffff
xor ebx, ebx
mov dword [esp + 0x118], esi
mov esi, dword [esi]
and eax, 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x98], eax
mov dword [esp + 0xf4], 0x8a
mov dword [esp + 0xf8], 0x84
movaps xmmword [esp + 0xd0], xmm2
nop dword [eax]
mov eax, dword [esi]
mov dword [esp + 0x50], edi
mov edi, eax
and edi, 0xffff0000
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x58], 0
mov dword [esp + 0x38], edi
movzx ebx, ax
je 0x52648d
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x28]
mov edx, dword [esp + 0x18]
lea ecx, [eax + ecx*2]
lea eax, [ecx - 0xc8]
cmp edx, eax
ja 0x529501
mov eax, dword [esp + 0xbc]
cmp edx, eax
cmovae eax, edx
mov dword [esp + 0x18], eax
mov ecx, eax
cmp edi, 0x80340000
jb 0x526441
cmp edi, 0x803f0000
jbe 0x526486
sub ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x58]
sar ecx, 1
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, 0x7fffffeb
sub eax, ecx
cmp eax, edx
jb 0x52968e
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x58]
mov dword [ecx], eax
cmp eax, 0x10000
ja 0x52968e
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xbc], ecx
cmp edi, 0x80340000
jb 0x52649d
cmp edi, 0x803f0000
jbe 0x5264c9
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], ecx
test eax, eax
je 0x5264cd
mov edx, dword [esp + 0xb4]
mov edi, 1
cmp dword [esp + 0xc4], 0
cmove edx, edi
mov dword [esp + 0xb4], edx
jmp 0x5264cd
mov eax, dword [esp + 0x5c]
xor edi, edi
mov dword [esp + 0x5c], 0
xor edx, edx
cmp dword [esp + 0x38], 0x80220000
ja 0x527da3
mov eax, dword [esp + 0x38]
cmp eax, 0x80220000
je 0x527d8a
cmp eax, 0x800f0000
ja 0x527550
mov edi, eax
cmp edi, 0x800f0000
je 0x527537
cmp edi, 0x80070000
ja 0x526750
je 0x526642
cmp edi, 0x80030000
ja 0x5265b5
je 0x52656a
cmp edi, 0x80000000
je 0x5295a8
cmp edi, 0x80010000
je 0x5295a8
cmp edi, 0x80020000
jne 0x52857e
mov ecx, dword [esp + 0x28]
lea edi, [edx + 1]
mov eax, 0x84
mov dword [esp + 0x40], eax
mov ebx, eax
jmp 0x527e92
mov edx, dword [esp + 0x28]
cmp ebx, 0xa
jae 0x52657b
lea esi, [edx + 0x2c]
lea esi, [esi + ebx*4]
jmp 0x526582
add esi, 4
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
mov dword [esp + 0x74], eax
cmp ebx, dword [edx + 0x74]
jbe 0x527c21
mov dword [edx + 0x54], eax
mov eax, dword [esp + 0x64]
mov dword [eax], 0x73
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
cmp edi, 0x80040000
je 0x527b46
cmp edi, 0x80050000
je 0x526636
cmp edi, 0x80060000
jne 0x527e5d
mov eax, 0x76
mov edx, dword [esp + 0x28]
mov word [ecx], ax
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
movaps xmm2, xmmword [esp + 0xd0]
movzx eax, word [eax + 4]
mov word [ecx + 2], ax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 8]
mov word [ecx + 4], ax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 0xc]
mov word [ecx + 6], ax
mov esi, dword [esp + 0x1c]
movzx eax, byte [0x59daf6]
add esi, 0xc
add esi, 4
mov dword [esp + 0x1c], esi
lea ecx, [ecx + eax*2]
mov dword [esp + 0x18], ecx
jmp 0x5263e0
add esi, 4
mov dword [esp + 0x1c], esi
jmp 0x52858a
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x526675
mov eax, dword [esi + 0xc]
add esi, 0x10
mov edx, dword [esp + 0x28]
add eax, 5
add dword [ebx], eax
add esi, 4
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
movaps xmm2, xmmword [esp + 0xd0]
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov edx, dword [esi + 0xc]
lea ebx, [ecx + 0xa]
mov eax, 0x77
mov word [ecx], ax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 4]
mov word [ecx + 2], ax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 8]
mov word [ecx + 4], ax
mov eax, dword [esp + 0x1c]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov esi, dword [eax]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], esi
mov eax, dword [eax + 0x1c]
lea esi, [eax + esi*2]
movzx eax, word [esi]
add esi, 2
mov word [ebx], ax
mov edi, eax
add ebx, 2
mov eax, 0x7d
cmp edi, 0x7b
cmove edi, eax
mov eax, dword [esp + 0x74]
inc eax
dec edx
mov word [ecx + 8], ax
cmp edx, 1
jbe 0x526715
nop
movzx ecx, word [esi]
cmp ecx, edi
jne 0x5266fa
movzx eax, word [esi + 2]
cmp eax, edi
jne 0x5266fa
dec edx
movzx eax, di
mov ecx, 4
jmp 0x526701
mov eax, ecx
mov ecx, 2
add esi, ecx
mov word [ebx], ax
dec edx
lea ecx, [ebx + 2]
mov ebx, ecx
cmp edx, 1
ja 0x5266e0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
xor eax, eax
mov edi, dword [esp + 0x20]
movaps xmm2, xmmword [esp + 0xd0]
mov word [ebx], ax
lea eax, [ebx + 2]
sub eax, ecx
sar eax, 1
mov word [ecx + 6], ax
lea ecx, [ebx + 2]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
add esi, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jmp 0x5263e0
cmp edi, 0x800b0000
ja 0x526802
je 0x5274cf
cmp edi, 0x80080000
je 0x5267dc
cmp edi, 0x80090000
je 0x52677d
cmp edi, 0x800a0000
jmp 0x526814
test dword [esp + 0x54], 0x400
je 0x5267a5
cmp dword [esp + 0x3c], 0xffffffff
jne 0x52679e
mov dword [esp + 0x3c], 0xfffffffe
mov dword [esp + 0x34], 0xfffffffe
mov ecx, 0x1c
jmp 0x5267aa
mov ecx, 0x1b
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
movaps xmm2, xmmword [esp + 0xd0]
mov word [edx], cx
lea ecx, [edx + 2]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
add esi, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov eax, 0x88
mov word [ecx + 4], bx
mov dword [esp + 0x40], eax
mov edx, 1
mov eax, dword [esp + 0x28]
mov edi, edx
mov ecx, eax
mov dword [eax + 0x78], ebx
mov ebx, dword [esp + 0x40]
jmp 0x527e92
cmp edi, 0x800c0000
je 0x5274cf
cmp edi, 0x800e0000
jne 0x527e5d
xor eax, eax
mov dword [esp + 0x5c], 1
cmp edi, 0x800e0000
lea edx, [esi + 4]
mov edi, dword [edx]
sete al
mov dword [esp + 0x40], eax
cmp edi, 0x80000000
jae 0x5269a2
cmp dword [esi + 8], 0x800d0000
lea eax, [esi + 8]
jne 0x5269a2
cmp dword [esp + 0x38], 0x800a0000
mov dword [esp + 0x1c], eax
je 0x52858c
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
cmp ebx, 0xffffffff
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x80], eax
mov eax, 0xfffffffe
cmove ebx, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x34], ebx
test edx, edx
jne 0x5268b1
cmp dword [esp + 0xac], edx
je 0x526937
mov ebx, dword [esp + 0x54]
test bl, 8
je 0x52693e
mov eax, edi
test eax, eax
jns 0x5268c7
add eax, 0x7f
sar eax, 7
movzx ecx, word [eax*2 + 0x5a4390]
mov eax, edi
shl ecx, 7
and eax, 0x8000007f
jns 0x5268e3
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x5a8790]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x5a0183]
test al, al
je 0x52693b
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
movaps xmm2, xmmword [esp + 0xd0]
mov dword [ecx], 0xa000f
movzx eax, al
mov word [ecx + 4], ax
add ecx, 6
mov esi, dword [esp + 0x1c]
add esi, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov ebx, dword [esp + 0x54]
test bl, 8
mov eax, 0
setne al
add eax, 0x1f
mov word [ecx], ax
add ecx, 2
mov dword [esp + 0x18], ecx
test edx, edx
je 0x52696f
cmp edi, 0xffff
jbe 0x52696f
push ecx
push edi
call fcn.00530020
mov ecx, dword [esp + 0x20]
add esp, 8
jmp 0x526977
mov word [ecx], di
mov eax, 1
mov esi, dword [esp + 0x1c]
lea ecx, [ecx + eax*2]
mov edx, dword [esp + 0x28]
add esi, 4
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
movaps xmm2, xmmword [esp + 0xd0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jmp 0x5263e0
cmp dword [esp + 0x38], 0x800a0000
jne 0x526ab7
cmp edi, 0x80000000
jae 0x526ab7
mov ebx, dword [esi + 8]
cmp ebx, 0x80000000
jae 0x526ab7
add esi, 0xc
cmp dword [esi], 0x800d0000
jne 0x526ab7
mov eax, edi
test eax, eax
jns 0x5269e3
add eax, 0x7f
sar eax, 7
movzx ecx, word [eax*2 + 0x5a4390]
mov eax, edi
shl ecx, 7
and eax, 0x8000007f
jns 0x5269ff
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x5a8790]
lea eax, [eax + eax*2]
cmp byte [eax*4 + 0x5a0183], 0
jne 0x526ab3
cmp dword [esp + 0x8c], 0
jne 0x526a2e
cmp dword [esp + 0xac], 0
je 0x526a3e
cmp edi, 0x7f
jbe 0x526a3e
mov eax, dword [eax*4 + 0x5a0184]
add eax, edi
jmp 0x526a51
cmp edi, 0xff
ja 0x526ab3
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
movzx eax, byte [eax + edi]
cmp edi, eax
je 0x526ab3
cmp ebx, eax
jne 0x526ab3
mov edx, dword [esp + 0x54]
mov ecx, edx
mov dword [esp + 0x1c], esi
and ecx, 8
jne 0x526a7e
mov dword [esp + 0xb0], 1
mov dword [esp + 0x98], 1
mov eax, edx
or eax, 8
test ecx, ecx
cmovne eax, edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x54], eax
test edx, edx
je 0x528638
lea eax, [esp + 0x13c]
push eax
push edi
call fcn.00530020
add esp, 8
mov ebx, eax
jmp 0x528645
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 6]
mov dword [esp + 0x1c], edx
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
xor ebx, ebx
mov dword [esp + 0x50], 0
movups xmmword [esp + 0x11c], xmm0
xor esi, esi
mov dword [esp + 0x34], ebx
movups xmmword [esp + 0x12c], xmm0
mov edi, dword [edx]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], ebx
cmp edi, 0x800d0000
je 0x526ed0
mov ecx, eax
mov ebx, esi
cmp edi, 0x801c0000
je 0x5270a0
cmp edi, 0x801d0000
je 0x5270a0
cmp edi, 0x80050000
jne 0x526b4a
add edx, 4
mov dword [esp + 0x1c], edx
mov edi, dword [edx]
cmp edi, 0xd
je 0x526b3a
cmp edi, 0xa
jne 0x527037
mov ecx, dword [esp + 0x28]
or dword [ecx + 0x70], 0x800
jmp 0x52703b
cmp edi, 0x80000000
jb 0x526b2c
mov eax, edi
and eax, 0xffff0000
cmp eax, 0x80180000
jne 0x527e5d
movzx edi, di
inc esi
mov dword [esp + 0x78], esi
lea eax, [edi - 6]
cmp eax, 0xf
ja case.0x526b78.12
jmp dword [eax*4 + 0x5296d0]
mov edi, dword [esp + 0x90]
xor ecx, ecx
lea eax, [edi + 0x5f]
lea edx, [edi + 0x40]
lea edi, [esp + 0x11c]
cmp edi, eax
ja 0x526bc0
lea eax, [esp + 0x13b]
cmp eax, edx
jb 0x526bc0
mov al, byte [ecx + edx]
or byte [esp + ecx + 0x11c], al
inc ecx
cmp ecx, 0x20
jl 0x526ba4
jmp 0x526e89
movups xmm0, xmmword [esp + ecx + 0x11c]
movups xmm1, xmmword [ecx + edx]
por xmm1, xmm0
movups xmmword [esp + ecx + 0x11c], xmm1
add ecx, 0x10
cmp ecx, 0x20
jl 0x526bc0
jmp 0x526e89
mov edi, dword [esp + 0x90]
mov ebx, 1
xor ecx, ecx
mov dword [esp + 0x34], ebx
lea eax, [edi + 0x5f]
lea edx, [edi + 0x40]
lea edi, [esp + 0x11c]
cmp edi, eax
ja 0x526c30
lea eax, [esp + 0x13b]
cmp eax, edx
jb 0x526c30
mov al, byte [ecx + edx]
not al
or byte [esp + ecx + 0x11c], al
inc ecx
cmp ecx, 0x20
jl 0x526c13
mov ecx, dword [esp + 0x2c]
jmp 0x526e91
movups xmm1, xmmword [ecx + edx]
movups xmm0, xmmword [esp + ecx + 0x11c]
pandn xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + ecx + 0x11c], xmm1
add ecx, 0x10
cmp ecx, 0x20
jl 0x526c30
mov ecx, dword [esp + 0x2c]
jmp 0x526e91
mov edi, dword [esp + 0x90]
xor ecx, ecx
lea eax, [edi + 0xbf]
lea edx, [edi + 0xa0]
lea edi, [esp + 0x11c]
cmp edi, eax
ja 0x526cb0
lea eax, [esp + 0x13b]
cmp eax, edx
jb 0x526cb0
nop dword [eax + eax]
mov al, byte [edx + ecx]
or byte [esp + ecx + 0x11c], al
inc ecx
cmp ecx, 0x20
jl 0x526c90
jmp 0x526e89
movups xmm0, xmmword [esp + ecx + 0x11c]
movups xmm1, xmmword [edx + ecx]
por xmm1, xmm0
movups xmmword [esp + ecx + 0x11c], xmm1
add ecx, 0x10
cmp ecx, 0x20
jl 0x526cb0
jmp 0x526e89
mov ecx, dword [esp + 0x90]
lea edi, [esp + 0x11c]
mov ebx, 1
xor eax, eax
mov dword [esp + 0x34], ebx
lea edx, [ecx + 0xa0]
add ecx, 0xbf
cmp edi, ecx
ja 0x526d30
lea ecx, [esp + 0x13b]
cmp ecx, edx
jb 0x526d30
nop dword [eax]
mov cl, byte [edx + eax]
not cl
or byte [esp + eax + 0x11c], cl
inc eax
cmp eax, 0x20
jl 0x526d10
mov ecx, dword [esp + 0x2c]
jmp 0x526e91
movups xmm1, xmmword [edx + eax]
movups xmm0, xmmword [esp + eax + 0x11c]
pandn xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x11c], xmm1
add eax, 0x10
cmp eax, 0x20
jl 0x526d30
mov ecx, dword [esp + 0x2c]
jmp 0x526e91
mov edi, dword [esp + 0x90]
lea ecx, [esp + 0x11c]
xor edx, edx
lea eax, [edi + 0x1f]
cmp ecx, eax
ja 0x526da2
lea eax, [esp + 0x13b]
cmp eax, edi
jb 0x526da2
mov esi, edi
mov eax, ecx
sub esi, eax
lea ecx, [esp + 0x11c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
or byte [ecx], al
cmp edx, 0x20
jl 0x526d85
mov esi, dword [esp + 0x78]
jmp 0x526e89
mov ecx, edi
lea eax, [esp + 0x11c]
sub ecx, eax
nop dword [eax]
lea eax, [esp + 0x11c]
add eax, edx
add edx, 0x10
movups xmm0, xmmword [eax]
movups xmm1, xmmword [ecx + eax]
por xmm1, xmm0
movups xmmword [eax], xmm1
cmp edx, 0x20
jl 0x526db0
jmp 0x526e89
mov edi, dword [esp + 0x90]
lea ecx, [esp + 0x11c]
mov ebx, 1
xor edx, edx
mov dword [esp + 0x34], ebx
lea eax, [edi + 0x1f]
cmp ecx, eax
ja 0x526e25
lea eax, [esp + 0x13b]
cmp eax, edi
jb 0x526e25
mov esi, edi
mov eax, ecx
sub esi, eax
lea ecx, [esp + 0x11c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
not al
or byte [ecx], al
cmp edx, 0x20
jl 0x526e05
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x2c]
jmp 0x526e91
mov ecx, edi
lea eax, [esp + 0x11c]
sub ecx, eax
lea eax, [esp + 0x11c]
add eax, edx
add edx, 0x10
movups xmm1, xmmword [ecx + eax]
movups xmm0, xmmword [eax]
pandn xmm1, xmm2
por xmm1, xmm0
movups xmmword [eax], xmm1
cmp edx, 0x20
jl 0x526e30
mov ecx, dword [esp + 0x2c]
jmp 0x526e91
push 0xffffffffffffffff
push 0x59db70
push dword [esp + 0x30]
mov eax, dword [esp + 0x60]
and eax, 0xfffffff7
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.005258d0
add esp, 0x18
movaps xmm2, xmmword [esp + 0xd0]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
cmp eax, ecx
jbe 0x526eb3
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], 1
test edx, edx
je 0x526eb3
sub eax, ecx
mov dword [esp + 0x30], ecx
sar eax, 1
add dword [edx], eax
mov edx, dword [esp + 0x1c]
add edx, 4
mov dword [esp + 0x1c], edx
mov edi, dword [edx]
cmp edi, 0x800d0000
jne 0x526b01
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
mov eax, 0xfffffffe
cmp edi, 0xffffffff
cmove edi, eax
cmp dword [esp + 0x60], 0
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edi
je 0x52744a
mov eax, dword [esp + 0x54]
and eax, 0x20000
jne 0x526f29
cmp dword [esp + 0x44], eax
jne 0x526f29
test ebx, ebx
jne 0x52744a
cmp dword [esp + 0x50], 0
jne 0x526f4e
test ebx, ebx
je 0x527342
cmp dword [esp + 0x38], 0x800e0000
je 0x527342
test eax, eax
jne 0x527342
mov eax, dword [esp + 0x30]
mov ecx, 2
mov word [eax], cx
mov eax, dword [esp + 0x30]
add eax, ecx
cmp dword [esp + 0x8c], 0
mov dword [esp + 0x30], eax
je 0x527322
push eax
push 0x100
call fcn.00530020
mov ecx, dword [esp + 0x38]
lea eax, [ecx + eax*2]
push eax
push 0x10ffff
mov dword [esp + 0x40], eax
call fcn.00530020
mov ecx, dword [esp + 0x40]
add esp, 0x10
lea eax, [ecx + eax*2]
mov dword [esp + 0x30], eax
jmp 0x527342
push 0x59db70
jmp 0x526fbe
push 0xffffffffffffffff
push 0x59dbc0
jmp 0x526e60
push 0x59dbc0
push dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
and eax, 0xfffffff7
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.00525950
add esp, 0x14
jmp 0x526e81
lea eax, [edx + 4]
mov dword [esp + 0x44], 1
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov eax, dword [eax]
mov edx, eax
movzx esi, ax
mov eax, dword [esp + 0x30]
shr edx, 0x10
cmp edi, 0x10
setne cl
add ecx, 3
mov word [eax], cx
mov eax, dword [esp + 0x30]
add eax, 2
mov dword [esp + 0x30], eax
mov word [eax], dx
mov eax, dword [esp + 0x30]
add eax, 2
mov dword [esp + 0x30], eax
mov word [eax], si
mov esi, ebx
add dword [esp + 0x30], 2
jmp 0x526e89
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
cmp eax, 0x801f0000
je 0x527073
cmp eax, 0x801e0000
je 0x527073
push edi
push edi
push ecx
push dword [esp + 0x60]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.00525a10
add esp, 0x18
add esi, eax
jmp 0x526e81
add edx, 8
mov dword [esp + 0x1c], edx
mov eax, dword [edx]
cmp eax, 0x80050000
jne 0x52708c
lea eax, [edx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
cmp eax, 0xd
je 0x527096
cmp eax, 0xa
jne 0x52709d
or dword [ecx + 0x70], 0x800
push eax
jmp 0x527051
mov eax, dword [esp + 0x54]
xor ebx, ebx
cmp edi, 0x801d0000
sete bl
add edx, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], ebx
mov edx, dword [edx]
test al, 8
je 0x5270c8
xor ecx, ecx
cmp edx, 2
cmovle edx, ecx
test eax, 0x20000
je 0x5270f0
mov eax, edx
sub eax, 8
je 0x527185
sub eax, 1
je 0x527185
sub eax, 1
je 0x527185
or dword [esp + 0x50], ebx
lea ecx, [edx + edx*2]
mov eax, dword [ecx*4 + 0x59d778]
add eax, dword [esp + 0x90]
mov esi, dword [ecx*4 + 0x59d780]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x14c], xmm0
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [ecx*4 + 0x59d77c]
movups xmmword [esp + 0x15c], xmm0
test eax, eax
js 0x527274
mov ecx, dword [esp + 0x90]
lea ebx, [esp + 0x14c]
lea edx, [ecx + eax]
add eax, 0x1f
add eax, ecx
xor ecx, ecx
test esi, esi
js 0x527212
cmp ebx, eax
mov ebx, dword [esp + 0x34]
ja 0x5271f0
lea eax, [esp + 0x16b]
cmp eax, edx
jb 0x5271f0
nop dword [eax]
mov al, byte [edx + ecx]
or byte [esp + ecx + 0x14c], al
inc ecx
cmp ecx, 0x20
jl 0x527170
jmp 0x527274
mov eax, dword [esp + 0x30]
xor ecx, ecx
cmp edi, 0x801d0000
sete cl
add ecx, 3
mov word [eax], cx
mov ecx, dword [esp + 0x30]
add ecx, 2
mov dword [esp + 0x30], ecx
cmp edx, 8
jne 0x5271af
lea eax, [edx + 6]
jmp 0x5271ba
xor eax, eax
cmp edx, 9
setne al
add eax, 0xf
mov word [ecx], ax
xor ecx, ecx
mov eax, dword [esp + 0x30]
add eax, 2
mov dword [esp + 0x44], 1
mov dword [esp + 0x30], eax
mov word [eax], cx
add dword [esp + 0x30], 2
mov ecx, dword [esp + 0x2c]
jmp 0x526e91
movups xmm0, xmmword [esp + ecx + 0x14c]
movups xmm1, xmmword [edx + ecx]
por xmm1, xmm0
movups xmmword [esp + ecx + 0x14c], xmm1
add ecx, 0x10
cmp ecx, 0x20
jl 0x5271f0
jmp 0x527274
cmp ebx, eax
mov ebx, dword [esp + 0x34]
ja 0x527250
lea eax, [esp + 0x16b]
cmp eax, edx
jb 0x527250
nop word [eax + eax]
mov al, byte [edx + ecx]
not al
and byte [esp + ecx + 0x14c], al
inc ecx
cmp ecx, 0x20
jl 0x527230
jmp 0x527274
movups xmm1, xmmword [edx + ecx]
movups xmm0, xmmword [esp + ecx + 0x14c]
pandn xmm1, xmm2
pand xmm1, xmm0
movups xmmword [esp + ecx + 0x14c], xmm1
add ecx, 0x10
cmp ecx, 0x20
jl 0x527250
mov eax, esi
neg eax
test esi, esi
cmovns eax, esi
cmp eax, 1
jne 0x52728c
and byte [esp + 0x14d], 0xc3
jmp 0x527299
cmp eax, 2
jne 0x527299
and byte [esp + 0x157], 0x7f
xor eax, eax
cmp edi, 0x801d0000
jne 0x5272f0
nop dword [eax]
nop word [eax + eax]
movups xmm1, xmmword [esp + eax + 0x14c]
movups xmm0, xmmword [esp + eax + 0x11c]
pandn xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x11c], xmm1
add eax, 0x10
cmp eax, 0x20
jl 0x5272b0
mov ecx, dword [esp + 0x2c]
mov esi, 1
jmp 0x526e91
movups xmm0, xmmword [esp + eax + 0x11c]
movups xmm1, xmmword [esp + eax + 0x14c]
por xmm1, xmm0
movups xmmword [esp + eax + 0x11c], xmm1
add eax, 0x10
cmp eax, 0x20
jl 0x5272f0
mov ecx, dword [esp + 0x2c]
mov esi, 1
jmp 0x526e91
mov ecx, 0x100
mov word [eax], cx
mov ecx, 0xffff
mov eax, dword [esp + 0x30]
add eax, 2
mov dword [esp + 0x30], eax
mov word [eax], cx
add dword [esp + 0x30], 2
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x38]
mov word [eax], cx
mov eax, 0x70
add dword [esp + 0x30], 2
mov word [ebx], ax
xor eax, eax
cmp edi, 0x800e0000
sete al
cmp dword [esp + 0x44], 0
movzx eax, ax
mov word [ebx + 4], ax
mov ecx, eax
je 0x527385
or eax, 4
mov word [ebx + 4], ax
movzx ecx, ax
test esi, esi
jle 0x527410
or ecx, 2
mov word [ebx + 4], cx
add ebx, 6
mov eax, dword [esp + 0x30]
sub eax, ebx
and eax, 0xfffffffe
push eax
lea eax, [ebx + 0x20]
push ebx
push eax
call fcn.00561680
add esp, 0xc
cmp edi, 0x800e0000
jne 0x5273f0
cmp dword [esp + 0x44], 0
jne 0x5273f0
movaps xmm1, xmmword [esp + 0xd0]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x11c]
pandn xmm0, xmm1
movups xmmword [esp + eax + 0x11c], xmm0
add eax, 0x10
cmp eax, 0x20
jl 0x5273d0
nop dword [eax]
movups xmm0, xmmword [esp + 0x11c]
movups xmmword [ebx], xmm0
movups xmm0, xmmword [esp + 0x12c]
movups xmmword [ebx + 0x10], xmm0
mov ecx, dword [esp + 0x30]
add ecx, 0x20
jmp 0x527414
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
mov eax, ecx
mov edi, dword [esp + 0x20]
sub eax, edx
mov ebx, dword [esp + 0x24]
movaps xmm2, xmmword [esp + 0xd0]
sar eax, 1
mov word [edx + 2], ax
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
add esi, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jmp 0x5263e0
xor eax, eax
cmp dword [esp + 0x40], ebx
setne al
add eax, 0x6e
cmp dword [esp + 0x58], 0
mov word [ecx], ax
jne 0x5274a8
cmp dword [esp + 0x38], 0x800e0000
jne 0x527490
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [esp + eax + 0x11c]
pandn xmm0, xmm2
movups xmmword [esp + eax + 0x11c], xmm0
add eax, 0x10
cmp eax, 0x20
jl 0x527470
nop dword [eax]
movups xmm0, xmmword [esp + 0x11c]
movups xmmword [ecx + 2], xmm0
movups xmm0, xmmword [esp + 0x12c]
movups xmmword [ecx + 0x12], xmm0
mov esi, dword [esp + 0x1c]
add ecx, 0x22
mov edx, dword [esp + 0x28]
add esi, 4
mov ebx, dword [esp + 0x24]
movaps xmm2, xmmword [esp + 0xd0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov ebx, dword [esp + 0x24]
cmp edi, 0x800c0000
mov edi, dword [esp + 0x3c]
mov edx, 0xd
movaps xmm2, xmmword [esp + 0xd0]
mov eax, 0xa2
cmove eax, edx
mov dword [esp + 0x5c], 1
mov edx, dword [esp + 0x28]
mov word [ecx], ax
add ecx, 2
mov esi, dword [esp + 0x1c]
cmp edi, 0xffffffff
mov eax, 0xfffffffe
mov dword [esp + 0x18], ecx
cmove edi, eax
mov eax, dword [esp + 0x68]
add esi, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov ecx, dword [esp + 0x28]
mov eax, 0x8a
mov dword [esp + 0x40], eax
mov edi, 1
mov ebx, eax
jmp 0x527e92
cmp eax, 0x80170000
ja 0x527912
je 0x5278a2
cmp eax, 0x80130000
ja 0x527617
je 0x5276cd
cmp eax, 0x80100000
je 0x5275ee
cmp eax, 0x80110000
je 0x5276cd
cmp eax, 0x80120000
jne 0x527e5d
mov ebx, dword [esp + 0x28]
add esi, 4
mov eax, 0x8a
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], eax
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
cmp eax, dword [ebx + 0x74]
ja 0x52952a
cmp eax, dword [ebx + 0x88]
jbe 0x5275c5
mov dword [ebx + 0x88], eax
mov ebx, dword [esp + 0x40]
sub edx, 2
mov dword [esp + 0x74], edx
mov edx, 0x90
mov word [ecx + 4], dx
mov edx, 2
mov word [ecx + 6], ax
mov ecx, dword [esp + 0x28]
lea edi, [edx - 1]
jmp 0x527e92
add esi, 4
mov ebx, 0x8a
mov dword [esp + 0x1c], esi
mov edx, 1
mov eax, dword [esi]
mov dword [esp + 0x74], eax
mov eax, 0xa7
mov word [ecx + 4], ax
mov ecx, dword [esp + 0x28]
jmp 0x527e92
cmp eax, 0x80140000
je 0x5276cd
cmp eax, 0x80150000
je 0x527674
cmp eax, 0x80160000
jne 0x527e5d
mov eax, dword [esp + 0x54]
and eax, 0x400
neg eax
sbb eax, eax
neg eax
add eax, 0x19
mov word [ecx], ax
add ecx, 2
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
add esi, 4
mov ebx, dword [esp + 0x24]
movaps xmm2, xmmword [esp + 0xd0]
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov eax, 0x8a
mov dword [esp + 0x40], eax
cmp dword [esi + 4], edx
jbe 0x527697
cmp dword [esi + 8], 0xa
jb 0x527690
jne 0x5276a8
cmp dword [esi + 0xc], 0x2a
ja 0x5276a8
mov eax, 0x95
jmp 0x5276ad
cmp dword [esi + 8], 0xa
jne 0x5276a8
cmp dword [esi + 0xc], 0x2a
mov eax, 0x95
je 0x5276ad
mov eax, 0x94
mov ebx, dword [esp + 0x40]
mov edx, 1
movzx eax, ax
mov edi, edx
mov word [ecx + 4], ax
add dword [esp + 0x1c], 0xc
mov ecx, dword [esp + 0x28]
jmp 0x527e92
mov edx, dword [esp + 0x28]
add esi, 4
mov eax, 0x8a
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], eax
lea eax, [esi + 4]
mov ebx, dword [esi]
xor esi, esi
mov edi, dword [edx + 0x64]
mov dword [esp + 0x1c], eax
mov ecx, dword [eax]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x74], ecx
lea ecx, [eax + ecx*2]
xor eax, eax
mov dword [esp + 0x88], ecx
cmp ax, word [edx + 0x58]
jae 0x52779a
nop
movzx eax, word [edi + 8]
cmp ebx, eax
jne 0x527733
push ebx
push dword [edi]
push ecx
call fcn.0052f850
add esp, 0xc
test eax, eax
je 0x527741
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x28]
movzx eax, word [edx + 0x58]
inc esi
add edi, 0xc
cmp esi, eax
jb 0x527710
jmp 0x52779a
cmp word [edi + 0xa], 0
jne 0x527796
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x38], 0x80130000
mov ebx, dword [esp + 0x28]
sete al
lea eax, [eax*2 + 0x90]
mov word [ecx + 4], ax
mov ax, word [edi + 4]
mov word [ecx + 6], ax
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 0x88]
jbe 0x527781
mov dword [ebx + 0x88], eax
mov ebx, dword [esp + 0x40]
mov edx, 2
mov ecx, dword [esp + 0x28]
lea edi, [edx - 1]
jmp 0x527e92
mov edx, dword [esp + 0x28]
movzx eax, word [edx + 0x58]
cmp esi, eax
jb 0x52781b
xor esi, esi
cmp dword [esp + 0x38], 0x80140000
jne 0x52957c
lea edx, [esi + 1]
cmp ebx, edx
jbe 0x5277de
mov edi, dword [esp + 0x88]
movzx ecx, word [edi + edx*2]
lea esi, [esi + esi*4]
lea esi, [esi - 0x18]
lea esi, [ecx + esi*2]
cmp esi, 0xffff
ja 0x52954e
inc edx
cmp edx, ebx
jb 0x5277c0
mov ebx, dword [esp + 0x28]
cmp esi, dword [ebx + 0x74]
ja 0x529580
mov ebx, dword [esp + 0x40]
test esi, esi
mov eax, 0xffff
mov edx, 2
cmove esi, eax
mov ecx, 0x92
mov eax, dword [esp + 0x18]
lea edi, [edx - 1]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x28]
mov word [eax + 6], si
jmp 0x527e92
mov edx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x38], 0x80130000
sete al
xor ecx, ecx
mov dword [esp + 0x50], ecx
lea eax, [eax*2 + 0x90]
mov word [edx + 4], ax
xor eax, eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0x58], eax
jne 0x52787d
push dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x48]
mov edi, dword [esp + 0x8c]
push ecx
push eax
lea eax, [esp + 0x5c]
push eax
push ebx
push edi
call fcn.00529bd0
add esp, 0x18
test eax, eax
je 0x5296b9
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x18]
mov edx, 3
inc word [ebx + 4]
lea edi, [edx - 2]
mov word [ebx + 6], cx
mov ecx, dword [esp + 0x28]
mov word [ebx + 8], ax
mov ebx, dword [esp + 0x40]
jmp 0x527e92
mov edi, dword [esp + 0x3c]
mov eax, 0xfffffffe
mov ebx, dword [esp + 0x24]
cmp edi, 0xffffffff
mov edx, dword [esp + 0x28]
movaps xmm2, xmmword [esp + 0xd0]
cmove edi, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
shr eax, 5
and eax, 1
mov dword [esp + 0x3c], edi
or eax, 0xc
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x20]
mov word [ecx], ax
add ecx, 2
mov esi, dword [esp + 0x1c]
add esi, 4
mov dword [esp + 0x5c], 1
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jmp 0x5263e0
cmp eax, 0x801b0000
ja 0x527b30
je 0x527aed
cmp eax, 0x80180000
je 0x527959
cmp eax, 0x80190000
je 0x5295a8
cmp eax, 0x801a0000
jne 0x527e5d
mov ecx, dword [esp + 0x28]
mov eax, 0x86
mov dword [esp + 0x40], eax
mov edi, 1
mov ebx, eax
jmp 0x527e92
mov edi, dword [esp + 0x3c]
cmp ebx, 5
jbe 0x52797e
cmp ebx, 0x17
jae 0x52797e
cmp edi, 0xffffffff
mov dword [esp + 0x5c], 1
mov eax, 0xfffffffe
cmove edi, eax
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edi
cmp ebx, 0xf
je 0x527a55
cmp ebx, 0x10
je 0x527a55
mov edx, dword [esp + 0x28]
cmp word [edx + 0x5e], 0
jbe 0x5279eb
cmp ebx, 3
jne 0x5279eb
mov eax, dword [edx]
test byte [eax + 0x24], 0x40
jne 0x527a1b
mov eax, dword [esp + 0x64]
mov dword [eax], 0xc7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
cmp ebx, 0xe
jne 0x5279f9
or dword [edx + 0x70], 0x400000
jmp 0x527a1b
cmp ebx, 5
je 0x527a08
cmp ebx, 4
je 0x527a08
cmp ebx, 1
jne 0x527a1b
cmp dword [edx + 0xac], 0
jne 0x527a1b
mov dword [edx + 0xac], 1
cmp dword [esp + 0x8c], 0
jne 0x527a2f
cmp ebx, 0xe
jne 0x527a2f
mov ebx, 0xd
movaps xmm2, xmmword [esp + 0xd0]
mov word [ecx], bx
add ecx, 2
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
add esi, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jmp 0x5263e0
add esi, 4
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0x10
movzx edx, ax
cmp ebx, 0x10
jne 0x527aa2
test ecx, ecx
jne 0x527aa2
mov ecx, dword [esp + 0x18]
mov eax, 0xd
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
movaps xmm2, xmmword [esp + 0xd0]
mov word [ecx], ax
add ecx, 2
mov esi, dword [esp + 0x1c]
add esi, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jmp 0x5263e0
movaps xmm2, xmmword [esp + 0xd0]
xor eax, eax
cmp ebx, 0x10
mov ebx, dword [esp + 0x18]
sete al
add eax, 0xf
mov word [ebx], ax
add ebx, 2
mov dword [esp + 0x18], ebx
mov word [ebx], cx
mov ecx, ebx
mov ebx, dword [esp + 0x24]
add ecx, 2
mov word [ecx], dx
add ecx, 2
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
add esi, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov eax, dword [esp + 0xec]
add esi, 4
mov dword [esp + 0x1c], esi
mov ebx, dword [esi]
mov dword [eax], ebx
mov eax, ebx
shr eax, 0x12
and eax, 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0xc8], eax
xor eax, 1
mov dword [esp + 0xcc], eax
mov eax, ebx
shr eax, 3
and eax, 1
mov dword [esp + 0x98], eax
jmp 0x527654
cmp eax, 0x80200000
je 0x527d20
cmp eax, 0x80210000
jne 0x527e5d
mov ebx, dword [esp + 0x28]
add esi, 4
mov dword [esp + 0x1c], esi
xor edx, edx
mov dword [esp + 0x50], edx
mov ecx, dword [esi]
lea eax, [esi + 4]
mov edi, dword [ebx + 0x64]
mov dword [esp + 0x1c], eax
mov esi, dword [eax]
mov eax, dword [ebx + 0x1c]
xor ebx, ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x44], ecx
lea eax, [eax + esi*2]
xor esi, esi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
cmp dx, word [eax + 0x58]
jae 0x52960e
nop dword [eax]
movzx eax, word [edi + 8]
cmp ecx, eax
jne 0x527bfd
push ecx
push dword [edi]
push dword [esp + 0x80]
call fcn.0052f850
add esp, 0xc
test eax, eax
jne 0x527bf5
cmp dword [esp + 0x38], 0x80210000
movzx edx, word [edi + 0xa]
mov ebx, dword [edi + 4]
mov dword [esp + 0x50], edx
je 0x527c8d
mov ecx, ebx
mov eax, 1
shl eax, cl
cmp ebx, 0x20
mov ecx, 1
cmovae eax, ecx
mov ecx, dword [esp + 0x28]
or dword [ecx + 0x8c], eax
cmp ebx, dword [ecx + 0x88]
jbe 0x527bf9
mov dword [ecx + 0x88], ebx
jmp 0x527bf9
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
inc esi
add edi, 0xc
movzx eax, word [eax + 0x58]
cmp esi, eax
jb 0x527b90
test ebx, ebx
je 0x52960a
test edx, edx
jne 0x527c9a
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x3c], 0xffffffff
jne 0x527c38
mov dword [esp + 0x3c], 0xfffffffe
mov dword [esp + 0x34], 0xfffffffe
test byte [esp + 0x54], 8
mov eax, 0
mov ecx, dword [esp + 0x18]
setne al
add eax, 0x71
mov word [ecx], ax
mov eax, 1
mov word [ecx + 2], bx
add ecx, 4
mov dword [esp + 0x18], ecx
cmp ebx, 0x20
jae 0x527c6c
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x18]
or dword [edx + 0x8c], eax
cmp ebx, dword [edx + 0x88]
jbe 0x5287bd
mov esi, dword [esp + 0x1c]
mov dword [edx + 0x88], ebx
jmp 0x527658
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
jmp 0x527d3a
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], edx
cmp dword [esp + 0x58], ecx
jne 0x527ce1
push dword [esp + 0x28]
lea eax, [esp + 0x54]
push dword [esp + 0x68]
push eax
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x54]
push dword [esp + 0x8c]
call fcn.00529bd0
add esp, 0x18
test eax, eax
je 0x5296b9
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x3c]
mov eax, 0xfffffffe
mov ebx, dword [esp + 0x18]
cmp edi, 0xffffffff
cmove edi, eax
test byte [esp + 0x54], 8
mov eax, 0
mov dword [esp + 0x3c], edi
setne al
add eax, 0x73
mov word [ebx], ax
mov word [ebx + 2], dx
add ebx, 4
mov dword [esp + 0x18], ebx
mov word [ebx], cx
mov ecx, ebx
jmp 0x527649
mov edx, dword [esp + 0x28]
add esi, 4
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
mov dword [esp + 0x74], eax
cmp ebx, dword [edx + 0x74]
ja 0x526591
mov edi, dword [esp + 0x3c]
mov eax, 0x75
mov word [ecx], ax
mov eax, 0xfffffffe
mov word [ecx + 2], bx
add ecx, 4
mov esi, dword [esp + 0x1c]
cmp edi, 0xffffffff
mov dword [esp + 0x18], ecx
cmove edi, eax
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x68]
mov dword [edx + 0xb8], 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x34], edi
jmp 0x527658
mov eax, 0x85
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x28]
mov edi, 1
mov ebx, eax
jmp 0x527e92
mov ebx, dword [esp + 0x38]
cmp ebx, 0x80310000
ja 0x5283c3
je 0x5283af
cmp ebx, 0x802a0000
ja 0x52831d
je 0x528269
cmp ebx, 0x80260000
ja 0x527e3d
je 0x527e36
cmp ebx, 0x80230000
je 0x527e2f
cmp ebx, 0x80240000
je 0x527df7
cmp ebx, 0x80250000
jne 0x527e5d
mov ebx, 0x80
jmp 0x527e8a
cmp dword [esi + 4], 0x80190000
jne 0x527e28
mov eax, dword [esi + 8]
cmp eax, 0x80340000
jb 0x527e11
cmp eax, 0x803f0000
jbe 0x527e28
mov eax, 0xa2
mov word [ecx], ax
add ecx, 2
mov esi, dword [esp + 0x1c]
add esi, 4
jmp 0x527650
mov ebx, 0x7f
jmp 0x527e8a
mov ebx, 0x7e
jmp 0x527e8a
mov ebx, 0x81
jmp 0x527e8a
cmp ebx, 0x80270000
je 0x527e85
cmp ebx, 0x80280000
je 0x527e7e
mov edi, dword [esp + 0x38]
cmp edi, 0x80290000
je 0x52841e
mov eax, dword [esp + 0x64]
mov dword [eax], 0xbd
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
mov ebx, 0x83
jmp 0x527e8a
mov ebx, 0x82
mov ecx, dword [esp + 0x28]
inc word [ecx + 0x5e]
mov eax, dword [esp + 0x18]
inc word [ecx + 0x5c]
mov dword [esp + 0x88], 0
mov word [eax], bx
add dword [esp + 0x1c], 4
cmp dword [esp + 0x58], 0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x9c]
cmove eax, dword [esp + 0x88]
push eax
push ecx
push dword [esp + 0xf8]
mov esi, dword [ecx + 0xa8]
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xac], 0
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xd8]
push eax
push edx
push dword [esp + 0x84]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x80]
call fcn.00529820
add esp, 0x30
mov dword [esp + 0x88], eax
test eax, eax
je 0x5296b9
mov edx, dword [esp + 0x28]
mov ecx, 0xffff
add word [edx + 0x5c], cx
test edi, edi
je 0x527f5f
cmp ebx, 0x8a
je 0x527f77
mov ecx, dword [esp + 0x5c]
test eax, eax
mov eax, 1
cmovg ecx, eax
mov dword [esp + 0x5c], ecx
mov ecx, 0xffff
lea eax, [ebx - 0x7e]
cmp eax, 5
ja 0x527f6b
add word [edx + 0x5e], cx
cmp ebx, 0x8a
jne 0x528068
cmp dword [esp + 0x58], 0
jne 0x52806f
mov ecx, dword [esp + 0x18]
xor edx, edx
nop dword [eax + eax]
movzx eax, word [ecx + 2]
inc edx
cmp word [ecx + eax*2], 0x79
lea ecx, [ecx + eax*2]
jne 0x527f90
mov ecx, dword [esp + 0x18]
mov eax, 0xa7
cmp word [ecx + 4], ax
jne 0x527fc9
cmp edx, 1
jg 0x529636
mov eax, 0x94
mov word [ecx + 4], ax
mov ecx, dword [esp + 0x48]
jmp 0x52764c
cmp edx, 2
jg 0x529662
cmp edx, 1
jne 0x52801f
mov edx, dword [esp + 0x48]
mov eax, 0xfffffffe
mov edi, dword [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x34], edi
jmp 0x528120
cmp dword [esp + 0x88], 0
jle 0x5280b1
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], 1
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x34], edi
jmp 0x528112
cmp dword [esp + 0x58], 0
je 0x5280b5
mov ebx, dword [esp + 0x58]
mov ecx, 0x7fffffeb
mov esi, dword [esp + 0x9c]
mov edx, dword [ebx]
sub ecx, edx
lea eax, [esi - 4]
cmp ecx, eax
jb 0x52968e
mov ecx, dword [esp + 0x18]
lea eax, [esi - 4]
add eax, edx
mov edx, 2
mov dword [ebx], eax
mov dword [ecx + 2], 0x790002
mov word [ecx + 6], dx
add ecx, 8
jmp 0x52764c
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], ecx
cmp ebx, 0xa7
je 0x5287bd
mov edi, dword [esp + 0x24]
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x94], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x5c], eax
cmp ebx, 0x84
jb 0x5281ed
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
cmp edi, 0xffffffff
jne 0x52816f
cmp ecx, edi
je 0x52816f
cmp ecx, 0xfffffffe
jae 0x528152
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x68], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x94], 1
mov dword [esp + 0x34], 0xfffffffe
jmp 0x5281b3
mov dword [esp + 0x3c], 0xfffffffe
mov dword [esp + 0x94], 0
mov dword [esp + 0x34], 0xfffffffe
jmp 0x5281b3
mov dword [esp + 0x94], 0
cmp ecx, 0xfffffffe
jae 0x5281b3
mov dword [esp + 0x94], 0
cmp eax, 0xfffffffe
jb 0x5281bc
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xa8], eax
mov eax, ecx
or eax, esi
mov dword [esp + 0x94], 0
mov dword [esp + 0xa0], eax
cmp eax, 0xfffffffe
jae 0x5287a8
mov esi, dword [esp + 0x1c]
mov edi, eax
mov ebx, dword [esp + 0xa8]
add esi, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
movaps xmm2, xmmword [esp + 0xd0]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
jmp 0x5263e0
cmp ebx, 0x7e
je 0x528206
mov dword [esp + 0x18], ecx
mov dword [esp + 0x5c], eax
cmp ebx, 0x82
jne 0x5287bd
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x5c], eax
cmp edx, 0xfffffffe
jae 0x5287ac
cmp dword [esp + 0xa4], 0xfffffffe
mov dword [esp + 0x18], ecx
mov dword [esp + 0x5c], eax
jae 0x5287ac
mov esi, dword [esp + 0x1c]
mov edi, edx
mov ebx, dword [esp + 0xa8]
add esi, 4
mov edx, dword [esp + 0x28]
movaps xmm2, xmmword [esp + 0xd0]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc4], 1
mov ecx, dword [edx + 0x60]
mov dword [edx + 0xb0], 1
test ecx, ecx
je 0x5282cc
nop dword [eax]
mov ax, word [ecx + 6]
cmp ax, word [edx + 0x5e]
jb 0x5282cc
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5282a7
add dword [eax], 3
jmp 0x5282c6
mov edx, dword [esp + 0x18]
mov eax, 0xa5
mov word [edx], ax
mov ax, word [ecx + 4]
mov word [edx + 2], ax
add edx, 4
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x528290
mov ecx, dword [esp + 0x18]
xor ax, ax
cmp ax, word [edx + 0x5e]
sbb eax, eax
neg eax
add eax, 0xa3
mov word [ecx], ax
add ecx, 2
cmp dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], ecx
jne 0x5287bd
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esi, 4
mov ebx, dword [esp + 0x24]
movaps xmm2, xmmword [esp + 0xd0]
mov dword [esp + 0x3c], 0xfffffffe
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov edi, dword [esp + 0x38]
cmp edi, 0x802e0000
ja 0x52834c
je 0x528360
cmp edi, 0x802b0000
je 0x528370
cmp edi, 0x802c0000
je 0x528370
cmp edi, 0x802d0000
jne 0x527e5d
jmp 0x52841e
cmp edi, 0x802f0000
je 0x5283b3
cmp edi, 0x80300000
jne 0x527e5d
mov edx, dword [esp + 0x28]
mov dword [edx + 0xb4], 1
jmp 0x528374
mov edx, dword [esp + 0x28]
lea eax, [edi + 0x7fd70000]
shr eax, 0x10
mov ax, word [eax*4 + 0x59d584]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
movaps xmm2, xmmword [esp + 0xd0]
mov word [ecx], ax
add ecx, 2
mov esi, dword [esp + 0x1c]
add esi, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov dword [eax + 0xb4], 1
jmp 0x52841e
mov edi, dword [esp + 0x38]
cmp edi, 0x80390000
ja 0x528532
je 0x528523
cmp edi, 0x80350000
ja 0x528503
je 0x528407
cmp edi, 0x80320000
je 0x5284ee
cmp edi, 0x80330000
je 0x528413
cmp edi, 0x80340000
jne 0x527e5d
xor ecx, ecx
mov edx, 0x10000
jmp 0x5287d8
mov eax, dword [esp + 0x28]
or dword [eax + 0x70], 0x1000
lea eax, [edi + 0x7fd70000]
xor esi, esi
shr eax, 0x10
mov dword [esp + 0x44], esi
mov ax, word [eax*4 + 0x59d584]
mov word [ecx], ax
add ecx, 2
mov eax, dword [esp + 0x1c]
mov edx, ecx
add eax, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
add edx, 2
mov dword [esp + 0x18], edx
mov ebx, dword [eax]
mov dword [esp + 0x48], ecx
test ebx, ebx
jle 0x5284e0
add eax, 4
cmp dword [esp + 0x8c], 0
mov dword [esp + 0x1c], eax
mov ecx, dword [eax]
je 0x528491
lea eax, [esp + 0x13c]
push eax
push ecx
call fcn.00530020
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x24]
add esp, 8
jmp 0x52849e
mov edi, 1
mov word [esp + 0x13c], cx
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x5284aa
add dword [ecx], edi
jmp 0x5284d7
lea esi, [edi + edi]
push esi
lea eax, [esp + 0x140]
push eax
push edx
call fcn.00562cb0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x1c]
add edx, esi
mov esi, dword [esp + 0x44]
add esi, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], esi
sub ebx, 1
jne 0x528461
mov ecx, dword [esp + 0x48]
mov word [ecx], si
xor eax, eax
mov ecx, dword [esp + 0x18]
jmp 0x527646
mov edx, dword [esp + 0x28]
mov eax, 0x9e
or dword [edx + 0x70], 0x1000
jmp 0x528385
cmp edi, 0x80360000
je 0x528407
cmp edi, 0x80370000
je 0x528523
cmp edi, 0x80380000
jne 0x527e5d
mov ecx, 1
mov edx, 0x10000
jmp 0x5287d8
cmp edi, 0x803d0000
ja 0x528566
je 0x5287c6
cmp edi, 0x803a0000
je 0x52855c
cmp edi, 0x803b0000
je 0x52855c
cmp edi, 0x803c0000
jne 0x527e5d
xor ecx, ecx
lea edx, [ecx + 1]
jmp 0x5287d8
cmp edi, 0x803e0000
je 0x5287c6
cmp edi, 0x803f0000
je 0x5287c6
cmp edi, 0x80000000
jae 0x527e5d
mov edi, dword [esi]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x5c], 1
test edx, edx
jne 0x5285ac
cmp dword [esp + 0xac], edx
je 0x528638
test byte [esp + 0x54], 8
je 0x526a93
mov eax, edi
test eax, eax
jns 0x5285c0
add eax, 0x7f
sar eax, 7
movzx ecx, word [eax*2 + 0x5a4390]
mov eax, edi
shl ecx, 7
and eax, 0x8000007f
jns 0x5285dc
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x5a8790]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x5a0183]
test al, al
je 0x526a93
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
movzx eax, al
mov dword [ecx], 0xa0010
mov word [ecx + 4], ax
add ecx, 6
cmp dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], ecx
jne 0x5287bd
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x34], 0xfffffffe
mov dword [esp + 0x3c], 0xfffffffe
jmp 0x527658
mov ebx, 1
mov word [esp + 0x13c], di
test byte [esp + 0x54], 8
lea esi, [ebx + ebx]
mov edi, dword [esp + 0x18]
mov eax, 0
setne al
add eax, 0x1d
push esi
mov word [edi], ax
lea eax, [esp + 0x140]
push eax
add edi, 2
push edi
call fcn.00562cb0
mov ax, word [esp + 0x148]
add edi, esi
add esp, 0xc
mov dword [esp + 0x18], edi
cmp ax, 0xd
je 0x52868e
cmp ax, 0xa
jne 0x52869b
mov edx, dword [esp + 0x28]
or dword [edx + 0x70], 0x800
jmp 0x52869f
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
cmp esi, 0xffffffff
jne 0x5286f9
mov dword [esp + 0x34], 0xfffffffe
cmp ebx, 1
je 0x5286ce
cmp dword [esp + 0x98], 0
je 0x5286ce
mov edi, 0xfffffffe
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], edi
jmp 0x52872f
movzx eax, ax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x3c], eax
cmp ebx, 1
je 0x52872b
movzx ebx, word [edi - 2]
mov edi, dword [edx + 0xa8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
jmp 0x528733
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x34], esi
cmp ebx, 1
je 0x528715
test eax, eax
jne 0x52872b
movzx ebx, word [edi - 2]
mov edi, dword [edx + 0xa8]
or edi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
jmp 0x528733
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0xb0], 0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x5c], 1
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], eax
je 0x5287b9
mov esi, dword [esp + 0x1c]
and dword [esp + 0x54], 0xfffffff7
add esi, 4
movaps xmm2, xmmword [esp + 0xd0]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x98], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x5c], 1
mov dword [esp + 0x80], eax
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
jmp 0x527658
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x527658
add esi, 4
mov dword [esp + 0x1c], esi
mov ecx, dword [esi]
add esi, 4
mov dword [esp + 0x1c], esi
mov edx, dword [esi]
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x5287f6
mov eax, dword [esp + 0x5c]
test ecx, ecx
mov ebx, 1
cmovne eax, ebx
mov dword [esp + 0x5c], eax
xor ebx, ebx
mov eax, 2
cmp ecx, edx
cmove eax, ebx
test ecx, ecx
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x80]
cmovne eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
cmovne eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x84]
cmovne eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x7c]
cmovne eax, dword [esp + 0x68]
mov dword [esp + 0x68], eax
cmp edi, 0x803b0000
ja 0x528881
je 0x5288a2
cmp edi, 0x80380000
ja 0x528879
je 0x5288a2
cmp edi, 0x80350000
je 0x5288a2
cmp edi, 0x80360000
jmp 0x528897
cmp edi, 0x80390000
jmp 0x528897
cmp edi, 0x803c0000
je 0x5288b0
cmp edi, 0x803e0000
je 0x5288a2
cmp edi, 0x803f0000
je 0x5288b0
mov eax, dword [esp + 0xc8]
jmp 0x5288b7
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], 1
jmp 0x5288bf
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
mov ebx, eax
mov dword [esp + 0x48], ebx
movzx edi, word [eax]
movzx ecx, di
add ecx, 0xffffffe3
mov dword [esp + 0x70], edi
cmp ecx, 0x85
ja case.0x5288e9.33
movzx eax, byte [ecx + 0x529728]
jmp dword [eax*4 + 0x529710]
mov ebx, dword [esp + 0x38]
cmp ebx, 1
jne 0x528903
cmp dword [esp + 0x2c], ebx
je 0x52912a
cmp dword [esp + 0x8c], 0
mov edi, dword [ecx*4 + 0x5ff040]
mov ecx, dword [esp + 0x18]
je 0x528955
mov ax, word [ecx - 2]
mov edx, 0xfc00
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x528955
mov eax, dword [ecx - 4]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], 2
mov dword [esp + 0x20], eax
jmp 0x5291cb
movzx eax, word [ecx - 2]
mov edx, dword [esp + 0x44]
mov ecx, eax
mov word [esp + 0x13c], ax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], 1
mov dword [esp + 0x20], edx
cmp ax, 0x1e
ja 0x5291cb
cmp dword [esp + 0x2c], 1
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], edx
jbe 0x5291cb
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0xa8]
mov dword [esp + 0x20], ecx
cmp ax, 0x1e
jne 0x5291cb
or ecx, 1
mov dword [esp + 0x20], ecx
jmp 0x5291cb
test edx, edx
jne 0x5289ed
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
jmp 0x529136
mov ecx, dword [esp + 0x2c]
cmp edx, 1
jne 0x528a0e
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
cmp ecx, edx
je 0x528abc
test ecx, ecx
jne 0x528a3f
cmp edx, 0x10000
jne 0x528a2a
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
add eax, 0x62
mov word [ecx], ax
jmp 0x528a88
cmp edx, 1
jne 0x528a5c
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
add eax, 0x66
mov word [ecx], ax
jmp 0x528a88
cmp ecx, 1
jne 0x528a5c
cmp edx, 0x10000
jne 0x528a5c
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
add eax, 0x64
mov word [ecx], ax
jmp 0x528a88
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
add eax, 0x68
mov word [ebx], ax
mov word [ebx + 2], cx
add ebx, 4
xor ecx, ecx
movzx eax, dx
cmp edx, 0x10000
mov dword [esp + 0x18], ebx
cmovne ecx, eax
mov word [ebx], cx
mov ecx, ebx
mov eax, dword [esp + 0x60]
add ecx, 2
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ecx
jmp 0x5293ea
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x18]
jmp 0x529136
mov edi, dword [esp + 0x2c]
cmp edx, 1
jne 0x528aef
cmp edi, edx
jne 0x528aef
cmp dword [esp + 0x78], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
je 0x52912a
jmp 0x528b08
test edi, edi
je 0x528bb1
cmp edi, 1
jne 0x528b08
cmp edx, 0x10000
je 0x528bb1
mov ecx, dword [esp + 0x58]
lea eax, [edi - 1]
cmp edi, edx
cmovne eax, edi
test ecx, ecx
je 0x528b57
mov edx, 2
lea edi, [eax + eax]
imul edx
test edx, edx
jg 0x52968e
jl 0x528b37
cmp eax, 0x7fffffff
ja 0x52968e
mov ecx, dword [ecx]
mov eax, 0x7fffffeb
sub eax, ecx
cmp eax, edi
jb 0x52968e
mov edx, dword [esp + 0x38]
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x58]
mov dword [ecx], eax
jmp 0x528b7f
test eax, eax
jle 0x528b83
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x18]
mov ecx, dword [ecx]
mov dword [ebx], ecx
mov dword [esp + 0x4c], ebx
add ebx, 4
sub eax, 1
jne 0x528b65
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
cmp edi, edx
je 0x5293e2
cmp edx, 0x10000
je 0x528ba9
sub edx, edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x70], 0x86
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ecx], 0x40086
add eax, 8
mov dword [ecx + 8], 0x40079
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x9c], 6
jmp 0x528c02
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
sub eax, ecx
xor edi, edi
sar eax, 1
xor ecx, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0xfc], edi
mov dword [esp + 0x60], ecx
cmp edx, 1
jne 0x528c3e
cmp dword [esp + 0x2c], edx
jne 0x528c3e
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x78], edi
je 0x52912a
mov ecx, dword [esp + 0x70]
cmp cx, word [esp + 0xf4]
jne 0x528c90
mov ecx, dword [esp + 0x4c]
mov eax, 0x94
cmp word [ecx + 4], ax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jne 0x528caf
mov eax, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x4c]
movzx eax, word [eax + 2]
cmp word [ecx + eax*2], 0x78
mov ecx, dword [esp + 0x40]
jne 0x52912a
mov eax, dword [esp + 0x44]
jmp 0x528caf
cmp cx, word [esp + 0xf8]
mov ecx, dword [esp + 0x40]
jae 0x528caf
cmp edx, 0x10000
jne 0x528caf
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x38], edx
cmp dword [esp + 0x2c], edi
jne 0x528d92
cmp edx, 1
jbe 0x528d02
cmp edx, 0x10000
je 0x528d02
mov ebx, dword [esp + 0x4c]
add eax, eax
push eax
push ebx
lea eax, [ebx + 6]
push eax
call fcn.00561680
mov eax, dword [esp + 0x78]
lea edi, [ebx + 4]
add dword [esp + 0x24], 6
add esp, 0xc
mov edx, dword [esp + 0x38]
add eax, 0x96
mov word [ebx], ax
lea eax, [ebx + 6]
mov dword [ebx + 2], 0x86
mov dword [esp + 0x4c], eax
jmp 0x528d70
mov ebx, dword [esp + 0x4c]
add eax, eax
push eax
push ebx
lea esi, [ebx + 2]
push esi
call fcn.00561680
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x38]
add ecx, 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], esi
test edx, edx
jne 0x528d4e
mov edi, dword [esp + 0x40]
mov eax, 0xa6
mov word [ebx], ax
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
jmp 0x529136
mov eax, dword [esp + 0x6c]
xor edi, edi
add eax, 0x96
mov dword [esp + 0x60], ebx
mov word [ebx], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
cmp edx, 0x10000
je 0x528d75
dec edx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
jmp 0x528e90
cmp dword [esp + 0x2c], 1
mov edx, dword [esp + 0x50]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
jbe 0x528e78
cmp dword [esp + 0x58], edi
je 0x528e12
mov eax, dword [esp + 0x2c]
dec eax
mov edx, eax
imul edx, dword [esp + 0x9c]
mov dword [esp + 0x70], edx
mul dword [esp + 0x9c]
test edx, edx
jg 0x52968e
jl 0x528dde
cmp eax, 0x7fffffff
ja 0x52968e
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
mov ecx, dword [eax]
mov eax, 0x7fffffeb
sub eax, ecx
cmp eax, edx
jb 0x52968e
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x58]
mov dword [ecx], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
jmp 0x528e78
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x94], edi
je 0x528e40
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
cmp ecx, 0xfffffffe
jb 0x528e40
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x2c]
lea esi, [eax + eax]
mov edi, dword [esp + 0x18]
dec ebx
nop dword [eax]
push esi
push dword [esp + 0x50]
push edi
call fcn.00562cb0
add esp, 0xc
add edi, esi
sub ebx, 1
jne 0x528e50
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xfc]
mov edx, dword [esp + 0x38]
cmp edx, 0x10000
je 0x528fea
sub edx, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
cmp edx, 0x10000
je 0x528fea
cmp dword [esp + 0x58], 0
je 0x528f4b
test edx, edx
je 0x528f4b
mov eax, dword [esp + 0x9c]
add eax, 5
mov ecx, eax
imul ecx, edx
mul edx
sub ecx, 4
test edx, edx
jg 0x52968e
jl 0x528ed8
cmp eax, 0x7fffffff
ja 0x52968e
mov eax, dword [esp + 0x58]
mov edx, dword [eax]
mov eax, 0x7fffffeb
sub eax, edx
cmp eax, ecx
jb 0x52968e
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x58]
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
test edi, edi
je 0x5293e6
mov ebx, 0x79
mov edx, ecx
mov esi, ecx
sub edx, edi
sar edx, 1
inc edx
lea eax, [edx + edx]
sub esi, eax
movzx eax, word [esi + 2]
mov word [ecx], bx
test eax, eax
je 0x528fcb
add eax, eax
sub edi, eax
movzx eax, dx
mov word [ecx + 2], ax
add ecx, 4
mov dword [esp + 0x18], ecx
mov word [esi + 2], ax
test edi, edi
jne 0x528f07
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
jmp 0x5293e6
cmp edx, 1
jb 0x528ef6
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x44]
add ebx, 0x96
mov ecx, dword [esp + 0x18]
add esi, esi
mov word [ecx], bx
add ecx, 2
mov dword [esp + 0x18], ecx
cmp edx, 1
je 0x528f98
mov eax, 0x86
mov word [ecx], ax
test edi, edi
jne 0x528f83
xor eax, eax
jmp 0x528f8a
lea eax, [ecx + 2]
sub eax, edi
sar eax, 1
lea edi, [ecx + 2]
mov word [ecx + 2], ax
add ecx, 4
mov dword [esp + 0x18], ecx
push esi
push dword [esp + 0x50]
push ecx
call fcn.00562cb0
mov edx, dword [esp + 0x44]
add esp, 0xc
mov ecx, dword [esp + 0x18]
dec edx
add ecx, esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ecx
cmp edx, 1
jae 0x528f64
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
jmp 0x528efa
movzx eax, dx
mov word [ecx + 2], ax
add ecx, 4
mov word [esi + 2], ax
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
jmp 0x5293e6
mov ecx, dword [esp + 0x18]
mov ebx, 0x84
movzx eax, word [ecx - 2]
lea esi, [ecx - 4]
add eax, eax
mov edi, esi
sub edi, eax
movzx eax, word [edi]
mov edx, eax
cmp ax, bx
jne 0x529022
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x52915b
mov eax, 0x86
mov word [edi], ax
mov edx, eax
jmp 0x529034
mov eax, 0x85
cmp dx, ax
je 0x52915b
mov ebx, dword [esp + 0x78]
cmp dword [esp + 0x58], 0
movzx ecx, dx
jne 0x529078
cmp dword [esp + 0x88], 0
movzx eax, dx
jge 0x529054
lea eax, [edx + 5]
mov word [edi], ax
movzx eax, ax
mov edx, 0x8a
movzx ecx, ax
cmp ax, dx
jne 0x52907d
movzx eax, word [edi + 2]
mov ecx, edx
cmp word [edi + eax*2], 0x78
lea eax, [edx + 5]
je 0x529082
mov word [edi], ax
mov ecx, eax
jmp 0x529082
mov edx, 0x8a
mov eax, 0x8f
test ebx, ebx
je 0x52911c
cmp cx, dx
je 0x5290a8
cmp cx, ax
je 0x5290a8
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x18]
mov word [edi], ax
mov eax, 0x7c
mov word [esi], ax
jmp 0x5290f8
mov esi, dword [esp + 0x18]
sub esi, edi
sar esi, 1
lea eax, [esi + esi]
push eax
lea eax, [edi + 4]
push edi
push eax
call fcn.00561680
mov ecx, dword [esp + 0x24]
mov edx, 0x8a
add esp, 0xc
mov eax, 0x8c
cmp word [edi], dx
mov edx, 0x87
cmove eax, edx
mov word [edi], ax
mov eax, 0x7c
mov word [ecx + 4], ax
lea eax, [esi + 2]
mov word [ecx + 6], ax
add ecx, 8
mov dword [esp + 0x18], ecx
mov word [edi + 2], ax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x529108
mov edx, 0x98
mov word [eax], dx
cmp dword [esp + 0x2c], 2
mov esi, dword [esp + 0x1c]
jb 0x52912e
mov ebx, dword [esp + 0x48]
jmp 0x5293f5
mov eax, dword [esp + 0x6c]
add eax, 0x7a
mov word [esi], ax
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x100]
movaps xmm2, xmmword [esp + 0xd0]
or dword [edx + 0xa8], eax
add esi, 4
mov dword [esp + 0x1c], esi
jmp 0x5263e0
mov eax, dword [esp + 0x6c]
add eax, 0x7a
mov word [esi], ax
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
jmp 0x5293e6
cmp edi, 0x17
jae 0x5296af
mov ebx, dword [esp + 0x38]
cmp ebx, 1
jne 0x52919e
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
cmp dword [esp + 0x2c], ebx
je 0x5294f8
mov eax, dword [esp + 0x70]
mov edi, 0x34
mov dword [esp + 0x50], 0
cmp ax, 0x10
je 0x5291e4
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
cmp ax, 0xf
je 0x5291e4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 2]
jmp 0x52920d
mov edx, dword [esp + 0x4c]
movzx eax, word [edx + 2]
lea ecx, [edx + 2]
mov dword [esp + 0x38], eax
movzx eax, word [edx + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x52912a
mov eax, dword [esp + 0x6c]
add eax, edi
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x6c], eax
jne 0x529279
mov edx, dword [esp + 0x4c]
movzx eax, ax
cmp ebx, 0x10000
jne 0x52924c
add eax, 0x21
mov dword [esp + 0x18], ecx
mov word [edx], ax
jmp 0x52937b
mov esi, dword [esp + 0x70]
cmp ebx, 1
jne 0x529264
add eax, 0x25
mov dword [esp + 0x18], ecx
mov word [edx], ax
jmp 0x52937f
add eax, 0x27
mov word [edx], ax
mov word [ecx], bx
add ecx, 2
mov dword [esp + 0x18], ecx
jmp 0x52937f
mov ecx, dword [esp + 0x2c]
cmp ecx, 1
jne 0x5292ca
cmp ebx, 0x10000
jne 0x5292a0
mov ecx, dword [esp + 0x4c]
add eax, 0x23
mov word [ecx], ax
add ecx, 2
mov dword [esp + 0x18], ecx
jmp 0x52937b
mov ecx, edx
mov dword [esp + 0x18], ecx
cmp ebx, 1
je 0x52912e
add eax, 0x27
lea ecx, [edx + 2]
mov word [edx], ax
lea eax, [ebx - 1]
mov word [ecx], ax
add ecx, 2
mov dword [esp + 0x18], ecx
jmp 0x52937b
mov edx, dword [esp + 0x4c]
lea eax, [edi + 0x29]
lea edi, [edx + 2]
mov word [edx], ax
mov word [edi], cx
add edi, 2
mov dword [esp + 0x18], edi
cmp ebx, ecx
je 0x529377
mov eax, dword [esp + 0x50]
test eax, eax
je 0x52932e
lea esi, [eax + eax]
push esi
lea eax, [esp + 0x140]
push eax
push edi
call fcn.00562cb0
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x6c]
lea ecx, [edi + 2]
movzx eax, ax
cmp ebx, 0x10000
jne 0x529350
add eax, 0x21
mov dword [esp + 0x18], ecx
mov word [edi], ax
jmp 0x529383
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x38]
mov word [edi], si
add edi, 2
test eax, eax
js 0x52930c
mov edx, dword [esp + 0x40]
mov word [edi], ax
mov word [edi + 2], dx
add edi, 4
jmp 0x529310
sub ebx, dword [esp + 0x2c]
cmp ebx, 1
jne 0x529365
add eax, 0x25
mov dword [esp + 0x18], ecx
mov word [edi], ax
jmp 0x529383
add eax, 0x27
mov word [edi], ax
mov word [ecx], bx
add ecx, 2
mov dword [esp + 0x18], ecx
jmp 0x529383
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x5293b4
lea esi, [eax + eax]
push esi
lea eax, [esp + 0x140]
push eax
push ecx
call fcn.00562cb0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov ebx, dword [esp + 0x48]
add ecx, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jmp 0x5293e6
mov eax, dword [esp + 0x38]
mov word [ecx], si
add ecx, 2
mov dword [esp + 0x18], ecx
test eax, eax
js 0x528fdd
mov word [ecx], ax
mov word [ecx + 2], dx
add ecx, 4
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
jmp 0x5293e6
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x78], 0
je 0x529132
movzx ecx, word [ebx]
lea eax, [ecx - 0x1d]
cmp eax, 0x53
ja case.0x52940b.33
movzx eax, byte [eax + 0x5297c4]
jmp dword [eax*4 + 0x5297b0]
movzx eax, word [ebx + 4]
cmp eax, 0x10
je 0x52942d
cmp eax, 0xf
je 0x52942d
movzx eax, byte [ecx + 0x59da80]
xor edx, edx
add eax, edx
jmp 0x529479
movzx eax, byte [ecx + 0x59da80]
mov edx, 2
add eax, edx
jmp 0x529479
cmp dword [esp + 0x8c], 0
movzx eax, byte [ecx + 0x59da80]
lea ebx, [ebx + eax*2]
mov dword [esp + 0x48], ebx
je case.0x52940b.33
mov ax, word [ebx - 2]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xd800
cmp ax, cx
jne case.0x52940b.33
add ebx, 2
jmp 0x52947c
add ebx, 0x22
jmp 0x52947c
movzx eax, word [ebx + 2]
lea ebx, [ebx + eax*2]
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x18]
mov edi, ecx
sub edi, ebx
sar edi, 1
test edi, edi
jle 0x52912e
movzx eax, word [ebx]
cmp eax, 0x76
jae 0x5294b3
mov al, byte [eax + 0x59d820]
test al, al
je 0x5294b3
movzx eax, al
mov word [ebx], ax
mov esi, dword [esp + 0x1c]
jmp 0x52912e
lea eax, [edi + edi]
push eax
lea eax, [ebx + 4]
push ebx
push eax
call fcn.00561680
mov eax, dword [esp + 0x54]
mov ecx, 0x84
mov edx, dword [esp + 0x24]
add esp, 0xc
mov word [eax], cx
mov eax, 0x79
lea ecx, [edi + 2]
mov word [edx + 4], ax
mov word [edx + 6], cx
add edx, 8
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov word [eax + 2], cx
jmp 0x529126
mov ecx, dword [esp + 0x18]
jmp 0x529132
cmp edx, ecx
mov ecx, dword [esp + 0x64]
sbb eax, eax
and eax, 0x22
add eax, 0x98
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x64]
mov dword [eax], 0x73
xor eax, eax
mov dword [ebx + 0x54], edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
mov dword [eax], 0xa1
mov eax, dword [esp + 0x74]
add eax, edx
mov dword [ecx + 0x54], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
mov dword [eax], 0x73
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x54], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x68]
mov dword [edx], eax
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0x3c]
mov dword [edx], eax
mov edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x24]
mov dword [edx], eax
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x20]
mov dword [edx], eax
mov eax, dword [esp + 0x114]
mov dword [eax], ecx
mov eax, dword [esp + 0x118]
mov dword [eax], esi
mov eax, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
mov dword [ecx], 0x73
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x54], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x54], ecx
mov eax, dword [esp + 0x64]
mov dword [eax], 0x9a
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x54], ecx
mov eax, dword [esp + 0x64]
mov dword [eax], 0x7f
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x64]
mov dword [eax], 0x78
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x64]
mov dword [eax], 0x6e
mov ecx, dword [esp + 0x16c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret