Function at 0x5241f0
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x68]
xor ebx, ebx
mov edi, dword [eax]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x168], ecx
xor cl, cl
mov byte [ebp - 0x1c9], cl
mov cl, byte [edi + 0x4e]
mov byte [ebp - 0x1a0], cl
mov ecx, dword [eax + 0x58]
push eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1e4], ebx
mov dword [ebp - 0x174], ecx
call fcn.00524140
mov ecx, dword [ebp - 0x164]
add esp, 4
cmp dword [edi + 0x158], ebx
je 0x524287
mov esi, dword [edi + 0x160]
xor edx, edx
mov eax, dword [ecx + 0xb4]
div esi
sub esi, edx
jmp 0x52428a
or esi, 0xffffffff
cmp dword [ecx + 0x28], 7
mov dword [ebp - 0x170], esi
je 0x52a9f0
mov dword [ecx + 0x38], ebx
mov dword [ecx + 0x3c], ebx
mov dword [ecx + 0x78], ebx
mov dword [edi + 0x1ac], ebx
cmp dword [edi + 0x110], ebx
jne 0x52ac6d
mov eax, dword [ecx + 0x24]
mov edx, dword [ebp - 0x19c]
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
mov dl, byte [esi]
inc ebx
mov dword [ebp - 0x1e4], ebx
movzx ebx, dl
mov dword [ebp - 0x168], esi
cmp ebx, 0xaa
ja case.0x5242e2.85
jmp dword [ebx*4 + 0x52ae60]
mov edx, dword [ebp - 0x168]
mov ecx, edx
mov edi, dword [ebp - 0x174]
sub ecx, dword [ebp - 0x19c]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, 4
mov word [edi + esi*8 + 8], ax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [edi + esi*8], eax
mov dword [edi + esi*8 + 4], edx
mov ecx, dword [ebp - 0x164]
mov esi, dword [ebp - 0x168]
mov esi, dword [esi + 8]
mov edx, dword [ebp - 0x19c]
dec esi
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
lea esi, [esi + esi*4]
lea esi, [edx + esi*4]
add esi, 0x14
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov edi, dword [ebp - 0x1b4]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x19c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
mov eax, 0x80
mov word [ebx + ecx*8 + 8], ax
add esi, 0x14
mov ecx, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov edi, dword [ebp - 0x174]
mov esi, dword [ebp - 0x168]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
dec eax
cdq
mov dword [edi + ecx*8], eax
mov eax, 4
mov dword [edi + ecx*8 + 4], edx
mov word [edi + ecx*8 + 8], ax
cmp dword [esi + 8], 0
jne 0x529fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov edi, dword [ebp - 0x19c]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
mov eax, dword [edi + eax*4 + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edi + eax*4]
mov edi, dword [ebp - 0x1b4]
mov eax, 0x80
add esi, 0x14
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov edi, dword [ebp - 0x19c]
mov eax, dword [edx + 4]
sub edx, edi
lea esi, [eax + eax*4]
mov eax, 4
mov ecx, dword [ebx + esi*8]
mov word [ebx + esi*8 + 8], ax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x164]
mov dword [ebx + esi*8 + 4], edx
lea esi, [edi + eax*4]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
je case.0x5242e2.85
mov ebx, dword [ebp - 0x164]
mov ecx, esi
sub ecx, dword [ebp - 0x19c]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [ebp - 0x168]
cmp dword [edx + 4], 0
jne 0x52a691
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
je 0x52a691
mov eax, dword [ecx + 4]
dec dword [ebx + 0xd0]
mov dword [ebx + 0xc8], eax
mov eax, dword [ebx + 0x2c]
add dword [edi + 0x68], eax
push ecx
mov dword [edi + 0x64], eax
call fcn.0052b910
mov ecx, dword [ebp - 0x168]
add esp, 4
cmp dword [ecx + 8], 4
jne 0x524528
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + ecx*4 + 8]
dec eax
mov edi, dword [ebp - 0x1b4]
lea eax, [eax + eax*4]
mov ecx, ebx
mov ebx, dword [ebp - 0x1e4]
mov esi, dword [ecx + 0x68]
mov edx, dword [ecx + 0x58]
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x174], edx
lea esi, [esi + eax*4]
add esi, 0x14
jmp 0x5242c4
push dword [ebp - 0x168]
push ecx
call fcn.004edaa0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push dword [ebp - 0x168]
push ecx
call fcn.004edaa0
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push dword [ebp - 0x168]
push ecx
call fcn.004edaa0
mov ecx, eax
add esp, 8
mov eax, 8
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 0x10]
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov ebx, dword [ebp - 0x168]
push ebx
push ecx
call fcn.004edaa0
mov ebx, dword [ebx + 0x10]
mov esi, eax
push ebx
call fcn.0051f6a0
mov edx, dword [ebp - 0x168]
add esp, 0xc
cmp byte [ebp - 0x1a0], 1
mov dword [edx + 4], eax
je 0x5246c8
push 0
push 1
push 0xffffffffffffffff
push ebx
push esi
call fcn.0052d4f0
add esp, 0x14
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x529860
movzx eax, byte [ebp - 0x1a0]
push eax
push esi
call fcn.005238d0
add esp, 8
test eax, eax
jne 0x52a9e4
mov edx, dword [ebp - 0x168]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [edx + 1], 0xf9
jne 0x5246b8
mov eax, dword [edx + 0x10]
test eax, eax
je 0x5246b8
push eax
push edi
call fcn.00502d70
mov edx, dword [ebp - 0x168]
add esp, 8
mov byte [edx + 1], 0xf9
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
mov eax, dword [edx + 4]
cmp eax, dword [edi + 0x6c]
jg 0x529860
mov ecx, dword [ebp - 0x164]
mov byte [edx], 0x47
jmp 0x5246e5
mov edx, dword [ebp - 0x168]
push edx
push ecx
call fcn.004edaa0
mov edx, dword [ebp - 0x168]
mov ecx, eax
mov eax, 0xa02
add esp, 8
mov word [ecx + 8], ax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 4]
mov dword [ecx + 0xc], eax
mov al, byte [ebp - 0x1a0]
mov byte [ecx + 0xa], al
mov eax, edx
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x524576
mov ebx, dword [ebp - 0x174]
lea esi, [eax + eax*4]
mov eax, edx
movzx eax, word [eax + 2]
cdq
cmp dword [ebx + esi*8], eax
jne 0x524576
cmp dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 0x168]
jne 0x52457c
mov edi, dword [ebp - 0x1b4]
mov eax, 0xa10
mov ebx, dword [ebp - 0x1e4]
add esi, 0x14
mov word [ecx + 8], ax
mov ecx, dword [ebp - 0x164]
jmp 0x5242c4
mov ebx, dword [ebp - 0x168]
push ebx
push ecx
call fcn.004edaa0
mov edi, dword [ebx + 0xc]
add esp, 8
sub edi, dword [ebx + 8]
mov ecx, 1
cmp dword [ebx + 4], 0
mov edx, 0x101
lea esi, [eax + 0xc]
cmovne ecx, edx
mov dword [esi], 0
movzx ebx, cx
mov word [eax + 8], bx
test edi, edi
jle 0x524576
nop dword [eax]
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.0052d460
dec edi
mov word [esi - 4], bx
add esp, 4
mov dword [esi], 0
test edi, edi
jg 0x5247b0
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [esi + 4]
mov edx, 0xff41
mov ebx, dword [ebp - 0x174]
mov edi, dword [ebp - 0x1b4]
lea ecx, [eax + eax*4]
mov ax, word [ebx + ecx*8 + 8]
and ax, dx
or ax, 1
add esi, 0x14
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push dword [ebp - 0x168]
push ecx
call fcn.004edaa0
mov esi, eax
mov eax, dword [ebp - 0x168]
push 0
push 0
push dword [eax + 4]
push dword [eax + 0x10]
push esi
call fcn.0052d4f0
mov al, byte [ebp - 0x1a0]
add esp, 0x1c
mov byte [esi + 0xa], al
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x164]
lea ecx, [ecx - 5]
mov eax, dword [eax + 0x64]
lea ebx, [eax + ecx*8]
push ebx
call fcn.0052d820
add esp, 4
test eax, eax
jne 0x529860
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x2400
test word [esi + 8], ax
je 0x5248cf
push esi
call fcn.0052d460
add esp, 4
movups xmm0, xmmword [ebx]
mov ecx, 0xebff
movups xmmword [esi], xmm0
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
and ax, cx
mov ecx, 0x840
or ax, cx
mov word [esi + 8], ax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x178], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
nop word [eax + eax]
push ebx
push esi
call fcn.0052d1d0
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x524966
push esi
call fcn.0052d170
add esp, 4
test eax, eax
jne 0x52a9e4
add ebx, 0x28
add esi, 0x28
sub dword [ebp - 0x178], 1
jne 0x524940
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x178], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
nop dword [eax]
push 0x1000
push ebx
push esi
call fcn.0052d730
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x5249eb
push esi
call fcn.0052d170
add esp, 4
test eax, eax
jne 0x52a9e4
mov ecx, dword [ebp - 0x178]
mov eax, ecx
dec ecx
mov dword [ebp - 0x178], ecx
test eax, eax
je 0x524576
add esi, 0x28
add ebx, 0x28
jmp 0x5249c0
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
push 0x1000
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.0052d730
add esp, 0xc
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov edi, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
push dword [edi + eax*8 + 4]
push dword [edi + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
push eax
call fcn.0052d420
add esp, 0xc
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x17c], ecx
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov eax, dword [edx + 0xc]
movzx edx, word [ecx + 8]
mov dword [ebp - 0x1a4], edx
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
mov al, byte [esi + 8]
or al, dl
test al, 1
je 0x524b0b
push ebx
call fcn.0052d460
add esp, 4
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
test dl, 0x12
jne 0x524b46
push 0
push dword [ebp - 0x1a0]
push ecx
call fcn.0052d780
add esp, 0xc
test eax, eax
jne 0x52a9e4
mov eax, dword [ebp - 0x17c]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx ecx, ax
mov dword [ebp - 0x1a4], ecx
jmp 0x524b7a
test edx, 0x4000
je 0x524b7a
push ecx
call fcn.0052cd90
add esp, 4
test eax, eax
jne 0x52a9e4
mov eax, dword [ebp - 0x17c]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx eax, ax
mov dword [ebp - 0x1a4], eax
movzx eax, word [esi + 8]
mov dword [ebp - 0x178], eax
test al, 0x12
jne 0x524b9b
push 0
push dword [ebp - 0x1a0]
push esi
call fcn.0052d780
add esp, 0xc
jmp 0x524bab
test eax, 0x4000
je 0x524bc8
push esi
call fcn.0052cd90
add esp, 4
test eax, eax
jne 0x52a9e4
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx eax, ax
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x17c]
mov eax, dword [eax + 0xc]
add eax, dword [esi + 0xc]
cdq
mov dword [ebp - 0x1b8], eax
mov ecx, edx
mov eax, dword [edi + 0x6c]
cdq
cmp ecx, edx
jg 0x529860
mov ecx, dword [ebp - 0x1b8]
jl 0x524bf9
cmp ecx, eax
ja 0x529860
xor eax, eax
cmp ebx, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push ebx
call fcn.0052cf00
add esp, 0xc
test eax, eax
jne 0x52a9e4
mov ax, word [ebx + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [ebx + 8], ax
cmp ebx, esi
je 0x524c49
push dword [esi + 0xc]
push dword [esi + 0x10]
push dword [ebx + 0x10]
call fcn.0060e810
mov eax, dword [ebp - 0x178]
add esp, 0xc
mov word [esi + 8], ax
mov edi, dword [ebp - 0x17c]
mov eax, dword [ebx + 0x10]
add eax, dword [esi + 0xc]
push dword [edi + 0xc]
push dword [edi + 0x10]
push eax
call fcn.0060e810
mov eax, dword [ebp - 0x1a4]
add esp, 0xc
mov ecx, dword [ebp - 0x1b8]
mov word [edi + 8], ax
mov eax, dword [ebx + 0x10]
mov byte [ecx + eax], 0
mov eax, dword [ebx + 0x10]
mov byte [ecx + eax + 1], 0
mov eax, dword [ebx + 0x10]
mov byte [ecx + eax + 2], 0
mov eax, 0x200
or word [ebx + 8], ax
mov al, byte [ebp - 0x1a0]
mov dword [ebx + 0xc], ecx
mov byte [ebx + 0xa], al
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
mov dword [ebp - 0x17c], esi
call fcn.004ed350
movzx ebx, ax
mov eax, dword [edi + 8]
mov edi, dword [ebp - 0x174]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
push eax
mov dword [ebp - 0x178], eax
call fcn.004ed350
movzx ecx, ax
add esp, 8
mov eax, dword [ebp - 0x168]
and cl, bl
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x178]
mov ax, word [eax + 8]
or ax, word [esi + 8]
movzx eax, ax
test cl, 4
je 0x524e60
mov eax, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x178]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
movzx eax, byte [eax]
mov esi, dword [ebx]
add eax, 0xffffff97
mov edi, dword [ebx + 4]
mov dword [ebp - 0x1dc], esi
mov dword [ebp - 0x1d8], edi
cmp eax, 3
ja case.default.0x524d67
jmp dword [eax*4 + 0x52b10c]
push edx
push ecx
lea eax, [ebp - 0x1dc]
push eax
call fcn.004f9740
add esp, 0xc
test eax, eax
je 0x524e15
mov esi, dword [ebp - 0x17c]
jmp 0x524e98
push edx
push ecx
lea eax, [ebp - 0x1dc]
push eax
call fcn.0051f6c0
add esp, 0xc
test eax, eax
jne 0x524d87
jmp 0x524e15
push edx
push ecx
lea eax, [ebp - 0x1dc]
push eax
call fcn.00512ea0
add esp, 0xc
test eax, eax
jne 0x524d87
jmp 0x524e15
mov eax, ecx
or eax, edx
je 0x524e64
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x524ddf
test esi, esi
jne 0x524ddf
cmp edi, 0x80000000
je 0x524d87
push edx
push ecx
push edi
push esi
call fcn.0060d470
jmp 0x524e09
mov eax, ecx
or eax, edx
je 0x524e64
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x524e00
mov ecx, 1
xor edx, edx
push edx
push ecx
push edi
push esi
call fcn.0060d870
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1a4]
mov edx, 0x3e40
mov eax, dword [ebp - 0x1dc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ecx + 4], eax
mov ax, word [ecx + 8]
and ax, dx
or ax, 4
mov word [ecx + 8], ax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
test al, 1
je 0x524e92
push dword [ebp - 0x1a4]
call fcn.0052d460
add esp, 4
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov ebx, dword [ebp - 0x178]
push esi
call fcn.0052dee0
fstp qword [ebp - 0x18c]
push ebx
call fcn.0052dee0
mov eax, dword [ebp - 0x168]
add esp, 8
fstp qword [ebp - 0x194]
movzx eax, byte [eax]
add eax, 0xffffff97
cmp eax, 3
ja case.default.0x524ec4
jmp dword [eax*4 + 0x52b11c]
movsd xmm0, qword [ebp - 0x194]
addsd xmm0, qword [ebp - 0x18c]
jmp 0x524f79
movsd xmm0, qword [ebp - 0x194]
subsd xmm0, qword [ebp - 0x18c]
jmp 0x524f79
movsd xmm0, qword [ebp - 0x194]
mulsd xmm0, qword [ebp - 0x18c]
jmp 0x524f79
movsd xmm1, qword [ebp - 0x18c]
xorps xmm0, xmm0
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jnp 0x524e64
movsd xmm0, qword [ebp - 0x194]
divsd xmm0, xmm1
jmp 0x524f79
push esi
call fcn.0052c0b0
push ebx
mov esi, eax
mov edi, edx
call fcn.0052c0b0
mov ecx, eax
mov dword [ebp - 0x1d8], edx
mov eax, esi
mov dword [ebp - 0x1dc], ecx
add esp, 8
or eax, edi
je 0x524e64
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
jne 0x524f69
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push ecx
call fcn.0060d870
mov ecx, eax
call fcn.0060d3e0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00511340
add esp, 8
test eax, eax
jne 0x524e64
mov ecx, dword [ebp - 0x1a4]
mov edx, 0x3e40
mov ax, word [ecx + 8]
and ax, dx
movsd qword [ecx], xmm0
or ax, 8
mov word [ecx + 8], ax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [esi + 4]
test eax, eax
je case.0x5242e2.85
mov ecx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
push 0
push 0
lea eax, [ecx + eax*8]
push eax
call fcn.0052d420
mov ecx, dword [ebp - 0x164]
add esp, 0xc
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov edi, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [edi + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edx, [edi + eax*8]
mov al, byte [ecx + 8]
or al, byte [ebx + 8]
mov dword [ebp - 0x190], edx
test al, 1
je 0x52506d
push edx
call fcn.0052d460
add esp, 4
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push ecx
call fcn.0052c0b0
mov edi, eax
mov esi, edx
push ebx
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], esi
call fcn.0052c0b0
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 0x168]
mov cl, byte [eax]
cmp cl, 0x65
jne 0x5250a4
and edi, ebx
and esi, edx
jmp 0x525142
cmp cl, 0x66
jne 0x5250b2
or edi, ebx
or esi, edx
jmp 0x525142
mov eax, ebx
or eax, edx
je 0x525142
test edx, edx
jg 0x5250ea
jl 0x5250c6
test ebx, ebx
jae 0x5250df
mov al, 0xcf
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x5250ea
jg 0x5250d8
cmp ebx, 0xffffffc0
jbe 0x5250ea
neg ebx
adc edx, 0
neg edx
test edx, edx
jl 0x525119
jg 0x5250ea
cmp ebx, 0x40
jb 0x525119
test esi, esi
jg 0x525100
jl 0x5250f4
test edi, edi
jae 0x525100
cmp cl, 0x67
je 0x525100
or edi, 0xffffffff
or esi, edi
jmp 0x525142
xorps xmm0, xmm0
movlpd qword [ebp - 0x18c], xmm0
mov esi, dword [ebp - 0x188]
mov edi, dword [ebp - 0x18c]
jmp 0x525142
movq xmm1, qword [ebp - 0x22c]
movd xmm0, ebx
cmp cl, 0x67
jne 0x525181
psllq xmm1, xmm0
movq qword [ebp - 0x18c], xmm1
mov edi, dword [ebp - 0x18c]
mov esi, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x190]
mov edx, 0x3e40
mov ax, word [ecx + 8]
and ax, dx
mov dword [ecx], edi
or ax, 4
mov dword [ecx + 4], esi
mov word [ecx + 8], ax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
psrlq xmm1, xmm0
movq qword [ebp - 0x18c], xmm1
test esi, esi
jg 0x525136
jl 0x525197
test edi, edi
jae 0x525136
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, ebx
or edx, 0xffffffff
call fcn.0060d930
mov edi, dword [ebp - 0x18c]
mov esi, dword [ebp - 0x188]
or edi, eax
or esi, edx
jmp 0x525142
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.0052d0f0
mov eax, dword [ebp - 0x168]
add esp, 4
mov eax, dword [eax + 8]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x525265
test al, 8
jne 0x525234
test al, 2
je 0x525243
push 1
push esi
call fcn.004d5560
add esp, 8
jmp 0x52523d
push esi
call fcn.0052c100
add esp, 4
mov ecx, dword [ebp - 0x164]
movzx eax, word [esi + 8]
test al, 4
jne 0x525265
mov esi, dword [ebp - 0x168]
cmp dword [esi + 8], 0
jne 0x524332
mov eax, 0x14
jmp 0x52a90e
and eax, 0x3e40
or eax, 4
mov word [esi + 8], ax
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 0x24
lea eax, [edx + eax*8]
je case.0x5242e2.85
push eax
call fcn.0052d310
mov ecx, dword [ebp - 0x164]
add esp, 4
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x5252f9
push esi
call fcn.0052cd90
add esp, 4
test eax, eax
jne 0x52acb0
mov eax, dword [ebp - 0x168]
push dword [ebp - 0x1a0]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.0052cc00
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x164]
test eax, eax
jne 0x52a914
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov edi, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [edi + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
movzx edx, word [edi + eax*8 + 8]
lea esi, [edi + eax*8]
movzx eax, word [ebx + 8]
mov ecx, edx
or ecx, eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x184], edx
test cl, 1
je 0x52544a
mov eax, dword [ebp - 0x168]
movzx eax, word [eax + 2]
test al, al
jns 0x5253d2
mov cl, dl
mov al, cl
and al, byte [ebp - 0x180]
test al, 1
je 0x5253bb
test edx, 0x100
jne 0x5253bb
mov eax, dword [ebp - 0x168]
xor ecx, ecx
movzx eax, byte [eax]
mov al, byte [eax + 0x6cf054]
jmp 0x5254d8
test cl, 1
mov ecx, 0
sete cl
lea ecx, [ecx*2 - 1]
jmp 0x525636
test al, 0x20
je 0x525422
mov eax, dword [ebp - 0x168]
mov edx, 0x3e40
mov dword [ebp - 0x1d4], 1
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov ax, word [edi + ecx*8 + 8]
and ax, dx
or ax, 1
mov word [edi + ecx*8 + 8], ax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
test al, 0x10
jne 0x524326
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edi, dword [ebp - 0x168]
mov al, byte [edi + 2]
and al, 0x47
cmp al, 0x43
jb 0x525597
test cl, 2
je 0x52549a
mov al, byte [ebp - 0x180]
and al, 0x2e
cmp al, 2
jne 0x525483
push 0
push ebx
call fcn.004d5560
movzx eax, word [esi + 8]
add esp, 8
mov dword [ebp - 0x184], eax
mov al, byte [ebp - 0x184]
and al, 0x2e
cmp al, 2
jne 0x52549a
push 0
push esi
call fcn.004d5560
add esp, 8
mov al, byte [ebx + 8]
and al, byte [esi + 8]
test al, 4
je 0x525627
mov edi, dword [esi + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [esi]
mov eax, dword [ebx]
cmp edi, edx
jl 0x525580
jg 0x5254c4
cmp ecx, eax
jbe 0x52556e
mov ecx, 1
mov eax, dword [ebp - 0x168]
movzx eax, byte [eax]
mov al, byte [eax + 0x6cf05c]
movzx edi, al
movzx eax, word [ebp - 0x184]
mov word [esi + 8], ax
movzx eax, word [ebp - 0x180]
mov esi, dword [ebp - 0x168]
mov word [ebx + 8], ax
mov ebx, dword [ebp - 0x168]
movzx ebx, word [ebx + 2]
test bl, 0x20
je 0x525668
mov dword [ebp - 0x1d4], ecx
mov eax, esi
mov eax, dword [eax + 8]
lea edx, [eax + eax*4]
test bl, 8
je 0x52552d
xor eax, eax
cmp byte [esi], 0x35
sete al
cmp eax, edi
je 0x52457c
mov ebx, dword [ebp - 0x174]
mov ecx, 0x3e40
mov ax, word [ebx + edx*8 + 8]
and ax, cx
mov dword [ebx + edx*8], edi
mov ecx, dword [ebp - 0x164]
or ax, 4
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov word [ebx + edx*8 + 8], ax
mov dword [ebx + edx*8 + 4], 0
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
cmp edi, edx
jg 0x5253a5
jl 0x525580
cmp ecx, eax
jae 0x5253a5
mov eax, dword [ebp - 0x168]
or ecx, 0xffffffff
movzx eax, byte [eax]
mov al, byte [eax + 0x6cf04c]
jmp 0x5254d8
cmp al, 0x42
jne 0x525627
mov al, byte [ebp - 0x180]
test al, 2
jne 0x5255ee
test al, 0x2c
je 0x5255ee
push 1
push dword [ebp - 0x1a0]
push ebx
call fcn.0052d780
mov ax, word [ebx + 8]
mov ecx, 0x3e40
xor ax, word [ebp - 0x180]
add esp, 0xc
and ax, cx
xor word [ebp - 0x180], ax
cmp ebx, esi
jne 0x5255ee
mov eax, dword [ebp - 0x180]
or eax, 2
movzx eax, ax
mov dword [ebp - 0x184], eax
mov al, byte [ebp - 0x184]
test al, 2
jne 0x525627
test al, 0x2c
je 0x525627
push 1
push dword [ebp - 0x1a0]
push esi
call fcn.0052d780
mov ax, word [esi + 8]
mov ecx, 0x3e40
xor ax, word [ebp - 0x184]
add esp, 0xc
and ax, cx
xor word [ebp - 0x184], ax
push dword [edi + 0x10]
push ebx
push esi
call fcn.00512cd0
add esp, 0xc
mov ecx, eax
test ecx, ecx
jns 0x52564e
mov eax, dword [ebp - 0x168]
movzx eax, byte [eax]
mov al, byte [eax + 0x6cf04c]
jmp 0x5254d8
jne 0x5254c9
mov eax, dword [ebp - 0x168]
movzx eax, byte [eax]
mov al, byte [eax + 0x6cf054]
jmp 0x5254d8
test edi, edi
jne 0x529fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
cmp dword [ebp - 0x1d4], 0
jne 0x524332
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov ebx, dword [ebp - 0x168]
test byte [ebx + 2], 1
jne 0x5256bb
xor eax, eax
jmp 0x5256c1
mov eax, dword [ebx - 4]
add eax, 4
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebp - 0x168]
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x1b8], ebx
mov ebx, dword [esi + 8]
xor esi, esi
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1c0], ebx
test ecx, ecx
jle 0x524576
lea ebx, [edx + 0x14]
nop
test eax, eax
je 0x525709
mov edi, dword [eax + esi*4]
jmp 0x52570b
mov edi, esi
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x174]
push dword [ebx]
movzx eax, byte [esi + eax]
and eax, 1
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1c0]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov eax, dword [ebp - 0x1b8]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.00512cd0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x1d4], edx
test edx, edx
jne 0x52578d
mov eax, dword [ebp - 0x178]
inc esi
mov edx, dword [ebp - 0x1a4]
add ebx, 4
cmp esi, dword [ebp - 0x190]
jl 0x525700
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [ebp - 0x1a4]
mov eax, dword [eax + 0x10]
test byte [esi + eax], 2
je 0x5257ce
mov eax, dword [ebp - 0x1b8]
mov ebx, dword [ebp - 0x174]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
jne 0x5257c6
mov eax, dword [ebp - 0x1c0]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
je 0x5257ce
neg edx
mov dword [ebp - 0x1d4], edx
cmp dword [ebp - 0x1ac], 0
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
je case.0x5242e2.85
mov edi, dword [ebp - 0x1b4]
neg edx
mov ebx, dword [ebp - 0x1e4]
add esi, 0x14
mov dword [ebp - 0x1d4], edx
jmp 0x5242c4
mov ebx, dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x168]
test ebx, ebx
jns 0x525837
mov esi, dword [edx + 4]
mov edx, dword [ebp - 0x19c]
dec esi
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
lea esi, [esi + esi*4]
lea esi, [edx + esi*4]
add esi, 0x14
jmp 0x5242c4
jne 0x52585d
mov esi, dword [edx + 8]
mov edx, dword [ebp - 0x19c]
dec esi
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
lea esi, [esi + esi*4]
lea esi, [edx + esi*4]
add esi, 0x14
jmp 0x5242c4
mov esi, dword [edx + 0xc]
mov edx, dword [ebp - 0x19c]
dec esi
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
lea esi, [esi + esi*4]
lea esi, [edx + esi*4]
add esi, 0x14
jmp 0x5242c4
mov ebx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
push 2
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.00523870
mov ecx, dword [ebx + 8]
mov esi, eax
mov ebx, dword [ebp - 0x174]
push 2
lea ecx, [ecx + ecx*4]
lea ecx, [ebx + ecx*8]
push ecx
call fcn.00523870
mov ecx, dword [ebp - 0x168]
add esp, 0x10
lea eax, [eax + esi*2]
cmp byte [ecx], 0x2c
jne 0x5258d1
mov al, byte [esi + eax + 0x6cf024]
jmp 0x5258d8
mov al, byte [esi + eax + 0x6cf098]
mov esi, dword [ebp - 0x168]
movzx edx, al
mov eax, dword [ecx + 0xc]
lea ecx, [eax + eax*4]
mov ax, word [ebx + ecx*8 + 8]
cmp edx, 2
jne 0x52591c
mov edi, dword [ebp - 0x1b4]
mov edx, 0x3e40
and ax, dx
or ax, 1
add esi, 0x14
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edi, dword [ebp - 0x1b4]
mov dword [ebx + ecx*8], edx
mov edx, 0x3e40
and ax, dx
mov dword [ebx + ecx*8 + 4], 0
or ax, 4
add esi, 0x14
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.00523870
mov ecx, dword [ebp - 0x168]
xor eax, dword [ecx + 0x10]
cdq
push edx
push eax
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.0052d420
add esp, 0x14
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
jne 0x529fec
push 0
push ecx
call fcn.00523870
neg eax
push 0
sbb eax, eax
inc eax
push eax
push esi
call fcn.0052d420
add esp, 0x14
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.0052d460
add esp, 4
test byte [edi + 8], 1
jne 0x524576
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.0052c0b0
not eax
not edx
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edi, dword [ecx + 0xc8]
test edi, edi
je 0x525af3
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x168]
mov edi, dword [edi + 0x18]
sub ecx, dword [eax + 0x68]
mov eax, 0x66666667
imul ecx
mov eax, 1
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, ecx
and ecx, 7
shr esi, 3
shl eax, cl
movzx edx, byte [esi + edi]
test edx, eax
jne 0x524326
mov ebx, dword [ebp - 0x1e4]
bts edx, ecx
mov ecx, dword [ebp - 0x164]
mov byte [esi + edi], dl
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
mov eax, dword [ecx + 0x68]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
add esi, 0x14
jmp 0x5242c4
mov eax, dword [ecx + 0x68]
mov eax, dword [eax + 4]
cmp eax, dword [esi + 4]
je 0x524332
mov eax, dword [ecx + 0x68]
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
add esi, 0x14
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.00523870
mov esi, dword [ebp - 0x168]
add esp, 8
test eax, eax
jne 0x529fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
xor eax, eax
mov ecx, dword [ebp - 0x174]
cmp dword [edx + 0xc], eax
sete al
push eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.00523870
mov esi, dword [ebp - 0x168]
add esp, 8
test eax, eax
je 0x529fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
jne 0x524332
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
je 0x524332
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [ebp - 0x164]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 2], 0
je 0x52457c
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.0052d460
add esp, 4
jmp 0x524326
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x1c4], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.00523ee0
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov ebx, dword [ebp - 0x1c4]
mov esi, dword [ebp - 0x164]
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x48]
mov dword [ebp - 0x184], edx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x180], ecx
cmp eax, dword [esi + 0x20]
je 0x525dc9
cmp byte [ebx + 2], 0
je 0x525d28
cmp byte [ebx], 3
jne 0x525cff
mov eax, dword [ebx + 0x20]
lea esi, [ebx + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x174]
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [esi], eax
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x174]
mov eax, dword [eax + ecx*8 + 0x10]
mov dword [ebx + 0x4c], eax
jmp 0x525d5c
push ecx
call fcn.0052d460
add esp, 4
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov esi, dword [ebx + 0x28]
push esi
call fcn.004e75c0
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x54]
push eax
push esi
call fcn.004fef50
mov dword [ebx + 0x4c], eax
add esp, 0xc
mov eax, dword [ebx + 0x50]
cmp eax, dword [edi + 0x6c]
ja 0x529860
mov edx, dword [ebp - 0x184]
lea esi, [ebx + 0x54]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebx + 0x4c]
mov al, byte [ecx]
cmp al, 0x80
jae 0x525d7d
movzx eax, al
mov dword [edx], eax
mov eax, 1
jmp 0x525d90
push edx
push ecx
call fcn.0050f240
mov edx, dword [ebp - 0x184]
add esp, 8
movzx eax, al
movzx eax, al
mov dword [ebx + 0x30], eax
xor eax, eax
mov word [ebx + 0x3a], ax
mov eax, dword [esi]
cmp eax, dword [edx]
jae 0x525eba
mov dword [ebx + 0x4c], 0
mov dword [esi], 0
mov eax, dword [edx]
cmp eax, 0x18003
ja 0x525fef
cmp eax, dword [ebx + 0x50]
ja 0x525fef
movzx eax, word [ebx + 0x3a]
mov esi, dword [ebp - 0x1d0]
cmp eax, esi
jg 0x5260b1
mov eax, dword [ebx + 0x30]
cmp eax, dword [edx]
jae 0x526023
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x198], eax
test eax, eax
jne 0x525e3c
xorps xmm0, xmm0
lea eax, [ebp - 0x110]
push eax
movups xmmword [ebp - 0x110], xmm0
movups xmmword [ebp - 0x100], xmm0
movq qword [ebp - 0xf0], xmm0
push dword [edx]
push 0
push dword [ebx + 0x28]
call fcn.0052ce90
add esp, 0x10
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x198], eax
movzx edx, word [ebx + 0x3a]
mov eax, dword [ebp - 0x184]
mov esi, dword [ebx + 0x30]
add esi, dword [ebp - 0x198]
mov dword [ebp - 0x1b8], edx
mov ecx, dword [eax + edx*4]
xor eax, eax
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x178], ecx
mov eax, dword [eax]
add eax, dword [ebp - 0x198]
mov dword [ebp - 0x1ac], eax
lea eax, [ebx + 0x58]
lea eax, [eax + edx*4]
mov dword [ebp - 0x1a4], eax
nop word [eax + eax]
movzx ebx, byte [esi]
mov dword [ebp - 0x1e8], ebx
mov dword [eax], ebx
cmp ebx, 0x80
jae 0x525ec2
movzx eax, byte [ebx + 0x6cefa0]
cdq
add ecx, eax
adc dword [ebp - 0x17c], edx
mov edx, 1
jmp 0x525ef8
mov eax, dword [ebx + 0x4c]
jmp 0x525e36
lea eax, [ebp - 0x1e8]
push eax
push esi
call fcn.0050f240
mov ebx, dword [ebp - 0x1e8]
movzx edx, al
mov eax, dword [ebp - 0x1a4]
push ebx
mov dword [eax], ebx
call fcn.0052e960
mov ecx, dword [ebp - 0x178]
add esp, 0xc
add ecx, eax
adc dword [ebp - 0x17c], 0
mov edi, dword [ebp - 0x184]
add esi, edx
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1a4]
inc edx
add eax, 4
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 0x1a4], eax
mov dword [edi + edx*4], ecx
mov edi, dword [ebp - 0x1b4]
cmp edx, dword [ebp - 0x1d0]
jg 0x525f47
cmp esi, dword [ebp - 0x1ac]
jb 0x525e90
mov eax, dword [ebp - 0x1ac]
jmp 0x525f51
mov eax, dword [ebp - 0x1ac]
cmp esi, eax
jb 0x525f6c
cmp esi, eax
mov eax, dword [ebp - 0x1c4]
ja 0x525f9b
cmp ecx, dword [eax + 0x50]
jne 0x525f9b
mov eax, dword [ebp - 0x17c]
test eax, eax
jne 0x525f95
jmp 0x525f72
mov eax, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x1c4]
mov edi, dword [edi + 0x50]
mov dword [ebp - 0x190], edi
mov edi, dword [ebp - 0x1b4]
test eax, eax
jb 0x525fae
ja 0x525f95
cmp ecx, dword [ebp - 0x190]
jbe 0x525fae
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x184]
cmp dword [ecx], 0
jne 0x525fda
mov esi, dword [ebp - 0x1ac]
xor edx, edx
mov eax, dword [ebp - 0x1c4]
sub esi, dword [ebp - 0x198]
mov word [eax + 0x3a], dx
mov dword [eax + 0x30], esi
mov esi, eax
cmp dword [esi + 0x4c], 0
jne 0x526031
lea eax, [ebp - 0x110]
push eax
call fcn.0052d380
add esp, 4
jmp 0x526031
cmp dword [eax + 0x4c], 0
jne 0x525fef
lea eax, [ebp - 0x110]
push eax
call fcn.0052d380
add esp, 4
mov ecx, dword [ebp - 0x19c]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x52a75e
mov edi, dword [ebp - 0x1b4]
lea esi, [eax - 1]
mov ebx, dword [ebp - 0x1e4]
lea esi, [esi + esi*4]
lea esi, [ecx + esi*4]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
jmp 0x5242c4
mov esi, dword [ebp - 0x1c4]
xor ebx, ebx
mov dword [ebp - 0x1e8], ebx
movzx eax, word [esi + 0x3a]
cmp eax, dword [ebp - 0x1d0]
jg 0x5260c1
mov eax, dword [ebp - 0x168]
cmp byte [eax + 1], 0xf5
jne 0x526083
push 0x800
push dword [eax + 0x10]
push dword [ebp - 0x180]
call fcn.0052d730
add esp, 0xc
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push dword [ebp - 0x180]
call fcn.0052d460
add esp, 4
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov ebx, dword [ebx + esi*4 + 0x58]
mov esi, dword [ebp - 0x1c4]
mov dword [ebp - 0x1e8], ebx
mov edx, dword [ebp - 0x180]
mov eax, 0x2400
test word [edx + 8], ax
je 0x5260e1
push edx
call fcn.0052d460
mov edx, dword [ebp - 0x180]
add esp, 4
mov edi, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0x184]
mov eax, dword [esi + 0x54]
cmp eax, dword [ecx + edi*4 + 4]
mov edi, dword [ebp - 0x1b4]
jb 0x5261d6
mov eax, dword [esi + 0x4c]
mov esi, dword [ebp - 0x1d0]
add eax, dword [ecx + esi*4]
mov dword [ebp - 0x190], eax
cmp ebx, 0xc
jae 0x52613c
push edx
push ebx
push eax
call fcn.0052e720
add esp, 0xc
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov al, byte [ebp - 0x1a0]
lea esi, [ebx - 0xc]
shr esi, 1
mov byte [edx + 0xa], al
mov dword [edx + 0xc], esi
lea eax, [esi + 2]
cmp dword [edx + 0x18], eax
jge 0x52617a
push 0
push eax
mov ecx, 1
push edx
mov word [edx + 8], cx
call fcn.0052cf00
add esp, 0xc
test eax, eax
jne 0x52a9e4
mov edx, dword [ebp - 0x180]
jmp 0x526180
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
push esi
push dword [ebp - 0x190]
push dword [edx + 0x10]
call fcn.0060e810
mov ecx, dword [ebp - 0x180]
add esp, 0xc
and ebx, 1
mov eax, dword [ecx + 0x10]
mov byte [esi + eax], 0
mov eax, dword [ecx + 0x10]
mov byte [eax + esi + 1], 0
mov ax, word [ebx*2 + 0x6cf0a4]
mov word [ecx + 8], ax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov al, byte [ebp - 0x1a0]
mov byte [edx + 0xa], al
mov eax, dword [ebp - 0x168]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x5261fb
cmp ebx, 0xc
jb 0x5261f7
test bl, 1
je 0x526208
test al, al
js 0x526208
push ebx
call fcn.0052e960
add esp, 4
test eax, eax
jne 0x526237
push edx
push ebx
push 0x6cdb08
call fcn.0052e720
add esp, 0xc
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push edx
push eax
mov eax, dword [ebp - 0x1d0]
push dword [ecx + eax*4]
push dword [esi + 0x28]
call fcn.0052ce90
add esp, 0x10
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
mov esi, dword [ebp - 0x180]
push esi
push ebx
push dword [esi + 0x10]
call fcn.0052e720
mov eax, 0xefff
add esp, 0xc
and word [esi + 8], ax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
nop
push dword [ebp - 0x1a0]
movzx eax, byte [edi]
push eax
push esi
call fcn.004d54f0
add esp, 0xc
cmp byte [edi], 0x45
jne 0x526314
movzx ebx, word [esi + 8]
test bl, 4
je 0x526314
mov edx, dword [esi + 4]
mov ecx, dword [esi]
cmp edx, 0x7fff
jg 0x5262fe
jl 0x5262e5
cmp ecx, 0xffffffff
ja 0x5262fe
cmp edx, 0xffff8000
jl 0x5262fe
jg 0x5262f3
test ecx, ecx
jb 0x5262fe
and ebx, 0xfffb
or ebx, 0x20
jmp 0x526310
call fcn.0060d3e0
and ebx, 0xfffb
movsd qword [esi], xmm0
or ebx, 8
mov word [esi + 8], bx
inc edi
cmp byte [edi], 0
je 0x524576
add esi, 0x28
jmp 0x5262b0
mov edx, dword [ebp - 0x168]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x174]
movlpd qword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x198], 0
mov eax, dword [edx + 4]
mov ebx, dword [edx + 0x10]
movlpd qword [ebp - 0x1bc], xmm0
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x178], ecx
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x164]
movzx eax, byte [eax + 0x93]
mov dword [ebp - 0x188], eax
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [ebp - 0x1c0], eax
test ebx, ebx
je 0x5263d6
lea esi, [ecx + 8]
nop dword [eax]
push dword [ebp - 0x1a0]
movzx eax, byte [ebx]
push eax
lea eax, [esi - 8]
push eax
call fcn.004d54f0
add esp, 0xc
cmp byte [ebx], 0x45
jne 0x5263cd
movzx eax, word [esi]
test al, 4
je 0x5263cd
and eax, 0xfffb
or eax, 0x20
mov word [esi], ax
inc ebx
add esi, 0x28
cmp byte [ebx], 0
jne 0x5263a0
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1a4]
mov esi, dword [ebp - 0x190]
mov edx, dword [ebp - 0x1a8]
add esi, 0x1c
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x1b8], eax
nop
movzx ebx, word [esi - 0x14]
test bl, 1
je 0x526434
and ebx, 0x4000
neg ebx
sbb ebx, ebx
and ebx, 0xa
mov dword [esi], ebx
mov ebx, dword [ebp - 0x198]
inc ebx
jmp 0x52670b
test bl, 0x24
je 0x526619
cmp dword [esi - 0x18], 0
mov eax, dword [esi - 0x1c]
jg 0x52645b
jl 0x52644c
test eax, eax
jae 0x52645b
not eax
mov dword [ebp - 0x17c], eax
mov eax, dword [esi - 0x18]
not eax
jmp 0x526464
mov dword [ebp - 0x17c], eax
mov eax, dword [esi - 0x18]
inc dword [ebp - 0x198]
test eax, eax
ja 0x526582
jb 0x52647d
cmp dword [ebp - 0x17c], 0x7f
ja 0x5264df
mov eax, dword [esi - 0x1c]
and eax, 1
mov dword [ebp - 0x1ac], 0
cmp eax, dword [esi - 0x1c]
jne 0x5264bc
mov eax, dword [ebp - 0x1ac]
cmp eax, dword [esi - 0x18]
jne 0x5264bc
cmp dword [ebp - 0x188], 4
jb 0x5264bc
mov eax, dword [ebp - 0x17c]
mov ebx, dword [ebp - 0x198]
add eax, 8
mov dword [esi], eax
jmp 0x526711
mov ebx, dword [ebp - 0x198]
add edx, 1
mov dword [ebp - 0x180], edx
adc ecx, 0
mov dword [esi], 1
mov dword [ebp - 0x184], ecx
jmp 0x526711
test eax, eax
ja 0x526582
jb 0x5264f5
cmp dword [ebp - 0x17c], 0x7fff
ja 0x526518
mov ebx, dword [ebp - 0x198]
add edx, 2
mov dword [ebp - 0x180], edx
adc ecx, 0
mov dword [esi], 2
mov dword [ebp - 0x184], ecx
jmp 0x526711
test eax, eax
ja 0x526582
jb 0x52652a
cmp dword [ebp - 0x17c], 0x7fffff
ja 0x52654d
mov ebx, dword [ebp - 0x198]
add edx, 3
mov dword [ebp - 0x180], edx
adc ecx, 0
mov dword [esi], 3
mov dword [ebp - 0x184], ecx
jmp 0x526711
test eax, eax
ja 0x526582
jb 0x52655f
cmp dword [ebp - 0x17c], 0x7fffffff
ja 0x526582
mov ebx, dword [ebp - 0x198]
add edx, 4
mov dword [ebp - 0x180], edx
adc ecx, 0
mov dword [esi], 4
mov dword [ebp - 0x184], ecx
jmp 0x526711
cmp eax, 0x7fff
ja 0x5265b7
jb 0x526594
cmp dword [ebp - 0x17c], 0xffffffff
ja 0x5265b7
mov ebx, dword [ebp - 0x198]
add edx, 6
mov dword [ebp - 0x180], edx
adc ecx, 0
mov dword [esi], 5
mov dword [ebp - 0x184], ecx
jmp 0x526711
add edx, 8
mov dword [ebp - 0x180], edx
adc ecx, 0
mov dword [ebp - 0x184], ecx
test bl, 0x20
je 0x526608
mov edx, dword [esi - 0x18]
mov ecx, dword [esi - 0x1c]
call fcn.0060d3e0
mov ecx, dword [ebp - 0x184]
and ebx, 0xffdf
mov edx, dword [ebp - 0x180]
or ebx, 8
mov word [esi - 0x14], bx
mov ebx, dword [ebp - 0x198]
movsd qword [esi - 0x1c], xmm0
mov dword [esi], 7
jmp 0x526711
mov ebx, dword [ebp - 0x198]
mov dword [esi], 6
jmp 0x526711
test bl, 8
je 0x526642
mov ebx, dword [ebp - 0x198]
inc ebx
mov dword [esi], 7
add edx, 8
mov dword [ebp - 0x180], edx
adc ecx, 0
mov dword [ebp - 0x184], ecx
jmp 0x52670b
mov eax, dword [esi - 0x10]
mov dword [ebp - 0x1ac], eax
mov eax, ebx
mov edi, dword [ebp - 0x1ac]
shr eax, 1
and eax, 1
lea eax, [eax + edi*2]
mov edi, dword [ebp - 0x1b4]
add eax, 0xc
mov dword [ebp - 0x17c], eax
test ebx, 0x4000
je 0x5266cf
mov edi, dword [esi - 0x1c]
lea ebx, [esi - 0x1c]
lea eax, [eax + edi*2]
mov edi, dword [ebp - 0x1b4]
mov dword [ebp - 0x17c], eax
mov eax, edx
or eax, ecx
je 0x5266b4
push ebx
call fcn.0052cd90
add esp, 4
test eax, eax
jne 0x52a9e4
mov ecx, dword [ebp - 0x1ac]
add ecx, dword [ebx]
mov dword [ebp - 0x1ac], ecx
mov ecx, dword [ebp - 0x184]
jmp 0x5266c3
mov eax, dword [ebx]
cdq
add dword [ebp - 0x1b8], eax
adc dword [ebp - 0x1a4], edx
mov eax, dword [ebp - 0x17c]
mov edx, dword [ebp - 0x180]
add edx, dword [ebp - 0x1ac]
push 0
adc ecx, 0
mov dword [ebp - 0x180], edx
push eax
mov dword [ebp - 0x184], ecx
call fcn.00523350
mov ebx, dword [ebp - 0x198]
add esp, 8
mov ecx, dword [ebp - 0x184]
add ebx, eax
mov eax, dword [ebp - 0x17c]
mov edx, dword [ebp - 0x180]
mov dword [esi], eax
mov dword [ebp - 0x198], ebx
lea eax, [esi - 0x1c]
cmp eax, dword [ebp - 0x178]
je 0x526724
sub esi, 0x28
jmp 0x526410
cmp ebx, 0x7e
jle 0x52674e
mov eax, ebx
cdq
push edx
push eax
call fcn.00523350
mov esi, eax
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x198], ebx
cdq
push edx
push eax
call fcn.00523350
add esp, 0x10
cmp esi, eax
jge 0x526755
inc ebx
mov dword [ebp - 0x198], ebx
mov eax, ebx
cdq
mov ecx, eax
mov eax, edx
mov ebx, ecx
mov dword [ebp - 0x1ac], ecx
add ebx, dword [ebp - 0x180]
mov ecx, eax
mov dword [ebp - 0x188], eax
mov esi, ebx
mov eax, dword [ebp - 0x1c0]
adc ecx, dword [ebp - 0x184]
add esi, dword [ebp - 0x1b8]
mov eax, dword [eax + 0x18]
adc ecx, dword [ebp - 0x1a4]
cdq
cmp ecx, edx
jg 0x5267a8
jl 0x52679a
cmp esi, eax
ja 0x5267a8
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
jmp 0x5267db
mov eax, dword [edi + 0x6c]
cdq
cmp ecx, edx
jg 0x529860
jl 0x5267be
cmp esi, eax
ja 0x529860
push ebx
push dword [ebp - 0x1c0]
call fcn.0052ccf0
add esp, 8
test eax, eax
jne 0x52a9e4
mov edx, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1b8]
mov eax, 0x10
mov word [edx + 8], ax
mov eax, ecx
or eax, dword [ebp - 0x1a4]
mov dword [edx + 0xc], ebx
je 0x526802
mov eax, 0x4010
mov dword [edx], ecx
mov word [edx + 8], ax
mov eax, dword [ebp - 0x198]
mov esi, dword [edx + 0x10]
lea edi, [esi + eax]
cmp eax, 0x80
jae 0x52681e
mov byte [esi], al
mov eax, 1
jmp 0x526833
push dword [ebp - 0x188]
push dword [ebp - 0x1ac]
push esi
call fcn.00518e00
add esp, 0xc
mov ebx, dword [ebp - 0x178]
movzx eax, al
add esi, eax
nop
mov ebx, dword [ebx + 0x1c]
cmp ebx, 0x80
jae 0x526854
mov byte [esi], bl
mov eax, 1
jmp 0x526860
push 0
push ebx
push esi
call fcn.00518e00
add esp, 0xc
push ebx
mov ebx, dword [ebp - 0x178]
movzx eax, al
push ebx
push edi
add esi, eax
call fcn.0052e8f0
add ebx, 0x28
add esp, 0xc
add edi, eax
mov dword [ebp - 0x178], ebx
cmp ebx, dword [ebp - 0x190]
jbe 0x526840
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x164]
movlpd qword [ebp - 0x234], xmm0
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x234]
push ecx
push dword [eax + 0x28]
push edi
call fcn.004fcdb0
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
push dword [ebp - 0x168]
push dword [ebp - 0x164]
call fcn.004edaa0
mov ecx, dword [ebp - 0x234]
add esp, 8
mov dword [eax], ecx
mov ecx, dword [ebp - 0x230]
mov dword [eax + 4], ecx
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
cmp dword [edi + 0x110], 0
jne 0x52ac67
mov ebx, dword [ebp - 0x170]
cmp dword [ebp - 0x1e4], ebx
jb case.0x5242e2.85
nop word [eax + eax]
mov eax, dword [edi + 0x158]
test eax, eax
je 0x52457c
add ebx, dword [edi + 0x160]
push dword [edi + 0x15c]
mov dword [ebp - 0x170], ebx
call eax
add esp, 4
test eax, eax
jne 0x52ae19
cmp dword [ebp - 0x1e4], ebx
jae 0x526940
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x178], eax
test ecx, ecx
jne 0x526a83
cmp dword [edi + 0xb8], ecx
jg 0x52a770
push eax
call fcn.0051f6a0
mov ecx, dword [edi + 0x1e0]
mov ebx, eax
add ecx, dword [edi + 0x1dc]
push ecx
push 0
push edi
call fcn.00530470
add esp, 0x10
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
lea eax, [ebx + 0x21]
push 0
push eax
push edi
call fcn.00502de0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x524576
lea ecx, [ebx + 1]
push ecx
push dword [ebp - 0x178]
lea edx, [esi + 0x20]
push edx
mov dword [esi], edx
call fcn.0060e810
add esp, 0xc
cmp byte [edi + 0x4f], 0
je 0x526a2a
mov byte [edi + 0x4f], 0
mov byte [edi + 0x57], 1
jmp 0x526a30
inc dword [edi + 0x1dc]
mov eax, dword [edi + 0x1d4]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1e8]
mov dword [edi + 0x1d4], esi
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1ec]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x1f0]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x1f4]
mov dword [esi + 0x14], eax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov esi, dword [edi + 0x1d4]
xor ebx, ebx
push eax
test esi, esi
je 0x52a7d5
push dword [esi]
call fcn.0051f640
add esp, 8
test eax, eax
je 0x526aae
mov esi, dword [esi + 0x18]
inc ebx
mov eax, dword [ebp - 0x178]
jmp 0x526a8b
cmp dword [edi + 0xb8], 0
mov ecx, dword [ebp - 0x17c]
jle 0x526ac6
cmp ecx, 1
je 0x52a78d
cmp dword [esi + 0x18], 0
jne 0x526b40
cmp byte [edi + 0x57], 0
je 0x526b40
mov dword [ebp - 0x1a4], 1
cmp ecx, 1
jne 0x526b4a
push ecx
push dword [ebp - 0x164]
call fcn.00523ab0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x16c], ecx
test ecx, ecx
jne 0x52ac26
push dword [ebp - 0x164]
mov byte [edi + 0x4f], 1
call fcn.0052bb10
add esp, 4
cmp eax, 5
je 0x52a794
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x526b37
mov byte [edi + 0x4f], 0
jmp 0x526c5a
mov byte [edi + 0x57], 0
jmp 0x526c62
mov dword [ebp - 0x1a4], 0
mov eax, dword [edi + 0x1dc]
sub eax, ebx
dec eax
mov dword [ebp - 0x178], eax
cmp ecx, 2
jne 0x526cd0
mov ecx, dword [edi + 0x18]
and ecx, 1
mov dword [ebp - 0x190], 0
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x1b8], ecx
jle 0x526bd4
mov eax, ecx
xor eax, 1
xor ebx, ebx
mov dword [ebp - 0x188], eax
nop dword [eax + eax]
push eax
mov eax, dword [edi + 0x10]
push 0x204
push dword [eax + ebx + 4]
call fcn.004ff740
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
mov eax, dword [ebp - 0x190]
add ebx, 0x10
inc eax
cmp eax, dword [edi + 0x14]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x188]
jl 0x526b90
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x17c]
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x190], 0
jle 0x526c30
xor ebx, ebx
nop dword [eax]
push eax
mov eax, dword [edi + 0x10]
push ecx
push dword [eax + ebx + 4]
call fcn.004ff200
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
mov eax, dword [ebp - 0x190]
add ebx, 0x10
mov ecx, dword [ebp - 0x17c]
inc eax
cmp eax, dword [edi + 0x14]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x178]
jl 0x526bf0
cmp dword [ebp - 0x1b8], 0
je 0x526c4e
push 0
push edi
call fcn.00504e90
push edi
call fcn.00519940
add esp, 0xc
or dword [edi + 0x18], 1
mov eax, dword [ebp - 0x16c]
mov ebx, dword [ebp - 0x178]
test eax, eax
jne 0x52a90e
cmp dword [edi + 0x1d4], esi
je 0x526c97
nop word [eax + eax]
mov ecx, dword [edi + 0x1d4]
push ecx
push edi
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1d4], eax
call fcn.00502d70
dec dword [edi + 0x1dc]
add esp, 8
cmp dword [edi + 0x1d4], esi
jne 0x526c70
mov ecx, dword [ebp - 0x17c]
cmp ecx, 1
jne 0x526cdf
mov eax, dword [esi + 0x18]
push esi
push edi
mov dword [edi + 0x1d4], eax
call fcn.00502d70
add esp, 8
cmp dword [ebp - 0x1a4], 0
jne 0x524576
dec dword [edi + 0x1dc]
mov ecx, dword [ebp - 0x17c]
jmp 0x526d15
mov dword [ebp - 0x1b8], 0
jmp 0x526bda
cmp dword [ebp - 0x1a4], 0
mov eax, dword [esi + 8]
mov dword [edi + 0x1e8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1ec], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x1f0], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x1f4], eax
je 0x526d15
cmp ecx, 2
jne 0x524576
push ebx
push ecx
push edi
call fcn.00530470
mov ecx, dword [ebp - 0x164]
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a914
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x1f4], 0
mov edx, dword [edx + 8]
test edx, edx
je 0x526d76
mov eax, dword [edi + 0x20]
and eax, 0x100000
or eax, 0
jne 0x52a7ed
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
test esi, esi
je 0x526e5c
lea eax, [ebp - 0x1f4]
push eax
push edx
push esi
call fcn.004fc550
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a7f7
mov edx, dword [ebp - 0x164]
test byte [edx + 0x98], 0x80
je 0x526e68
mov ecx, dword [ebp - 0x168]
cmp dword [ecx + 8], eax
je 0x526e68
cmp byte [edi + 0x4f], al
je 0x526de3
cmp dword [edi + 0xb4], 1
jle 0x526e68
cmp dword [edx + 0x30], 0
jne 0x526dfe
mov eax, dword [edi + 0x1dc]
inc dword [edi + 0x1e0]
add eax, dword [edi + 0x1e0]
mov dword [edx + 0x30], eax
mov eax, dword [edx + 0x30]
dec eax
push eax
push 0
push edi
call fcn.00530470
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x526e30
mov eax, dword [ebp - 0x164]
push dword [eax + 0x30]
push esi
call fcn.004fc4f0
add esp, 8
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x164]
mov eax, dword [edi + 0x1e8]
mov dword [edx + 0x48], eax
mov eax, dword [edi + 0x1ec]
mov dword [edx + 0x4c], eax
mov eax, dword [edi + 0x1f0]
mov dword [edx + 0x50], eax
mov eax, dword [edi + 0x1f4]
mov dword [edx + 0x54], eax
jmp 0x526e62
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x16c]
mov esi, dword [ebp - 0x168]
cmp word [esi + 2], 0
je 0x526ea4
mov eax, dword [ebp - 0x1f4]
cmp eax, dword [esi + 0xc]
jne 0x52a83b
mov eax, esi
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [esi + 0x10]
jne 0x52a83b
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x164]
test eax, eax
jne 0x52a914
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
lea eax, [ebp - 0x238]
push eax
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
push dword [edx + 0xc]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004fd4c0
push dword [ebp - 0x168]
push dword [ebp - 0x164]
call fcn.004edaa0
mov ecx, eax
add esp, 0x14
mov eax, dword [ebp - 0x238]
jmp 0x524570
mov edx, dword [ebp - 0x168]
mov esi, dword [edx + 4]
push dword [edx + 0xc]
shl esi, 4
add esi, dword [edi + 0x10]
push dword [edx + 8]
push dword [esi + 4]
call fcn.004ff8a0
mov edx, dword [ebp - 0x168]
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov eax, dword [edx + 8]
cmp eax, 1
jne 0x526f4a
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
or dword [edi + 0x18], 1
jmp 0x526f58
cmp eax, 2
jne 0x526f58
mov ecx, dword [esi + 0xc]
mov al, byte [edx + 0xc]
mov byte [ecx + 0x4c], al
mov eax, dword [ebp - 0x168]
cmp dword [eax + 4], 1
jne 0x526f7e
push 0
push edi
call fcn.00504e90
mov ecx, dword [ebp - 0x164]
add esp, 8
and dword [ecx + 0x98], 0xfffffffc
jmp 0x526f84
mov ecx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x16c]
test eax, eax
jne 0x52a90e
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov ebx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x526fd1
mov eax, dword [esi + 0x34]
cmp eax, dword [ebx + 8]
je 0x527119
mov ecx, dword [ebp - 0x164]
mov eax, dword [ecx + 0x98]
and al, 3
cmp al, 1
je 0x52a8b0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x178], 0
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov eax, esi
shl eax, 4
add eax, dword [edi + 0x10]
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x188], esi
mov ebx, dword [eax + 4]
mov dword [ebp - 0x1b8], ebx
cmp dl, 0x61
jne 0x527055
mov edx, dword [ebp - 0x168]
mov eax, dword [eax + 0xc]
movzx ebx, word [edx + 2]
mov edx, dword [ebp - 0x164]
and ebx, 8
mov al, byte [eax + 0x4c]
or ebx, 4
cmp al, byte [edx + 0x93]
jae 0x527057
mov byte [edx + 0x93], al
jmp 0x527057
xor ebx, ebx
mov eax, dword [ebp - 0x168]
test byte [eax + 2], 0x10
je 0x527086
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x174]
lea esi, [ecx + eax*8]
push esi
call fcn.0052d0f0
mov eax, dword [esi]
add esp, 4
mov esi, dword [ebp - 0x188]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x168]
mov al, byte [ecx + 1]
cmp al, 0xf7
jne 0x5270a2
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x178], eax
movzx eax, word [eax + 8]
jmp 0x5270b1
cmp al, 0xfd
jne 0x5270ab
mov eax, dword [ecx + 0x10]
jmp 0x5270b1
mov eax, dword [ebp - 0x1a4]
push 0
push esi
push eax
push dword [ecx + 4]
push dword [ebp - 0x164]
call fcn.004d4360
mov esi, eax
add esp, 0x14
test esi, esi
je 0x52a9e4
push dword [esi + 0x28]
mov eax, dword [ebp - 0x190]
push dword [ebp - 0x178]
or dword [esi + 8], 4
push ebx
push eax
push dword [ebp - 0x1b8]
mov byte [esi + 2], 1
mov dword [esi + 0x34], eax
call fcn.004fcf90
mov dword [ebp - 0x16c], eax
add esp, 0x14
mov eax, dword [ebp - 0x178]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x168]
cmp byte [eax + 1], 0xf7
setne al
mov byte [esi + 4], al
mov eax, dword [ebp - 0x168]
mov cl, byte [eax + 2]
mov eax, dword [esi + 0x28]
and cl, 3
mov byte [eax + 3], cl
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x164]
test eax, eax
jne 0x52a914
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov esi, dword [ebp - 0x164]
push 0
push 0xffffffffffffffff
mov ecx, dword [edx + 8]
mov eax, dword [esi + 0x60]
mov ebx, dword [eax + ecx*4]
movsx eax, word [ebx + 0x38]
push eax
push dword [edx + 4]
push esi
call fcn.004d4360
mov esi, eax
add esp, 0x14
test esi, esi
je 0x52a9e4
or dword [esi + 8], 1
push dword [esi + 0x28]
mov edx, dword [esi + 8]
mov byte [esi + 2], 1
mov ecx, dword [ebx + 0x2c]
mov dword [esi + 0x2c], ecx
mov al, byte [ebx + 4]
mov byte [esi + 4], al
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 8]
push ecx
xor eax, edx
and eax, 4
push 4
push dword [esi + 0x34]
xor eax, edx
mov dword [esi + 8], eax
push dword [ebx + 0xc]
call fcn.004fcf90
mov ecx, eax
add esp, 0x14
mov dword [ebp - 0x16c], ecx
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x527241
mov eax, dword [esi + 0xc]
test eax, eax
je 0x527241
push 0
push dword [esi + 0x34]
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call fcn.004fc860
add esp, 0xc
mov dword [ebp - 0x16c], eax
jmp 0x527356
push 0
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push dword [ebp - 0x164]
call fcn.004d4360
mov esi, eax
add esp, 0x14
test esi, esi
je 0x52a9e4
mov eax, dword [ebp - 0x168]
lea ebx, [esi + 0xc]
or dword [esi + 8], 1
push 0x41e
movzx ecx, word [eax + 2]
or ecx, 5
push ecx
push ebx
push edi
push 0
push dword [edi]
call fcn.004fe7c0
add esp, 0x18
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x527330
push eax
push 1
push dword [ebx]
call fcn.004fc550
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x527330
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x188], eax
mov dword [esi + 0x2c], eax
test eax, eax
je 0x52730c
movzx eax, word [edx + 2]
lea ecx, [esi + 0x34]
or eax, 2
push eax
push ecx
push dword [ebx]
call fcn.004fcf40
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x527306
push dword [esi + 0x28]
push dword [ebp - 0x188]
push 4
push dword [esi + 0x34]
push dword [ebx]
call fcn.004fcf90
add esp, 0x14
mov dword [ebp - 0x16c], eax
mov byte [esi + 4], 0
jmp 0x527330
push dword [esi + 0x28]
mov dword [esi + 0x34], 1
push 0
push 4
push 1
push dword [ebx]
call fcn.004fcf90
add esp, 0x14
mov dword [ebp - 0x16c], eax
mov byte [esi + 4], 1
mov eax, dword [ebp - 0x168]
xor ecx, ecx
cmp word [eax + 2], 8
mov eax, 4
cmovne ecx, eax
mov eax, dword [esi + 8]
and eax, 0xfffffffb
or ecx, eax
mov eax, dword [ebp - 0x16c]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x164]
test eax, eax
jne 0x52a914
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
mov byte [esi + 2], 1
mov esi, dword [ebp - 0x168]
add esi, 0x14
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
push 1
push 0xffffffffffffffff
push dword [edx + 8]
push dword [edx + 4]
push ecx
call fcn.004d4360
add esp, 0x14
test eax, eax
je 0x52a9e4
mov edx, dword [ebp - 0x168]
push eax
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x2c], ecx
push dword [edx + 0xc]
push edi
call fcn.0052ec30
mov ecx, dword [ebp - 0x164]
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a914
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edx, dword [eax + ecx*4]
mov edi, dword [edx + 0x10]
mov ecx, edi
mov esi, dword [edx + 0x14]
add ecx, 1
mov eax, esi
mov dword [edx + 0x10], ecx
adc eax, 0
or edi, esi
mov esi, dword [ebp - 0x168]
mov dword [edx + 0x14], eax
je 0x529fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
push 3
push 0xffffffffffffffff
push dword [edx + 0xc]
push dword [edx + 4]
push ecx
call fcn.004d4360
add esp, 0x14
test eax, eax
je 0x52a9e4
mov ecx, dword [ebp - 0x168]
mov byte [eax + 2], 1
mov ecx, dword [ecx + 8]
mov dword [eax + 0x20], ecx
mov byte [eax + 4], 1
mov dword [eax + 0x28], 0x786a84
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 0x60]
push dword [eax + ecx*4]
push ebx
call fcn.0052b990
mov eax, dword [ebp - 0x168]
add esp, 8
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x60]
mov dword [eax + ecx*4], 0
mov ecx, ebx
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x178], 0
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x174]
cmp byte [esi + 4], 0
mov word [esi + 2], 0
mov dword [esi + 0x1c], 0
je 0x527643
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
movzx eax, word [ecx + 8]
mov dword [ebp - 0x188], eax
and al, 0x2e
mov dword [ebp - 0x1a4], ecx
cmp al, 2
jne 0x527552
push 0
push ecx
call fcn.004d5560
mov ecx, dword [ebp - 0x1a4]
add esp, 8
push ecx
call fcn.0052c0b0
mov dword [ebp - 0x1b8], eax
add esp, 4
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1c0], edx
mov edx, dword [ebp - 0x188]
movzx ecx, word [eax + 8]
mov word [eax + 8], dx
test cl, 0x24
jne 0x5275f6
test cl, 8
jne 0x5275bc
test cl, 1
jne 0x529fb1
cmp ebx, 0x18
jae 0x529fb1
lea eax, [ebp - 0x1c8]
push eax
push dword [esi + 0x28]
call fcn.004fe160
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
jmp 0x52778a
mov edx, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1b8]
call fcn.0060d3e0
mov eax, dword [ebp - 0x1a4]
movsd xmm1, qword [eax]
comisd xmm0, xmm1
jbe 0x5275ea
test bl, 1
lea eax, [ebx - 1]
cmove eax, ebx
mov ebx, eax
jmp 0x5275f6
comisd xmm1, xmm0
jbe 0x5275f6
test bl, 1
jne 0x5275f6
inc ebx
lea eax, [ebp - 0x1c8]
push eax
push 0
push dword [ebp - 0x1c0]
push dword [ebp - 0x1b8]
push 0
push dword [esi + 0x28]
call fcn.004fe2c0
mov dword [ebp - 0x16c], eax
add esp, 0x18
mov eax, dword [ebp - 0x1b8]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x16c]
test eax, eax
jne 0x52a90e
jmp 0x5276d5
mov eax, dword [esi + 0x28]
mov al, byte [eax + 3]
and al, 2
mov byte [ebp - 0x1ad], al
mov eax, 0
setne al
test bl, 1
mov dword [ebp - 0x178], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x68], eax
mov ax, word [edx + 0x10]
mov word [ebp - 0x60], ax
sete al
mov byte [ebp - 0x5a], 0
lea eax, [eax*2 - 1]
mov byte [ebp - 0x5e], al
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x1c8]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x68]
push eax
push dword [esi + 0x28]
call fcn.004fe2c0
add esp, 0x18
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
cmp byte [ebp - 0x1ad], al
je 0x5276d5
cmp byte [ebp - 0x5a], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x178], eax
je 0x52778a
mov eax, dword [ebp - 0x1c8]
cmp ebx, 0x18
jl 0x52776f
test eax, eax
js 0x527726
jne 0x5276ef
cmp ebx, 0x19
je 0x527726
mov dword [ebp - 0x1c8], 0
mov ecx, dword [ebp - 0x168]
cmp dword [ebp - 0x178], 0
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
lea esi, [ecx + 0x14]
cmove esi, ecx
mov ecx, dword [ebp - 0x164]
add esi, 0x14
jmp 0x5242c4
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x1c8], 0
call fcn.004fe770
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x5276f9
mov ecx, dword [ebp - 0x164]
cmp eax, 0x65
jne 0x52a914
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x1c8], 1
jmp 0x52432c
test eax, eax
jg 0x52779c
jne 0x52777a
cmp ebx, 0x16
je 0x52779c
mov eax, dword [esi + 0x28]
xor ecx, ecx
cmp byte [eax], cl
setne cl
mov dword [ebp - 0x1c8], ecx
cmp dword [ebp - 0x1c8], 0
jne 0x529fb1
jmp 0x5276f9
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x1c8], 0
call fcn.004fef90
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x5276f9
mov ecx, dword [ebp - 0x164]
cmp eax, 0x65
jne 0x52a914
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x1c8], 1
jmp 0x52432c
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, edx
mov eax, dword [eax + 8]
shl eax, 3
xor eax, dword [ecx + 8]
and eax, 8
xor dword [ecx + 8], eax
mov ecx, dword [ebp - 0x164]
mov esi, edx
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [ebp - 0x164]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
cmp dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0x164]
je case.0x5242e2.11
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [ebp - 0x164]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
test byte [eax + 8], 8
jne 0x52457c
mov eax, dword [ebp - 0x164]
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x174]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x190], ebx
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
jle 0x5278d4
mov eax, dword [ebx + 0x2c]
lea ebx, [ebp - 0xc8]
mov dword [ebp - 0xc8], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0xc0], ax
xor eax, eax
mov dword [ebp - 0xc4], esi
mov esi, dword [ebp - 0x190]
mov dword [ebp - 0x178], eax
jmp 0x527929
mov eax, 0x4000
test word [esi + 8], ax
je 0x5278f0
push esi
call fcn.0052cd90
add esp, 4
test eax, eax
jne 0x52a9e4
push dword [ebx + 0x2c]
call fcn.005237d0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x178], ebx
test ebx, ebx
je 0x52a9e4
push ebx
push dword [esi + 0x10]
push dword [esi + 0xc]
mov esi, dword [ebp - 0x190]
push dword [esi + 0x2c]
call fcn.0052e4d0
mov ecx, dword [ebp - 0x168]
add esp, 0x10
mov byte [ebx + 0xa], 0
cmp byte [ecx], 0x1c
mov dword [ebp - 0x190], 0
jne 0x527969
movzx edx, word [ebx + 8]
xor ecx, ecx
test edx, edx
je 0x527969
mov eax, dword [ebx + 4]
add eax, 8
nop dword [eax]
test byte [eax], 1
jne 0x52795f
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x527950
jmp 0x527969
mov dword [ebp - 0x190], 1
lea eax, [ebp - 0x23c]
push eax
push 0
push 0
push 0
push ebx
push dword [esi + 0x28]
call fcn.004fe2c0
mov dword [ebp - 0x16c], eax
add esp, 0x18
mov eax, dword [ebp - 0x178]
test eax, eax
je 0x52799c
push eax
push edi
call fcn.00502d70
add esp, 8
mov eax, dword [ebp - 0x16c]
test eax, eax
jne 0x52a90e
mov eax, dword [ebp - 0x23c]
xor ecx, ecx
test eax, eax
mov dword [esi + 0x20], eax
mov al, 1
mov byte [esi + 3], 0
sete cl
mov dword [esi + 0x1c], 0
sub al, cl
mov byte [esi + 2], al
mov esi, dword [ebp - 0x168]
cmp byte [esi], 0x1e
jne 0x5279f9
test ecx, ecx
jne 0x529fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
cmp dword [ebp - 0x190], 0
jne 0x529fb7
test ecx, ecx
je 0x529fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x24
jne 0x527aa7
movups xmm1, xmmword [ebx + eax*8]
movups xmm0, xmmword [ebx + eax*8 + 0x10]
movups xmmword [ebp - 0x54], xmm1
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebx + eax*8 + 0x20]
psrldq xmm1, 8
movd eax, xmm1
movq qword [ebp - 0x34], xmm0
test al, 4
jne 0x527a99
test al, 8
jne 0x527a7c
test al, 2
je 0x527a91
lea eax, [ebp - 0x54]
push 1
push eax
call fcn.004d5560
add esp, 8
jmp 0x527a88
lea eax, [ebp - 0x54]
push eax
call fcn.0052c100
add esp, 4
mov ecx, dword [ebp - 0x164]
mov al, byte [ebp - 0x4c]
test al, 4
je 0x524332
mov ebx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
jmp 0x527aba
mov ebx, dword [ebp - 0x174]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
mov ebx, dword [ebx + eax*8]
mov edx, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x204], 0
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0x204]
push eax
push 0
push edx
push ebx
push 0
push dword [esi + 0x28]
call fcn.004fe2c0
mov dword [ebp - 0x16c], eax
add esp, 0x18
mov eax, dword [ebp - 0x190]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x204]
mov dword [esi + 0x40], ebx
mov word [esi + 2], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], eax
mov esi, dword [ebp - 0x168]
test eax, eax
je 0x526e9e
cmp dword [esi + 8], 0
jne 0x529fb7
push 0x15dab
call fcn.005017b0
add esp, 4
mov dword [ebp - 0x16c], eax
jmp 0x526ea4
mov ebx, dword [ebp - 0x168]
push ebx
push ecx
call fcn.004edaa0
mov edx, dword [ebx + 4]
add esp, 8
mov ebx, dword [ebp - 0x164]
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, ebx
mov ebx, dword [ebp - 0x1e4]
add dword [eax + 0x10], 1
adc dword [eax + 0x14], 0
add esi, 0x14
jmp 0x5242c4
mov ebx, dword [ebp - 0x168]
xorps xmm0, xmm0
push ebx
push ecx
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x1ec], 0
call fcn.004edaa0
mov edx, dword [ebx + 4]
add esp, 8
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x17c], eax
test byte [eax + 8], 2
jne 0x527c6a
lea ecx, [ebp - 0x1ec]
push ecx
push dword [eax + 0x28]
call fcn.004fe160
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
cmp dword [ebp - 0x1ec], eax
je 0x527c26
mov ebx, 1
xor esi, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
jmp 0x527c70
mov eax, dword [ebp - 0x17c]
push dword [eax + 0x28]
call fcn.004fdab0
mov esi, edx
add esp, 4
mov dword [ebp - 0x14], esi
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp esi, 0x7fffffff
jl 0x527c5c
jg 0x527c50
cmp ebx, 0xffffffff
jb 0x527c5c
mov eax, dword [ebp - 0x17c]
or dword [eax + 8], 2
jmp 0x527c70
add ebx, 1
mov dword [ebp - 0x18], ebx
adc esi, 0
mov dword [ebp - 0x14], esi
jmp 0x527c70
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x527d18
mov eax, dword [ebp - 0x164]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x527cac
mov eax, dword [edx + 4]
test eax, eax
je 0x527ca1
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x527c98
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
jmp 0x527cb8
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x174]
lea eax, [ecx + eax*8]
push eax
mov dword [ebp - 0x190], eax
call fcn.0052d0f0
mov eax, dword [ebp - 0x190]
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x527ce3
cmp edx, 0x7fffffff
je 0x527d9b
mov edi, dword [ebp - 0x17c]
test byte [edi + 8], 2
mov edi, dword [ebp - 0x1b4]
jne 0x527d9b
add ecx, 1
adc edx, 0
cmp esi, edx
jg 0x527d13
jl 0x527d09
cmp ebx, ecx
jae 0x527d13
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov dword [eax], ebx
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x17c]
test byte [eax + 8], 2
je 0x527dab
mov dword [ebp - 0x190], 0
lea eax, [ebp - 0x18]
push eax
push 8
call fcn.004cd640
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1ec]
mov ebx, dword [ebp - 0x18]
and esi, 0x3fffffff
push eax
mov eax, dword [ebp - 0x17c]
add ebx, 1
push 0
adc esi, 0
mov dword [ebp - 0x18], ebx
push esi
push ebx
push 0
push dword [eax + 0x28]
mov dword [ebp - 0x14], esi
call fcn.004fe2c0
add esp, 0x20
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
cmp dword [ebp - 0x1ec], eax
jne 0x527da5
mov eax, dword [ebp - 0x190]
inc eax
mov dword [ebp - 0x190], eax
cmp eax, 0x64
jl 0x527d32
mov eax, 0xd
jmp 0x52a90e
mov eax, dword [ebp - 0x17c]
mov byte [eax + 3], 0
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x188]
mov dword [eax], ebx
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov ebx, dword [ebp - 0x168]
mov edi, dword [ebp - 0x174]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, ebx
mov ebx, dword [ebp - 0x174]
cmp byte [ecx + 1], 0xfa
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov ebx, dword [ebx + eax*8]
mov dword [ebp - 0xb0], ebx
mov eax, dword [edi + eax*8 + 4]
mov edi, dword [ebp - 0x1b4]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0xac], eax
jne 0x527e67
cmp dword [edi + 0xf0], 0
je 0x527e67
movsx ecx, byte [esi + 1]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov ecx, dword [eax + ecx*8]
mov dword [ebp - 0x178], ecx
mov ecx, dword [ebp - 0x168]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x188]
jmp 0x527e7b
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x178], 0
test byte [ecx + 2], 1
je 0x527e90
mov edi, dword [ebp - 0x164]
inc dword [edi + 0x2c]
mov edi, dword [ebp - 0x1b4]
test byte [ecx + 2], 0x20
je 0x527e9c
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], eax
mov ebx, dword [ebp - 0x174]
movzx ecx, word [ecx + 2]
mov eax, dword [ebx + edx*8 + 0x10]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + edx*8 + 0xc]
mov dword [ebp - 0x9c], eax
test cl, 0x10
je 0x527ec4
mov ebx, dword [esi + 0x20]
jmp 0x527ec6
xor ebx, ebx
mov eax, dword [ebp - 0x174]
mov edi, 0x4000
test word [eax + edx*8 + 8], di
mov edi, dword [ebp - 0x1b4]
je 0x527ee9
mov eax, dword [eax + edx*8]
mov dword [ebp - 0x98], eax
jmp 0x527ef3
mov dword [ebp - 0x98], 0
push ebx
and ecx, 0xa
mov dword [ebp - 0xb8], 0
push ecx
lea eax, [ebp - 0xb8]
push eax
push dword [esi + 0x28]
call fcn.004fd670
add esp, 0x10
mov dword [ebp - 0x16c], eax
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x52a90e
mov eax, dword [ebp - 0x190]
test eax, eax
je 0x524576
push dword [ebp - 0xac]
mov ecx, 0x17
push dword [ebp - 0xb0]
push dword [eax]
mov eax, dword [ebp - 0x168]
push dword [ebp - 0x178]
test byte [eax + 2], 4
mov eax, 0x12
cmovne eax, ecx
push eax
push dword [edi + 0xec]
mov eax, dword [edi + 0xf0]
call eax
add esp, 0x18
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
jne 0x527fff
cmp dword [edi + 0xf0], 0
je 0x527fff
movsx ecx, byte [esi + 1]
mov eax, dword [edi + 0x10]
add ecx, ecx
test byte [edx + 2], 2
mov ebx, dword [edx + 0x10]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x190], eax
je 0x52800b
cmp byte [esi + 4], 0
je 0x52800b
push dword [esi + 0x28]
call fcn.004fdab0
mov dword [esi + 0x44], edx
add esp, 4
mov edx, dword [ebp - 0x168]
mov dword [esi + 0x40], eax
jmp 0x52800b
mov dword [ebp - 0x190], 0
xor ebx, ebx
movzx eax, byte [edx + 2]
push eax
push dword [esi + 0x28]
call fcn.004fd000
mov ecx, dword [ebp - 0x164]
add esp, 8
mov dword [ebp - 0x16c], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
test eax, eax
jne 0x52a914
test byte [ebp - 0x188], 1
je 0x525271
inc dword [ecx + 0x2c]
mov eax, dword [edi + 0xf0]
test eax, eax
je 0x525271
test byte [ebx + 0x24], 0x80
jne 0x525271
push dword [esi + 0x44]
push dword [esi + 0x40]
push dword [ebx]
push dword [ebp - 0x190]
push 9
push dword [edi + 0xec]
call eax
add esp, 0x18
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [ecx + 0x2c]
add dword [edi + 0x68], eax
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
mov dword [edi + 0x64], eax
mov edi, dword [ebp - 0x1b4]
mov dword [ecx + 0x2c], 0
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
lea esi, [ebp - 0x20c]
mov eax, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x174]
push esi
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
push dword [edx + 0x10]
mov dword [ebp - 0x20c], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
push ecx
call fcn.0052eb60
add esp, 0x10
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
mov esi, dword [ebp - 0x168]
cmp dword [ebp - 0x20c], eax
jne 0x529fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov ebx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebx + 4]
push edx
mov eax, dword [eax + 0x60]
push dword [eax + ecx*4]
call fcn.0052f0f0
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
mov eax, ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x164]
mov esi, ebx
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov ebx, dword [ebp - 0x168]
push ebx
push ecx
call fcn.004edaa0
mov edx, dword [ebx + 4]
mov esi, eax
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 0x60]
mov ecx, dword [ecx + edx*4]
mov ebx, dword [ecx + 0x28]
push ebx
call fcn.004e75c0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
cmp eax, dword [edi + 0x6c]
ja 0x529860
push esi
push eax
push 0
push ebx
call fcn.0052ce90
add esp, 0x10
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
mov ecx, dword [ebp - 0x168]
cmp dword [ecx + 0xc], eax
jne 0x524576
mov eax, 0x1000
test word [esi + 8], ax
je 0x524576
push esi
call fcn.0052d170
mov ecx, dword [ebp - 0x164]
add esp, 4
test eax, eax
jne 0x52a9ea
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push dword [ebp - 0x168]
push ecx
call fcn.004edaa0
mov ecx, dword [ebp - 0x168]
mov ebx, eax
mov eax, dword [ebp - 0x164]
add esp, 8
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x60]
mov esi, dword [ecx + edx*4]
cmp byte [esi + 2], 0
je 0x5282a4
mov eax, 1
mov word [ebx + 8], ax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
cmp byte [esi + 3], 0
je 0x5282de
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x20], ecx
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x1c], eax
mov dword [ebx], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
cmp byte [esi], 2
jne 0x528342
mov ecx, dword [esi + 0x28]
lea edx, [ebp - 0x20]
push edx
push ecx
mov esi, dword [ecx]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
push esi
push dword [ebp - 0x164]
mov dword [ebp - 0x16c], eax
call fcn.00530240
mov eax, dword [ebp - 0x16c]
add esp, 0x10
test eax, eax
jne 0x52a90e
mov ecx, dword [ebp - 0x20]
mov dword [ebx], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push esi
call fcn.00523f40
add esp, 4
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
cmp byte [esi + 2], al
je 0x528387
mov eax, 1
mov word [ebx + 8], ax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push dword [esi + 0x28]
call fcn.004fdab0
mov ecx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
add esp, 4
mov dword [ebx], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [ebp - 0x164]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 0
mov byte [eax + 2], 1
mov dword [eax + 0x1c], 0
jne 0x52457c
push dword [eax + 0x28]
call fcn.004fc840
mov ecx, dword [ebp - 0x164]
add esp, 4
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [ebp - 0x164]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x210], 0
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x28]
cmp dl, 0x81
jne 0x52843b
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je 0x524576
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.004fe160
mov dword [ebp - 0x16c], eax
add esp, 8
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x210]
mov byte [esi + 2], al
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test ecx, ecx
jne 0x52a9a5
mov esi, dword [ebp - 0x168]
cmp dword [esi + 8], ecx
jle 0x52457c
test eax, eax
jne 0x529fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x28]
lea eax, [ebp - 0x214]
push eax
push esi
call fcn.004fd410
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
cmp dword [ebp - 0x214], eax
jne 0x529fb1
push esi
call fcn.004ff190
add esp, 4
test edx, edx
jl 0x524576
jg 0x528501
test eax, eax
jb 0x524576
push edx
push eax
call fcn.00512790
mov esi, dword [ebp - 0x168]
add esp, 8
mov ecx, dword [ebp - 0x164]
cwde
cmp eax, dword [esi + 0xc]
jge case.0x5242e2.85
mov dword [ebp - 0x214], 1
jmp 0x524332
inc dword [ecx + 0xac]
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x1f0], 1
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0x1f0]
push eax
cmp byte [esi], 1
jne 0x528569
push esi
call fcn.0052f080
jmp 0x52857c
push dword [esi + 0x28]
call fcn.004fd410
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
mov eax, dword [ebp - 0x1f0]
mov byte [esi + 2], al
mov esi, dword [ebp - 0x168]
test eax, eax
jne 0x529fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
push esi
push edi
call fcn.0052ee00
jmp 0x5285fc
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
push dword [edx + 0xc]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx + 0x10]
push dword [esi + 0x28]
call eax
mov dword [ebp - 0x16c], eax
add esp, 8
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x52862f
mov ecx, dword [ebp - 0x164]
mov byte [esi + 2], al
mov eax, dword [ebp - 0x168]
movzx eax, word [eax + 2]
inc dword [ecx + eax*4 + 0xa4]
jmp 0x52a174
cmp eax, 0x65
jne 0x52a90e
xor ecx, ecx
mov byte [esi + 2], 1
mov dword [ebp - 0x16c], ecx
jmp 0x52690f
mov edx, dword [ebp - 0x168]
mov esi, dword [ebp - 0x174]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x164]
mov eax, dword [edx + 0x60]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x168]
test byte [ecx + 2], 1
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
je 0x52867c
inc dword [edx + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x52869e
push esi
call fcn.0052cd90
add esp, 4
test eax, eax
jne 0x52a90e
mov ecx, dword [ebp - 0x168]
cmp byte [ecx], 0x82
jne 0x5286b2
push esi
push ebx
call fcn.0052f1a0
add esp, 8
jmp 0x525313
mov eax, dword [esi + 0xc]
cdq
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x160], eax
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0x14c], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0x148], ax
movzx eax, word [ecx + 2]
test al, 0x10
je 0x5286f8
mov ecx, dword [ebx + 0x20]
jmp 0x5286fa
xor ecx, ecx
push ecx
and eax, 0xa
push eax
lea eax, [ebp - 0x160]
push eax
push dword [ebx + 0x28]
call fcn.004fd670
add esp, 0x10
mov dword [ebx + 0x1c], 0
jmp 0x525313
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x174]
mov eax, dword [esi + 0x2c]
mov ebx, dword [esi + 0x28]
mov dword [ebp - 0x90], eax
mov ax, word [edx + 0xc]
mov word [ebp - 0x88], ax
mov eax, dword [edx + 8]
mov byte [ebp - 0x86], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x240]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x90]
push eax
push ebx
call fcn.004fe2c0
add esp, 0x18
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
cmp dword [ebp - 0x240], eax
jne 0x5287b1
push 4
push ebx
call fcn.004fd000
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
push esi
call fcn.00523f40
add esp, 4
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
cmp byte [esi + 2], al
jne 0x5288e1
lea eax, [ebp - 0x200]
xorps xmm0, xmm0
push eax
push dword [esi + 0x28]
movlpd qword [ebp - 0x200], xmm0
push edi
call fcn.0052bf30
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a90e
mov eax, dword [ebp - 0x168]
cmp byte [eax], 0x85
jne 0x5288a1
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x200]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp - 0x168]
mov word [ecx + 2], 0x100
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x24], esi
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push eax
push dword [ebp - 0x164]
call fcn.004edaa0
mov ecx, dword [ebp - 0x200]
add esp, 8
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1fc]
mov dword [eax + 4], ecx
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.0052d460
add esp, 4
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [ebp - 0x164]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 3], 0
je 0x52457c
push eax
call fcn.0052b770
mov ecx, dword [ebp - 0x164]
add esp, 4
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a914
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov ebx, dword [ebp - 0x168]
cmp dl, 0x28
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x1e0], 0
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x258], eax
mov ax, word [ebx + 0x10]
mov word [ebp - 0x250], ax
sbb al, al
mov byte [ebp - 0x24e], al
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x258]
push eax
push ecx
push edi
call fcn.0052be40
mov dword [ebp - 0x16c], eax
add esp, 0x10
mov eax, ebx
test byte [eax], 1
mov eax, dword [ebp - 0x1e0]
jne 0x5289eb
neg eax
jmp 0x5289ec
inc eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x1e0], eax
test ecx, ecx
jne 0x52a9a5
mov esi, dword [ebp - 0x168]
test eax, eax
jg 0x529fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push dword [ebp - 0x168]
push ecx
call fcn.004edaa0
mov esi, eax
add esp, 8
mov eax, 1
mov word [esi + 8], ax
mov ecx, dword [edi + 0xc0]
inc ecx
cmp dword [edi + 0xb4], ecx
jg 0x52a8b7
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x1f8]
push ecx
mov dword [ebp - 0x1f8], 0
mov ebx, dword [eax + 0xc]
mov ecx, ebx
push dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004fd3a0
mov ecx, dword [ebp - 0x1f8]
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov eax, 4
mov word [esi + 8], ax
mov eax, ecx
cdq
mov dword [esi], eax
mov eax, dword [ebp - 0x16c]
mov dword [esi + 4], edx
test eax, eax
jne 0x52a90e
test ecx, ecx
je 0x524576
mov eax, dword [ebp - 0x168]
push dword [eax + 4]
push ecx
push ebx
push edi
call fcn.0051a180
lea ecx, [ebx + 1]
add esp, 0x10
mov byte [ebp - 0x1c9], cl
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
lea eax, [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x24], 0
cmp dword [edx + 0xc], ecx
cmove eax, ecx
mov ecx, dword [edx + 8]
push eax
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [edx + 4]
push dword [eax + ecx*8 + 4]
call fcn.004fc860
mov esi, dword [ebp - 0x168]
add esp, 0xc
mov dword [ebp - 0x16c], eax
cmp dword [esi + 0xc], 0
je 0x528b61
mov ecx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x24]
add dword [ecx + 0x2c], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x528b5b
mov ebx, dword [ebp - 0x174]
lea ecx, [ecx + ecx*4]
cdq
add dword [ebx + ecx*8], eax
adc dword [ebx + ecx*8 + 4], edx
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x164]
test eax, eax
jne 0x52a914
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 1
jne 0x528bc9
push dword [eax + 0x28]
push edi
call fcn.0052eea0
add esp, 8
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [eax + 0x28]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.004fc860
jmp 0x525310
push dword [ebp - 0x168]
push ecx
call fcn.004edaa0
mov esi, eax
mov dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 4]
push dword [eax + 0xc]
shl ecx, 4
lea eax, [ebp - 0x208]
add ecx, dword [edi + 0x10]
push eax
push dword [ecx + 4]
call fcn.004fcf40
mov ecx, dword [ebp - 0x164]
add esp, 0x14
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52a914
mov eax, dword [ebp - 0x208]
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [ebp - 0x168]
add esi, 0x14
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
inc byte [edi + 0x5a]
push 0
push 0
push 0
push dword [edx + 0x10]
push edi
call fcn.004c70e0
add esp, 0x14
dec byte [edi + 0x5a]
jmp 0x525313
mov edx, dword [ebp - 0x168]
mov ecx, dword [edx + 0x10]
mov esi, dword [edx + 4]
test ecx, ecx
jne 0x528ccd
mov eax, dword [edi + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.0051b160
mov eax, dword [ebp - 0x164]
and dword [edi + 0x18], 0xffffffef
add eax, 0x7c
push 1
push eax
push esi
push edi
call fcn.0050fde0
mov ecx, dword [ebp - 0x164]
add esp, 0x14
or dword [edi + 0x18], 1
mov dword [ebp - 0x16c], eax
and dword [ecx + 0x98], 0xfffffffc
jmp 0x528d82
mov eax, dword [ebp - 0x164]
add eax, 0x7c
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], eax
add esi, esi
mov eax, dword [edi + 0x10]
push ecx
push str.sqlite_master
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], 0
push dword [eax + esi*8]
push str.SELECTFROM__w_._s_WHERE__s_ORDER_BY_rowid
push edi
call fcn.00512940
mov esi, eax
add esp, 0x14
test esi, esi
je 0x52a8cb
push 0
lea eax, [ebp - 0x80]
mov byte [edi + 0xa5], 1
push eax
push fcn.0050fbf0
push esi
push edi
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
call fcn.004c70e0
add esp, 0x14
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x528d65
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x528d65
cmp dword [ebp - 0x6c], eax
jne 0x528d65
push 0x16344
call fcn.005017b0
add esp, 4
mov dword [ebp - 0x16c], eax
push esi
push edi
call fcn.00502d70
mov eax, dword [ebp - 0x16c]
add esp, 8
mov ecx, dword [ebp - 0x164]
mov byte [edi + 0xa5], 0
test eax, eax
jne 0x52a8d5
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
push dword [edx + 4]
push edi
call fcn.004fa630
add esp, 8
jmp 0x525313
mov edx, dword [ebp - 0x168]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.00520510
add esp, 0xc
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.00520470
add esp, 0xc
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.00520580
add esp, 0xc
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
lea esi, [eax + eax*4]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x174]
mov eax, dword [eax + esi*8]
inc eax
push eax
push dword [edx + 8]
lea eax, [ecx + 4]
movzx ecx, word [edx + 2]
push eax
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
push edi
call fcn.004fdad0
push ebx
mov dword [ebp - 0x188], eax
call fcn.0052d460
mov eax, dword [ebp - 0x220]
add esp, 0x1c
test eax, eax
je 0x528ef5
mov ecx, dword [ebp - 0x188]
test ecx, ecx
je 0x52a9e4
mov edi, dword [ebp - 0x174]
dec eax
push fcn.004cc7a0
cdq
push 1
sub dword [edi + esi*8], eax
mov eax, edi
push 0xffffffffffffffff
push ecx
push ebx
sbb dword [eax + esi*8 + 4], edx
call fcn.0052d4f0
mov edi, dword [ebp - 0x1b4]
add esp, 0x14
movzx eax, byte [ebp - 0x1a0]
push eax
push ebx
call fcn.005238d0
add esp, 8
jmp 0x52690f
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea ebx, [eax + eax*4]
jne 0x528f3e
push esi
call fcn.0052d490
add esp, 4
test eax, eax
jne 0x52a9e4
mov edi, dword [ebp - 0x174]
push dword [edi + ebx*8 + 4]
push dword [edi + ebx*8]
push dword [esi + 0x10]
call fcn.0051a3b0
add esp, 0xc
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x10
lea esi, [ebx + eax*8]
je 0x528fd1
lea eax, [ebp - 0x248]
push eax
push dword [esi + 0x10]
call fcn.0051a450
add esp, 8
test eax, eax
je 0x528fd1
mov eax, dword [ebp - 0x168]
push dword [ebp - 0x244]
push dword [ebp - 0x248]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.0052d420
add esp, 0xc
jmp 0x52690f
push esi
call fcn.0052d460
add esp, 4
jmp 0x52a16e
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea ebx, [eax + eax*4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x190], eax
jne 0x529021
push esi
call fcn.0052d490
add esp, 4
test eax, eax
jne 0x52a9e4
mov eax, dword [ebp - 0x190]
mov edi, dword [ebp - 0x174]
test eax, eax
je 0x52904e
push dword [edi + ebx*8 + 4]
push dword [edi + ebx*8]
push eax
push dword [esi + 0x10]
call fcn.0051a4b0
add esp, 0x10
test eax, eax
jne 0x529fb1
mov eax, dword [ebp - 0x190]
test eax, eax
js 0x524576
jmp 0x528f44
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
mov eax, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
mov dword [ebp - 0x1a4], esi
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, edx
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x178], ecx
cmp word [eax + 2], 0
je 0x5290b6
mov eax, dword [edx + 0xc8]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x5290b0
nop dword [eax]
cmp dword [eax + 0x1c], ecx
je 0x52a675
mov eax, dword [eax + 4]
test eax, eax
jne 0x5290a0
mov ecx, dword [ebp - 0x178]
mov eax, dword [edx + 0xd0]
cmp eax, dword [edi + 0x94]
jge 0x52a8fb
test byte [ecx + 8], 0x10
jne 0x52929b
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add eax, ecx
test ecx, ecx
lea esi, [eax + 1]
cmovne esi, eax
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x1a4]
mov eax, dword [eax + 4]
add eax, 7
mov eax, eax
test eax, eax
jns 0x529100
add eax, 7
sar eax, 3
lea eax, [eax + ecx*4]
mov dword [ebp - 0x188], eax
cdq
push edx
push eax
push edi
call fcn.00502f20
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x52a9e4
push dword [ebp - 0x178]
call fcn.0052d380
mov ecx, dword [ebp - 0x178]
mov eax, 0x410
mov edx, dword [ebp - 0x168]
add esp, 4
sub edx, dword [ebp - 0x19c]
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x188]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x164]
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x24], 0x52b8f0
mov ecx, dword [ebp - 0x1a4]
mov dword [ebx], eax
mov dword [ebx + 0x3c], esi
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x40], eax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x164]
mov dword [ebx + 0x30], eax
mov eax, dword [edx + 0x58]
mov dword [ebx + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x38], eax
mov eax, dword [edx + 0x60]
mov dword [ebx + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edx + 0x68]
mov dword [ebx + 8], eax
mov eax, dword [edx + 0x6c]
mov dword [ebx + 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x1c], eax
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
lea eax, [ebx + 0x50]
cmp eax, ecx
je 0x5291de
mov esi, 0x80
nop
mov word [eax + 8], si
mov dword [eax + 0x20], edi
add eax, 0x28
cmp eax, ecx
jne 0x5291d0
mov esi, dword [ebp - 0x1a4]
inc dword [edx + 0xd0]
lea ecx, [ebx + 0x50]
mov eax, dword [edx + 0xc8]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x24], eax
mov eax, dword [edx + 0x2c]
mov dword [ebx + 0x44], eax
mov eax, dword [edx]
mov dword [ebp - 0x174], ecx
mov eax, dword [eax + 0x64]
mov dword [ebx + 0x48], eax
mov eax, dword [edx + 0xdc]
mov dword [ebx + 0x28], eax
mov dword [edx + 0x58], ecx
mov dword [edx + 0xdc], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0xc8], ebx
mov eax, dword [ebx + 0x3c]
mov dword [edx + 0x18], eax
movzx eax, word [ebx + 0x40]
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0x18]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov dword [edx + 0x60], ecx
mov eax, dword [esi + 0xc]
lea ecx, [ecx + eax*4]
mov dword [ebx + 0x18], ecx
mov eax, dword [esi + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call fcn.0060f310
mov edx, dword [esi]
add esp, 0xc
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x19c], edx
mov dword [ecx + 0x68], edx
mov eax, dword [esi + 4]
lea esi, [edx - 0x14]
mov dword [ecx + 0x6c], eax
mov dword [ebp - 0x168], esi
jmp 0x52691b
mov ebx, dword [ecx + 0x10]
jmp 0x5291e4
push dword [ebp - 0x168]
push ecx
call fcn.004edaa0
mov esi, eax
mov eax, dword [ebp - 0x164]
push 0x1000
mov eax, dword [eax + 0xc8]
mov ecx, dword [eax + 0x30]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [ecx + edx*4 + 4]
mov edx, dword [ebp - 0x168]
add ecx, dword [edx + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
push eax
push esi
call fcn.0052d730
add esp, 0x14
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [edi + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [ebp - 0x168]
mov esi, eax
je 0x529344
mov eax, dword [eax + 8]
mov ebx, dword [ebp - 0x1e4]
cdq
add dword [edi + 0x1f0], eax
adc dword [edi + 0x1f4], edx
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
jmp 0x5242c4
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
cdq
je 0x52936e
add dword [edi + 0x1e8], eax
mov ebx, dword [ebp - 0x1e4]
adc dword [edi + 0x1ec], edx
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
jmp 0x5242c4
add dword [ecx + 0x40], eax
mov edi, dword [ebp - 0x1b4]
adc dword [ecx + 0x44], edx
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
cmp dword [esi + 4], 0
je 0x52939c
mov eax, dword [edi + 0x1e8]
or eax, dword [edi + 0x1ec]
jmp 0x5293a2
mov eax, dword [ecx + 0x40]
or eax, dword [ecx + 0x44]
jne case.0x5242e2.85
mov eax, dword [edi + 0x1f0]
or eax, dword [edi + 0x1f4]
je 0x524332
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ecx + 0xc8]
test edx, edx
je 0x529403
mov eax, dword [edx + 4]
test eax, eax
je 0x5293e9
nop
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x5293e0
mov eax, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea edi, [eax + ecx*8]
jmp 0x529418
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
push edi
call fcn.0052d0f0
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.0052d0f0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x524576
jl 0x52944e
cmp dword [edi], eax
jae 0x524576
mov dword [edi], eax
mov dword [edi + 4], ecx
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edi, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edi + 4]
lea esi, [eax + eax*4]
mov edi, dword [ebx + esi*8 + 4]
mov ecx, dword [ebx + esi*8]
test edi, edi
jl 0x524576
jg 0x52949e
test ecx, ecx
je 0x524576
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 0xc]
cdq
sub ecx, eax
mov dword [ebx + esi*8], ecx
sbb edi, edx
mov dword [ebx + esi*8 + 4], edi
jmp 0x524326
mov edx, dword [ebp - 0x168]
push edx
push ecx
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, dword [edx + 0xc]
lea ebx, [eax + eax*4]
call fcn.004edaa0
mov edx, dword [ebp - 0x174]
add esp, 8
mov edi, eax
mov ecx, dword [edx + esi*8 + 4]
mov eax, dword [edx + esi*8]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ecx
test ecx, ecx
jl 0x529567
jg 0x5294f9
test eax, eax
je 0x529567
mov ecx, dword [edx + ebx*8 + 4]
mov eax, dword [edx + ebx*8]
test ecx, ecx
jl 0x52950a
jg 0x529521
test eax, eax
jne 0x529521
xorps xmm0, xmm0
movlpd qword [ebp - 0x18c], xmm0
mov ecx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x18c]
push ecx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004f9740
add esp, 0xc
test eax, eax
jne 0x529567
mov eax, dword [ebp - 0x21c]
mov dword [edi], eax
mov eax, dword [ebp - 0x218]
mov dword [edi + 4], eax
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov ecx, dword [ebx + esi*8]
mov eax, ecx
mov edx, dword [ebx + esi*8 + 4]
or eax, edx
je 0x524576
test edx, edx
jl 0x524326
jg 0x5295c9
test ecx, ecx
je 0x524326
sub ecx, 1
mov dword [ebx + esi*8], ecx
sbb edx, 0
mov dword [ebx + esi*8 + 4], edx
jmp 0x524326
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov edx, dword [ebx + ecx*8 + 4]
mov eax, dword [ebx + ecx*8]
cmp edx, 0x80000000
jl 0x52960f
jg 0x529602
test eax, eax
je 0x52960f
sub eax, 1
mov dword [ebx + ecx*8], eax
sbb edx, 0
mov dword [ebx + ecx*8 + 4], edx
mov eax, dword [ebx + ecx*8]
or eax, dword [ebx + ecx*8 + 4]
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
je 0x524332
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x44]
push eax
push edi
call fcn.00502de0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x52a9e4
mov dword [esi + 8], 0
lea ecx, [ebx + 7]
lea ecx, [esi + ecx*4]
mov eax, 1
mov dword [esi], ecx
mov word [ecx + 8], ax
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x18], 0
mov ecx, dword [ebp - 0x168]
mov eax, dword [ecx + 0x10]
sub ecx, dword [ebp - 0x19c]
mov dword [esi + 4], eax
mov eax, 0x66666667
imul ecx
mov byte [esi + 0x18], 0
sar edx, 3
mov eax, edx
mov dword [esi + 0x14], 0
shr eax, 0x1f
add eax, edx
mov byte [esi + 0x19], bl
mov edx, dword [ebp - 0x168]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x164]
mov dword [esi + 0xc], eax
mov word [edx], 0xf09b
mov dword [edx + 0x10], esi
jmp 0x5296d8
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x174]
mov esi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov dword [ebp - 0x188], ebx
cmp dword [esi + 8], ebx
je 0x52973b
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 8], ebx
js 0x52973b
mov edi, dword [ebp - 0x168]
lea edx, [ecx + 7]
mov ebx, dword [ebp - 0x174]
lea edx, [esi + edx*4]
mov eax, dword [edi + 8]
lea edx, [edx - 4]
add eax, ecx
sub ecx, 1
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx + 4], eax
jns 0x529713
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x168]
inc dword [ebx + 0xc]
lea eax, [esi + 0x1c]
cmp dword [edx + 4], 0
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
push esi
je 0x529756
mov eax, dword [ecx + 0x1c]
jmp 0x529759
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x524576
jle 0x52978f
push dword [esi]
call fcn.004c4050
push eax
push 0x6d3894
push dword [ebp - 0x164]
call fcn.005241c0
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0x16c], eax
cmp byte [esi + 0x18], 0
je 0x5297bf
mov eax, dword [ebp - 0x168]
mov eax, dword [eax - 0x10]
test eax, eax
je 0x5297bb
mov ecx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
push 0
push 1
lea eax, [ecx + eax*8]
push eax
call fcn.0052d420
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.0052d380
mov eax, dword [esi]
mov ecx, 1
add esp, 4
mov word [eax + 8], cx
mov eax, dword [ebp - 0x16c]
mov dword [esi + 0x14], 0
jmp 0x525319
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
push dword [edx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x529828
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
push esi
call fcn.0052cb90
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
jmp 0x529833
push esi
call fcn.0052cdf0
add esp, 8
mov ecx, eax
mov dword [ebp - 0x16c], ecx
test ecx, ecx
jne 0x52a98b
movzx eax, byte [ebp - 0x1a0]
push eax
push esi
call fcn.005238d0
push esi
call fcn.0052d820
add esp, 0xc
test eax, eax
je 0x524576
push str.string_or_blob_too_big
push dword [ebp - 0x164]
call fcn.005241c0
add esp, 8
mov eax, 0x12
jmp 0x52a90e
mov edx, dword [ebp - 0x168]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0
push eax
push dword [edx + 8]
mov dword [ebp - 8], 0xffffffff
push dword [edx + 4]
mov dword [ebp - 0xc], 0xffffffff
push edi
call fcn.004ffad0
add esp, 0x14
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x5298d3
cmp eax, 5
jne 0x52a90e
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x168]
xor esi, esi
mov ecx, dword [ebp - 0x174]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
nop word [eax + eax]
mov eax, dword [ebp + esi*4 - 0x10]
cdq
push edx
push eax
push edi
call fcn.0052d420
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x5298f0
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov ebx, dword [ebp - 0x168]
push ebx
push ecx
call fcn.004edaa0
mov edx, dword [ebx + 4]
add esp, 8
mov ecx, dword [edi + 0x10]
shl edx, 4
mov dword [ebp - 0x178], eax
mov eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
mov ecx, dword [edx + ecx + 4]
mov dword [ebp - 0x190], ecx
mov ecx, dword [ecx + 4]
mov ebx, dword [ecx]
movzx ecx, byte [ebx + 5]
cmove eax, ecx
mov dword [ebp - 0x17c], ecx
cmp byte [ebx + 0x10], 3
mov dword [ebp - 0x188], eax
jb 0x52997a
xor eax, eax
jmp 0x529999
mov eax, dword [ebx + 0x40]
cmp dword [eax], 0
je 0x529994
cmp dword [ebx + 0x4c], 0
jl 0x529994
jg 0x529990
cmp dword [ebx + 0x48], 0
jbe 0x529994
xor eax, eax
jmp 0x529999
mov eax, 1
test eax, eax
mov esi, ecx
mov eax, 0x6ce660
cmovne esi, dword [ebp - 0x188]
cmp byte [ebx + 0xf], 0
jne 0x5299b5
mov eax, dword [ebx + 0xa8]
cmp esi, 5
jne 0x5299e7
push eax
call fcn.0051f6a0
add esp, 4
test eax, eax
je 0x5299d4
push ebx
call fcn.00515310
add esp, 4
test eax, eax
jne 0x5299e1
mov eax, dword [ebp - 0x17c]
mov esi, eax
jmp 0x529a72
mov ecx, dword [ebp - 0x17c]
cmp esi, ecx
je 0x529a6c
cmp ecx, 5
je 0x5299f9
cmp esi, 5
jne 0x529a6c
cmp byte [edi + 0x4f], 0
je 0x52a9b0
cmp dword [edi + 0xb4], 1
jg 0x52a9b0
cmp ecx, 5
jne 0x529a35
push edi
push ebx
call fcn.00513e10
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x529a6c
push esi
push ebx
call fcn.00514d90
add esp, 8
jmp 0x529a4e
cmp ecx, 4
jne 0x529a45
push 2
push ebx
call fcn.00514d90
add esp, 8
cmp dword [ebp - 0x16c], 0
jne 0x529a6c
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [ebp - 0x190]
call fcn.004ff6b0
add esp, 8
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x17c]
cmp dword [ebp - 0x16c], 0
cmove eax, esi
push eax
push ebx
call fcn.00514d90
mov ebx, dword [ebp - 0x178]
add esp, 8
mov ecx, 0xa02
mov word [ebx + 8], cx
cmp eax, 6
jne 0x529a9e
xor eax, eax
jmp 0x529aa5
mov eax, dword [eax*4 + 0x6cf104]
push eax
mov dword [ebx + 0x10], eax
call fcn.0051f6a0
mov dword [ebx + 0xc], eax
movzx eax, byte [ebp - 0x1a0]
push eax
push ebx
mov byte [ebx + 0xa], 1
call fcn.005238d0
mov eax, dword [ebp - 0x16c]
add esp, 0xc
jmp 0x525319
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 8]
test eax, eax
je 0x529aec
mov ebx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
jmp 0x529aee
xor eax, eax
push eax
push dword [edx + 4]
lea eax, [ecx + 0x7c]
push edi
push eax
call fcn.0051abe0
add esp, 0x10
jmp 0x525313
mov edx, dword [ebp - 0x168]
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004fd570
add esp, 4
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x524576
mov ecx, dword [ebp - 0x164]
cmp eax, 0x65
jne 0x52a914
mov dword [ebp - 0x16c], 0
jmp 0x52432c
cmp dword [esi + 4], 0
jne 0x529b76
push dword [esi + 8]
push edi
call fcn.00504e90
mov ecx, dword [ebp - 0x164]
add esp, 8
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x1b4]
inc eax
xor eax, dword [ecx + 0x98]
mov ebx, dword [ebp - 0x1e4]
and eax, 3
xor dword [ecx + 0x98], eax
add esi, 0x14
jmp 0x5242c4
mov eax, dword [ebp - 0x164]
mov ecx, dword [esi + 4]
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x164]
mov eax, dword [eax + 0x28]
or byte [eax + 1], 0x40
add esi, 0x14
jmp 0x5242c4
mov eax, dword [ebp - 0x164]
mov ecx, dword [esi + 4]
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x164]
mov eax, dword [eax + 0x28]
and byte [eax + 1], 0xbf
add esi, 0x14
jmp 0x5242c4
mov al, byte [esi + 0xc]
mov byte [ebp - 0x224], al
test al, al
jne 0x529c2b
mov eax, dword [edi + 0x20]
and eax, 0x400
mov dword [ebp - 0x18c], eax
mov eax, 0
jne case.0x5242e2.85
test eax, eax
jne case.0x5242e2.85
mov eax, dword [ebp - 0x168]
push dword [ebp - 0x224]
mov ecx, dword [eax + 4]
push dword [eax + 8]
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004fe1f0
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x524576
cmp al, 6
jne 0x52a90e
mov eax, dword [ebp - 0x168]
push dword [eax + 0x10]
push str.database_table_is_locked:__s
push dword [ebp - 0x164]
call fcn.005241c0
mov eax, dword [ebp - 0x16c]
add esp, 0xc
jmp 0x52a90e
mov edx, dword [ebp - 0x168]
mov esi, dword [edx + 0x10]
push esi
push edi
call fcn.0052f880
add esp, 8
mov dword [ebp - 0x16c], eax
test esi, esi
je 0x525319
push dword [esi + 8]
push dword [ebp - 0x164]
call fcn.00530240
mov eax, dword [ebp - 0x16c]
add esp, 8
jmp 0x525319
mov edx, dword [ebp - 0x168]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x174]
movq qword [ebp - 0x118], xmm0
movups xmmword [ebp - 0x138], xmm0
mov eax, dword [edx + 8]
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x118], edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0052cd20
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x138]
push eax
call fcn.004c4050
add esp, 0xc
test eax, eax
je 0x529d45
mov ecx, dword [ebp - 0x164]
add ecx, 0x7c
push ecx
push eax
mov eax, dword [ebp - 0x168]
push dword [eax + 4]
push edi
call fcn.0052fb30
add esp, 0x10
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x138]
push eax
call fcn.0052d380
mov eax, dword [ebp - 0x16c]
add esp, 4
jmp 0x525319
mov edx, dword [ebp - 0x168]
inc dword [edi + 0xc0]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.0052fc10
add esp, 0xc
dec dword [edi + 0xc0]
jmp 0x525313
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x58], 0
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x52aa51
mov ebx, dword [esi]
test ebx, ebx
je 0x52aa51
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebx + 0x18]
push esi
call eax
push esi
push dword [ebp - 0x164]
mov dword [ebp - 0x16c], eax
call fcn.00530240
mov eax, dword [ebp - 0x16c]
add esp, 0x10
test eax, eax
jne 0x52a90e
mov eax, dword [ebp - 0x58]
push 2
push 0xffffffffffffffff
push 0
mov dword [eax], esi
mov eax, dword [ebp - 0x168]
push dword [eax + 4]
push dword [ebp - 0x164]
call fcn.004d4360
add esp, 0x14
test eax, eax
je 0x52a9d9
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x28], ecx
inc dword [esi + 4]
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
add ebx, 0x28
mov eax, dword [edx + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x168]
mov esi, dword [ebx + edx*8]
lea ebx, [ebx + edx*8]
movd xmm0, ebx
mov dword [ebp - 0x188], ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x164]
pshufd xmm3, xmm0, 0
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x1c0], eax
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x178], eax
mov eax, dword [eax]
mov dword [ebp - 0x1b8], eax
mov eax, dword [eax]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x174]
mov eax, dword [eax + edx*8]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x164]
mov edx, dword [eax + 0x5c]
test esi, esi
jle 0x529f4b
cmp esi, 8
jb 0x529f2d
cmp dword [0x7894b0], 2
jl 0x529f2d
movaps xmm2, xmmword [0x6d86d0]
mov eax, esi
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x529ecd
dec eax
or eax, 0xfffffff8
inc eax
movaps xmm1, xmmword [0x6d86e0]
mov ebx, esi
sub ebx, eax
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx + ecx*4], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx + ecx*4 + 0x10], xmm0
add ecx, 8
cmp ecx, ebx
jl 0x529ee0
mov ebx, dword [ebp - 0x188]
cmp ecx, esi
jge 0x529f4b
lea eax, [ecx + 1]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
nop word [eax + eax]
mov dword [edx + ecx*4], eax
inc ecx
add eax, 0x28
cmp ecx, esi
jl 0x529f40
mov eax, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x1a4]
push edx
push esi
push dword [eax + 0x10]
mov esi, dword [ebp - 0x178]
push dword [ebp - 0x190]
mov eax, dword [ebx + 0x20]
push esi
call eax
push dword [ebp - 0x1b8]
mov dword [ebp - 0x16c], eax
push dword [ebp - 0x164]
call fcn.00530240
mov eax, dword [ebp - 0x16c]
add esp, 0x1c
test eax, eax
jne 0x52a90e
mov eax, dword [ebx + 0x28]
push esi
call eax
mov ecx, dword [ebp - 0x1c0]
add esp, 4
mov byte [ecx + 2], 0
test eax, eax
je 0x524576
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
jmp 0x524332
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x174]
cmp byte [ebx + 2], 0
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
je 0x52a015
push esi
call fcn.0052d460
add esp, 4
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
test byte [edx + 2], 1
xorps xmm0, xmm0
mov eax, dword [ebx + 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
mov eax, dword [eax]
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0x188], eax
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xe8], esi
je 0x52a061
push esi
call fcn.0052d460
mov edx, dword [ebp - 0x168]
add esp, 4
mov eax, 0x4001
mov dword [esi], 0
jmp 0x52a071
mov ax, word [esi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [esi + 8], ax
lea eax, [ebp - 0xe8]
push dword [edx + 8]
push eax
mov eax, dword [ebp - 0x188]
push dword [ebx + 0x28]
mov eax, dword [eax + 0x2c]
call eax
push dword [ebp - 0x190]
mov dword [ebp - 0x16c], eax
push dword [ebp - 0x164]
call fcn.00530240
add esp, 0x14
cmp dword [ebp - 0xd4], 0
jle 0x52a0d6
push esi
call fcn.004c4050
push eax
push 0x6d3894
push dword [ebp - 0x164]
call fcn.005241c0
mov eax, dword [ebp - 0xd4]
add esp, 0x10
mov dword [ebp - 0x16c], eax
movzx eax, byte [ebp - 0x1a0]
push eax
push esi
call fcn.005238d0
push esi
call fcn.0052d820
add esp, 0xc
test eax, eax
jne 0x529860
mov eax, dword [ebp - 0x16c]
jmp 0x525319
mov ebx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + ecx*4]
cmp byte [ebx + 2], 0
jne 0x524576
mov eax, dword [ebx + 0x28]
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp - 0x188], ecx
mov eax, dword [ecx + 0x24]
call eax
push esi
push dword [ebp - 0x164]
mov dword [ebp - 0x16c], eax
call fcn.00530240
mov eax, dword [ebp - 0x16c]
add esp, 0xc
test eax, eax
jne 0x52a90e
mov eax, dword [ebp - 0x188]
push dword [ebx + 0x28]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x52690f
mov ecx, dword [ebp - 0x164]
mov esi, dword [ebp - 0x168]
mov esi, dword [esi + 8]
mov edx, dword [ebp - 0x19c]
dec esi
lea esi, [esi + esi*4]
lea esi, [edx + esi*4]
mov dword [ebp - 0x168], esi
jmp 0x52691b
mov edx, dword [ebp - 0x168]
mov ebx, dword [edi + 0x20]
or dword [edi + 0x20], 0x4000000
and ebx, 0x4000000
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x174]
mov dword [edi + 0x24], eax
mov eax, dword [edx + 0x10]
push 1
mov esi, dword [eax + 8]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov dword [ebp - 0x188], eax
call fcn.005238d0
add esp, 8
test eax, eax
jne 0x52a90e
mov ecx, dword [ebp - 0x188]
mov eax, dword [esi]
push dword [ecx + 0x10]
mov eax, dword [eax + 0x4c]
push esi
call eax
add esp, 8
mov dword [ebp - 0x16c], eax
test ebx, ebx
jne 0x52a20a
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfbffffff
mov dword [edi + 0x24], eax
push esi
push dword [ebp - 0x164]
call fcn.00530240
mov ecx, dword [ebp - 0x164]
add esp, 8
mov eax, dword [ebp - 0x16c]
and dword [ecx + 0x98], 0xfffffffc
jmp 0x52531f
cmp byte [edi + 0x51], 0
jne 0x52a9ea
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0x10]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x52aa51
mov eax, dword [ebx]
mov dword [ebp - 0x188], eax
test eax, eax
je 0x52aa51
cmp dword [eax + 0x34], 0
mov edx, dword [edx + 8]
je 0x525271
mov al, byte [edi + 0x56]
mov esi, dword [ecx + 0x5c]
mov ecx, dword [ebp - 0x174]
mov byte [ebp - 0x1ad], al
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
xor eax, eax
test edx, edx
jle 0x52a29e
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x52a293
mov eax, dword [ebp - 0x168]
mov al, byte [eax + 2]
mov byte [edi + 0x56], al
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x188]
push esi
push edx
push ebx
mov eax, dword [eax + 0x34]
call eax
mov dword [ebp - 0x16c], eax
mov al, byte [ebp - 0x1ad]
push ebx
push dword [ebp - 0x164]
mov byte [edi + 0x56], al
call fcn.00530240
mov eax, dword [ebp - 0x16c]
add esp, 0x18
mov ecx, dword [ebp - 0x168]
test eax, eax
jne 0x52a301
cmp dword [ecx + 4], eax
je 0x52a301
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x16c]
cmp al, 0x13
jne 0x52a35d
mov eax, dword [ecx + 0x10]
cmp byte [eax + 0x10], 0
je 0x52a35d
mov eax, dword [ebp - 0x168]
movzx eax, word [eax + 2]
cmp eax, 4
jne 0x52a345
xor ecx, ecx
mov dword [ebp - 0x16c], ecx
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
cmp eax, 5
jne 0x52a34f
mov eax, 2
mov ecx, dword [ebp - 0x164]
mov byte [ecx + 0x92], al
jmp 0x52a366
mov ecx, dword [ebp - 0x164]
inc dword [ecx + 0x2c]
mov eax, dword [ebp - 0x16c]
test eax, eax
jne 0x52a90e
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push dword [ebp - 0x168]
push ecx
call fcn.004edaa0
mov ecx, dword [ebp - 0x168]
add esp, 8
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0x10]
shl edx, 4
mov ecx, dword [edx + ecx + 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x2c]
and ecx, 0x7fffffff
mov dword [eax + 4], 0
mov dword [eax], ecx
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
push dword [ebp - 0x168]
push ecx
call fcn.004edaa0
mov ecx, dword [edi + 0x10]
mov ebx, eax
mov eax, dword [ebp - 0x168]
add esp, 8
mov edx, dword [eax + 4]
add edx, edx
mov esi, dword [ecx + edx*8 + 4]
xor ecx, ecx
mov edx, dword [eax + 0xc]
test edx, edx
je 0x52a422
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
and ecx, 0x7fffffff
cmp ecx, edx
cmovb ecx, edx
push ecx
push esi
call fcn.004fe260
cdq
add esp, 8
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
mov edx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*8]
mov dword [ebp - 0x188], ebx
cmp dword [esi], ebx
je 0x52a4b5
mov dword [esi + 0xc], ecx
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi], ebx
js 0x52a4b5
mov edi, dword [ebp - 0x168]
lea edx, [esi + 0x1c]
mov ebx, dword [ebp - 0x174]
lea edx, [edx + ecx*4]
mov eax, dword [edi + 8]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx], eax
sub edx, 4
sub ecx, 1
jns 0x52a494
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x188]
mov ax, word [ebx + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [ebx + 8], ax
lea eax, [esi + 0x1c]
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
mov eax, dword [ecx + 0x10]
push esi
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x52a540
jle 0x52a50a
push ebx
call fcn.004c4050
push eax
push 0x6d3894
push dword [ebp - 0x164]
call fcn.005241c0
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x168]
push dword [eax + 4]
mov eax, dword [ebp - 0x164]
push dword [esi + 0x10]
add eax, 0xdc
push eax
push edi
call fcn.00523fb0
mov eax, dword [ebp - 0x16c]
add esp, 0x10
mov dword [esi + 0x14], 0
test eax, eax
jne 0x52a90e
test byte [ebx + 8], 0x12
je 0x524576
movzx eax, byte [ebp - 0x1a0]
push eax
push ebx
call fcn.005238d0
push ebx
jmp 0x529850
mov cl, byte [edi + 0x58]
mov ebx, dword [ebp - 0x164]
test cl, 0x41
je 0x52a61b
test byte [ebx + 0x98], 0x10
jne 0x52a61b
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x52a592
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x52a61b
push eax
test cl, 0x40
je 0x52a5c6
mov edi, dword [edi + 0xcc]
push ebx
call fcn.0052b130
mov esi, eax
mov eax, dword [ebp - 0x1b4]
push esi
push dword [eax + 0xd0]
call edi
push esi
call fcn.004cc7a0
mov esi, dword [ebp - 0x168]
add esp, 0x14
jmp 0x52a61b
cmp dword [edi + 0xbc], 1
jle 0x52a607
push str.____s
push edi
call fcn.00512940
mov ecx, dword [edi + 0xcc]
mov esi, eax
push esi
push ebx
push dword [edi + 0xd0]
push 1
call ecx
add esp, 0x1c
test esi, esi
je 0x52a5ff
push esi
push edi
call fcn.00502d70
add esp, 8
mov esi, dword [ebp - 0x168]
jmp 0x52a61b
mov eax, dword [edi + 0xcc]
push ebx
push dword [edi + 0xd0]
push 1
call eax
add esp, 0x10
mov eax, dword [esi + 4]
cmp eax, dword [0x76a46c]
jl 0x52a661
cmp byte [esi], 0xaa
je 0x52457c
mov edx, 1
cmp dword [ebx + 0x6c], edx
jle 0x52a65a
mov eax, 0x14
nop
mov ecx, dword [ebx + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x52a651
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [ebx + 0x6c]
jl 0x52a640
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0x164]
inc dword [esi + 4]
inc dword [ecx + 0xbc]
jmp 0x524332
mov esi, dword [ebp - 0x168]
mov ecx, edx
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x5242c4
mov ecx, dword [edx + 4]
mov dword [ebx + 0x28], ecx
mov al, byte [edx + 8]
mov byte [ebx + 0x92], al
mov dword [ebx + 0x24], esi
test ecx, ecx
je 0x52a71a
movzx eax, word [edx + 2]
test ax, ax
je 0x52a6e9
push dword [eax*4 + 0x6cf06c]
push str._s_constraint_failed
push ebx
call fcn.005241c0
mov eax, dword [ebp - 0x168]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x52a6fa
push eax
push dword [ebx + 0x7c]
push str._z:__s
push edi
call fcn.00512940
add esp, 0x10
mov dword [ebx + 0x7c], eax
jmp 0x52a6fa
push dword [edx + 0x10]
push 0x6d3894
push ebx
call fcn.005241c0
add esp, 0xc
push dword [ebx + 0x7c]
mov eax, dword [ebp - 0x168]
push dword [ebx + 0xc0]
push esi
push str.abort_at__d_in___s_:__s
push dword [eax + 4]
call fcn.004c19e0
add esp, 0x14
push ebx
call fcn.0052bb10
mov esi, dword [ebp - 0x170]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x16c], ecx
cmp ecx, 5
jne 0x52a740
mov dword [ebx + 0x28], eax
mov ebx, eax
jmp 0x52adf0
cmp dword [ebx + 0x28], 0
mov ecx, 0x65
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x16c], ecx
mov ebx, ecx
jmp 0x52adf0
push 0x1569f
call fcn.005017b0
add esp, 4
jmp 0x52a90e
push str.cannot_open_savepoint___SQL_statements_in_progress
push dword [ebp - 0x164]
call fcn.005241c0
add esp, 8
mov eax, 5
jmp 0x52a90e
push str.cannot_release_savepoint___SQL_statements_in_progress
jmp 0x52a775
mov ecx, dword [ebp - 0x168]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x19c]
mov ebx, 5
mov esi, dword [ebp - 0x170]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x24], eax
mov byte [edi + 0x4f], 0
mov dword [edx + 0x28], 5
jmp 0x52adf0
push str.no_such_savepoint:__s
push dword [ebp - 0x164]
call fcn.005241c0
add esp, 0xc
jmp 0x52a909
mov eax, 8
jmp 0x52a90e
mov esi, dword [ebp - 0x170]
cmp al, 5
jne 0x52acb6
mov ecx, dword [ebp - 0x168]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x19c]
imul ecx
mov ecx, dword [ebp - 0x16c]
mov ebx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], ecx
jmp 0x52adf0
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x52a84c
push eax
push edi
call fcn.00502d70
add esp, 8
push str.database_schema_has_changed
push edi
call fcn.005030b0
mov ecx, dword [ebp - 0x164]
add esp, 8
mov dword [ecx + 0x7c], eax
mov eax, dword [ebp - 0x168]
mov edx, dword [eax + 4]
mov ecx, edx
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1f4]
je 0x52a88b
push edx
push edi
call fcn.005199c0
add esp, 8
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x164]
mov eax, dword [eax + 0x98]
and eax, 0xfffffffd
or eax, 1
mov dword [ecx + 0x98], eax
mov eax, 0x11
jmp 0x52a914
mov eax, 0x204
jmp 0x52a90e
mov ecx, dword [ebp - 0x164]
mov eax, 6
mov byte [ecx + 0x92], 2
jmp 0x52a914
mov dword [ebp - 0x16c], 7
push edi
call fcn.00519940
mov eax, dword [ebp - 0x16c]
add esp, 4
mov ecx, dword [ebp - 0x164]
mov esi, dword [ebp - 0x170]
cmp eax, 7
je 0x52a9f0
jmp 0x52a91a
push str.too_many_levels_of_trigger_recursion
push edx
call fcn.005241c0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x164]
mov esi, dword [ebp - 0x170]
cmp byte [edi + 0x51], 0
mov edx, 7
cmovne eax, edx
cmp dword [ecx + 0x7c], 0
mov dword [ebp - 0x16c], eax
jne 0x52acf4
cmp eax, 0xc0a
je 0x52acf4
mov ecx, 0x6d830c
sub eax, 0x64
je 0x52accf
sub eax, 1
je 0x52acc8
sub eax, 0x19f
je 0x52acc1
mov eax, dword [ebp - 0x16c]
movzx eax, al
cmp eax, 0x1d
jae 0x52acd4
mov eax, dword [eax*4 + 0x6d27c0]
test eax, eax
je 0x52acd4
mov ecx, eax
jmp 0x52acd4
push esi
call fcn.004c4050
push eax
push 0x6d3894
push dword [ebp - 0x164]
call fcn.005241c0
add esp, 0x10
mov eax, dword [ebp - 0x16c]
jmp 0x52a90e
mov ecx, str.out_of
cmp esi, 5
mov eax, str.into
cmovne eax, ecx
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push dword [ebp - 0x164]
call fcn.005241c0
add esp, 0xc
jmp 0x52a909
push dword [ebp - 0x58]
mov eax, dword [ebx + 0x1c]
call eax
add esp, 4
mov ecx, dword [ebp - 0x164]
mov esi, dword [ebp - 0x170]
cmp byte [edi + 0x51], 0
jne 0x52aa33
cmp byte [edi + 0x52], 0
jne 0x52aa33
cmp dword [edi + 0xbc], 0
mov byte [edi + 0x51], 1
jle 0x52aa13
mov dword [edi + 0x110], 1
inc dword [edi + 0x118]
xor eax, eax
mov word [edi + 0x11c], ax
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x52aa33
mov dword [eax + 0xc], 7
push str.out_of_memory
push ecx
call fcn.005241c0
mov ecx, dword [ebp - 0x164]
add esp, 8
mov eax, 7
jmp 0x52a91a
mov eax, 6
jmp 0x52a90e
push 0
push ecx
call fcn.00523ab0
add esp, 8
test eax, eax
jne 0x52a90e
push 1
push dword [ebp - 0x164]
call fcn.00523df0
mov ecx, dword [ebp - 0x164]
add esp, 8
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x174]
mov eax, dword [ecx + 0x20]
add eax, 2
or eax, 1
mov dword [ecx + 0x20], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
xor ebx, ebx
mov dword [ecx + 0x78], esi
cmp dword [edx + 8], ebx
jle 0x52aaea
nop
mov eax, 0x1000
test word [esi + 8], ax
je 0x52aacc
push esi
call fcn.0052d170
add esp, 4
test eax, eax
jne 0x52a9e4
push esi
call fcn.0052d220
mov eax, dword [ebp - 0x168]
inc ebx
add esp, 4
add esi, 0x28
cmp ebx, dword [eax + 8]
jl 0x52aab0
mov ecx, dword [ebp - 0x164]
cmp byte [edi + 0x51], 0
jne 0x52a9ea
test byte [edi + 0x58], 4
je 0x52ab10
mov eax, dword [edi + 0xcc]
push 0
push ecx
push dword [edi + 0xd0]
push 4
call eax
add esp, 0x10
mov ecx, dword [ebp - 0x168]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x19c]
mov ebx, 0x64
mov esi, dword [ebp - 0x170]
imul ecx
mov ecx, dword [ebp - 0x164]
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [ecx + 0x24], eax
jmp 0x52adf0
mov edx, dword [ebp - 0x168]
movzx eax, byte [edi + 0x4f]
mov ebx, dword [edx + 4]
mov ecx, dword [edx + 8]
cmp ebx, eax
je 0x52ac37
test ecx, ecx
je 0x52ab77
push 0x204
push edi
call fcn.0051a040
add esp, 8
mov byte [edi + 0x4f], 1
jmp 0x52abad
test ebx, ebx
je 0x52ab8e
cmp dword [edi + 0xb8], 0
jle 0x52ab8e
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x52a775
push 1
push dword [ebp - 0x164]
call fcn.00523ab0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x16c], ecx
test ecx, ecx
jne 0x52ac26
mov byte [edi + 0x4f], bl
push dword [ebp - 0x164]
call fcn.0052bb10
add esp, 4
cmp eax, 5
jne 0x52ac00
mov ecx, dword [ebp - 0x168]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x170]
imul ecx
mov ecx, dword [ebp - 0x164]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x24], eax
mov al, 1
sub al, bl
mov ebx, 5
mov byte [edi + 0x4f], al
mov dword [ecx + 0x28], ebx
jmp 0x52adf0
push edi
call fcn.004fff50
mov eax, dword [ebp - 0x164]
add esp, 4
mov ecx, 0x65
cmp dword [eax + 0x28], 0
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x16c], ecx
mov ebx, dword [ebp - 0x16c]
mov esi, dword [ebp - 0x170]
jmp 0x52adf0
test ebx, ebx
jne 0x52ac4c
mov eax, str.cannot_start_a_transaction_within_a_transaction
push eax
push dword [ebp - 0x164]
jmp 0x52a901
test ecx, ecx
mov eax, str.cannot_rollback___no_transaction_is_active
mov edx, str.cannot_commit___no_transaction_is_active
cmove eax, edx
push eax
push dword [ebp - 0x164]
jmp 0x52a901
mov esi, dword [ebp - 0x170]
xor eax, eax
cmp byte [edi + 0x51], al
sete al
lea eax, [eax*2 + 7]
push eax
mov dword [ebp - 0x16c], eax
mov dword [ecx + 0x28], eax
call fcn.004d1070
push eax
push 0x6d3894
push dword [ebp - 0x164]
call fcn.005241c0
mov eax, dword [ebp - 0x16c]
add esp, 0x10
mov ecx, dword [ebp - 0x164]
jmp 0x52a91a
mov esi, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x164]
jmp 0x52a91a
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x52acd4
mov ecx, str.no_more_rows_available
jmp 0x52acd4
mov ecx, str.another_row_available
push ecx
push 0x6d3894
push dword [ebp - 0x164]
call fcn.005241c0
mov eax, dword [ebp - 0x16c]
add esp, 0xc
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0x28], eax
cmp eax, 0xc0a
je 0x52ad25
movzx eax, al
cmp eax, 0xe
je 0x52ad0b
cmp eax, 0xa
jne 0x52ad25
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x52ad20
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x52ad22
xor eax, eax
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x168]
sub ecx, dword [ebp - 0x19c]
push dword [eax + 0x7c]
push dword [eax + 0xc0]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.statement_aborts_at__d:___s___s
push dword [ebp - 0x16c]
call fcn.004c19e0
push dword [ebp - 0x164]
call fcn.0052bb10
add esp, 0x18
cmp dword [ebp - 0x16c], 0xc0a
jne 0x52adbf
cmp byte [edi + 0x51], 0
jne 0x52adbf
cmp byte [edi + 0x52], 0
jne 0x52adbf
cmp dword [edi + 0xbc], 0
mov byte [edi + 0x51], 1
jle 0x52ad9f
mov dword [edi + 0x110], 1
inc dword [edi + 0x118]
xor eax, eax
mov word [edi + 0x11c], ax
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x52adbf
mov dword [eax + 0xc], 7
mov al, byte [ebp - 0x1c9]
mov dword [ebp - 0x16c], 1
test al, al
je 0x52ade9
movzx eax, al
dec eax
push eax
push edi
call fcn.005199c0
mov ebx, dword [ebp - 0x16c]
add esp, 8
jmp 0x52adf0
mov ebx, 1
nop
mov ecx, dword [ebp - 0x1e4]
cmp ecx, esi
jb 0x52ae2c
mov eax, dword [edi + 0x158]
test eax, eax
je 0x52ae2c
push dword [edi + 0x15c]
add esi, dword [edi + 0x160]
call eax
add esp, 4
test eax, eax
je 0x52adf0
mov ecx, dword [ebp - 0x164]
or esi, 0xffffffff
mov eax, 9
jmp 0x52a91a
mov edx, dword [ebp - 0x164]
add dword [edx + 0xb4], ecx
cmp dword [edx + 0xa0], 0
je 0x52ae4a
push edx
call fcn.0053c760
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret