Function at 0x50bac4
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.0050ae80
add esp, 4
cmp dword [edi + 0x158], 0
je 0x50af99
mov esi, dword [edi + 0x160]
xor edx, edx
mov eax, dword [ebx + 0xb4]
div esi
sub esi, edx
jmp 0x50af9c
or esi, 0xffffffff
mov edx, ebx
mov dword [ebp - 0x14], esi
cmp dword [edx + 0x28], 7
je 0x5114be
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 0x5116fe
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.0x50b00d.85
jmp dword [ebx*4 + 0x5118c0]
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 0x50aff5
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 0x50aff5
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 0x50b043
mov ecx, eax
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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 0x50aff5
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 0x50aff5
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x50b21a
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 0x5111b9
mov edx, dword [ebx + 0xc8]
test edx, edx
je 0x5111b6
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.00512190
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 0x50b1df
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 0x50aff5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d79b0
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 0x50aff5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d79b0
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 0x50aff5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d79b0
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 0x50aff5
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp + 8]
call fcn.004d79b0
mov edi, dword [ebx + 0x10]
mov esi, eax
push edi
call fcn.00507160
mov edx, ebx
add esp, 0xc
mov bl, byte [ebp - 0x4c]
mov dword [edx + 4], eax
cmp bl, 1
je 0x50b329
push 0
push 1
push 0xffffffffffffffff
push edi
push esi
call fcn.00513a70
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50fff8
movzx eax, bl
push eax
push esi
call fcn.0050a7c0
add esp, 8
test eax, eax
jne 0x5114b5
mov edx, dword [ebp - 4]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [edx + 1], 0xf9
jne 0x50b319
mov eax, dword [edx + 0x10]
test eax, eax
je 0x50b319
push eax
push dword [ebp - 8]
call fcn.004eb390
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 0x50fff8
mov byte [edx], 0x47
jmp 0x50b340
mov edx, dword [ebp - 4]
mov bl, byte [ebp - 0x4c]
push edx
push dword [ebp + 8]
call fcn.004d79b0
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 0x50b217
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 0x50b217
cmp dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 4]
jne 0x50b21a
mov eax, 0xa10
mov word [ecx + 8], ax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp + 8]
call fcn.004d79b0
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 0x50b40e
nop
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.00513960
dec edi
mov word [esi - 4], bx
add esp, 4
mov dword [esi], 0
test edi, edi
jg 0x50b3f0
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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 0x50aff5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d79b0
mov esi, eax
mov eax, dword [ebp - 4]
push 0
push 0
push dword [eax + 4]
push dword [eax + 0x10]
push esi
call fcn.00513a70
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 0x50aff5
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.00513e70
add esp, 4
test eax, eax
jne 0x50fff8
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 0x50b4d8
push esi
call fcn.00513960
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 0x50aff5
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.005136e0
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x50b556
push esi
call fcn.00513680
add esp, 4
test eax, eax
jne 0x5114b5
add edi, 0x28
add esi, 0x28
sub ebx, 1
jne 0x50b530
mov edi, dword [ebp - 8]
lea ecx, [ebx + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.00513d10
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x50b5bb
push esi
call fcn.00513680
add esp, 4
test eax, eax
jne 0x5114b5
mov eax, ebx
dec ebx
test eax, eax
je 0x50b40e
add esi, 0x28
add edi, 0x28
jmp 0x50b590
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.00513d10
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
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.00513920
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
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 0x50b690
push edi
call fcn.00513960
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 0x50aff5
test cl, 0x12
jne 0x50b6a5
push 0
push dword [ebp - 0x4c]
push ebx
call fcn.00513d60
add esp, 0xc
jmp 0x50b6b6
test ecx, 0x4000
je 0x50b6d0
push ebx
call fcn.00513340
add esp, 4
test eax, eax
jne 0x5114b5
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 0x50b706
push 0
push dword [ebp - 0x4c]
push esi
call fcn.00513d60
add esp, 0xc
test eax, eax
jne 0x5114b5
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx edx, ax
mov dword [ebp - 0x20], edx
jmp 0x50b731
test edx, 0x4000
je 0x50b731
push esi
call fcn.00513340
add esp, 4
test eax, eax
jne 0x5114b5
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 0x50fff8
xor eax, eax
cmp edi, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push edi
call fcn.005134a0
add esp, 0xc
test eax, eax
jne 0x5114b5
mov ax, word [edi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [edi + 8], ax
cmp edi, esi
je 0x50b793
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 0x50aff5
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.004d7110
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.004d7110
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 0x50ba83
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.0x50b875
jmp dword [eax*4 + 0x511b6c]
push esi
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.004e27d0
add esp, 0xc
test eax, eax
je 0x50ba48
mov esi, dword [ebp - 0x28]
push esi
call fcn.00514530
mov ebx, dword [ebp - 0x34]
fstp qword [ebp - 0x30]
push ebx
call fcn.00514530
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.0x50b8bf
jmp dword [eax*4 + 0x511b7c]
test edi, edi
jne 0x50b8f0
cmp esi, 0x80000000
jne 0x50b8f0
test ecx, ecx
jg 0x50b892
jl 0x50b8dc
test ebx, ebx
jae 0x50b892
add ebx, 0
mov dword [ebp - 0x70], ebx
adc ecx, 0x80000000
mov dword [ebp - 0x6c], ecx
jmp 0x50ba48
neg edi
adc esi, 0
neg esi
jmp case.0x50b875.105
test esi, esi
jl 0x50b962
jg 0x50b903
test edi, edi
je 0x50b950
push esi
push edi
push 0x7fffffff
push 0xffffffffffffffff
call fcn.00534910
cmp dword [ebp - 0x24], edx
jg 0x50b892
jl 0x50b924
cmp ebx, eax
ja 0x50b892
push esi
push edi
push 0x80000000
push 0
call fcn.00534910
mov ecx, dword [ebp - 0x24]
cmp ecx, edx
jg 0x50b9ea
jl 0x50b892
cmp ebx, eax
jae 0x50b9ea
jmp 0x50b892
test esi, esi
jg 0x50b9ea
jl 0x50b962
test edi, edi
jae 0x50b9ea
test ecx, ecx
jl 0x50b997
jg 0x50b96c
test ebx, ebx
je 0x50b98d
push ecx
push ebx
push 0x80000000
push 0
call fcn.00534910
cmp esi, edx
jg 0x50b9e7
jl 0x50b892
cmp edi, eax
jae 0x50b9e7
jmp 0x50b892
test ecx, ecx
jg 0x50b9ea
jl 0x50b997
test ebx, ebx
jae 0x50b9ea
test edi, edi
jne 0x50b9a7
cmp esi, 0x80000000
je 0x50b892
test ebx, ebx
jne 0x50b9b7
cmp ecx, 0x80000000
je 0x50b892
push esi
push edi
push 0x80000000
push 1
call fcn.00534910
mov ecx, ebx
neg ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x24]
adc ecx, 0
neg ecx
cmp ecx, edx
jg 0x50b892
jl 0x50b9e7
cmp dword [ebp - 0x3c], eax
ja 0x50b892
mov ecx, dword [ebp - 0x24]
push esi
push edi
push ecx
push ebx
call fcn.00534aa0
jmp 0x50ba42
mov eax, edi
or eax, esi
je 0x50ba8b
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x50ba18
test ebx, ebx
jne 0x50ba18
cmp ecx, 0x80000000
je 0x50b892
push esi
push edi
push ecx
push ebx
call fcn.00534910
jmp 0x50ba42
mov eax, edi
or eax, esi
je 0x50ba8b
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x50ba39
mov edi, 1
xor esi, esi
push esi
push edi
push ecx
push ebx
call fcn.00534ae0
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 0x50aff5
test al, 1
je 0x50b895
push dword [ebp - 0x20]
call fcn.00513960
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 0x50aff5
movsd xmm0, qword [ebp - 0x40]
addsd xmm0, qword [ebp - 0x30]
jmp 0x50bb33
movsd xmm0, qword [ebp - 0x40]
subsd xmm0, qword [ebp - 0x30]
jmp 0x50bb33
movsd xmm0, qword [ebp - 0x40]
mulsd xmm0, qword [ebp - 0x30]
jmp 0x50bb33
movsd xmm1, qword [ebp - 0x30]
ucomisd xmm1, qword [ebp - 0x178]
lahf
test ah, 0x44
jnp 0x50ba8b
movsd xmm0, qword [ebp - 0x40]
divsd xmm0, xmm1
jmp 0x50bb33
push esi
call fcn.005126e0
push ebx
mov esi, eax
mov edi, edx
call fcn.005126e0
mov ecx, eax
mov dword [ebp - 0x6c], edx
mov eax, esi
mov dword [ebp - 0x70], ecx
add esp, 8
or eax, edi
je 0x50ba8b
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
jne 0x50bb23
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push ecx
call fcn.00534ae0
mov ecx, eax
call fcn.005350c0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004f9440
add esp, 8
test eax, eax
jne 0x50ba8b
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 0x50aff5
mov eax, dword [esi + 4]
test eax, eax
je 0x50b21f
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
push 0
push 0
lea eax, [ecx + eax*8]
push eax
call fcn.00513920
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
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 0x50bbfa
push edx
call fcn.00513960
mov esi, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
push ecx
call fcn.005126e0
mov edi, eax
mov esi, edx
push ebx
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xf4], esi
call fcn.005126e0
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 4]
mov cl, byte [eax]
cmp cl, 0x65
jne 0x50bc2b
and edi, ebx
and esi, edx
jmp 0x50bc8e
cmp cl, 0x66
jne 0x50bc36
or edi, ebx
or esi, edx
jmp 0x50bc8e
mov eax, ebx
or eax, edx
je 0x50bc8e
test edx, edx
jg 0x50bc6a
jl 0x50bc46
test ebx, ebx
jae 0x50bc5f
mov al, 0xcf
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x50bc6a
jg 0x50bc58
cmp ebx, 0xffffffc0
jbe 0x50bc6a
neg ebx
adc edx, 0
neg edx
test edx, edx
jl 0x50bcc0
jg 0x50bc6a
cmp ebx, 0x40
jb 0x50bcc0
test esi, esi
jg 0x50bc80
jl 0x50bc74
test edi, edi
jae 0x50bc80
cmp cl, 0x67
je 0x50bc80
or edi, 0xffffffff
or esi, edi
jmp 0x50bc8e
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 0x50aff5
movq xmm1, qword [ebp - 0xf8]
movd xmm0, ebx
cmp cl, 0x67
jne 0x50bcdc
psllq xmm1, xmm0
movq qword [ebp - 0x30], xmm1
jmp 0x50bc88
psrlq xmm1, xmm0
movq qword [ebp - 0x30], xmm1
test esi, esi
jg 0x50bc88
jl 0x50bcef
test edi, edi
jae 0x50bc88
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, ebx
or edx, 0xffffffff
call fcn.00534ba0
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
or edi, eax
or esi, edx
jmp 0x50bc8e
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.00513600
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 0x50aff5
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 0x50bd99
test al, 8
jne 0x50bd6f
test al, 2
je 0x50bd78
push 1
push esi
call fcn.004c0860
add esp, 8
jmp 0x50bd78
push esi
call fcn.00512730
add esp, 4
movzx eax, word [esi + 8]
mov ecx, eax
test al, 4
jne 0x50bd99
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x50b043
mov eax, 0x14
jmp 0x50d207
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 0x50aff5
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 0x50b21a
push eax
call fcn.00513820
mov eax, dword [ebp - 0x10]
add esp, 4
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
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 0x50be14
push esi
call fcn.00513340
add esp, 4
test eax, eax
jne 0x50d207
mov eax, dword [ebp - 4]
push dword [ebp - 0x4c]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.005131b0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
je 0x50b217
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
jmp 0x50d210
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 0x50bf09
mov edi, dword [ebp - 4]
movzx eax, word [edi + 2]
test al, al
jns 0x50beab
mov al, cl
and al, byte [ebp - 0x38]
test al, 1
je 0x50be9a
test ecx, 0x100
jne 0x50be9a
xor ecx, ecx
jmp 0x50c022
not ecx
and ecx, 1
lea ecx, [ecx*2 - 1]
jmp 0x50c022
test al, 0x20
je 0x50beeb
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 0x50aff5
test al, 0x10
jne 0x50b043
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov eax, dword [ebp - 4]
mov al, byte [eax + 2]
and al, 0x47
cmp al, 0x43
jb 0x50bfa3
mov ecx, edi
test dl, 2
je 0x50bf57
mov al, byte [ebp - 0x38]
and al, 0x2e
cmp al, 2
jne 0x50bf3b
push 0
push ebx
call fcn.004c0860
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 0x50bf57
push 0
push esi
call fcn.004c0860
movzx ecx, word [esi + 8]
add esp, 8
and cl, byte [ebx + 8]
test cl, 4
je 0x50c010
mov edi, dword [esi + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [esi]
mov eax, dword [ebx]
cmp edi, edx
jl 0x50bf8e
jg 0x50bf77
cmp ecx, eax
jbe 0x50bf84
mov edi, dword [ebp - 4]
mov ecx, 1
jmp 0x50c022
cmp edi, edx
jg 0x50bf99
jl 0x50bf8e
cmp ecx, eax
jae 0x50bf99
mov edi, dword [ebp - 4]
or ecx, 0xffffffff
jmp 0x50c022
mov edi, dword [ebp - 4]
xor ecx, ecx
jmp 0x50c022
cmp al, 0x42
jne 0x50c010
mov al, byte [ebp - 0x38]
mov edi, dword [ebp - 0x4c]
test al, 2
jne 0x50bfe5
test al, 0x2c
je 0x50bfe5
push 1
push edi
push ebx
call fcn.00513d60
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 0x50bfe5
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 0x50c010
test al, 0x2c
je 0x50c010
push 1
push edi
push esi
call fcn.00513d60
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.004fb0b0
add esp, 0xc
mov ecx, eax
movzx eax, byte [edi]
test ecx, ecx
jns 0x50c031
mov al, byte [eax + 0x585b5c]
jmp 0x50c041
jne 0x50c03b
mov al, byte [eax + 0x585b64]
jmp 0x50c041
mov al, byte [eax + 0x585b6c]
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 0x50c0b2
mov dword [ebp - 0x68], ecx
test al, 8
je 0x50c073
xor eax, eax
cmp byte [edi], 0x35
sete al
cmp eax, edx
je 0x50b40e
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 0x50aff5
test edx, edx
jne 0x50b043
mov edi, dword [ebp - 8]
lea ecx, [edx + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
cmp dword [ebp - 0x68], 0
jne 0x50b043
add esi, 0x14
jmp 0x50aff5
mov ebx, dword [ebp - 4]
test byte [ebx + 2], 1
jne 0x50c0ed
xor eax, eax
jmp 0x50c0f3
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 0x50b217
lea ebx, [edx + 0x14]
nop
test eax, eax
je 0x50c129
mov edi, dword [eax + esi*4]
jmp 0x50c12b
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.004fb0b0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x68], ecx
test ecx, ecx
jne 0x50c18b
mov eax, dword [ebp - 0x34]
inc esi
mov edx, dword [ebp - 0x60]
add ebx, 4
cmp esi, dword [ebp - 0x3c]
jl 0x50c120
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
test byte [esi + eax], 2
je 0x50c1bd
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 0x50c1b8
mov eax, dword [ebp - 0x50]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
je 0x50c1bd
neg ecx
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x54], 0
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
je 0x50b21a
mov eax, dword [ebp - 0x10]
neg ecx
mov dword [ebp - 0x68], ecx
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 4]
test eax, eax
jns 0x50c206
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 0x50aff5
jne 0x50c222
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 0x50aff5
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 0x50aff5
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.0050a760
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.0050a760
mov ecx, dword [ebp - 4]
add esp, 0x10
lea eax, [eax + esi*2]
cmp byte [ecx], 0x2c
jne 0x50c280
mov dl, byte [esi + eax + 0x585ba8]
jmp 0x50c287
mov dl, byte [esi + eax + 0x585bb4]
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 0x50c2bf
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 0x50aff5
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 0x50aff5
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.0050a760
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.00513920
mov esi, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
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 0x50c377
push 0
push ecx
call fcn.0050a760
neg eax
push 0
sbb eax, eax
inc eax
push eax
push esi
call fcn.00513920
mov esi, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
push esi
call fcn.00513960
mov esi, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
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.00513960
add esp, 4
test byte [edi + 8], 1
jne 0x50b40e
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.005126e0
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 0x50aff5
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x50c45c
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 0x50b043
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 0x50aff5
mov ecx, dword [esi + 0x68]
mov edi, dword [ebp - 4]
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 4]
je 0x50b046
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 0x50aff5
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.0050a760
add esp, 8
test eax, eax
jne 0x50b043
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.0050a760
add esp, 8
test eax, eax
je 0x50b043
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
jne 0x50b043
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x50b043
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
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 0x50b21a
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.00513960
add esp, 4
jmp 0x50b043
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 0x50c605
mov eax, dword [esi + 0x18]
test eax, eax
je 0x50c5fd
mov eax, dword [eax + edx*4 + 4]
test eax, eax
jle 0x50c5fd
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 0x50c6f1
cmp byte [esi + 2], 0
je 0x50c642
cmp byte [esi], 3
jne 0x50c623
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 0x50c676
push esi
call fcn.00512100
jmp 0x50c613
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
je 0x50c5a9
push esi
call fcn.004d23d0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
jmp 0x50c5b0
push ecx
call fcn.00513960
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 0x50aff5
mov esi, dword [esi + 0x28]
push esi
call fcn.004d15a0
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.004e7730
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 0x50fff8
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 0x50c695
movzx eax, cl
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov al, 1
jmp 0x50c6a1
push dword [ebp - 0x24]
push eax
call fcn.004f7320
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 0x50c6e4
mov dword [edi], 0
mov edi, eax
mov dword [esi + 0x4c], 0
mov eax, dword [edi]
cmp eax, 0x18003
ja 0x50c88d
mov dword [ebp - 0x28], edx
cmp eax, dword [esi + 0x50]
jbe 0x50c6f7
jmp 0x50c88d
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x54], eax
xor eax, eax
jmp 0x50c776
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 0x50c921
mov ecx, dword [esi + 0x30]
mov ebx, dword [edi]
cmp ecx, ebx
jae 0x50c8bd
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x50c76e
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.00513430
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d204
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 0x50c776
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 0x50c7c5
movzx eax, byte [ebx + 0x585ac0]
mov ecx, 1
cdq
jmp 0x50c7e2
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.004f7320
mov ebx, dword [ebp - 0x7c]
push ebx
movzx ecx, al
mov dword [edi], ebx
call fcn.00515190
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 0x50c80f
cmp esi, dword [ebp - 0x20]
jb 0x50c7a0
mov edi, dword [ebp - 0x20]
jmp 0x50c816
mov edi, dword [ebp - 0x20]
cmp esi, edi
jb 0x50c828
cmp esi, edi
mov edi, dword [ebp - 0x38]
ja 0x50c836
cmp eax, dword [edi + 0x50]
jne 0x50c836
test edx, edx
jne 0x50c836
jmp 0x50c82b
mov edi, dword [ebp - 0x38]
test edx, edx
jb 0x50c843
ja 0x50c836
cmp eax, dword [edi + 0x50]
jbe 0x50c843
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x50c878
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 0x50c870
lea eax, [ebp - 0x268]
push eax
call fcn.00513890
mov eax, dword [ebp - 0x28]
add esp, 4
movzx eax, word [eax]
mov edi, dword [ebp - 0x24]
movzx eax, ax
jmp 0x50c8c4
cmp dword [edi + 0x4c], 0
jne 0x50c88d
lea eax, [ebp - 0x268]
push eax
call fcn.00513890
add esp, 4
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x511274
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 0x50aff5
xor ebx, ebx
mov eax, edx
mov dword [ebp - 0x7c], ebx
movzx eax, ax
cmp eax, dword [ebp - 0x50]
jg 0x50c928
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0xf5
jne 0x50c8ff
push 0x800
push dword [eax + 0x10]
mov eax, dword [ebp - 0x48]
push eax
call fcn.00513d10
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 0x50aff5
mov eax, dword [ebp - 0x48]
push eax
call fcn.00513960
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 0x50aff5
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 0x50c942
push ecx
call fcn.00513960
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 0x50ca04
mov eax, dword [ebp - 0x24]
mov edi, dword [esi + 0x4c]
add edi, dword [eax + edx*4]
cmp ebx, 0xc
jae 0x50c981
push ecx
push ebx
push edi
call fcn.00514ee0
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 0x50aff5
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 0x50c9bc
push 0
push eax
mov edx, 1
push ecx
mov word [ecx + 8], dx
call fcn.005134a0
add esp, 0xc
test eax, eax
jne 0x5114b5
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x10]
jmp 0x50c9c2
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 + 0x585bc0]
mov esi, dword [ebp - 4]
mov word [ecx + 8], ax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov al, byte [ebp - 0x4c]
mov byte [ecx + 0xa], al
mov eax, dword [ebp - 4]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x50ca23
cmp ebx, 0xc
jb 0x50ca1f
test bl, 1
je 0x50ca30
test al, al
js 0x50ca30
push ebx
call fcn.00515190
add esp, 4
test eax, eax
jne 0x50ca55
push ecx
push ebx
push 0x5850e0
call fcn.00514ee0
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 0x50aff5
push ecx
push eax
push dword [edi + edx*4]
push dword [esi + 0x28]
call fcn.00513430
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d204
mov esi, dword [ebp - 0x48]
push esi
push ebx
push dword [esi + 0x10]
call fcn.00514ee0
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 0x50aff5
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.004c07f0
add esp, 0xc
cmp byte [edi], 0x45
jne 0x50cb19
movzx ebx, word [esi + 8]
test bl, 4
je 0x50cb19
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add ecx, 0
mov eax, edx
adc eax, 0x8000
cmp eax, 0xffff
ja 0x50cb01
jb 0x50caf6
cmp ecx, 0xffffffff
ja 0x50cb01
and ebx, 0xfffb
or ebx, 0x20
jmp 0x50cb15
mov ecx, dword [esi]
call fcn.005350c0
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 0x50b40e
add esi, 0x28
jmp 0x50cab3
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 0x50cbd1
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.004c07f0
add esp, 0xc
cmp byte [edi], 0x45
jne 0x50cbba
movzx eax, word [esi]
test al, 4
je 0x50cbba
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 0x50cb90
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 0x50cc0d
and ebx, 0x4000
neg ebx
sbb ebx, ebx
and ebx, 0xa
inc ecx
mov dword [edx], ebx
jmp 0x50ce1c
test bl, 0x24
je 0x50cd89
mov ecx, dword [edx - 0x18]
mov eax, dword [edx - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], ecx
test ecx, ecx
jg 0x50cc37
jl 0x50cc2c
test eax, eax
jae 0x50cc37
mov ecx, eax
mov eax, dword [edx - 0x18]
not ecx
not eax
jmp 0x50cc3c
mov ecx, eax
mov eax, dword [edx - 0x18]
inc dword [ebp - 0x28]
test eax, eax
ja 0x50cd11
jb 0x50cc4e
cmp ecx, 0x7f
ja 0x50cc96
mov eax, dword [edx - 0x1c]
and eax, 1
mov dword [ebp - 0x34], 0
cmp eax, dword [edx - 0x1c]
jne 0x50cc7b
mov eax, dword [ebp - 0x34]
cmp eax, dword [edx - 0x18]
jne 0x50cc7b
cmp byte [ebp - 0x41], 4
jb 0x50cc7b
lea eax, [ecx + 8]
mov ecx, dword [ebp - 0x28]
mov dword [edx], eax
jmp 0x50ce1f
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 0x50ce1f
test eax, eax
ja 0x50cd11
jb 0x50cca4
cmp ecx, 0x7fff
ja 0x50ccbf
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 0x50ce1f
test eax, eax
ja 0x50cd11
jb 0x50cccd
cmp ecx, 0x7fffff
ja 0x50cce8
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 0x50ce1f
test eax, eax
ja 0x50cd11
jb 0x50ccf6
cmp ecx, 0x7fffffff
ja 0x50cd11
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 0x50ce1f
cmp eax, 0x7fff
ja 0x50cd3a
jb 0x50cd1f
cmp ecx, 0xffffffff
ja 0x50cd3a
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 0x50ce1f
add edi, 8
mov dword [ebp - 0x24], edi
adc esi, 0
mov dword [ebp - 0x38], esi
test bl, 0x20
je 0x50cd7a
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
call fcn.005350c0
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 0x50ce1f
mov ecx, dword [ebp - 0x28]
mov eax, 6
mov dword [edx], eax
jmp 0x50ce1f
test bl, 8
je 0x50cda3
inc ecx
mov dword [edx], 7
add edi, 8
mov dword [ebp - 0x24], edi
adc esi, 0
mov dword [ebp - 0x38], esi
jmp 0x50ce1c
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 0x50cdf7
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 0x50cdeb
push esi
call fcn.00513340
add esp, 4
test eax, eax
jne 0x5114b5
add edi, dword [esi]
mov ecx, dword [ebp - 0x60]
jmp 0x50cdf4
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.0050a230
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 0x50ce2f
sub edx, 0x28
jmp 0x50cbec
cmp ecx, 0x7e
jle 0x50ce5d
mov eax, ecx
cdq
push edx
push eax
call fcn.0050a230
mov esi, eax
mov eax, dword [ebp - 0x28]
add eax, esi
mov dword [ebp - 0x28], eax
cdq
push edx
push eax
call fcn.0050a230
mov ecx, dword [ebp - 0x28]
add esp, 0x10
cmp esi, eax
mov esi, dword [ebp - 0x38]
jge 0x50ce61
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 0x50ce91
jl 0x50ce86
cmp ecx, eax
ja 0x50ce91
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
jmp 0x50cec3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6c]
cdq
cmp esi, edx
jg 0x50fff8
jl 0x50ceaa
cmp ecx, eax
ja 0x50fff8
mov eax, edi
push eax
push dword [ebp - 0x20]
call fcn.005132a0
add esp, 8
test eax, eax
jne 0x5114b5
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 0x50cee4
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 0x50cefd
mov byte [esi], al
mov eax, 1
jmp 0x50cf0a
push ebx
push dword [ebp - 0x2c]
push esi
call fcn.00500ce0
add esp, 0xc
mov edx, dword [ebp - 0x48]
movzx eax, al
add esi, eax
mov ebx, dword [edx + 0x1c]
cmp ebx, 0x80
jae 0x50cf26
mov byte [esi], bl
mov eax, 1
jmp 0x50cf35
push 0
push ebx
push esi
call fcn.00500ce0
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 0x50cf67
mov ecx, dword [edx]
mov eax, dword [edx + 4]
movzx edx, byte [ebx + 0x585ac0]
mov esi, edx
dec edx
mov byte [edi + edx], cl
shrd ecx, eax, 8
shr eax, 8
test edx, edx
jne 0x50cf53
mov edx, dword [ebp - 0x48]
jmp 0x50cf87
cmp ebx, 0xc
jb 0x50cf85
mov esi, dword [edx + 0xc]
test esi, esi
je 0x50cf87
push esi
push dword [edx + 0x10]
push edi
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x48]
add esp, 0xc
jmp 0x50cf87
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 0x50cf12
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.004d5520
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc], ebx
cmp ebx, 0x10
jne 0x50cffd
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
movlpd qword [ebp - 0x30], xmm0
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
jmp 0x50d0d3
test ebx, ebx
jne 0x50d0bf
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
nop
cmp dword [edi + 0x110], 0
jne 0x50d0bf
mov edi, dword [esi + 0x74]
mov cl, byte [edi + 8]
test cl, cl
jne 0x50d02c
cmp byte [edi + 2], cl
jne 0x50d061
movzx eax, word [edi + 0x18]
cdq
add dword [ebp - 0x34], eax
adc ebx, edx
test cl, cl
je 0x50d061
nop word [eax + eax]
cmp byte [esi + 0x44], 0
push esi
je 0x50d0af
call fcn.004d53e0
mov edi, dword [esi + 0x74]
add esp, 4
movzx eax, word [esi + 0x46]
cmp ax, word [edi + 0x18]
jae 0x50d040
inc eax
mov word [esi + 0x46], ax
movzx ecx, word [esi + 0x46]
movzx eax, word [edi + 0x18]
cmp ecx, eax
jne 0x50d07a
movzx ecx, byte [edi + 9]
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax + 8]
jmp 0x50d094
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.004d52a0
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d0bf
mov edi, dword [ebp - 8]
jmp 0x50d010
call fcn.004d5520
mov esi, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x50d0c8
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50d207
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d79b0
add esp, 8
mov dword [eax], esi
mov dword [eax + 4], ebx
jmp 0x50ebb7
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x10]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x50d1c4
mov esi, dword [ebp - 8]
cmp dword [esi + 0xb8], eax
jg 0x511289
push edi
call fcn.00507160
mov ecx, dword [esi + 0x1e0]
mov ebx, eax
add ecx, dword [esi + 0x1dc]
push ecx
push 0
push esi
call fcn.005164e0
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x51129e
lea eax, [ebx + 0x21]
push 0
push eax
push esi
call fcn.004eb400
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50b40e
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 0x50d178
mov byte [edi + 0x4f], 0
mov byte [edi + 0x57], 1
jmp 0x50d17e
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 0x50aff5
mov eax, dword [ebp - 8]
xor ebx, ebx
mov esi, dword [eax + 0x1d4]
test esi, esi
je 0x50d1ee
push edi
push dword [esi]
call fcn.00507100
add esp, 8
test eax, eax
je 0x50d27b
mov esi, dword [esi + 0x18]
inc ebx
test esi, esi
jne 0x50d1d3
push edi
push str.no_such_savepoint:__s
push dword [ebp + 8]
call fcn.0050af00
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 0x511772
cmp eax, 0xc0a
je 0x511772
mov ecx, str.unknown_error
sub eax, 0x64
je 0x511756
sub eax, 1
je 0x51174f
sub eax, 0x19f
je 0x511748
mov eax, dword [ebp - 0xc]
movzx eax, al
cmp eax, 0x1d
jae 0x51175b
mov eax, dword [eax*4 + 0x5892e0]
test eax, eax
je 0x51175b
mov ecx, eax
jmp 0x51175b
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0x48]
cmp dword [edx + 0xb8], 0
jle 0x50d293
cmp edi, 1
je 0x5112a5
cmp dword [esi + 0x18], 0
jne 0x50d301
cmp byte [edx + 0x57], 0
je 0x50d301
mov dword [ebp - 0x60], 1
cmp edi, 1
jne 0x50d308
push edi
push dword [ebp + 8]
call fcn.0050a9a0
mov ecx, eax
add esp, 8
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x51184b
mov eax, dword [ebp - 8]
push dword [ebp + 8]
mov byte [eax + 0x4f], 1
call fcn.00512390
add esp, 4
cmp eax, 5
je 0x5112bf
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x50d2f8
mov byte [edx + 0x4f], 0
jmp 0x50d3e4
mov byte [edx + 0x57], 0
jmp 0x50d3ec
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 0x50d371
mov edx, dword [edx + 0x18]
xor ebx, ebx
and edx, 1
mov dword [ebp - 0x34], edx
test eax, eax
jle 0x50d376
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.004e7e80
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d204
mov eax, dword [ebp - 8]
inc ebx
mov ecx, dword [ebp - 0x2c]
add edi, 0x10
mov eax, dword [eax + 0x14]
cmp ebx, eax
jl 0x50d335
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
jmp 0x50d376
xor edx, edx
mov dword [ebp - 0x34], edx
xor ebx, ebx
test eax, eax
jle 0x50d3b5
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.004e7950
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d204
mov edx, dword [ebp - 8]
inc ebx
mov ecx, dword [ebp - 0x20]
add edi, 0x10
cmp ebx, dword [edx + 0x14]
jl 0x50d380
mov edx, dword [ebp - 0x34]
jmp 0x50d3b8
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x50d3db
mov ebx, dword [ebp - 8]
push 0
push ebx
call fcn.004ed1b0
push ebx
call fcn.00501880
mov eax, dword [ebp - 0xc]
mov edx, ebx
add esp, 0xc
or dword [edx + 0x18], 1
jmp 0x50d3de
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x20]
test eax, eax
jne 0x50d204
mov ecx, dword [edx + 0x1d4]
cmp ecx, esi
je 0x50d429
mov edi, dword [ebp - 8]
nop dword [eax]
mov eax, dword [ecx + 0x18]
push ecx
push edi
mov dword [edi + 0x1d4], eax
call fcn.004eb390
mov ecx, dword [edi + 0x1d4]
add esp, 8
dec dword [edi + 0x1dc]
cmp ecx, esi
jne 0x50d400
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 8]
cmp edi, 1
jne 0x50d456
mov eax, dword [esi + 0x18]
push esi
push edx
mov dword [edx + 0x1d4], eax
call fcn.004eb390
add esp, 8
cmp dword [ebp - 0x60], 0
jne 0x50b40e
mov eax, dword [ebp - 8]
dec dword [eax + 0x1dc]
jmp 0x50d489
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 0x50d489
cmp edi, 2
jne 0x50b40e
push ebx
push edi
mov edi, dword [ebp - 8]
push edi
call fcn.005164e0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov edx, dword [ebp - 4]
mov dword [ebp - 0x8c], 0
mov edx, dword [edx + 8]
test edx, edx
je 0x50d4d8
mov eax, dword [edi + 0x20]
and eax, 0x100000
or eax, 0
jne 0x5112f7
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 0x50d5ee
lea eax, [ebp - 0x8c]
push eax
push edx
push esi
call fcn.004e51a0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x511301
mov edx, dword [ebp + 8]
test byte [edx + 0x98], 0x80
je 0x50d5f4
mov ebx, dword [ebp - 4]
cmp dword [ebx + 8], eax
je 0x50d5f4
cmp byte [edi + 0x4f], al
je 0x50d539
cmp dword [edi + 0xb4], 1
jle 0x50d5f4
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x50d555
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.005164e0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d5c5
cmp byte [esi + 9], 0
mov eax, dword [ebp + 8]
mov ebx, dword [esi + 4]
mov edi, dword [eax + 0x30]
je 0x50d58a
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x50d58a
push esi
call fcn.004c3a20
add esp, 4
mov eax, dword [ebx]
cmp edi, dword [eax + 0x60]
jle 0x50d5a6
cmp byte [eax + 6], 0
je 0x50d5a6
push edi
push eax
call fcn.004d83d0
add esp, 8
mov dword [ebp - 0xc], eax
jmp 0x50d5ad
mov dword [ebp - 0xc], 0
cmp byte [esi + 9], 0
je 0x50d5c2
add dword [esi + 0xc], 0xffffffff
jne 0x50d5c2
push esi
call fcn.0051fbd0
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 0x50d5f1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
cmp word [esi + 2], 0
je 0x50d62a
mov eax, dword [ebp - 0x8c]
cmp eax, dword [esi + 0xc]
jne 0x511336
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 0x511336
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50d207
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.004e6110
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d79b0
mov ecx, eax
add esp, 0x14
mov eax, dword [ebp - 0xe4]
jmp 0x50b211
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.004e7fe0
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 8]
cmp eax, 1
jne 0x50d6b2
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
or dword [edi + 0x18], 1
jmp 0x50d6c0
cmp eax, 2
jne 0x50d6c0
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 0x50d6de
push 0
push edi
call fcn.004ed1b0
mov edx, dword [ebp + 8]
add esp, 8
and dword [edx + 0x98], 0xfffffffc
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.0x50b00d.96
mov eax, dword [esi + 0x34]
cmp eax, dword [ebx + 8]
je 0x50d813
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x98]
and al, 3
cmp al, 1
je 0x5113ba
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 0x50d77f
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 0x50d781
mov byte [esi + 0x93], al
jmp 0x50d781
xor edi, edi
test byte [edx + 2], 0x10
je 0x50d7a1
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + ebx*4]
lea esi, [ecx + eax*8]
push esi
call fcn.00513600
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 0x50d7b4
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x34], eax
movzx eax, word [eax + 8]
jmp 0x50d7c0
cmp al, 0xfd
jne 0x50d7bd
mov eax, dword [edx + 0x10]
jmp 0x50d7c0
mov eax, dword [ebp - 0x3c]
push 0
push ecx
push eax
push dword [edx + 4]
push dword [ebp + 8]
call fcn.004bf8b0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5114b5
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.004e5c50
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 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.004bf8b0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x511736
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.004e5c50
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 0x50aff5
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 0x50d904
mov eax, dword [esi + 0xc]
test eax, eax
je 0x50d904
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.004e54c0
add esp, 0xc
mov dword [ebp - 0xc], eax
jmp 0x50d9f1
push 0
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push dword [ebp + 8]
call fcn.004bf8b0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5114b8
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.004e7080
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d9ce
push eax
push 1
push dword [edi]
call fcn.004e51a0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d9ce
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 0x50d9ae
movzx eax, word [ecx + 2]
or eax, 2
push eax
push ebx
push dword [edi]
call fcn.004e5c00
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d9a8
push dword [esi + 0x28]
push dword [ebp - 0x2c]
push 4
push dword [ebx]
push dword [edi]
call fcn.004e5c50
add esp, 0x14
mov dword [ebp - 0xc], eax
mov byte [esi + 4], 0
jmp 0x50d9ce
push dword [esi + 0x28]
mov dword [ebx], 1
push 0
push 4
push 1
push dword [edi]
call fcn.004e5c50
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 0x50d207
mov byte [esi + 2], 1
lea ecx, [eax + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov edx, dword [ebp - 4]
push 1
push 0xffffffffffffffff
push dword [edx + 8]
push dword [edx + 4]
push dword [ebp + 8]
call fcn.004bf8b0
add esp, 0x14
test eax, eax
je 0x5114b8
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.00515310
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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 0x50b043
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov edx, dword [ebp - 4]
push 3
push 0xffffffffffffffff
push dword [edx + 0xc]
push dword [edx + 4]
push dword [ebp + 8]
call fcn.004bf8b0
add esp, 0x14
test eax, eax
je 0x5114b8
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], 0x5bbdd3
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.00512210
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 0x50aff5
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 0x50dc36
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 0x50db7a
push 0
push edi
call fcn.004c0860
add esp, 8
push edi
call fcn.005126e0
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 0x50dbfd
test cl, 8
jne 0x50dbcf
test cl, 1
jne 0x50b043
cmp ebx, 0x18
jae 0x50b043
lea eax, [ebp - 0x58]
push eax
push dword [esi + 0x28]
call fcn.004e6a50
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d204
jmp 0x50dd56
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
call fcn.005350c0
movsd xmm1, qword [edi]
comisd xmm0, xmm1
jbe 0x50dbf1
test bl, 1
lea eax, [ebx - 1]
cmove eax, ebx
mov ebx, eax
jmp 0x50dbfd
comisd xmm1, xmm0
jbe 0x50dbfd
test bl, 1
jne 0x50dbfd
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.004e6ae0
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 0x50d207
jmp 0x50dcc8
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.004e6ae0
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
cmp byte [ebp - 0x41], al
je 0x50dcc8
cmp byte [ebp - 0xfa], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
je 0x50dd56
mov eax, dword [ebp - 0x58]
cmp ebx, 0x18
jl 0x50dd3e
test eax, eax
js 0x50dd07
jne 0x50dcdb
cmp ebx, 0x19
je 0x50dd07
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 0x50aff5
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x58], 0
call fcn.004e7020
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x50dce2
cmp eax, 0x65
jne 0x50d207
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x58], 1
jmp 0x50b043
test eax, eax
jg 0x50dd62
jne 0x50dd49
cmp ebx, 0x16
je 0x50dd62
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 0x50b043
jmp 0x50dce2
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x58], 0
call fcn.004e7770
jmp 0x50dd18
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 0x50aff5
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [edx + 0x60]
cmp dword [eax + ecx*4], 0
je 0x510ce4
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
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 0x50b21a
jmp 0x50dde5
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 0x50de24
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 0x50de6c
mov eax, 0x4000
test word [esi + 8], ax
je 0x50de40
push esi
call fcn.00513340
add esp, 4
test eax, eax
jne 0x5114b8
push dword [ebx + 0x2c]
call fcn.0050a6b0
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x5114b5
push edi
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [ebx + 0x2c]
call fcn.00514cf0
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 0x50dea6
movzx edx, word [edi + 8]
xor ecx, ecx
test edx, edx
je 0x50dea6
mov eax, dword [edi + 4]
add eax, 8
nop
test byte [eax], 1
jne 0x50de9f
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x50de90
jmp 0x50dea6
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.004e6ae0
mov edi, dword [ebp - 8]
add esp, 0x18
mov dword [ebp - 0xc], eax
test esi, esi
je 0x50ded6
push esi
push edi
call fcn.004eb390
mov eax, dword [ebp - 0xc]
add esp, 8
test eax, eax
jne 0x50d207
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 0x50df21
test ecx, ecx
jne 0x50b043
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
cmp dword [ebp - 0x3c], 0
jne 0x50b043
test ecx, ecx
je 0x50b043
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
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 0x50dfd4
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 0x50dfc0
test al, 8
jne 0x50dfa3
test al, 2
je 0x50dfb8
lea eax, [ebp - 0x1d8]
push 1
push eax
call fcn.004c0860
add esp, 8
jmp 0x50dfb2
lea eax, [ebp - 0x1d8]
push eax
call fcn.00512730
add esp, 4
mov al, byte [ebp - 0x1d0]
test al, 4
je 0x50b046
mov edi, dword [ebp - 0x1d8]
mov ebx, dword [ebp - 0x1d4]
jmp 0x50dfe1
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.004e6ae0
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 0x50ff1a
mov edi, dword [ebp - 4]
cmp dword [edi + 8], 0
jne 0x50b046
push 0x15dab
call fcn.004e9e20
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x50ff1d
mov ebx, dword [ebp - 4]
mov esi, dword [ebp + 8]
push ebx
push esi
call fcn.004d79b0
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 0x50aff5
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.004d79b0
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 0x50e143
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x28]
call fcn.004e6a50
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
cmp dword [ebp - 0x80], eax
je 0x50e108
mov edi, 1
xor esi, esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], esi
jmp 0x50e149
mov esi, dword [ebx + 0x28]
push esi
call fcn.004d15a0
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 0x50e135
jg 0x50e12f
cmp edi, 0xffffffff
jb 0x50e135
or dword [ebx + 8], 2
jmp 0x50e149
add edi, 1
mov dword [ebp - 0x78], edi
adc esi, 0
mov dword [ebp - 0x74], esi
jmp 0x50e149
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x50e1ce
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x50e17b
mov eax, dword [edx + 4]
test eax, eax
je 0x50e170
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x50e167
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*8]
jmp 0x50e184
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x1c]
lea ebx, [ecx + eax*8]
push ebx
call fcn.00513600
mov eax, dword [ebx]
add esp, 4
mov ecx, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x50e1a3
cmp ecx, 0x7fffffff
je 0x50e227
mov edx, dword [ebp - 0x20]
test byte [edx + 8], 2
jne 0x50e227
add eax, 1
adc ecx, 0
cmp esi, ecx
jg 0x50e1c6
jl 0x50e1bc
cmp edi, eax
jae 0x50e1c6
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 0x50e234
xor ebx, ebx
lea eax, [ebp - 0x78]
push eax
push 8
call fcn.004b0b00
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.004e6ae0
add esp, 0x20
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d204
cmp dword [ebp - 0x80], eax
jne 0x50e231
inc ebx
cmp ebx, 0x64
jl 0x50e1d6
mov eax, 0xd
jmp 0x50d204
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 0x50aff5
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 0x50e2bd
mov eax, dword [ebp - 8]
cmp dword [eax + 0xf0], 0
je 0x50e2bd
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 0x50e2c2
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
movzx eax, word [edx + 2]
mov edx, eax
test al, 1
je 0x50e2d9
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 0x50e2f7
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 0x50e318
mov edx, dword [esi + 0x20]
jmp 0x50e31a
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov esi, 0x4000
test word [eax + edi*8 + 8], si
mov esi, dword [ebp - 0x60]
je 0x50e337
mov eax, dword [eax + edi*8]
mov dword [ebp - 0x190], eax
jmp 0x50e341
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.004e6170
add esp, 0x10
mov dword [ebp - 0xc], eax
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x50d204
mov edi, dword [ebp - 8]
test ebx, ebx
je 0x50b217
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 0x50aff5
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 0x50e432
mov eax, dword [ebp - 8]
cmp dword [eax + 0xf0], 0
je 0x50e432
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 0x50e436
cmp byte [edi + 4], 0
je 0x50e436
mov esi, dword [edi + 0x28]
push esi
call fcn.004d15a0
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 0x50e436
xor esi, esi
xor ebx, ebx
movzx eax, byte [edx + 2]
push eax
push dword [edi + 0x28]
call fcn.004e5cc0
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
test eax, eax
jne 0x50d204
test byte [ebp - 0x3c], 1
je 0x50b40e
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
inc dword [edx + 0x2c]
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x50b40e
test byte [ebx + 0x24], 0x80
jne 0x50b40e
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 0x50aff5
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 0x50aff5
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 0x50e51a
push ebx
call fcn.0050a6b0
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [edi + 0x20], eax
test eax, eax
je 0x50e605
mov word [eax + 8], si
lea eax, [ebp - 0xec]
push eax
push edi
call fcn.00523ca0
mov edi, dword [ebp - 0x3c]
push edi
push eax
push dword [ebp - 0xec]
push ebx
call fcn.00514cf0
add esp, 0x18
xor ecx, ecx
test esi, esi
jle 0x50e558
mov eax, dword [edi + 4]
add eax, 8
test byte [eax], 1
jne 0x510489
inc ecx
add eax, 0x28
cmp ecx, esi
jl 0x50e547
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.005145a0
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x50b043
mov edi, dword [ebp - 8]
lea ecx, [eax + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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 0x50e5e8
cmp byte [eax + 0x39], 0
je 0x50e5c7
mov eax, dword [eax + 0x10]
mov ebx, dword [eax + 0x20]
lea edi, [eax + 0x14]
jmp 0x50e5ee
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 0x50e5ee
mov edi, dword [eax + 0x24]
lea ebx, [edi + 8]
mov edi, dword [edi]
cmp dword [esi + 0x18], edi
jge 0x50e60f
push 0
push edi
push esi
call fcn.005134a0
add esp, 0xc
test eax, eax
je 0x50e61a
mov eax, 7
jmp 0x50d204
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 0x50aff5
mov edi, dword [ebp - 4]
push edi
push dword [ebp + 8]
call fcn.004d79b0
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.004d15a0
mov edx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [edi + 0x2c]
cmp eax, dword [edx + 0x6c]
ja 0x50fff8
push esi
push eax
push 0
push edi
call fcn.00513430
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d204
mov edi, dword [ebp - 4]
cmp dword [edi + 0xc], eax
jne 0x50b40e
mov eax, 0x1000
test word [esi + 8], ax
je 0x50b40e
push esi
call fcn.00513680
mov edi, dword [ebp - 8]
add esp, 4
test eax, eax
jne 0x5114b8
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
push dword [ebp - 4]
mov esi, dword [ebp + 8]
push esi
call fcn.004d79b0
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 0x50e73e
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 0x50aff5
cmp byte [esi + 3], 0
je 0x50e777
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 0x50aff5
cmp byte [esi], 2
jne 0x50e7d1
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.005162d0
mov eax, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
jne 0x50d204
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 0x50aff5
push esi
call fcn.0050acd0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d204
cmp byte [esi + 2], al
je 0x50e807
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 0x50aff5
mov esi, dword [esi + 0x28]
push esi
call fcn.004d15a0
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 0x50aff5
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 0x50b217
mov esi, dword [esi + 0x28]
push dword [esi + 0x10]
call fcn.004b09e0
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 0x50aff5
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 0x50e8bf
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je 0x50b217
lea ecx, [ebp - 0xc4]
push ecx
push eax
call fcn.004e6a50
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 0x511484
mov esi, dword [ebp - 4]
cmp dword [esi + 8], 0
jle 0x50b21a
test eax, eax
jne 0x50b043
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.004e6060
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
cmp dword [ebp - 0xc8], eax
jne 0x50b043
cmp byte [esi], al
jne 0x50b217
mov eax, dword [esi + 0x74]
cmp byte [eax + 8], 0
je 0x50b217
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 0x50e9a3
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.00534aa0
inc bl
mov esi, eax
mov eax, dword [ebp - 0x3c]
mov edi, edx
movzx ecx, bl
cmp ecx, dword [ebp - 0x2c]
jl 0x50e980
test edi, edi
jl 0x50b40e
jg 0x50e9b5
test esi, esi
jb 0x50b40e
push edi
push esi
call fcn.004faae0
mov edi, dword [ebp - 4]
add esp, 8
cwde
cmp eax, dword [edi + 0xc]
jge 0x50b40e
mov dword [ebp - 0xc8], 1
jmp 0x50b046
mov eax, dword [ebp + 8]
inc dword [eax + 0xac]
jmp 0x50e9e9
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 0x50ea5b
cmp byte [esi + 0x38], 0
mov dword [ebp - 0xc], 0
jne 0x50ea31
cmp dword [esi + 0x24], 0
lea eax, [esi + 0x24]
je 0x50ea7f
push eax
lea eax, [esi + 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 0x84], ebx
call fcn.00523f20
jmp 0x50ea79
push esi
call fcn.00523560
push eax
push esi
call fcn.00523680
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50ea7f
push esi
call fcn.00523d00
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x84], ebx
jmp 0x50ea7c
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004e6060
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 0x50d204
mov byte [edi + 2], bl
test ebx, ebx
jne 0x50b043
mov edi, dword [ebp - 8]
lea ecx, [eax + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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 0x50eb22
cmp byte [esi + 0x39], 0
je 0x50eaf0
push dword [esi + 0x10]
call fcn.005227e0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50eb78
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x18], 0
jne 0x50eb53
mov eax, 0x65
jmp 0x50eb75
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
push eax
push dword [esi + 0x14]
call fcn.00522230
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50eb78
cmp dword [ebp - 0x9c], eax
je 0x50eb78
mov eax, 0x65
jmp 0x50eb75
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 0x50eb44
push ecx
push dword [ebp - 8]
call fcn.00523c20
add esp, 8
xor ecx, ecx
mov eax, 0x65
cmp dword [esi + 0x24], ecx
cmovne eax, ecx
jmp 0x50eb75
mov eax, dword [ebp - 0xc]
jmp 0x50eb78
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 0x50eba2
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 0x510ce4
cmp eax, 0x65
jne 0x50d204
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 0x5116fb
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
cmp esi, ebx
jb 0x50b217
nop word [eax + eax]
mov eax, dword [edi + 0x158]
test eax, eax
je 0x50b217
add ebx, dword [edi + 0x160]
push dword [edi + 0x15c]
mov dword [ebp - 0x14], ebx
call eax
add esp, 4
test eax, eax
jne 0x511886
cmp esi, ebx
jae 0x50ebe0
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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 0x50ec46
inc dword [edx + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x50ec65
push esi
call fcn.00513340
add esp, 4
test eax, eax
jne 0x50d204
mov ecx, dword [ebp - 4]
cmp byte [ecx], 0x82
jne 0x50ec76
push esi
push edi
call fcn.00515920
add esp, 8
jmp 0x50ecd6
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 0x50ecb6
mov ecx, dword [edi + 0x20]
jmp 0x50ecb8
xor ecx, ecx
push ecx
and eax, 0xa
push eax
lea eax, [ebp - 0x2b8]
push eax
push dword [edi + 0x28]
call fcn.004e6170
add esp, 0x10
mov dword [edi + 0x1c], 0
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.004e6ae0
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d204
cmp dword [ebp - 0xf0], eax
jne 0x50ed7a
push 4
push edi
call fcn.004e5cc0
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d204
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 0x50aff5
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.0050acd0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
cmp byte [ebx + 2], al
jne 0x50ef8e
mov edi, dword [ebx + 0x28]
push edi
call fcn.004d15a0
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 0x50ee14
xor edx, edx
mov ecx, eax
test eax, eax
cmovs ecx, edx
cmp esi, ecx
ja 0x50ee32
mov eax, 0x1010
mov dword [ebp - 0x140], ebx
mov word [ebp - 0x148], ax
mov dword [ebp - 0x144], esi
jmp 0x50ee59
lea eax, [ebp - 0x150]
push eax
push esi
push 0
push edi
call fcn.00521d00
add esp, 0x10
test eax, eax
jne 0x50d204
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebp - 0x144]
mov al, byte [ebx]
cmp al, 0x80
jae 0x50ee6a
movzx edi, al
mov dword [ebp - 0xa0], edi
jmp 0x50ee80
lea eax, [ebp - 0xa0]
push eax
push ebx
call fcn.004f7320
mov edi, dword [ebp - 0xa0]
add esp, 8
cmp edi, 3
jb 0x5113c4
cmp edi, esi
ja 0x5113c4
lea eax, [ebx - 1]
add eax, edi
mov cl, byte [eax]
cmp cl, 0x80
jae 0x50eea8
movzx ecx, cl
mov dword [ebp - 0xa4], ecx
jmp 0x50eebe
lea ecx, [ebp - 0xa4]
push ecx
push eax
call fcn.004f7320
mov ecx, dword [ebp - 0xa4]
add esp, 8
lea eax, [ecx - 1]
cmp eax, 8
ja 0x5113c4
cmp ecx, 7
je 0x5113c4
movzx edx, byte [ecx + 0x585ac0]
lea eax, [edx + edi]
cmp esi, eax
jb 0x5113c4
lea eax, [ebp - 0x2e0]
sub esi, edx
push eax
push ecx
add esi, ebx
push esi
call fcn.00514ee0
lea eax, [ebp - 0x150]
push eax
call fcn.00513890
mov edi, dword [ebp - 4]
add esp, 0x10
mov dword [ebp - 0xc], 0
cmp byte [edi], 0x85
jne 0x50ef5b
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 0x50aff5
push edi
push dword [ebp + 8]
call fcn.004d79b0
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 0x50aff5
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.00513960
mov esi, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
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 0x50b21a
push eax
call fcn.00512100
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.004d15a0
mov edx, dword [edi + 0x2c]
xor eax, eax
add esp, 4
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x50f0dd
jb 0x50f05e
cmp ecx, 0x7ffffffe
ja 0x50f0dd
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.00513430
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x50f104
push eax
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
call fcn.005145a0
add esp, 0x10
mov esi, eax
test dword [ebp - 0x1f8], 0x2400
jne 0x50f0c5
cmp dword [ebp - 0x1e8], 0
je 0x50f0d4
lea eax, [ebp - 0x200]
push eax
call fcn.00521c70
add esp, 4
mov dword [ebp - 0xc], 0
jmp 0x50f104
push 0x58efe4
push 0x14157
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
xor esi, esi
call fcn.004b99a0
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 0x50d204
lea eax, [esi + 1]
neg esi
test cl, cl
cmovne esi, eax
test esi, esi
jg 0x50b043
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d79b0
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 0x511410
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 0x50f1ab
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x50f1ab
push esi
call fcn.004c3a20
add esp, 4
lea eax, [ebp - 0xa8]
push eax
push ebx
push esi
call fcn.004c3300
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp byte [esi + 9], 0
je 0x50f1d4
add dword [esi + 0xc], 0xffffffff
jne 0x50f1d4
push esi
call fcn.0051fbd0
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 0x50d204
test esi, esi
je 0x511086
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 0x50f22d
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], esi
jne 0x50f223
mov dword [ecx + 0x1c], edx
mov eax, dword [eax]
test eax, eax
jne 0x50f218
mov ecx, dword [edi + ebx + 0xc]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x50f245
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x2c], esi
jne 0x50f23f
mov dword [ecx + 0x2c], edx
mov eax, dword [eax]
test eax, eax
jne 0x50f234
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 0x50aff5
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.004e54c0
mov esi, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [esi + 0xc], 0
je 0x50f2c6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xac]
add dword [edx + 0x2c], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x50f2c3
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 0x50d207
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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 0x50f30f
push dword [eax + 0x28]
push edi
call fcn.005154d0
mov esi, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
mov eax, dword [eax + 0x28]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.004e54c0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d79b0
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.004e5c00
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
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 0x50aff5
mov edx, dword [ebp - 4]
inc byte [edi + 0x5a]
push 0
push 0
push 0
push dword [edx + 0x10]
push edi
call fcn.004af800
dec byte [edi + 0x5a]
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x10]
mov esi, dword [edx + 4]
test ecx, ecx
jne 0x50f421
mov eax, dword [edi + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.00502f40
mov eax, dword [ebp + 8]
and dword [edi + 0x18], 0xffffffef
add eax, 0x7c
push 1
push eax
push esi
push edi
call fcn.004f7f50
mov edx, dword [ebp + 8]
add esp, 0x14
or dword [edi + 0x18], 1
mov dword [ebp - 0xc], eax
and dword [edx + 0x98], 0xfffffffc
jmp 0x50f4dc
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.004fac80
mov esi, eax
add esp, 0x14
test esi, esi
je 0x511429
push 0
lea eax, [ebp - 0x128]
mov byte [edi + 0xa5], 1
push eax
push fcn.004f7d10
push esi
push edi
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x114], 0
call fcn.004af800
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50f4c8
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50f4c8
cmp dword [ebp - 0x114], eax
jne 0x50f4c8
push 0x16344
call fcn.004e9e20
add esp, 4
mov dword [ebp - 0xc], eax
push esi
push edi
call fcn.004eb390
mov eax, dword [ebp - 0xc]
add esp, 8
mov byte [edi + 0xa5], 0
test eax, eax
jne 0x511430
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov edx, dword [ebp - 4]
push dword [edx + 4]
push edi
call fcn.004e35c0
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.004f7560
add esp, 0xc
test eax, eax
je 0x50f55d
cmp dword [edi + 0x1f8], 0
jne 0x50f553
add dword [eax + 0x20], 0xffffffff
jne 0x50f55d
push eax
push edi
call fcn.004c99e0
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 0x50aff5
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.004f7560
mov edx, eax
add esp, 0xc
test edx, edx
je 0x50f55d
mov esi, dword [edx + 0xc]
mov ecx, dword [esi + 8]
cmp ecx, edx
jne 0x50f5cb
mov eax, dword [edx + 0x14]
push edx
push edi
mov dword [esi + 8], eax
call fcn.004f3e40
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 0x50aff5
test ecx, ecx
je 0x50f604
nop
mov eax, dword [ecx + 0x14]
cmp eax, edx
je 0x50f5fe
mov ecx, eax
test ecx, ecx
jne 0x50f5d0
push edx
push edi
call fcn.004f3e40
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 0x50aff5
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
push edx
push edi
call fcn.004f3e40
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 0x50aff5
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.004f7560
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50b217
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x14], eax
jne 0x50f6b3
push 0
push dword [esi + 4]
add eax, 8
push eax
call fcn.004cdc80
add esp, 0xc
mov edx, dword [eax + 8]
test edx, edx
je 0x50f6b3
mov eax, dword [edx + 0x44]
add edx, 0x44
test eax, eax
je 0x50f6b3
nop dword [eax]
cmp eax, esi
je 0x50f6ae
lea edx, [eax + 0x20]
mov eax, dword [edx]
test eax, eax
jne 0x50f680
push esi
push edi
call fcn.004ec190
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 0x50aff5
mov eax, dword [eax + 0x20]
mov dword [edx], eax
push esi
push edi
call fcn.004ec190
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 0x50aff5
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.004e6550
push edi
mov ebx, eax
call fcn.00513960
mov eax, dword [ebp - 0xe0]
add esp, 0x1c
test eax, eax
je 0x50f751
test ebx, ebx
je 0x5114b5
mov ecx, dword [ebp - 0x1c]
dec eax
push fcn.004b09e0
push 1
cdq
sub dword [ecx + esi*8], eax
push 0xffffffffffffffff
sbb dword [ecx + esi*8 + 4], edx
push ebx
push edi
call fcn.00513a70
add esp, 0x14
movzx eax, byte [ebp - 0x4c]
push eax
push edi
call fcn.0050a7c0
add esp, 8
jmp 0x50ebb4
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 0x50f791
push esi
call fcn.00513990
add esp, 4
test eax, eax
jne 0x5114b5
push dword [ebx + edi*8 + 4]
push dword [ebx + edi*8]
push dword [esi + 0x10]
call fcn.00502240
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 0x50aff5
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 0x50f839
mov esi, dword [edi + 0x10]
movzx ecx, word [esi + 0x1a]
test cl, 2
jne 0x50f7fb
mov eax, ecx
test cl, 1
jne 0x50f7f4
push dword [esi + 8]
call fcn.004dfb90
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 0x50f839
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
test eax, eax
jne 0x50f81a
push esi
call fcn.00502170
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.00513920
add esp, 0xc
jmp 0x50ebb4
push edi
call fcn.00513960
add esp, 4
jmp 0x510cdb
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 0x50f87a
push esi
call fcn.00513990
add esp, 4
test eax, eax
jne 0x5114b5
mov ecx, dword [ebp - 0x1c]
test ebx, ebx
je 0x50f89b
push dword [ecx + edi*8 + 4]
push dword [ecx + edi*8]
push ebx
push dword [esi + 0x10]
call fcn.005022d0
add esp, 0x10
test eax, eax
jne 0x50b043
test ebx, ebx
js 0x50b40e
mov ebx, dword [ebp - 0x1c]
jmp 0x50f791
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 0x50f8f3
mov eax, dword [edx + 0xc8]
mov ecx, dword [edi + 0x14]
test eax, eax
je 0x50f8f0
nop word [eax + eax]
cmp dword [eax + 0x1c], ecx
je 0x50b40e
mov eax, dword [eax + 4]
test eax, eax
jne 0x50f8e0
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 8]
mov eax, dword [edx + 0xd0]
cmp eax, dword [ebx + 0x94]
jge 0x511453
test byte [ecx + 8], 0x10
jne 0x50fa09
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 0x50f93a
add eax, 7
sar eax, 3
lea edi, [eax + ecx*4]
mov eax, edi
cdq
push edx
push eax
push ebx
call fcn.004eb540
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x5114b5
push dword [ebp - 0x20]
call fcn.00513890
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], 0x512170
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 0x50fa01
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 0x50f9f0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd0]
jmp 0x50fa0c
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 0x50ebba
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d79b0
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.00513d10
mov esi, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
mov eax, dword [edi + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [ebp - 4]
je 0x50fb3d
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 0x50aff5
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
cdq
je 0x50fb61
add dword [edi + 0x1e8], eax
mov esi, dword [ebp - 4]
adc dword [edi + 0x1ec], edx
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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 0x50aff5
cmp dword [esi + 4], 0
je 0x50fbad
mov eax, dword [edi + 0x1e8]
or eax, dword [edi + 0x1ec]
jne 0x50b21f
mov eax, dword [edi + 0x1f0]
or eax, dword [edi + 0x1f4]
je 0x50b043
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x40]
or eax, dword [ecx + 0x44]
jne 0x50b21a
mov eax, dword [edi + 0x1f0]
or eax, dword [edi + 0x1f4]
je 0x50b043
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x50fc0f
mov eax, dword [edx + 4]
test eax, eax
je 0x50fbfb
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x50fbf2
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 0x50fc1e
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.00513600
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.00513600
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x50b40e
jl 0x50fc51
cmp dword [edi], eax
jae 0x50b40e
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x50f7a3
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 0x50b40e
jg 0x50fc80
test ecx, ecx
je 0x50b40e
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 0x50b043
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.004d79b0
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 0x50fd1e
jg 0x50fcd4
test eax, eax
je 0x50fd1e
mov ecx, dword [edx + ebx*8 + 4]
mov eax, dword [edx + ebx*8]
test ecx, ecx
jl 0x50fce5
jg 0x50fcf3
test eax, eax
jne 0x50fcf3
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.004e27d0
add esp, 0xc
test eax, eax
jne 0x50fd1e
mov eax, dword [ebp - 0xd0]
mov dword [edi], eax
mov eax, dword [ebp - 0xcc]
mov dword [edi + 4], eax
jmp 0x50f7a3
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
jmp 0x50f7a3
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 0x50b217
test edx, edx
jl 0x50b043
jg 0x50fd5f
test ecx, ecx
je 0x50b043
sub ecx, 1
mov dword [ebx + esi*8], ecx
sbb edx, 0
jmp 0x50b03f
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 0x50fd9b
jg 0x50fd8e
test eax, eax
je 0x50fd9b
sub eax, 1
mov dword [ebx + edx*8], eax
sbb ecx, 0
mov dword [ebx + edx*8 + 4], ecx
or eax, ecx
je 0x50b043
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov edx, dword [ebp - 4]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x44]
push eax
push edi
call fcn.004eb400
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5114b8
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 0x50fe3f
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 0x50fe89
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 8], edi
js 0x50fe89
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 0x50fe70
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 0x50fea7
mov eax, dword [ecx + 0x1c]
jmp 0x50feaa
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x50b40e
jle 0x50feda
push dword [esi]
call fcn.004b3160
push eax
push 0x58a0c4
push dword [ebp + 8]
call fcn.0050af00
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp byte [esi + 0x18], 0
je 0x50fefe
mov eax, dword [edi - 0x10]
test eax, eax
je 0x50fefa
push 0
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push 1
push eax
call fcn.00513920
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.00513890
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 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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 0x50ffc3
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 0x50ff7f
push edi
call fcn.00521cb0
add esp, 4
jmp 0x50ff88
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 0x50ffd1
push dword [edx + 0x10]
push esi
call fcn.005133a0
add esp, 8
mov ecx, eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x51146d
movzx eax, byte [ebp - 0x4c]
push eax
push esi
call fcn.0050a7c0
push esi
call fcn.00513e70
add esp, 0xc
test eax, eax
je 0x50b217
push str.string_or_blob_too_big
push dword [ebp + 8]
call fcn.0050af00
add esp, 8
mov eax, 0x12
jmp 0x50d204
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.004e8290
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
je 0x510071
cmp eax, 5
jne 0x50d207
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.00513920
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x510082
jmp 0x50f7a3
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp + 8]
call fcn.004d79b0
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 0x5100e3
xor eax, eax
jmp 0x510102
mov eax, dword [edi + 0x40]
cmp dword [eax], 0
je 0x5100fd
cmp dword [edi + 0x4c], 0
jl 0x5100fd
jg 0x5100f9
cmp dword [edi + 0x48], 0
jbe 0x5100fd
xor eax, eax
jmp 0x510102
mov eax, 1
test eax, eax
mov esi, ebx
mov eax, 0x584288
cmovne esi, ecx
cmp byte [edi + 0xf], 0
jne 0x51011a
mov eax, dword [edi + 0xa8]
cmp esi, 5
jne 0x510140
push eax
call fcn.00507160
add esp, 4
test eax, eax
je 0x510139
push edi
call fcn.004fd290
add esp, 4
test eax, eax
jne 0x510140
mov eax, ebx
jmp 0x5102c6
mov eax, esi
cmp esi, ebx
je 0x5102c6
cmp ebx, 5
je 0x510158
cmp esi, 5
jne 0x5102c6
mov eax, dword [ebp - 8]
cmp byte [eax + 0x4f], 0
je 0x51148c
cmp dword [eax + 0xb4], 1
jg 0x51148c
cmp ebx, 5
jne 0x510293
cmp dword [edi + 0xd8], 0
mov dword [ebp - 0xc], 0
jne 0x51022b
mov al, byte [edi + 0x11]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xc], 0
cmp al, 1
jb 0x5101ab
cmp al, bl
jne 0x5101db
cmp byte [edi + 0xd], 0
je 0x5101ba
mov dword [ebp - 0xc], 0
jmp 0x5101d1
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 0x5101db
cmp byte [edi + 0x11], 5
je 0x5101db
mov byte [edi + 0x11], 1
cmp dword [ebp - 0xc], 0
jne 0x510287
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 0x510287
cmp dword [ebp - 0xb4], eax
je 0x510222
push edi
call fcn.004d84f0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510287
cmp dword [edi + 0xd8], 0
je 0x510287
push edi
call fcn.004d81d0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510287
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.00516b80
push edi
mov dword [ebp - 0xc], eax
mov dword [edi + 0xd8], 0
call fcn.004d8250
add esp, 0x18
cmp dword [ebp - 0xc], 0
je 0x510287
cmp byte [edi + 4], 0
jne 0x510287
push 1
push edi
call fcn.004d8cc0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
test ecx, ecx
jne 0x5102cb
push esi
jmp 0x51029a
cmp ebx, 4
jne 0x5102a3
push 2
push edi
call fcn.004fcb40
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
test ecx, ecx
jne 0x5102cb
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.004e7df0
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.004fcb40
mov ebx, dword [ebp - 0x3c]
add esp, 8
mov ecx, 0xa02
mov word [ebx + 8], cx
cmp eax, 6
jne 0x5102ed
xor eax, eax
jmp 0x5102f4
mov eax, dword [eax*4 + 0x585c20]
push eax
mov dword [ebx + 0x10], eax
call fcn.00507160
mov dword [ebx + 0xc], eax
movzx eax, byte [ebp - 0x4c]
push eax
push ebx
mov byte [ebx + 0xa], 1
call fcn.0050a7c0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
test eax, eax
je 0x510346
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
jmp 0x510348
xor eax, eax
push eax
push dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x7c
push edi
push eax
call fcn.00502940
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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 0x5103a2
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x5103a2
push edi
call fcn.004c3a20
add esp, 4
cmp byte [ebx + 0x11], 0
je 0x510459
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.004cd980
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x3c], eax
jae 0x5103f7
push 0x58efe4
push 0x10984
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004b99a0
add esp, 0x14
mov dword [ebp - 0xc], 0xb
jmp 0x510460
test esi, esi
je 0x510459
mov eax, dword [ebx + 8]
test eax, eax
je 0x510418
push 0
push 0
push eax
call fcn.004dff40
mov edx, eax
add esp, 0xc
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x510460
push ebx
call fcn.004d2ec0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x2c]
push ebx
call fcn.004d28e0
mov edx, eax
add esp, 0x14
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x510460
mov eax, dword [ebx + 0xc]
push dword [eax + 0x48]
call fcn.004fd2c0
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 0x510460
mov dword [ebp - 0xc], 0x65
cmp byte [edi + 9], 0
je 0x510475
add dword [edi + 0xc], 0xffffffff
jne 0x510475
push edi
call fcn.0051fbd0
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x50b40e
cmp eax, 0x65
jne 0x50d204
mov dword [ebp - 0xc], 0
jmp 0x50b043
cmp dword [esi + 4], 0
jne 0x5104b7
push dword [esi + 8]
push edi
call fcn.004ed1b0
mov eax, dword [ebp - 0x10]
add esp, 8
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
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 0x50aff5
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 0x50aff5
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 0x50aff5
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + 0xc]
test bl, bl
jne 0x510539
mov eax, dword [edi + 0x20]
and eax, 0x400
mov dword [ebp - 0x30], eax
jne 0x50fb2f
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 0x510603
inc dword [esi + 0xc]
inc bl
mov byte [ebp - 0x90], bl
cmp byte [esi + 0xa], al
jne 0x510575
push esi
call fcn.004c3a20
add esp, 4
push dword [ebp - 0x90]
push edi
push esi
call fcn.004dc560
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x5105eb
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x5105b0
nop dword [eax]
cmp dword [ecx + 4], edi
jne 0x5105a9
cmp dword [ecx], esi
je 0x5105d9
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x5105a0
push 0
push 0x10
call fcn.004faca0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x510631
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 0x5105e1
mov byte [ecx + 8], bl
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
cmp byte [esi + 9], 0
je 0x510603
add dword [esi + 0xc], 0xffffffff
jne 0x510603
push esi
call fcn.0051fbd0
mov eax, dword [ebp - 0xc]
add esp, 4
test eax, eax
je 0x50f7a3
cmp al, 6
jne 0x50d204
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push str.database_table_is_locked:__s
push dword [ebp + 8]
call fcn.0050af00
mov eax, dword [ebp - 0xc]
add esp, 0xc
jmp 0x50d204
mov dword [ebp - 0xc], 7
mov eax, 7
jmp 0x5105eb
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], 0
mov esi, dword [edx + 0x10]
mov edx, dword [edi + 0x164]
test edx, edx
jle 0x51066b
cmp dword [edi + 0x17c], 0
jne 0x51066b
mov dword [ebp - 0xc], 6
jmp 0x51071a
test esi, esi
jne 0x510684
mov esi, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, 4
add esi, 0x14
jmp 0x50aff5
mov eax, dword [esi + 8]
mov edi, dword [eax]
cmp dword [edi + 0x38], 0
je 0x510717
mov ebx, dword [ebp - 8]
xor ecx, ecx
test edx, edx
jle 0x5106b2
mov eax, dword [ebx + 0x17c]
cmp dword [eax], esi
je 0x510748
inc ecx
add eax, 4
cmp ecx, edx
jl 0x5106a2
push ebx
call fcn.004d2350
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510717
push dword [esi + 8]
mov eax, dword [edi + 0x38]
call eax
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510717
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 0x510717
cmp dword [edi + 0x50], 0
je 0x510717
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 0x51072c
push dword [esi + 8]
push dword [ebp + 8]
call fcn.005162d0
add esp, 8
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov dword [ebp - 0xc], 0
mov edi, ebx
jmp 0x51071a
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.005132d0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x290]
push eax
call fcn.004b3160
add esp, 0xc
test eax, eax
je 0x510870
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.004f2550
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.004cdc80
add esp, 0x18
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x510855
mov eax, dword [ecx]
mov edx, dword [eax + 4]
test edx, edx
je 0x510855
cmp dword [eax + 0x14], 0
je 0x510855
mov edi, dword [ebp - 8]
push esi
push edx
push ecx
push ebx
push edi
call fcn.00524240
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510870
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x510870
cmp dword [eax], edi
je 0x510821
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x510814
jmp 0x510870
push edi
call fcn.004d2350
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510870
push ebx
push edi
call fcn.004f7150
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 0x510870
push edi
mov edi, dword [ebp - 8]
push str.no_such_module:__s
push edi
call fcn.004fac80
add esp, 0xc
mov dword [esi], eax
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x290]
push eax
call fcn.00513890
mov eax, dword [ebp - 0xc]
add esp, 4
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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.004f2550
mov edi, eax
add esp, 0xc
test edi, edi
je 0x51093c
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x51093c
nop
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
jg 0x510961
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x5108d0
mov ebx, dword [ebp - 8]
push edi
push ebx
call fcn.005246c0
mov esi, eax
add esp, 8
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x510902
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 0x510923
mov dword [esi + 8], eax
push esi
mov dword [edi + 0x40], eax
call fcn.00516570
add esp, 4
cmp dword [ebx + 0x1f8], 0
jne 0x510932
add dword [edi + 0x20], 0xffffffff
jne 0x51093c
push edi
push ebx
call fcn.004c99e0
add esp, 8
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
dec dword [edi + 0xc0]
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov eax, 6
mov dword [ebp - 0xc], eax
jmp 0x51093f
mov edx, dword [ebp - 4]
mov dword [ebp - 0x88], 0
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x5114e5
mov edi, dword [esi]
test edi, edi
je 0x5114e2
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.005162d0
mov eax, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
jne 0x50d204
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.004bf8b0
add esp, 0x14
test eax, eax
je 0x5114a7
mov ecx, dword [ebp - 0x88]
mov dword [eax + 0x28], ecx
inc dword [esi + 4]
jmp 0x50f7a3
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 0x510b2d
cmp esi, 0x10
jb 0x510b15
cmp dword [0x5bbfc4], 2
jl 0x510b15
movaps xmm2, xmmword [0x58f150]
mov eax, esi
and eax, 0x8000000f
jns 0x510a70
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm1, xmmword [0x58f160]
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 0x510a80
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
cmp ecx, esi
jge 0x510b2d
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 0x510b22
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.005162d0
mov eax, dword [ebp - 0xc]
add esp, 0x1c
test eax, eax
jne 0x50d204
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 0x50b40e
jmp 0x50b043
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 0x510baa
push esi
call fcn.00513960
add esp, 4
jmp 0x50f7a3
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 0x510bea
push esi
call fcn.00513960
mov edx, dword [ebp - 4]
add esp, 4
mov dword [esi], 0
mov eax, 0x4001
jmp 0x510bfd
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.005162d0
add esp, 0x14
cmp dword [ebp - 0x22c], 0
jle 0x510c4d
push esi
call fcn.004b3160
push eax
push 0x58a0c4
push edi
call fcn.0050af00
mov eax, dword [ebp - 0x22c]
add esp, 0x10
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 0x4c]
push eax
push esi
call fcn.0050a7c0
push esi
call fcn.00513e70
add esp, 0xc
test eax, eax
jne 0x50fff8
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
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 0x50b40e
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.005162d0
mov eax, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
jne 0x50d204
push dword [edi + 0x28]
mov eax, dword [ebx + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x50ebb4
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 0x50ebba
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.0050a7c0
add esp, 8
test eax, eax
jne 0x50d204
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 0x510d61
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfbffffff
mov dword [edi + 0x24], eax
push esi
push dword [ebp + 8]
call fcn.005162d0
mov eax, dword [ebp + 8]
add esp, 8
and dword [eax + 0x98], 0xfffffffc
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
cmp byte [edi + 0x51], 0
jne 0x5114b8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov edi, dword [eax + 8]
test edi, edi
je 0x5114ef
mov ebx, dword [edi]
test ebx, ebx
je 0x5114ef
cmp dword [ebx + 0x34], 0
mov edx, dword [edx + 8]
je 0x511086
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 0x510dfb
nop dword [eax]
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x510df0
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.005162d0
mov eax, dword [ebp - 0xc]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
test eax, eax
jne 0x510e55
cmp dword [ecx + 4], eax
je 0x510e55
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 0x510e9c
mov eax, dword [ecx + 0x10]
cmp byte [eax + 0x10], 0
je 0x510e9c
movzx ecx, word [ecx + 2]
cmp ecx, 4
jne 0x510e83
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 0x50aff5
movzx eax, cl
cmp ecx, 5
mov ecx, 2
cmove eax, ecx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x92], al
jmp 0x510ea2
mov eax, dword [ebp + 8]
inc dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50d207
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d79b0
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 0x50aff5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d79b0
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 0x510f3d
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 0x510f55
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x510f55
push esi
call fcn.004c3a20
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax]
test edi, edi
jle 0x510f66
mov dword [eax + 0x9c], edi
jmp 0x510f6c
mov edi, dword [eax + 0x9c]
cmp byte [esi + 9], 0
je 0x510f81
add dword [esi + 0xc], 0xffffffff
jne 0x510f81
push esi
call fcn.0051fbd0
add esp, 4
mov eax, edi
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x50f7a3
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 0x510fdf
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 0xc], ebx
mov dword [esi], edi
js 0x510fdf
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 0x510fc4
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 0x51105b
jle 0x51102c
push edi
call fcn.004b3160
push eax
push 0x58a0c4
push ebx
call fcn.0050af00
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.0050ad40
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov dword [esi + 0x14], 0
test eax, eax
jne 0x50d204
test byte [edi + 8], 0x12
je 0x50b40e
movzx eax, byte [ebp - 0x4c]
push eax
push edi
call fcn.0050a7c0
push edi
call fcn.00513e70
add esp, 0xc
test eax, eax
jne 0x50fff8
jmp 0x50f7a3
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50aff5
mov cl, byte [edi + 0x58]
test cl, 0x41
je 0x51114d
mov edx, dword [ebp + 8]
test byte [edx + 0x98], 0x10
jne 0x51114d
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x5110c8
mov eax, dword [edx + 0xc0]
test eax, eax
je 0x51114d
push eax
test cl, 0x40
je 0x5110f9
mov edi, dword [edi + 0xcc]
push edx
call fcn.00511b90
mov esi, eax
mov eax, dword [ebp - 8]
push esi
push dword [eax + 0xd0]
call edi
push esi
call fcn.004b09e0
mov edi, dword [ebp - 8]
add esp, 0x14
mov esi, dword [ebp - 4]
jmp 0x51114d
cmp dword [edi + 0xbc], 1
jle 0x511139
push str.____s
push edi
call fcn.004fac80
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 0x511134
push esi
push edi
call fcn.004eb390
add esp, 8
mov esi, dword [ebp - 4]
jmp 0x51114d
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 [0x5b5d34]
jl 0x5111a1
cmp byte [esi], 0xaa
je 0x50b21a
mov esi, dword [ebp + 8]
mov edx, 1
cmp dword [esi + 0x6c], edx
jle 0x51118d
mov eax, 0x14
mov ecx, dword [esi + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x511184
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [esi + 0x6c]
jl 0x511173
mov edi, dword [ebp - 4]
xor eax, eax
inc eax
mov dword [edi + 4], eax
inc dword [esi + 0xbc]
jmp 0x50b046
mov edi, dword [ebp - 4]
inc eax
mov esi, dword [ebp + 8]
mov dword [edi + 4], eax
inc dword [esi + 0xbc]
jmp 0x50b046
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 0x511239
movzx eax, word [edx + 2]
test ax, ax
je 0x51120b
push dword [eax*4 + 0x585b7c]
push str._s_constraint_failed
push ebx
call fcn.0050af00
mov eax, dword [ebp - 4]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x51121c
push eax
push dword [ebx + 0x7c]
push str._z:__s
push edi
call fcn.004fac80
add esp, 0x10
mov dword [ebx + 0x7c], eax
jmp 0x51121c
push dword [edx + 0x10]
push 0x58a0c4
push ebx
call fcn.0050af00
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.004b99a0
add esp, 0x14
push ebx
call fcn.00512390
mov esi, dword [ebp - 0x14]
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc], ecx
cmp ecx, 5
jne 0x511259
mov dword [ebx + 0x28], eax
mov ebx, eax
jmp 0x511860
cmp dword [ebx + 0x28], 0
mov ecx, 0x65
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xc], ecx
mov ebx, ecx
jmp 0x511860
push 0x1569f
call fcn.004e9e20
mov edi, dword [ebp - 8]
add esp, 4
jmp 0x50d20a
push str.cannot_open_savepoint___SQL_statements_in_progress
push dword [ebp + 8]
call fcn.0050af00
add esp, 8
mov eax, 5
mov edi, esi
jmp 0x50d207
push str.cannot_release_savepoint___SQL_statements_in_progress
push dword [ebp + 8]
call fcn.0050af00
add esp, 8
mov eax, 5
jmp 0x50d204
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 0x511860
mov eax, 8
jmp 0x50d207
mov esi, dword [ebp - 0x14]
cmp al, 5
jne 0x50be36
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 0x511860
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x511347
push eax
push edi
call fcn.004eb390
add esp, 8
push 0
push 0x1c
push edi
call fcn.004eb400
mov esi, eax
add esp, 0xc
test esi, esi
je 0x51136a
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 0x511395
push edx
push edi
call fcn.00501900
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 0x50d20d
mov eax, 0x204
jmp 0x50d207
test dword [ebp - 0x148], 0x2400
jne 0x5113d9
cmp dword [ebp - 0x138], 0
je 0x5113e8
lea eax, [ebp - 0x150]
push eax
call fcn.00521c70
add esp, 4
push 0x58efe4
push 0x14136
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004b99a0
add esp, 0x14
mov eax, 0xb
jmp 0x50d204
mov ecx, dword [ebp + 8]
mov eax, 6
mov ebx, dword [ebp - 0x18]
mov edi, edx
mov byte [ecx + 0x92], 2
jmp 0x50d20d
mov dword [ebp - 0xc], 7
push edi
call fcn.00501880
mov eax, dword [ebp - 0xc]
add esp, 4
mov esi, dword [ebp - 0x14]
cmp eax, 7
je 0x511740
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jmp 0x50d210
push str.too_many_levels_of_trigger_recursion
push edx
call fcn.0050af00
add esp, 8
mov eax, 1
mov edi, ebx
jmp 0x50d207
push esi
call fcn.004b3160
push eax
push 0x58a0c4
push dword [ebp + 8]
call fcn.0050af00
add esp, 0x10
mov eax, dword [ebp - 0xc]
jmp 0x50d207
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 0x50d1f4
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.004fb500
push str.out_of_memory
push edx
call fcn.0050af00
mov ecx, dword [ebp + 8]
add esp, 0xc
mov ebx, dword [ebp - 0x18]
mov eax, 7
jmp 0x50d210
mov edi, dword [ebp - 8]
mov eax, 6
jmp 0x50d207
mov eax, 6
jmp 0x50d204
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
jl 0x511530
jg 0x51150a
cmp dword [eax + 0x40], 0
jbe 0x511530
push str.FOREIGN_KEY_constraint_failed
push eax
mov dword [eax + 0x28], 0x313
mov byte [eax + 0x92], 2
call fcn.0050af00
add esp, 8
mov eax, 1
jmp 0x50d207
push 1
push eax
call fcn.0050abe0
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 0x511596
mov eax, 0x1000
test word [esi + 8], ax
je 0x511581
push esi
call fcn.00513680
add esp, 4
test eax, eax
jne 0x5114b5
push esi
call fcn.00513730
inc edi
add esp, 4
add esi, 0x28
cmp edi, dword [ebx + 8]
jl 0x511565
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 8]
cmp byte [edi + 0x51], 0
jne 0x5114bb
test byte [edi + 0x58], 4
je 0x5115bf
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 0x511860
mov edx, dword [ebp - 4]
movzx eax, byte [edi + 0x4f]
mov ebx, dword [edx + 4]
mov ecx, dword [edx + 8]
cmp ebx, eax
je 0x5116cb
test ecx, ecx
je 0x511614
push 0x204
push edi
call fcn.00502030
add esp, 8
mov al, 1
jmp 0x511659
test ebx, ebx
je 0x51163b
cmp dword [edi + 0xb8], 0
jle 0x51163b
push str.cannot_commit_transaction___SQL_statements_in_progress
push dword [ebp + 8]
call fcn.0050af00
add esp, 8
mov eax, 5
jmp 0x50d207
push 1
push dword [ebp + 8]
mov dword [ebp - 0x90], ebx
call fcn.0050a9a0
mov ecx, eax
add esp, 8
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x5116c0
mov eax, ebx
push dword [ebp + 8]
mov byte [edi + 0x4f], al
call fcn.00512390
add esp, 4
cmp eax, 5
jne 0x5116a0
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 0x511860
push edi
call fcn.004e86f0
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 0x511860
test ebx, ebx
jne 0x5116d6
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x5116e5
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.0050af00
add esp, 8
mov eax, 1
jmp 0x50d207
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.004b15d0
push eax
push 0x58a0c4
push edx
call fcn.0050af00
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jmp 0x50d210
mov edi, dword [ebp - 8]
mov edx, esi
jmp 0x5114bb
mov edx, dword [ebp + 8]
jmp 0x5114be
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x51175b
mov ecx, str.no_more_rows_available
jmp 0x51175b
mov ecx, str.another_row_available
push ecx
push 0x58a0c4
push dword [ebp + 8]
call fcn.0050af00
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
cmp eax, 0xc0a
je 0x5117a3
movzx eax, al
cmp eax, 0xe
je 0x511789
cmp eax, 0xa
jne 0x5117a3
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x51179e
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x5117a0
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.004b99a0
push dword [ebp + 8]
call fcn.00512390
add esp, 0x18
cmp dword [ebp - 0xc], 0xc0a
jne 0x51182a
cmp byte [edi + 0x51], 0
jne 0x51182a
cmp byte [edi + 0x52], 0
jne 0x51182a
cmp dword [edi + 0xbc], 0
mov byte [edi + 0x51], 1
jle 0x51180a
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 0x51182a
mov dword [eax + 0xc], 7
mov al, byte [ebp - 0x59]
mov dword [ebp - 0xc], 1
test al, al
je 0x511856
movzx eax, al
dec eax
push eax
push edi
call fcn.00501900
mov ebx, dword [ebp - 0xc]
add esp, 8
jmp 0x511860
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
jmp 0x511860
mov ebx, 1
nop dword [eax + eax]
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
jb 0x511899
mov eax, dword [edi + 0x158]
test eax, eax
je 0x511899
push dword [edi + 0x15c]
add esi, dword [edi + 0x160]
call eax
add esp, 4
test eax, eax
je 0x511860
mov ecx, dword [ebp + 8]
or esi, 0xffffffff
mov ebx, dword [ebp - 0x18]
mov eax, 9
jmp 0x50d210
mov edx, dword [ebp + 8]
add dword [edx + 0xb4], ecx
cmp dword [edx + 0xa0], 0
je 0x5118b4
push edx
call fcn.00521bb0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret