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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov eax, dword [ebx + 0x68]
mov edi, dword [ebx]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
xor al, al
mov byte [ebp - 0x59], al
mov al, byte [edi + 0x4e]
mov byte [ebp - 0x4c], al
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], edi
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], eax
call fcn.005088f0
add esp, 4
cmp dword [edi + 0x158], 0
je 0x508a09
mov esi, dword [edi + 0x160]
xor edx, edx
mov eax, dword [ebx + 0xb4]
div esi
sub esi, edx
jmp 0x508a0c
or esi, 0xffffffff
mov edx, ebx
mov dword [ebp - 0x14], esi
cmp dword [edx + 0x28], 7
je 0x50ef2e
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x78], 0
cmp dword [edi + 0x110], 0
mov dword [edi + 0x1ac], 0
jne 0x50f16e
mov eax, dword [edx + 0x24]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x18]
mov ecx, 4
movsd qword [ebp - 0x178], xmm0
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
xor eax, eax
mov dl, byte [esi]
inc eax
movzx ebx, dl
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], eax
cmp ebx, 0xaa
ja case.0x508a7d.85
jmp dword [ebx*4 + 0x50f330]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, 0x66666667
mov word [ebx + esi*8 + 8], cx
mov ecx, edx
sub ecx, dword [ebp - 0x18]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8], eax
mov dword [ebx + esi*8 + 4], edx
mov edi, dword [ebp - 4]
mov eax, dword [edi + 8]
mov ecx, 4
mov edx, dword [ebp - 0x18]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea edi, [edx + eax*4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x18]
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
lea ecx, [eax - 0x7c]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
dec eax
cdq
mov dword [ebx + ecx*8], eax
mov eax, 4
mov dword [ebx + ecx*8 + 4], edx
mov word [ebx + ecx*8 + 8], ax
cmp dword [esi + 8], 0
jne 0x508ab3
mov ecx, eax
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, 0x80
mov word [ebx + ecx*8 + 8], ax
lea ecx, [eax - 0x7c]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
sub edx, dword [ebp - 0x18]
lea esi, [eax + eax*4]
mov eax, 0x66666667
imul edx
mov word [ebx + esi*8 + 8], cx
mov ecx, dword [ebx + esi*8]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8 + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [ebx + esi*8], eax
lea eax, [ecx + ecx*4]
mov ecx, 4
lea esi, [edx + eax*4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x508c8a
mov ebx, dword [ebp + 8]
mov ecx, esi
sub ecx, dword [ebp - 0x18]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x50ec29
mov edx, dword [ebx + 0xc8]
test edx, edx
je 0x50ec26
mov eax, dword [edx + 4]
dec dword [ebx + 0xd0]
mov dword [ebx + 0xc8], eax
mov eax, dword [ebx + 0x2c]
add dword [edi + 0x68], eax
push edx
mov dword [edi + 0x64], eax
call fcn.0050fc00
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
add esp, 4
mov ebx, dword [edx + 0x68]
cmp dword [eax + 8], 4
mov dword [ebp - 0x18], ebx
jne 0x508c4f
lea eax, [ecx + ecx*4]
mov ecx, dword [ebx + eax*4 + 8]
dec ecx
mov eax, dword [edx + 0x58]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + ecx*4]
lea esi, [ebx + eax*4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d5420
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d5420
mov esi, dword [ebp - 4]
mov edx, eax
mov eax, dword [ebp - 4]
add esp, 8
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, 4
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d5420
mov esi, dword [ebp - 4]
mov ecx, eax
mov eax, 8
add esp, 8
mov word [ecx + 8], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
movsd xmm0, qword [eax]
mov eax, dword [ebp - 0x10]
movsd qword [ecx], xmm0
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp + 8]
call fcn.004d5420
mov edi, dword [ebx + 0x10]
mov esi, eax
push edi
call fcn.00504bd0
mov edx, ebx
add esp, 0xc
mov bl, byte [ebp - 0x4c]
mov dword [edx + 4], eax
cmp bl, 1
je 0x508d99
push 0
push 1
push 0xffffffffffffffff
push edi
push esi
call fcn.005114e0
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50da68
movzx eax, bl
push eax
push esi
call fcn.00508230
add esp, 8
test eax, eax
jne 0x50ef25
mov edx, dword [ebp - 4]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [edx + 1], 0xf9
jne 0x508d89
mov eax, dword [edx + 0x10]
test eax, eax
je 0x508d89
push eax
push dword [ebp - 8]
call fcn.004e8e10
mov edx, dword [ebp - 4]
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 edi, dword [ebp - 8]
cmp eax, dword [edi + 0x6c]
jg 0x50da68
mov byte [edx], 0x47
jmp 0x508db0
mov edx, dword [ebp - 4]
mov bl, byte [ebp - 0x4c]
push edx
push dword [ebp + 8]
call fcn.004d5420
mov edx, dword [ebp - 4]
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 eax, edx
mov byte [ecx + 0xa], bl
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x508c87
mov ebx, dword [ebp - 0x1c]
lea esi, [eax + eax*4]
mov eax, edx
movzx eax, word [eax + 2]
cdq
cmp dword [ebx + esi*8], eax
jne 0x508c87
cmp dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 4]
jne 0x508c8a
mov eax, 0xa10
mov word [ecx + 8], ax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp + 8]
call fcn.004d5420
mov edi, dword [ebx + 0xc]
add esp, 8
cmp dword [ebx + 4], 0
mov ecx, 1
mov edx, dword [ebx + 8]
mov ebx, 0x101
cmovne ecx, ebx
mov dword [eax + 0xc], 0
sub edi, edx
movzx ebx, cx
mov word [eax + 8], bx
lea esi, [eax + 0xc]
test edi, edi
jle 0x508e7e
nop
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.005113d0
dec edi
mov word [esi - 4], bx
add esp, 4
mov dword [esi], 0
test edi, edi
jg 0x508e60
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [esi + 4]
mov edx, 0xff41
mov ebx, dword [ebp - 0x1c]
lea ecx, [eax + eax*4]
mov ax, word [ebx + ecx*8 + 8]
and ax, dx
or ax, 1
mov word [ebx + ecx*8 + 8], ax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d5420
mov esi, eax
mov eax, dword [ebp - 4]
push 0
push 0
push dword [eax + 4]
push dword [eax + 0x10]
push esi
call fcn.005114e0
mov al, byte [ebp - 0x4c]
add esp, 0x1c
mov byte [esi + 0xa], al
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 8]
lea ecx, [ecx - 5]
mov eax, dword [eax + 0x64]
lea edi, [eax + ecx*8]
push edi
call fcn.005118e0
add esp, 4
test eax, eax
jne 0x50da68
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x2400
test word [esi + 8], ax
je 0x508f48
push esi
call fcn.005113d0
add esp, 4
movups xmm0, xmmword [edi]
mov ecx, 0xebff
movups xmmword [esi], xmm0
mov eax, dword [edi + 0x10]
mov edi, dword [ebp - 8]
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
and ax, cx
mov ecx, 0x840
or ax, cx
mov ecx, 4
mov word [esi + 8], ax
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov ebx, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
nop dword [eax]
push edi
push esi
call fcn.00511150
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x508fc6
push esi
call fcn.005110f0
add esp, 4
test eax, eax
jne 0x50ef25
add edi, 0x28
add esi, 0x28
sub ebx, 1
jne 0x508fa0
mov edi, dword [ebp - 8]
lea ecx, [ebx + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov ebx, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push 0x1000
push edi
push esi
call fcn.00511780
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x50902b
push esi
call fcn.005110f0
add esp, 4
test eax, eax
jne 0x50ef25
mov eax, ebx
dec ebx
test eax, eax
je 0x508e7e
add esi, 0x28
add edi, 0x28
jmp 0x509000
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
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.00511780
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
push dword [ebx + eax*8 + 4]
push dword [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.00511390
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
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]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
movzx ecx, word [ebx + 8]
mov al, byte [esi + 8]
or al, cl
mov dword [ebp - 0x50], ecx
test al, 1
je 0x509100
push edi
call fcn.005113d0
mov edi, dword [ebp - 8]
add esp, 4
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
test cl, 0x12
jne 0x509115
push 0
push dword [ebp - 0x4c]
push ebx
call fcn.005117d0
add esp, 0xc
jmp 0x509126
test ecx, 0x4000
je 0x509140
push ebx
call fcn.00510db0
add esp, 4
test eax, eax
jne 0x50ef25
mov ax, word [ebx + 8]
mov ecx, 0xfffd
and ax, cx
movzx eax, ax
mov dword [ebp - 0x50], eax
movzx edx, word [esi + 8]
mov dword [ebp - 0x20], edx
test dl, 0x12
jne 0x509176
push 0
push dword [ebp - 0x4c]
push esi
call fcn.005117d0
add esp, 0xc
test eax, eax
jne 0x50ef25
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx edx, ax
mov dword [ebp - 0x20], edx
jmp 0x5091a1
test edx, 0x4000
je 0x5091a1
push esi
call fcn.00510db0
add esp, 4
test eax, eax
jne 0x50ef25
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx eax, ax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0xc]
add ecx, dword [esi + 0xc]
mov dword [ebp - 0x3c], ecx
cmp ecx, dword [eax + 0x6c]
jg 0x50da68
xor eax, eax
cmp edi, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push edi
call fcn.00510f10
add esp, 0xc
test eax, eax
jne 0x50ef25
mov ax, word [edi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [edi + 8], ax
cmp edi, esi
je 0x509203
push dword [esi + 0xc]
push dword [esi + 0x10]
push dword [edi + 0x10]
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov word [esi + 8], ax
push dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
push dword [ebx + 0x10]
add eax, dword [esi + 0xc]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov eax, dword [ebp - 0x50]
mov word [ebx + 8], ax
mov eax, dword [edi + 0x10]
mov esi, dword [ebp - 4]
mov byte [ecx + eax], 0
mov eax, dword [edi + 0x10]
mov byte [ecx + eax + 1], 0
mov eax, dword [edi + 0x10]
mov byte [ecx + eax + 2], 0
mov eax, 0x200
or word [edi + 8], ax
mov al, byte [ebp - 0x4c]
mov dword [edi + 0xc], ecx
mov ecx, 4
mov byte [edi + 0xa], al
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x1c]
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
mov dword [ebp - 0x28], eax
call fcn.004d4b80
movzx ebx, ax
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
mov dword [ebp - 0x34], esi
call fcn.004d4b80
movzx ecx, ax
mov edx, edi
mov edi, dword [ebp - 0x1c]
and cl, bl
add esp, 8
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [ebp - 0x20], eax
mov ax, word [esi + 8]
mov esi, dword [ebp - 0x28]
or ax, word [esi + 8]
movzx eax, ax
test cl, 4
je 0x5094f3
mov eax, esi
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
movzx eax, byte [edx]
add eax, 0xffffff97
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ecx
cmp eax, 3
ja case.default.0x5092e5
jmp dword [eax*4 + 0x50f5dc]
push esi
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.004e0240
add esp, 0xc
test eax, eax
je 0x5094b8
mov esi, dword [ebp - 0x28]
push esi
call fcn.00511fa0
mov ebx, dword [ebp - 0x34]
fstp qword [ebp - 0x30]
push ebx
call fcn.00511fa0
mov eax, dword [ebp - 4]
add esp, 8
fstp qword [ebp - 0x40]
movzx eax, byte [eax]
add eax, 0xffffff97
cmp eax, 3
ja case.default.0x50932f
jmp dword [eax*4 + 0x50f5ec]
test edi, edi
jne 0x509360
cmp esi, 0x80000000
jne 0x509360
test ecx, ecx
jg 0x509302
jl 0x50934c
test ebx, ebx
jae 0x509302
add ebx, 0
mov dword [ebp - 0x70], ebx
adc ecx, 0x80000000
mov dword [ebp - 0x6c], ecx
jmp 0x5094b8
neg edi
adc esi, 0
neg esi
jmp case.0x5092e5.105
test esi, esi
jl 0x5093d2
jg 0x509373
test edi, edi
je 0x5093c0
push esi
push edi
push 0x7fffffff
push 0xffffffffffffffff
call fcn.00532380
cmp dword [ebp - 0x24], edx
jg 0x509302
jl 0x509394
cmp ebx, eax
ja 0x509302
push esi
push edi
push 0x80000000
push 0
call fcn.00532380
mov ecx, dword [ebp - 0x24]
cmp ecx, edx
jg 0x50945a
jl 0x509302
cmp ebx, eax
jae 0x50945a
jmp 0x509302
test esi, esi
jg 0x50945a
jl 0x5093d2
test edi, edi
jae 0x50945a
test ecx, ecx
jl 0x509407
jg 0x5093dc
test ebx, ebx
je 0x5093fd
push ecx
push ebx
push 0x80000000
push 0
call fcn.00532380
cmp esi, edx
jg 0x509457
jl 0x509302
cmp edi, eax
jae 0x509457
jmp 0x509302
test ecx, ecx
jg 0x50945a
jl 0x509407
test ebx, ebx
jae 0x50945a
test edi, edi
jne 0x509417
cmp esi, 0x80000000
je 0x509302
test ebx, ebx
jne 0x509427
cmp ecx, 0x80000000
je 0x509302
push esi
push edi
push 0x80000000
push 1
call fcn.00532380
mov ecx, ebx
neg ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x24]
adc ecx, 0
neg ecx
cmp ecx, edx
jg 0x509302
jl 0x509457
cmp dword [ebp - 0x3c], eax
ja 0x509302
mov ecx, dword [ebp - 0x24]
push esi
push edi
push ecx
push ebx
call fcn.00532510
jmp 0x5094b2
mov eax, edi
or eax, esi
je 0x5094fb
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x509488
test ebx, ebx
jne 0x509488
cmp ecx, 0x80000000
je 0x509302
push esi
push edi
push ecx
push ebx
call fcn.00532380
jmp 0x5094b2
mov eax, edi
or eax, esi
je 0x5094fb
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x5094a9
mov edi, 1
xor esi, esi
push esi
push edi
push ecx
push ebx
call fcn.00532550
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp - 0x20]
mov edx, 0x3e40
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 0x6c]
mov dword [ecx + 4], eax
mov ax, word [ecx + 8]
and ax, dx
or ax, 4
movzx eax, ax
mov word [ecx + 8], ax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
test al, 1
je 0x509305
push dword [ebp - 0x20]
call fcn.005113d0
mov edi, dword [ebp - 8]
add esp, 4
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
movsd xmm0, qword [ebp - 0x40]
addsd xmm0, qword [ebp - 0x30]
jmp 0x5095a3
movsd xmm0, qword [ebp - 0x40]
subsd xmm0, qword [ebp - 0x30]
jmp 0x5095a3
movsd xmm0, qword [ebp - 0x40]
mulsd xmm0, qword [ebp - 0x30]
jmp 0x5095a3
movsd xmm1, qword [ebp - 0x30]
ucomisd xmm1, qword [ebp - 0x178]
lahf
test ah, 0x44
jnp 0x5094fb
movsd xmm0, qword [ebp - 0x40]
divsd xmm0, xmm1
jmp 0x5095a3
push esi
call fcn.00510150
push ebx
mov esi, eax
mov edi, edx
call fcn.00510150
mov ecx, eax
mov dword [ebp - 0x6c], edx
mov eax, esi
mov dword [ebp - 0x70], ecx
add esp, 8
or eax, edi
je 0x5094fb
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
jne 0x509593
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push ecx
call fcn.00532550
mov ecx, eax
call fcn.00532b30
sub esp, 8
movsd qword [esp], xmm0
call fcn.004f6ec0
add esp, 8
test eax, eax
jne 0x5094fb
mov ecx, dword [ebp - 0x20]
mov edx, 0x3e40
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov ax, word [ecx + 8]
and ax, dx
movsd qword [ecx], xmm0
or ax, 8
movzx eax, ax
mov word [ecx + 8], ax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [esi + 4]
test eax, eax
je 0x508c8f
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
push 0
push 0
lea eax, [ecx + eax*8]
push eax
call fcn.00511390
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edx, [esi + eax*8]
mov al, byte [ecx + 8]
or al, byte [ebx + 8]
mov dword [ebp - 0x3c], edx
test al, 1
je 0x50966a
push edx
call fcn.005113d0
mov esi, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
push ecx
call fcn.00510150
mov edi, eax
mov esi, edx
push ebx
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xf4], esi
call fcn.00510150
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 4]
mov cl, byte [eax]
cmp cl, 0x65
jne 0x50969b
and edi, ebx
and esi, edx
jmp 0x5096fe
cmp cl, 0x66
jne 0x5096a6
or edi, ebx
or esi, edx
jmp 0x5096fe
mov eax, ebx
or eax, edx
je 0x5096fe
test edx, edx
jg 0x5096da
jl 0x5096b6
test ebx, ebx
jae 0x5096cf
mov al, 0xcf
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x5096da
jg 0x5096c8
cmp ebx, 0xffffffc0
jbe 0x5096da
neg ebx
adc edx, 0
neg edx
test edx, edx
jl 0x509730
jg 0x5096da
cmp ebx, 0x40
jb 0x509730
test esi, esi
jg 0x5096f0
jl 0x5096e4
test edi, edi
jae 0x5096f0
cmp cl, 0x67
je 0x5096f0
or edi, 0xffffffff
or esi, edi
jmp 0x5096fe
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x3e40
mov ax, word [ecx + 8]
and ax, dx
mov dword [ecx], edi
mov edi, dword [ebp - 8]
or ax, 4
mov dword [ecx + 4], esi
mov esi, dword [ebp - 4]
mov word [ecx + 8], ax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
movq xmm1, qword [ebp - 0xf8]
movd xmm0, ebx
cmp cl, 0x67
jne 0x50974c
psllq xmm1, xmm0
movq qword [ebp - 0x30], xmm1
jmp 0x5096f8
psrlq xmm1, xmm0
movq qword [ebp - 0x30], xmm1
test esi, esi
jg 0x5096f8
jl 0x50975f
test edi, edi
jae 0x5096f8
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, ebx
or edx, 0xffffffff
call fcn.00532610
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
or edi, eax
or esi, edx
jmp 0x5096fe
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.00511070
mov eax, dword [ebp - 4]
add esp, 4
mov ecx, 4
mov eax, dword [eax + 8]
cdq
add dword [esi], eax
mov eax, dword [ebp - 0x10]
adc dword [esi + 4], edx
mov esi, dword [ebp - 4]
add esi, 0x14
jmp 0x508a65
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx eax, word [esi + 8]
mov ecx, eax
test al, 4
jne 0x509809
test al, 8
jne 0x5097df
test al, 2
je 0x5097e8
push 1
push esi
call fcn.004be2d0
add esp, 8
jmp 0x5097e8
push esi
call fcn.005101a0
add esp, 4
movzx eax, word [esi + 8]
mov ecx, eax
test al, 4
jne 0x509809
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x508ab3
mov eax, 0x14
jmp 0x50ac77
mov eax, dword [ebp - 0x10]
and ecx, 0x3e40
or ecx, 4
mov word [esi + 8], cx
mov ecx, 4
mov esi, dword [ebp - 4]
add esi, 0x14
jmp 0x508a65
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x24
lea eax, [ecx + eax*8]
je 0x508c8a
push eax
call fcn.00511290
mov eax, dword [ebp - 0x10]
add esp, 4
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x509884
push esi
call fcn.00510db0
add esp, 4
test eax, eax
jne 0x50ac77
mov eax, dword [ebp - 4]
push dword [ebp - 0x4c]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.00510c20
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
je 0x508c87
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
jmp 0x50ac80
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
movzx edi, word [ecx + eax*8 + 8]
lea esi, [ecx + eax*8]
movzx eax, word [ebx + 8]
mov ecx, edi
mov edx, ecx
mov dword [ebp - 0x38], eax
or edx, eax
mov dword [ebp - 0x24], ecx
test dl, 1
je 0x509979
mov edi, dword [ebp - 4]
movzx eax, word [edi + 2]
test al, al
jns 0x50991b
mov al, cl
and al, byte [ebp - 0x38]
test al, 1
je 0x50990a
test ecx, 0x100
jne 0x50990a
xor ecx, ecx
jmp 0x509a92
not ecx
and ecx, 1
lea ecx, [ecx*2 - 1]
jmp 0x509a92
test al, 0x20
je 0x50995b
mov eax, dword [edi + 8]
mov edx, 0x3e40
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
lea ecx, [eax + eax*4]
mov dword [ebp - 0x68], 1
mov ax, word [ebx + ecx*8 + 8]
and ax, dx
or ax, 1
mov word [ebx + ecx*8 + 8], ax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
test al, 0x10
jne 0x508ab3
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp - 4]
mov al, byte [eax + 2]
and al, 0x47
cmp al, 0x43
jb 0x509a13
mov ecx, edi
test dl, 2
je 0x5099c7
mov al, byte [ebp - 0x38]
and al, 0x2e
cmp al, 2
jne 0x5099ab
push 0
push ebx
call fcn.004be2d0
movzx eax, word [esi + 8]
add esp, 8
mov dword [ebp - 0x24], eax
mov al, byte [ebp - 0x24]
movzx ecx, word [ebp - 0x24]
and al, 0x2e
cmp al, 2
jne 0x5099c7
push 0
push esi
call fcn.004be2d0
movzx ecx, word [esi + 8]
add esp, 8
and cl, byte [ebx + 8]
test cl, 4
je 0x509a80
mov edi, dword [esi + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [esi]
mov eax, dword [ebx]
cmp edi, edx
jl 0x5099fe
jg 0x5099e7
cmp ecx, eax
jbe 0x5099f4
mov edi, dword [ebp - 4]
mov ecx, 1
jmp 0x509a92
cmp edi, edx
jg 0x509a09
jl 0x5099fe
cmp ecx, eax
jae 0x509a09
mov edi, dword [ebp - 4]
or ecx, 0xffffffff
jmp 0x509a92
mov edi, dword [ebp - 4]
xor ecx, ecx
jmp 0x509a92
cmp al, 0x42
jne 0x509a80
mov al, byte [ebp - 0x38]
mov edi, dword [ebp - 0x4c]
test al, 2
jne 0x509a55
test al, 0x2c
je 0x509a55
push 1
push edi
push ebx
call fcn.005117d0
mov ax, word [ebx + 8]
mov ecx, 0x3e40
xor ax, word [ebp - 0x38]
add esp, 0xc
and ax, cx
xor word [ebp - 0x38], ax
cmp ebx, esi
jne 0x509a55
mov eax, dword [ebp - 0x38]
or eax, 2
movzx eax, ax
mov dword [ebp - 0x24], eax
mov al, byte [ebp - 0x24]
test al, 2
jne 0x509a80
test al, 0x2c
je 0x509a80
push 1
push edi
push esi
call fcn.005117d0
mov ax, word [esi + 8]
mov ecx, 0x3e40
xor ax, word [ebp - 0x24]
add esp, 0xc
and ax, cx
xor word [ebp - 0x24], ax
mov edi, dword [ebp - 4]
push dword [edi + 0x10]
push ebx
push esi
call fcn.004f8b30
add esp, 0xc
mov ecx, eax
movzx eax, byte [edi]
test ecx, ecx
jns 0x509aa1
mov al, byte [eax + 0x583b0c]
jmp 0x509ab1
jne 0x509aab
mov al, byte [eax + 0x583b14]
jmp 0x509ab1
mov al, byte [eax + 0x583b1c]
movzx edx, al
movzx eax, word [ebp - 0x24]
mov word [esi + 8], ax
movzx eax, word [ebp - 0x38]
mov word [ebx + 8], ax
movzx eax, word [edi + 2]
test al, 0x20
je 0x509b22
mov dword [ebp - 0x68], ecx
test al, 8
je 0x509ae3
xor eax, eax
cmp byte [edi], 0x35
sete al
cmp eax, edx
je 0x508e7e
mov eax, dword [edi + 8]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 8]
lea esi, [eax + eax*4]
mov eax, 0x3e40
mov cx, word [ebx + esi*8 + 8]
and cx, ax
mov eax, edx
cdq
or cx, 4
mov word [ebx + esi*8 + 8], cx
mov ecx, 4
mov dword [ebx + esi*8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 4]
add esi, 0x14
jmp 0x508a65
test edx, edx
jne 0x508ab3
mov edi, dword [ebp - 8]
lea ecx, [edx + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
cmp dword [ebp - 0x68], 0
jne 0x508ab3
add esi, 0x14
jmp 0x508a65
mov ebx, dword [ebp - 4]
test byte [ebx + 2], 1
jne 0x509b5d
xor eax, eax
jmp 0x509b63
mov eax, dword [ebx - 4]
add eax, 4
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x20], ebx
mov ebx, dword [esi + 8]
xor esi, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x50], ebx
test ecx, ecx
jle 0x508c87
lea ebx, [edx + 0x14]
nop
test eax, eax
je 0x509b99
mov edi, dword [eax + esi*4]
jmp 0x509b9b
mov edi, esi
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x1c]
push dword [ebx]
movzx eax, byte [eax + esi]
and eax, 1
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov eax, dword [ebp - 0x20]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004f8b30
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x68], ecx
test ecx, ecx
jne 0x509bfb
mov eax, dword [ebp - 0x34]
inc esi
mov edx, dword [ebp - 0x60]
add ebx, 4
cmp esi, dword [ebp - 0x3c]
jl 0x509b90
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
test byte [esi + eax], 2
je 0x509c2d
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
jne 0x509c28
mov eax, dword [ebp - 0x50]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
je 0x509c2d
neg ecx
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x54], 0
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
je 0x508c8a
mov eax, dword [ebp - 0x10]
neg ecx
mov dword [ebp - 0x68], ecx
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 4]
test eax, eax
jns 0x509c76
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x18]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
jne 0x509c92
mov eax, dword [edx + 8]
mov edx, dword [ebp - 0x18]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0x18]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
push 2
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.005081d0
mov ecx, dword [ebx + 8]
mov esi, eax
mov ebx, dword [ebp - 0x1c]
push 2
lea ecx, [ecx + ecx*4]
lea ecx, [ebx + ecx*8]
push ecx
call fcn.005081d0
mov ecx, dword [ebp - 4]
add esp, 0x10
lea eax, [eax + esi*2]
cmp byte [ecx], 0x2c
jne 0x509cf0
mov dl, byte [esi + eax + 0x583b58]
jmp 0x509cf7
mov dl, byte [esi + eax + 0x583b64]
mov eax, dword [ecx + 0xc]
mov esi, 0x3e40
lea ecx, [eax + eax*4]
mov ax, word [ebx + ecx*8 + 8]
and ax, si
movzx esi, ax
cmp dl, 2
jne 0x509d2f
mov eax, 1
or esi, eax
mov word [ebx + ecx*8 + 8], si
mov esi, dword [ebp - 4]
lea ecx, [eax + 3]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
movzx eax, dl
cdq
mov dword [ebx + ecx*8], eax
mov eax, 4
or esi, eax
mov dword [ebx + ecx*8 + 4], edx
mov word [ebx + ecx*8 + 8], si
mov ecx, eax
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.005081d0
mov ecx, dword [ebp - 4]
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.00511390
mov esi, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
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 0x509de7
push 0
push ecx
call fcn.005081d0
neg eax
push 0
sbb eax, eax
inc eax
push eax
push esi
call fcn.00511390
mov esi, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
push esi
call fcn.005113d0
mov esi, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
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.005113d0
add esp, 4
test byte [edi + 8], 1
jne 0x508e7e
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.00510150
mov edi, dword [ebp - 8]
not eax
not edx
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi + 4], edx
mov ecx, 4
mov esi, dword [ebp - 4]
add esi, 0x14
jmp 0x508a65
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x509ecc
mov ecx, dword [ebp - 4]
mov eax, 0x66666667
sub ecx, dword [esi + 0x68]
mov edi, dword [edi + 0x18]
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 0x508ab3
mov eax, dword [ebp + 8]
bts edx, ecx
mov byte [esi + edi], dl
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 4]
mov ecx, 4
mov dword [edi + 4], eax
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov ecx, dword [esi + 0x68]
mov edi, dword [ebp - 4]
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 4]
je 0x508ab6
mov esi, dword [ebp - 4]
mov ecx, 4
mov dword [edi + 4], eax
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.005081d0
add esp, 8
test eax, eax
jne 0x508ab3
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
xor eax, eax
mov ecx, dword [ebp - 0x1c]
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.005081d0
add esp, 8
test eax, eax
je 0x508ab3
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
jne 0x508ab3
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x508ab3
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 2], 0
je 0x508c8a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.005113d0
add esp, 4
jmp 0x508ab3
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edx, dword [edx + 8]
mov dword [ebp - 0x50], edx
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x38], esi
cmp byte [esi + 3], 0
je 0x50a075
mov eax, dword [esi + 0x18]
test eax, eax
je 0x50a06d
mov eax, dword [eax + edx*4 + 4]
test eax, eax
jle 0x50a06d
mov esi, dword [esi + 0x24]
dec eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov edi, dword [esi + 0x48]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], edi
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x48], ecx
cmp eax, dword [edx + 0x20]
je 0x50a161
cmp byte [esi + 2], 0
je 0x50a0b2
cmp byte [esi], 3
jne 0x50a093
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8 + 0xc]
mov dword [edi], eax
mov dword [esi + 0x50], eax
mov eax, dword [ebx + ecx*8 + 0x10]
mov dword [esi + 0x4c], eax
jmp 0x50a0e6
push esi
call fcn.0050fb70
jmp 0x50a083
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
je 0x50a019
push esi
call fcn.004cfe40
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
jmp 0x50a020
push ecx
call fcn.005113d0
mov edi, dword [ebp - 8]
add esp, 4
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov esi, dword [esi + 0x28]
push esi
call fcn.004cf010
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi + 0x2c]
lea edi, [ecx + 0x54]
mov dword [ecx + 0x50], eax
push edi
push esi
call fcn.004e51b0
mov esi, dword [ebp - 0x38]
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x50]
cmp eax, dword [edx + 0x6c]
ja 0x50da68
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x4c]
mov cl, byte [eax]
cmp cl, 0x80
jae 0x50a105
movzx eax, cl
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov al, 1
jmp 0x50a111
push dword [ebp - 0x24]
push eax
call fcn.004f4da0
add esp, 8
movzx ecx, al
lea edx, [esi + 0x3a]
xor eax, eax
mov dword [esi + 0x30], ecx
mov word [edx], ax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov ebx, dword [eax]
cmp dword [edi], ebx
jae 0x50a154
mov dword [edi], 0
mov edi, eax
mov dword [esi + 0x4c], 0
mov eax, dword [edi]
cmp eax, 0x18003
ja 0x50a2fd
mov dword [ebp - 0x28], edx
cmp eax, dword [esi + 0x50]
jbe 0x50a167
jmp 0x50a2fd
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x54], eax
xor eax, eax
jmp 0x50a1e6
lea edx, [esi + 0x3a]
mov dword [ebp - 0x28], edx
movzx edx, word [edx]
mov ecx, dword [ebp - 0x50]
mov eax, edx
cmp eax, ecx
jg 0x50a391
mov ecx, dword [esi + 0x30]
mov ebx, dword [edi]
cmp ecx, ebx
jae 0x50a32d
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x50a1de
xorps xmm0, xmm0
lea eax, [ebp - 0x268]
push eax
movups xmmword [ebp - 0x268], xmm0
movups xmmword [ebp - 0x258], xmm0
movq qword [ebp - 0x248], xmm0
push dword [edi]
push 0
push dword [esi + 0x28]
call fcn.00510ea0
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac74
mov eax, dword [ebp - 0x258]
mov ecx, dword [esi + 0x30]
mov ebx, dword [edi]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
jmp 0x50a1e6
mov eax, edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov esi, dword [ebp - 0x54]
xor edx, edx
add esi, ecx
movzx edi, ax
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x24]
add ecx, ebx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x58
mov dword [ebp - 0x34], edi
mov eax, dword [eax + edi*4]
lea edi, [ecx + edi*4]
nop word [eax + eax]
movzx ebx, byte [esi]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x7c], ebx
mov dword [edi], ebx
cmp ebx, 0x80
jae 0x50a235
movzx eax, byte [ebx + 0x583a70]
mov ecx, 1
cdq
jmp 0x50a252
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.004f4da0
mov ebx, dword [ebp - 0x7c]
push ebx
movzx ecx, al
mov dword [edi], ebx
call fcn.00512c00
add esp, 0xc
xor edx, edx
add eax, dword [ebp - 0x3c]
adc edx, dword [ebp - 0x60]
add esi, ecx
mov ecx, dword [ebp - 0x34]
add edi, 4
mov dword [ebp - 0x3c], edx
inc ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov dword [edx + ecx*4], eax
mov edx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x50]
jg 0x50a27f
cmp esi, dword [ebp - 0x20]
jb 0x50a210
mov edi, dword [ebp - 0x20]
jmp 0x50a286
mov edi, dword [ebp - 0x20]
cmp esi, edi
jb 0x50a298
cmp esi, edi
mov edi, dword [ebp - 0x38]
ja 0x50a2a6
cmp eax, dword [edi + 0x50]
jne 0x50a2a6
test edx, edx
jne 0x50a2a6
jmp 0x50a29b
mov edi, dword [ebp - 0x38]
test edx, edx
jb 0x50a2b3
ja 0x50a2a6
cmp eax, dword [edi + 0x50]
jbe 0x50a2b3
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x50a2e8
mov esi, dword [ebp - 0x20]
xor ecx, ecx
sub esi, dword [ebp - 0x54]
movzx eax, cx
mov ecx, dword [ebp - 0x28]
mov dword [edi + 0x30], esi
mov esi, dword [ebp - 0x38]
mov word [ecx], ax
cmp dword [esi + 0x4c], 0
jne 0x50a2e0
lea eax, [ebp - 0x268]
push eax
call fcn.00511300
mov eax, dword [ebp - 0x28]
add esp, 4
movzx eax, word [eax]
mov edi, dword [ebp - 0x24]
movzx eax, ax
jmp 0x50a334
cmp dword [edi + 0x4c], 0
jne 0x50a2fd
lea eax, [ebp - 0x268]
push eax
call fcn.00511300
add esp, 4
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x50ece4
lea eax, [eax + eax*4]
mov ecx, 4
lea eax, [eax - 5]
lea edi, [ebx + eax*4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
add esi, 0x14
jmp 0x508a65
xor ebx, ebx
mov eax, edx
mov dword [ebp - 0x7c], ebx
movzx eax, ax
cmp eax, dword [ebp - 0x50]
jg 0x50a398
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0xf5
jne 0x50a36f
push 0x800
push dword [eax + 0x10]
mov eax, dword [ebp - 0x48]
push eax
call fcn.00511780
mov edi, dword [ebp - 8]
add esp, 0xc
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp - 0x48]
push eax
call fcn.005113d0
mov edi, dword [ebp - 8]
add esp, 4
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov ebx, dword [esi + ecx*4 + 0x58]
mov dword [ebp - 0x7c], ebx
mov ecx, dword [ebp - 0x48]
mov eax, 0x2400
test word [ecx + 8], ax
je 0x50a3b2
push ecx
call fcn.005113d0
mov ecx, dword [ebp - 0x48]
add esp, 4
mov edx, dword [ebp - 0x50]
mov eax, dword [esi + 0x54]
cmp eax, dword [edi + edx*4 + 4]
jb 0x50a474
mov eax, dword [ebp - 0x24]
mov edi, dword [esi + 0x4c]
add edi, dword [eax + edx*4]
cmp ebx, 0xc
jae 0x50a3f1
push ecx
push ebx
push edi
call fcn.00512950
mov edi, dword [ebp - 8]
add esp, 0xc
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov al, byte [ebp - 0x4c]
lea esi, [ebx - 0xc]
shr esi, 1
mov byte [ecx + 0xa], al
mov dword [ecx + 0xc], esi
lea eax, [esi + 2]
cmp dword [ecx + 0x18], eax
jge 0x50a42c
push 0
push eax
mov edx, 1
push ecx
mov word [ecx + 8], dx
call fcn.00510f10
add esp, 0xc
test eax, eax
jne 0x50ef25
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x10]
jmp 0x50a432
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
push esi
push edi
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x48]
add esp, 0xc
mov edi, dword [ebp - 8]
and ebx, 1
mov eax, dword [ecx + 0x10]
mov byte [esi + eax], 0
mov eax, dword [ecx + 0x10]
mov byte [esi + eax + 1], 0
mov ax, word [ebx*2 + 0x583b70]
mov esi, dword [ebp - 4]
mov word [ecx + 8], ax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov al, byte [ebp - 0x4c]
mov byte [ecx + 0xa], al
mov eax, dword [ebp - 4]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x50a493
cmp ebx, 0xc
jb 0x50a48f
test bl, 1
je 0x50a4a0
test al, al
js 0x50a4a0
push ebx
call fcn.00512c00
add esp, 4
test eax, eax
jne 0x50a4c5
push ecx
push ebx
push 0x583090
call fcn.00512950
mov edi, dword [ebp - 8]
add esp, 0xc
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push ecx
push eax
push dword [edi + edx*4]
push dword [esi + 0x28]
call fcn.00510ea0
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac74
mov esi, dword [ebp - 0x48]
push esi
push ebx
push dword [esi + 0x10]
call fcn.00512950
mov edi, dword [ebp - 8]
mov eax, 0xefff
add esp, 0xc
mov ecx, 4
and word [esi + 8], ax
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov al, byte [edi]
push dword [ebp - 0x4c]
mov byte [ebp - 0xb8], al
push dword [ebp - 0xb8]
push esi
call fcn.004be260
add esp, 0xc
cmp byte [edi], 0x45
jne 0x50a589
movzx ebx, word [esi + 8]
test bl, 4
je 0x50a589
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add ecx, 0
mov eax, edx
adc eax, 0x8000
cmp eax, 0xffff
ja 0x50a571
jb 0x50a566
cmp ecx, 0xffffffff
ja 0x50a571
and ebx, 0xfffb
or ebx, 0x20
jmp 0x50a585
mov ecx, dword [esi]
call fcn.00532b30
and ebx, 0xfffb
movsd qword [esi], xmm0
or ebx, 8
mov word [esi + 8], bx
mov al, byte [edi + 1]
inc edi
test al, al
je 0x508e7e
add esi, 0x28
jmp 0x50a523
mov ebx, dword [ebp - 4]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], ecx
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 0x10]
movlpd qword [ebp - 0x64], xmm0
lea eax, [eax + eax*4]
lea edx, [esi + eax*8]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x48], edx
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea ebx, [edx + eax*8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], ebx
mov al, byte [eax + 0x93]
mov byte [ebp - 0x41], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [ebp - 0x20], eax
test edi, edi
je 0x50a641
mov al, byte [edi]
lea esi, [edx + 8]
mov ebx, dword [ebp - 0x4c]
mov byte [ebp - 0xbc], al
nop dword [eax]
push ebx
push dword [ebp - 0xbc]
lea eax, [esi - 8]
push eax
call fcn.004be260
add esp, 0xc
cmp byte [edi], 0x45
jne 0x50a62a
movzx eax, word [esi]
test al, 4
je 0x50a62a
and eax, 0xfffb
or eax, 0x20
mov word [esi], ax
mov al, byte [edi + 1]
inc edi
add esi, 0x28
mov byte [ebp - 0xbc], al
test al, al
jne 0x50a600
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x60]
lea edx, [ebx + 0x1c]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x50], eax
movzx ebx, word [edx - 0x14]
mov dword [ebp - 0x34], edx
test bl, 1
je 0x50a67d
and ebx, 0x4000
neg ebx
sbb ebx, ebx
and ebx, 0xa
inc ecx
mov dword [edx], ebx
jmp 0x50a88c
test bl, 0x24
je 0x50a7f9
mov ecx, dword [edx - 0x18]
mov eax, dword [edx - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], ecx
test ecx, ecx
jg 0x50a6a7
jl 0x50a69c
test eax, eax
jae 0x50a6a7
mov ecx, eax
mov eax, dword [edx - 0x18]
not ecx
not eax
jmp 0x50a6ac
mov ecx, eax
mov eax, dword [edx - 0x18]
inc dword [ebp - 0x28]
test eax, eax
ja 0x50a781
jb 0x50a6be
cmp ecx, 0x7f
ja 0x50a706
mov eax, dword [edx - 0x1c]
and eax, 1
mov dword [ebp - 0x34], 0
cmp eax, dword [edx - 0x1c]
jne 0x50a6eb
mov eax, dword [ebp - 0x34]
cmp eax, dword [edx - 0x18]
jne 0x50a6eb
cmp byte [ebp - 0x41], 4
jb 0x50a6eb
lea eax, [ecx + 8]
mov ecx, dword [ebp - 0x28]
mov dword [edx], eax
jmp 0x50a88f
mov ecx, dword [ebp - 0x28]
add edi, 1
mov eax, 1
mov dword [ebp - 0x24], edi
adc esi, 0
mov dword [edx], eax
mov dword [ebp - 0x38], esi
jmp 0x50a88f
test eax, eax
ja 0x50a781
jb 0x50a714
cmp ecx, 0x7fff
ja 0x50a72f
mov ecx, dword [ebp - 0x28]
add edi, 2
mov eax, 2
mov dword [ebp - 0x24], edi
adc esi, 0
mov dword [edx], eax
mov dword [ebp - 0x38], esi
jmp 0x50a88f
test eax, eax
ja 0x50a781
jb 0x50a73d
cmp ecx, 0x7fffff
ja 0x50a758
mov ecx, dword [ebp - 0x28]
add edi, 3
mov eax, 3
mov dword [ebp - 0x24], edi
adc esi, 0
mov dword [edx], eax
mov dword [ebp - 0x38], esi
jmp 0x50a88f
test eax, eax
ja 0x50a781
jb 0x50a766
cmp ecx, 0x7fffffff
ja 0x50a781
mov ecx, dword [ebp - 0x28]
add edi, 4
mov eax, 4
mov dword [ebp - 0x24], edi
adc esi, 0
mov dword [edx], eax
mov dword [ebp - 0x38], esi
jmp 0x50a88f
cmp eax, 0x7fff
ja 0x50a7aa
jb 0x50a78f
cmp ecx, 0xffffffff
ja 0x50a7aa
mov ecx, dword [ebp - 0x28]
add edi, 6
mov eax, 5
mov dword [ebp - 0x24], edi
adc esi, 0
mov dword [edx], eax
mov dword [ebp - 0x38], esi
jmp 0x50a88f
add edi, 8
mov dword [ebp - 0x24], edi
adc esi, 0
mov dword [ebp - 0x38], esi
test bl, 0x20
je 0x50a7ea
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
call fcn.00532b30
mov edx, dword [ebp - 0x34]
and ebx, 0xffdf
mov ecx, dword [ebp - 0x28]
or ebx, 8
mov eax, 7
movsd qword [edx - 0x1c], xmm0
mov word [edx - 0x14], bx
mov dword [edx], eax
jmp 0x50a88f
mov ecx, dword [ebp - 0x28]
mov eax, 6
mov dword [edx], eax
jmp 0x50a88f
test bl, 8
je 0x50a813
inc ecx
mov dword [edx], 7
add edi, 8
mov dword [ebp - 0x24], edi
adc esi, 0
mov dword [ebp - 0x38], esi
jmp 0x50a88c
mov edi, dword [edx - 0x10]
mov eax, ebx
shr eax, 1
and eax, 1
test ebx, 0x4000
mov ebx, dword [ebp - 0x24]
lea ecx, [edi + 6]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x60], ecx
je 0x50a867
lea esi, [edx - 0x1c]
mov eax, ebx
or eax, dword [ebp - 0x38]
mov edx, dword [esi]
lea ecx, [ecx + edx*2]
mov dword [ebp - 0x60], ecx
je 0x50a85b
push esi
call fcn.00510db0
add esp, 4
test eax, eax
jne 0x50ef25
add edi, dword [esi]
mov ecx, dword [ebp - 0x60]
jmp 0x50a864
mov eax, edx
cdq
add dword [ebp - 0x50], eax
adc dword [ebp - 0x54], edx
mov esi, dword [ebp - 0x38]
add ebx, edi
push 0
adc esi, 0
mov dword [ebp - 0x24], ebx
push ecx
mov dword [ebp - 0x38], esi
call fcn.00507ca0
mov edx, dword [ebp - 0x34]
add esp, 8
mov ecx, dword [ebp - 0x28]
mov edi, ebx
add ecx, eax
mov eax, dword [ebp - 0x60]
mov dword [edx], eax
mov dword [ebp - 0x28], ecx
lea eax, [edx - 0x1c]
cmp eax, dword [ebp - 0x48]
je 0x50a89f
sub edx, 0x28
jmp 0x50a65c
cmp ecx, 0x7e
jle 0x50a8cd
mov eax, ecx
cdq
push edx
push eax
call fcn.00507ca0
mov esi, eax
mov eax, dword [ebp - 0x28]
add eax, esi
mov dword [ebp - 0x28], eax
cdq
push edx
push eax
call fcn.00507ca0
mov ecx, dword [ebp - 0x28]
add esp, 0x10
cmp esi, eax
mov esi, dword [ebp - 0x38]
jge 0x50a8d1
inc ecx
mov dword [ebp - 0x28], ecx
mov eax, ecx
cdq
add edi, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov ebx, edx
adc esi, ebx
mov ecx, edi
add ecx, dword [ebp - 0x50]
mov eax, dword [eax + 0x18]
adc esi, dword [ebp - 0x54]
cdq
cmp esi, edx
jg 0x50a901
jl 0x50a8f6
cmp ecx, eax
ja 0x50a901
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
jmp 0x50a933
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6c]
cdq
cmp esi, edx
jg 0x50da68
jl 0x50a91a
cmp ecx, eax
ja 0x50da68
mov eax, edi
push eax
push dword [ebp - 0x20]
call fcn.00510d10
add esp, 8
test eax, eax
jne 0x50ef25
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x50]
mov eax, 0x10
mov word [edx + 8], ax
mov eax, ecx
or eax, dword [ebp - 0x54]
mov dword [edx + 0xc], edi
je 0x50a954
mov eax, 0x4010
mov dword [edx], ecx
mov word [edx + 8], ax
mov eax, dword [ebp - 0x28]
mov esi, dword [edx + 0x10]
lea edi, [esi + eax]
cmp eax, 0x80
jae 0x50a96d
mov byte [esi], al
mov eax, 1
jmp 0x50a97a
push ebx
push dword [ebp - 0x2c]
push esi
call fcn.004fe760
add esp, 0xc
mov edx, dword [ebp - 0x48]
movzx eax, al
add esi, eax
mov ebx, dword [edx + 0x1c]
cmp ebx, 0x80
jae 0x50a996
mov byte [esi], bl
mov eax, 1
jmp 0x50a9a5
push 0
push ebx
push esi
call fcn.004fe760
mov edx, dword [ebp - 0x48]
add esp, 0xc
movzx eax, al
add esi, eax
lea eax, [ebx - 1]
mov dword [ebp - 0x2c], esi
cmp eax, 6
ja 0x50a9d7
mov ecx, dword [edx]
mov eax, dword [edx + 4]
movzx edx, byte [ebx + 0x583a70]
mov esi, edx
dec edx
mov byte [edi + edx], cl
shrd ecx, eax, 8
shr eax, 8
test edx, edx
jne 0x50a9c3
mov edx, dword [ebp - 0x48]
jmp 0x50a9f7
cmp ebx, 0xc
jb 0x50a9f5
mov esi, dword [edx + 0xc]
test esi, esi
je 0x50a9f7
push esi
push dword [edx + 0x10]
push edi
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x48]
add esp, 0xc
jmp 0x50a9f7
xor esi, esi
add edx, 0x28
add edi, esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x48], edx
cmp edx, dword [ebp - 0x3c]
jbe 0x50a982
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x40], xmm0
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x28]
push esi
call fcn.004d2f90
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc], ebx
cmp ebx, 0x10
jne 0x50aa6d
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
movlpd qword [ebp - 0x30], xmm0
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
jmp 0x50ab43
test ebx, ebx
jne 0x50ab2f
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
nop
cmp dword [edi + 0x110], 0
jne 0x50ab2f
mov edi, dword [esi + 0x74]
mov cl, byte [edi + 8]
test cl, cl
jne 0x50aa9c
cmp byte [edi + 2], cl
jne 0x50aad1
movzx eax, word [edi + 0x18]
cdq
add dword [ebp - 0x34], eax
adc ebx, edx
test cl, cl
je 0x50aad1
nop word [eax + eax]
cmp byte [esi + 0x44], 0
push esi
je 0x50ab1f
call fcn.004d2e50
mov edi, dword [esi + 0x74]
add esp, 4
movzx eax, word [esi + 0x46]
cmp ax, word [edi + 0x18]
jae 0x50aab0
inc eax
mov word [esi + 0x46], ax
movzx ecx, word [esi + 0x46]
movzx eax, word [edi + 0x18]
cmp ecx, eax
jne 0x50aaea
movzx ecx, byte [edi + 9]
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax + 8]
jmp 0x50ab04
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax]
bswap eax
push eax
push esi
call fcn.004d2d10
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ab2f
mov edi, dword [ebp - 8]
jmp 0x50aa80
call fcn.004d2f90
mov esi, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x50ab38
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50ac77
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d5420
add esp, 8
mov dword [eax], esi
mov dword [eax + 4], ebx
jmp 0x50c627
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x10]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x50ac34
mov esi, dword [ebp - 8]
cmp dword [esi + 0xb8], eax
jg 0x50ecf9
push edi
call fcn.00504bd0
mov ecx, dword [esi + 0x1e0]
mov ebx, eax
add ecx, dword [esi + 0x1dc]
push ecx
push 0
push esi
call fcn.00513f50
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ed0e
lea eax, [ebx + 0x21]
push 0
push eax
push esi
call fcn.004e8e80
mov esi, eax
add esp, 0xc
test esi, esi
je 0x508e7e
lea ecx, [ebx + 1]
push ecx
lea edx, [esi + 0x20]
push edi
push edx
mov dword [esi], edx
call sub.msvcrt.dll_memcpy
mov edi, dword [ebp - 8]
add esp, 0xc
cmp byte [edi + 0x4f], 0
je 0x50abe8
mov byte [edi + 0x4f], 0
mov byte [edi + 0x57], 1
jmp 0x50abee
inc dword [edi + 0x1dc]
mov eax, dword [edi + 0x1d4]
mov ecx, 4
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 - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp - 8]
xor ebx, ebx
mov esi, dword [eax + 0x1d4]
test esi, esi
je 0x50ac5e
push edi
push dword [esi]
call fcn.00504b70
add esp, 8
test eax, eax
je 0x50aceb
mov esi, dword [esi + 0x18]
inc ebx
test esi, esi
jne 0x50ac43
push edi
push str.no_such_savepoint:__s
push dword [ebp + 8]
call fcn.00508970
add esp, 0xc
mov eax, 1
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
cmp byte [edi + 0x51], 0
mov edx, 7
cmovne eax, edx
cmp dword [ecx + 0x7c], 0
mov dword [ebp - 0xc], eax
jne 0x50f1e2
cmp eax, 0xc0a
je 0x50f1e2
mov ecx, str.unknown_error
sub eax, 0x64
je 0x50f1c6
sub eax, 1
je 0x50f1bf
sub eax, 0x19f
je 0x50f1b8
mov eax, dword [ebp - 0xc]
movzx eax, al
cmp eax, 0x1d
jae 0x50f1cb
mov eax, dword [eax*4 + 0x587290]
test eax, eax
je 0x50f1cb
mov ecx, eax
jmp 0x50f1cb
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0x48]
cmp dword [edx + 0xb8], 0
jle 0x50ad03
cmp edi, 1
je 0x50ed15
cmp dword [esi + 0x18], 0
jne 0x50ad71
cmp byte [edx + 0x57], 0
je 0x50ad71
mov dword [ebp - 0x60], 1
cmp edi, 1
jne 0x50ad78
push edi
push dword [ebp + 8]
call fcn.00508410
mov ecx, eax
add esp, 8
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x50f2bb
mov eax, dword [ebp - 8]
push dword [ebp + 8]
mov byte [eax + 0x4f], 1
call fcn.0050fe00
add esp, 4
cmp eax, 5
je 0x50ed2f
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x50ad68
mov byte [edx + 0x4f], 0
jmp 0x50ae54
mov byte [edx + 0x57], 0
jmp 0x50ae5c
mov dword [ebp - 0x60], 0
mov ecx, dword [edx + 0x1dc]
mov eax, dword [edx + 0x14]
sub ecx, ebx
dec ecx
mov dword [ebp - 0x20], ecx
cmp edi, 2
jne 0x50ade1
mov edx, dword [edx + 0x18]
xor ebx, ebx
and edx, 1
mov dword [ebp - 0x34], edx
test eax, eax
jle 0x50ade6
mov ecx, edx
xor ecx, 1
xor edi, edi
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 8]
push ecx
push 0x204
mov eax, dword [eax + 0x10]
push dword [edi + eax + 4]
call fcn.004e5900
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac74
mov eax, dword [ebp - 8]
inc ebx
mov ecx, dword [ebp - 0x2c]
add edi, 0x10
mov eax, dword [eax + 0x14]
cmp ebx, eax
jl 0x50ada5
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
jmp 0x50ade6
xor edx, edx
mov dword [ebp - 0x34], edx
xor ebx, ebx
test eax, eax
jle 0x50ae25
xor edi, edi
nop
mov eax, dword [ebp - 8]
push ecx
push dword [ebp - 0x48]
mov eax, dword [eax + 0x10]
push dword [edi + eax + 4]
call fcn.004e53d0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac74
mov edx, dword [ebp - 8]
inc ebx
mov ecx, dword [ebp - 0x20]
add edi, 0x10
cmp ebx, dword [edx + 0x14]
jl 0x50adf0
mov edx, dword [ebp - 0x34]
jmp 0x50ae28
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x50ae4b
mov ebx, dword [ebp - 8]
push 0
push ebx
call fcn.004eac30
push ebx
call fcn.004ff300
mov eax, dword [ebp - 0xc]
mov edx, ebx
add esp, 0xc
or dword [edx + 0x18], 1
jmp 0x50ae4e
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x20]
test eax, eax
jne 0x50ac74
mov ecx, dword [edx + 0x1d4]
cmp ecx, esi
je 0x50ae99
mov edi, dword [ebp - 8]
nop dword [eax]
mov eax, dword [ecx + 0x18]
push ecx
push edi
mov dword [edi + 0x1d4], eax
call fcn.004e8e10
mov ecx, dword [edi + 0x1d4]
add esp, 8
dec dword [edi + 0x1dc]
cmp ecx, esi
jne 0x50ae70
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 8]
cmp edi, 1
jne 0x50aec6
mov eax, dword [esi + 0x18]
push esi
push edx
mov dword [edx + 0x1d4], eax
call fcn.004e8e10
add esp, 8
cmp dword [ebp - 0x60], 0
jne 0x508e7e
mov eax, dword [ebp - 8]
dec dword [eax + 0x1dc]
jmp 0x50aef9
cmp dword [ebp - 0x60], 0
mov eax, dword [esi + 8]
mov dword [edx + 0x1e8], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0x1ec], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0x1f0], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 0x1f4], eax
je 0x50aef9
cmp edi, 2
jne 0x508e7e
push ebx
push edi
mov edi, dword [ebp - 8]
push edi
call fcn.00513f50
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov dword [ebp - 0x8c], 0
mov edx, dword [edx + 8]
test edx, edx
je 0x50af48
mov eax, dword [edi + 0x20]
and eax, 0x100000
or eax, 0
jne 0x50ed67
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
test esi, esi
je 0x50b05e
lea eax, [ebp - 0x8c]
push eax
push edx
push esi
call fcn.004e2c10
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ed71
mov edx, dword [ebp + 8]
test byte [edx + 0x98], 0x80
je 0x50b064
mov ebx, dword [ebp - 4]
cmp dword [ebx + 8], eax
je 0x50b064
cmp byte [edi + 0x4f], al
je 0x50afa9
cmp dword [edi + 0xb4], 1
jle 0x50b064
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x50afc5
mov eax, dword [edi + 0x1dc]
inc dword [edi + 0x1e0]
add eax, dword [edi + 0x1e0]
mov dword [edx + 0x30], eax
dec eax
push eax
push 0
push edi
call fcn.00513f50
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50b035
cmp byte [esi + 9], 0
mov eax, dword [ebp + 8]
mov ebx, dword [esi + 4]
mov edi, dword [eax + 0x30]
je 0x50affa
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x50affa
push esi
call fcn.004c1490
add esp, 4
mov eax, dword [ebx]
cmp edi, dword [eax + 0x60]
jle 0x50b016
cmp byte [eax + 6], 0
je 0x50b016
push edi
push eax
call fcn.004d5e40
add esp, 8
mov dword [ebp - 0xc], eax
jmp 0x50b01d
mov dword [ebp - 0xc], 0
cmp byte [esi + 9], 0
je 0x50b032
add dword [esi + 0xc], 0xffffffff
jne 0x50b032
push esi
call fcn.0051d640
add esp, 4
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 8]
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 0x50b061
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
cmp word [esi + 2], 0
je 0x50b09a
mov eax, dword [ebp - 0x8c]
cmp eax, dword [esi + 0xc]
jne 0x50eda6
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 0x50eda6
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50ac77
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xe4]
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.004e3b80
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d5420
mov ecx, eax
add esp, 0x14
mov eax, dword [ebp - 0xe4]
jmp 0x508c81
mov edx, dword [ebp - 4]
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.004e5a60
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 8]
cmp eax, 1
jne 0x50b122
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
or dword [edi + 0x18], 1
jmp 0x50b130
cmp eax, 2
jne 0x50b130
mov ecx, dword [esi + 0xc]
mov al, byte [edx + 0xc]
mov byte [ecx + 0x4c], al
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 1
jne 0x50b14e
push 0
push edi
call fcn.004eac30
mov edx, dword [ebp + 8]
add esp, 8
and dword [edx + 0x98], 0xfffffffc
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov ebx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je case.0x508a7d.96
mov eax, dword [esi + 0x34]
cmp eax, dword [ebx + 8]
je 0x50b283
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x98]
and al, 3
cmp al, 1
je 0x50ee2a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov eax, ecx
shl eax, 4
add eax, dword [edi + 0x10]
cmp dl, 0x61
mov edx, dword [ebp - 4]
mov dword [ebp - 0x2c], ecx
mov esi, dword [eax + 4]
mov dword [ebp - 0x60], esi
jne 0x50b1ef
mov eax, dword [eax + 0xc]
movzx edi, word [edx + 2]
mov esi, dword [ebp + 8]
and edi, 8
or edi, 4
mov al, byte [eax + 0x4c]
cmp al, byte [esi + 0x93]
jae 0x50b1f1
mov byte [esi + 0x93], al
jmp 0x50b1f1
xor edi, edi
test byte [edx + 2], 0x10
je 0x50b211
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + ebx*4]
lea esi, [ecx + eax*8]
push esi
call fcn.00511070
mov ebx, dword [esi]
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov al, byte [edx + 1]
cmp al, 0xf7
jne 0x50b224
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x34], eax
movzx eax, word [eax + 8]
jmp 0x50b230
cmp al, 0xfd
jne 0x50b22d
mov eax, dword [edx + 0x10]
jmp 0x50b230
mov eax, dword [ebp - 0x3c]
push 0
push ecx
push eax
push dword [edx + 4]
push dword [ebp + 8]
call fcn.004bd320
mov esi, eax
add esp, 0x14
test esi, esi
je 0x50ef25
push dword [esi + 0x28]
or dword [esi + 8], 4
push dword [ebp - 0x34]
mov byte [esi + 2], 1
push edi
push ebx
push dword [ebp - 0x60]
mov dword [esi + 0x34], ebx
call fcn.004e36c0
mov edi, dword [ebp - 8]
add esp, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0xf7
setne al
mov byte [esi + 4], al
mov eax, dword [ebp - 4]
mov cl, byte [eax + 2]
mov eax, dword [esi + 0x28]
and cl, 3
mov byte [eax + 3], cl
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 8]
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.004bd320
mov edi, eax
add esp, 0x14
test edi, edi
je 0x50f1a6
or dword [edi + 8], 1
push dword [edi + 0x28]
mov byte [edi + 2], 1
mov esi, dword [ebx + 0x2c]
mov dword [edi + 0x2c], esi
mov al, byte [ebx + 4]
mov byte [edi + 4], al
mov edx, dword [ebx + 0x34]
mov dword [edi + 0x34], edx
mov eax, dword [ebx + 8]
xor eax, dword [edi + 8]
push esi
push 4
and eax, 4
xor dword [edi + 8], eax
push edx
push dword [ebx + 0xc]
call fcn.004e36c0
mov edi, dword [ebp - 8]
mov ecx, eax
mov esi, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x50b374
mov eax, dword [esi + 0xc]
test eax, eax
je 0x50b374
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.004e2f30
add esp, 0xc
mov dword [ebp - 0xc], eax
jmp 0x50b461
push 0
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push dword [ebp + 8]
call fcn.004bd320
mov esi, eax
add esp, 0x14
test esi, esi
je 0x50ef28
mov eax, dword [ebp - 4]
lea edi, [esi + 0xc]
or dword [esi + 8], 1
push 0x41e
movzx ecx, word [eax + 2]
mov eax, dword [ebp - 8]
or ecx, 5
push ecx
push edi
push eax
push 0
push dword [eax]
call fcn.004e4b00
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50b43e
push eax
push 1
push dword [edi]
call fcn.004e2c10
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50b43e
mov ecx, dword [ebp - 4]
lea ebx, [esi + 0x34]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [esi + 0x2c], eax
test eax, eax
je 0x50b41e
movzx eax, word [ecx + 2]
or eax, 2
push eax
push ebx
push dword [edi]
call fcn.004e3670
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50b418
push dword [esi + 0x28]
push dword [ebp - 0x2c]
push 4
push dword [ebx]
push dword [edi]
call fcn.004e36c0
add esp, 0x14
mov dword [ebp - 0xc], eax
mov byte [esi + 4], 0
jmp 0x50b43e
push dword [esi + 0x28]
mov dword [ebx], 1
push 0
push 4
push 1
push dword [edi]
call fcn.004e36c0
add esp, 0x14
mov dword [ebp - 0xc], eax
mov byte [esi + 4], 1
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edi, dword [ebp - 8]
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 - 0xc]
mov dword [esi + 8], ecx
test eax, eax
jne 0x50ac77
mov byte [esi + 2], 1
lea ecx, [eax + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
push 1
push 0xffffffffffffffff
push dword [edx + 8]
push dword [edx + 4]
push dword [ebp + 8]
call fcn.004bd320
add esp, 0x14
test eax, eax
je 0x50ef28
mov edx, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x2c], ecx
push dword [edx + 0xc]
push edi
call fcn.00512d80
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
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 dword [edx + 0x14], eax
je 0x508ab3
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
push 3
push 0xffffffffffffffff
push dword [edx + 0xc]
push dword [edx + 4]
push dword [ebp + 8]
call fcn.004bd320
add esp, 0x14
test eax, eax
je 0x50ef28
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov byte [eax + 2], 1
mov ecx, dword [ecx + 8]
mov dword [eax + 0x20], ecx
mov ecx, 4
mov byte [eax + 4], 1
mov dword [eax + 0x28], 0x5b9dd3
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
push dword [eax + ecx*4]
push esi
call fcn.0050fc80
mov eax, dword [ebp - 4]
add esp, 8
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x60]
mov esi, dword [ebp - 4]
mov dword [eax + ecx*4], 0
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1c]
cmp byte [esi + 4], 0
mov word [esi + 2], 0
mov dword [esi + 0x1c], 0
je 0x50b6a6
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
movzx eax, word [edi + 8]
mov dword [ebp - 0x2c], eax
and al, 0x2e
cmp al, 2
jne 0x50b5ea
push 0
push edi
call fcn.004be2d0
add esp, 8
push edi
call fcn.00510150
movzx ecx, word [edi + 8]
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
mov word [edi + 8], ax
test cl, 0x24
jne 0x50b66d
test cl, 8
jne 0x50b63f
test cl, 1
jne 0x508ab3
cmp ebx, 0x18
jae 0x508ab3
lea eax, [ebp - 0x58]
push eax
push dword [esi + 0x28]
call fcn.004e44c0
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac74
jmp 0x50b7c6
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
call fcn.00532b30
movsd xmm1, qword [edi]
comisd xmm0, xmm1
jbe 0x50b661
test bl, 1
lea eax, [ebx - 1]
cmove eax, ebx
mov ebx, eax
jmp 0x50b66d
comisd xmm1, xmm0
jbe 0x50b66d
test bl, 1
jne 0x50b66d
inc ebx
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x58]
push eax
push 0
push dword [ebp - 0x34]
push edi
push 0
push dword [esi + 0x28]
call fcn.004e4550
mov dword [ebp - 0xc], eax
add esp, 0x18
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x40], edi
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50ac77
jmp 0x50b738
mov eax, dword [esi + 0x28]
mov al, byte [eax + 3]
and al, 2
mov byte [ebp - 0x41], al
mov eax, 0
setne al
test bl, 1
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x108], eax
mov ax, word [edx + 0x10]
mov word [ebp - 0x100], ax
sete al
mov byte [ebp - 0xfa], 0
lea eax, [eax*2 - 1]
mov byte [ebp - 0xfe], al
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push dword [esi + 0x28]
call fcn.004e4550
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
cmp byte [ebp - 0x41], al
je 0x50b738
cmp byte [ebp - 0xfa], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
je 0x50b7c6
mov eax, dword [ebp - 0x58]
cmp ebx, 0x18
jl 0x50b7ae
test eax, eax
js 0x50b777
jne 0x50b74b
cmp ebx, 0x19
je 0x50b777
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x20], 0
mov edi, dword [ebp - 8]
lea eax, [ecx + 0x14]
cmove eax, ecx
mov ecx, 4
mov dword [ebp - 4], eax
mov esi, eax
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x58], 0
call fcn.004e4a90
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x50b752
cmp eax, 0x65
jne 0x50ac77
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x58], 1
jmp 0x508ab3
test eax, eax
jg 0x50b7d2
jne 0x50b7b9
cmp ebx, 0x16
je 0x50b7d2
mov eax, dword [esi + 0x28]
xor ecx, ecx
cmp byte [eax], cl
setne cl
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0
jne 0x508ab3
jmp 0x50b752
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x58], 0
call fcn.004e51f0
jmp 0x50b788
mov edx, dword [ebp - 4]
mov esi, edx
mov eax, dword [ebp + 8]
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, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [edx + 0x60]
cmp dword [eax + ecx*4], 0
je 0x50e754
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [edx + 0x60]
mov eax, dword [eax + ecx*4]
test byte [eax + 8], 8
jne 0x508c8a
jmp 0x50b855
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [edx + 0x60]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
test ecx, ecx
jle 0x50b894
mov eax, dword [ebx + 0x2c]
lea edi, [ebp - 0x188]
mov dword [ebp - 0x184], esi
xor esi, esi
mov dword [ebp - 0x188], eax
mov word [ebp - 0x180], cx
jmp 0x50b8dc
mov eax, 0x4000
test word [esi + 8], ax
je 0x50b8b0
push esi
call fcn.00510db0
add esp, 4
test eax, eax
jne 0x50ef28
push dword [ebx + 0x2c]
call fcn.00508120
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x50ef25
push edi
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [ebx + 0x2c]
call fcn.00512760
add esp, 0x10
mov esi, edi
mov eax, dword [ebp - 4]
mov byte [edi + 0xa], 0
mov dword [ebp - 0x3c], 0
cmp byte [eax], 0x1c
jne 0x50b916
movzx edx, word [edi + 8]
xor ecx, ecx
test edx, edx
je 0x50b916
mov eax, dword [edi + 4]
add eax, 8
nop
test byte [eax], 1
jne 0x50b90f
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x50b900
jmp 0x50b916
mov dword [ebp - 0x3c], 1
lea eax, [ebp - 0xe8]
push eax
push 0
push 0
push 0
push edi
push dword [ebx + 0x28]
call fcn.004e4550
mov edi, dword [ebp - 8]
add esp, 0x18
mov dword [ebp - 0xc], eax
test esi, esi
je 0x50b946
push esi
push edi
call fcn.004e8e10
mov eax, dword [ebp - 0xc]
add esp, 8
test eax, eax
jne 0x50ac77
mov eax, dword [ebp - 0xe8]
xor ecx, ecx
mov esi, dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x20], eax
sete cl
mov byte [ebx + 3], 0
test eax, eax
mov dword [ebx + 0x1c], 0
setne al
mov byte [ebx + 2], al
cmp byte [esi], 0x1e
jne 0x50b991
test ecx, ecx
jne 0x508ab3
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
cmp dword [ebp - 0x3c], 0
jne 0x508ab3
test ecx, ecx
je 0x508ab3
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x24
jne 0x50ba44
movups xmm1, xmmword [ebx + eax*8]
movups xmm0, xmmword [ebx + eax*8 + 0x10]
movups xmmword [ebp - 0x1d8], xmm1
movups xmmword [ebp - 0x1c8], xmm0
movq xmm0, qword [ebx + eax*8 + 0x20]
psrldq xmm1, 8
movd eax, xmm1
movq qword [ebp - 0x1b8], xmm0
test al, 4
jne 0x50ba30
test al, 8
jne 0x50ba13
test al, 2
je 0x50ba28
lea eax, [ebp - 0x1d8]
push 1
push eax
call fcn.004be2d0
add esp, 8
jmp 0x50ba22
lea eax, [ebp - 0x1d8]
push eax
call fcn.005101a0
add esp, 4
mov al, byte [ebp - 0x1d0]
test al, 4
je 0x508ab6
mov edi, dword [ebp - 0x1d8]
mov ebx, dword [ebp - 0x1d4]
jmp 0x50ba51
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
mov edi, dword [ebx + eax*8]
mov ebx, dword [ebx + eax*8 + 4]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc0], 0
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0xc0]
push eax
push 0
push ebx
push edi
push 0
push dword [esi + 0x28]
call fcn.004e4550
mov dword [ebp - 0xc], eax
add esp, 0x18
mov eax, dword [ebp - 0xc0]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
mov word [esi + 2], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], eax
test eax, eax
je 0x50d98a
mov edi, dword [ebp - 4]
cmp dword [edi + 8], 0
jne 0x508ab6
push 0x15dab
call fcn.004e78a0
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x50d98d
mov ebx, dword [ebp - 4]
mov esi, dword [ebp + 8]
push ebx
push esi
call fcn.004d5420
mov ecx, dword [esi + 0x60]
add esp, 8
mov edx, dword [ebx + 4]
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, ebx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x60]
mov esi, ebx
mov eax, dword [eax + ecx*4]
mov ecx, 4
add dword [eax + 0x10], 1
adc dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov ebx, dword [ebp - 4]
xorps xmm0, xmm0
push ebx
push dword [ebp + 8]
movlpd qword [ebp - 0x78], xmm0
mov dword [ebp - 0x80], 0
call fcn.004d5420
mov edx, dword [ebx + 4]
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov ebx, dword [ecx + edx*4]
mov dword [ebp - 0x20], ebx
test byte [ebx + 8], 2
jne 0x50bbb3
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x28]
call fcn.004e44c0
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
cmp dword [ebp - 0x80], eax
je 0x50bb78
mov edi, 1
xor esi, esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], esi
jmp 0x50bbb9
mov esi, dword [ebx + 0x28]
push esi
call fcn.004cf010
mov edi, dword [esi + 0x20]
add esp, 4
mov esi, dword [esi + 0x24]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], esi
cmp esi, 0x7fffffff
jl 0x50bba5
jg 0x50bb9f
cmp edi, 0xffffffff
jb 0x50bba5
or dword [ebx + 8], 2
jmp 0x50bbb9
add edi, 1
mov dword [ebp - 0x78], edi
adc esi, 0
mov dword [ebp - 0x74], esi
jmp 0x50bbb9
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x50bc3e
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x50bbeb
mov eax, dword [edx + 4]
test eax, eax
je 0x50bbe0
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x50bbd7
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*8]
jmp 0x50bbf4
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x1c]
lea ebx, [ecx + eax*8]
push ebx
call fcn.00511070
mov eax, dword [ebx]
add esp, 4
mov ecx, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x50bc13
cmp ecx, 0x7fffffff
je 0x50bc97
mov edx, dword [ebp - 0x20]
test byte [edx + 8], 2
jne 0x50bc97
add eax, 1
adc ecx, 0
cmp esi, ecx
jg 0x50bc36
jl 0x50bc2c
cmp edi, eax
jae 0x50bc36
mov edi, eax
mov esi, ecx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], esi
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov ebx, dword [ebp - 0x20]
test byte [ebx + 8], 2
je 0x50bca4
xor ebx, ebx
lea eax, [ebp - 0x78]
push eax
push 8
call fcn.004ae590
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x80]
mov edi, dword [ebp - 0x78]
and esi, 0x3fffffff
push eax
mov eax, dword [ebp - 0x20]
add edi, 1
push 0
adc esi, 0
mov dword [ebp - 0x78], edi
push esi
push edi
push 0
push dword [eax + 0x28]
mov dword [ebp - 0x74], esi
call fcn.004e4550
add esp, 0x20
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac74
cmp dword [ebp - 0x80], eax
jne 0x50bca1
inc ebx
cmp ebx, 0x64
jl 0x50bc46
mov eax, 0xd
jmp 0x50ac74
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ecx, 4
mov byte [ebx + 3], 0
mov dword [ebx + 0x1c], 0
mov dword [eax], edi
mov edi, dword [ebp - 8]
mov dword [eax + 4], esi
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
lea edi, [eax + eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x60], esi
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8]
mov dword [ebp - 0x1a8], ecx
mov eax, dword [ebx + eax*8 + 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1a4], eax
jne 0x50bd2d
mov eax, dword [ebp - 8]
cmp dword [eax + 0xf0], 0
je 0x50bd2d
movsx ecx, byte [esi + 1]
mov eax, dword [eax + 0x10]
add ecx, ecx
mov ebx, dword [edx + 0x10]
mov ecx, dword [eax + ecx*8]
mov dword [ebp - 0x3c], ecx
jmp 0x50bd32
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
movzx eax, word [edx + 2]
mov edx, eax
test al, 1
je 0x50bd49
mov eax, dword [ebp + 8]
inc dword [eax + 0x2c]
mov eax, dword [ebp - 4]
movzx edx, word [eax + 2]
movzx ecx, dx
test dl, 0x20
je 0x50bd67
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + edi*8 + 0x10]
mov dword [ebp - 0x1a0], eax
mov eax, dword [edx + edi*8 + 0xc]
mov dword [ebp - 0x194], eax
test cl, 0x10
je 0x50bd88
mov edx, dword [esi + 0x20]
jmp 0x50bd8a
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov esi, 0x4000
test word [eax + edi*8 + 8], si
mov esi, dword [ebp - 0x60]
je 0x50bda7
mov eax, dword [eax + edi*8]
mov dword [ebp - 0x190], eax
jmp 0x50bdb1
mov dword [ebp - 0x190], 0
push edx
and ecx, 0xa
mov dword [ebp - 0x1b0], 0
push ecx
lea eax, [ebp - 0x1b0]
push eax
push dword [esi + 0x28]
call fcn.004e3be0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x50ac74
mov edi, dword [ebp - 8]
test ebx, ebx
je 0x508c87
push dword [ebp - 0x1a4]
mov eax, dword [ebp - 4]
mov ecx, 0x17
push dword [ebp - 0x1a8]
push dword [ebx]
test byte [eax + 2], 4
mov eax, 0x12
push dword [ebp - 0x3c]
cmovne eax, ecx
push eax
push dword [edi + 0xec]
mov eax, dword [edi + 0xf0]
call eax
mov esi, dword [ebp - 4]
add esp, 0x18
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
jne 0x50bea2
mov eax, dword [ebp - 8]
cmp dword [eax + 0xf0], 0
je 0x50bea2
movsx ecx, byte [edi + 1]
mov eax, dword [eax + 0x10]
add ecx, ecx
test byte [edx + 2], 2
mov ebx, dword [edx + 0x10]
mov esi, dword [eax + ecx*8]
mov dword [ebp - 0x2c], esi
je 0x50bea6
cmp byte [edi + 4], 0
je 0x50bea6
mov esi, dword [edi + 0x28]
push esi
call fcn.004cf010
mov eax, dword [esi + 0x20]
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x24]
mov esi, dword [ebp - 0x2c]
mov dword [edi + 0x44], eax
jmp 0x50bea6
xor esi, esi
xor ebx, ebx
movzx eax, byte [edx + 2]
push eax
push dword [edi + 0x28]
call fcn.004e3730
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
test eax, eax
jne 0x50ac74
test byte [ebp - 0x3c], 1
je 0x508e7e
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
inc dword [edx + 0x2c]
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x508e7e
test byte [ebx + 0x24], 0x80
jne 0x508e7e
push dword [edi + 0x44]
push dword [edi + 0x40]
mov edi, dword [ebp - 8]
push dword [ebx]
push esi
push 9
push dword [edi + 0xec]
call eax
mov esi, dword [ebp - 4]
add esp, 0x18
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add dword [edi + 0x68], eax
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [edx + 0x10]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov edi, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x2c]
lea eax, [eax + eax*4]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x50bf8a
push ebx
call fcn.00508120
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [edi + 0x20], eax
test eax, eax
je 0x50c075
mov word [eax + 8], si
lea eax, [ebp - 0xec]
push eax
push edi
call fcn.00521710
mov edi, dword [ebp - 0x3c]
push edi
push eax
push dword [ebp - 0xec]
push ebx
call fcn.00512760
add esp, 0x18
xor ecx, ecx
test esi, esi
jle 0x50bfc8
mov eax, dword [edi + 4]
add eax, 8
test byte [eax], 1
jne 0x50def9
inc ecx
add eax, 0x28
cmp ecx, esi
jl 0x50bfb7
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
push 0
push edi
push dword [ebx + eax*8 + 0x10]
push dword [ebx + eax*8 + 0xc]
call fcn.00512010
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x508ab3
mov edi, dword [ebp - 8]
lea ecx, [eax + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x28]
cmp byte [eax + 0x38], 0
je 0x50c058
cmp byte [eax + 0x39], 0
je 0x50c037
mov eax, dword [eax + 0x10]
mov ebx, dword [eax + 0x20]
lea edi, [eax + 0x14]
jmp 0x50c05e
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 0x20]
lea eax, [eax + ecx*8]
lea edi, [eax + 0x14]
jmp 0x50c05e
mov edi, dword [eax + 0x24]
lea ebx, [edi + 8]
mov edi, dword [edi]
cmp dword [esi + 0x18], edi
jge 0x50c07f
push 0
push edi
push esi
call fcn.00510f10
add esp, 0xc
test eax, eax
je 0x50c08a
mov eax, 7
jmp 0x50ac74
mov eax, dword [esi + 0x14]
and word [esi + 8], 0x2d
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
mov ecx, 0x3e40
push edi
and ax, cx
mov dword [esi + 0xc], edi
push ebx
push dword [esi + 0x10]
or ax, 0x10
mov word [esi + 8], ax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], 0
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, 4
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edi, dword [ebp - 4]
push edi
push dword [ebp + 8]
call fcn.004d5420
mov edx, dword [edi + 4]
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov ecx, dword [ecx + edx*4]
mov edi, dword [ecx + 0x28]
push edi
call fcn.004cf010
mov edx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [edi + 0x2c]
cmp eax, dword [edx + 0x6c]
ja 0x50da68
push esi
push eax
push 0
push edi
call fcn.00510ea0
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac74
mov edi, dword [ebp - 4]
cmp dword [edi + 0xc], eax
jne 0x508e7e
mov eax, 0x1000
test word [esi + 8], ax
je 0x508e7e
push esi
call fcn.005110f0
mov edi, dword [ebp - 8]
add esp, 4
test eax, eax
jne 0x50ef28
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push dword [ebp - 4]
mov esi, dword [ebp + 8]
push esi
call fcn.004d5420
mov ecx, dword [ebp - 4]
add esp, 8
mov edi, eax
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x60]
mov esi, dword [ecx + edx*4]
cmp byte [esi + 2], 0
je 0x50c1ae
mov esi, dword [ebp - 4]
mov eax, 1
mov word [edi + 8], ax
mov edi, dword [ebp - 8]
lea ecx, [eax + 3]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
cmp byte [esi + 3], 0
je 0x50c1e7
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x98], ecx
mov eax, dword [esi + 0x44]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x94], eax
mov dword [edi], ecx
mov ecx, 4
mov eax, dword [ebp - 0x94]
mov dword [edi + 4], eax
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
cmp byte [esi], 2
jne 0x50c241
mov ecx, dword [esi + 0x28]
lea edx, [ebp - 0x98]
push edx
push ecx
mov esi, dword [ecx]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.00513d40
mov eax, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
jne 0x50ac74
mov ecx, dword [ebp - 0x98]
mov esi, dword [ebp - 4]
mov dword [edi], ecx
mov ecx, 4
mov eax, dword [ebp - 0x94]
mov dword [edi + 4], eax
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push esi
call fcn.00508740
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac74
cmp byte [esi + 2], al
je 0x50c277
mov esi, dword [ebp - 4]
mov eax, 1
mov word [edi + 8], ax
mov edi, dword [ebp - 8]
lea ecx, [eax + 3]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov esi, dword [esi + 0x28]
push esi
call fcn.004cf010
mov ecx, dword [esi + 0x20]
add esp, 4
mov dword [ebp - 0x98], ecx
mov eax, dword [esi + 0x24]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x94], eax
mov dword [edi], ecx
mov ecx, 4
mov eax, dword [ebp - 0x94]
mov dword [edi + 4], eax
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
cmp byte [esi], 0
mov byte [esi + 2], 1
mov dword [esi + 0x1c], 0
jne 0x508c87
mov esi, dword [esi + 0x28]
push dword [esi + 0x10]
call fcn.004ae470
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi + 0x10], 0
mov ecx, 4
mov byte [esi], 1
mov esi, dword [ebp - 4]
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc4], 0
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x28]
cmp dl, 0x81
jne 0x50c32f
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je 0x508c87
lea ecx, [ebp - 0xc4]
push ecx
push eax
call fcn.004e44c0
mov dword [ebp - 0xc], eax
add esp, 8
cmp dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc4]
mov byte [esi + 2], al
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
jne 0x50eef4
mov esi, dword [ebp - 4]
cmp dword [esi + 8], 0
jle 0x508c8a
test eax, eax
jne 0x508ab3
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x28]
lea eax, [ebp - 0xc8]
push eax
push esi
mov dword [ebp - 0x3c], esi
call fcn.004e3ad0
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
cmp dword [ebp - 0xc8], eax
jne 0x508ab3
cmp byte [esi], al
jne 0x508c87
mov eax, dword [esi + 0x74]
cmp byte [eax + 8], 0
je 0x508c87
movzx eax, word [eax + 0x18]
xor bl, bl
cdq
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x3c]
movsx ecx, byte [eax + 0x44]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
jle 0x50c413
xor ecx, ecx
nop
mov eax, dword [eax + ecx*4 + 0x78]
push edi
push esi
movzx eax, word [eax + 0x18]
cdq
push edx
push eax
call fcn.00532510
inc bl
mov esi, eax
mov eax, dword [ebp - 0x3c]
mov edi, edx
movzx ecx, bl
cmp ecx, dword [ebp - 0x2c]
jl 0x50c3f0
test edi, edi
jl 0x508e7e
jg 0x50c425
test esi, esi
jb 0x508e7e
push edi
push esi
call fcn.004f8560
mov edi, dword [ebp - 4]
add esp, 8
cwde
cmp eax, dword [edi + 0xc]
jge 0x508e7e
mov dword [ebp - 0xc8], 1
jmp 0x508ab6
mov eax, dword [ebp + 8]
inc dword [eax + 0xac]
jmp 0x50c459
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ebx, 1
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x84], ebx
mov ecx, dword [edx + 4]
mov edi, dword [eax + ecx*4]
mov esi, dword [edi + 0x28]
cmp byte [edi], bl
jne 0x50c4cb
cmp byte [esi + 0x38], 0
mov dword [ebp - 0xc], 0
jne 0x50c4a1
cmp dword [esi + 0x24], 0
lea eax, [esi + 0x24]
je 0x50c4ef
push eax
lea eax, [esi + 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 0x84], ebx
call fcn.00521990
jmp 0x50c4e9
push esi
call fcn.00520fd0
push eax
push esi
call fcn.005210f0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50c4ef
push esi
call fcn.00521770
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x84], ebx
jmp 0x50c4ec
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004e3ad0
mov ebx, dword [ebp - 0x84]
mov byte [edi + 3], 0
mov dword [edi + 0x1c], 0
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50ac74
mov byte [edi + 2], bl
test ebx, ebx
jne 0x508ab3
mov edi, dword [ebp - 8]
lea ecx, [eax + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
mov esi, dword [edi + 0x28]
cmp byte [esi + 0x38], 0
je 0x50c592
cmp byte [esi + 0x39], 0
je 0x50c560
push dword [esi + 0x10]
call fcn.00520250
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50c5e8
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x18], 0
jne 0x50c5c3
mov eax, 0x65
jmp 0x50c5e5
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
push eax
push dword [esi + 0x14]
call fcn.0051fca0
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50c5e8
cmp dword [ebp - 0x9c], eax
je 0x50c5e8
mov eax, 0x65
jmp 0x50c5e5
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 4]
mov dword [esi + 0x24], eax
mov dword [ecx + 4], 0
cmp dword [esi + 0x28], 0
jne 0x50c5b4
push ecx
push dword [ebp - 8]
call fcn.00521690
add esp, 8
xor ecx, ecx
mov eax, 0x65
cmp dword [esi + 0x24], ecx
cmovne eax, ecx
jmp 0x50c5e5
mov eax, dword [ebp - 0xc]
jmp 0x50c5e8
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
push dword [edx + 0xc]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0x10]
push dword [edi + 0x28]
call eax
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [edi + 0x1c], 0
test eax, eax
jne 0x50c612
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 4]
mov byte [edi + 2], al
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx eax, word [eax + 2]
inc dword [edx + eax*4 + 0xa4]
jmp 0x50e754
cmp eax, 0x65
jne 0x50ac74
xor ecx, ecx
mov byte [edi + 2], 1
mov dword [ebp - 0xc], ecx
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 8]
cmp dword [edi + 0x110], 0
jne 0x50f16b
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
cmp esi, ebx
jb 0x508c87
nop word [eax + eax]
mov eax, dword [edi + 0x158]
test eax, eax
je 0x508c87
add ebx, dword [edi + 0x160]
push dword [edi + 0x15c]
mov dword [ebp - 0x14], ebx
call eax
add esp, 4
test eax, eax
jne 0x50f2f6
cmp esi, ebx
jae 0x50c650
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [edx + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
test byte [ecx + 2], 1
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
je 0x50c6b6
inc dword [edx + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x50c6d5
push esi
call fcn.00510db0
add esp, 4
test eax, eax
jne 0x50ac74
mov ecx, dword [ebp - 4]
cmp byte [ecx], 0x82
jne 0x50c6e6
push esi
push edi
call fcn.00513390
add esp, 8
jmp 0x50c746
mov eax, dword [esi + 0xc]
cdq
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2ac], edx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [ebp - 0x2a4], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0x2a0], ax
movzx eax, word [ecx + 2]
test al, 0x10
je 0x50c726
mov ecx, dword [edi + 0x20]
jmp 0x50c728
xor ecx, ecx
push ecx
and eax, 0xa
push eax
lea eax, [ebp - 0x2b8]
push eax
push dword [edi + 0x28]
call fcn.004e3be0
add esp, 0x10
mov dword [edi + 0x1c], 0
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
mov dword [ebp - 0x160], eax
mov ax, word [edx + 0xc]
mov word [ebp - 0x158], ax
mov eax, dword [edx + 8]
mov byte [ebp - 0x156], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0xf0]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x160]
push eax
push edi
call fcn.004e4550
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac74
cmp dword [ebp - 0xf0], eax
jne 0x50c7ea
push 4
push edi
call fcn.004e3730
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac74
mov edi, dword [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov esi, dword [ebp - 4]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + ecx*4]
push ebx
mov dword [ebp - 0x2c], ebx
call fcn.00508740
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
cmp byte [ebx + 2], al
jne 0x50c9fe
mov edi, dword [ebx + 0x28]
push edi
call fcn.004cf010
mov ebx, dword [edi + 0x28]
xor eax, eax
movzx ecx, word [edi + 0x30]
add esp, 4
mov esi, dword [edi + 0x2c]
mov word [ebp - 0x148], ax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x130], eax
mov eax, dword [edi + 0x74]
mov dword [ebp - 0x138], 0
mov eax, dword [eax + 0x3c]
sub eax, ebx
cmp ecx, eax
jle 0x50c884
xor edx, edx
mov ecx, eax
test eax, eax
cmovs ecx, edx
cmp esi, ecx
ja 0x50c8a2
mov eax, 0x1010
mov dword [ebp - 0x140], ebx
mov word [ebp - 0x148], ax
mov dword [ebp - 0x144], esi
jmp 0x50c8c9
lea eax, [ebp - 0x150]
push eax
push esi
push 0
push edi
call fcn.0051f770
add esp, 0x10
test eax, eax
jne 0x50ac74
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebp - 0x144]
mov al, byte [ebx]
cmp al, 0x80
jae 0x50c8da
movzx edi, al
mov dword [ebp - 0xa0], edi
jmp 0x50c8f0
lea eax, [ebp - 0xa0]
push eax
push ebx
call fcn.004f4da0
mov edi, dword [ebp - 0xa0]
add esp, 8
cmp edi, 3
jb 0x50ee34
cmp edi, esi
ja 0x50ee34
lea eax, [ebx - 1]
add eax, edi
mov cl, byte [eax]
cmp cl, 0x80
jae 0x50c918
movzx ecx, cl
mov dword [ebp - 0xa4], ecx
jmp 0x50c92e
lea ecx, [ebp - 0xa4]
push ecx
push eax
call fcn.004f4da0
mov ecx, dword [ebp - 0xa4]
add esp, 8
lea eax, [ecx - 1]
cmp eax, 8
ja 0x50ee34
cmp ecx, 7
je 0x50ee34
movzx edx, byte [ecx + 0x583a70]
lea eax, [edx + edi]
cmp esi, eax
jb 0x50ee34
lea eax, [ebp - 0x2e0]
sub esi, edx
push eax
push ecx
add esi, ebx
push esi
call fcn.00512950
lea eax, [ebp - 0x150]
push eax
call fcn.00511300
mov edi, dword [ebp - 4]
add esp, 0x10
mov dword [ebp - 0xc], 0
cmp byte [edi], 0x85
jne 0x50c9cb
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x2e0]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0x2dc]
mov dword [ecx + 0x44], eax
mov word [ecx + 2], 0x100
mov eax, dword [edi + 0x10]
mov edi, dword [ebp - 8]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x24], eax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push edi
push dword [ebp + 8]
call fcn.004d5420
mov ecx, dword [ebp - 0x2e0]
add esp, 8
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2dc]
mov dword [eax + 4], ecx
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.005113d0
mov esi, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 3], 0
je 0x508c8a
push eax
call fcn.0050fb70
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edi, dword [ebp - 4]
cmp dl, 0x28
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x170], eax
mov ax, word [edi + 0x10]
mov word [ebp - 0x168], ax
sbb al, al
mov byte [ebp - 0x166], al
xor esi, esi
mov eax, dword [edi + 0xc]
mov edi, dword [ecx + 0x28]
push edi
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0x16c], eax
call fcn.004cf010
mov edx, dword [edi + 0x2c]
xor eax, eax
add esp, 4
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x50cb4d
jb 0x50cace
cmp ecx, 0x7ffffffe
ja 0x50cb4d
xor eax, eax
mov dword [ebp - 0x1e8], esi
mov word [ebp - 0x1f8], ax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1e0], eax
lea eax, [ebp - 0x200]
push eax
push edx
push 0
push edi
call fcn.00510ea0
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x50cb74
push eax
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
call fcn.00512010
add esp, 0x10
mov esi, eax
test dword [ebp - 0x1f8], 0x2400
jne 0x50cb35
cmp dword [ebp - 0x1e8], 0
je 0x50cb44
lea eax, [ebp - 0x200]
push eax
call fcn.0051f6e0
add esp, 4
mov dword [ebp - 0xc], 0
jmp 0x50cb74
push 0x58cf94
push 0x14157
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
xor esi, esi
call fcn.004b7420
add esp, 0x14
mov dword [ebp - 0xc], 0xb
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov eax, dword [ebp - 0xc]
and cl, 1
test eax, eax
jne 0x50ac74
lea eax, [esi + 1]
neg esi
test cl, cl
cmovne esi, eax
test esi, esi
jg 0x508ab3
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d5420
mov edx, dword [ebp - 8]
mov edi, eax
mov eax, 1
add esp, 8
mov word [edi + 8], ax
mov ecx, dword [edx + 0xc0]
inc ecx
cmp dword [edx + 0xb4], ecx
jg 0x50ee80
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xa8], 0
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ecx, eax
shl ecx, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x2c], ecx
mov esi, dword [ecx + eax + 4]
cmp byte [esi + 9], 0
je 0x50cc1b
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x50cc1b
push esi
call fcn.004c1490
add esp, 4
lea eax, [ebp - 0xa8]
push eax
push ebx
push esi
call fcn.004c0d70
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp byte [esi + 9], 0
je 0x50cc44
add dword [esi + 0xc], 0xffffffff
jne 0x50cc44
push esi
call fcn.0051d640
add esp, 4
mov esi, dword [ebp - 0xa8]
mov ecx, 4
mov eax, esi
mov word [edi + 8], cx
cdq
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], edx
test eax, eax
jne 0x50ac74
test esi, esi
je 0x50eaf6
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x10]
mov ecx, dword [edi + ebx + 0xc]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x50cc9d
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], esi
jne 0x50cc93
mov dword [ecx + 0x1c], edx
mov eax, dword [eax]
test eax, eax
jne 0x50cc88
mov ecx, dword [edi + ebx + 0xc]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x50ccb5
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x2c], esi
jne 0x50ccaf
mov dword [ecx + 0x2c], edx
mov eax, dword [eax]
test eax, eax
jne 0x50cca4
mov al, byte [ebp - 0x3c]
mov ecx, 4
mov edi, dword [ebp - 8]
inc al
mov esi, dword [ebp - 4]
mov byte [ebp - 0x59], al
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xac]
xor ecx, ecx
mov dword [ebp - 0xac], 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.004e2f30
mov esi, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [esi + 0xc], 0
je 0x50cd36
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xac]
add dword [edx + 0x2c], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x50cd33
mov ebx, dword [ebp - 0x1c]
lea ecx, [ecx + ecx*4]
cdq
add dword [ebx + ecx*8], eax
adc dword [ebx + ecx*8 + 4], edx
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50ac77
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 1
jne 0x50cd7f
push dword [eax + 0x28]
push edi
call fcn.00512f40
mov esi, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov eax, dword [eax + 0x28]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.004e2f30
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d5420
mov esi, eax
mov dword [ebp - 0xb0], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push dword [eax + 0xc]
shl ecx, 4
lea eax, [ebp - 0xb0]
add ecx, dword [edi + 0x10]
push eax
push dword [ecx + 4]
call fcn.004e3670
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
mov eax, dword [ebp - 0xb0]
mov ecx, 4
cdq
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], edx
mov esi, dword [ebp - 4]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
inc byte [edi + 0x5a]
push 0
push 0
push 0
push dword [edx + 0x10]
push edi
call fcn.004ad290
dec byte [edi + 0x5a]
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x10]
mov esi, dword [edx + 4]
test ecx, ecx
jne 0x50ce91
mov eax, dword [edi + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.005009b0
mov eax, dword [ebp + 8]
and dword [edi + 0x18], 0xffffffef
add eax, 0x7c
push 1
push eax
push esi
push edi
call fcn.004f59d0
mov edx, dword [ebp + 8]
add esp, 0x14
or dword [edi + 0x18], 1
mov dword [ebp - 0xc], eax
and dword [edx + 0x98], 0xfffffffc
jmp 0x50cf4c
mov eax, dword [ebp + 8]
add eax, 0x7c
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], eax
add esi, esi
mov eax, dword [edi + 0x10]
push ecx
push str.sqlite_master
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x118], 0
push dword [eax + esi*8]
push str.SELECTFROM__w_._s_WHERE__s_ORDER_BY_rowid
push edi
call fcn.004f8700
mov esi, eax
add esp, 0x14
test esi, esi
je 0x50ee99
push 0
lea eax, [ebp - 0x128]
mov byte [edi + 0xa5], 1
push eax
push fcn.004f5790
push esi
push edi
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x114], 0
call fcn.004ad290
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50cf38
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50cf38
cmp dword [ebp - 0x114], eax
jne 0x50cf38
push 0x16344
call fcn.004e78a0
add esp, 4
mov dword [ebp - 0xc], eax
push esi
push edi
call fcn.004e8e10
mov eax, dword [ebp - 0xc]
add esp, 8
mov byte [edi + 0xa5], 0
test eax, eax
jne 0x50eea0
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
push dword [edx + 4]
push edi
call fcn.004e1030
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
push 0
mov eax, dword [edx + 4]
push dword [edx + 0x10]
shl eax, 4
add eax, dword [edi + 0x10]
mov eax, dword [eax + 0xc]
add eax, 8
push eax
call fcn.004f4fe0
add esp, 0xc
test eax, eax
je 0x50cfcd
cmp dword [edi + 0x1f8], 0
jne 0x50cfc3
add dword [eax + 0x20], 0xffffffff
jne 0x50cfcd
push eax
push edi
call fcn.004c7450
add esp, 8
or dword [edi + 0x18], 1
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x10]
push 0
mov ecx, dword [edx + 4]
push dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
add eax, 0x18
push eax
call fcn.004f4fe0
mov edx, eax
add esp, 0xc
test edx, edx
je 0x50cfcd
mov esi, dword [edx + 0xc]
mov ecx, dword [esi + 8]
cmp ecx, edx
jne 0x50d03b
mov eax, dword [edx + 0x14]
push edx
push edi
mov dword [esi + 8], eax
call fcn.004f18c0
mov esi, dword [ebp - 4]
add esp, 8
or dword [edi + 0x18], 1
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
test ecx, ecx
je 0x50d074
nop
mov eax, dword [ecx + 0x14]
cmp eax, edx
je 0x50d06e
mov ecx, eax
test ecx, ecx
jne 0x50d040
push edx
push edi
call fcn.004f18c0
mov esi, dword [ebp - 4]
add esp, 8
or dword [edi + 0x18], 1
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
push edx
push edi
call fcn.004f18c0
mov esi, dword [ebp - 4]
add esp, 8
or dword [edi + 0x18], 1
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x10]
push 0
mov ecx, dword [edx + 4]
push dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
add eax, 0x28
push eax
call fcn.004f4fe0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x508c87
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x14], eax
jne 0x50d123
push 0
push dword [esi + 4]
add eax, 8
push eax
call fcn.004cb6f0
add esp, 0xc
mov edx, dword [eax + 8]
test edx, edx
je 0x50d123
mov eax, dword [edx + 0x44]
add edx, 0x44
test eax, eax
je 0x50d123
nop dword [eax]
cmp eax, esi
je 0x50d11e
lea edx, [eax + 0x20]
mov eax, dword [edx]
test eax, eax
jne 0x50d0f0
push esi
push edi
call fcn.004e9c10
mov esi, dword [ebp - 4]
add esp, 8
or dword [edi + 0x18], 1
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [eax + 0x20]
mov dword [edx], eax
push esi
push edi
call fcn.004e9c10
mov esi, dword [ebp - 4]
add esp, 8
or dword [edi + 0x18], 1
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
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 edi, [ebx + eax*8]
lea eax, [ebp - 0xe0]
push eax
mov eax, dword [ebx + esi*8]
inc eax
push eax
push dword [edx + 8]
lea eax, [ecx + 4]
movzx ecx, word [edx + 2]
mov edx, dword [ebp - 8]
add ecx, ecx
push eax
mov eax, dword [edx + 0x10]
push dword [eax + ecx*8 + 4]
push edx
call fcn.004e3fc0
push edi
mov ebx, eax
call fcn.005113d0
mov eax, dword [ebp - 0xe0]
add esp, 0x1c
test eax, eax
je 0x50d1c1
test ebx, ebx
je 0x50ef25
mov ecx, dword [ebp - 0x1c]
dec eax
push fcn.004ae470
push 1
cdq
sub dword [ecx + esi*8], eax
push 0xffffffffffffffff
sbb dword [ecx + esi*8 + 4], edx
push ebx
push edi
call fcn.005114e0
add esp, 0x14
movzx eax, byte [ebp - 0x4c]
push eax
push edi
call fcn.00508230
add esp, 8
jmp 0x50c624
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x10
lea esi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea edi, [eax + eax*4]
jne 0x50d201
push esi
call fcn.00511400
add esp, 4
test eax, eax
jne 0x50ef25
push dword [ebx + edi*8 + 4]
push dword [ebx + edi*8]
push dword [esi + 0x10]
call fcn.004ffcc0
add esp, 0xc
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea edi, [ecx + eax*8]
je 0x50d2a9
mov esi, dword [edi + 0x10]
movzx ecx, word [esi + 0x1a]
test cl, 2
jne 0x50d26b
mov eax, ecx
test cl, 1
jne 0x50d264
push dword [esi + 8]
call fcn.004dd600
mov dword [esi + 8], eax
add esp, 4
movzx eax, word [esi + 0x1a]
or eax, 3
mov word [esi + 0x1a], ax
mov eax, dword [esi + 8]
test eax, eax
je 0x50d2a9
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
test eax, eax
jne 0x50d28a
push esi
call fcn.004ffbf0
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
push ebx
push edi
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.00511390
add esp, 0xc
jmp 0x50c624
push edi
call fcn.005113d0
add esp, 4
jmp 0x50e74b
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov ebx, dword [edx + 0x10]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea edi, [eax + eax*4]
jne 0x50d2ea
push esi
call fcn.00511400
add esp, 4
test eax, eax
jne 0x50ef25
mov ecx, dword [ebp - 0x1c]
test ebx, ebx
je 0x50d30b
push dword [ecx + edi*8 + 4]
push dword [ecx + edi*8]
push ebx
push dword [esi + 0x10]
call fcn.004ffd50
add esp, 0x10
test eax, eax
jne 0x508ab3
test ebx, ebx
js 0x508e7e
mov ebx, dword [ebp - 0x1c]
jmp 0x50d201
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
mov edi, dword [edx + 0x10]
mov dword [ebp - 0x2c], edi
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
cmp word [eax + 2], 0
je 0x50d363
mov eax, dword [edx + 0xc8]
mov ecx, dword [edi + 0x14]
test eax, eax
je 0x50d360
nop word [eax + eax]
cmp dword [eax + 0x1c], ecx
je 0x508e7e
mov eax, dword [eax + 4]
test eax, eax
jne 0x50d350
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 8]
mov eax, dword [edx + 0xd0]
cmp eax, dword [ebx + 0x94]
jge 0x50eec3
test byte [ecx + 8], 0x10
jne 0x50d479
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 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 [edi + 4]
add eax, 7
mov eax, eax
test eax, eax
jns 0x50d3aa
add eax, 7
sar eax, 3
lea edi, [eax + ecx*4]
mov eax, edi
cdq
push edx
push eax
push ebx
call fcn.004e8fc0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x50ef25
push dword [ebp - 0x20]
call fcn.00511300
mov eax, dword [ebp - 0x20]
mov ecx, 0x410
add esp, 4
mov dword [eax + 0xc], edi
mov edi, dword [ebp - 0x2c]
mov word [eax + 8], cx
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x18]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x24], 0x50fbe0
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebx + 0x3c], esi
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x40], eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
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 [edi + 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 0x50d471
mov edx, dword [ebp - 8]
mov esi, 0x80
nop dword [eax]
mov word [eax + 8], si
mov dword [eax + 0x20], edx
add eax, 0x28
cmp eax, ecx
jne 0x50d460
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd0]
jmp 0x50d47c
mov ebx, dword [ecx + 0x10]
mov ecx, dword [ebp - 8]
lea esi, [ebx + 0x50]
inc eax
mov dword [ebp - 0x1c], esi
mov dword [edx + 0xd0], eax
mov eax, dword [edx + 0xc8]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 0x28]
mov dword [ebx + 0x20], eax
mov eax, dword [ecx + 0x2c]
mov dword [ebx + 0x24], eax
mov eax, dword [edx + 0x2c]
mov dword [ebx + 0x44], eax
mov eax, dword [edx]
mov eax, dword [eax + 0x64]
mov dword [ebx + 0x48], eax
mov eax, dword [edx + 0xdc]
mov dword [ebx + 0x28], eax
mov dword [edx + 0xdc], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0xc8], ebx
mov dword [edx + 0x58], esi
mov ecx, dword [ebx + 0x3c]
mov dword [edx + 0x18], ecx
movzx eax, word [ebx + 0x40]
mov dword [edx + 0x1c], eax
lea eax, [ecx + ecx*4]
lea ecx, [esi + eax*8]
mov dword [edx + 0x60], ecx
mov eax, dword [edi + 0xc]
lea ecx, [ecx + eax*4]
mov dword [ebx + 0x18], ecx
mov eax, dword [edi + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call sub.msvcrt.dll_memset
mov ebx, dword [edi]
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
mov dword [edx + 0x68], ebx
mov eax, dword [edi + 4]
lea edi, [ebx - 0x14]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 8]
mov dword [edx + 0x6c], eax
jmp 0x50c62a
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d5420
mov esi, eax
mov eax, dword [ebp + 8]
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 - 4]
add ecx, dword [edx + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
push eax
push esi
call fcn.00511780
mov esi, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov eax, dword [edi + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [ebp - 4]
je 0x50d5ad
mov eax, dword [eax + 8]
cdq
add dword [edi + 0x1f0], eax
adc dword [edi + 0x1f4], edx
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
cdq
je 0x50d5d1
add dword [edi + 0x1e8], eax
mov esi, dword [ebp - 4]
adc dword [edi + 0x1ec], edx
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov esi, dword [ebp + 8]
add dword [esi + 0x40], eax
mov eax, dword [ebp - 0x10]
adc dword [esi + 0x44], edx
mov esi, dword [ebp - 4]
add esi, 0x14
jmp 0x508a65
cmp dword [esi + 4], 0
je 0x50d61d
mov eax, dword [edi + 0x1e8]
or eax, dword [edi + 0x1ec]
jne 0x508c8f
mov eax, dword [edi + 0x1f0]
or eax, dword [edi + 0x1f4]
je 0x508ab3
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x40]
or eax, dword [ecx + 0x44]
jne 0x508c8a
mov eax, dword [edi + 0x1f0]
or eax, dword [edi + 0x1f4]
je 0x508ab3
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x50d67f
mov eax, dword [edx + 4]
test eax, eax
je 0x50d66b
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x50d662
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea edi, [eax + ecx*8]
jmp 0x50d68e
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
push edi
call fcn.00511070
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.00511070
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x508e7e
jl 0x50d6c1
cmp dword [edi], eax
jae 0x508e7e
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x50d213
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
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 0x508e7e
jg 0x50d6f0
test ecx, ecx
je 0x508e7e
mov eax, dword [ebp - 4]
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 0x508ab3
mov edx, dword [ebp - 4]
push edx
push dword [ebp + 8]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, dword [edx + 0xc]
lea ebx, [eax + eax*4]
call fcn.004d5420
mov edx, dword [ebp - 0x1c]
add esp, 8
mov edi, eax
mov ecx, dword [edx + esi*8 + 4]
mov eax, dword [edx + esi*8]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], ecx
test ecx, ecx
jl 0x50d78e
jg 0x50d744
test eax, eax
je 0x50d78e
mov ecx, dword [edx + ebx*8 + 4]
mov eax, dword [edx + ebx*8]
test ecx, ecx
jl 0x50d755
jg 0x50d763
test eax, eax
jne 0x50d763
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004e0240
add esp, 0xc
test eax, eax
jne 0x50d78e
mov eax, dword [ebp - 0xd0]
mov dword [edi], eax
mov eax, dword [ebp - 0xcc]
mov dword [edi + 4], eax
jmp 0x50d213
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
jmp 0x50d213
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
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 0x508c87
test edx, edx
jl 0x508ab3
jg 0x50d7cf
test ecx, ecx
je 0x508ab3
sub ecx, 1
mov dword [ebx + esi*8], ecx
sbb edx, 0
jmp 0x508aaf
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea edx, [eax + eax*4]
mov ecx, dword [ebx + edx*8 + 4]
mov eax, dword [ebx + edx*8]
cmp ecx, 0x80000000
jl 0x50d80b
jg 0x50d7fe
test eax, eax
je 0x50d80b
sub eax, 1
mov dword [ebx + edx*8], eax
sbb ecx, 0
mov dword [ebx + edx*8 + 4], ecx
or eax, ecx
je 0x508ab3
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x44]
push eax
push edi
call fcn.004e8e80
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50ef28
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 edi, dword [ebp - 4]
mov dword [ecx + 0x18], 0
mov ecx, edi
sub ecx, dword [ebp - 0x18]
mov eax, dword [edi + 0x10]
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 dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov word [edi], 0xf09b
mov dword [edi + 0x10], esi
jmp 0x50d8af
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [edi + 0x10]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov dword [ebp - 0x2c], edi
cmp dword [esi + 8], edi
je 0x50d8f9
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 8], edi
js 0x50d8f9
mov edi, dword [ebp - 4]
lea edx, [ecx + 7]
lea edx, [esi + edx*4]
nop dword [eax + eax]
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 0x50d8e0
mov edi, dword [ebp - 0x2c]
inc dword [edi + 0xc]
lea eax, [esi + 0x1c]
mov edi, dword [ebp - 4]
movzx edx, byte [esi + 0x19]
mov ecx, dword [esi + 4]
push eax
cmp dword [edi + 4], 0
push edx
push esi
je 0x50d917
mov eax, dword [ecx + 0x1c]
jmp 0x50d91a
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x508e7e
jle 0x50d94a
push dword [esi]
call fcn.004b0bf0
push eax
push 0x588074
push dword [ebp + 8]
call fcn.00508970
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp byte [esi + 0x18], 0
je 0x50d96e
mov eax, dword [edi - 0x10]
test eax, eax
je 0x50d96a
push 0
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push 1
push eax
call fcn.00511390
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.00511300
mov eax, dword [esi]
mov ecx, 1
add esp, 4
mov word [eax + 8], cx
mov dword [esi + 0x14], 0
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x50da33
mov ebx, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
xorps xmm0, xmm0
mov eax, 0x2400
movups xmmword [ebp - 0x220], xmm0
movups xmmword [ebp - 0x210], xmm0
test word [edi + 8], ax
je 0x50d9ef
push edi
call fcn.0051f720
add esp, 4
jmp 0x50d9f8
mov eax, 1
mov word [edi + 8], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], edi
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], ebx
call eax
mov eax, dword [ebp - 4]
add esp, 4
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20c]
mov edi, dword [ebp - 8]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
jmp 0x50da41
push dword [edx + 0x10]
push esi
call fcn.00510e10
add esp, 8
mov ecx, eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x50eedd
movzx eax, byte [ebp - 0x4c]
push eax
push esi
call fcn.00508230
push esi
call fcn.005118e0
add esp, 0xc
test eax, eax
je 0x508c87
push str.string_or_blob_too_big
push dword [ebp + 8]
call fcn.00508970
add esp, 8
mov eax, 0x12
jmp 0x50ac74
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xdc], 0
push eax
push dword [edx + 8]
mov dword [ebp - 0xd4], 0xffffffff
push dword [edx + 4]
mov dword [ebp - 0xd8], 0xffffffff
push edi
call fcn.004e5d10
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
je 0x50dae1
cmp eax, 5
jne 0x50ac77
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 4]
xor esi, esi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [ebp + esi*4 - 0xdc]
cdq
push edx
push eax
push edi
call fcn.00511390
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x50daf2
jmp 0x50d213
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp + 8]
call fcn.004d5420
mov edx, dword [ebx + 4]
add esp, 8
mov ecx, dword [edi + 0x10]
mov esi, dword [ebx + 0xc]
shl edx, 4
cmp esi, 0xffffffff
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + ecx + 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [eax + 4]
mov edi, dword [ecx]
movzx ebx, byte [edi + 5]
mov ecx, ebx
cmovne ecx, esi
cmp byte [edi + 0x10], 3
jb 0x50db53
xor eax, eax
jmp 0x50db72
mov eax, dword [edi + 0x40]
cmp dword [eax], 0
je 0x50db6d
cmp dword [edi + 0x4c], 0
jl 0x50db6d
jg 0x50db69
cmp dword [edi + 0x48], 0
jbe 0x50db6d
xor eax, eax
jmp 0x50db72
mov eax, 1
test eax, eax
mov esi, ebx
mov eax, 0x582238
cmovne esi, ecx
cmp byte [edi + 0xf], 0
jne 0x50db8a
mov eax, dword [edi + 0xa8]
cmp esi, 5
jne 0x50dbb0
push eax
call fcn.00504bd0
add esp, 4
test eax, eax
je 0x50dba9
push edi
call fcn.004fad10
add esp, 4
test eax, eax
jne 0x50dbb0
mov eax, ebx
jmp 0x50dd36
mov eax, esi
cmp esi, ebx
je 0x50dd36
cmp ebx, 5
je 0x50dbc8
cmp esi, 5
jne 0x50dd36
mov eax, dword [ebp - 8]
cmp byte [eax + 0x4f], 0
je 0x50eefc
cmp dword [eax + 0xb4], 1
jg 0x50eefc
cmp ebx, 5
jne 0x50dd03
cmp dword [edi + 0xd8], 0
mov dword [ebp - 0xc], 0
jne 0x50dc9b
mov al, byte [edi + 0x11]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xc], 0
cmp al, 1
jb 0x50dc1b
cmp al, bl
jne 0x50dc4b
cmp byte [edi + 0xd], 0
je 0x50dc2a
mov dword [ebp - 0xc], 0
jmp 0x50dc41
mov eax, dword [edi + 0x3c]
push 1
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x1c]
call eax
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50dc4b
cmp byte [edi + 0x11], 5
je 0x50dc4b
mov byte [edi + 0x11], 1
cmp dword [ebp - 0xc], 0
jne 0x50dcf7
mov eax, dword [edi]
lea ecx, [ebp - 0xb4]
push ecx
push 0
push dword [edi + 0xdc]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50dcf7
cmp dword [ebp - 0xb4], eax
je 0x50dc92
push edi
call fcn.004d5f60
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50dcf7
cmp dword [edi + 0xd8], 0
je 0x50dcf7
push edi
call fcn.004d5c40
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50dcf7
push dword [edi + 0xd0]
movzx eax, byte [edi + 0xb]
push dword [edi + 0x98]
push eax
push dword [ebp - 8]
push dword [edi + 0xd8]
call fcn.005145f0
push edi
mov dword [ebp - 0xc], eax
mov dword [edi + 0xd8], 0
call fcn.004d5cc0
add esp, 0x18
cmp dword [ebp - 0xc], 0
je 0x50dcf7
cmp byte [edi + 4], 0
jne 0x50dcf7
push 1
push edi
call fcn.004d6730
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
test ecx, ecx
jne 0x50dd3b
push esi
jmp 0x50dd0a
cmp ebx, 4
jne 0x50dd13
push 2
push edi
call fcn.004fa5c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
test ecx, ecx
jne 0x50dd3b
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.004e5870
mov dword [ebp - 0xc], eax
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
test ecx, ecx
cmove ebx, eax
push ebx
push edi
call fcn.004fa5c0
mov ebx, dword [ebp - 0x3c]
add esp, 8
mov ecx, 0xa02
mov word [ebx + 8], cx
cmp eax, 6
jne 0x50dd5d
xor eax, eax
jmp 0x50dd64
mov eax, dword [eax*4 + 0x583bd0]
push eax
mov dword [ebx + 0x10], eax
call fcn.00504bd0
mov dword [ebx + 0xc], eax
movzx eax, byte [ebp - 0x4c]
push eax
push ebx
mov byte [ebx + 0xa], 1
call fcn.00508230
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
test eax, eax
je 0x50ddb6
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
jmp 0x50ddb8
xor eax, eax
push eax
push dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x7c
push edi
push eax
call fcn.005003c0
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
add ecx, ecx
mov edi, dword [eax + ecx*8 + 4]
cmp byte [edi + 9], 0
mov ebx, dword [edi + 4]
je 0x50de12
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x50de12
push edi
call fcn.004c1490
add esp, 4
cmp byte [ebx + 0x11], 0
je 0x50dec9
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 0x38]
mov esi, dword [eax + 0x24]
bswap esi
push esi
push ecx
push ebx
call fcn.004cb3f0
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x3c], eax
jae 0x50de67
push 0x58cf94
push 0x10984
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004b7420
add esp, 0x14
mov dword [ebp - 0xc], 0xb
jmp 0x50ded0
test esi, esi
je 0x50dec9
mov eax, dword [ebx + 8]
test eax, eax
je 0x50de88
push 0
push 0
push eax
call fcn.004dd9b0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x50ded0
push ebx
call fcn.004d0930
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x2c]
push ebx
call fcn.004d0350
mov edx, eax
add esp, 0x14
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x50ded0
mov eax, dword [ebx + 0xc]
push dword [eax + 0x48]
call fcn.004fad40
mov ecx, dword [ebx + 0x2c]
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xc]
bswap ecx
mov eax, dword [eax + 0x38]
mov dword [eax + 0x1c], ecx
jmp 0x50ded0
mov dword [ebp - 0xc], 0x65
cmp byte [edi + 9], 0
je 0x50dee5
add dword [edi + 0xc], 0xffffffff
jne 0x50dee5
push edi
call fcn.0051d640
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x508e7e
cmp eax, 0x65
jne 0x50ac74
mov dword [ebp - 0xc], 0
jmp 0x508ab3
cmp dword [esi + 4], 0
jne 0x50df27
push dword [esi + 8]
push edi
call fcn.004eac30
mov eax, dword [ebp - 0x10]
add esp, 8
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp + 8]
mov eax, dword [esi + 8]
inc eax
xor eax, dword [edx + 0x98]
and eax, 3
xor dword [edx + 0x98], eax
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, 4
mov eax, dword [eax + 0x28]
or byte [eax + 1], 0x40
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, 4
mov eax, dword [eax + 0x28]
and byte [eax + 1], 0xbf
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + 0xc]
test bl, bl
jne 0x50dfa9
mov eax, dword [edi + 0x20]
and eax, 0x400
mov dword [ebp - 0x30], eax
jne 0x50d59f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 8]
add ecx, ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + ecx*8 + 4]
xor eax, eax
mov dword [ebp - 0xc], eax
cmp byte [esi + 9], al
je 0x50e073
inc dword [esi + 0xc]
inc bl
mov byte [ebp - 0x90], bl
cmp byte [esi + 0xa], al
jne 0x50dfe5
push esi
call fcn.004c1490
add esp, 4
push dword [ebp - 0x90]
push edi
push esi
call fcn.004d9fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50e05b
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x50e020
nop dword [eax]
cmp dword [ecx + 4], edi
jne 0x50e019
cmp dword [ecx], esi
je 0x50e049
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x50e010
push 0
push 0x10
call fcn.004f8720
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x50e0a1
mov edx, dword [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 4], edi
mov dword [ecx], esi
mov eax, dword [edx + 0x48]
mov dword [ecx + 0xc], eax
mov dword [edx + 0x48], ecx
cmp bl, byte [ecx + 8]
jbe 0x50e051
mov byte [ecx + 8], bl
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
cmp byte [esi + 9], 0
je 0x50e073
add dword [esi + 0xc], 0xffffffff
jne 0x50e073
push esi
call fcn.0051d640
mov eax, dword [ebp - 0xc]
add esp, 4
test eax, eax
je 0x50d213
cmp al, 6
jne 0x50ac74
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push str.database_table_is_locked:__s
push dword [ebp + 8]
call fcn.00508970
mov eax, dword [ebp - 0xc]
add esp, 0xc
jmp 0x50ac74
mov dword [ebp - 0xc], 7
mov eax, 7
jmp 0x50e05b
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], 0
mov esi, dword [edx + 0x10]
mov edx, dword [edi + 0x164]
test edx, edx
jle 0x50e0db
cmp dword [edi + 0x17c], 0
jne 0x50e0db
mov dword [ebp - 0xc], 6
jmp 0x50e18a
test esi, esi
jne 0x50e0f4
mov esi, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, 4
add esi, 0x14
jmp 0x508a65
mov eax, dword [esi + 8]
mov edi, dword [eax]
cmp dword [edi + 0x38], 0
je 0x50e187
mov ebx, dword [ebp - 8]
xor ecx, ecx
test edx, edx
jle 0x50e122
mov eax, dword [ebx + 0x17c]
cmp dword [eax], esi
je 0x50e1b8
inc ecx
add eax, 4
cmp ecx, edx
jl 0x50e112
push ebx
call fcn.004cfdc0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50e187
push dword [esi + 8]
mov eax, dword [edi + 0x38]
call eax
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50e187
mov ecx, dword [ebx + 0x164]
mov eax, dword [ebx + 0x17c]
mov edx, dword [ebx + 0x1e0]
add edx, dword [ebx + 0x1dc]
mov dword [eax + ecx*4], esi
inc dword [ebx + 0x164]
inc dword [esi + 0xc]
test edx, edx
je 0x50e187
cmp dword [edi + 0x50], 0
je 0x50e187
lea eax, [edx - 1]
mov dword [esi + 0x14], edx
push eax
push dword [esi + 8]
mov eax, dword [edi + 0x50]
call eax
add esp, 8
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 8]
test esi, esi
je 0x50e19c
push dword [esi + 8]
push dword [ebp + 8]
call fcn.00513d40
add esp, 8
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov dword [ebp - 0xc], 0
mov edi, ebx
jmp 0x50e18a
mov edx, dword [ebp - 4]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1c]
movq qword [ebp - 0x270], xmm0
movups xmmword [ebp - 0x290], xmm0
mov eax, dword [edx + 8]
movups xmmword [ebp - 0x280], xmm0
mov dword [ebp - 0x270], edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00510d40
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x290]
push eax
call fcn.004b0bf0
add esp, 0xc
test eax, eax
je 0x50e2e0
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 8]
add esi, 0x7c
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0x10]
shl edx, 4
push dword [edx + ecx]
push eax
push edi
call fcn.004effd0
mov ebx, eax
push 0
mov ecx, dword [ebx + 0x3c]
mov edi, dword [ecx]
mov ecx, dword [ebp - 8]
add ecx, 0x168
push edi
push ecx
call fcn.004cb6f0
add esp, 0x18
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x50e2c5
mov eax, dword [ecx]
mov edx, dword [eax + 4]
test edx, edx
je 0x50e2c5
cmp dword [eax + 0x14], 0
je 0x50e2c5
mov edi, dword [ebp - 8]
push esi
push edx
push ecx
push ebx
push edi
call fcn.00521cb0
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50e2e0
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x50e2e0
cmp dword [eax], edi
je 0x50e291
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x50e284
jmp 0x50e2e0
push edi
call fcn.004cfdc0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50e2e0
push ebx
push edi
call fcn.004f4bd0
mov edx, dword [edi + 0x164]
add esp, 8
mov ecx, dword [edi + 0x17c]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x164]
inc dword [eax + 0xc]
jmp 0x50e2e0
push edi
mov edi, dword [ebp - 8]
push str.no_such_module:__s
push edi
call fcn.004f8700
add esp, 0xc
mov dword [esi], eax
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x290]
push eax
call fcn.00511300
mov eax, dword [ebp - 0xc]
add esp, 4
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edx, dword [ebp - 4]
inc dword [edi + 0xc0]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xc], 0
mov ecx, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
push dword [edx + 0x10]
push edi
call fcn.004effd0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x50e3ac
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x50e3ac
nop
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
jg 0x50e3d1
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x50e340
mov ebx, dword [ebp - 8]
push edi
push ebx
call fcn.00522130
mov esi, eax
add esp, 8
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x50e372
mov eax, dword [ecx + 0x10]
inc dword [edi + 0x20]
push dword [esi + 8]
call eax
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50e393
mov dword [esi + 8], eax
push esi
mov dword [edi + 0x40], eax
call fcn.00513fe0
add esp, 4
cmp dword [ebx + 0x1f8], 0
jne 0x50e3a2
add dword [edi + 0x20], 0xffffffff
jne 0x50e3ac
push edi
push ebx
call fcn.004c7450
add esp, 8
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
dec dword [edi + 0xc0]
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov eax, 6
mov dword [ebp - 0xc], eax
jmp 0x50e3af
mov edx, dword [ebp - 4]
mov dword [ebp - 0x88], 0
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x50ef55
mov edi, dword [esi]
test edi, edi
je 0x50ef52
lea eax, [ebp - 0x88]
push eax
mov eax, dword [edi + 0x18]
push esi
call eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.00513d40
mov eax, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
jne 0x50ac74
mov eax, dword [ebp - 0x88]
push 2
push 0xffffffffffffffff
push 0
mov dword [eax], esi
mov eax, dword [ebp - 4]
push dword [eax + 4]
push dword [ebp + 8]
call fcn.004bd320
add esp, 0x14
test eax, eax
je 0x50ef17
mov ecx, dword [ebp - 0x88]
mov dword [eax + 0x28], ecx
inc dword [esi + 4]
jmp 0x50d213
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
add ebx, 0x28
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edi, dword [ebp + 8]
lea edx, [eax + eax*4]
mov esi, dword [ebx + edx*8]
lea ebx, [ebx + edx*8]
mov eax, dword [edi + 0x60]
mov edi, dword [edi + 0x5c]
movd xmm0, ebx
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x50], eax
pshufd xmm3, xmm0, 0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + edx*8]
mov dword [ebp - 0x3c], edx
test esi, esi
jle 0x50e59d
cmp esi, 0x10
jb 0x50e585
cmp dword [0x5b9fc4], 2
jl 0x50e585
movaps xmm2, xmmword [0x58d100]
mov eax, esi
and eax, 0x8000000f
jns 0x50e4e0
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm1, xmmword [0x58d110]
lea edx, [edi + 0x20]
mov ebx, esi
sub ebx, eax
nop
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
lea edx, [edx + 0x40]
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx - 0x60], xmm0
movd xmm0, eax
lea eax, [ecx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, eax
lea eax, [ecx + 0xc]
pshufd xmm0, xmm0, 0
add ecx, 0x10
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
cmp ecx, ebx
jl 0x50e4f0
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
cmp ecx, esi
jge 0x50e59d
lea eax, [ecx + 1]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edi + ecx*4], eax
inc ecx
add eax, 0x28
cmp ecx, esi
jl 0x50e592
mov eax, dword [ebp - 4]
push edi
mov edi, dword [ebp - 0x60]
push esi
push dword [eax + 0x10]
mov esi, dword [ebp - 0x34]
mov eax, dword [edi + 0x20]
push edx
push esi
call eax
push dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call fcn.00513d40
mov eax, dword [ebp - 0xc]
add esp, 0x1c
test eax, eax
jne 0x50ac74
mov eax, dword [edi + 0x28]
push esi
call eax
mov ecx, dword [ebp - 0x50]
add esp, 4
mov byte [ecx + 2], 0
test eax, eax
je 0x508e7e
jmp 0x508ab3
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x1c]
cmp byte [edi + 2], 0
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
je 0x50e61a
push esi
call fcn.005113d0
add esp, 4
jmp 0x50d213
test byte [edx + 2], 1
xorps xmm0, xmm0
mov eax, dword [edi + 0x28]
mov ebx, dword [eax]
mov eax, dword [ebx]
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x2c], eax
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x240], esi
je 0x50e65a
push esi
call fcn.005113d0
mov edx, dword [ebp - 4]
add esp, 4
mov dword [esi], 0
mov eax, 0x4001
jmp 0x50e66d
mov ax, word [esi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
movzx eax, ax
mov word [esi + 8], ax
lea eax, [ebp - 0x240]
push dword [edx + 8]
push eax
mov eax, dword [ebp - 0x2c]
push dword [edi + 0x28]
mov eax, dword [eax + 0x2c]
call eax
mov edi, dword [ebp + 8]
push ebx
push edi
mov dword [ebp - 0xc], eax
call fcn.00513d40
add esp, 0x14
cmp dword [ebp - 0x22c], 0
jle 0x50e6bd
push esi
call fcn.004b0bf0
push eax
push 0x588074
push edi
call fcn.00508970
mov eax, dword [ebp - 0x22c]
add esp, 0x10
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 0x4c]
push eax
push esi
call fcn.00508230
push esi
call fcn.005118e0
add esp, 0xc
test eax, eax
jne 0x50da68
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
cmp byte [edi + 2], 0
jne 0x508e7e
mov eax, dword [edi + 0x28]
push eax
mov esi, dword [eax]
mov ebx, dword [esi]
mov eax, dword [ebx + 0x24]
call eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.00513d40
mov eax, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
jne 0x50ac74
push dword [edi + 0x28]
mov eax, dword [ebx + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x50c624
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x18]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [ecx + eax*4]
mov dword [ebp - 4], eax
jmp 0x50c62a
mov ecx, dword [ebp - 8]
mov edi, dword [edi + 0x20]
push 1
and edi, 0x4000000
or dword [ecx + 0x20], 0x4000000
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
mov esi, dword [eax + 8]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
push ebx
call fcn.00508230
add esp, 8
test eax, eax
jne 0x50ac74
mov eax, dword [esi]
push dword [ebx + 0x10]
push esi
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
mov dword [ebp - 0xc], eax
test edi, edi
mov edi, dword [ebp - 8]
jne 0x50e7d1
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfbffffff
mov dword [edi + 0x24], eax
push esi
push dword [ebp + 8]
call fcn.00513d40
mov eax, dword [ebp + 8]
add esp, 8
and dword [eax + 0x98], 0xfffffffc
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
cmp byte [edi + 0x51], 0
jne 0x50ef28
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov edi, dword [eax + 8]
test edi, edi
je 0x50ef5f
mov ebx, dword [edi]
test ebx, ebx
je 0x50ef5f
cmp dword [ebx + 0x34], 0
mov edx, dword [edx + 8]
je 0x50eaf6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov al, byte [eax + 0x56]
mov byte [ebp - 0x41], al
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
xor eax, eax
test edx, edx
jle 0x50e86b
nop dword [eax]
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x50e860
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov al, byte [eax + 2]
mov byte [ecx + 0x56], al
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebx + 0x34]
push esi
push edx
push edi
call eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 0x41]
push edi
push dword [ebp + 8]
mov byte [ecx + 0x56], al
call fcn.00513d40
mov eax, dword [ebp - 0xc]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50e8c5
cmp dword [ecx + 4], eax
je 0x50e8c5
mov eax, dword [ebp - 0x110]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x10c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0xc]
cmp al, 0x13
jne 0x50e90c
mov eax, dword [ecx + 0x10]
cmp byte [eax + 0x10], 0
je 0x50e90c
movzx ecx, word [ecx + 2]
cmp ecx, 4
jne 0x50e8f3
mov esi, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, 4
add esi, 0x14
jmp 0x508a65
movzx eax, cl
cmp ecx, 5
mov ecx, 2
cmove eax, ecx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x92], al
jmp 0x50e912
mov eax, dword [ebp + 8]
inc dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50ac77
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d5420
mov ecx, dword [ebp - 4]
add esp, 8
mov esi, dword [ebp - 4]
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 ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d5420
mov ecx, dword [edi + 0x10]
mov ebx, eax
mov eax, dword [ebp - 4]
add esp, 8
xor edi, edi
mov edx, dword [eax + 4]
add edx, edx
mov esi, dword [ecx + edx*8 + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x50e9ad
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x2c]
and edi, 0x7fffffff
cmp edi, ecx
cmovb edi, ecx
cmp byte [esi + 9], 0
je 0x50e9c5
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x50e9c5
push esi
call fcn.004c1490
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax]
test edi, edi
jle 0x50e9d6
mov dword [eax + 0x9c], edi
jmp 0x50e9dc
mov edi, dword [eax + 0x9c]
cmp byte [esi + 9], 0
je 0x50e9f1
add dword [esi + 0xc], 0xffffffff
jne 0x50e9f1
push esi
call fcn.0051d640
add esp, 4
mov eax, edi
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x50d213
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov dword [ebp - 0x2c], edi
cmp dword [esi], edi
je 0x50ea4f
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 0xc], ebx
mov dword [esi], edi
js 0x50ea4f
mov edi, dword [ebp - 4]
lea edx, [esi + 0x1c]
mov ebx, dword [ebp - 0x1c]
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 0x50ea34
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp + 8]
mov ax, word [edi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [edi + 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 0x50eacb
jle 0x50ea9c
push edi
call fcn.004b0bf0
push eax
push 0x588074
push ebx
call fcn.00508970
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push dword [eax + 4]
mov eax, dword [ebp + 8]
push dword [esi + 0x10]
add eax, 0xdc
push eax
push dword [ebp - 8]
call fcn.005087b0
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov dword [esi + 0x14], 0
test eax, eax
jne 0x50ac74
test byte [edi + 8], 0x12
je 0x508e7e
movzx eax, byte [ebp - 0x4c]
push eax
push edi
call fcn.00508230
push edi
call fcn.005118e0
add esp, 0xc
test eax, eax
jne 0x50da68
jmp 0x50d213
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x508a65
mov cl, byte [edi + 0x58]
test cl, 0x41
je 0x50ebbd
mov edx, dword [ebp + 8]
test byte [edx + 0x98], 0x10
jne 0x50ebbd
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x50eb38
mov eax, dword [edx + 0xc0]
test eax, eax
je 0x50ebbd
push eax
test cl, 0x40
je 0x50eb69
mov edi, dword [edi + 0xcc]
push edx
call fcn.0050f600
mov esi, eax
mov eax, dword [ebp - 8]
push esi
push dword [eax + 0xd0]
call edi
push esi
call fcn.004ae470
mov edi, dword [ebp - 8]
add esp, 0x14
mov esi, dword [ebp - 4]
jmp 0x50ebbd
cmp dword [edi + 0xbc], 1
jle 0x50eba9
push str.____s
push edi
call fcn.004f8700
mov ecx, dword [edi + 0xcc]
mov esi, eax
push esi
push dword [ebp + 8]
push dword [edi + 0xd0]
push 1
call ecx
add esp, 0x1c
test esi, esi
je 0x50eba4
push esi
push edi
call fcn.004e8e10
add esp, 8
mov esi, dword [ebp - 4]
jmp 0x50ebbd
mov eax, dword [edi + 0xcc]
push edx
push dword [edi + 0xd0]
push 1
call eax
add esp, 0x10
mov eax, dword [esi + 4]
cmp eax, dword [0x5b3d34]
jl 0x50ec11
cmp byte [esi], 0xaa
je 0x508c8a
mov esi, dword [ebp + 8]
mov edx, 1
cmp dword [esi + 0x6c], edx
jle 0x50ebfd
mov eax, 0x14
mov ecx, dword [esi + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x50ebf4
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [esi + 0x6c]
jl 0x50ebe3
mov edi, dword [ebp - 4]
xor eax, eax
inc eax
mov dword [edi + 4], eax
inc dword [esi + 0xbc]
jmp 0x508ab6
mov edi, dword [ebp - 4]
inc eax
mov esi, dword [ebp + 8]
mov dword [edi + 4], eax
inc dword [esi + 0xbc]
jmp 0x508ab6
mov edx, dword [ebp - 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 0x50eca9
movzx eax, word [edx + 2]
test ax, ax
je 0x50ec7b
push dword [eax*4 + 0x583b2c]
push str._s_constraint_failed
push ebx
call fcn.00508970
mov eax, dword [ebp - 4]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x50ec8c
push eax
push dword [ebx + 0x7c]
push str._z:__s
push edi
call fcn.004f8700
add esp, 0x10
mov dword [ebx + 0x7c], eax
jmp 0x50ec8c
push dword [edx + 0x10]
push 0x588074
push ebx
call fcn.00508970
add esp, 0xc
push dword [ebx + 0x7c]
mov eax, dword [ebp - 4]
push dword [ebx + 0xc0]
push esi
push str.abort_at__d_in___s_:__s
push dword [eax + 4]
call fcn.004b7420
add esp, 0x14
push ebx
call fcn.0050fe00
mov esi, dword [ebp - 0x14]
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc], ecx
cmp ecx, 5
jne 0x50ecc9
mov dword [ebx + 0x28], eax
mov ebx, eax
jmp 0x50f2d0
cmp dword [ebx + 0x28], 0
mov ecx, 0x65
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xc], ecx
mov ebx, ecx
jmp 0x50f2d0
push 0x1569f
call fcn.004e78a0
mov edi, dword [ebp - 8]
add esp, 4
jmp 0x50ac7a
push str.cannot_open_savepoint___SQL_statements_in_progress
push dword [ebp + 8]
call fcn.00508970
add esp, 8
mov eax, 5
mov edi, esi
jmp 0x50ac77
push str.cannot_release_savepoint___SQL_statements_in_progress
push dword [ebp + 8]
call fcn.00508970
add esp, 8
mov eax, 5
jmp 0x50ac74
mov ecx, dword [ebp - 4]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x18]
mov ebx, 5
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
mov dword [edx + 0x24], eax
mov byte [edi + 0x4f], 0
mov dword [edx + 0x28], 5
jmp 0x50f2d0
mov eax, 8
jmp 0x50ac77
mov esi, dword [ebp - 0x14]
cmp al, 5
jne 0x5098a6
mov ecx, dword [ebp - 4]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x18]
imul ecx
mov ecx, dword [ebp - 0xc]
mov ebx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], ecx
jmp 0x50f2d0
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x50edb7
push eax
push edi
call fcn.004e8e10
add esp, 8
push 0
push 0x1c
push edi
call fcn.004e8e80
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50edda
push 0x1c
push str.database_schema_has_changed
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], esi
mov eax, dword [ebp - 4]
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 - 0x8c]
je 0x50ee05
push edx
push edi
call fcn.004ff380
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov eax, dword [eax + 0x98]
and eax, 0xfffffffd
or eax, 1
mov dword [ecx + 0x98], eax
mov eax, 0x11
jmp 0x50ac7d
mov eax, 0x204
jmp 0x50ac77
test dword [ebp - 0x148], 0x2400
jne 0x50ee49
cmp dword [ebp - 0x138], 0
je 0x50ee58
lea eax, [ebp - 0x150]
push eax
call fcn.0051f6e0
add esp, 4
push 0x58cf94
push 0x14136
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004b7420
add esp, 0x14
mov eax, 0xb
jmp 0x50ac74
mov ecx, dword [ebp + 8]
mov eax, 6
mov ebx, dword [ebp - 0x18]
mov edi, edx
mov byte [ecx + 0x92], 2
jmp 0x50ac7d
mov dword [ebp - 0xc], 7
push edi
call fcn.004ff300
mov eax, dword [ebp - 0xc]
add esp, 4
mov esi, dword [ebp - 0x14]
cmp eax, 7
je 0x50f1b0
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jmp 0x50ac80
push str.too_many_levels_of_trigger_recursion
push edx
call fcn.00508970
add esp, 8
mov eax, 1
mov edi, ebx
jmp 0x50ac77
push esi
call fcn.004b0bf0
push eax
push 0x588074
push dword [ebp + 8]
call fcn.00508970
add esp, 0x10
mov eax, dword [ebp - 0xc]
jmp 0x50ac77
cmp esi, 5
mov eax, str.into
mov ecx, str.out_of
cmovne eax, ecx
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
jmp 0x50ac64
push dword [ebp - 0x88]
mov eax, dword [edi + 0x1c]
call eax
add esp, 4
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
push edi
call fcn.004f8f80
push str.out_of_memory
push edx
call fcn.00508970
mov ecx, dword [ebp + 8]
add esp, 0xc
mov ebx, dword [ebp - 0x18]
mov eax, 7
jmp 0x50ac80
mov edi, dword [ebp - 8]
mov eax, 6
jmp 0x50ac77
mov eax, 6
jmp 0x50ac74
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
jl 0x50efa0
jg 0x50ef7a
cmp dword [eax + 0x40], 0
jbe 0x50efa0
push str.FOREIGN_KEY_constraint_failed
push eax
mov dword [eax + 0x28], 0x313
mov byte [eax + 0x92], 2
call fcn.00508970
add esp, 8
mov eax, 1
jmp 0x50ac77
push 1
push eax
call fcn.00508650
mov edx, dword [ebp + 8]
xor edi, edi
mov ecx, dword [ebp - 4]
add esp, 8
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x20]
add eax, 2
or eax, 1
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov ebx, ecx
mov dword [edx + 0x78], esi
cmp dword [ecx + 8], edi
jle 0x50f006
mov eax, 0x1000
test word [esi + 8], ax
je 0x50eff1
push esi
call fcn.005110f0
add esp, 4
test eax, eax
jne 0x50ef25
push esi
call fcn.005111a0
inc edi
add esp, 4
add esi, 0x28
cmp edi, dword [ebx + 8]
jl 0x50efd5
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 8]
cmp byte [edi + 0x51], 0
jne 0x50ef2b
test byte [edi + 0x58], 4
je 0x50f02f
mov eax, dword [edi + 0xcc]
push 0
push edx
push dword [edi + 0xd0]
push 4
call eax
add esp, 0x10
mov esi, dword [ebp - 0x14]
mov ecx, ebx
sub ecx, dword [ebp - 0x18]
mov eax, 0x66666667
imul ecx
mov ecx, dword [ebp + 8]
mov ebx, 0x64
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [ecx + 0x24], eax
jmp 0x50f2d0
mov edx, dword [ebp - 4]
movzx eax, byte [edi + 0x4f]
mov ebx, dword [edx + 4]
mov ecx, dword [edx + 8]
cmp ebx, eax
je 0x50f13b
test ecx, ecx
je 0x50f084
push 0x204
push edi
call fcn.004ffab0
add esp, 8
mov al, 1
jmp 0x50f0c9
test ebx, ebx
je 0x50f0ab
cmp dword [edi + 0xb8], 0
jle 0x50f0ab
push str.cannot_commit_transaction___SQL_statements_in_progress
push dword [ebp + 8]
call fcn.00508970
add esp, 8
mov eax, 5
jmp 0x50ac77
push 1
push dword [ebp + 8]
mov dword [ebp - 0x90], ebx
call fcn.00508410
mov ecx, eax
add esp, 8
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x50f130
mov eax, ebx
push dword [ebp + 8]
mov byte [edi + 0x4f], al
call fcn.0050fe00
add esp, 4
cmp eax, 5
jne 0x50f110
mov ecx, dword [ebp - 4]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
imul ecx
mov ecx, dword [ebp + 8]
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 0x50f2d0
push edi
call fcn.004e6170
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, 0x65
cmp dword [eax + 0x28], 0
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xc], ecx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
jmp 0x50f2d0
test ebx, ebx
jne 0x50f146
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x50f155
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 + 8]
call fcn.00508970
add esp, 8
mov eax, 1
jmp 0x50ac77
mov esi, dword [ebp - 0x14]
xor eax, eax
cmp byte [edi + 0x51], al
sete al
lea eax, [eax*2 + 7]
push eax
mov dword [ebp - 0xc], eax
mov dword [edx + 0x28], eax
call fcn.004af060
push eax
push 0x588074
push edx
call fcn.00508970
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jmp 0x50ac80
mov edi, dword [ebp - 8]
mov edx, esi
jmp 0x50ef2b
mov edx, dword [ebp + 8]
jmp 0x50ef2e
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x50f1cb
mov ecx, str.no_more_rows_available
jmp 0x50f1cb
mov ecx, str.another_row_available
push ecx
push 0x588074
push dword [ebp + 8]
call fcn.00508970
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
cmp eax, 0xc0a
je 0x50f213
movzx eax, al
cmp eax, 0xe
je 0x50f1f9
cmp eax, 0xa
jne 0x50f213
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x50f20e
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x50f210
xor eax, eax
mov dword [edi + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
sub ecx, ebx
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 - 0xc]
call fcn.004b7420
push dword [ebp + 8]
call fcn.0050fe00
add esp, 0x18
cmp dword [ebp - 0xc], 0xc0a
jne 0x50f29a
cmp byte [edi + 0x51], 0
jne 0x50f29a
cmp byte [edi + 0x52], 0
jne 0x50f29a
cmp dword [edi + 0xbc], 0
mov byte [edi + 0x51], 1
jle 0x50f27a
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 0x50f29a
mov dword [eax + 0xc], 7
mov al, byte [ebp - 0x59]
mov dword [ebp - 0xc], 1
test al, al
je 0x50f2c6
movzx eax, al
dec eax
push eax
push edi
call fcn.004ff380
mov ebx, dword [ebp - 0xc]
add esp, 8
jmp 0x50f2d0
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
jmp 0x50f2d0
mov ebx, 1
nop dword [eax + eax]
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
jb 0x50f309
mov eax, dword [edi + 0x158]
test eax, eax
je 0x50f309
push dword [edi + 0x15c]
add esi, dword [edi + 0x160]
call eax
add esp, 4
test eax, eax
je 0x50f2d0
mov ecx, dword [ebp + 8]
or esi, 0xffffffff
mov ebx, dword [ebp - 0x18]
mov eax, 9
jmp 0x50ac80
mov edx, dword [ebp + 8]
add dword [edx + 0xb4], ecx
cmp dword [edx + 0xa0], 0
je 0x50f324
push edx
call fcn.0051f620
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret