Function at 0x50b500
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.0050b450
add esp, 4
cmp dword [edi + 0x158], 0
je 0x50b569
mov esi, dword [edi + 0x160]
xor edx, edx
mov eax, dword [ebx + 0xb4]
div esi
sub esi, edx
jmp 0x50b56c
or esi, 0xffffffff
mov edx, ebx
mov dword [ebp - 0x14], esi
cmp dword [edx + 0x28], 7
je 0x511a8e
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 0x511cce
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.0x50b5dd.85
jmp dword [ebx*4 + 0x511e90]
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 0x50b5c5
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 0x50b5c5
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 0x50b613
mov ecx, eax
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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 0x50b5c5
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 0x50b5c5
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x50b7ea
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 0x511789
mov edx, dword [ebx + 0xc8]
test edx, edx
je 0x511786
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.00512760
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 0x50b7af
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 0x50b5c5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d7f60
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 0x50b5c5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d7f60
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 0x50b5c5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d7f60
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 0x50b5c5
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp + 8]
call fcn.004d7f60
mov edi, dword [ebx + 0x10]
mov esi, eax
push edi
call fcn.00507730
mov edx, ebx
add esp, 0xc
mov bl, byte [ebp - 0x4c]
mov dword [edx + 4], eax
cmp bl, 1
je 0x50b8f9
push 0
push 1
push 0xffffffffffffffff
push edi
push esi
call fcn.00514040
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x5105c8
movzx eax, bl
push eax
push esi
call fcn.0050ad90
add esp, 8
test eax, eax
jne 0x511a85
mov edx, dword [ebp - 4]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [edx + 1], 0xf9
jne 0x50b8e9
mov eax, dword [edx + 0x10]
test eax, eax
je 0x50b8e9
push eax
push dword [ebp - 8]
call fcn.004eb970
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 0x5105c8
mov byte [edx], 0x47
jmp 0x50b910
mov edx, dword [ebp - 4]
mov bl, byte [ebp - 0x4c]
push edx
push dword [ebp + 8]
call fcn.004d7f60
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 0x50b7e7
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 0x50b7e7
cmp dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 4]
jne 0x50b7ea
mov eax, 0xa10
mov word [ecx + 8], ax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp + 8]
call fcn.004d7f60
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 0x50b9de
nop
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.00513f30
dec edi
mov word [esi - 4], bx
add esp, 4
mov dword [esi], 0
test edi, edi
jg 0x50b9c0
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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 0x50b5c5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d7f60
mov esi, eax
mov eax, dword [ebp - 4]
push 0
push 0
push dword [eax + 4]
push dword [eax + 0x10]
push esi
call fcn.00514040
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 0x50b5c5
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.00514440
add esp, 4
test eax, eax
jne 0x5105c8
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 0x50baa8
push esi
call fcn.00513f30
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 0x50b5c5
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.00513cb0
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x50bb26
push esi
call fcn.00513c50
add esp, 4
test eax, eax
jne 0x511a85
add edi, 0x28
add esi, 0x28
sub ebx, 1
jne 0x50bb00
mov edi, dword [ebp - 8]
lea ecx, [ebx + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.005142e0
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x50bb8b
push esi
call fcn.00513c50
add esp, 4
test eax, eax
jne 0x511a85
mov eax, ebx
dec ebx
test eax, eax
je 0x50b9de
add esi, 0x28
add edi, 0x28
jmp 0x50bb60
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.005142e0
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
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.00513ef0
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
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 0x50bc60
push edi
call fcn.00513f30
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 0x50b5c5
test cl, 0x12
jne 0x50bc75
push 0
push dword [ebp - 0x4c]
push ebx
call fcn.00514330
add esp, 0xc
jmp 0x50bc86
test ecx, 0x4000
je 0x50bca0
push ebx
call fcn.00513910
add esp, 4
test eax, eax
jne 0x511a85
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 0x50bcd6
push 0
push dword [ebp - 0x4c]
push esi
call fcn.00514330
add esp, 0xc
test eax, eax
jne 0x511a85
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx edx, ax
mov dword [ebp - 0x20], edx
jmp 0x50bd01
test edx, 0x4000
je 0x50bd01
push esi
call fcn.00513910
add esp, 4
test eax, eax
jne 0x511a85
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 0x5105c8
xor eax, eax
cmp edi, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push edi
call fcn.00513a70
add esp, 0xc
test eax, eax
jne 0x511a85
mov ax, word [edi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [edi + 8], ax
cmp edi, esi
je 0x50bd63
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 0x50b5c5
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.004d76c0
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.004d76c0
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 0x50c053
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.0x50be45
jmp dword [eax*4 + 0x51213c]
push esi
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.004e2db0
add esp, 0xc
test eax, eax
je 0x50c018
mov esi, dword [ebp - 0x28]
push esi
call fcn.00514b00
mov ebx, dword [ebp - 0x34]
fstp qword [ebp - 0x30]
push ebx
call fcn.00514b00
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.0x50be8f
jmp dword [eax*4 + 0x51214c]
test edi, edi
jne 0x50bec0
cmp esi, 0x80000000
jne 0x50bec0
test ecx, ecx
jg 0x50be62
jl 0x50beac
test ebx, ebx
jae 0x50be62
add ebx, 0
mov dword [ebp - 0x70], ebx
adc ecx, 0x80000000
mov dword [ebp - 0x6c], ecx
jmp 0x50c018
neg edi
adc esi, 0
neg esi
jmp case.0x50be45.105
test esi, esi
jl 0x50bf32
jg 0x50bed3
test edi, edi
je 0x50bf20
push esi
push edi
push 0x7fffffff
push 0xffffffffffffffff
call fcn.00534f10
cmp dword [ebp - 0x24], edx
jg 0x50be62
jl 0x50bef4
cmp ebx, eax
ja 0x50be62
push esi
push edi
push 0x80000000
push 0
call fcn.00534f10
mov ecx, dword [ebp - 0x24]
cmp ecx, edx
jg 0x50bfba
jl 0x50be62
cmp ebx, eax
jae 0x50bfba
jmp 0x50be62
test esi, esi
jg 0x50bfba
jl 0x50bf32
test edi, edi
jae 0x50bfba
test ecx, ecx
jl 0x50bf67
jg 0x50bf3c
test ebx, ebx
je 0x50bf5d
push ecx
push ebx
push 0x80000000
push 0
call fcn.00534f10
cmp esi, edx
jg 0x50bfb7
jl 0x50be62
cmp edi, eax
jae 0x50bfb7
jmp 0x50be62
test ecx, ecx
jg 0x50bfba
jl 0x50bf67
test ebx, ebx
jae 0x50bfba
test edi, edi
jne 0x50bf77
cmp esi, 0x80000000
je 0x50be62
test ebx, ebx
jne 0x50bf87
cmp ecx, 0x80000000
je 0x50be62
push esi
push edi
push 0x80000000
push 1
call fcn.00534f10
mov ecx, ebx
neg ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x24]
adc ecx, 0
neg ecx
cmp ecx, edx
jg 0x50be62
jl 0x50bfb7
cmp dword [ebp - 0x3c], eax
ja 0x50be62
mov ecx, dword [ebp - 0x24]
push esi
push edi
push ecx
push ebx
call fcn.005350a0
jmp 0x50c012
mov eax, edi
or eax, esi
je 0x50c05b
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x50bfe8
test ebx, ebx
jne 0x50bfe8
cmp ecx, 0x80000000
je 0x50be62
push esi
push edi
push ecx
push ebx
call fcn.00534f10
jmp 0x50c012
mov eax, edi
or eax, esi
je 0x50c05b
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x50c009
mov edi, 1
xor esi, esi
push esi
push edi
push ecx
push ebx
call fcn.005350e0
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 0x50b5c5
test al, 1
je 0x50be65
push dword [ebp - 0x20]
call fcn.00513f30
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 0x50b5c5
movsd xmm0, qword [ebp - 0x40]
addsd xmm0, qword [ebp - 0x30]
jmp 0x50c103
movsd xmm0, qword [ebp - 0x40]
subsd xmm0, qword [ebp - 0x30]
jmp 0x50c103
movsd xmm0, qword [ebp - 0x40]
mulsd xmm0, qword [ebp - 0x30]
jmp 0x50c103
movsd xmm1, qword [ebp - 0x30]
ucomisd xmm1, qword [ebp - 0x178]
lahf
test ah, 0x44
jnp 0x50c05b
movsd xmm0, qword [ebp - 0x40]
divsd xmm0, xmm1
jmp 0x50c103
push esi
call fcn.00512cb0
push ebx
mov esi, eax
mov edi, edx
call fcn.00512cb0
mov ecx, eax
mov dword [ebp - 0x6c], edx
mov eax, esi
mov dword [ebp - 0x70], ecx
add esp, 8
or eax, edi
je 0x50c05b
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
jne 0x50c0f3
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push ecx
call fcn.005350e0
mov ecx, eax
call fcn.005356c0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004f9a20
add esp, 8
test eax, eax
jne 0x50c05b
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 0x50b5c5
mov eax, dword [esi + 4]
test eax, eax
je 0x50b7ef
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
push 0
push 0
lea eax, [ecx + eax*8]
push eax
call fcn.00513ef0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
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 0x50c1ca
push edx
call fcn.00513f30
mov esi, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
push ecx
call fcn.00512cb0
mov edi, eax
mov esi, edx
push ebx
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xf4], esi
call fcn.00512cb0
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 4]
mov cl, byte [eax]
cmp cl, 0x65
jne 0x50c1fb
and edi, ebx
and esi, edx
jmp 0x50c25e
cmp cl, 0x66
jne 0x50c206
or edi, ebx
or esi, edx
jmp 0x50c25e
mov eax, ebx
or eax, edx
je 0x50c25e
test edx, edx
jg 0x50c23a
jl 0x50c216
test ebx, ebx
jae 0x50c22f
mov al, 0xcf
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x50c23a
jg 0x50c228
cmp ebx, 0xffffffc0
jbe 0x50c23a
neg ebx
adc edx, 0
neg edx
test edx, edx
jl 0x50c290
jg 0x50c23a
cmp ebx, 0x40
jb 0x50c290
test esi, esi
jg 0x50c250
jl 0x50c244
test edi, edi
jae 0x50c250
cmp cl, 0x67
je 0x50c250
or edi, 0xffffffff
or esi, edi
jmp 0x50c25e
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 0x50b5c5
movq xmm1, qword [ebp - 0xf8]
movd xmm0, ebx
cmp cl, 0x67
jne 0x50c2ac
psllq xmm1, xmm0
movq qword [ebp - 0x30], xmm1
jmp 0x50c258
psrlq xmm1, xmm0
movq qword [ebp - 0x30], xmm1
test esi, esi
jg 0x50c258
jl 0x50c2bf
test edi, edi
jae 0x50c258
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, ebx
or edx, 0xffffffff
call fcn.005351a0
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
or edi, eax
or esi, edx
jmp 0x50c25e
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.00513bd0
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 0x50b5c5
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 0x50c369
test al, 8
jne 0x50c33f
test al, 2
je 0x50c348
push 1
push esi
call fcn.004c0e10
add esp, 8
jmp 0x50c348
push esi
call fcn.00512d00
add esp, 4
movzx eax, word [esi + 8]
mov ecx, eax
test al, 4
jne 0x50c369
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x50b613
mov eax, 0x14
jmp 0x50d7d7
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 0x50b5c5
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 0x50b7ea
push eax
call fcn.00513df0
mov eax, dword [ebp - 0x10]
add esp, 4
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
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 0x50c3e4
push esi
call fcn.00513910
add esp, 4
test eax, eax
jne 0x50d7d7
mov eax, dword [ebp - 4]
push dword [ebp - 0x4c]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.00513780
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
je 0x50b7e7
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
jmp 0x50d7e0
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 0x50c4d9
mov edi, dword [ebp - 4]
movzx eax, word [edi + 2]
test al, al
jns 0x50c47b
mov al, cl
and al, byte [ebp - 0x38]
test al, 1
je 0x50c46a
test ecx, 0x100
jne 0x50c46a
xor ecx, ecx
jmp 0x50c5f2
not ecx
and ecx, 1
lea ecx, [ecx*2 - 1]
jmp 0x50c5f2
test al, 0x20
je 0x50c4bb
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 0x50b5c5
test al, 0x10
jne 0x50b613
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov eax, dword [ebp - 4]
mov al, byte [eax + 2]
and al, 0x47
cmp al, 0x43
jb 0x50c573
mov ecx, edi
test dl, 2
je 0x50c527
mov al, byte [ebp - 0x38]
and al, 0x2e
cmp al, 2
jne 0x50c50b
push 0
push ebx
call fcn.004c0e10
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 0x50c527
push 0
push esi
call fcn.004c0e10
movzx ecx, word [esi + 8]
add esp, 8
and cl, byte [ebx + 8]
test cl, 4
je 0x50c5e0
mov edi, dword [esi + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [esi]
mov eax, dword [ebx]
cmp edi, edx
jl 0x50c55e
jg 0x50c547
cmp ecx, eax
jbe 0x50c554
mov edi, dword [ebp - 4]
mov ecx, 1
jmp 0x50c5f2
cmp edi, edx
jg 0x50c569
jl 0x50c55e
cmp ecx, eax
jae 0x50c569
mov edi, dword [ebp - 4]
or ecx, 0xffffffff
jmp 0x50c5f2
mov edi, dword [ebp - 4]
xor ecx, ecx
jmp 0x50c5f2
cmp al, 0x42
jne 0x50c5e0
mov al, byte [ebp - 0x38]
mov edi, dword [ebp - 0x4c]
test al, 2
jne 0x50c5b5
test al, 0x2c
je 0x50c5b5
push 1
push edi
push ebx
call fcn.00514330
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 0x50c5b5
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 0x50c5e0
test al, 0x2c
je 0x50c5e0
push 1
push edi
push esi
call fcn.00514330
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.004fb690
add esp, 0xc
mov ecx, eax
movzx eax, byte [edi]
test ecx, ecx
jns 0x50c601
mov al, byte [eax + 0x586bcc]
jmp 0x50c611
jne 0x50c60b
mov al, byte [eax + 0x586bd4]
jmp 0x50c611
mov al, byte [eax + 0x586bdc]
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 0x50c682
mov dword [ebp - 0x68], ecx
test al, 8
je 0x50c643
xor eax, eax
cmp byte [edi], 0x35
sete al
cmp eax, edx
je 0x50b9de
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 0x50b5c5
test edx, edx
jne 0x50b613
mov edi, dword [ebp - 8]
lea ecx, [edx + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
cmp dword [ebp - 0x68], 0
jne 0x50b613
add esi, 0x14
jmp 0x50b5c5
mov ebx, dword [ebp - 4]
test byte [ebx + 2], 1
jne 0x50c6bd
xor eax, eax
jmp 0x50c6c3
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 0x50b7e7
lea ebx, [edx + 0x14]
nop
test eax, eax
je 0x50c6f9
mov edi, dword [eax + esi*4]
jmp 0x50c6fb
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.004fb690
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x68], ecx
test ecx, ecx
jne 0x50c75b
mov eax, dword [ebp - 0x34]
inc esi
mov edx, dword [ebp - 0x60]
add ebx, 4
cmp esi, dword [ebp - 0x3c]
jl 0x50c6f0
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
test byte [esi + eax], 2
je 0x50c78d
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 0x50c788
mov eax, dword [ebp - 0x50]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
je 0x50c78d
neg ecx
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x54], 0
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
je 0x50b7ea
mov eax, dword [ebp - 0x10]
neg ecx
mov dword [ebp - 0x68], ecx
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 4]
test eax, eax
jns 0x50c7d6
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 0x50b5c5
jne 0x50c7f2
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 0x50b5c5
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 0x50b5c5
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.0050ad30
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.0050ad30
mov ecx, dword [ebp - 4]
add esp, 0x10
lea eax, [eax + esi*2]
cmp byte [ecx], 0x2c
jne 0x50c850
mov dl, byte [esi + eax + 0x586c18]
jmp 0x50c857
mov dl, byte [esi + eax + 0x586c24]
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 0x50c88f
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 0x50b5c5
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 0x50b5c5
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.0050ad30
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.00513ef0
mov esi, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
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 0x50c947
push 0
push ecx
call fcn.0050ad30
neg eax
push 0
sbb eax, eax
inc eax
push eax
push esi
call fcn.00513ef0
mov esi, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
push esi
call fcn.00513f30
mov esi, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
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.00513f30
add esp, 4
test byte [edi + 8], 1
jne 0x50b9de
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.00512cb0
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 0x50b5c5
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x50ca2c
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 0x50b613
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 0x50b5c5
mov ecx, dword [esi + 0x68]
mov edi, dword [ebp - 4]
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 4]
je 0x50b616
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 0x50b5c5
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.0050ad30
add esp, 8
test eax, eax
jne 0x50b613
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.0050ad30
add esp, 8
test eax, eax
je 0x50b613
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
jne 0x50b613
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x50b613
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
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 0x50b7ea
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.00513f30
add esp, 4
jmp 0x50b613
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 0x50cbd5
mov eax, dword [esi + 0x18]
test eax, eax
je 0x50cbcd
mov eax, dword [eax + edx*4 + 4]
test eax, eax
jle 0x50cbcd
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 0x50ccc1
cmp byte [esi + 2], 0
je 0x50cc12
cmp byte [esi], 3
jne 0x50cbf3
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 0x50cc46
push esi
call fcn.005126d0
jmp 0x50cbe3
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
je 0x50cb79
push esi
call fcn.004d2980
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
jmp 0x50cb80
push ecx
call fcn.00513f30
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 0x50b5c5
mov esi, dword [esi + 0x28]
push esi
call fcn.004d1b50
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.004e7d10
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 0x5105c8
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 0x50cc65
movzx eax, cl
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov al, 1
jmp 0x50cc71
push dword [ebp - 0x24]
push eax
call fcn.004f7900
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 0x50ccb4
mov dword [edi], 0
mov edi, eax
mov dword [esi + 0x4c], 0
mov eax, dword [edi]
cmp eax, 0x18003
ja 0x50ce5d
mov dword [ebp - 0x28], edx
cmp eax, dword [esi + 0x50]
jbe 0x50ccc7
jmp 0x50ce5d
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x54], eax
xor eax, eax
jmp 0x50cd46
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 0x50cef1
mov ecx, dword [esi + 0x30]
mov ebx, dword [edi]
cmp ecx, ebx
jae 0x50ce8d
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x50cd3e
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.00513a00
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d4
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 0x50cd46
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 0x50cd95
movzx eax, byte [ebx + 0x586b30]
mov ecx, 1
cdq
jmp 0x50cdb2
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.004f7900
mov ebx, dword [ebp - 0x7c]
push ebx
movzx ecx, al
mov dword [edi], ebx
call fcn.00515760
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 0x50cddf
cmp esi, dword [ebp - 0x20]
jb 0x50cd70
mov edi, dword [ebp - 0x20]
jmp 0x50cde6
mov edi, dword [ebp - 0x20]
cmp esi, edi
jb 0x50cdf8
cmp esi, edi
mov edi, dword [ebp - 0x38]
ja 0x50ce06
cmp eax, dword [edi + 0x50]
jne 0x50ce06
test edx, edx
jne 0x50ce06
jmp 0x50cdfb
mov edi, dword [ebp - 0x38]
test edx, edx
jb 0x50ce13
ja 0x50ce06
cmp eax, dword [edi + 0x50]
jbe 0x50ce13
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x50ce48
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 0x50ce40
lea eax, [ebp - 0x268]
push eax
call fcn.00513e60
mov eax, dword [ebp - 0x28]
add esp, 4
movzx eax, word [eax]
mov edi, dword [ebp - 0x24]
movzx eax, ax
jmp 0x50ce94
cmp dword [edi + 0x4c], 0
jne 0x50ce5d
lea eax, [ebp - 0x268]
push eax
call fcn.00513e60
add esp, 4
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x511844
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 0x50b5c5
xor ebx, ebx
mov eax, edx
mov dword [ebp - 0x7c], ebx
movzx eax, ax
cmp eax, dword [ebp - 0x50]
jg 0x50cef8
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0xf5
jne 0x50cecf
push 0x800
push dword [eax + 0x10]
mov eax, dword [ebp - 0x48]
push eax
call fcn.005142e0
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 0x50b5c5
mov eax, dword [ebp - 0x48]
push eax
call fcn.00513f30
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 0x50b5c5
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 0x50cf12
push ecx
call fcn.00513f30
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 0x50cfd4
mov eax, dword [ebp - 0x24]
mov edi, dword [esi + 0x4c]
add edi, dword [eax + edx*4]
cmp ebx, 0xc
jae 0x50cf51
push ecx
push ebx
push edi
call fcn.005154b0
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 0x50b5c5
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 0x50cf8c
push 0
push eax
mov edx, 1
push ecx
mov word [ecx + 8], dx
call fcn.00513a70
add esp, 0xc
test eax, eax
jne 0x511a85
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x10]
jmp 0x50cf92
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 + 0x586c30]
mov esi, dword [ebp - 4]
mov word [ecx + 8], ax
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov al, byte [ebp - 0x4c]
mov byte [ecx + 0xa], al
mov eax, dword [ebp - 4]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x50cff3
cmp ebx, 0xc
jb 0x50cfef
test bl, 1
je 0x50d000
test al, al
js 0x50d000
push ebx
call fcn.00515760
add esp, 4
test eax, eax
jne 0x50d025
push ecx
push ebx
push 0x586150
call fcn.005154b0
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 0x50b5c5
push ecx
push eax
push dword [edi + edx*4]
push dword [esi + 0x28]
call fcn.00513a00
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d4
mov esi, dword [ebp - 0x48]
push esi
push ebx
push dword [esi + 0x10]
call fcn.005154b0
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 0x50b5c5
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.004c0da0
add esp, 0xc
cmp byte [edi], 0x45
jne 0x50d0e9
movzx ebx, word [esi + 8]
test bl, 4
je 0x50d0e9
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add ecx, 0
mov eax, edx
adc eax, 0x8000
cmp eax, 0xffff
ja 0x50d0d1
jb 0x50d0c6
cmp ecx, 0xffffffff
ja 0x50d0d1
and ebx, 0xfffb
or ebx, 0x20
jmp 0x50d0e5
mov ecx, dword [esi]
call fcn.005356c0
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 0x50b9de
add esi, 0x28
jmp 0x50d083
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 0x50d1a1
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.004c0da0
add esp, 0xc
cmp byte [edi], 0x45
jne 0x50d18a
movzx eax, word [esi]
test al, 4
je 0x50d18a
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 0x50d160
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 0x50d1dd
and ebx, 0x4000
neg ebx
sbb ebx, ebx
and ebx, 0xa
inc ecx
mov dword [edx], ebx
jmp 0x50d3ec
test bl, 0x24
je 0x50d359
mov ecx, dword [edx - 0x18]
mov eax, dword [edx - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], ecx
test ecx, ecx
jg 0x50d207
jl 0x50d1fc
test eax, eax
jae 0x50d207
mov ecx, eax
mov eax, dword [edx - 0x18]
not ecx
not eax
jmp 0x50d20c
mov ecx, eax
mov eax, dword [edx - 0x18]
inc dword [ebp - 0x28]
test eax, eax
ja 0x50d2e1
jb 0x50d21e
cmp ecx, 0x7f
ja 0x50d266
mov eax, dword [edx - 0x1c]
and eax, 1
mov dword [ebp - 0x34], 0
cmp eax, dword [edx - 0x1c]
jne 0x50d24b
mov eax, dword [ebp - 0x34]
cmp eax, dword [edx - 0x18]
jne 0x50d24b
cmp byte [ebp - 0x41], 4
jb 0x50d24b
lea eax, [ecx + 8]
mov ecx, dword [ebp - 0x28]
mov dword [edx], eax
jmp 0x50d3ef
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 0x50d3ef
test eax, eax
ja 0x50d2e1
jb 0x50d274
cmp ecx, 0x7fff
ja 0x50d28f
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 0x50d3ef
test eax, eax
ja 0x50d2e1
jb 0x50d29d
cmp ecx, 0x7fffff
ja 0x50d2b8
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 0x50d3ef
test eax, eax
ja 0x50d2e1
jb 0x50d2c6
cmp ecx, 0x7fffffff
ja 0x50d2e1
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 0x50d3ef
cmp eax, 0x7fff
ja 0x50d30a
jb 0x50d2ef
cmp ecx, 0xffffffff
ja 0x50d30a
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 0x50d3ef
add edi, 8
mov dword [ebp - 0x24], edi
adc esi, 0
mov dword [ebp - 0x38], esi
test bl, 0x20
je 0x50d34a
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
call fcn.005356c0
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 0x50d3ef
mov ecx, dword [ebp - 0x28]
mov eax, 6
mov dword [edx], eax
jmp 0x50d3ef
test bl, 8
je 0x50d373
inc ecx
mov dword [edx], 7
add edi, 8
mov dword [ebp - 0x24], edi
adc esi, 0
mov dword [ebp - 0x38], esi
jmp 0x50d3ec
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 0x50d3c7
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 0x50d3bb
push esi
call fcn.00513910
add esp, 4
test eax, eax
jne 0x511a85
add edi, dword [esi]
mov ecx, dword [ebp - 0x60]
jmp 0x50d3c4
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.0050a800
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 0x50d3ff
sub edx, 0x28
jmp 0x50d1bc
cmp ecx, 0x7e
jle 0x50d42d
mov eax, ecx
cdq
push edx
push eax
call fcn.0050a800
mov esi, eax
mov eax, dword [ebp - 0x28]
add eax, esi
mov dword [ebp - 0x28], eax
cdq
push edx
push eax
call fcn.0050a800
mov ecx, dword [ebp - 0x28]
add esp, 0x10
cmp esi, eax
mov esi, dword [ebp - 0x38]
jge 0x50d431
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 0x50d461
jl 0x50d456
cmp ecx, eax
ja 0x50d461
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
jmp 0x50d493
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6c]
cdq
cmp esi, edx
jg 0x5105c8
jl 0x50d47a
cmp ecx, eax
ja 0x5105c8
mov eax, edi
push eax
push dword [ebp - 0x20]
call fcn.00513870
add esp, 8
test eax, eax
jne 0x511a85
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 0x50d4b4
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 0x50d4cd
mov byte [esi], al
mov eax, 1
jmp 0x50d4da
push ebx
push dword [ebp - 0x2c]
push esi
call fcn.005012c0
add esp, 0xc
mov edx, dword [ebp - 0x48]
movzx eax, al
add esi, eax
mov ebx, dword [edx + 0x1c]
cmp ebx, 0x80
jae 0x50d4f6
mov byte [esi], bl
mov eax, 1
jmp 0x50d505
push 0
push ebx
push esi
call fcn.005012c0
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 0x50d537
mov ecx, dword [edx]
mov eax, dword [edx + 4]
movzx edx, byte [ebx + 0x586b30]
mov esi, edx
dec edx
mov byte [edi + edx], cl
shrd ecx, eax, 8
shr eax, 8
test edx, edx
jne 0x50d523
mov edx, dword [ebp - 0x48]
jmp 0x50d557
cmp ebx, 0xc
jb 0x50d555
mov esi, dword [edx + 0xc]
test esi, esi
je 0x50d557
push esi
push dword [edx + 0x10]
push edi
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x48]
add esp, 0xc
jmp 0x50d557
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 0x50d4e2
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.004d5ad0
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc], ebx
cmp ebx, 0x10
jne 0x50d5cd
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
movlpd qword [ebp - 0x30], xmm0
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
jmp 0x50d6a3
test ebx, ebx
jne 0x50d68f
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
nop
cmp dword [edi + 0x110], 0
jne 0x50d68f
mov edi, dword [esi + 0x74]
mov cl, byte [edi + 8]
test cl, cl
jne 0x50d5fc
cmp byte [edi + 2], cl
jne 0x50d631
movzx eax, word [edi + 0x18]
cdq
add dword [ebp - 0x34], eax
adc ebx, edx
test cl, cl
je 0x50d631
nop word [eax + eax]
cmp byte [esi + 0x44], 0
push esi
je 0x50d67f
call fcn.004d5990
mov edi, dword [esi + 0x74]
add esp, 4
movzx eax, word [esi + 0x46]
cmp ax, word [edi + 0x18]
jae 0x50d610
inc eax
mov word [esi + 0x46], ax
movzx ecx, word [esi + 0x46]
movzx eax, word [edi + 0x18]
cmp ecx, eax
jne 0x50d64a
movzx ecx, byte [edi + 9]
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax + 8]
jmp 0x50d664
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.004d5850
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d68f
mov edi, dword [ebp - 8]
jmp 0x50d5e0
call fcn.004d5ad0
mov esi, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x50d698
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50d7d7
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d7f60
add esp, 8
mov dword [eax], esi
mov dword [eax + 4], ebx
jmp 0x50f187
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x10]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x50d794
mov esi, dword [ebp - 8]
cmp dword [esi + 0xb8], eax
jg 0x511859
push edi
call fcn.00507730
mov ecx, dword [esi + 0x1e0]
mov ebx, eax
add ecx, dword [esi + 0x1dc]
push ecx
push 0
push esi
call fcn.00516ab0
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x51186e
lea eax, [ebx + 0x21]
push 0
push eax
push esi
call fcn.004eb9e0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50b9de
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 0x50d748
mov byte [edi + 0x4f], 0
mov byte [edi + 0x57], 1
jmp 0x50d74e
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 0x50b5c5
mov eax, dword [ebp - 8]
xor ebx, ebx
mov esi, dword [eax + 0x1d4]
test esi, esi
je 0x50d7be
push edi
push dword [esi]
call fcn.005076d0
add esp, 8
test eax, eax
je 0x50d84b
mov esi, dword [esi + 0x18]
inc ebx
test esi, esi
jne 0x50d7a3
push edi
push str.no_such_savepoint:__s
push dword [ebp + 8]
call fcn.0050b4d0
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 0x511d42
cmp eax, 0xc0a
je 0x511d42
mov ecx, str.unknown_error
sub eax, 0x64
je 0x511d26
sub eax, 1
je 0x511d1f
sub eax, 0x19f
je 0x511d18
mov eax, dword [ebp - 0xc]
movzx eax, al
cmp eax, 0x1d
jae 0x511d2b
mov eax, dword [eax*4 + 0x58a350]
test eax, eax
je 0x511d2b
mov ecx, eax
jmp 0x511d2b
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0x48]
cmp dword [edx + 0xb8], 0
jle 0x50d863
cmp edi, 1
je 0x511875
cmp dword [esi + 0x18], 0
jne 0x50d8d1
cmp byte [edx + 0x57], 0
je 0x50d8d1
mov dword [ebp - 0x60], 1
cmp edi, 1
jne 0x50d8d8
push edi
push dword [ebp + 8]
call fcn.0050af70
mov ecx, eax
add esp, 8
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x511e1b
mov eax, dword [ebp - 8]
push dword [ebp + 8]
mov byte [eax + 0x4f], 1
call fcn.00512960
add esp, 4
cmp eax, 5
je 0x51188f
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x50d8c8
mov byte [edx + 0x4f], 0
jmp 0x50d9b4
mov byte [edx + 0x57], 0
jmp 0x50d9bc
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 0x50d941
mov edx, dword [edx + 0x18]
xor ebx, ebx
and edx, 1
mov dword [ebp - 0x34], edx
test eax, eax
jle 0x50d946
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.004e8460
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d4
mov eax, dword [ebp - 8]
inc ebx
mov ecx, dword [ebp - 0x2c]
add edi, 0x10
mov eax, dword [eax + 0x14]
cmp ebx, eax
jl 0x50d905
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
jmp 0x50d946
xor edx, edx
mov dword [ebp - 0x34], edx
xor ebx, ebx
test eax, eax
jle 0x50d985
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.004e7f30
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d4
mov edx, dword [ebp - 8]
inc ebx
mov ecx, dword [ebp - 0x20]
add edi, 0x10
cmp ebx, dword [edx + 0x14]
jl 0x50d950
mov edx, dword [ebp - 0x34]
jmp 0x50d988
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x50d9ab
mov ebx, dword [ebp - 8]
push 0
push ebx
call fcn.004ed790
push ebx
call fcn.00501e60
mov eax, dword [ebp - 0xc]
mov edx, ebx
add esp, 0xc
or dword [edx + 0x18], 1
jmp 0x50d9ae
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x20]
test eax, eax
jne 0x50d7d4
mov ecx, dword [edx + 0x1d4]
cmp ecx, esi
je 0x50d9f9
mov edi, dword [ebp - 8]
nop dword [eax]
mov eax, dword [ecx + 0x18]
push ecx
push edi
mov dword [edi + 0x1d4], eax
call fcn.004eb970
mov ecx, dword [edi + 0x1d4]
add esp, 8
dec dword [edi + 0x1dc]
cmp ecx, esi
jne 0x50d9d0
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 8]
cmp edi, 1
jne 0x50da26
mov eax, dword [esi + 0x18]
push esi
push edx
mov dword [edx + 0x1d4], eax
call fcn.004eb970
add esp, 8
cmp dword [ebp - 0x60], 0
jne 0x50b9de
mov eax, dword [ebp - 8]
dec dword [eax + 0x1dc]
jmp 0x50da59
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 0x50da59
cmp edi, 2
jne 0x50b9de
push ebx
push edi
mov edi, dword [ebp - 8]
push edi
call fcn.00516ab0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov edx, dword [ebp - 4]
mov dword [ebp - 0x8c], 0
mov edx, dword [edx + 8]
test edx, edx
je 0x50daa8
mov eax, dword [edi + 0x20]
and eax, 0x100000
or eax, 0
jne 0x5118c7
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 0x50dbbe
lea eax, [ebp - 0x8c]
push eax
push edx
push esi
call fcn.004e5780
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x5118d1
mov edx, dword [ebp + 8]
test byte [edx + 0x98], 0x80
je 0x50dbc4
mov ebx, dword [ebp - 4]
cmp dword [ebx + 8], eax
je 0x50dbc4
cmp byte [edi + 0x4f], al
je 0x50db09
cmp dword [edi + 0xb4], 1
jle 0x50dbc4
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x50db25
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.00516ab0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50db95
cmp byte [esi + 9], 0
mov eax, dword [ebp + 8]
mov ebx, dword [esi + 4]
mov edi, dword [eax + 0x30]
je 0x50db5a
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x50db5a
push esi
call fcn.004c3fd0
add esp, 4
mov eax, dword [ebx]
cmp edi, dword [eax + 0x60]
jle 0x50db76
cmp byte [eax + 6], 0
je 0x50db76
push edi
push eax
call fcn.004d8980
add esp, 8
mov dword [ebp - 0xc], eax
jmp 0x50db7d
mov dword [ebp - 0xc], 0
cmp byte [esi + 9], 0
je 0x50db92
add dword [esi + 0xc], 0xffffffff
jne 0x50db92
push esi
call fcn.005201b0
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 0x50dbc1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
cmp word [esi + 2], 0
je 0x50dbfa
mov eax, dword [ebp - 0x8c]
cmp eax, dword [esi + 0xc]
jne 0x511906
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 0x511906
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50d7d7
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.004e66f0
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d7f60
mov ecx, eax
add esp, 0x14
mov eax, dword [ebp - 0xe4]
jmp 0x50b7e1
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.004e85c0
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 8]
cmp eax, 1
jne 0x50dc82
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
or dword [edi + 0x18], 1
jmp 0x50dc90
cmp eax, 2
jne 0x50dc90
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 0x50dcae
push 0
push edi
call fcn.004ed790
mov edx, dword [ebp + 8]
add esp, 8
and dword [edx + 0x98], 0xfffffffc
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.0x50b5dd.96
mov eax, dword [esi + 0x34]
cmp eax, dword [ebx + 8]
je 0x50dde3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x98]
and al, 3
cmp al, 1
je 0x51198a
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 0x50dd4f
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 0x50dd51
mov byte [esi + 0x93], al
jmp 0x50dd51
xor edi, edi
test byte [edx + 2], 0x10
je 0x50dd71
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + ebx*4]
lea esi, [ecx + eax*8]
push esi
call fcn.00513bd0
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 0x50dd84
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x34], eax
movzx eax, word [eax + 8]
jmp 0x50dd90
cmp al, 0xfd
jne 0x50dd8d
mov eax, dword [edx + 0x10]
jmp 0x50dd90
mov eax, dword [ebp - 0x3c]
push 0
push ecx
push eax
push dword [edx + 4]
push dword [ebp + 8]
call fcn.004bfe60
mov esi, eax
add esp, 0x14
test esi, esi
je 0x511a85
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.004e6230
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 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.004bfe60
mov edi, eax
add esp, 0x14
test edi, edi
je 0x511d06
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.004e6230
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 0x50b5c5
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 0x50ded4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x50ded4
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.004e5aa0
add esp, 0xc
mov dword [ebp - 0xc], eax
jmp 0x50dfc1
push 0
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push dword [ebp + 8]
call fcn.004bfe60
mov esi, eax
add esp, 0x14
test esi, esi
je 0x511a88
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.004e7660
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50df9e
push eax
push 1
push dword [edi]
call fcn.004e5780
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50df9e
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 0x50df7e
movzx eax, word [ecx + 2]
or eax, 2
push eax
push ebx
push dword [edi]
call fcn.004e61e0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50df78
push dword [esi + 0x28]
push dword [ebp - 0x2c]
push 4
push dword [ebx]
push dword [edi]
call fcn.004e6230
add esp, 0x14
mov dword [ebp - 0xc], eax
mov byte [esi + 4], 0
jmp 0x50df9e
push dword [esi + 0x28]
mov dword [ebx], 1
push 0
push 4
push 1
push dword [edi]
call fcn.004e6230
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 0x50d7d7
mov byte [esi + 2], 1
lea ecx, [eax + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov edx, dword [ebp - 4]
push 1
push 0xffffffffffffffff
push dword [edx + 8]
push dword [edx + 4]
push dword [ebp + 8]
call fcn.004bfe60
add esp, 0x14
test eax, eax
je 0x511a88
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.005158e0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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 0x50b613
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov edx, dword [ebp - 4]
push 3
push 0xffffffffffffffff
push dword [edx + 0xc]
push dword [edx + 4]
push dword [ebp + 8]
call fcn.004bfe60
add esp, 0x14
test eax, eax
je 0x511a88
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], 0x5bcde3
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.005127e0
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 0x50b5c5
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 0x50e206
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 0x50e14a
push 0
push edi
call fcn.004c0e10
add esp, 8
push edi
call fcn.00512cb0
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 0x50e1cd
test cl, 8
jne 0x50e19f
test cl, 1
jne 0x50b613
cmp ebx, 0x18
jae 0x50b613
lea eax, [ebp - 0x58]
push eax
push dword [esi + 0x28]
call fcn.004e7030
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d4
jmp 0x50e326
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
call fcn.005356c0
movsd xmm1, qword [edi]
comisd xmm0, xmm1
jbe 0x50e1c1
test bl, 1
lea eax, [ebx - 1]
cmove eax, ebx
mov ebx, eax
jmp 0x50e1cd
comisd xmm1, xmm0
jbe 0x50e1cd
test bl, 1
jne 0x50e1cd
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.004e70c0
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 0x50d7d7
jmp 0x50e298
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.004e70c0
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
cmp byte [ebp - 0x41], al
je 0x50e298
cmp byte [ebp - 0xfa], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
je 0x50e326
mov eax, dword [ebp - 0x58]
cmp ebx, 0x18
jl 0x50e30e
test eax, eax
js 0x50e2d7
jne 0x50e2ab
cmp ebx, 0x19
je 0x50e2d7
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 0x50b5c5
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x58], 0
call fcn.004e7600
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x50e2b2
cmp eax, 0x65
jne 0x50d7d7
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x58], 1
jmp 0x50b613
test eax, eax
jg 0x50e332
jne 0x50e319
cmp ebx, 0x16
je 0x50e332
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 0x50b613
jmp 0x50e2b2
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x58], 0
call fcn.004e7d50
jmp 0x50e2e8
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 0x50b5c5
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [edx + 0x60]
cmp dword [eax + ecx*4], 0
je 0x5112b4
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
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 0x50b7ea
jmp 0x50e3b5
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 0x50e3f4
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 0x50e43c
mov eax, 0x4000
test word [esi + 8], ax
je 0x50e410
push esi
call fcn.00513910
add esp, 4
test eax, eax
jne 0x511a88
push dword [ebx + 0x2c]
call fcn.0050ac80
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x511a85
push edi
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [ebx + 0x2c]
call fcn.005152c0
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 0x50e476
movzx edx, word [edi + 8]
xor ecx, ecx
test edx, edx
je 0x50e476
mov eax, dword [edi + 4]
add eax, 8
nop
test byte [eax], 1
jne 0x50e46f
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x50e460
jmp 0x50e476
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.004e70c0
mov edi, dword [ebp - 8]
add esp, 0x18
mov dword [ebp - 0xc], eax
test esi, esi
je 0x50e4a6
push esi
push edi
call fcn.004eb970
mov eax, dword [ebp - 0xc]
add esp, 8
test eax, eax
jne 0x50d7d7
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 0x50e4f1
test ecx, ecx
jne 0x50b613
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
cmp dword [ebp - 0x3c], 0
jne 0x50b613
test ecx, ecx
je 0x50b613
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
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 0x50e5a4
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 0x50e590
test al, 8
jne 0x50e573
test al, 2
je 0x50e588
lea eax, [ebp - 0x1d8]
push 1
push eax
call fcn.004c0e10
add esp, 8
jmp 0x50e582
lea eax, [ebp - 0x1d8]
push eax
call fcn.00512d00
add esp, 4
mov al, byte [ebp - 0x1d0]
test al, 4
je 0x50b616
mov edi, dword [ebp - 0x1d8]
mov ebx, dword [ebp - 0x1d4]
jmp 0x50e5b1
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.004e70c0
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 0x5104ea
mov edi, dword [ebp - 4]
cmp dword [edi + 8], 0
jne 0x50b616
push 0x15dab
call fcn.004ea400
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x5104ed
mov ebx, dword [ebp - 4]
mov esi, dword [ebp + 8]
push ebx
push esi
call fcn.004d7f60
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 0x50b5c5
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.004d7f60
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 0x50e713
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x28]
call fcn.004e7030
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
cmp dword [ebp - 0x80], eax
je 0x50e6d8
mov edi, 1
xor esi, esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], esi
jmp 0x50e719
mov esi, dword [ebx + 0x28]
push esi
call fcn.004d1b50
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 0x50e705
jg 0x50e6ff
cmp edi, 0xffffffff
jb 0x50e705
or dword [ebx + 8], 2
jmp 0x50e719
add edi, 1
mov dword [ebp - 0x78], edi
adc esi, 0
mov dword [ebp - 0x74], esi
jmp 0x50e719
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x50e79e
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x50e74b
mov eax, dword [edx + 4]
test eax, eax
je 0x50e740
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x50e737
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*8]
jmp 0x50e754
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x1c]
lea ebx, [ecx + eax*8]
push ebx
call fcn.00513bd0
mov eax, dword [ebx]
add esp, 4
mov ecx, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x50e773
cmp ecx, 0x7fffffff
je 0x50e7f7
mov edx, dword [ebp - 0x20]
test byte [edx + 8], 2
jne 0x50e7f7
add eax, 1
adc ecx, 0
cmp esi, ecx
jg 0x50e796
jl 0x50e78c
cmp edi, eax
jae 0x50e796
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 0x50e804
xor ebx, ebx
lea eax, [ebp - 0x78]
push eax
push 8
call fcn.004b10c0
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.004e70c0
add esp, 0x20
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d4
cmp dword [ebp - 0x80], eax
jne 0x50e801
inc ebx
cmp ebx, 0x64
jl 0x50e7a6
mov eax, 0xd
jmp 0x50d7d4
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 0x50b5c5
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 0x50e88d
mov eax, dword [ebp - 8]
cmp dword [eax + 0xf0], 0
je 0x50e88d
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 0x50e892
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
movzx eax, word [edx + 2]
mov edx, eax
test al, 1
je 0x50e8a9
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 0x50e8c7
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 0x50e8e8
mov edx, dword [esi + 0x20]
jmp 0x50e8ea
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov esi, 0x4000
test word [eax + edi*8 + 8], si
mov esi, dword [ebp - 0x60]
je 0x50e907
mov eax, dword [eax + edi*8]
mov dword [ebp - 0x190], eax
jmp 0x50e911
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.004e6750
add esp, 0x10
mov dword [ebp - 0xc], eax
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x50d7d4
mov edi, dword [ebp - 8]
test ebx, ebx
je 0x50b7e7
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 0x50b5c5
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 0x50ea02
mov eax, dword [ebp - 8]
cmp dword [eax + 0xf0], 0
je 0x50ea02
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 0x50ea06
cmp byte [edi + 4], 0
je 0x50ea06
mov esi, dword [edi + 0x28]
push esi
call fcn.004d1b50
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 0x50ea06
xor esi, esi
xor ebx, ebx
movzx eax, byte [edx + 2]
push eax
push dword [edi + 0x28]
call fcn.004e62a0
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
test eax, eax
jne 0x50d7d4
test byte [ebp - 0x3c], 1
je 0x50b9de
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
inc dword [edx + 0x2c]
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x50b9de
test byte [ebx + 0x24], 0x80
jne 0x50b9de
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 0x50b5c5
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 0x50b5c5
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 0x50eaea
push ebx
call fcn.0050ac80
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [edi + 0x20], eax
test eax, eax
je 0x50ebd5
mov word [eax + 8], si
lea eax, [ebp - 0xec]
push eax
push edi
call fcn.00524280
mov edi, dword [ebp - 0x3c]
push edi
push eax
push dword [ebp - 0xec]
push ebx
call fcn.005152c0
add esp, 0x18
xor ecx, ecx
test esi, esi
jle 0x50eb28
mov eax, dword [edi + 4]
add eax, 8
test byte [eax], 1
jne 0x510a59
inc ecx
add eax, 0x28
cmp ecx, esi
jl 0x50eb17
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.00514b70
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x50b613
mov edi, dword [ebp - 8]
lea ecx, [eax + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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 0x50ebb8
cmp byte [eax + 0x39], 0
je 0x50eb97
mov eax, dword [eax + 0x10]
mov ebx, dword [eax + 0x20]
lea edi, [eax + 0x14]
jmp 0x50ebbe
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 0x50ebbe
mov edi, dword [eax + 0x24]
lea ebx, [edi + 8]
mov edi, dword [edi]
cmp dword [esi + 0x18], edi
jge 0x50ebdf
push 0
push edi
push esi
call fcn.00513a70
add esp, 0xc
test eax, eax
je 0x50ebea
mov eax, 7
jmp 0x50d7d4
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 0x50b5c5
mov edi, dword [ebp - 4]
push edi
push dword [ebp + 8]
call fcn.004d7f60
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.004d1b50
mov edx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [edi + 0x2c]
cmp eax, dword [edx + 0x6c]
ja 0x5105c8
push esi
push eax
push 0
push edi
call fcn.00513a00
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d4
mov edi, dword [ebp - 4]
cmp dword [edi + 0xc], eax
jne 0x50b9de
mov eax, 0x1000
test word [esi + 8], ax
je 0x50b9de
push esi
call fcn.00513c50
mov edi, dword [ebp - 8]
add esp, 4
test eax, eax
jne 0x511a88
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
push dword [ebp - 4]
mov esi, dword [ebp + 8]
push esi
call fcn.004d7f60
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 0x50ed0e
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 0x50b5c5
cmp byte [esi + 3], 0
je 0x50ed47
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 0x50b5c5
cmp byte [esi], 2
jne 0x50eda1
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.005168a0
mov eax, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
jne 0x50d7d4
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 0x50b5c5
push esi
call fcn.0050b2a0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d4
cmp byte [esi + 2], al
je 0x50edd7
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 0x50b5c5
mov esi, dword [esi + 0x28]
push esi
call fcn.004d1b50
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 0x50b5c5
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 0x50b7e7
mov esi, dword [esi + 0x28]
push dword [esi + 0x10]
call fcn.004b0fa0
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 0x50b5c5
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 0x50ee8f
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je 0x50b7e7
lea ecx, [ebp - 0xc4]
push ecx
push eax
call fcn.004e7030
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 0x511a54
mov esi, dword [ebp - 4]
cmp dword [esi + 8], 0
jle 0x50b7ea
test eax, eax
jne 0x50b613
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.004e6640
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
cmp dword [ebp - 0xc8], eax
jne 0x50b613
cmp byte [esi], al
jne 0x50b7e7
mov eax, dword [esi + 0x74]
cmp byte [eax + 8], 0
je 0x50b7e7
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 0x50ef73
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.005350a0
inc bl
mov esi, eax
mov eax, dword [ebp - 0x3c]
mov edi, edx
movzx ecx, bl
cmp ecx, dword [ebp - 0x2c]
jl 0x50ef50
test edi, edi
jl 0x50b9de
jg 0x50ef85
test esi, esi
jb 0x50b9de
push edi
push esi
call fcn.004fb0c0
mov edi, dword [ebp - 4]
add esp, 8
cwde
cmp eax, dword [edi + 0xc]
jge 0x50b9de
mov dword [ebp - 0xc8], 1
jmp 0x50b616
mov eax, dword [ebp + 8]
inc dword [eax + 0xac]
jmp 0x50efb9
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 0x50f02b
cmp byte [esi + 0x38], 0
mov dword [ebp - 0xc], 0
jne 0x50f001
cmp dword [esi + 0x24], 0
lea eax, [esi + 0x24]
je 0x50f04f
push eax
lea eax, [esi + 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 0x84], ebx
call fcn.00524500
jmp 0x50f049
push esi
call fcn.00523b40
push eax
push esi
call fcn.00523c60
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50f04f
push esi
call fcn.005242e0
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x84], ebx
jmp 0x50f04c
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004e6640
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 0x50d7d4
mov byte [edi + 2], bl
test ebx, ebx
jne 0x50b613
mov edi, dword [ebp - 8]
lea ecx, [eax + 4]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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 0x50f0f2
cmp byte [esi + 0x39], 0
je 0x50f0c0
push dword [esi + 0x10]
call fcn.00522dc0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50f148
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x18], 0
jne 0x50f123
mov eax, 0x65
jmp 0x50f145
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
push eax
push dword [esi + 0x14]
call fcn.00522810
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50f148
cmp dword [ebp - 0x9c], eax
je 0x50f148
mov eax, 0x65
jmp 0x50f145
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 0x50f114
push ecx
push dword [ebp - 8]
call fcn.00524200
add esp, 8
xor ecx, ecx
mov eax, 0x65
cmp dword [esi + 0x24], ecx
cmovne eax, ecx
jmp 0x50f145
mov eax, dword [ebp - 0xc]
jmp 0x50f148
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 0x50f172
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 0x5112b4
cmp eax, 0x65
jne 0x50d7d4
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 0x511ccb
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
cmp esi, ebx
jb 0x50b7e7
nop word [eax + eax]
mov eax, dword [edi + 0x158]
test eax, eax
je 0x50b7e7
add ebx, dword [edi + 0x160]
push dword [edi + 0x15c]
mov dword [ebp - 0x14], ebx
call eax
add esp, 4
test eax, eax
jne 0x511e56
cmp esi, ebx
jae 0x50f1b0
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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 0x50f216
inc dword [edx + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x50f235
push esi
call fcn.00513910
add esp, 4
test eax, eax
jne 0x50d7d4
mov ecx, dword [ebp - 4]
cmp byte [ecx], 0x82
jne 0x50f246
push esi
push edi
call fcn.00515ef0
add esp, 8
jmp 0x50f2a6
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 0x50f286
mov ecx, dword [edi + 0x20]
jmp 0x50f288
xor ecx, ecx
push ecx
and eax, 0xa
push eax
lea eax, [ebp - 0x2b8]
push eax
push dword [edi + 0x28]
call fcn.004e6750
add esp, 0x10
mov dword [edi + 0x1c], 0
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.004e70c0
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d4
cmp dword [ebp - 0xf0], eax
jne 0x50f34a
push 4
push edi
call fcn.004e62a0
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d4
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 0x50b5c5
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.0050b2a0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
cmp byte [ebx + 2], al
jne 0x50f55e
mov edi, dword [ebx + 0x28]
push edi
call fcn.004d1b50
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 0x50f3e4
xor edx, edx
mov ecx, eax
test eax, eax
cmovs ecx, edx
cmp esi, ecx
ja 0x50f402
mov eax, 0x1010
mov dword [ebp - 0x140], ebx
mov word [ebp - 0x148], ax
mov dword [ebp - 0x144], esi
jmp 0x50f429
lea eax, [ebp - 0x150]
push eax
push esi
push 0
push edi
call fcn.005222e0
add esp, 0x10
test eax, eax
jne 0x50d7d4
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebp - 0x144]
mov al, byte [ebx]
cmp al, 0x80
jae 0x50f43a
movzx edi, al
mov dword [ebp - 0xa0], edi
jmp 0x50f450
lea eax, [ebp - 0xa0]
push eax
push ebx
call fcn.004f7900
mov edi, dword [ebp - 0xa0]
add esp, 8
cmp edi, 3
jb 0x511994
cmp edi, esi
ja 0x511994
lea eax, [ebx - 1]
add eax, edi
mov cl, byte [eax]
cmp cl, 0x80
jae 0x50f478
movzx ecx, cl
mov dword [ebp - 0xa4], ecx
jmp 0x50f48e
lea ecx, [ebp - 0xa4]
push ecx
push eax
call fcn.004f7900
mov ecx, dword [ebp - 0xa4]
add esp, 8
lea eax, [ecx - 1]
cmp eax, 8
ja 0x511994
cmp ecx, 7
je 0x511994
movzx edx, byte [ecx + 0x586b30]
lea eax, [edx + edi]
cmp esi, eax
jb 0x511994
lea eax, [ebp - 0x2e0]
sub esi, edx
push eax
push ecx
add esi, ebx
push esi
call fcn.005154b0
lea eax, [ebp - 0x150]
push eax
call fcn.00513e60
mov edi, dword [ebp - 4]
add esp, 0x10
mov dword [ebp - 0xc], 0
cmp byte [edi], 0x85
jne 0x50f52b
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 0x50b5c5
push edi
push dword [ebp + 8]
call fcn.004d7f60
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 0x50b5c5
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.00513f30
mov esi, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
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 0x50b7ea
push eax
call fcn.005126d0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.004d1b50
mov edx, dword [edi + 0x2c]
xor eax, eax
add esp, 4
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x50f6ad
jb 0x50f62e
cmp ecx, 0x7ffffffe
ja 0x50f6ad
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.00513a00
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x50f6d4
push eax
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
call fcn.00514b70
add esp, 0x10
mov esi, eax
test dword [ebp - 0x1f8], 0x2400
jne 0x50f695
cmp dword [ebp - 0x1e8], 0
je 0x50f6a4
lea eax, [ebp - 0x200]
push eax
call fcn.00522250
add esp, 4
mov dword [ebp - 0xc], 0
jmp 0x50f6d4
push 0x590054
push 0x14157
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
xor esi, esi
call fcn.004b9f50
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 0x50d7d4
lea eax, [esi + 1]
neg esi
test cl, cl
cmovne esi, eax
test esi, esi
jg 0x50b613
mov edi, dword [ebp - 8]
mov ecx, 4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d7f60
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 0x5119e0
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 0x50f77b
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x50f77b
push esi
call fcn.004c3fd0
add esp, 4
lea eax, [ebp - 0xa8]
push eax
push ebx
push esi
call fcn.004c38b0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp byte [esi + 9], 0
je 0x50f7a4
add dword [esi + 0xc], 0xffffffff
jne 0x50f7a4
push esi
call fcn.005201b0
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 0x50d7d4
test esi, esi
je 0x511656
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 0x50f7fd
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], esi
jne 0x50f7f3
mov dword [ecx + 0x1c], edx
mov eax, dword [eax]
test eax, eax
jne 0x50f7e8
mov ecx, dword [edi + ebx + 0xc]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x50f815
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x2c], esi
jne 0x50f80f
mov dword [ecx + 0x2c], edx
mov eax, dword [eax]
test eax, eax
jne 0x50f804
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 0x50b5c5
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.004e5aa0
mov esi, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [esi + 0xc], 0
je 0x50f896
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xac]
add dword [edx + 0x2c], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x50f893
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 0x50d7d7
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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 0x50f8df
push dword [eax + 0x28]
push edi
call fcn.00515aa0
mov esi, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
mov eax, dword [eax + 0x28]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.004e5aa0
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d7f60
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.004e61e0
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
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 0x50b5c5
mov edx, dword [ebp - 4]
inc byte [edi + 0x5a]
push 0
push 0
push 0
push dword [edx + 0x10]
push edi
call fcn.004afdc0
dec byte [edi + 0x5a]
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x10]
mov esi, dword [edx + 4]
test ecx, ecx
jne 0x50f9f1
mov eax, dword [edi + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.00503510
mov eax, dword [ebp + 8]
and dword [edi + 0x18], 0xffffffef
add eax, 0x7c
push 1
push eax
push esi
push edi
call fcn.004f8530
mov edx, dword [ebp + 8]
add esp, 0x14
or dword [edi + 0x18], 1
mov dword [ebp - 0xc], eax
and dword [edx + 0x98], 0xfffffffc
jmp 0x50faac
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.004fb260
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5119f9
push 0
lea eax, [ebp - 0x128]
mov byte [edi + 0xa5], 1
push eax
push fcn.004f82f0
push esi
push edi
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x114], 0
call fcn.004afdc0
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50fa98
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50fa98
cmp dword [ebp - 0x114], eax
jne 0x50fa98
push 0x16344
call fcn.004ea400
add esp, 4
mov dword [ebp - 0xc], eax
push esi
push edi
call fcn.004eb970
mov eax, dword [ebp - 0xc]
add esp, 8
mov byte [edi + 0xa5], 0
test eax, eax
jne 0x511a00
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov edx, dword [ebp - 4]
push dword [edx + 4]
push edi
call fcn.004e3ba0
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.004f7b40
add esp, 0xc
test eax, eax
je 0x50fb2d
cmp dword [edi + 0x1f8], 0
jne 0x50fb23
add dword [eax + 0x20], 0xffffffff
jne 0x50fb2d
push eax
push edi
call fcn.004c9f90
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 0x50b5c5
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.004f7b40
mov edx, eax
add esp, 0xc
test edx, edx
je 0x50fb2d
mov esi, dword [edx + 0xc]
mov ecx, dword [esi + 8]
cmp ecx, edx
jne 0x50fb9b
mov eax, dword [edx + 0x14]
push edx
push edi
mov dword [esi + 8], eax
call fcn.004f4420
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 0x50b5c5
test ecx, ecx
je 0x50fbd4
nop
mov eax, dword [ecx + 0x14]
cmp eax, edx
je 0x50fbce
mov ecx, eax
test ecx, ecx
jne 0x50fba0
push edx
push edi
call fcn.004f4420
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 0x50b5c5
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
push edx
push edi
call fcn.004f4420
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 0x50b5c5
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.004f7b40
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50b7e7
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x14], eax
jne 0x50fc83
push 0
push dword [esi + 4]
add eax, 8
push eax
call fcn.004ce230
add esp, 0xc
mov edx, dword [eax + 8]
test edx, edx
je 0x50fc83
mov eax, dword [edx + 0x44]
add edx, 0x44
test eax, eax
je 0x50fc83
nop dword [eax]
cmp eax, esi
je 0x50fc7e
lea edx, [eax + 0x20]
mov eax, dword [edx]
test eax, eax
jne 0x50fc50
push esi
push edi
call fcn.004ec770
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 0x50b5c5
mov eax, dword [eax + 0x20]
mov dword [edx], eax
push esi
push edi
call fcn.004ec770
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 0x50b5c5
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.004e6b30
push edi
mov ebx, eax
call fcn.00513f30
mov eax, dword [ebp - 0xe0]
add esp, 0x1c
test eax, eax
je 0x50fd21
test ebx, ebx
je 0x511a85
mov ecx, dword [ebp - 0x1c]
dec eax
push fcn.004b0fa0
push 1
cdq
sub dword [ecx + esi*8], eax
push 0xffffffffffffffff
sbb dword [ecx + esi*8 + 4], edx
push ebx
push edi
call fcn.00514040
add esp, 0x14
movzx eax, byte [ebp - 0x4c]
push eax
push edi
call fcn.0050ad90
add esp, 8
jmp 0x50f184
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 0x50fd61
push esi
call fcn.00513f60
add esp, 4
test eax, eax
jne 0x511a85
push dword [ebx + edi*8 + 4]
push dword [ebx + edi*8]
push dword [esi + 0x10]
call fcn.00502820
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 0x50b5c5
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 0x50fe09
mov esi, dword [edi + 0x10]
movzx ecx, word [esi + 0x1a]
test cl, 2
jne 0x50fdcb
mov eax, ecx
test cl, 1
jne 0x50fdc4
push dword [esi + 8]
call fcn.004e0170
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 0x50fe09
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
test eax, eax
jne 0x50fdea
push esi
call fcn.00502750
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.00513ef0
add esp, 0xc
jmp 0x50f184
push edi
call fcn.00513f30
add esp, 4
jmp 0x5112ab
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 0x50fe4a
push esi
call fcn.00513f60
add esp, 4
test eax, eax
jne 0x511a85
mov ecx, dword [ebp - 0x1c]
test ebx, ebx
je 0x50fe6b
push dword [ecx + edi*8 + 4]
push dword [ecx + edi*8]
push ebx
push dword [esi + 0x10]
call fcn.005028b0
add esp, 0x10
test eax, eax
jne 0x50b613
test ebx, ebx
js 0x50b9de
mov ebx, dword [ebp - 0x1c]
jmp 0x50fd61
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 0x50fec3
mov eax, dword [edx + 0xc8]
mov ecx, dword [edi + 0x14]
test eax, eax
je 0x50fec0
nop word [eax + eax]
cmp dword [eax + 0x1c], ecx
je 0x50b9de
mov eax, dword [eax + 4]
test eax, eax
jne 0x50feb0
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 8]
mov eax, dword [edx + 0xd0]
cmp eax, dword [ebx + 0x94]
jge 0x511a23
test byte [ecx + 8], 0x10
jne 0x50ffd9
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 0x50ff0a
add eax, 7
sar eax, 3
lea edi, [eax + ecx*4]
mov eax, edi
cdq
push edx
push eax
push ebx
call fcn.004ebb20
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x511a85
push dword [ebp - 0x20]
call fcn.00513e60
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], 0x512740
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 0x50ffd1
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 0x50ffc0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd0]
jmp 0x50ffdc
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 0x50f18a
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d7f60
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.005142e0
mov esi, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
mov eax, dword [edi + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [ebp - 4]
je 0x51010d
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 0x50b5c5
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
cdq
je 0x510131
add dword [edi + 0x1e8], eax
mov esi, dword [ebp - 4]
adc dword [edi + 0x1ec], edx
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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 0x50b5c5
cmp dword [esi + 4], 0
je 0x51017d
mov eax, dword [edi + 0x1e8]
or eax, dword [edi + 0x1ec]
jne 0x50b7ef
mov eax, dword [edi + 0x1f0]
or eax, dword [edi + 0x1f4]
je 0x50b613
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x40]
or eax, dword [ecx + 0x44]
jne 0x50b7ea
mov eax, dword [edi + 0x1f0]
or eax, dword [edi + 0x1f4]
je 0x50b613
mov eax, dword [ebp - 0x10]
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x5101df
mov eax, dword [edx + 4]
test eax, eax
je 0x5101cb
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x5101c2
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 0x5101ee
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.00513bd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.00513bd0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x50b9de
jl 0x510221
cmp dword [edi], eax
jae 0x50b9de
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x50fd73
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 0x50b9de
jg 0x510250
test ecx, ecx
je 0x50b9de
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 0x50b613
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.004d7f60
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 0x5102ee
jg 0x5102a4
test eax, eax
je 0x5102ee
mov ecx, dword [edx + ebx*8 + 4]
mov eax, dword [edx + ebx*8]
test ecx, ecx
jl 0x5102b5
jg 0x5102c3
test eax, eax
jne 0x5102c3
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.004e2db0
add esp, 0xc
test eax, eax
jne 0x5102ee
mov eax, dword [ebp - 0xd0]
mov dword [edi], eax
mov eax, dword [ebp - 0xcc]
mov dword [edi + 4], eax
jmp 0x50fd73
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
jmp 0x50fd73
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 0x50b7e7
test edx, edx
jl 0x50b613
jg 0x51032f
test ecx, ecx
je 0x50b613
sub ecx, 1
mov dword [ebx + esi*8], ecx
sbb edx, 0
jmp 0x50b60f
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 0x51036b
jg 0x51035e
test eax, eax
je 0x51036b
sub eax, 1
mov dword [ebx + edx*8], eax
sbb ecx, 0
mov dword [ebx + edx*8 + 4], ecx
or eax, ecx
je 0x50b613
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov edx, dword [ebp - 4]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x44]
push eax
push edi
call fcn.004eb9e0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x511a88
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 0x51040f
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 0x510459
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 8], edi
js 0x510459
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 0x510440
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 0x510477
mov eax, dword [ecx + 0x1c]
jmp 0x51047a
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x50b9de
jle 0x5104aa
push dword [esi]
call fcn.004b3720
push eax
push 0x58b134
push dword [ebp + 8]
call fcn.0050b4d0
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp byte [esi + 0x18], 0
je 0x5104ce
mov eax, dword [edi - 0x10]
test eax, eax
je 0x5104ca
push 0
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push 1
push eax
call fcn.00513ef0
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.00513e60
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 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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 0x510593
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 0x51054f
push edi
call fcn.00522290
add esp, 4
jmp 0x510558
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 0x5105a1
push dword [edx + 0x10]
push esi
call fcn.00513970
add esp, 8
mov ecx, eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x511a3d
movzx eax, byte [ebp - 0x4c]
push eax
push esi
call fcn.0050ad90
push esi
call fcn.00514440
add esp, 0xc
test eax, eax
je 0x50b7e7
push str.string_or_blob_too_big
push dword [ebp + 8]
call fcn.0050b4d0
add esp, 8
mov eax, 0x12
jmp 0x50d7d4
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.004e8870
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
je 0x510641
cmp eax, 5
jne 0x50d7d7
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.00513ef0
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x510652
jmp 0x50fd73
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp + 8]
call fcn.004d7f60
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 0x5106b3
xor eax, eax
jmp 0x5106d2
mov eax, dword [edi + 0x40]
cmp dword [eax], 0
je 0x5106cd
cmp dword [edi + 0x4c], 0
jl 0x5106cd
jg 0x5106c9
cmp dword [edi + 0x48], 0
jbe 0x5106cd
xor eax, eax
jmp 0x5106d2
mov eax, 1
test eax, eax
mov esi, ebx
mov eax, 0x5852f8
cmovne esi, ecx
cmp byte [edi + 0xf], 0
jne 0x5106ea
mov eax, dword [edi + 0xa8]
cmp esi, 5
jne 0x510710
push eax
call fcn.00507730
add esp, 4
test eax, eax
je 0x510709
push edi
call fcn.004fd870
add esp, 4
test eax, eax
jne 0x510710
mov eax, ebx
jmp 0x510896
mov eax, esi
cmp esi, ebx
je 0x510896
cmp ebx, 5
je 0x510728
cmp esi, 5
jne 0x510896
mov eax, dword [ebp - 8]
cmp byte [eax + 0x4f], 0
je 0x511a5c
cmp dword [eax + 0xb4], 1
jg 0x511a5c
cmp ebx, 5
jne 0x510863
cmp dword [edi + 0xd8], 0
mov dword [ebp - 0xc], 0
jne 0x5107fb
mov al, byte [edi + 0x11]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xc], 0
cmp al, 1
jb 0x51077b
cmp al, bl
jne 0x5107ab
cmp byte [edi + 0xd], 0
je 0x51078a
mov dword [ebp - 0xc], 0
jmp 0x5107a1
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 0x5107ab
cmp byte [edi + 0x11], 5
je 0x5107ab
mov byte [edi + 0x11], 1
cmp dword [ebp - 0xc], 0
jne 0x510857
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 0x510857
cmp dword [ebp - 0xb4], eax
je 0x5107f2
push edi
call fcn.004d8aa0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510857
cmp dword [edi + 0xd8], 0
je 0x510857
push edi
call fcn.004d8780
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510857
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.00517150
push edi
mov dword [ebp - 0xc], eax
mov dword [edi + 0xd8], 0
call fcn.004d8800
add esp, 0x18
cmp dword [ebp - 0xc], 0
je 0x510857
cmp byte [edi + 4], 0
jne 0x510857
push 1
push edi
call fcn.004d9270
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
test ecx, ecx
jne 0x51089b
push esi
jmp 0x51086a
cmp ebx, 4
jne 0x510873
push 2
push edi
call fcn.004fd120
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
test ecx, ecx
jne 0x51089b
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.004e83d0
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.004fd120
mov ebx, dword [ebp - 0x3c]
add esp, 8
mov ecx, 0xa02
mov word [ebx + 8], cx
cmp eax, 6
jne 0x5108bd
xor eax, eax
jmp 0x5108c4
mov eax, dword [eax*4 + 0x586c90]
push eax
mov dword [ebx + 0x10], eax
call fcn.00507730
mov dword [ebx + 0xc], eax
movzx eax, byte [ebp - 0x4c]
push eax
push ebx
mov byte [ebx + 0xa], 1
call fcn.0050ad90
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
test eax, eax
je 0x510916
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
jmp 0x510918
xor eax, eax
push eax
push dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x7c
push edi
push eax
call fcn.00502f20
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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 0x510972
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x510972
push edi
call fcn.004c3fd0
add esp, 4
cmp byte [ebx + 0x11], 0
je 0x510a29
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.004cdf30
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x3c], eax
jae 0x5109c7
push 0x590054
push 0x10984
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004b9f50
add esp, 0x14
mov dword [ebp - 0xc], 0xb
jmp 0x510a30
test esi, esi
je 0x510a29
mov eax, dword [ebx + 8]
test eax, eax
je 0x5109e8
push 0
push 0
push eax
call fcn.004e0520
mov edx, eax
add esp, 0xc
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x510a30
push ebx
call fcn.004d3470
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x2c]
push ebx
call fcn.004d2e90
mov edx, eax
add esp, 0x14
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x510a30
mov eax, dword [ebx + 0xc]
push dword [eax + 0x48]
call fcn.004fd8a0
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 0x510a30
mov dword [ebp - 0xc], 0x65
cmp byte [edi + 9], 0
je 0x510a45
add dword [edi + 0xc], 0xffffffff
jne 0x510a45
push edi
call fcn.005201b0
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x50b9de
cmp eax, 0x65
jne 0x50d7d4
mov dword [ebp - 0xc], 0
jmp 0x50b613
cmp dword [esi + 4], 0
jne 0x510a87
push dword [esi + 8]
push edi
call fcn.004ed790
mov eax, dword [ebp - 0x10]
add esp, 8
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
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 0x50b5c5
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 0x50b5c5
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 0x50b5c5
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + 0xc]
test bl, bl
jne 0x510b09
mov eax, dword [edi + 0x20]
and eax, 0x400
mov dword [ebp - 0x30], eax
jne 0x5100ff
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 0x510bd3
inc dword [esi + 0xc]
inc bl
mov byte [ebp - 0x90], bl
cmp byte [esi + 0xa], al
jne 0x510b45
push esi
call fcn.004c3fd0
add esp, 4
push dword [ebp - 0x90]
push edi
push esi
call fcn.004dcb20
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510bbb
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x510b80
nop dword [eax]
cmp dword [ecx + 4], edi
jne 0x510b79
cmp dword [ecx], esi
je 0x510ba9
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x510b70
push 0
push 0x10
call fcn.004fb280
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x510c01
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 0x510bb1
mov byte [ecx + 8], bl
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
cmp byte [esi + 9], 0
je 0x510bd3
add dword [esi + 0xc], 0xffffffff
jne 0x510bd3
push esi
call fcn.005201b0
mov eax, dword [ebp - 0xc]
add esp, 4
test eax, eax
je 0x50fd73
cmp al, 6
jne 0x50d7d4
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push str.database_table_is_locked:__s
push dword [ebp + 8]
call fcn.0050b4d0
mov eax, dword [ebp - 0xc]
add esp, 0xc
jmp 0x50d7d4
mov dword [ebp - 0xc], 7
mov eax, 7
jmp 0x510bbb
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], 0
mov esi, dword [edx + 0x10]
mov edx, dword [edi + 0x164]
test edx, edx
jle 0x510c3b
cmp dword [edi + 0x17c], 0
jne 0x510c3b
mov dword [ebp - 0xc], 6
jmp 0x510cea
test esi, esi
jne 0x510c54
mov esi, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, 4
add esi, 0x14
jmp 0x50b5c5
mov eax, dword [esi + 8]
mov edi, dword [eax]
cmp dword [edi + 0x38], 0
je 0x510ce7
mov ebx, dword [ebp - 8]
xor ecx, ecx
test edx, edx
jle 0x510c82
mov eax, dword [ebx + 0x17c]
cmp dword [eax], esi
je 0x510d18
inc ecx
add eax, 4
cmp ecx, edx
jl 0x510c72
push ebx
call fcn.004d2900
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510ce7
push dword [esi + 8]
mov eax, dword [edi + 0x38]
call eax
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510ce7
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 0x510ce7
cmp dword [edi + 0x50], 0
je 0x510ce7
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 0x510cfc
push dword [esi + 8]
push dword [ebp + 8]
call fcn.005168a0
add esp, 8
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov dword [ebp - 0xc], 0
mov edi, ebx
jmp 0x510cea
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.005138a0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x290]
push eax
call fcn.004b3720
add esp, 0xc
test eax, eax
je 0x510e40
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.004f2b30
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.004ce230
add esp, 0x18
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x510e25
mov eax, dword [ecx]
mov edx, dword [eax + 4]
test edx, edx
je 0x510e25
cmp dword [eax + 0x14], 0
je 0x510e25
mov edi, dword [ebp - 8]
push esi
push edx
push ecx
push ebx
push edi
call fcn.00524820
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510e40
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x510e40
cmp dword [eax], edi
je 0x510df1
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x510de4
jmp 0x510e40
push edi
call fcn.004d2900
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x510e40
push ebx
push edi
call fcn.004f7730
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 0x510e40
push edi
mov edi, dword [ebp - 8]
push str.no_such_module:__s
push edi
call fcn.004fb260
add esp, 0xc
mov dword [esi], eax
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x290]
push eax
call fcn.00513e60
mov eax, dword [ebp - 0xc]
add esp, 4
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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.004f2b30
mov edi, eax
add esp, 0xc
test edi, edi
je 0x510f0c
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x510f0c
nop
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
jg 0x510f31
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x510ea0
mov ebx, dword [ebp - 8]
push edi
push ebx
call fcn.00524ca0
mov esi, eax
add esp, 8
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x510ed2
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 0x510ef3
mov dword [esi + 8], eax
push esi
mov dword [edi + 0x40], eax
call fcn.00516b40
add esp, 4
cmp dword [ebx + 0x1f8], 0
jne 0x510f02
add dword [edi + 0x20], 0xffffffff
jne 0x510f0c
push edi
push ebx
call fcn.004c9f90
add esp, 8
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
dec dword [edi + 0xc0]
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov eax, 6
mov dword [ebp - 0xc], eax
jmp 0x510f0f
mov edx, dword [ebp - 4]
mov dword [ebp - 0x88], 0
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x511ab5
mov edi, dword [esi]
test edi, edi
je 0x511ab2
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.005168a0
mov eax, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
jne 0x50d7d4
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.004bfe60
add esp, 0x14
test eax, eax
je 0x511a77
mov ecx, dword [ebp - 0x88]
mov dword [eax + 0x28], ecx
inc dword [esi + 4]
jmp 0x50fd73
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 0x5110fd
cmp esi, 0x10
jb 0x5110e5
cmp dword [0x5bcfd4], 2
jl 0x5110e5
movaps xmm2, xmmword [0x5901c0]
mov eax, esi
and eax, 0x8000000f
jns 0x511040
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm1, xmmword [0x5901d0]
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 0x511050
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
cmp ecx, esi
jge 0x5110fd
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 0x5110f2
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.005168a0
mov eax, dword [ebp - 0xc]
add esp, 0x1c
test eax, eax
jne 0x50d7d4
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 0x50b9de
jmp 0x50b613
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 0x51117a
push esi
call fcn.00513f30
add esp, 4
jmp 0x50fd73
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 0x5111ba
push esi
call fcn.00513f30
mov edx, dword [ebp - 4]
add esp, 4
mov dword [esi], 0
mov eax, 0x4001
jmp 0x5111cd
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.005168a0
add esp, 0x14
cmp dword [ebp - 0x22c], 0
jle 0x51121d
push esi
call fcn.004b3720
push eax
push 0x58b134
push edi
call fcn.0050b4d0
mov eax, dword [ebp - 0x22c]
add esp, 0x10
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 0x4c]
push eax
push esi
call fcn.0050ad90
push esi
call fcn.00514440
add esp, 0xc
test eax, eax
jne 0x5105c8
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
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 0x50b9de
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.005168a0
mov eax, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
jne 0x50d7d4
push dword [edi + 0x28]
mov eax, dword [ebx + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x50f184
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 0x50f18a
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.0050ad90
add esp, 8
test eax, eax
jne 0x50d7d4
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 0x511331
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfbffffff
mov dword [edi + 0x24], eax
push esi
push dword [ebp + 8]
call fcn.005168a0
mov eax, dword [ebp + 8]
add esp, 8
and dword [eax + 0x98], 0xfffffffc
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
cmp byte [edi + 0x51], 0
jne 0x511a88
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov edi, dword [eax + 8]
test edi, edi
je 0x511abf
mov ebx, dword [edi]
test ebx, ebx
je 0x511abf
cmp dword [ebx + 0x34], 0
mov edx, dword [edx + 8]
je 0x511656
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 0x5113cb
nop dword [eax]
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x5113c0
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.005168a0
mov eax, dword [ebp - 0xc]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
test eax, eax
jne 0x511425
cmp dword [ecx + 4], eax
je 0x511425
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 0x51146c
mov eax, dword [ecx + 0x10]
cmp byte [eax + 0x10], 0
je 0x51146c
movzx ecx, word [ecx + 2]
cmp ecx, 4
jne 0x511453
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 0x50b5c5
movzx eax, cl
cmp ecx, 5
mov ecx, 2
cmove eax, ecx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x92], al
jmp 0x511472
mov eax, dword [ebp + 8]
inc dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x50d7d7
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d7f60
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 0x50b5c5
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004d7f60
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 0x51150d
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 0x511525
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x511525
push esi
call fcn.004c3fd0
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax]
test edi, edi
jle 0x511536
mov dword [eax + 0x9c], edi
jmp 0x51153c
mov edi, dword [eax + 0x9c]
cmp byte [esi + 9], 0
je 0x511551
add dword [esi + 0xc], 0xffffffff
jne 0x511551
push esi
call fcn.005201b0
add esp, 4
mov eax, edi
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x50fd73
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 0x5115af
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 0xc], ebx
mov dword [esi], edi
js 0x5115af
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 0x511594
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 0x51162b
jle 0x5115fc
push edi
call fcn.004b3720
push eax
push 0x58b134
push ebx
call fcn.0050b4d0
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.0050b310
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov dword [esi + 0x14], 0
test eax, eax
jne 0x50d7d4
test byte [edi + 8], 0x12
je 0x50b9de
movzx eax, byte [ebp - 0x4c]
push eax
push edi
call fcn.0050ad90
push edi
call fcn.00514440
add esp, 0xc
test eax, eax
jne 0x5105c8
jmp 0x50fd73
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, 0x14
jmp 0x50b5c5
mov cl, byte [edi + 0x58]
test cl, 0x41
je 0x51171d
mov edx, dword [ebp + 8]
test byte [edx + 0x98], 0x10
jne 0x51171d
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x511698
mov eax, dword [edx + 0xc0]
test eax, eax
je 0x51171d
push eax
test cl, 0x40
je 0x5116c9
mov edi, dword [edi + 0xcc]
push edx
call fcn.00512160
mov esi, eax
mov eax, dword [ebp - 8]
push esi
push dword [eax + 0xd0]
call edi
push esi
call fcn.004b0fa0
mov edi, dword [ebp - 8]
add esp, 0x14
mov esi, dword [ebp - 4]
jmp 0x51171d
cmp dword [edi + 0xbc], 1
jle 0x511709
push str.____s
push edi
call fcn.004fb260
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 0x511704
push esi
push edi
call fcn.004eb970
add esp, 8
mov esi, dword [ebp - 4]
jmp 0x51171d
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 [0x5b6d34]
jl 0x511771
cmp byte [esi], 0xaa
je 0x50b7ea
mov esi, dword [ebp + 8]
mov edx, 1
cmp dword [esi + 0x6c], edx
jle 0x51175d
mov eax, 0x14
mov ecx, dword [esi + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x511754
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [esi + 0x6c]
jl 0x511743
mov edi, dword [ebp - 4]
xor eax, eax
inc eax
mov dword [edi + 4], eax
inc dword [esi + 0xbc]
jmp 0x50b616
mov edi, dword [ebp - 4]
inc eax
mov esi, dword [ebp + 8]
mov dword [edi + 4], eax
inc dword [esi + 0xbc]
jmp 0x50b616
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 0x511809
movzx eax, word [edx + 2]
test ax, ax
je 0x5117db
push dword [eax*4 + 0x586bec]
push str._s_constraint_failed
push ebx
call fcn.0050b4d0
mov eax, dword [ebp - 4]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5117ec
push eax
push dword [ebx + 0x7c]
push str._z:__s
push edi
call fcn.004fb260
add esp, 0x10
mov dword [ebx + 0x7c], eax
jmp 0x5117ec
push dword [edx + 0x10]
push 0x58b134
push ebx
call fcn.0050b4d0
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.004b9f50
add esp, 0x14
push ebx
call fcn.00512960
mov esi, dword [ebp - 0x14]
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc], ecx
cmp ecx, 5
jne 0x511829
mov dword [ebx + 0x28], eax
mov ebx, eax
jmp 0x511e30
cmp dword [ebx + 0x28], 0
mov ecx, 0x65
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xc], ecx
mov ebx, ecx
jmp 0x511e30
push 0x1569f
call fcn.004ea400
mov edi, dword [ebp - 8]
add esp, 4
jmp 0x50d7da
push str.cannot_open_savepoint___SQL_statements_in_progress
push dword [ebp + 8]
call fcn.0050b4d0
add esp, 8
mov eax, 5
mov edi, esi
jmp 0x50d7d7
push str.cannot_release_savepoint___SQL_statements_in_progress
push dword [ebp + 8]
call fcn.0050b4d0
add esp, 8
mov eax, 5
jmp 0x50d7d4
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 0x511e30
mov eax, 8
jmp 0x50d7d7
mov esi, dword [ebp - 0x14]
cmp al, 5
jne 0x50c406
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 0x511e30
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x511917
push eax
push edi
call fcn.004eb970
add esp, 8
push 0
push 0x1c
push edi
call fcn.004eb9e0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x51193a
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 0x511965
push edx
push edi
call fcn.00501ee0
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 0x50d7dd
mov eax, 0x204
jmp 0x50d7d7
test dword [ebp - 0x148], 0x2400
jne 0x5119a9
cmp dword [ebp - 0x138], 0
je 0x5119b8
lea eax, [ebp - 0x150]
push eax
call fcn.00522250
add esp, 4
push 0x590054
push 0x14136
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004b9f50
add esp, 0x14
mov eax, 0xb
jmp 0x50d7d4
mov ecx, dword [ebp + 8]
mov eax, 6
mov ebx, dword [ebp - 0x18]
mov edi, edx
mov byte [ecx + 0x92], 2
jmp 0x50d7dd
mov dword [ebp - 0xc], 7
push edi
call fcn.00501e60
mov eax, dword [ebp - 0xc]
add esp, 4
mov esi, dword [ebp - 0x14]
cmp eax, 7
je 0x511d10
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jmp 0x50d7e0
push str.too_many_levels_of_trigger_recursion
push edx
call fcn.0050b4d0
add esp, 8
mov eax, 1
mov edi, ebx
jmp 0x50d7d7
push esi
call fcn.004b3720
push eax
push 0x58b134
push dword [ebp + 8]
call fcn.0050b4d0
add esp, 0x10
mov eax, dword [ebp - 0xc]
jmp 0x50d7d7
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 0x50d7c4
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.004fbae0
push str.out_of_memory
push edx
call fcn.0050b4d0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov ebx, dword [ebp - 0x18]
mov eax, 7
jmp 0x50d7e0
mov edi, dword [ebp - 8]
mov eax, 6
jmp 0x50d7d7
mov eax, 6
jmp 0x50d7d4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
jl 0x511b00
jg 0x511ada
cmp dword [eax + 0x40], 0
jbe 0x511b00
push str.FOREIGN_KEY_constraint_failed
push eax
mov dword [eax + 0x28], 0x313
mov byte [eax + 0x92], 2
call fcn.0050b4d0
add esp, 8
mov eax, 1
jmp 0x50d7d7
push 1
push eax
call fcn.0050b1b0
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 0x511b66
mov eax, 0x1000
test word [esi + 8], ax
je 0x511b51
push esi
call fcn.00513c50
add esp, 4
test eax, eax
jne 0x511a85
push esi
call fcn.00513d00
inc edi
add esp, 4
add esi, 0x28
cmp edi, dword [ebx + 8]
jl 0x511b35
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 8]
cmp byte [edi + 0x51], 0
jne 0x511a8b
test byte [edi + 0x58], 4
je 0x511b8f
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 0x511e30
mov edx, dword [ebp - 4]
movzx eax, byte [edi + 0x4f]
mov ebx, dword [edx + 4]
mov ecx, dword [edx + 8]
cmp ebx, eax
je 0x511c9b
test ecx, ecx
je 0x511be4
push 0x204
push edi
call fcn.00502610
add esp, 8
mov al, 1
jmp 0x511c29
test ebx, ebx
je 0x511c0b
cmp dword [edi + 0xb8], 0
jle 0x511c0b
push str.cannot_commit_transaction___SQL_statements_in_progress
push dword [ebp + 8]
call fcn.0050b4d0
add esp, 8
mov eax, 5
jmp 0x50d7d7
push 1
push dword [ebp + 8]
mov dword [ebp - 0x90], ebx
call fcn.0050af70
mov ecx, eax
add esp, 8
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x511c90
mov eax, ebx
push dword [ebp + 8]
mov byte [edi + 0x4f], al
call fcn.00512960
add esp, 4
cmp eax, 5
jne 0x511c70
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 0x511e30
push edi
call fcn.004e8cd0
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 0x511e30
test ebx, ebx
jne 0x511ca6
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x511cb5
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.0050b4d0
add esp, 8
mov eax, 1
jmp 0x50d7d7
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.004b1b90
push eax
push 0x58b134
push edx
call fcn.0050b4d0
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jmp 0x50d7e0
mov edi, dword [ebp - 8]
mov edx, esi
jmp 0x511a8b
mov edx, dword [ebp + 8]
jmp 0x511a8e
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x511d2b
mov ecx, str.no_more_rows_available
jmp 0x511d2b
mov ecx, str.another_row_available
push ecx
push 0x58b134
push dword [ebp + 8]
call fcn.0050b4d0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
cmp eax, 0xc0a
je 0x511d73
movzx eax, al
cmp eax, 0xe
je 0x511d59
cmp eax, 0xa
jne 0x511d73
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x511d6e
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x511d70
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.004b9f50
push dword [ebp + 8]
call fcn.00512960
add esp, 0x18
cmp dword [ebp - 0xc], 0xc0a
jne 0x511dfa
cmp byte [edi + 0x51], 0
jne 0x511dfa
cmp byte [edi + 0x52], 0
jne 0x511dfa
cmp dword [edi + 0xbc], 0
mov byte [edi + 0x51], 1
jle 0x511dda
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 0x511dfa
mov dword [eax + 0xc], 7
mov al, byte [ebp - 0x59]
mov dword [ebp - 0xc], 1
test al, al
je 0x511e26
movzx eax, al
dec eax
push eax
push edi
call fcn.00501ee0
mov ebx, dword [ebp - 0xc]
add esp, 8
jmp 0x511e30
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
jmp 0x511e30
mov ebx, 1
nop dword [eax + eax]
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
jb 0x511e69
mov eax, dword [edi + 0x158]
test eax, eax
je 0x511e69
push dword [edi + 0x15c]
add esi, dword [edi + 0x160]
call eax
add esp, 4
test eax, eax
je 0x511e30
mov ecx, dword [ebp + 8]
or esi, 0xffffffff
mov ebx, dword [ebp - 0x18]
mov eax, 9
jmp 0x50d7e0
mov edx, dword [ebp + 8]
add dword [edx + 0xb4], ecx
cmp dword [edx + 0xa0], 0
je 0x511e84
push edx
call fcn.00522190
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret