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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x75e7a4]
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.0051d140
mov ecx, dword [ebp - 0x164]
add esp, 4
cmp dword [edi + 0x158], ebx
je 0x51d287
mov esi, dword [edi + 0x160]
xor edx, edx
mov eax, dword [ecx + 0xb4]
div esi
sub esi, edx
jmp 0x51d28a
or esi, 0xffffffff
cmp dword [ecx + 0x28], 7
mov dword [ebp - 0x170], esi
je 0x5239f0
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 0x523c6d
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.0x51d2e2.85
jmp dword [ebx*4 + 0x523e60]
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 0x51d2c4
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 0x51d2c4
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 0x522fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x51d2c4
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 0x51d2c4
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
je case.0x51d2e2.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 0x523691
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
je 0x523691
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.00524910
mov ecx, dword [ebp - 0x168]
add esp, 4
cmp dword [ecx + 8], 4
jne 0x51d528
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 0x51d2c4
push dword [ebp - 0x168]
push ecx
call fcn.004e6a80
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 0x51d2c4
push dword [ebp - 0x168]
push ecx
call fcn.004e6a80
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 0x51d2c4
push dword [ebp - 0x168]
push ecx
call fcn.004e6a80
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 0x51d2c4
mov ebx, dword [ebp - 0x168]
push ebx
push ecx
call fcn.004e6a80
mov ebx, dword [ebx + 0x10]
mov esi, eax
push ebx
call fcn.005186a0
mov edx, dword [ebp - 0x168]
add esp, 0xc
cmp byte [ebp - 0x1a0], 1
mov dword [edx + 4], eax
je 0x51d6c8
push 0
push 1
push 0xffffffffffffffff
push ebx
push esi
call fcn.005264f0
add esp, 0x14
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x522860
movzx eax, byte [ebp - 0x1a0]
push eax
push esi
call fcn.0051c8d0
add esp, 8
test eax, eax
jne 0x5239e4
mov edx, dword [ebp - 0x168]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [edx + 1], 0xf9
jne 0x51d6b8
mov eax, dword [edx + 0x10]
test eax, eax
je 0x51d6b8
push eax
push edi
call fcn.004fbd60
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 0x522860
mov ecx, dword [ebp - 0x164]
mov byte [edx], 0x47
jmp 0x51d6e5
mov edx, dword [ebp - 0x168]
push edx
push ecx
call fcn.004e6a80
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 0x51d576
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 0x51d576
cmp dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 0x168]
jne 0x51d57c
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 0x51d2c4
mov ebx, dword [ebp - 0x168]
push ebx
push ecx
call fcn.004e6a80
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 0x51d576
nop dword [eax]
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.00526460
dec edi
mov word [esi - 4], bx
add esp, 4
mov dword [esi], 0
test edi, edi
jg 0x51d7b0
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x51d2c4
push dword [ebp - 0x168]
push ecx
call fcn.004e6a80
mov esi, eax
mov eax, dword [ebp - 0x168]
push 0
push 0
push dword [eax + 4]
push dword [eax + 0x10]
push esi
call fcn.005264f0
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 0x51d2c4
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.00526820
add esp, 4
test eax, eax
jne 0x522860
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 0x51d8cf
push esi
call fcn.00526460
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 0x51d2c4
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.005261d0
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x51d966
push esi
call fcn.00526170
add esp, 4
test eax, eax
jne 0x5239e4
add ebx, 0x28
add esi, 0x28
sub dword [ebp - 0x178], 1
jne 0x51d940
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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.00526730
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x51d9eb
push esi
call fcn.00526170
add esp, 4
test eax, eax
jne 0x5239e4
mov ecx, dword [ebp - 0x178]
mov eax, ecx
dec ecx
mov dword [ebp - 0x178], ecx
test eax, eax
je 0x51d576
add esi, 0x28
add ebx, 0x28
jmp 0x51d9c0
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.00526730
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 0x51d2c4
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.00526420
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 0x51d2c4
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 0x51db0b
push ebx
call fcn.00526460
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 0x51d2c4
test dl, 0x12
jne 0x51db46
push 0
push dword [ebp - 0x1a0]
push ecx
call fcn.00526780
add esp, 0xc
test eax, eax
jne 0x5239e4
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 0x51db7a
test edx, 0x4000
je 0x51db7a
push ecx
call fcn.00525d90
add esp, 4
test eax, eax
jne 0x5239e4
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 0x51db9b
push 0
push dword [ebp - 0x1a0]
push esi
call fcn.00526780
add esp, 0xc
jmp 0x51dbab
test eax, 0x4000
je 0x51dbc8
push esi
call fcn.00525d90
add esp, 4
test eax, eax
jne 0x5239e4
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 0x522860
mov ecx, dword [ebp - 0x1b8]
jl 0x51dbf9
cmp ecx, eax
ja 0x522860
xor eax, eax
cmp ebx, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push ebx
call fcn.00525f00
add esp, 0xc
test eax, eax
jne 0x5239e4
mov ax, word [ebx + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [ebx + 8], ax
cmp ebx, esi
je 0x51dc49
push dword [esi + 0xc]
push dword [esi + 0x10]
push dword [ebx + 0x10]
call fcn.00627fe0
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.00627fe0
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 0x51d2c4
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.004e6330
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.004e6330
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 0x51de60
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.0x51dd67
jmp dword [eax*4 + 0x52410c]
push edx
push ecx
lea eax, [ebp - 0x1dc]
push eax
call fcn.004f2720
add esp, 0xc
test eax, eax
je 0x51de15
mov esi, dword [ebp - 0x17c]
jmp 0x51de98
push edx
push ecx
lea eax, [ebp - 0x1dc]
push eax
call fcn.005186c0
add esp, 0xc
test eax, eax
jne 0x51dd87
jmp 0x51de15
push edx
push ecx
lea eax, [ebp - 0x1dc]
push eax
call fcn.0050bea0
add esp, 0xc
test eax, eax
jne 0x51dd87
jmp 0x51de15
mov eax, ecx
or eax, edx
je 0x51de64
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x51dddf
test esi, esi
jne 0x51dddf
cmp edi, 0x80000000
je 0x51dd87
push edx
push ecx
push edi
push esi
call fcn.00613a70
jmp 0x51de09
mov eax, ecx
or eax, edx
je 0x51de64
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x51de00
mov ecx, 1
xor edx, edx
push edx
push ecx
push edi
push esi
call fcn.00613c00
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 0x51d2c4
test al, 1
je 0x51de92
push dword [ebp - 0x1a4]
call fcn.00526460
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 0x51d2c4
mov ebx, dword [ebp - 0x178]
push esi
call fcn.00526ee0
fstp qword [ebp - 0x18c]
push ebx
call fcn.00526ee0
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.0x51dec4
jmp dword [eax*4 + 0x52411c]
movsd xmm0, qword [ebp - 0x194]
addsd xmm0, qword [ebp - 0x18c]
jmp 0x51df79
movsd xmm0, qword [ebp - 0x194]
subsd xmm0, qword [ebp - 0x18c]
jmp 0x51df79
movsd xmm0, qword [ebp - 0x194]
mulsd xmm0, qword [ebp - 0x18c]
jmp 0x51df79
movsd xmm1, qword [ebp - 0x18c]
xorps xmm0, xmm0
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jnp 0x51de64
movsd xmm0, qword [ebp - 0x194]
divsd xmm0, xmm1
jmp 0x51df79
push esi
call fcn.005250b0
push ebx
mov esi, eax
mov edi, edx
call fcn.005250b0
mov ecx, eax
mov dword [ebp - 0x1d8], edx
mov eax, esi
mov dword [ebp - 0x1dc], ecx
add esp, 8
or eax, edi
je 0x51de64
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
jne 0x51df69
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push ecx
call fcn.00613c00
mov ecx, eax
call fcn.006137c0
sub esp, 8
movsd qword [esp], xmm0
call fcn.0050a340
add esp, 8
test eax, eax
jne 0x51de64
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 0x51d2c4
mov eax, dword [esi + 4]
test eax, eax
je case.0x51d2e2.85
mov ecx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
push 0
push 0
lea eax, [ecx + eax*8]
push eax
call fcn.00526420
mov ecx, dword [ebp - 0x164]
add esp, 0xc
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x51e06d
push edx
call fcn.00526460
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 0x51d2c4
push ecx
call fcn.005250b0
mov edi, eax
mov esi, edx
push ebx
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], esi
call fcn.005250b0
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 0x168]
mov cl, byte [eax]
cmp cl, 0x65
jne 0x51e0a4
and edi, ebx
and esi, edx
jmp 0x51e142
cmp cl, 0x66
jne 0x51e0b2
or edi, ebx
or esi, edx
jmp 0x51e142
mov eax, ebx
or eax, edx
je 0x51e142
test edx, edx
jg 0x51e0ea
jl 0x51e0c6
test ebx, ebx
jae 0x51e0df
mov al, 0xcf
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x51e0ea
jg 0x51e0d8
cmp ebx, 0xffffffc0
jbe 0x51e0ea
neg ebx
adc edx, 0
neg edx
test edx, edx
jl 0x51e119
jg 0x51e0ea
cmp ebx, 0x40
jb 0x51e119
test esi, esi
jg 0x51e100
jl 0x51e0f4
test edi, edi
jae 0x51e100
cmp cl, 0x67
je 0x51e100
or edi, 0xffffffff
or esi, edi
jmp 0x51e142
xorps xmm0, xmm0
movlpd qword [ebp - 0x18c], xmm0
mov esi, dword [ebp - 0x188]
mov edi, dword [ebp - 0x18c]
jmp 0x51e142
movq xmm1, qword [ebp - 0x22c]
movd xmm0, ebx
cmp cl, 0x67
jne 0x51e181
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 0x51d2c4
psrlq xmm1, xmm0
movq qword [ebp - 0x18c], xmm1
test esi, esi
jg 0x51e136
jl 0x51e197
test edi, edi
jae 0x51e136
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, ebx
or edx, 0xffffffff
call fcn.00613cc0
mov edi, dword [ebp - 0x18c]
mov esi, dword [ebp - 0x188]
or edi, eax
or esi, edx
jmp 0x51e142
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.005260f0
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 0x51d2c4
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 0x51e265
test al, 8
jne 0x51e234
test al, 2
je 0x51e243
push 1
push esi
call fcn.004ce540
add esp, 8
jmp 0x51e23d
push esi
call fcn.00525100
add esp, 4
mov ecx, dword [ebp - 0x164]
movzx eax, word [esi + 8]
test al, 4
jne 0x51e265
mov esi, dword [ebp - 0x168]
cmp dword [esi + 8], 0
jne 0x51d332
mov eax, 0x14
jmp 0x52390e
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 0x51d2c4
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.0x51d2e2.85
push eax
call fcn.00526310
mov ecx, dword [ebp - 0x164]
add esp, 4
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x51e2f9
push esi
call fcn.00525d90
add esp, 4
test eax, eax
jne 0x523cb0
mov eax, dword [ebp - 0x168]
push dword [ebp - 0x1a0]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.00525c00
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x164]
test eax, eax
jne 0x523914
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x51e44a
mov eax, dword [ebp - 0x168]
movzx eax, word [eax + 2]
test al, al
jns 0x51e3d2
mov cl, dl
mov al, cl
and al, byte [ebp - 0x180]
test al, 1
je 0x51e3bb
test edx, 0x100
jne 0x51e3bb
mov eax, dword [ebp - 0x168]
xor ecx, ecx
movzx eax, byte [eax]
mov al, byte [eax + 0x6d7254]
jmp 0x51e4d8
test cl, 1
mov ecx, 0
sete cl
lea ecx, [ecx*2 - 1]
jmp 0x51e636
test al, 0x20
je 0x51e422
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 0x51d2c4
test al, 0x10
jne 0x51d326
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov edi, dword [ebp - 0x168]
mov al, byte [edi + 2]
and al, 0x47
cmp al, 0x43
jb 0x51e597
test cl, 2
je 0x51e49a
mov al, byte [ebp - 0x180]
and al, 0x2e
cmp al, 2
jne 0x51e483
push 0
push ebx
call fcn.004ce540
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 0x51e49a
push 0
push esi
call fcn.004ce540
add esp, 8
mov al, byte [ebx + 8]
and al, byte [esi + 8]
test al, 4
je 0x51e627
mov edi, dword [esi + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [esi]
mov eax, dword [ebx]
cmp edi, edx
jl 0x51e580
jg 0x51e4c4
cmp ecx, eax
jbe 0x51e56e
mov ecx, 1
mov eax, dword [ebp - 0x168]
movzx eax, byte [eax]
mov al, byte [eax + 0x6d725c]
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 0x51e668
mov dword [ebp - 0x1d4], ecx
mov eax, esi
mov eax, dword [eax + 8]
lea edx, [eax + eax*4]
test bl, 8
je 0x51e52d
xor eax, eax
cmp byte [esi], 0x35
sete al
cmp eax, edi
je 0x51d57c
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 0x51d2c4
cmp edi, edx
jg 0x51e3a5
jl 0x51e580
cmp ecx, eax
jae 0x51e3a5
mov eax, dword [ebp - 0x168]
or ecx, 0xffffffff
movzx eax, byte [eax]
mov al, byte [eax + 0x6d724c]
jmp 0x51e4d8
cmp al, 0x42
jne 0x51e627
mov al, byte [ebp - 0x180]
test al, 2
jne 0x51e5ee
test al, 0x2c
je 0x51e5ee
push 1
push dword [ebp - 0x1a0]
push ebx
call fcn.00526780
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 0x51e5ee
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 0x51e627
test al, 0x2c
je 0x51e627
push 1
push dword [ebp - 0x1a0]
push esi
call fcn.00526780
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.0050bcd0
add esp, 0xc
mov ecx, eax
test ecx, ecx
jns 0x51e64e
mov eax, dword [ebp - 0x168]
movzx eax, byte [eax]
mov al, byte [eax + 0x6d724c]
jmp 0x51e4d8
jne 0x51e4c9
mov eax, dword [ebp - 0x168]
movzx eax, byte [eax]
mov al, byte [eax + 0x6d7254]
jmp 0x51e4d8
test edi, edi
jne 0x522fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
cmp dword [ebp - 0x1d4], 0
jne 0x51d332
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov ebx, dword [ebp - 0x168]
test byte [ebx + 2], 1
jne 0x51e6bb
xor eax, eax
jmp 0x51e6c1
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 0x51d576
lea ebx, [edx + 0x14]
nop
test eax, eax
je 0x51e709
mov edi, dword [eax + esi*4]
jmp 0x51e70b
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.0050bcd0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x1d4], edx
test edx, edx
jne 0x51e78d
mov eax, dword [ebp - 0x178]
inc esi
mov edx, dword [ebp - 0x1a4]
add ebx, 4
cmp esi, dword [ebp - 0x190]
jl 0x51e700
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov eax, dword [ebp - 0x1a4]
mov eax, dword [eax + 0x10]
test byte [esi + eax], 2
je 0x51e7ce
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 0x51e7c6
mov eax, dword [ebp - 0x1c0]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
je 0x51e7ce
neg edx
mov dword [ebp - 0x1d4], edx
cmp dword [ebp - 0x1ac], 0
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
je case.0x51d2e2.85
mov edi, dword [ebp - 0x1b4]
neg edx
mov ebx, dword [ebp - 0x1e4]
add esi, 0x14
mov dword [ebp - 0x1d4], edx
jmp 0x51d2c4
mov ebx, dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x168]
test ebx, ebx
jns 0x51e837
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 0x51d2c4
jne 0x51e85d
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 0x51d2c4
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 0x51d2c4
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.0051c870
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.0051c870
mov ecx, dword [ebp - 0x168]
add esp, 0x10
lea eax, [eax + esi*2]
cmp byte [ecx], 0x2c
jne 0x51e8d1
mov al, byte [esi + eax + 0x6d7224]
jmp 0x51e8d8
mov al, byte [esi + eax + 0x6d7298]
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 0x51e91c
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 0x51d2c4
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 0x51d2c4
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.0051c870
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.00526420
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 0x51d2c4
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 0x522fec
push 0
push ecx
call fcn.0051c870
neg eax
push 0
sbb eax, eax
inc eax
push eax
push esi
call fcn.00526420
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 0x51d2c4
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.00526460
add esp, 4
test byte [edi + 8], 1
jne 0x51d576
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.005250b0
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 0x51d2c4
mov edi, dword [ecx + 0xc8]
test edi, edi
je 0x51eaf3
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 0x51d326
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 0x51d2c4
mov eax, dword [ecx + 0x68]
mov eax, dword [eax + 4]
cmp eax, dword [esi + 4]
je 0x51d332
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 0x51d2c4
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.0051c870
mov esi, dword [ebp - 0x168]
add esp, 8
test eax, eax
jne 0x522fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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.0051c870
mov esi, dword [ebp - 0x168]
add esp, 8
test eax, eax
je 0x522fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
jne 0x51d332
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
je 0x51d332
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x51d57c
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.00526460
add esp, 4
jmp 0x51d326
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.0051cee0
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
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 0x51edc9
cmp byte [ebx + 2], 0
je 0x51ed28
cmp byte [ebx], 3
jne 0x51ecff
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 0x51ed5c
push ecx
call fcn.00526460
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 0x51d2c4
mov esi, dword [ebx + 0x28]
push esi
call fcn.004e05a0
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x54]
push eax
push esi
call fcn.004f7f30
mov dword [ebx + 0x4c], eax
add esp, 0xc
mov eax, dword [ebx + 0x50]
cmp eax, dword [edi + 0x6c]
ja 0x522860
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 0x51ed7d
movzx eax, al
mov dword [edx], eax
mov eax, 1
jmp 0x51ed90
push edx
push ecx
call fcn.00508240
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 0x51eeba
mov dword [ebx + 0x4c], 0
mov dword [esi], 0
mov eax, dword [edx]
cmp eax, 0x18003
ja 0x51efef
cmp eax, dword [ebx + 0x50]
ja 0x51efef
movzx eax, word [ebx + 0x3a]
mov esi, dword [ebp - 0x1d0]
cmp eax, esi
jg 0x51f0b1
mov eax, dword [ebx + 0x30]
cmp eax, dword [edx]
jae 0x51f023
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x198], eax
test eax, eax
jne 0x51ee3c
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.00525e90
add esp, 0x10
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
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 0x51eec2
movzx eax, byte [ebx + 0x6d71a0]
cdq
add ecx, eax
adc dword [ebp - 0x17c], edx
mov edx, 1
jmp 0x51eef8
mov eax, dword [ebx + 0x4c]
jmp 0x51ee36
lea eax, [ebp - 0x1e8]
push eax
push esi
call fcn.00508240
mov ebx, dword [ebp - 0x1e8]
movzx edx, al
mov eax, dword [ebp - 0x1a4]
push ebx
mov dword [eax], ebx
call fcn.00527960
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 0x51ef47
cmp esi, dword [ebp - 0x1ac]
jb 0x51ee90
mov eax, dword [ebp - 0x1ac]
jmp 0x51ef51
mov eax, dword [ebp - 0x1ac]
cmp esi, eax
jb 0x51ef6c
cmp esi, eax
mov eax, dword [ebp - 0x1c4]
ja 0x51ef9b
cmp ecx, dword [eax + 0x50]
jne 0x51ef9b
mov eax, dword [ebp - 0x17c]
test eax, eax
jne 0x51ef95
jmp 0x51ef72
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 0x51efae
ja 0x51ef95
cmp ecx, dword [ebp - 0x190]
jbe 0x51efae
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x184]
cmp dword [ecx], 0
jne 0x51efda
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 0x51f031
lea eax, [ebp - 0x110]
push eax
call fcn.00526380
add esp, 4
jmp 0x51f031
cmp dword [eax + 0x4c], 0
jne 0x51efef
lea eax, [ebp - 0x110]
push eax
call fcn.00526380
add esp, 4
mov ecx, dword [ebp - 0x19c]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x52375e
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 0x51d2c4
mov esi, dword [ebp - 0x1c4]
xor ebx, ebx
mov dword [ebp - 0x1e8], ebx
movzx eax, word [esi + 0x3a]
cmp eax, dword [ebp - 0x1d0]
jg 0x51f0c1
mov eax, dword [ebp - 0x168]
cmp byte [eax + 1], 0xf5
jne 0x51f083
push 0x800
push dword [eax + 0x10]
push dword [ebp - 0x180]
call fcn.00526730
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 0x51d2c4
push dword [ebp - 0x180]
call fcn.00526460
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 0x51d2c4
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 0x51f0e1
push edx
call fcn.00526460
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 0x51f1d6
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 0x51f13c
push edx
push ebx
push eax
call fcn.00527720
add esp, 0xc
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x51f17a
push 0
push eax
mov ecx, 1
push edx
mov word [edx + 8], cx
call fcn.00525f00
add esp, 0xc
test eax, eax
jne 0x5239e4
mov edx, dword [ebp - 0x180]
jmp 0x51f180
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
push esi
push dword [ebp - 0x190]
push dword [edx + 0x10]
call fcn.00627fe0
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 + 0x6d72a4]
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 0x51d2c4
mov al, byte [ebp - 0x1a0]
mov byte [edx + 0xa], al
mov eax, dword [ebp - 0x168]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x51f1fb
cmp ebx, 0xc
jb 0x51f1f7
test bl, 1
je 0x51f208
test al, al
js 0x51f208
push ebx
call fcn.00527960
add esp, 4
test eax, eax
jne 0x51f237
push edx
push ebx
push 0x6d5d08
call fcn.00527720
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 0x51d2c4
push edx
push eax
mov eax, dword [ebp - 0x1d0]
push dword [ecx + eax*4]
push dword [esi + 0x28]
call fcn.00525e90
add esp, 0x10
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
mov esi, dword [ebp - 0x180]
push esi
push ebx
push dword [esi + 0x10]
call fcn.00527720
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 0x51d2c4
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.004ce4d0
add esp, 0xc
cmp byte [edi], 0x45
jne 0x51f314
movzx ebx, word [esi + 8]
test bl, 4
je 0x51f314
mov edx, dword [esi + 4]
mov ecx, dword [esi]
cmp edx, 0x7fff
jg 0x51f2fe
jl 0x51f2e5
cmp ecx, 0xffffffff
ja 0x51f2fe
cmp edx, 0xffff8000
jl 0x51f2fe
jg 0x51f2f3
test ecx, ecx
jb 0x51f2fe
and ebx, 0xfffb
or ebx, 0x20
jmp 0x51f310
call fcn.006137c0
and ebx, 0xfffb
movsd qword [esi], xmm0
or ebx, 8
mov word [esi + 8], bx
inc edi
cmp byte [edi], 0
je 0x51d576
add esi, 0x28
jmp 0x51f2b0
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 0x51f3d6
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.004ce4d0
add esp, 0xc
cmp byte [ebx], 0x45
jne 0x51f3cd
movzx eax, word [esi]
test al, 4
je 0x51f3cd
and eax, 0xfffb
or eax, 0x20
mov word [esi], ax
inc ebx
add esi, 0x28
cmp byte [ebx], 0
jne 0x51f3a0
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 0x51f434
and ebx, 0x4000
neg ebx
sbb ebx, ebx
and ebx, 0xa
mov dword [esi], ebx
mov ebx, dword [ebp - 0x198]
inc ebx
jmp 0x51f70b
test bl, 0x24
je 0x51f619
cmp dword [esi - 0x18], 0
mov eax, dword [esi - 0x1c]
jg 0x51f45b
jl 0x51f44c
test eax, eax
jae 0x51f45b
not eax
mov dword [ebp - 0x17c], eax
mov eax, dword [esi - 0x18]
not eax
jmp 0x51f464
mov dword [ebp - 0x17c], eax
mov eax, dword [esi - 0x18]
inc dword [ebp - 0x198]
test eax, eax
ja 0x51f582
jb 0x51f47d
cmp dword [ebp - 0x17c], 0x7f
ja 0x51f4df
mov eax, dword [esi - 0x1c]
and eax, 1
mov dword [ebp - 0x1ac], 0
cmp eax, dword [esi - 0x1c]
jne 0x51f4bc
mov eax, dword [ebp - 0x1ac]
cmp eax, dword [esi - 0x18]
jne 0x51f4bc
cmp dword [ebp - 0x188], 4
jb 0x51f4bc
mov eax, dword [ebp - 0x17c]
mov ebx, dword [ebp - 0x198]
add eax, 8
mov dword [esi], eax
jmp 0x51f711
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 0x51f711
test eax, eax
ja 0x51f582
jb 0x51f4f5
cmp dword [ebp - 0x17c], 0x7fff
ja 0x51f518
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 0x51f711
test eax, eax
ja 0x51f582
jb 0x51f52a
cmp dword [ebp - 0x17c], 0x7fffff
ja 0x51f54d
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 0x51f711
test eax, eax
ja 0x51f582
jb 0x51f55f
cmp dword [ebp - 0x17c], 0x7fffffff
ja 0x51f582
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 0x51f711
cmp eax, 0x7fff
ja 0x51f5b7
jb 0x51f594
cmp dword [ebp - 0x17c], 0xffffffff
ja 0x51f5b7
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 0x51f711
add edx, 8
mov dword [ebp - 0x180], edx
adc ecx, 0
mov dword [ebp - 0x184], ecx
test bl, 0x20
je 0x51f608
mov edx, dword [esi - 0x18]
mov ecx, dword [esi - 0x1c]
call fcn.006137c0
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 0x51f711
mov ebx, dword [ebp - 0x198]
mov dword [esi], 6
jmp 0x51f711
test bl, 8
je 0x51f642
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 0x51f70b
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 0x51f6cf
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 0x51f6b4
push ebx
call fcn.00525d90
add esp, 4
test eax, eax
jne 0x5239e4
mov ecx, dword [ebp - 0x1ac]
add ecx, dword [ebx]
mov dword [ebp - 0x1ac], ecx
mov ecx, dword [ebp - 0x184]
jmp 0x51f6c3
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.0051c350
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 0x51f724
sub esi, 0x28
jmp 0x51f410
cmp ebx, 0x7e
jle 0x51f74e
mov eax, ebx
cdq
push edx
push eax
call fcn.0051c350
mov esi, eax
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x198], ebx
cdq
push edx
push eax
call fcn.0051c350
add esp, 0x10
cmp esi, eax
jge 0x51f755
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 0x51f7a8
jl 0x51f79a
cmp esi, eax
ja 0x51f7a8
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
jmp 0x51f7db
mov eax, dword [edi + 0x6c]
cdq
cmp ecx, edx
jg 0x522860
jl 0x51f7be
cmp esi, eax
ja 0x522860
push ebx
push dword [ebp - 0x1c0]
call fcn.00525cf0
add esp, 8
test eax, eax
jne 0x5239e4
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 0x51f802
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 0x51f81e
mov byte [esi], al
mov eax, 1
jmp 0x51f833
push dword [ebp - 0x188]
push dword [ebp - 0x1ac]
push esi
call fcn.00511e00
add esp, 0xc
mov ebx, dword [ebp - 0x178]
movzx eax, al
add esi, eax
nop
mov ebx, dword [ebx + 0x1c]
cmp ebx, 0x80
jae 0x51f854
mov byte [esi], bl
mov eax, 1
jmp 0x51f860
push 0
push ebx
push esi
call fcn.00511e00
add esp, 0xc
push ebx
mov ebx, dword [ebp - 0x178]
movzx eax, al
push ebx
push edi
add esi, eax
call fcn.005278f0
add ebx, 0x28
add esp, 0xc
add edi, eax
mov dword [ebp - 0x178], ebx
cmp ebx, dword [ebp - 0x190]
jbe 0x51f840
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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.004f5d90
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
push dword [ebp - 0x168]
push dword [ebp - 0x164]
call fcn.004e6a80
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 0x523c67
mov ebx, dword [ebp - 0x170]
cmp dword [ebp - 0x1e4], ebx
jb case.0x51d2e2.85
nop word [eax + eax]
mov eax, dword [edi + 0x158]
test eax, eax
je 0x51d57c
add ebx, dword [edi + 0x160]
push dword [edi + 0x15c]
mov dword [ebp - 0x170], ebx
call eax
add esp, 4
test eax, eax
jne 0x523e19
cmp dword [ebp - 0x1e4], ebx
jae 0x51f940
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x51fa83
cmp dword [edi + 0xb8], ecx
jg 0x523770
push eax
call fcn.005186a0
mov ecx, dword [edi + 0x1e0]
mov ebx, eax
add ecx, dword [edi + 0x1dc]
push ecx
push 0
push edi
call fcn.00529470
add esp, 0x10
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
lea eax, [ebx + 0x21]
push 0
push eax
push edi
call fcn.004fbdd0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x51d576
lea ecx, [ebx + 1]
push ecx
push dword [ebp - 0x178]
lea edx, [esi + 0x20]
push edx
mov dword [esi], edx
call fcn.00627fe0
add esp, 0xc
cmp byte [edi + 0x4f], 0
je 0x51fa2a
mov byte [edi + 0x4f], 0
mov byte [edi + 0x57], 1
jmp 0x51fa30
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 0x51d2c4
mov esi, dword [edi + 0x1d4]
xor ebx, ebx
push eax
test esi, esi
je 0x5237d5
push dword [esi]
call fcn.00518640
add esp, 8
test eax, eax
je 0x51faae
mov esi, dword [esi + 0x18]
inc ebx
mov eax, dword [ebp - 0x178]
jmp 0x51fa8b
cmp dword [edi + 0xb8], 0
mov ecx, dword [ebp - 0x17c]
jle 0x51fac6
cmp ecx, 1
je 0x52378d
cmp dword [esi + 0x18], 0
jne 0x51fb40
cmp byte [edi + 0x57], 0
je 0x51fb40
mov dword [ebp - 0x1a4], 1
cmp ecx, 1
jne 0x51fb4a
push ecx
push dword [ebp - 0x164]
call fcn.0051cab0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x16c], ecx
test ecx, ecx
jne 0x523c26
push dword [ebp - 0x164]
mov byte [edi + 0x4f], 1
call fcn.00524b10
add esp, 4
cmp eax, 5
je 0x523794
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x51fb37
mov byte [edi + 0x4f], 0
jmp 0x51fc5a
mov byte [edi + 0x57], 0
jmp 0x51fc62
mov dword [ebp - 0x1a4], 0
mov eax, dword [edi + 0x1dc]
sub eax, ebx
dec eax
mov dword [ebp - 0x178], eax
cmp ecx, 2
jne 0x51fcd0
mov ecx, dword [edi + 0x18]
and ecx, 1
mov dword [ebp - 0x190], 0
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x1b8], ecx
jle 0x51fbd4
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.004f8720
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
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 0x51fb90
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x17c]
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x190], 0
jle 0x51fc30
xor ebx, ebx
nop dword [eax]
push eax
mov eax, dword [edi + 0x10]
push ecx
push dword [eax + ebx + 4]
call fcn.004f81e0
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
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 0x51fbf0
cmp dword [ebp - 0x1b8], 0
je 0x51fc4e
push 0
push edi
call fcn.004fde90
push edi
call fcn.00512940
add esp, 0xc
or dword [edi + 0x18], 1
mov eax, dword [ebp - 0x16c]
mov ebx, dword [ebp - 0x178]
test eax, eax
jne 0x52390e
cmp dword [edi + 0x1d4], esi
je 0x51fc97
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.004fbd60
dec dword [edi + 0x1dc]
add esp, 8
cmp dword [edi + 0x1d4], esi
jne 0x51fc70
mov ecx, dword [ebp - 0x17c]
cmp ecx, 1
jne 0x51fcdf
mov eax, dword [esi + 0x18]
push esi
push edi
mov dword [edi + 0x1d4], eax
call fcn.004fbd60
add esp, 8
cmp dword [ebp - 0x1a4], 0
jne 0x51d576
dec dword [edi + 0x1dc]
mov ecx, dword [ebp - 0x17c]
jmp 0x51fd15
mov dword [ebp - 0x1b8], 0
jmp 0x51fbda
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 0x51fd15
cmp ecx, 2
jne 0x51d576
push ebx
push ecx
push edi
call fcn.00529470
mov ecx, dword [ebp - 0x164]
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x523914
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x1f4], 0
mov edx, dword [edx + 8]
test edx, edx
je 0x51fd76
mov eax, dword [edi + 0x20]
and eax, 0x100000
or eax, 0
jne 0x5237ed
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 0x51fe5c
lea eax, [ebp - 0x1f4]
push eax
push edx
push esi
call fcn.004f5530
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x5237f7
mov edx, dword [ebp - 0x164]
test byte [edx + 0x98], 0x80
je 0x51fe68
mov ecx, dword [ebp - 0x168]
cmp dword [ecx + 8], eax
je 0x51fe68
cmp byte [edi + 0x4f], al
je 0x51fde3
cmp dword [edi + 0xb4], 1
jle 0x51fe68
cmp dword [edx + 0x30], 0
jne 0x51fdfe
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.00529470
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x51fe30
mov eax, dword [ebp - 0x164]
push dword [eax + 0x30]
push esi
call fcn.004f54d0
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 0x51fe62
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x16c]
mov esi, dword [ebp - 0x168]
cmp word [esi + 2], 0
je 0x51fea4
mov eax, dword [ebp - 0x1f4]
cmp eax, dword [esi + 0xc]
jne 0x52383b
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 0x52383b
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x164]
test eax, eax
jne 0x523914
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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.004f64a0
push dword [ebp - 0x168]
push dword [ebp - 0x164]
call fcn.004e6a80
mov ecx, eax
add esp, 0x14
mov eax, dword [ebp - 0x238]
jmp 0x51d570
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.004f8880
mov edx, dword [ebp - 0x168]
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov eax, dword [edx + 8]
cmp eax, 1
jne 0x51ff4a
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
or dword [edi + 0x18], 1
jmp 0x51ff58
cmp eax, 2
jne 0x51ff58
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 0x51ff7e
push 0
push edi
call fcn.004fde90
mov ecx, dword [ebp - 0x164]
add esp, 8
and dword [ecx + 0x98], 0xfffffffc
jmp 0x51ff84
mov ecx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x16c]
test eax, eax
jne 0x52390e
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x51ffd1
mov eax, dword [esi + 0x34]
cmp eax, dword [ebx + 8]
je 0x520119
mov ecx, dword [ebp - 0x164]
mov eax, dword [ecx + 0x98]
and al, 3
cmp al, 1
je 0x5238b0
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 0x520055
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 0x520057
mov byte [edx + 0x93], al
jmp 0x520057
xor ebx, ebx
mov eax, dword [ebp - 0x168]
test byte [eax + 2], 0x10
je 0x520086
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x174]
lea esi, [ecx + eax*8]
push esi
call fcn.005260f0
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 0x5200a2
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x178], eax
movzx eax, word [eax + 8]
jmp 0x5200b1
cmp al, 0xfd
jne 0x5200ab
mov eax, dword [ecx + 0x10]
jmp 0x5200b1
mov eax, dword [ebp - 0x1a4]
push 0
push esi
push eax
push dword [ecx + 4]
push dword [ebp - 0x164]
call fcn.004cd340
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5239e4
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.004f5f70
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 0x523914
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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.004cd340
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5239e4
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.004f5f70
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 0x51d2c4
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 0x520241
mov eax, dword [esi + 0xc]
test eax, eax
je 0x520241
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.004f5840
add esp, 0xc
mov dword [ebp - 0x16c], eax
jmp 0x520356
push 0
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push dword [ebp - 0x164]
call fcn.004cd340
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5239e4
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.004f77a0
add esp, 0x18
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x520330
push eax
push 1
push dword [ebx]
call fcn.004f5530
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x520330
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x188], eax
mov dword [esi + 0x2c], eax
test eax, eax
je 0x52030c
movzx eax, word [edx + 2]
lea ecx, [esi + 0x34]
or eax, 2
push eax
push ecx
push dword [ebx]
call fcn.004f5f20
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x520306
push dword [esi + 0x28]
push dword [ebp - 0x188]
push 4
push dword [esi + 0x34]
push dword [ebx]
call fcn.004f5f70
add esp, 0x14
mov dword [ebp - 0x16c], eax
mov byte [esi + 4], 0
jmp 0x520330
push dword [esi + 0x28]
mov dword [esi + 0x34], 1
push 0
push 4
push 1
push dword [ebx]
call fcn.004f5f70
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 0x523914
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
mov byte [esi + 2], 1
mov esi, dword [ebp - 0x168]
add esi, 0x14
jmp 0x51d2c4
mov edx, dword [ebp - 0x168]
push 1
push 0xffffffffffffffff
push dword [edx + 8]
push dword [edx + 4]
push ecx
call fcn.004cd340
add esp, 0x14
test eax, eax
je 0x5239e4
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.00527c30
mov ecx, dword [ebp - 0x164]
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x523914
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x522fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov edx, dword [ebp - 0x168]
push 3
push 0xffffffffffffffff
push dword [edx + 0xc]
push dword [edx + 4]
push ecx
call fcn.004cd340
add esp, 0x14
test eax, eax
je 0x5239e4
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], 0x7672bc
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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.00524990
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 0x51d2c4
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 0x520643
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 0x520552
push 0
push ecx
call fcn.004ce540
mov ecx, dword [ebp - 0x1a4]
add esp, 8
push ecx
call fcn.005250b0
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 0x5205f6
test cl, 8
jne 0x5205bc
test cl, 1
jne 0x522fb1
cmp ebx, 0x18
jae 0x522fb1
lea eax, [ebp - 0x1c8]
push eax
push dword [esi + 0x28]
call fcn.004f7140
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
jmp 0x52078a
mov edx, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1b8]
call fcn.006137c0
mov eax, dword [ebp - 0x1a4]
movsd xmm1, qword [eax]
comisd xmm0, xmm1
jbe 0x5205ea
test bl, 1
lea eax, [ebx - 1]
cmove eax, ebx
mov ebx, eax
jmp 0x5205f6
comisd xmm1, xmm0
jbe 0x5205f6
test bl, 1
jne 0x5205f6
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.004f72a0
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 0x52390e
jmp 0x5206d5
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.004f72a0
add esp, 0x18
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
cmp byte [ebp - 0x1ad], al
je 0x5206d5
cmp byte [ebp - 0x5a], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x178], eax
je 0x52078a
mov eax, dword [ebp - 0x1c8]
cmp ebx, 0x18
jl 0x52076f
test eax, eax
js 0x520726
jne 0x5206ef
cmp ebx, 0x19
je 0x520726
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 0x51d2c4
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x1c8], 0
call fcn.004f7750
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x5206f9
mov ecx, dword [ebp - 0x164]
cmp eax, 0x65
jne 0x523914
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x1c8], 1
jmp 0x51d32c
test eax, eax
jg 0x52079c
jne 0x52077a
cmp ebx, 0x16
je 0x52079c
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 0x522fb1
jmp 0x5206f9
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x1c8], 0
call fcn.004f7f70
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x5206f9
mov ecx, dword [ebp - 0x164]
cmp eax, 0x65
jne 0x523914
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x1c8], 1
jmp 0x51d32c
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 0x51d2c4
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.0x51d2e2.11
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x51d57c
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 0x5208d4
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 0x520929
mov eax, 0x4000
test word [esi + 8], ax
je 0x5208f0
push esi
call fcn.00525d90
add esp, 4
test eax, eax
jne 0x5239e4
push dword [ebx + 0x2c]
call fcn.0051c7d0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x178], ebx
test ebx, ebx
je 0x5239e4
push ebx
push dword [esi + 0x10]
push dword [esi + 0xc]
mov esi, dword [ebp - 0x190]
push dword [esi + 0x2c]
call fcn.005274d0
mov ecx, dword [ebp - 0x168]
add esp, 0x10
mov byte [ebx + 0xa], 0
cmp byte [ecx], 0x1c
mov dword [ebp - 0x190], 0
jne 0x520969
movzx edx, word [ebx + 8]
xor ecx, ecx
test edx, edx
je 0x520969
mov eax, dword [ebx + 4]
add eax, 8
nop dword [eax]
test byte [eax], 1
jne 0x52095f
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x520950
jmp 0x520969
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.004f72a0
mov dword [ebp - 0x16c], eax
add esp, 0x18
mov eax, dword [ebp - 0x178]
test eax, eax
je 0x52099c
push eax
push edi
call fcn.004fbd60
add esp, 8
mov eax, dword [ebp - 0x16c]
test eax, eax
jne 0x52390e
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 0x5209f9
test ecx, ecx
jne 0x522fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
cmp dword [ebp - 0x190], 0
jne 0x522fb7
test ecx, ecx
je 0x522fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x24
jne 0x520aa7
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 0x520a99
test al, 8
jne 0x520a7c
test al, 2
je 0x520a91
lea eax, [ebp - 0x54]
push 1
push eax
call fcn.004ce540
add esp, 8
jmp 0x520a88
lea eax, [ebp - 0x54]
push eax
call fcn.00525100
add esp, 4
mov ecx, dword [ebp - 0x164]
mov al, byte [ebp - 0x4c]
test al, 4
je 0x51d332
mov ebx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
jmp 0x520aba
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.004f72a0
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 0x51fe9e
cmp dword [esi + 8], 0
jne 0x522fb7
push 0x15dab
call fcn.004fa7a0
add esp, 4
mov dword [ebp - 0x16c], eax
jmp 0x51fea4
mov ebx, dword [ebp - 0x168]
push ebx
push ecx
call fcn.004e6a80
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 0x51d2c4
mov ebx, dword [ebp - 0x168]
xorps xmm0, xmm0
push ebx
push ecx
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x1ec], 0
call fcn.004e6a80
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 0x520c6a
lea ecx, [ebp - 0x1ec]
push ecx
push dword [eax + 0x28]
call fcn.004f7140
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
cmp dword [ebp - 0x1ec], eax
je 0x520c26
mov ebx, 1
xor esi, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
jmp 0x520c70
mov eax, dword [ebp - 0x17c]
push dword [eax + 0x28]
call fcn.004f6a90
mov esi, edx
add esp, 4
mov dword [ebp - 0x14], esi
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp esi, 0x7fffffff
jl 0x520c5c
jg 0x520c50
cmp ebx, 0xffffffff
jb 0x520c5c
mov eax, dword [ebp - 0x17c]
or dword [eax + 8], 2
jmp 0x520c70
add ebx, 1
mov dword [ebp - 0x18], ebx
adc esi, 0
mov dword [ebp - 0x14], esi
jmp 0x520c70
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x520d18
mov eax, dword [ebp - 0x164]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x520cac
mov eax, dword [edx + 4]
test eax, eax
je 0x520ca1
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x520c98
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
jmp 0x520cb8
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x174]
lea eax, [ecx + eax*8]
push eax
mov dword [ebp - 0x190], eax
call fcn.005260f0
mov eax, dword [ebp - 0x190]
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x520ce3
cmp edx, 0x7fffffff
je 0x520d9b
mov edi, dword [ebp - 0x17c]
test byte [edi + 8], 2
mov edi, dword [ebp - 0x1b4]
jne 0x520d9b
add ecx, 1
adc edx, 0
cmp esi, edx
jg 0x520d13
jl 0x520d09
cmp ebx, ecx
jae 0x520d13
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 0x520dab
mov dword [ebp - 0x190], 0
lea eax, [ebp - 0x18]
push eax
push 8
call fcn.004c6620
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.004f72a0
add esp, 0x20
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
cmp dword [ebp - 0x1ec], eax
jne 0x520da5
mov eax, dword [ebp - 0x190]
inc eax
mov dword [ebp - 0x190], eax
cmp eax, 0x64
jl 0x520d32
mov eax, 0xd
jmp 0x52390e
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 0x51d2c4
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 0x520e67
cmp dword [edi + 0xf0], 0
je 0x520e67
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 0x520e7b
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x178], 0
test byte [ecx + 2], 1
je 0x520e90
mov edi, dword [ebp - 0x164]
inc dword [edi + 0x2c]
mov edi, dword [ebp - 0x1b4]
test byte [ecx + 2], 0x20
je 0x520e9c
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 0x520ec4
mov ebx, dword [esi + 0x20]
jmp 0x520ec6
xor ebx, ebx
mov eax, dword [ebp - 0x174]
mov edi, 0x4000
test word [eax + edx*8 + 8], di
mov edi, dword [ebp - 0x1b4]
je 0x520ee9
mov eax, dword [eax + edx*8]
mov dword [ebp - 0x98], eax
jmp 0x520ef3
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.004f6650
add esp, 0x10
mov dword [ebp - 0x16c], eax
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x52390e
mov eax, dword [ebp - 0x190]
test eax, eax
je 0x51d576
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 0x51d2c4
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 0x520fff
cmp dword [edi + 0xf0], 0
je 0x520fff
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 0x52100b
cmp byte [esi + 4], 0
je 0x52100b
push dword [esi + 0x28]
call fcn.004f6a90
mov dword [esi + 0x44], edx
add esp, 4
mov edx, dword [ebp - 0x168]
mov dword [esi + 0x40], eax
jmp 0x52100b
mov dword [ebp - 0x190], 0
xor ebx, ebx
movzx eax, byte [edx + 2]
push eax
push dword [esi + 0x28]
call fcn.004f5fe0
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 0x523914
test byte [ebp - 0x188], 1
je 0x51e271
inc dword [ecx + 0x2c]
mov eax, dword [edi + 0xf0]
test eax, eax
je 0x51e271
test byte [ebx + 0x24], 0x80
jne 0x51e271
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 0x51d2c4
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 0x51d2c4
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.00527b60
add esp, 0x10
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
mov esi, dword [ebp - 0x168]
cmp dword [ebp - 0x20c], eax
jne 0x522fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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.005280f0
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
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 0x51d2c4
mov ebx, dword [ebp - 0x168]
push ebx
push ecx
call fcn.004e6a80
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.004e05a0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
cmp eax, dword [edi + 0x6c]
ja 0x522860
push esi
push eax
push 0
push ebx
call fcn.00525e90
add esp, 0x10
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
mov ecx, dword [ebp - 0x168]
cmp dword [ecx + 0xc], eax
jne 0x51d576
mov eax, 0x1000
test word [esi + 8], ax
je 0x51d576
push esi
call fcn.00526170
mov ecx, dword [ebp - 0x164]
add esp, 4
test eax, eax
jne 0x5239ea
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
push dword [ebp - 0x168]
push ecx
call fcn.004e6a80
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 0x5212a4
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 0x51d2c4
cmp byte [esi + 3], 0
je 0x5212de
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 0x51d2c4
cmp byte [esi], 2
jne 0x521342
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.00529240
mov eax, dword [ebp - 0x16c]
add esp, 0x10
test eax, eax
jne 0x52390e
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 0x51d2c4
push esi
call fcn.0051cf40
add esp, 4
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
cmp byte [esi + 2], al
je 0x521387
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 0x51d2c4
push dword [esi + 0x28]
call fcn.004f6a90
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 0x51d2c4
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 0x51d57c
push dword [eax + 0x28]
call fcn.004f5820
mov ecx, dword [ebp - 0x164]
add esp, 4
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x52143b
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je 0x51d576
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.004f7140
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 0x5239a5
mov esi, dword [ebp - 0x168]
cmp dword [esi + 8], ecx
jle 0x51d57c
test eax, eax
jne 0x522fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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.004f63f0
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
cmp dword [ebp - 0x214], eax
jne 0x522fb1
push esi
call fcn.004f8170
add esp, 4
test edx, edx
jl 0x51d576
jg 0x521501
test eax, eax
jb 0x51d576
push edx
push eax
call fcn.0050b790
mov esi, dword [ebp - 0x168]
add esp, 8
mov ecx, dword [ebp - 0x164]
cwde
cmp eax, dword [esi + 0xc]
jge case.0x51d2e2.85
mov dword [ebp - 0x214], 1
jmp 0x51d332
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 0x521569
push esi
call fcn.00528080
jmp 0x52157c
push dword [esi + 0x28]
call fcn.004f63f0
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
mov eax, dword [ebp - 0x1f0]
mov byte [esi + 2], al
mov esi, dword [ebp - 0x168]
test eax, eax
jne 0x522fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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.00527e00
jmp 0x5215fc
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 0x52162f
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 0x523174
cmp eax, 0x65
jne 0x52390e
xor ecx, ecx
mov byte [esi + 2], 1
mov dword [ebp - 0x16c], ecx
jmp 0x51f90f
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 0x52167c
inc dword [edx + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x52169e
push esi
call fcn.00525d90
add esp, 4
test eax, eax
jne 0x52390e
mov ecx, dword [ebp - 0x168]
cmp byte [ecx], 0x82
jne 0x5216b2
push esi
push ebx
call fcn.005281a0
add esp, 8
jmp 0x51e313
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 0x5216f8
mov ecx, dword [ebx + 0x20]
jmp 0x5216fa
xor ecx, ecx
push ecx
and eax, 0xa
push eax
lea eax, [ebp - 0x160]
push eax
push dword [ebx + 0x28]
call fcn.004f6650
add esp, 0x10
mov dword [ebx + 0x1c], 0
jmp 0x51e313
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.004f72a0
add esp, 0x18
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
cmp dword [ebp - 0x240], eax
jne 0x5217b1
push 4
push ebx
call fcn.004f5fe0
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
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 0x51d2c4
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.0051cf40
add esp, 4
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
cmp byte [esi + 2], al
jne 0x5218e1
lea eax, [ebp - 0x200]
xorps xmm0, xmm0
push eax
push dword [esi + 0x28]
movlpd qword [ebp - 0x200], xmm0
push edi
call fcn.00524f30
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x52390e
mov eax, dword [ebp - 0x168]
cmp byte [eax], 0x85
jne 0x5218a1
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 0x51d2c4
push eax
push dword [ebp - 0x164]
call fcn.004e6a80
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 0x51d2c4
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.00526460
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 0x51d2c4
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 0x51d57c
push eax
call fcn.00524770
mov ecx, dword [ebp - 0x164]
add esp, 4
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x523914
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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.00524e40
mov dword [ebp - 0x16c], eax
add esp, 0x10
mov eax, ebx
test byte [eax], 1
mov eax, dword [ebp - 0x1e0]
jne 0x5219eb
neg eax
jmp 0x5219ec
inc eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x1e0], eax
test ecx, ecx
jne 0x5239a5
mov esi, dword [ebp - 0x168]
test eax, eax
jg 0x522fb7
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
push dword [ebp - 0x168]
push ecx
call fcn.004e6a80
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 0x5238b7
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.004f6380
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 0x52390e
test ecx, ecx
je 0x51d576
mov eax, dword [ebp - 0x168]
push dword [eax + 4]
push ecx
push ebx
push edi
call fcn.00513180
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 0x51d2c4
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.004f5840
mov esi, dword [ebp - 0x168]
add esp, 0xc
mov dword [ebp - 0x16c], eax
cmp dword [esi + 0xc], 0
je 0x521b61
mov ecx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x24]
add dword [ecx + 0x2c], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x521b5b
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 0x523914
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x521bc9
push dword [eax + 0x28]
push edi
call fcn.00527ea0
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 0x51d2c4
mov eax, dword [eax + 0x28]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.004f5840
jmp 0x51e310
push dword [ebp - 0x168]
push ecx
call fcn.004e6a80
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.004f5f20
mov ecx, dword [ebp - 0x164]
add esp, 0x14
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x523914
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 0x51d2c4
mov edx, dword [ebp - 0x168]
inc byte [edi + 0x5a]
push 0
push 0
push 0
push dword [edx + 0x10]
push edi
call fcn.004c00c0
add esp, 0x14
dec byte [edi + 0x5a]
jmp 0x51e313
mov edx, dword [ebp - 0x168]
mov ecx, dword [edx + 0x10]
mov esi, dword [edx + 4]
test ecx, ecx
jne 0x521ccd
mov eax, dword [edi + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.00514160
mov eax, dword [ebp - 0x164]
and dword [edi + 0x18], 0xffffffef
add eax, 0x7c
push 1
push eax
push esi
push edi
call fcn.00508de0
mov ecx, dword [ebp - 0x164]
add esp, 0x14
or dword [edi + 0x18], 1
mov dword [ebp - 0x16c], eax
and dword [ecx + 0x98], 0xfffffffc
jmp 0x521d82
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.0050b940
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5238cb
push 0
lea eax, [ebp - 0x80]
mov byte [edi + 0xa5], 1
push eax
push fcn.00508bf0
push esi
push edi
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
call fcn.004c00c0
add esp, 0x14
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x521d65
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x521d65
cmp dword [ebp - 0x6c], eax
jne 0x521d65
push 0x16344
call fcn.004fa7a0
add esp, 4
mov dword [ebp - 0x16c], eax
push esi
push edi
call fcn.004fbd60
mov eax, dword [ebp - 0x16c]
add esp, 8
mov ecx, dword [ebp - 0x164]
mov byte [edi + 0xa5], 0
test eax, eax
jne 0x5238d5
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov edx, dword [ebp - 0x168]
push dword [edx + 4]
push edi
call fcn.004f3610
add esp, 8
jmp 0x51e313
mov edx, dword [ebp - 0x168]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.00519510
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 0x51d2c4
mov edx, dword [ebp - 0x168]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.00519470
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 0x51d2c4
mov edx, dword [ebp - 0x168]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.00519580
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 0x51d2c4
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.004f6ab0
push ebx
mov dword [ebp - 0x188], eax
call fcn.00526460
mov eax, dword [ebp - 0x220]
add esp, 0x1c
test eax, eax
je 0x521ef5
mov ecx, dword [ebp - 0x188]
test ecx, ecx
je 0x5239e4
mov edi, dword [ebp - 0x174]
dec eax
push fcn.004c5780
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.005264f0
mov edi, dword [ebp - 0x1b4]
add esp, 0x14
movzx eax, byte [ebp - 0x1a0]
push eax
push ebx
call fcn.0051c8d0
add esp, 8
jmp 0x51f90f
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 0x521f3e
push esi
call fcn.00526490
add esp, 4
test eax, eax
jne 0x5239e4
mov edi, dword [ebp - 0x174]
push dword [edi + ebx*8 + 4]
push dword [edi + ebx*8]
push dword [esi + 0x10]
call fcn.005133b0
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 0x51d2c4
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 0x521fd1
lea eax, [ebp - 0x248]
push eax
push dword [esi + 0x10]
call fcn.00513450
add esp, 8
test eax, eax
je 0x521fd1
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.00526420
add esp, 0xc
jmp 0x51f90f
push esi
call fcn.00526460
add esp, 4
jmp 0x52316e
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 0x522021
push esi
call fcn.00526490
add esp, 4
test eax, eax
jne 0x5239e4
mov eax, dword [ebp - 0x190]
mov edi, dword [ebp - 0x174]
test eax, eax
je 0x52204e
push dword [edi + ebx*8 + 4]
push dword [edi + ebx*8]
push eax
push dword [esi + 0x10]
call fcn.005134b0
add esp, 0x10
test eax, eax
jne 0x522fb1
mov eax, dword [ebp - 0x190]
test eax, eax
js 0x51d576
jmp 0x521f44
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 0x5220b6
mov eax, dword [edx + 0xc8]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x5220b0
nop dword [eax]
cmp dword [eax + 0x1c], ecx
je 0x523675
mov eax, dword [eax + 4]
test eax, eax
jne 0x5220a0
mov ecx, dword [ebp - 0x178]
mov eax, dword [edx + 0xd0]
cmp eax, dword [edi + 0x94]
jge 0x5238fb
test byte [ecx + 8], 0x10
jne 0x52229b
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 0x522100
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.004fbf10
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x5239e4
push dword [ebp - 0x178]
call fcn.00526380
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], 0x5248f0
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 0x5221de
mov esi, 0x80
nop
mov word [eax + 8], si
mov dword [eax + 0x20], edi
add eax, 0x28
cmp eax, ecx
jne 0x5221d0
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.00628ae0
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 0x51f91b
mov ebx, dword [ecx + 0x10]
jmp 0x5221e4
push dword [ebp - 0x168]
push ecx
call fcn.004e6a80
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.00526730
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 0x51d2c4
mov eax, dword [edi + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [ebp - 0x168]
mov esi, eax
je 0x522344
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 0x51d2c4
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
cdq
je 0x52236e
add dword [edi + 0x1e8], eax
mov ebx, dword [ebp - 0x1e4]
adc dword [edi + 0x1ec], edx
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
jmp 0x51d2c4
add dword [ecx + 0x40], eax
mov edi, dword [ebp - 0x1b4]
adc dword [ecx + 0x44], edx
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
cmp dword [esi + 4], 0
je 0x52239c
mov eax, dword [edi + 0x1e8]
or eax, dword [edi + 0x1ec]
jmp 0x5223a2
mov eax, dword [ecx + 0x40]
or eax, dword [ecx + 0x44]
jne case.0x51d2e2.85
mov eax, dword [edi + 0x1f0]
or eax, dword [edi + 0x1f4]
je 0x51d332
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov edx, dword [ecx + 0xc8]
test edx, edx
je 0x522403
mov eax, dword [edx + 4]
test eax, eax
je 0x5223e9
nop
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x5223e0
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 0x522418
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.005260f0
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.005260f0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x51d576
jl 0x52244e
cmp dword [edi], eax
jae 0x51d576
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 0x51d2c4
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 0x51d576
jg 0x52249e
test ecx, ecx
je 0x51d576
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 0x51d326
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.004e6a80
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 0x522567
jg 0x5224f9
test eax, eax
je 0x522567
mov ecx, dword [edx + ebx*8 + 4]
mov eax, dword [edx + ebx*8]
test ecx, ecx
jl 0x52250a
jg 0x522521
test eax, eax
jne 0x522521
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.004f2720
add esp, 0xc
test eax, eax
jne 0x522567
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 0x51d2c4
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 0x51d2c4
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 0x51d576
test edx, edx
jl 0x51d326
jg 0x5225c9
test ecx, ecx
je 0x51d326
sub ecx, 1
mov dword [ebx + esi*8], ecx
sbb edx, 0
mov dword [ebx + esi*8 + 4], edx
jmp 0x51d326
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 0x52260f
jg 0x522602
test eax, eax
je 0x52260f
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 0x51d332
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov edx, dword [ebp - 0x168]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x44]
push eax
push edi
call fcn.004fbdd0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5239e4
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 0x5226d8
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 0x52273b
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 8], ebx
js 0x52273b
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 0x522713
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 0x522756
mov eax, dword [ecx + 0x1c]
jmp 0x522759
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x51d576
jle 0x52278f
push dword [esi]
call fcn.004bd030
push eax
push 0x6d2518
push dword [ebp - 0x164]
call fcn.0051d1c0
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0x16c], eax
cmp byte [esi + 0x18], 0
je 0x5227bf
mov eax, dword [ebp - 0x168]
mov eax, dword [eax - 0x10]
test eax, eax
je 0x5227bb
mov ecx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
push 0
push 1
lea eax, [ecx + eax*8]
push eax
call fcn.00526420
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.00526380
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 0x51e319
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 0x522828
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
push esi
call fcn.00525b90
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 0x522833
push esi
call fcn.00525df0
add esp, 8
mov ecx, eax
mov dword [ebp - 0x16c], ecx
test ecx, ecx
jne 0x52398b
movzx eax, byte [ebp - 0x1a0]
push eax
push esi
call fcn.0051c8d0
push esi
call fcn.00526820
add esp, 0xc
test eax, eax
je 0x51d576
push str.string_or_blob_too_big
push dword [ebp - 0x164]
call fcn.0051d1c0
add esp, 8
mov eax, 0x12
jmp 0x52390e
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.004f8ab0
add esp, 0x14
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x5228d3
cmp eax, 5
jne 0x52390e
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.00526420
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x5228f0
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add esi, 0x14
mov edi, dword [ebp - 0x1b4]
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
mov ebx, dword [ebp - 0x168]
push ebx
push ecx
call fcn.004e6a80
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 0x52297a
xor eax, eax
jmp 0x522999
mov eax, dword [ebx + 0x40]
cmp dword [eax], 0
je 0x522994
cmp dword [ebx + 0x4c], 0
jl 0x522994
jg 0x522990
cmp dword [ebx + 0x48], 0
jbe 0x522994
xor eax, eax
jmp 0x522999
mov eax, 1
test eax, eax
mov esi, ecx
mov eax, 0x6d6860
cmovne esi, dword [ebp - 0x188]
cmp byte [ebx + 0xf], 0
jne 0x5229b5
mov eax, dword [ebx + 0xa8]
cmp esi, 5
jne 0x5229e7
push eax
call fcn.005186a0
add esp, 4
test eax, eax
je 0x5229d4
push ebx
call fcn.0050e310
add esp, 4
test eax, eax
jne 0x5229e1
mov eax, dword [ebp - 0x17c]
mov esi, eax
jmp 0x522a72
mov ecx, dword [ebp - 0x17c]
cmp esi, ecx
je 0x522a6c
cmp ecx, 5
je 0x5229f9
cmp esi, 5
jne 0x522a6c
cmp byte [edi + 0x4f], 0
je 0x5239b0
cmp dword [edi + 0xb4], 1
jg 0x5239b0
cmp ecx, 5
jne 0x522a35
push edi
push ebx
call fcn.0050ce10
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x522a6c
push esi
push ebx
call fcn.0050dd90
add esp, 8
jmp 0x522a4e
cmp ecx, 4
jne 0x522a45
push 2
push ebx
call fcn.0050dd90
add esp, 8
cmp dword [ebp - 0x16c], 0
jne 0x522a6c
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [ebp - 0x190]
call fcn.004f8690
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.0050dd90
mov ebx, dword [ebp - 0x178]
add esp, 8
mov ecx, 0xa02
mov word [ebx + 8], cx
cmp eax, 6
jne 0x522a9e
xor eax, eax
jmp 0x522aa5
mov eax, dword [eax*4 + 0x6d7304]
push eax
mov dword [ebx + 0x10], eax
call fcn.005186a0
mov dword [ebx + 0xc], eax
movzx eax, byte [ebp - 0x1a0]
push eax
push ebx
mov byte [ebx + 0xa], 1
call fcn.0051c8d0
mov eax, dword [ebp - 0x16c]
add esp, 0xc
jmp 0x51e319
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 8]
test eax, eax
je 0x522aec
mov ebx, dword [ebp - 0x174]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
jmp 0x522aee
xor eax, eax
push eax
push dword [edx + 4]
lea eax, [ecx + 0x7c]
push edi
push eax
call fcn.00513be0
add esp, 0x10
jmp 0x51e313
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.004f6550
add esp, 4
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x51d576
mov ecx, dword [ebp - 0x164]
cmp eax, 0x65
jne 0x523914
mov dword [ebp - 0x16c], 0
jmp 0x51d32c
cmp dword [esi + 4], 0
jne 0x522b76
push dword [esi + 8]
push edi
call fcn.004fde90
mov ecx, dword [ebp - 0x164]
add esp, 8
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x51d2c4
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 0x51d2c4
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 0x51d2c4
mov al, byte [esi + 0xc]
mov byte [ebp - 0x224], al
test al, al
jne 0x522c2b
mov eax, dword [edi + 0x20]
and eax, 0x400
mov dword [ebp - 0x18c], eax
mov eax, 0
jne case.0x51d2e2.85
test eax, eax
jne case.0x51d2e2.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.004f71d0
add esp, 0xc
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x51d576
cmp al, 6
jne 0x52390e
mov eax, dword [ebp - 0x168]
push dword [eax + 0x10]
push str.database_table_is_locked:__s
push dword [ebp - 0x164]
call fcn.0051d1c0
mov eax, dword [ebp - 0x16c]
add esp, 0xc
jmp 0x52390e
mov edx, dword [ebp - 0x168]
mov esi, dword [edx + 0x10]
push esi
push edi
call fcn.00528880
add esp, 8
mov dword [ebp - 0x16c], eax
test esi, esi
je 0x51e319
push dword [esi + 8]
push dword [ebp - 0x164]
call fcn.00529240
mov eax, dword [ebp - 0x16c]
add esp, 8
jmp 0x51e319
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.00525d20
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x138]
push eax
call fcn.004bd030
add esp, 0xc
test eax, eax
je 0x522d45
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.00528b30
add esp, 0x10
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x138]
push eax
call fcn.00526380
mov eax, dword [ebp - 0x16c]
add esp, 4
jmp 0x51e319
mov edx, dword [ebp - 0x168]
inc dword [edi + 0xc0]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.00528c10
add esp, 0xc
dec dword [edi + 0xc0]
jmp 0x51e313
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x58], 0
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x523a51
mov ebx, dword [esi]
test ebx, ebx
je 0x523a51
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.00529240
mov eax, dword [ebp - 0x16c]
add esp, 0x10
test eax, eax
jne 0x52390e
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.004cd340
add esp, 0x14
test eax, eax
je 0x5239d9
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 0x51d2c4
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 0x522f4b
cmp esi, 8
jb 0x522f2d
cmp dword [0x768ccc], 2
jl 0x522f2d
movaps xmm2, xmmword [0x6e0800]
mov eax, esi
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x522ecd
dec eax
or eax, 0xfffffff8
inc eax
movaps xmm1, xmmword [0x6e0810]
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 0x522ee0
mov ebx, dword [ebp - 0x188]
cmp ecx, esi
jge 0x522f4b
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 0x522f40
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.00529240
mov eax, dword [ebp - 0x16c]
add esp, 0x1c
test eax, eax
jne 0x52390e
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 0x51d576
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
jmp 0x51d332
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 0x523015
push esi
call fcn.00526460
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 0x51d2c4
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 0x523061
push esi
call fcn.00526460
mov edx, dword [ebp - 0x168]
add esp, 4
mov eax, 0x4001
mov dword [esi], 0
jmp 0x523071
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.00529240
add esp, 0x14
cmp dword [ebp - 0xd4], 0
jle 0x5230d6
push esi
call fcn.004bd030
push eax
push 0x6d2518
push dword [ebp - 0x164]
call fcn.0051d1c0
mov eax, dword [ebp - 0xd4]
add esp, 0x10
mov dword [ebp - 0x16c], eax
movzx eax, byte [ebp - 0x1a0]
push eax
push esi
call fcn.0051c8d0
push esi
call fcn.00526820
add esp, 0xc
test eax, eax
jne 0x522860
mov eax, dword [ebp - 0x16c]
jmp 0x51e319
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 0x51d576
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.00529240
mov eax, dword [ebp - 0x16c]
add esp, 0xc
test eax, eax
jne 0x52390e
mov eax, dword [ebp - 0x188]
push dword [ebx + 0x28]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x51f90f
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 0x51f91b
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.0051c8d0
add esp, 8
test eax, eax
jne 0x52390e
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 0x52320a
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfbffffff
mov dword [edi + 0x24], eax
push esi
push dword [ebp - 0x164]
call fcn.00529240
mov ecx, dword [ebp - 0x164]
add esp, 8
mov eax, dword [ebp - 0x16c]
and dword [ecx + 0x98], 0xfffffffc
jmp 0x51e31f
cmp byte [edi + 0x51], 0
jne 0x5239ea
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0x10]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x523a51
mov eax, dword [ebx]
mov dword [ebp - 0x188], eax
test eax, eax
je 0x523a51
cmp dword [eax + 0x34], 0
mov edx, dword [edx + 8]
je 0x51e271
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 0x52329e
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x523293
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.00529240
mov eax, dword [ebp - 0x16c]
add esp, 0x18
mov ecx, dword [ebp - 0x168]
test eax, eax
jne 0x523301
cmp dword [ecx + 4], eax
je 0x523301
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 0x52335d
mov eax, dword [ecx + 0x10]
cmp byte [eax + 0x10], 0
je 0x52335d
mov eax, dword [ebp - 0x168]
movzx eax, word [eax + 2]
cmp eax, 4
jne 0x523345
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 0x51d2c4
cmp eax, 5
jne 0x52334f
mov eax, 2
mov ecx, dword [ebp - 0x164]
mov byte [ecx + 0x92], al
jmp 0x523366
mov ecx, dword [ebp - 0x164]
inc dword [ecx + 0x2c]
mov eax, dword [ebp - 0x16c]
test eax, eax
jne 0x52390e
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
push dword [ebp - 0x168]
push ecx
call fcn.004e6a80
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 0x51d2c4
push dword [ebp - 0x168]
push ecx
call fcn.004e6a80
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 0x523422
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.004f7240
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 0x51d2c4
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 0x5234b5
mov dword [esi + 0xc], ecx
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi], ebx
js 0x5234b5
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 0x523494
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 0x523540
jle 0x52350a
push ebx
call fcn.004bd030
push eax
push 0x6d2518
push dword [ebp - 0x164]
call fcn.0051d1c0
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.0051cfb0
mov eax, dword [ebp - 0x16c]
add esp, 0x10
mov dword [esi + 0x14], 0
test eax, eax
jne 0x52390e
test byte [ebx + 8], 0x12
je 0x51d576
movzx eax, byte [ebp - 0x1a0]
push eax
push ebx
call fcn.0051c8d0
push ebx
jmp 0x522850
mov cl, byte [edi + 0x58]
mov ebx, dword [ebp - 0x164]
test cl, 0x41
je 0x52361b
test byte [ebx + 0x98], 0x10
jne 0x52361b
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x523592
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x52361b
push eax
test cl, 0x40
je 0x5235c6
mov edi, dword [edi + 0xcc]
push ebx
call fcn.00524130
mov esi, eax
mov eax, dword [ebp - 0x1b4]
push esi
push dword [eax + 0xd0]
call edi
push esi
call fcn.004c5780
mov esi, dword [ebp - 0x168]
add esp, 0x14
jmp 0x52361b
cmp dword [edi + 0xbc], 1
jle 0x523607
push str.____s
push edi
call fcn.0050b940
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 0x5235ff
push esi
push edi
call fcn.004fbd60
add esp, 8
mov esi, dword [ebp - 0x168]
jmp 0x52361b
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 [0x74872c]
jl 0x523661
cmp byte [esi], 0xaa
je 0x51d57c
mov edx, 1
cmp dword [ebx + 0x6c], edx
jle 0x52365a
mov eax, 0x14
nop
mov ecx, dword [ebx + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x523651
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [ebx + 0x6c]
jl 0x523640
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0x164]
inc dword [esi + 4]
inc dword [ecx + 0xbc]
jmp 0x51d332
mov esi, dword [ebp - 0x168]
mov ecx, edx
mov edi, dword [ebp - 0x1b4]
add esi, 0x14
mov ebx, dword [ebp - 0x1e4]
jmp 0x51d2c4
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 0x52371a
movzx eax, word [edx + 2]
test ax, ax
je 0x5236e9
push dword [eax*4 + 0x6d726c]
push str._s_constraint_failed
push ebx
call fcn.0051d1c0
mov eax, dword [ebp - 0x168]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5236fa
push eax
push dword [ebx + 0x7c]
push str._z:__s
push edi
call fcn.0050b940
add esp, 0x10
mov dword [ebx + 0x7c], eax
jmp 0x5236fa
push dword [edx + 0x10]
push 0x6d2518
push ebx
call fcn.0051d1c0
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.004ba9d0
add esp, 0x14
push ebx
call fcn.00524b10
mov esi, dword [ebp - 0x170]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x16c], ecx
cmp ecx, 5
jne 0x523740
mov dword [ebx + 0x28], eax
mov ebx, eax
jmp 0x523df0
cmp dword [ebx + 0x28], 0
mov ecx, 0x65
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x16c], ecx
mov ebx, ecx
jmp 0x523df0
push 0x1569f
call fcn.004fa7a0
add esp, 4
jmp 0x52390e
push str.cannot_open_savepoint___SQL_statements_in_progress
push dword [ebp - 0x164]
call fcn.0051d1c0
add esp, 8
mov eax, 5
jmp 0x52390e
push str.cannot_release_savepoint___SQL_statements_in_progress
jmp 0x523775
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 0x523df0
push str.no_such_savepoint:__s
push dword [ebp - 0x164]
call fcn.0051d1c0
add esp, 0xc
jmp 0x523909
mov eax, 8
jmp 0x52390e
mov esi, dword [ebp - 0x170]
cmp al, 5
jne 0x523cb6
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 0x523df0
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x52384c
push eax
push edi
call fcn.004fbd60
add esp, 8
push str.database_schema_has_changed
push edi
call fcn.004fc0a0
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 0x52388b
push edx
push edi
call fcn.005129c0
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 0x523914
mov eax, 0x204
jmp 0x52390e
mov ecx, dword [ebp - 0x164]
mov eax, 6
mov byte [ecx + 0x92], 2
jmp 0x523914
mov dword [ebp - 0x16c], 7
push edi
call fcn.00512940
mov eax, dword [ebp - 0x16c]
add esp, 4
mov ecx, dword [ebp - 0x164]
mov esi, dword [ebp - 0x170]
cmp eax, 7
je 0x5239f0
jmp 0x52391a
push str.too_many_levels_of_trigger_recursion
push edx
call fcn.0051d1c0
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 0x523cf4
cmp eax, 0xc0a
je 0x523cf4
mov ecx, 0x6e047c
sub eax, 0x64
je 0x523ccf
sub eax, 1
je 0x523cc8
sub eax, 0x19f
je 0x523cc1
mov eax, dword [ebp - 0x16c]
movzx eax, al
cmp eax, 0x1d
jae 0x523cd4
mov eax, dword [eax*4 + 0x6da9c0]
test eax, eax
je 0x523cd4
mov ecx, eax
jmp 0x523cd4
push esi
call fcn.004bd030
push eax
push 0x6d2518
push dword [ebp - 0x164]
call fcn.0051d1c0
add esp, 0x10
mov eax, dword [ebp - 0x16c]
jmp 0x52390e
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.0051d1c0
add esp, 0xc
jmp 0x523909
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 0x523a33
cmp byte [edi + 0x52], 0
jne 0x523a33
cmp dword [edi + 0xbc], 0
mov byte [edi + 0x51], 1
jle 0x523a13
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 0x523a33
mov dword [eax + 0xc], 7
push str.out_of_memory
push ecx
call fcn.0051d1c0
mov ecx, dword [ebp - 0x164]
add esp, 8
mov eax, 7
jmp 0x52391a
mov eax, 6
jmp 0x52390e
push 0
push ecx
call fcn.0051cab0
add esp, 8
test eax, eax
jne 0x52390e
push 1
push dword [ebp - 0x164]
call fcn.0051cdf0
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 0x523aea
nop
mov eax, 0x1000
test word [esi + 8], ax
je 0x523acc
push esi
call fcn.00526170
add esp, 4
test eax, eax
jne 0x5239e4
push esi
call fcn.00526220
mov eax, dword [ebp - 0x168]
inc ebx
add esp, 4
add esi, 0x28
cmp ebx, dword [eax + 8]
jl 0x523ab0
mov ecx, dword [ebp - 0x164]
cmp byte [edi + 0x51], 0
jne 0x5239ea
test byte [edi + 0x58], 4
je 0x523b10
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 0x523df0
mov edx, dword [ebp - 0x168]
movzx eax, byte [edi + 0x4f]
mov ebx, dword [edx + 4]
mov ecx, dword [edx + 8]
cmp ebx, eax
je 0x523c37
test ecx, ecx
je 0x523b77
push 0x204
push edi
call fcn.00513040
add esp, 8
mov byte [edi + 0x4f], 1
jmp 0x523bad
test ebx, ebx
je 0x523b8e
cmp dword [edi + 0xb8], 0
jle 0x523b8e
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x523775
push 1
push dword [ebp - 0x164]
call fcn.0051cab0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x16c], ecx
test ecx, ecx
jne 0x523c26
mov byte [edi + 0x4f], bl
push dword [ebp - 0x164]
call fcn.00524b10
add esp, 4
cmp eax, 5
jne 0x523c00
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 0x523df0
push edi
call fcn.004f8f40
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 0x523df0
test ebx, ebx
jne 0x523c4c
mov eax, str.cannot_start_a_transaction_within_a_transaction
push eax
push dword [ebp - 0x164]
jmp 0x523901
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 0x523901
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.004ca050
push eax
push 0x6d2518
push dword [ebp - 0x164]
call fcn.0051d1c0
mov eax, dword [ebp - 0x16c]
add esp, 0x10
mov ecx, dword [ebp - 0x164]
jmp 0x52391a
mov esi, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x164]
jmp 0x52391a
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x523cd4
mov ecx, str.no_more_rows_available
jmp 0x523cd4
mov ecx, str.another_row_available
push ecx
push 0x6d2518
push dword [ebp - 0x164]
call fcn.0051d1c0
mov eax, dword [ebp - 0x16c]
add esp, 0xc
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0x28], eax
cmp eax, 0xc0a
je 0x523d25
movzx eax, al
cmp eax, 0xe
je 0x523d0b
cmp eax, 0xa
jne 0x523d25
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x523d20
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x523d22
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.004ba9d0
push dword [ebp - 0x164]
call fcn.00524b10
add esp, 0x18
cmp dword [ebp - 0x16c], 0xc0a
jne 0x523dbf
cmp byte [edi + 0x51], 0
jne 0x523dbf
cmp byte [edi + 0x52], 0
jne 0x523dbf
cmp dword [edi + 0xbc], 0
mov byte [edi + 0x51], 1
jle 0x523d9f
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 0x523dbf
mov dword [eax + 0xc], 7
mov al, byte [ebp - 0x1c9]
mov dword [ebp - 0x16c], 1
test al, al
je 0x523de9
movzx eax, al
dec eax
push eax
push edi
call fcn.005129c0
mov ebx, dword [ebp - 0x16c]
add esp, 8
jmp 0x523df0
mov ebx, 1
nop
mov ecx, dword [ebp - 0x1e4]
cmp ecx, esi
jb 0x523e2c
mov eax, dword [edi + 0x158]
test eax, eax
je 0x523e2c
push dword [edi + 0x15c]
add esi, dword [edi + 0x160]
call eax
add esp, 4
test eax, eax
je 0x523df0
mov ecx, dword [ebp - 0x164]
or esi, 0xffffffff
mov eax, 9
jmp 0x52391a
mov edx, dword [ebp - 0x164]
add dword [edx + 0xb4], ecx
cmp dword [edx + 0xa0], 0
je 0x523e4a
push edx
call fcn.00535760
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00612996
mov esp, ebp
pop ebp
ret