Function at 0x507c3a
Capabilities:
Enumerate pe sections
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x104], eax
mov eax, dword [esi]
mov dword [ebp - 0xd0], eax
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
xor ebx, ebx
mov byte [ebp - 0xec], al
mov eax, dword [esi + 0x4c]
push edi
mov edi, esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xcc], ebx
mov byte [ebp - 0xf1], bl
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0x100], ebx
call fcn.00505983
cmp dword [esi + 0x58], 7
je 0x50cd2a
mov eax, dword [ebp - 0xd0]
xor edi, edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x2c], edi
mov ecx, dword [eax + 0xe0]
mov dword [eax + 0x1a8], edi
test ecx, ecx
jne 0x50cd05
cmp dword [eax + 0x108], edi
mov eax, dword [esi + 0x54]
setne cl
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x108], ecx
jmp 0x507d00
mov ebx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xd0]
cmp byte [eax + 0x1e], 0
jne 0x50cd2a
mov edi, dword [ebp - 0xdc]
imul edi, edi, 0x14
add edi, dword [ebp - 0x104]
xor ecx, ecx
mov dword [ebp - 0xe8], edi
cmp dword [ebp - 0x108], ecx
je 0x507d66
mov eax, dword [eax + 0x110]
cmp eax, dword [ebp - 0xfc]
jne 0x507d60
mov eax, dword [ebp - 0xd0]
push dword [eax + 0x10c]
call dword [eax + 0x108]
pop ecx
test eax, eax
jne 0x50cb1b
and dword [ebp - 0xfc], eax
xor ecx, ecx
inc dword [ebp - 0xfc]
test byte [edi + 2], 2
je 0x507d8e
mov ebx, dword [edi + 8]
imul ebx, ebx, 0x28
add ebx, dword [ebp - 0xd4]
mov eax, ebx
mov dword [ebp - 0xe4], ebx
call fcn.005039d6
push 4
pop eax
mov word [ebx + 0x1c], ax
xor ecx, ecx
movzx eax, byte [edi]
dec eax
cmp eax, 0x90
ja case.0x507d9d.17
jmp dword [eax*4 + 0x50cd52]
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0xe0]
test eax, eax
jne 0x50cd05
mov edi, dword [edi + 8]
dec edi
mov dword [ebp - 0xdc], edi
jmp case.0x507d9d.17
mov ecx, dword [edi + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0xd4]
push 4
pop eax
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0xdc]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [edi + 8]
dec eax
mov dword [ebp - 0xdc], eax
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0xd4]
imul eax, eax, 0x28
mov eax, dword [eax + ecx]
jmp 0x507dea
mov edi, dword [edi + 4]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
push 4
pop eax
mov word [edi + 0x1c], ax
mov eax, dword [edi]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xdc]
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [ebp - 0xc8]
jmp 0x507dea
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0xd4]
imul eax, eax, 0x28
test byte [eax + edx + 0x1c], 1
je case.0x507d9d.17
cmp dword [edi + 4], ecx
jne 0x50cb2a
lea edx, [esi + 0xdc]
mov eax, dword [edx]
cmp eax, ecx
je 0x50cb2a
mov ecx, dword [eax + 0x3c]
dec dword [esi + 0xe0]
mov dword [edx], ecx
mov ecx, dword [esi + 0x6c]
mov edx, dword [ebp - 0xd0]
add dword [edx + 0x40], ecx
mov dword [edx + 0x3c], ecx
call fcn.00505376
cmp dword [edi + 8], 4
mov dword [ebp - 0xdc], eax
jne 0x507ea1
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x14
mov eax, dword [eax + ecx + 8]
dec eax
mov dword [ebp - 0xdc], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x104], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0xd4], eax
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp case.0x507d9d.17
mov edi, dword [edi + 0x10]
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
jmp case.0x507d9d.17
push 8
pop eax
mov word [ebx + 0x1c], ax
mov eax, dword [edi + 0x10]
fld qword [eax]
fstp qword [ebx + 8]
jmp case.0x507d9d.17
mov ecx, dword [edi + 0x10]
mov byte [edi], 9
call fcn.004f4983
cmp byte [ebp - 0xec], 1
mov dword [edi + 4], eax
je 0x507f7c
push 1
push ecx
xor eax, eax
or ecx, 0xffffffff
mov edx, ebx
call fcn.00503e33
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
cmp eax, 0x12
je 0x50886f
movzx eax, byte [ebp - 0xec]
push eax
mov eax, ebx
call fcn.00503732
pop ecx
test eax, eax
jne 0x50cd2a
and dword [ebx + 0x24], eax
mov ax, word [ebx + 0x1c]
mov ecx, 0xfbff
and ax, cx
mov ecx, 0x800
or ax, cx
mov word [ebx + 0x1c], ax
cmp byte [edi + 1], 0xff
jne 0x507f6c
push dword [edi + 0x10]
push dword [ebp - 0xd0]
call fcn.004f2f5d
pop ecx
pop ecx
mov byte [edi + 1], 0xff
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0xd0]
cmp eax, dword [ecx + 0x48]
jg 0x50886f
mov eax, 0xa02
mov word [ebx + 0x1c], ax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x18], eax
mov al, byte [ebp - 0xec]
mov byte [ebx + 0x1f], al
jmp case.0x507d9d.17
xor eax, eax
inc eax
mov word [ebx + 0x1c], ax
jmp case.0x507d9d.17
mov ecx, dword [edi + 4]
push 0
push dword [edi + 0x10]
xor eax, eax
mov edx, ebx
call fcn.00503e33
pop ecx
pop ecx
jmp 0x507fa3
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x3c]
imul eax, eax, 0x28
lea edi, [eax + ecx - 0x28]
mov ecx, edi
mov dword [ebp - 0xc8], edi
call fcn.00503d4e
test eax, eax
jne 0x50886f
push 0x800
push edi
mov ebx, dword [ebp - 0xe4]
call fcn.00503d75
pop ecx
pop ecx
jmp case.0x507d9d.17
mov edx, dword [edi + 0xc]
mov dword [ebp - 0xc4], edx
mov eax, dword [edi + 4]
mov dword [ebp - 0xc0], eax
imul eax, eax, 0x28
mov edi, dword [edi + 8]
add eax, dword [ebp - 0xd4]
mov dword [ebp - 0xbc], edi
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
mov ebx, eax
mov dword [ebp - 0xe4], edi
cmp edx, ecx
je 0x50807d
dec dword [ebp - 0xc4]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0xc8], eax
and dword [edi + 0x24], 0
mov eax, edi
call fcn.00503e0f
mov eax, dword [ebp - 0xc8]
mov dword [ebx + 0x24], eax
add ebx, 0x28
add edi, 0x28
cmp dword [ebp - 0xc4], 0
jne 0x508045
mov dword [ebp - 0xe4], edi
dec dword [ebp - 0xc4]
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov ebx, dword [edi + 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
imul ebx, ebx, 0x28
add ebx, dword [ebp - 0xd4]
push 0x1000
push eax
mov dword [ebp - 0xe4], ebx
call fcn.00503d75
mov eax, 0x1000
pop ecx
pop ecx
test word [ebx + 0x1c], ax
je case.0x507d9d.17
mov eax, ebx
call fcn.00503815
test eax, eax
jne 0x50cd2a
jmp case.0x507d9d.17
mov ebx, dword [edi + 8]
mov eax, dword [edi + 4]
imul ebx, ebx, 0x28
add ebx, dword [ebp - 0xd4]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
push 0x1000
mov dword [ebp - 0xe4], ebx
push eax
jmp 0x508000
push 0
mov eax, esi
call fcn.005059b6
pop ecx
mov dword [ebp - 0xcc], eax
test eax, eax
jne case.0x507d9d.17
push 1
mov ebx, esi
call fcn.005058bb
pop ecx
mov dword [ebp - 0xcc], eax
test eax, eax
jne case.0x507d9d.17
mov eax, dword [esi + 0x50]
mov ecx, dword [ebp - 0xd4]
inc eax
inc eax
or eax, 1
mov dword [esi + 0x50], eax
mov eax, dword [edi + 4]
and dword [ebp - 0xc4], 0
imul eax, eax, 0x28
add eax, ecx
mov dword [esi + 0x2c], eax
mov dword [ebp - 0xc8], eax
cmp dword [edi + 8], 0
jle 0x5081c0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc8]
imul eax, eax, 0x28
add eax, ecx
mov ecx, 0x1000
test word [eax + 0x1c], cx
je 0x508187
call fcn.00503815
test eax, eax
jne 0x50cd2a
mov eax, dword [ebp - 0xc4]
imul eax, eax, 0x28
add eax, dword [ebp - 0xc8]
call fcn.005038c0
mov ecx, dword [ebp - 0xc4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0xc8]
call fcn.00507a44
inc dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc4]
cmp eax, dword [edi + 8]
jl 0x50815e
mov eax, dword [ebp - 0xd0]
cmp byte [eax + 0x1e], 0
jne 0x50cd2a
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [esi + 0x54], eax
mov dword [ebp - 0xcc], 0x64
jmp 0x5088ed
mov edx, dword [edi + 4]
mov ebx, dword [edi + 8]
imul edx, edx, 0x28
mov edi, dword [edi + 0xc]
imul ebx, ebx, 0x28
add edx, dword [ebp - 0xd4]
imul edi, edi, 0x28
add ebx, dword [ebp - 0xd4]
movzx eax, word [edx + 0x1c]
mov cl, byte [ebx + 0x1c]
add edi, dword [ebp - 0xd4]
or cl, al
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xe4], edi
test cl, 1
je 0x508232
push edi
call fcn.00503c26
jmp 0x508006
test eax, 0x4000
je 0x50824c
mov eax, dword [ebp - 0xf0]
call fcn.00503870
mov edx, dword [ebp - 0xf0]
jmp 0x50824e
xor eax, eax
test eax, eax
jne 0x50cd2a
mov eax, 0x4000
test word [ebx + 0x1c], ax
je 0x508270
mov eax, ebx
call fcn.00503870
mov edx, dword [ebp - 0xf0]
jmp 0x508272
xor eax, eax
test eax, eax
jne 0x50cd2a
test byte [edx + 0x1c], 0x12
jne 0x5082a2
movzx eax, byte [ebp - 0xec]
push eax
mov eax, dword [ebp - 0xf0]
call fcn.00503909
pop ecx
test eax, eax
jne 0x50cd2a
mov edx, dword [ebp - 0xf0]
test byte [ebx + 0x1c], 0x12
jne 0x5082c6
movzx eax, byte [ebp - 0xec]
push eax
mov eax, ebx
call fcn.00503909
pop ecx
test eax, eax
jne 0x50cd2a
mov edx, dword [ebp - 0xf0]
mov eax, dword [edx + 0x18]
add eax, dword [ebx + 0x18]
cdq
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xc4], edx
mov eax, dword [eax + 0x48]
cdq
cmp dword [ebp - 0xc4], edx
jg 0x50886f
jl 0x5082fd
cmp dword [ebp - 0xc8], eax
ja 0x50886f
mov ax, word [edi + 0x1c]
mov ecx, 0xbf02
and ax, cx
or ax, 2
mov word [edi + 0x1c], ax
xor eax, eax
cmp edi, ebx
sete al
push eax
mov eax, dword [ebp - 0xc8]
add eax, 2
call fcn.00503752
pop ecx
test eax, eax
jne 0x50cd2a
cmp edi, ebx
je 0x508345
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [edi + 0x14]
call fcn.0054eea0
add esp, 0xc
mov eax, dword [ebp - 0xf0]
push dword [eax + 0x18]
push dword [eax + 0x14]
mov eax, dword [ebx + 0x18]
add eax, dword [edi + 0x14]
push eax
call fcn.0054eea0
mov ecx, dword [ebp - 0xc8]
mov eax, dword [edi + 0x14]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0xc8]
mov eax, dword [edi + 0x14]
mov byte [ecx + eax + 1], 0
mov eax, 0x200
add esp, 0xc
or word [edi + 0x1c], ax
mov eax, dword [ebp - 0xc8]
mov dword [edi + 0x18], eax
mov al, byte [ebp - 0xec]
mov byte [edi + 0x1f], al
jmp case.0x507d9d.17
mov ebx, dword [edi + 4]
imul ebx, ebx, 0x28
add ebx, dword [ebp - 0xd4]
mov esi, ebx
call fcn.00507b37
mov esi, dword [edi + 8]
imul esi, esi, 0x28
add esi, dword [ebp - 0xd4]
mov dword [ebp - 0xe0], esi
call fcn.00507b37
mov esi, dword [edi + 0xc]
mov eax, dword [ebp - 0xe0]
imul esi, esi, 0x28
movzx eax, word [eax + 0x1c]
movzx ecx, word [ebx + 0x1c]
add esi, dword [ebp - 0xd4]
or eax, ecx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xc8], eax
test al, 1
jne 0x508693
mov ecx, dword [ebp - 0xe0]
mov al, byte [ecx + 0x1c]
and al, byte [ebx + 0x1c]
test al, 4
je 0x50854b
mov eax, dword [ebx]
mov dword [ebp - 0xc0], eax
mov ebx, dword [ebx + 4]
mov dword [ebp - 0xbc], ebx
mov edx, dword [ecx]
mov dword [ebp - 0xb8], edx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xb4], ecx
movzx ecx, byte [edi]
sub ecx, 0x56
je 0x5084fc
dec ecx
je 0x5084ee
dec ecx
je 0x5084cd
dec ecx
mov ecx, eax
je 0x508481
or ecx, ebx
je 0x508693
mov ecx, eax
and ecx, ebx
cmp ecx, 0xffffffff
jne 0x50846c
xor eax, eax
inc eax
xor ebx, ebx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ebx
push ebx
push eax
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
call fcn.00553f80
jmp 0x5084e0
or ecx, ebx
je 0x508693
mov ecx, eax
and ecx, ebx
cmp ecx, 0xffffffff
jne 0x5084b8
cmp dword [ebp - 0xb8], 0
jne 0x5084b8
cmp dword [ebp - 0xb4], 0x80000000
jne 0x5084b8
xor eax, eax
inc eax
xor ebx, ebx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ebx
push ebx
push eax
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
call fcn.00553ed0
jmp 0x5084e0
push ebx
push eax
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
call fcn.0055af70
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
jmp 0x508508
sub dword [ebp - 0xb8], eax
sbb dword [ebp - 0xb4], ebx
jmp 0x508508
add dword [ebp - 0xb8], eax
adc dword [ebp - 0xb4], ebx
mov eax, dword [ebp - 0xb8]
mov dword [esi], eax
mov eax, dword [ebp - 0xb4]
mov dword [esi + 4], eax
mov ax, word [esi + 0x1c]
mov ecx, 0xbf04
and ax, cx
or ax, 4
mov word [esi + 0x1c], ax
mov esi, dword [ebp - 0xd8]
inc dword [ebp - 0xdc]
cmp dword [ebp - 0xcc], 0
je 0x507cfa
jmp 0x50888e
mov eax, ebx
call fcn.00503b00
fstp qword [ebp - 0xb0]
mov eax, dword [ebp - 0xe0]
call fcn.00503b00
fst qword [ebp - 0xa8]
movzx eax, byte [edi]
sub eax, 0x56
je 0x508634
dec eax
je 0x50862c
dec eax
je 0x508624
dec eax
je 0x50860d
fld qword [ebp - 0xb0]
call fcn.00567816
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
call fcn.00567816
mov ecx, dword [ebp - 0xc0]
or ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
je 0x508693
mov ecx, dword [ebp - 0xc0]
and ecx, dword [ebp - 0xbc]
cmp ecx, 0xffffffff
jne 0x5085e6
and dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 1
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
push edx
push eax
call fcn.00553f80
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edx
fild qword [ebp - 0x120]
jmp 0x50863a
fldz
fcomp qword [ebp - 0xb0]
fnstsw ax
test ah, 0x44
jnp 0x508691
fdiv qword [ebp - 0xb0]
jmp 0x50863a
fmul qword [ebp - 0xb0]
jmp 0x50863a
fsub qword [ebp - 0xb0]
jmp 0x50863a
fadd qword [ebp - 0xb0]
fstp qword [ebp - 0xa8]
push ecx
fld qword [ebp - 0xa8]
push ecx
fstp qword [esp]
call fcn.004f495a
add esp, 8
test eax, eax
jne 0x508693
mov ax, word [esi + 0x1c]
fld qword [ebp - 0xa8]
mov ecx, 0xbf08
fstp qword [esi + 8]
and ax, cx
or ax, 8
mov word [esi + 0x1c], ax
test byte [ebp - 0xc8], 8
jne 0x50852d
mov esi, dword [ebp - 0xe4]
call fcn.00503b48
jmp 0x50852d
fstp st(0)
push esi
call fcn.00503c26
pop ecx
jmp 0x50852d
movzx edx, byte [edi + 3]
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
mov eax, dword [edi + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
mov eax, dword [edi + 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
cmp edx, ecx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc8], ecx
jle 0x50872f
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0xc8]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc4]
mov ecx, 0x1000
test word [eax + 0x1c], cx
je 0x508704
call fcn.00503815
test eax, eax
jne 0x50cd2a
mov ecx, dword [ebp - 0xc4]
call fcn.00507a44
inc dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc8]
add eax, 0x28
cmp ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xc4], eax
jl 0x5086da
cmp byte [edi + 1], 0xfb
mov eax, dword [edi + 0x10]
jne 0x508741
and dword [ebp - 0xbc], 0
jmp 0x508749
mov dword [ebp - 0xbc], eax
mov eax, dword [eax]
mov ebx, dword [ebp - 0xe4]
and dword [ebp - 0x98], 0
and dword [ebp - 0x94], 0
mov dword [ebp - 0xc0], eax
xor eax, eax
inc eax
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xb8]
call fcn.00503e0f
mov eax, dword [ebp - 0x9c]
and dword [ebp - 0x8c], 0
and eax, 0xbf01
or eax, 1
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0xc0]
test byte [eax + 3], 8
je 0x5087b5
mov ecx, dword [edi - 4]
mov dword [ebp - 0x88], ecx
push dword [ebp - 0x80]
lea ecx, [ebp - 0xc0]
push dword [ebp - 0x7c]
push ecx
call dword [eax + 0xc]
mov ebx, dword [ebp - 0xd0]
add esp, 0xc
cmp byte [ebx + 0x1e], 0
jne 0x50cbc6
cmp dword [ebp - 0xbc], 0
je 0x508803
push dword [edi + 4]
mov edi, dword [ebp - 0xbc]
call fcn.00505d4c
mov eax, dword [ebp - 0xe8]
pop ecx
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf9
cmp dword [ebp - 0x8c], 0
je 0x508837
lea eax, [ebp - 0xb8]
push eax
call fcn.0050686b
pop ecx
push eax
push 0x5c18ac
push ebx
lea edi, [esi + 0x5c]
call fcn.004f3283
mov eax, dword [ebp - 0x8c]
add esp, 0xc
mov dword [ebp - 0xcc], eax
movzx eax, byte [ebp - 0xec]
push eax
lea eax, [ebp - 0xb8]
call fcn.00503732
mov eax, dword [ebp - 0xe4]
pop ecx
lea ebx, [ebp - 0xb8]
call fcn.00503e0f
mov ecx, dword [ebp - 0xe4]
call fcn.00503d4e
test eax, eax
je case.0x507d9d.17
push str.string_or_blob_too_big
push dword [ebp - 0xd0]
lea edi, [esi + 0x5c]
call fcn.004f3283
mov dword [ebp - 0xcc], 0x12
pop ecx
pop ecx
push dword [esi + 0x5c]
mov edi, dword [ebp - 0xcc]
push dword [esi + 0xbc]
mov dword [esi + 0x58], edi
push dword [ebp - 0xdc]
push str.statement_aborts_at__d:___s___s
push edi
call fcn.004f42b7
add esp, 0x14
push esi
call fcn.00505a08
pop ecx
cmp edi, 0xc0a
jne 0x5088cd
mov eax, dword [ebp - 0xd0]
mov byte [eax + 0x1e], 1
cmp byte [ebp - 0xf1], 0
mov dword [ebp - 0xcc], 1
je 0x5088ed
mov ebx, dword [ebp - 0xd0]
xor eax, eax
call fcn.00513f6b
lea edi, [esi + 0x80]
call fcn.004fccfd
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xcc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054677c
leave
ret
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 4]
imul ecx, ecx, 0x28
mov eax, dword [edi + 0xc]
imul ebx, ebx, 0x28
add ecx, dword [ebp - 0xd4]
imul eax, eax, 0x28
add ebx, dword [ebp - 0xd4]
mov dl, byte [ecx + 0x1c]
add eax, dword [ebp - 0xd4]
or dl, byte [ebx + 0x1c]
mov dword [ebp - 0xe4], eax
test dl, 1
je 0x508948
push eax
jmp 0x508228
call fcn.00503aa7
mov ecx, ebx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
call fcn.00503aa7
mov ecx, eax
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], edx
movzx eax, byte [edi]
sub eax, 0x52
je 0x5089b0
dec eax
je 0x5089a2
mov edx, dword [ebp - 0xc4]
dec eax
mov eax, dword [ebp - 0xc8]
je 0x50898f
call fcn.00567cf0
jmp 0x508994
call fcn.005677c0
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
jmp 0x5089bc
or dword [ebp - 0xc8], ecx
or dword [ebp - 0xc4], edx
jmp 0x5089bc
and dword [ebp - 0xc8], ecx
and dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xc8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 4], ecx
mov cx, word [eax + 0x1c]
mov edx, 0xbf04
and cx, dx
or cx, 4
mov word [eax + 0x1c], cx
jmp case.0x507d9d.17
mov esi, dword [edi + 4]
imul esi, esi, 0x28
add esi, dword [ebp - 0xd4]
call fcn.00503b9d
mov eax, dword [edi + 8]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
jmp 0x50852d
mov ebx, dword [edi + 4]
push dword [ebp - 0xec]
imul ebx, ebx, 0x28
add ebx, dword [ebp - 0xd4]
push 0x63
mov eax, ebx
call fcn.00507bb1
movzx eax, word [ebx + 0x1c]
pop ecx
pop ecx
test al, 4
jne 0x508a4a
mov edi, dword [edi + 8]
test edi, edi
jne 0x507dbb
mov dword [ebp - 0xcc], 0x14
jmp 0x50cca5
and eax, 0xbf04
or eax, 4
jmp 0x507fb4
mov edi, dword [edi + 4]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
movzx ebx, word [edi + 0x1c]
test bl, 4
je case.0x507d9d.17
mov eax, edi
call fcn.00503b00
fstp qword [edi + 8]
and ebx, 0xbf08
or ebx, 8
mov word [edi + 0x1c], bx
jmp case.0x507d9d.17
mov edi, dword [edi + 4]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
movzx eax, word [edi + 0x1c]
test al, 1
jne case.0x507d9d.17
push dword [ebp - 0xec]
mov ecx, eax
shr ecx, 3
and ecx, 2
or ecx, eax
push 0x61
mov eax, edi
mov word [edi + 0x1c], cx
call fcn.00507bb1
mov eax, 0x4000
pop ecx
pop ecx
test word [edi + 0x1c], ax
je 0x508add
mov eax, edi
call fcn.00503870
mov dword [ebp - 0xcc], eax
jmp 0x508ae4
and dword [ebp - 0xcc], 0
mov eax, 0xbfe3
and word [edi + 0x1c], ax
jmp case.0x507d9d.17
mov edi, dword [edi + 4]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
movzx eax, word [edi + 0x1c]
test al, 1
jne case.0x507d9d.17
test al, 0x10
jne 0x508b31
push dword [ebp - 0xec]
mov eax, edi
push 0x61
call fcn.00507bb1
mov ax, word [edi + 0x1c]
pop ecx
pop ecx
mov ecx, 0xbf10
and ax, cx
or ax, 0x10
jmp 0x508b36
and eax, 0xff10
mov word [edi + 0x1c], ax
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
call fcn.00503bc0
jmp case.0x507d9d.17
mov edi, dword [edi + 4]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
test byte [edi + 0x1c], 1
jne case.0x507d9d.17
mov esi, edi
call fcn.00503b9d
jmp 0x50852d
mov edi, dword [edi + 4]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
movzx ebx, word [edi + 0x1c]
test bl, 1
jne case.0x507d9d.17
jmp 0x508a70
mov ebx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
imul ebx, ebx, 0x28
add ebx, dword [ebp - 0xd4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0xd4]
mov ax, word [ebx + 0x1c]
mov word [ebp - 0xc2], ax
mov ax, word [ecx + 0x1c]
mov word [ebp - 0xc0], ax
movzx eax, word [ecx + 0x1c]
movzx edx, word [ebx + 0x1c]
mov dword [ebp - 0xe8], eax
or al, dl
test al, 1
mov al, byte [edi + 3]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xf0], edx
je 0x508c3b
test al, al
jns 0x508c03
movzx edx, word [ebx + 0x1c]
mov al, byte [ebp - 0xe8]
and al, dl
test al, 1
push 0
pop eax
sete al
jmp 0x508cc3
test al, 0x10
je 0x508c2e
mov edi, dword [edi + 8]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
mov ecx, 0xbf01
mov ax, word [edi + 0x1c]
and ax, cx
mov dword [ebp - 0xe4], edi
or ax, 1
jmp 0x508b36
test al, 8
je case.0x507d9d.17
jmp 0x507db8
and al, 0x67
mov byte [ebp - 0xc4], al
je 0x508c82
push dword [ebp - 0xec]
mov eax, ebx
push dword [ebp - 0xc4]
call fcn.00507bb1
push dword [ebp - 0xec]
mov eax, dword [ebp - 0xe0]
push dword [ebp - 0xc4]
call fcn.00507bb1
mov eax, dword [ebp - 0xd0]
add esp, 0x10
cmp byte [eax + 0x1e], 0
jne 0x50cd2a
mov eax, 0x4000
test word [ebx + 0x1c], ax
je 0x508c94
mov eax, ebx
call fcn.00503870
mov ecx, dword [ebp - 0xe0]
mov eax, 0x4000
test word [ecx + 0x1c], ax
je 0x508cac
mov eax, ecx
call fcn.00503870
push dword [edi + 0x10]
mov edx, dword [ebp - 0xe0]
mov eax, ebx
call fcn.00503f91
pop ecx
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xc8], eax
movzx edx, byte [edi]
sub edx, 0x4b
je 0x508d0a
dec edx
je 0x508d01
dec edx
je 0x508cf8
dec edx
je 0x508cef
dec edx
je 0x508ce6
xor edx, edx
test eax, eax
setge dl
jmp 0x508d11
xor edx, edx
test eax, eax
setl dl
jmp 0x508d11
xor edx, edx
test eax, eax
setle dl
jmp 0x508d11
xor edx, edx
test eax, eax
setg dl
jmp 0x508d11
xor edx, edx
test eax, eax
sete dl
jmp 0x508d11
xor edx, edx
test eax, eax
setne dl
mov dword [ebp - 0xc8], edx
test byte [edi + 3], 0x10
je 0x508d51
mov edi, dword [edi + 8]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
mov edx, 0xbf04
mov ax, word [edi + 0x1c]
and ax, dx
or ax, 4
mov word [edi + 0x1c], ax
mov eax, dword [ebp - 0xc8]
cdq
mov dword [ebp - 0xe4], edi
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x508d64
cmp dword [ebp - 0xc8], 0
je 0x508d64
mov edi, dword [edi + 8]
dec edi
mov dword [ebp - 0xdc], edi
mov al, byte [ebp - 0xc2]
mov byte [ebx + 0x1c], al
mov al, byte [ebp - 0xc0]
mov byte [ecx + 0x1c], al
jmp case.0x507d9d.17
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x100], eax
jmp case.0x507d9d.17
mov ebx, dword [edi + 0xc]
mov dword [ebp - 0xc8], ebx
mov edx, dword [edi + 0x10]
mov dword [ebp - 0xb8], edx
mov eax, dword [edi + 4]
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xbc], eax
xor eax, eax
cmp ebx, ecx
mov dword [ebp - 0xc4], eax
jle 0x508e4c
mov ebx, dword [ebp - 0x100]
jmp 0x508dcb
mov edx, dword [ebp - 0xb8]
test ebx, ebx
je 0x508dd4
mov ecx, dword [ebx + eax*4]
jmp 0x508dd6
mov ecx, eax
mov dword [ebp - 0xb4], ecx
mov edi, dword [edx + eax*4 + 0xc]
mov dword [ebp - 0xb0], edi
mov edx, dword [edx + 8]
movzx eax, byte [edx + eax]
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xbc]
add eax, ecx
add edx, ecx
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
imul edx, edx, 0x28
add edx, dword [ebp - 0xd4]
push edi
call fcn.00503f91
pop ecx
mov dword [ebp - 0xf8], eax
test eax, eax
jne 0x508e3d
mov eax, dword [ebp - 0xc4]
inc eax
cmp eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc4], eax
jl 0x508dc5
jmp 0x508e4c
cmp dword [ebp - 0xac], 0
je 0x508e4c
neg dword [ebp - 0xf8]
and dword [ebp - 0x100], 0
jmp case.0x507d9d.17
cmp dword [ebp - 0xf8], ecx
jge 0x508e68
mov edi, dword [edi + 4]
jmp 0x507dbb
je 0x507db8
mov edi, dword [edi + 0xc]
jmp 0x507dbb
mov ecx, dword [edi + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0xd4]
xor ebx, ebx
inc ebx
test byte [ecx + 0x1c], bl
je 0x508e8f
push 2
pop eax
jmp 0x508e9e
call fcn.00503aa7
or eax, edx
je 0x508e9c
mov eax, ebx
jmp 0x508e9e
xor eax, eax
mov dword [ebp - 0xc8], eax
mov ecx, dword [edi + 8]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0xd4]
test byte [ecx + 0x1c], bl
je 0x508ec1
mov dword [ebp - 0xc4], 2
jmp 0x508edf
call fcn.00503aa7
or eax, edx
mov eax, dword [ebp - 0xc8]
je 0x508ed8
mov dword [ebp - 0xc4], ebx
jmp 0x508edf
and dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xc4]
imul eax, eax, 3
cmp byte [edi], 0x45
jne 0x508ef7
movzx eax, byte [eax + ecx + 0x598fb0]
jmp 0x508eff
movzx eax, byte [eax + ecx + 0x598fbc]
mov dword [ebp - 0xc8], eax
mov edi, dword [edi + 0xc]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
mov dword [ebp - 0xe4], edi
cmp eax, 2
jne 0x508f30
mov ax, word [edi + 0x1c]
mov ecx, 0xbf01
and ax, cx
or ax, bx
jmp 0x508b36
cdq
mov dword [edi], eax
mov ax, word [edi + 0x1c]
mov ecx, 0xbf04
and ax, cx
mov dword [edi + 4], edx
or ax, 4
jmp 0x508b36
mov ecx, dword [edi + 4]
mov edi, dword [edi + 8]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0xd4]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
test byte [ecx + 0x1c], 1
mov dword [ebp - 0xe4], edi
jne 0x508227
call fcn.00503aa7
or eax, edx
jne 0x508f7f
inc eax
jmp 0x508f81
xor eax, eax
cdq
push edx
push eax
mov esi, edi
call fcn.00503c95
pop ecx
jmp 0x508699
mov ecx, dword [edi + 4]
mov edi, dword [edi + 8]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0xd4]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
test byte [ecx + 0x1c], 1
mov dword [ebp - 0xe4], edi
jne 0x508227
call fcn.00503aa7
not eax
not edx
jmp 0x508f82
mov eax, dword [edi + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
xor ebx, ebx
inc ebx
test byte [eax + 0x1c], bl
je 0x508fdd
mov eax, dword [edi + 0xc]
jmp 0x50900e
call fcn.00503b00
fcomp qword [0x5c69d8]
fnstsw ax
test ah, 0x44
jnp 0x508ff7
mov dword [ebp - 0xc8], ebx
jmp 0x508ffe
and dword [ebp - 0xc8], 0
cmp byte [edi], 0x1b
jne 0x509014
xor eax, eax
cmp dword [ebp - 0xc8], eax
sete al
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jmp 0x508c30
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0xd4]
imul eax, eax, 0x28
test byte [eax + ecx + 0x1c], 1
jmp 0x508c30
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0xd4]
imul eax, eax, 0x28
test byte [eax + ecx + 0x1c], 1
jne case.0x507d9d.17
jmp 0x507db8
mov eax, dword [edi + 4]
mov dword [ebp - 0xb8], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xb4], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0xb0], ebx
push 0xa
pop ecx
lea edi, [ebp - 0x88]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ecx + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
mov edi, 0xbf01
mov dword [ebp - 0x8c], eax
mov dx, word [eax + 0x1c]
and dx, di
or dx, 1
mov word [eax + 0x1c], dx
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xac], ebx
mov edi, dword [eax + edx*4]
mov dword [ebp - 0xb0], edi
mov eax, dword [edi]
mov dword [ebp - 0xa8], eax
cmp eax, ebx
je 0x50916a
call fcn.00505e5e
mov dword [ebp - 0xcc], eax
cmp eax, ebx
jne 0x50cca5
mov edi, dword [ebp - 0xb0]
cmp byte [edi + 0x14], bl
je 0x5090f6
mov dword [ebp - 0xc8], ebx
jmp case.0x507d9d.17
mov eax, dword [edi + 0x4c]
cmp eax, dword [esi + 0x50]
jne 0x509115
mov eax, dword [edi + 0x50]
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0xac], eax
jmp 0x5091ad
cmp byte [edi + 0x17], 0
je 0x509140
mov eax, dword [ebp - 0xa8]
lea edi, [ebp - 0xc0]
call fcn.004ff2bb
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
jmp 0x50919f
mov edi, dword [ebp - 0xa8]
mov esi, edi
call fcn.004ff293
mov eax, dword [edi + 0x30]
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xd8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], ebx
jmp 0x5091ad
mov eax, dword [edi + 0x2c]
cmp eax, ebx
jle 0x5091a7
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
mov dword [ebp - 0x48], eax
mov edx, dword [eax + 0x18]
mov dword [ebp - 0xc8], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xac], eax
test byte [ecx + 3], 0x20
je 0x509199
xor eax, eax
jmp 0x50919c
mov eax, dword [esi + 0x50]
mov dword [edi + 0x4c], eax
mov edi, dword [ebp - 0xb0]
jmp 0x5091ad
mov dword [ebp - 0xc8], ebx
mov eax, dword [ebp - 0xc8]
cmp eax, ebx
je case.0x507d9d.17
mov ecx, dword [ebp - 0xd0]
cmp eax, dword [ecx + 0x48]
ja 0x50886f
mov ecx, dword [edi + 0x34]
mov dword [ebp - 0x9c], ecx
mov eax, dword [edi + 0x54]
mov dword [ebp - 0xa4], eax
mov edx, dword [edi + 0x4c]
cmp edx, dword [esi + 0x50]
jne 0x5091f2
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0xa0], ecx
jmp 0x50942b
lea eax, [eax + ecx*4]
mov dword [ebp - 0xa0], eax
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc8]
mov dword [eax + 0x50], ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [ebp - 0xb0]
mov dword [ecx + 0x4c], eax
mov eax, dword [ebp - 0xac]
cmp eax, ebx
je 0x509230
mov dword [ebp - 0x90], eax
jmp 0x509295
mov eax, dword [ebp - 0xb0]
cmp byte [eax + 0x17], 0
mov ecx, dword [ebp - 0xa8]
je 0x50924d
xor eax, eax
cmp byte [ecx + 0x43], 1
jne 0x50926a
push ebx
jmp 0x509257
xor eax, eax
cmp byte [ecx + 0x43], 1
jne 0x50926a
push 1
lea eax, [ebp - 0x4c]
push eax
mov esi, ecx
call fcn.004ff67a
mov esi, dword [ebp - 0xd8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x90], eax
cmp ecx, dword [ebp - 0x4c]
ja 0x50928c
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xac], eax
mov dword [ecx + 0x5c], eax
jmp 0x509295
mov eax, dword [ebp - 0xb0]
mov dword [eax + 0x5c], ebx
mov ecx, dword [ebp - 0x90]
mov al, byte [ecx]
cmp al, 0x80
jae 0x5092ac
movzx eax, al
mov dword [ebp - 0x58], eax
xor eax, eax
inc eax
jmp 0x5092b7
lea edi, [ebp - 0x58]
call fcn.004f5304
movzx eax, al
cmp dword [ebp - 0x58], 0x18003
movzx eax, al
mov dword [ebp - 0x50], eax
jbe 0x5092d0
push 0xf309
jmp 0x5095aa
mov ecx, dword [ebp - 0x9c]
imul ecx, ecx, 5
add ecx, 3
cmp ecx, dword [ebp - 0x58]
mov dword [ebp - 0x98], ecx
jle 0x5092f0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0xac], ebx
jne 0x509347
cmp dword [ebp - 0x4c], ecx
jge 0x509347
xor eax, eax
and dword [ebp - 0x78], eax
mov word [ebp - 0x6c], ax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax + 0x17]
push eax
mov ebx, ecx
mov ecx, dword [ebp - 0xa8]
push 0
lea eax, [ebp - 0x88]
call fcn.00504156
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
test eax, eax
jne case.0x507d9d.17
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x90], eax
jmp 0x50934d
mov eax, dword [ebp - 0x90]
add ecx, eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x50]
add eax, ecx
xor ecx, ecx
cmp dword [ebp - 0x9c], ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x94], ecx
jle 0x5093e5
jmp 0x50936f
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xa0]
jae 0x50947e
mov edx, dword [ebp - 0x58]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp - 0x60]
mov al, byte [ecx]
mov edx, dword [ebp - 0xa4]
cmp al, 0x80
jae 0x5093a4
mov ecx, dword [ebp - 0x94]
movzx eax, al
mov dword [edx + ecx*4], eax
xor eax, eax
inc eax
jmp 0x5093b5
mov eax, dword [ebp - 0x94]
lea edi, [edx + eax*4]
call fcn.004f5304
movzx eax, al
mov ecx, dword [ebp - 0x94]
movzx eax, al
add dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + ecx*4]
call fcn.00505fba
add dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x58], eax
jae 0x509488
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x88]
push eax
call fcn.00503a34
xor eax, eax
pop ecx
mov ecx, dword [ebp - 0x60]
inc eax
mov word [ebp - 0x6c], ax
cmp ecx, dword [ebp - 0x5c]
ja 0x5095a5
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0xc8]
ja 0x5095a5
cmp ecx, dword [ebp - 0x5c]
jne 0x509425
cmp eax, dword [ebp - 0xc8]
jne 0x5095a5
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xa0]
shl ecx, 2
cmp dword [edx + ecx], 0
je 0x50953b
cmp dword [ebp - 0xac], 0
je 0x5094a0
mov eax, dword [ebp - 0x8c]
call fcn.005039d6
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xa4]
shl eax, 2
push dword [ecx + eax]
mov ecx, dword [ebp - 0xa0]
mov ecx, dword [ecx + eax]
add ecx, dword [ebp - 0xac]
jmp 0x509518
and dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0x94]
inc ecx
cmp ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x94], ecx
jl 0x50936c
jmp 0x5093e5
mov eax, dword [eax + ecx]
call fcn.00505fba
mov ebx, dword [ebp - 0x8c]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x88]
call fcn.00503e0f
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax + 0x17]
mov ecx, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0x98]
push eax
mov eax, dword [ebp - 0xa0]
push dword [eax + ecx*4]
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0x88]
call fcn.00504156
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
test eax, eax
jne case.0x507d9d.17
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x90], ecx
push dword [eax + edx*4]
mov esi, dword [ebp - 0x8c]
call fcn.0050605f
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0xd8]
pop ecx
mov cl, byte [ebp - 0xec]
mov byte [eax + 0x1f], cl
jmp 0x50955c
mov eax, dword [ebp - 0xe8]
cmp byte [eax + 1], 0xf8
jne 0x50955c
mov ebx, dword [ebp - 0x8c]
push 0x800
push dword [eax + 0x10]
call fcn.00503d75
pop ecx
pop ecx
cmp dword [ebp - 0x64], 0
je 0x509598
mov eax, dword [ebp - 0x8c]
mov ecx, 0xe7ff
and word [eax + 0x1c], cx
mov eax, dword [ebp - 0x8c]
mov ecx, 0x200
or word [eax + 0x1c], cx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x8c]
call fcn.00503815
jmp 0x5095b0
push 0xf353
call fcn.0052df4d
pop ecx
mov dword [ebp - 0xcc], eax
jmp case.0x507d9d.17
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xc8], eax
mov edi, dword [edi + 4]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
jmp 0x509608
inc dword [ebp - 0xc8]
mov eax, 0x4000
test word [edi + 0x1c], ax
je 0x5095ea
mov eax, edi
call fcn.00503870
push dword [ebp - 0xec]
mov eax, edi
push dword [ebp - 0xc4]
call fcn.00507bb1
mov eax, dword [ebp - 0xc8]
pop ecx
pop ecx
add edi, 0x28
mov al, byte [eax]
mov byte [ebp - 0xc4], al
test al, al
jne 0x5095d2
inc dword [ebp - 0xc8]
jmp case.0x507d9d.17
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], ecx
mov eax, dword [edi + 4]
mov dword [ebp - 0x94], eax
imul eax, eax, 0x28
mov ecx, dword [edi + 0x10]
add eax, dword [ebp - 0xd4]
mov dword [ebp - 0x90], ecx
movzx ecx, byte [esi + 0x64]
mov ebx, eax
mov dword [ebp - 0x9c], ebx
mov eax, dword [edi + 8]
mov dword [ebp - 0x94], eax
imul eax, eax, 0x28
lea eax, [eax + ebx - 0x28]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x8c], ecx
mov edi, dword [edi + 0xc]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
cmp ebx, eax
mov dword [ebp - 0xe4], edi
jmp 0x509763
cmp dword [ebp - 0x90], 0
je 0x5096d6
push dword [ebp - 0xec]
mov eax, ebx
sub eax, dword [ebp - 0x9c]
push 0x28
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 0x90]
movzx eax, byte [eax + ecx]
push eax
mov eax, ebx
call fcn.00507bb1
mov ebx, dword [ebp - 0xc4]
pop ecx
pop ecx
mov eax, 0x4000
test word [ebx + 0x1c], ax
je 0x5096f4
cmp dword [ebx + 0x18], 0
jle 0x5096f4
mov eax, ebx
call fcn.00503870
mov ebx, dword [ebp - 0xc4]
push dword [ebp - 0x8c]
mov edx, ebx
call fcn.00505ef4
pop ecx
mov dword [ebp - 0xa0], eax
call fcn.00505fba
mov dword [ebp - 0x84], eax
cdq
add dword [ebp - 0xc0], eax
push 0
push dword [ebp - 0xa0]
adc dword [ebp - 0xbc], edx
call fcn.004f5366
add dword [ebp - 0xb8], eax
mov eax, 0x4000
pop ecx
pop ecx
test word [ebx + 0x1c], ax
je 0x50974a
mov eax, dword [ebx]
add dword [ebp - 0xa8], eax
jmp 0x50975a
cmp dword [ebp - 0x84], 0
je 0x50975a
and dword [ebp - 0xa8], 0
add ebx, 0x28
cmp ebx, dword [ebp - 0x98]
mov dword [ebp - 0xc4], ebx
jbe 0x50969f
mov eax, dword [ebp - 0xb8]
cdq
push edx
push eax
call fcn.004f5366
mov ebx, eax
add dword [ebp - 0xb8], ebx
mov eax, dword [ebp - 0xb8]
cdq
push edx
push eax
mov dword [ebp - 0xa4], ebx
call fcn.004f5366
add esp, 0x10
cmp ebx, eax
jge 0x5097a6
inc dword [ebp - 0xb8]
mov eax, dword [ebp - 0xb8]
cdq
mov ebx, eax
mov eax, dword [ebp - 0xa8]
mov ecx, edx
cdq
sub ebx, eax
mov eax, dword [ebp - 0xd0]
sbb ecx, edx
add ebx, dword [ebp - 0xc0]
adc ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ecx
mov eax, dword [eax + 0x48]
cdq
cmp ecx, edx
jg 0x50886f
jl 0x5097f0
cmp ebx, eax
ja 0x50886f
push 0
mov eax, ebx
call fcn.00503752
pop ecx
test eax, eax
jne 0x50cd2a
mov eax, dword [ebp - 0xb8]
mov ecx, dword [edi + 0x14]
mov ebx, 0x80
mov dword [ebp - 0xc8], ecx
cmp eax, ebx
jae 0x509821
mov byte [ecx], al
xor eax, eax
inc eax
jmp 0x509826
call fcn.004f5147
movzx eax, al
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
jmp 0x50988a
push dword [ebp - 0x8c]
mov edx, dword [ebp - 0xc4]
call fcn.00505ef4
mov edx, dword [ebp - 0x88]
pop ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xa0], eax
cmp eax, ebx
jae 0x50986d
mov byte [edx + ecx], al
xor eax, eax
inc eax
jmp 0x509874
add ecx, edx
call fcn.004f5147
movzx eax, al
add dword [ebp - 0x88], eax
add dword [ebp - 0xc4], 0x28
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x98]
jbe 0x50983d
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
jmp 0x5098de
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xb0]
push dword [ebp - 0x8c]
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0xc8]
lea ebx, [eax + ecx]
mov eax, dword [ebp - 0xc4]
call fcn.00505fcd
add dword [ebp - 0x88], eax
add dword [ebp - 0xc4], 0x28
mov eax, dword [ebp - 0xc4]
pop ecx
pop ecx
cmp eax, dword [ebp - 0x98]
jbe 0x5098a0
mov eax, dword [ebp - 0xb0]
and dword [edi + 0x20], 0
mov dword [edi + 0x18], eax
mov eax, 0x410
mov word [edi + 0x1c], ax
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x509911
mov dword [edi], eax
mov eax, 0x4410
mov word [edi + 0x1c], ax
mov byte [edi + 0x1f], 1
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
cmp eax, ecx
je 0x509944
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0050225e
pop ecx
mov dword [ebp - 0xcc], eax
jmp 0x509950
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xc8]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc4]
jmp 0x507ed0
mov eax, dword [edi + 4]
mov dword [ebp - 0xc8], eax
mov edi, dword [edi + 0x10]
mov dword [ebp - 0xc4], edi
cmp eax, ecx
jne 0x509a41
mov edx, dword [ebp - 0xd0]
cmp dword [edx + 0x90], ecx
jle 0x5099a0
push str.cannot_open_savepoint___SQL_statements_in_progress
push edx
lea edi, [esi + 0x5c]
call fcn.004f3283
pop ecx
pop ecx
jmp 0x509c7c
mov ecx, edi
call fcn.004f4983
mov dword [ebp - 0xc0], eax
add eax, 0x19
push eax
mov esi, edx
call fcn.004f311c
pop ecx
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x50852d
lea ecx, [eax + 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc0]
inc eax
push eax
push dword [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
push dword [eax]
call fcn.0054eea0
mov eax, esi
add esp, 0xc
cmp byte [eax + 0x1c], 0
je 0x5099ff
mov byte [eax + 0x1c], 0
mov byte [eax + 0x1dc], 1
jmp 0x509a05
inc dword [eax + 0x1d4]
mov esi, dword [ebp - 0xbc]
lea ecx, [eax + 0x1d0]
mov edx, dword [ecx]
mov dword [esi + 0x10], edx
mov edx, dword [ebp - 0xbc]
mov dword [ecx], edx
mov ecx, dword [eax + 0x1e0]
mov edx, dword [ebp - 0xbc]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0x1e4]
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 0xc], eax
jmp 0x50852d
mov ebx, dword [ebp - 0xd0]
mov dword [ebp - 0xb0], ecx
mov edi, dword [ebx + 0x1d0]
mov dword [ebp - 0xb8], edi
cmp edi, ecx
je 0x509a87
mov edx, dword [ebp - 0xc4]
mov ecx, dword [edi]
call fcn.004f4aa1
test eax, eax
je 0x509a81
inc dword [ebp - 0xb0]
mov edi, dword [edi + 0x10]
mov dword [ebp - 0xb8], edi
test edi, edi
jne 0x509a5d
xor eax, eax
cmp edi, eax
jne 0x509aad
push dword [ebp - 0xc4]
lea edi, [esi + 0x5c]
push str.no_such_savepoint:__s
push ebx
call fcn.004f3283
add esp, 0xc
mov dword [ebp - 0xcc], 1
jmp case.0x507d9d.17
cmp dword [ebx + 0x90], eax
jg 0x509c55
cmp dword [ebp - 0xc8], 2
jne 0x509acf
cmp dword [ebx + 0x8c], 1
jg 0x509c5e
cmp dword [edi + 0x10], eax
jne 0x509b32
cmp byte [ebx + 0x1dc], 0
je 0x509b32
xor ecx, ecx
inc ecx
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xc8], ecx
jne 0x509b38
push ecx
mov eax, esi
call fcn.005059b6
pop ecx
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x5088ed
mov edi, ebx
push esi
mov byte [edi + 0x1c], 1
call fcn.00505a08
pop ecx
push 5
pop ecx
cmp eax, ecx
je 0x50cbd8
mov byte [edi + 0x1dc], 0
mov eax, dword [esi + 0x58]
mov dword [ebp - 0xcc], eax
jmp 0x509bf2
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebx + 0x1d4]
sub ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xac], eax
dec ecx
mov dword [ebp - 0xb0], ecx
cmp dword [ebx + 4], eax
jle 0x509ba0
jmp 0x509b5e
mov ecx, dword [ebp - 0xb0]
push ecx
push dword [ebp - 0xc8]
mov ecx, ebx
mov ecx, dword [ecx + 8]
shl eax, 4
mov eax, dword [eax + ecx + 4]
call fcn.004ff111
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50cca5
mov eax, dword [ebp - 0xac]
inc eax
mov ecx, ebx
mov dword [ebp - 0xac], eax
cmp eax, dword [ecx + 4]
jl 0x509b58
mov edi, dword [ebp - 0xb8]
cmp dword [ebp - 0xc8], 2
jne 0x509bf8
test dword [ebx + 0xc], 0x200
je 0x509bf8
mov eax, ebx
call fcn.0050664a
xor eax, eax
call fcn.00513f6b
or dword [ebx + 0xc], 0x200
jmp 0x509bf2
mov eax, dword [ebx + 0x1d0]
mov dword [ebp - 0xb4], eax
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x1d0], eax
push dword [ebp - 0xb4]
push ebx
call fcn.004f2f5d
dec dword [ebx + 0x1d4]
pop ecx
pop ecx
mov edi, dword [ebp - 0xb8]
cmp dword [ebx + 0x1d0], edi
jne 0x509bc9
cmp dword [ebp - 0xc8], 1
jne 0x509c3e
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x1d0], eax
push dword [ebp - 0xb8]
push ebx
call fcn.004f2f5d
cmp dword [ebp - 0xe0], 0
pop ecx
pop ecx
jne case.0x507d9d.17
mov eax, dword [ebp - 0xd0]
dec dword [eax + 0x1d4]
jmp case.0x507d9d.17
mov eax, dword [edi + 8]
mov dword [ebx + 0x1e0], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x1e4], eax
jmp case.0x507d9d.17
cmp dword [ebp - 0xc8], 2
jne 0x509c65
mov eax, str.rollback
jmp 0x509c6a
mov eax, str.release
push eax
push str.cannot__s_savepoint___SQL_statements_in_progress
push ebx
lea edi, [esi + 0x5c]
call fcn.004f3283
add esp, 0xc
mov dword [ebp - 0xcc], 5
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov dword [ebp - 0xc8], eax
mov edx, dword [edi + 8]
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0xc4], edx
cmp eax, ecx
je 0x509cc9
cmp byte [edi + 0x1c], 0
jne 0x509cc9
xor ebx, ebx
inc ebx
mov dword [ebp - 0xc0], ebx
cmp edx, ecx
je 0x509cf1
cmp dword [edi + 0x8c], ebx
jle 0x509cd2
push str.cannot_rollback_transaction___SQL_statements_in_progress
jmp 0x509cfe
xor ebx, ebx
mov dword [ebp - 0xc0], ecx
inc ebx
movzx eax, byte [edi + 0x1c]
cmp dword [ebp - 0xc8], eax
jne 0x50cbf3
cmp dword [ebp - 0xc8], ecx
jne 0x509d04
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x509d12
cmp dword [edi + 0x90], ecx
jle 0x509cd2
push str.cannot_commit_transaction___SQL_statements_in_progress
push edi
jmp 0x509991
mov eax, str.cannot_rollback___no_transaction_is_active
cmp edx, ecx
jne 0x509d12
mov eax, str.cannot_commit___no_transaction_is_active
push eax
push edi
lea edi, [esi + 0x5c]
call fcn.004f3283
pop ecx
pop ecx
mov dword [ebp - 0xcc], ebx
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0xd0]
mov edx, dword [edx + 8]
shl eax, 4
mov eax, dword [eax + edx + 4]
mov dword [ebp - 0xc8], eax
cmp eax, ecx
je case.0x507d9d.17
push dword [edi + 8]
push eax
call fcn.004fe6de
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
push 5
pop eax
cmp dword [ebp - 0xcc], eax
je 0x50cc77
xor eax, eax
cmp dword [ebp - 0xcc], eax
jne 0x50cca5
cmp dword [edi + 8], eax
je case.0x507d9d.17
cmp byte [esi + 0x66], al
je case.0x507d9d.17
mov ecx, dword [ebp - 0xd0]
cmp byte [ecx + 0x1c], al
je 0x509da2
cmp dword [ecx + 0x8c], 1
jle case.0x507d9d.17
add esi, 0xd8
cmp dword [esi], eax
jne 0x509dc0
lea eax, [ecx + 0x1d8]
inc dword [eax]
mov eax, dword [eax]
mov ecx, dword [ecx + 0x1d4]
add ecx, eax
mov dword [esi], ecx
mov edi, dword [ebp - 0xc8]
mov ebx, dword [esi]
mov esi, dword [edi + 4]
call fcn.004fcb76
mov esi, dword [esi]
push ebx
call fcn.004fae04
mov esi, eax
pop ecx
mov eax, edi
call fcn.004fcbda
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx + 0x1e0]
mov eax, dword [ebp - 0xd8]
mov dword [eax + 0xd0], edx
mov ecx, dword [ecx + 0x1e4]
mov dword [ebp - 0xcc], esi
mov dword [eax + 0xd4], ecx
mov esi, eax
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov dword [ebp - 0xc4], eax
mov edi, dword [edi + 0xc]
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xc0], edi
mov ecx, dword [ecx + 8]
shl eax, 4
mov eax, dword [eax + ecx + 4]
push edi
call fcn.005021e2
mov eax, dword [ebp - 0xc8]
pop ecx
pop ecx
jmp 0x507ebb
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0xd0]
shl eax, 4
add eax, dword [ecx + 8]
mov dword [ebp - 0xc8], eax
mov esi, dword [edi + 0xc]
imul esi, esi, 0x28
add esi, dword [ebp - 0xd4]
call fcn.00503b9d
push dword [esi]
mov eax, dword [ebp - 0xc8]
push dword [edi + 8]
mov ebx, dword [eax + 4]
call fcn.00502210
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 8]
pop ecx
pop ecx
cmp eax, 1
jne 0x509eb4
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [ebp - 0xd0]
or dword [eax + 0xc], 0x200
jmp 0x509ec7
cmp eax, 2
jne 0x509ec7
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0xc]
mov cl, byte [esi]
mov byte [eax + 0x48], cl
cmp dword [edi + 4], 1
jne 0x50852d
mov eax, dword [ebp - 0xd0]
call fcn.0050664a
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x62], 0
jmp 0x509e0c
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0xd0]
mov edx, dword [edx + 8]
shl eax, 4
mov eax, dword [eax + edx + 4]
mov dword [ebp - 0xc4], eax
cmp eax, ecx
je 0x509f1a
lea ecx, [ebp - 0xc8]
push ecx
push 1
call fcn.005021e2
pop ecx
pop ecx
jmp 0x509f20
mov dword [ebp - 0xc8], ecx
mov eax, dword [ebp - 0xc8]
cmp eax, dword [edi + 8]
je case.0x507d9d.17
push dword [esi + 0x5c]
mov ebx, dword [ebp - 0xd0]
push ebx
call fcn.004f2f5d
push str.database_schema_has_changed
mov edx, ebx
call fcn.004f3216
mov dword [esi + 0x5c], eax
mov edi, dword [edi + 4]
mov ecx, dword [ebx + 8]
mov eax, edi
shl eax, 4
mov eax, dword [eax + ecx + 0xc]
mov eax, dword [eax]
add esp, 0xc
cmp eax, dword [ebp - 0xc8]
je 0x509f70
mov eax, edi
call fcn.00513f6b
mov eax, dword [ebp - 0xd0]
call fcn.0050664a
mov dword [ebp - 0xcc], 0x11
jmp case.0x507d9d.17
cmp byte [esi + 0x62], 0
je 0x509f9f
mov dword [ebp - 0xcc], 4
jmp case.0x507d9d.17
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], ecx
mov eax, dword [edi + 8]
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xbc], eax
shl eax, 4
add eax, dword [edx + 8]
mov dword [ebp - 0xac], eax
mov edx, dword [eax + 4]
mov dword [ebp - 0xb4], edx
cmp byte [edi], 0x27
jne 0x509ff7
mov dword [ebp - 0xb8], 1
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x48]
cmp al, byte [esi + 0x64]
jae 0x509ffd
mov byte [esi + 0x64], al
jmp 0x509ffd
mov dword [ebp - 0xb8], ecx
cmp byte [edi + 3], 0
je 0x50a036
mov eax, dword [ebp - 0xc0]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
mov esi, eax
call fcn.00503b9d
mov esi, dword [esi]
cmp esi, 2
mov dword [ebp - 0xc0], esi
jl 0x50cc8e
mov ecx, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xd8]
mov al, byte [edi + 1]
cmp al, 0xfa
jne 0x50a061
mov eax, dword [edi + 0x10]
mov ecx, dword [esi]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov cl, byte [ecx + 0x49]
mov byte [eax + 4], cl
mov eax, dword [ebp - 0xc4]
movzx ecx, word [eax + 6]
inc ecx
jmp 0x50a068
cmp al, 0xf2
jne 0x50a06e
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0xc8], ecx
mov edx, dword [edi + 4]
push 1
push dword [ebp - 0xbc]
mov eax, esi
push ecx
call fcn.00507a6f
add esp, 0xc
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x50cd2a
mov byte [eax + 0x14], 1
mov eax, dword [ebp - 0xb0]
mov byte [eax + 0x18], 1
push dword [ebp - 0xc4]
mov eax, dword [ebp - 0xb0]
push dword [ebp - 0xc0]
mov eax, dword [eax]
mov ebx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
call fcn.004ff176
mov edx, dword [ebp - 0xc4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xcc], eax
mov dword [ecx + 0x30], edx
cmp eax, 0x10
jne 0x50a0f1
mov eax, dword [ebp - 0xb0]
and dword [eax], 0
and dword [ebp - 0xcc], 0
cmp byte [edi + 1], 0xfa
mov ecx, dword [ebp - 0xb0]
setne al
mov byte [ecx + 0x16], al
mov eax, dword [ebp - 0xb0]
cmp byte [eax + 0x16], 0
sete cl
mov byte [eax + 0x17], cl
jmp case.0x507d9d.17
mov edx, dword [edi + 4]
push 1
push 0xffffffffffffffff
push dword [edi + 8]
mov eax, esi
call fcn.00507a6f
add esp, 0xc
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x50cd2a
mov byte [eax + 0x14], 1
movzx eax, byte [edi + 3]
mov ecx, dword [ebp - 0xc8]
push 0x41e
or eax, 9
push eax
push dword [ebp - 0xd0]
add ecx, 0x28
xor edx, edx
call fcn.004fdc4d
add esp, 0xc
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50a287
mov eax, dword [ebp - 0xc8]
push 1
push dword [eax + 0x28]
call fcn.004fe6de
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50a287
cmp dword [edi + 0x10], eax
je 0x50a20b
lea eax, [ebp - 0x10c]
push 2
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x28]
call fcn.00501eb6
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50a1ff
push dword [edi + 0x10]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ecx]
push dword [ebp - 0x10c]
mov ecx, dword [ecx + 0x28]
xor ebx, ebx
inc ebx
call fcn.004ff176
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x30], eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x30]
mov al, byte [eax + 0x49]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x16], 0
jmp 0x50a287
mov eax, dword [ebp - 0xc8]
mov edi, dword [eax + 0x28]
mov ebx, dword [eax]
call fcn.004fcb76
mov eax, dword [edi + 4]
cmp byte [eax + 0x10], 0
je 0x50a229
push 8
pop ebx
jmp 0x50a26a
xor edx, edx
cmp dword [eax + 0x30], edx
jne 0x50a234
push 0x10
jmp 0x50a226
or ecx, 0xffffffff
mov dword [ebx + 0x14], 1
mov word [ebx + 0x5c], cx
mov dword [ebx + 0x10], edx
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov byte [ebx + 0x40], 1
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
cmp ecx, edx
je 0x50a25b
mov dword [ecx + 0xc], ebx
mov dword [eax + 8], ebx
mov byte [ebx + 0x43], 0
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], edx
xor ebx, ebx
mov eax, edi
call fcn.004fcbda
mov eax, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xe8]
mov dword [ebp - 0xcc], ebx
mov byte [eax + 0x16], 1
cmp byte [edi + 3], 0x10
mov ecx, dword [ebp - 0xc8]
setne al
mov byte [ecx + 0x18], al
mov eax, dword [ebp - 0xc8]
jmp 0x50a107
mov edx, dword [edi + 4]
push 0
push 0xffffffffffffffff
push dword [edi + 0xc]
mov eax, esi
call fcn.00507a6f
add esp, 0xc
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x50cd2a
mov byte [eax + 0x14], 1
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x16], 1
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x17], 0
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + eax*4]
mov edi, esi
call fcn.00505339
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x34]
and dword [ecx + eax*4], 0
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc0], eax
cmp dword [eax], ecx
je 0x507db8
movzx ecx, byte [edi]
mov dword [ebp - 0xc4], ecx
mov byte [eax + 0x14], 0
mov ecx, dword [ebp - 0xc0]
cmp byte [ecx + 0x16], 0
je 0x50a518
mov esi, dword [edi + 0xc]
imul esi, esi, 0x28
add esi, dword [ebp - 0xd4]
call fcn.00507b37
mov ecx, esi
call fcn.00503aa7
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x94], edx
mov byte [eax + 0x11], 0
movzx eax, word [esi + 0x1c]
test al, 4
jne 0x50a4a4
test al, 8
jne 0x50a393
mov edi, dword [edi + 8]
dec edi
mov dword [ebp - 0xdc], edi
jmp 0x50852d
xor ebx, ebx
cmp dword [ebp - 0x98], ebx
jne 0x50a453
mov eax, SysReAllocString
cmp dword [ebp - 0x94], eax
jne 0x50a453
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], ebx
fild qword [ebp - 0x118]
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x41
je 0x50a3da
fldz
fcomp qword [esi + 8]
fnstsw ax
test ah, 5
jp 0x50a453
fldz
mov dword [ebp - 0xc8], 1
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x41
jne 0x50a40e
cmp dword [ebp - 0xc4], 0x2e
jl 0x50a384
mov eax, dword [ebp - 0xc0]
mov esi, dword [eax]
lea edi, [ebp - 0xc8]
call fcn.004ff902
jmp 0x50a42e
cmp dword [ebp - 0xc4], 0x2d
jg 0x50a384
mov eax, dword [ebp - 0xc0]
mov esi, dword [eax]
lea edi, [ebp - 0xc8]
call fcn.004ff927
mov dword [ebp - 0xcc], eax
cmp eax, ebx
jne 0x50cc9f
cmp dword [ebp - 0xc8], ebx
je 0x50852d
mov edi, dword [ebp - 0xe8]
jmp 0x50a384
cmp dword [ebp - 0xc4], 0x2c
je 0x50a485
cmp dword [ebp - 0xc4], 0x2e
je 0x50a485
fild qword [ebp - 0x98]
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x41
jne 0x50a4a6
add dword [ebp - 0x98], 0xffffffff
adc dword [ebp - 0x94], 0xffffffff
jmp 0x50a4a6
fild qword [ebp - 0x98]
fcomp qword [esi + 8]
fnstsw ax
test ah, 5
jp 0x50a4a6
add dword [ebp - 0x98], 1
adc dword [ebp - 0x94], ebx
jmp 0x50a4a6
xor ebx, ebx
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0xc0]
push ebx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push ebx
push dword [eax]
call fcn.004ff964
add esp, 0x18
mov dword [ebp - 0xcc], eax
cmp eax, ebx
jne 0x50cc9f
mov esi, dword [ebp - 0xd8]
cmp dword [ebp - 0xc8], ebx
jne 0x50a5a7
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc0]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc0]
mov dword [ecx + 0xc], eax
jmp 0x50a5a7
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0xb8], eax
mov ax, word [ebp - 0xa0]
mov word [ebp - 0xb4], ax
mov eax, dword [ebp - 0xc4]
and eax, 1
shl eax, 3
mov word [ebp - 0xb2], ax
mov eax, dword [edi + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
mov edx, 0x4000
mov dword [ebp - 0xa8], eax
test word [eax + 0x1c], dx
je 0x50a573
call fcn.00503870
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0xc8]
push eax
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xb8]
push eax
push dword [ecx]
call fcn.004ff964
add esp, 0x18
mov dword [ebp - 0xcc], eax
cmp eax, ebx
jne 0x50cca5
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x11], bl
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x4c], ebx
cmp dword [ebp - 0xc4], 0x2e
jl 0x50a5f4
cmp dword [ebp - 0xc8], ebx
jl 0x50a5de
jne 0x5090eb
cmp dword [ebp - 0xc4], 0x2f
jne 0x5090eb
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0xc0]
push dword [eax]
call fcn.004ffc43
jmp 0x50a634
cmp dword [ebp - 0xc8], ebx
jg 0x50a620
jne 0x50a607
cmp dword [ebp - 0xc4], 0x2c
je 0x50a620
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
xor ecx, ecx
cmp byte [eax + 0x43], 1
setne cl
mov dword [ebp - 0xc8], ecx
jmp 0x50a64e
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0xc0]
push dword [eax]
call fcn.004ffd52
pop ecx
mov dword [ebp - 0xcc], eax
pop ecx
cmp eax, ebx
jne 0x50cca5
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x11], 0
cmp dword [ebp - 0xc8], ebx
jmp 0x508c30
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc8], eax
cmp dword [eax], ecx
je case.0x507d9d.17
mov byte [eax + 0x14], 0
mov edi, dword [edi + 8]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
mov ecx, edi
call fcn.00503aa7
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x15], 1
jmp case.0x507d9d.17
mov edx, dword [esi + 0x34]
mov dword [ebp - 0xc8], ecx
mov eax, dword [edi + 4]
mov ebx, dword [edx + eax*4]
mov dword [ebp - 0xc4], ebx
mov eax, dword [edi + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
cmp dword [ebx], ecx
je 0x50a7b2
cmp dword [edi + 0x10], ecx
jle 0x50a712
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0xb8], ecx
mov cx, word [edi + 0x10]
mov dword [ebp - 0xa8], eax
push 0x10
pop eax
mov word [ebp - 0xb2], ax
lea eax, [ebp - 0xb8]
mov word [ebp - 0xb4], cx
mov dword [ebp - 0xbc], eax
jmp 0x50a746
push dword [eax + 0x14]
mov ebx, dword [ebx + 0x30]
push dword [eax + 0x18]
mov edx, 0x97
lea eax, [ebp - 0xa0]
call fcn.00506203
pop ecx
pop ecx
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x50cd2a
or word [eax + 6], 0x10
mov ebx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0xbc]
push dword [ebx]
call fcn.004ff964
xor ebx, ebx
add esp, 0x18
mov dword [ebp - 0xcc], eax
cmp dword [edi + 0x10], ebx
jne 0x50a780
mov esi, dword [ebp - 0xbc]
call fcn.0050631c
mov esi, dword [ebp - 0xd8]
cmp dword [ebp - 0xcc], ebx
jne case.0x507d9d.17
xor eax, eax
cmp dword [ebp - 0xc0], ebx
sete al
xor ecx, ecx
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x4c], ebx
cmp byte [edi], 0x32
jne 0x50a7c2
cmp dword [ebp - 0xc8], ecx
jmp 0x508c30
cmp dword [ebp - 0xc8], ecx
jmp 0x509047
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
imul ebx, ebx, 0x28
mov ecx, dword [esi + 0x34]
add ebx, dword [ebp - 0xd4]
mov dword [ebp - 0xb8], eax
mov eax, dword [edi + 4]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xc4], eax
and dword [eax + 0x48], 0
mov eax, dword [ebp - 0xc4]
and dword [eax + 0x4c], 0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
mov ecx, dword [eax + 0x30]
mov cx, word [ecx + 6]
xor edx, edx
mov word [ebp - 0xc8], dx
cmp dx, cx
mov edx, dword [ebp - 0xb8]
mov word [ebp - 0xbc], cx
jae 0x50a873
movzx ecx, word [ebp - 0xc8]
imul ecx, ecx, 0x28
test byte [ecx + edx + 0x1c], 1
jne 0x50a862
mov cx, word [ebp - 0xbc]
inc word [ebp - 0xc8]
cmp word [ebp - 0xc8], cx
jb 0x50a838
jmp 0x50a873
mov ecx, dword [edi + 8]
dec ecx
and dword [ebp - 0xc0], 0
mov dword [ebp - 0xdc], ecx
cmp dword [ebp - 0xc0], 0
je case.0x507d9d.17
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xbc]
inc eax
mov word [ebp - 0xac], ax
push 0x20
pop eax
mov esi, ebx
mov word [ebp - 0xaa], ax
mov dword [ebp - 0xa0], edx
call fcn.00503b9d
mov eax, dword [ebx]
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xc4]
add eax, 0x48
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0xc0]
call fcn.004ff964
add esp, 0x18
test byte [ebp - 0xaa], 0x20
mov dword [ebp - 0xcc], eax
jne 0x50a384
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x98]
jne 0x50a916
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0x94]
je 0x50a384
mov dword [ebx], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebx + 4], eax
jmp 0x50852d
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 4]
imul ebx, ebx, 0x28
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
add ebx, dword [ebp - 0xd4]
mov dword [ebp - 0xc8], eax
mov edx, dword [eax]
mov dword [ebp - 0xc4], edx
cmp edx, ecx
je 0x50a9f4
and dword [ebp - 0xc0], 0
mov eax, dword [ebx]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebx + 4]
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0xc0]
push ecx
push 0
push dword [ebp - 0xb4]
push eax
push 0
push edx
call fcn.004ff964
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebx]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xc8]
add esp, 0x18
cmp dword [ebp - 0xc0], 0
sete al
mov byte [ecx + 0x11], al
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 0xc8]
and dword [eax + 0x4c], 0
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x50a9e6
mov edi, dword [edi + 8]
dec edi
mov dword [ebp - 0xdc], edi
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x48], eax
jmp case.0x507d9d.17
mov edi, dword [edi + 8]
dec edi
mov dword [ebp - 0xdc], edi
mov dword [eax + 0x48], ecx
jmp case.0x507d9d.17
mov edx, dword [esi + 0x34]
mov eax, dword [edi + 4]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 0x38]
mov dword [ebx], edx
mov eax, dword [eax + 0x3c]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
add dword [eax + 0x38], 1
adc dword [eax + 0x3c], ecx
jmp case.0x507d9d.17
mov edx, dword [esi + 0x34]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xbc], ecx
mov eax, dword [edi + 4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc0], eax
cmp dword [eax], ecx
je 0x509950
mov dword [ebp - 0xb8], ecx
cmp byte [eax + 0x13], 0
jne 0x50ac1a
mov edx, dword [eax]
mov ebx, dword [edx + 0x18]
mov dword [ebp - 0xc8], ebx
mov edx, dword [edx + 0x1c]
or ebx, edx
mov dword [ebp - 0xc4], edx
jne 0x50ab16
mov esi, dword [eax]
lea edi, [ebp - 0xbc]
call fcn.004ff927
xor esi, esi
mov dword [ebp - 0xcc], eax
cmp eax, esi
jne 0x50cc9f
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0xbc], esi
je 0x50aac1
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xc4], esi
jmp 0x50ab08
mov eax, dword [eax]
lea edi, [ebp - 0xc8]
call fcn.004ff2bb
cmp dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0xcc], eax
jne 0x50aaf5
cmp dword [ebp - 0xc4], 0x7fffffff
jne 0x50aaf5
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x13], 1
jmp 0x50ab02
add dword [ebp - 0xc8], 1
adc dword [ebp - 0xc4], esi
mov eax, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xe8]
mov esi, dword [ebp - 0xd8]
xor ecx, ecx
mov edx, dword [edi + 0xc]
cmp edx, ecx
je 0x50abd8
mov esi, dword [esi + 0xdc]
cmp esi, ecx
je 0x50ab49
mov eax, esi
jmp 0x50ab31
mov eax, edx
mov dword [ebp - 0xb0], eax
mov edx, dword [eax + 0x3c]
cmp edx, ecx
jne 0x50ab2f
mov edi, dword [edi + 0xc]
imul edi, edi, 0x28
add edi, dword [eax + 0x10]
jmp 0x50ab54
imul edx, edx, 0x28
add edx, dword [ebp - 0xd4]
mov edi, edx
mov esi, edi
mov dword [ebp - 0xb4], edi
call fcn.00503b9d
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
cmp eax, 0xffffffff
jne 0x50ab7d
cmp ecx, 0x7fffffff
je 0x50cced
mov esi, dword [ebp - 0xc0]
cmp byte [esi + 0x13], 0
jne 0x50cced
mov esi, dword [ebp - 0xc4]
add eax, 1
adc ecx, 0
cmp esi, ecx
jg 0x50abb3
jl 0x50aba7
cmp dword [ebp - 0xc8], eax
jae 0x50abb3
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xd8]
mov dword [edx], eax
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc0]
xor ecx, ecx
mov edx, dword [ebp - 0xc4]
cmp edx, 0x7fffffff
jg 0x50abfc
mov edi, dword [ebp - 0xc8]
jl 0x50abf3
cmp edi, 0xffffffff
jae 0x50abfc
add edi, 1
adc edx, ecx
mov ecx, edx
jmp 0x50abfe
xor edi, edi
push ecx
mov ecx, dword [eax]
push edi
call fcn.004ff1e6
mov eax, dword [ebp - 0xc0]
add esp, 8
cmp byte [eax + 0x13], 0
je 0x50ad23
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
push 0
pop edi
and ecx, 0x3fffffff
add edx, 1
lea ebx, [ebp - 0xbc]
push ebx
push edi
adc ecx, edi
push ecx
push edx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xb8], edi
push edi
push dword [eax]
call fcn.004ff964
add esp, 0x18
mov dword [ebp - 0xcc], eax
cmp eax, edi
jne 0x50ad1d
cmp dword [ebp - 0xbc], edi
jne 0x50ad09
inc dword [ebp - 0xb8]
cmp dword [ebp - 0xb8], 0x64
jge 0x50ad09
lea eax, [ebp - 0xc8]
push eax
push 8
call fcn.004f43de
cmp dword [ebp - 0xb8], 5
pop ecx
pop ecx
jge 0x50acb3
and dword [ebp - 0xc8], 0xffffff
mov dword [ebp - 0xc4], edi
jmp 0x50acc9
mov eax, dword [ebp - 0xc8]
and dword [ebp - 0xc4], 0x3fffffff
mov dword [ebp - 0xc8], eax
add dword [ebp - 0xc8], 1
lea eax, [ebp - 0xbc]
push eax
adc dword [ebp - 0xc4], edi
mov eax, dword [ebp - 0xc0]
push edi
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
push edi
push dword [eax]
call fcn.004ff964
add esp, 0x18
mov dword [ebp - 0xcc], eax
cmp eax, edi
je 0x50ac69
cmp dword [ebp - 0xcc], edi
jne 0x50ad1d
cmp dword [ebp - 0xbc], edi
je 0x50ccf9
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xe4]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc0]
and dword [eax + 0x4c], 0
jmp 0x509950
mov ebx, dword [edi + 8]
mov edx, dword [esi + 0x34]
imul ebx, ebx, 0x28
add ebx, dword [ebp - 0xd4]
mov dword [ebp - 0xc8], ebx
mov eax, dword [edi + 4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xb8], eax
cmp byte [edi], 0x37
jne 0x50ad8b
mov edx, dword [edi + 0xc]
imul edx, edx, 0x28
add edx, dword [ebp - 0xd4]
mov dword [ebp - 0xc4], edx
mov eax, dword [edx]
mov dword [ebp - 0xc0], eax
mov edx, dword [edx + 4]
jmp 0x50ad95
mov eax, dword [edi + 0xc]
cdq
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
test byte [edi + 3], 1
je 0x50ada4
inc dword [esi + 0x6c]
test byte [edi + 3], 2
je 0x50adc2
mov edx, dword [ebp - 0xd0]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0xbc]
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0xc8]
test byte [ebx + 0x1c], 1
je 0x50adda
mov dword [ebx + 0x14], ecx
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x18], ecx
mov ebx, dword [ebp - 0xc8]
test byte [edi + 3], 0x10
je 0x50adf1
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xb0], eax
jmp 0x50adf7
mov dword [ebp - 0xb0], ecx
mov eax, 0x4000
test word [ebx + 0x1c], ax
je 0x50ae0c
mov eax, dword [ebx]
mov dword [ebp - 0xb4], eax
jmp 0x50ae12
mov dword [ebp - 0xb4], ecx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
xor ebx, ebx
push ebx
push ebx
call fcn.004ff1e6
push dword [ebp - 0xb0]
movzx eax, byte [edi + 3]
and eax, 8
push eax
push dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x18]
push dword [eax + 0x14]
mov eax, dword [ebp - 0xb8]
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
push ebx
mov ebx, dword [eax]
call fcn.00501910
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xcc], eax
xor eax, eax
mov byte [ecx + 0x11], al
mov ecx, dword [ebp - 0xb8]
mov byte [ecx + 0x15], al
mov ecx, dword [ebp - 0xb8]
add esp, 0x28
mov dword [ecx + 0x4c], eax
cmp dword [ebp - 0xcc], eax
jne case.0x507d9d.17
mov ecx, dword [ebp - 0xd0]
cmp dword [ecx + 0xb8], eax
je case.0x507d9d.17
cmp dword [edi + 0x10], eax
je case.0x507d9d.17
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push dword [ebp - 0xbc]
shl eax, 4
mov edx, dword [eax + edx]
push dword [ebp - 0xc0]
mov dword [ebp - 0xac], edx
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0xa8], ebx
mov al, byte [edi + 3]
and al, 4
movzx eax, al
neg eax
sbb eax, eax
push ebx
and eax, 5
add eax, 0x12
push edx
push eax
mov dword [ebp - 0xa4], eax
push dword [ecx + 0xb4]
call dword [ecx + 0xb8]
add esp, 0x18
jmp case.0x507d9d.17
mov edx, dword [esi + 0x34]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], ecx
mov eax, dword [edi + 4]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xc0], eax
cmp dword [edx + 0xb8], ecx
je 0x50af46
cmp dword [edi + 0x10], ecx
je 0x50af46
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc4], ecx
mov edi, eax
call fcn.00505e5e
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50cca5
push eax
push eax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call fcn.004ff1e6
mov eax, dword [ebp - 0xc0]
mov ebx, dword [eax]
add esp, 8
call fcn.00501ad6
mov ecx, dword [ebp - 0xc0]
and dword [ecx + 0x4c], 0
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50afd7
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 0xb8]
test edx, edx
je 0x50afd7
mov ecx, dword [ebp - 0xe8]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x50afd7
push dword [ebp - 0xc4]
mov edi, dword [eax + 8]
push dword [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx + 4]
shl ecx, 4
push dword [ecx + edi]
push 9
push dword [eax + 0xb4]
call edx
add esp, 0x18
mov eax, dword [ebp - 0xe8]
test byte [eax + 8], 1
je case.0x507d9d.17
inc dword [esi + 0x6c]
jmp case.0x507d9d.17
mov eax, dword [esi + 0x6c]
mov edx, dword [ebp - 0xd0]
add dword [edx + 0x40], eax
mov dword [edx + 0x3c], eax
mov dword [esi + 0x6c], ecx
jmp case.0x507d9d.17
mov ebx, dword [edi + 8]
mov eax, dword [edi + 4]
imul ebx, ebx, 0x28
mov ecx, dword [esi + 0x34]
mov edi, dword [ecx + eax*4]
add ebx, dword [ebp - 0xd4]
mov dword [ebp - 0xc8], edi
mov eax, dword [edi]
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xc4], eax
call fcn.00505e5e
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50cca5
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x17], 0
je 0x50b091
mov eax, dword [ebp - 0xc4]
lea edi, [ebp - 0xb8]
call fcn.004ff2bb
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0x48]
cdq
mov ecx, eax
mov eax, dword [ebp - 0xb4]
cmp eax, edx
jg 0x50886f
mov eax, dword [ebp - 0xb8]
jl 0x50b089
cmp eax, ecx
ja 0x50886f
mov dword [ebp - 0xc0], eax
jmp 0x50b0bc
mov edi, dword [ebp - 0xc4]
mov esi, edi
call fcn.004ff293
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xd8]
mov dword [ebp - 0xc0], eax
cmp eax, dword [ecx + 0x48]
ja 0x50886f
push 0
mov edi, ebx
call fcn.00503752
pop ecx
test eax, eax
jne 0x50cd2a
mov eax, dword [ebp - 0xc0]
mov dword [ebx + 0x18], eax
mov ax, word [ebx + 0x1c]
mov ecx, 0xbf10
and ax, cx
or ax, 0x10
mov word [ebx + 0x1c], ax
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x17], 0
je 0x50b112
mov eax, dword [ebx + 0x14]
push 0
push eax
push dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc4]
push 0
call fcn.004ff3c5
jmp 0x50b128
push dword [ebx + 0x14]
push dword [ebp - 0xc0]
push 0
push dword [ebp - 0xc4]
call fcn.004ff63f
mov dword [ebp - 0xcc], eax
add esp, 0x10
mov byte [ebx + 0x1f], 1
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov edi, dword [edx + eax*4]
mov dword [ebp - 0xc8], edi
cmp byte [edi + 0x14], 0
jne case.0x507d9d.10
cmp byte [edi + 0x15], 0
je 0x50b167
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 0x24]
jmp 0x50b1d4
cmp dword [edi + 0x40], ecx
je 0x50b1a9
mov eax, dword [edi + 0x40]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [eax]
lea ecx, [ebp - 0xc0]
push ecx
mov dword [ebp - 0xb4], eax
push dword [edi + 0x40]
call dword [eax + 0x30]
mov esi, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xd8]
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
call fcn.00507c10
mov esi, edi
jmp 0x50b1ef
call fcn.00505e5e
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50cca5
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x11], 0
je 0x50b1dc
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc0], ecx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xbc], eax
jmp 0x50b1ef
mov eax, dword [eax]
lea edi, [ebp - 0xc0]
call fcn.004ff2bb
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebx], eax
mov eax, dword [ebp - 0xbc]
jmp 0x507ed0
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc8], eax
mov byte [eax + 0x14], 1
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
cmp eax, ecx
je case.0x507d9d.17
mov esi, eax
call fcn.004fcf71
jmp 0x50852d
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc8], eax
mov edx, dword [eax]
mov dword [ebp - 0xc4], edx
cmp edx, ecx
jne 0x50b262
mov dword [ebp - 0xc0], 1
jmp 0x50b289
lea edi, [ebp - 0xc0]
mov esi, edx
call fcn.004ff927
mov edi, dword [ebp - 0xe8]
mov esi, dword [ebp - 0xd8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
mov dl, byte [ebp - 0xc0]
mov byte [eax + 0x14], dl
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x4c], ecx
mov edi, dword [edi + 8]
cmp edi, ecx
jle case.0x507d9d.17
cmp dword [ebp - 0xc0], ecx
je case.0x507d9d.17
jmp 0x507dbb
inc dword [esi + 0xb4]
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc0], 1
mov edx, dword [eax]
mov dword [ebp - 0xc4], edx
cmp edx, ecx
je 0x50b34e
lea edi, [ebp - 0xc0]
mov esi, edx
call fcn.004ff902
cmp dword [ebp - 0xc0], 0
mov ecx, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xe8]
mov esi, dword [ebp - 0xd8]
mov dword [ebp - 0xcc], eax
sete al
mov byte [ecx + 0x12], al
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc8]
and dword [eax + 0x4c], 0
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
mov dl, byte [ebp - 0xc0]
mov byte [eax + 0x14], dl
cmp dword [ebp - 0xc0], ecx
jmp 0x508c30
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0xe0]
test eax, eax
jne 0x50cd05
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc8], eax
cmp eax, ecx
je case.0x507d9d.17
mov edx, dword [eax]
mov dword [ebp - 0xc4], edx
cmp edx, ecx
jne 0x50b3a2
mov byte [eax + 0x14], 1
jmp case.0x507d9d.17
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 1
cmp byte [edi], 0x43
push eax
push edx
jne 0x50b3c0
call fcn.004ffc43
jmp 0x50b3c5
call fcn.004ffd52
pop ecx
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc8]
pop ecx
mov cl, byte [ebp - 0xc0]
mov byte [eax + 0x14], cl
mov eax, dword [ebp - 0xc8]
and dword [eax + 0x4c], 0
cmp dword [ebp - 0xc0], 0
jne 0x50b40c
mov eax, dword [edi + 8]
dec eax
mov dword [ebp - 0xdc], eax
mov al, byte [edi + 3]
test al, al
je 0x50b40c
movzx eax, al
lea eax, [esi + eax*4 + 0xac]
inc dword [eax]
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x11], 0
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0xc8], edx
mov ebx, dword [edi + 8]
mov eax, dword [edx]
imul ebx, ebx, 0x28
add ebx, dword [ebp - 0xd4]
mov dword [ebp - 0xc4], eax
cmp eax, ecx
je case.0x507d9d.17
mov eax, 0x4000
test word [ebx + 0x1c], ax
je 0x50b466
mov eax, ebx
call fcn.00503870
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
jmp 0x50b46c
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0xcc], 0
jne case.0x507d9d.17
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xc0], eax
mov ebx, dword [ebx + 0x14]
mov dword [ebp - 0xbc], ebx
test byte [edi + 3], 0x10
je 0x50b496
mov edx, dword [edx + 0x48]
jmp 0x50b498
xor edx, edx
push edx
push dword [edi + 0xc]
cdq
push 0
push 0
push 0x595071
push edx
push eax
push ebx
mov ebx, dword [ebp - 0xc4]
call fcn.00501910
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc8]
add esp, 0x20
and dword [eax + 0x4c], 0
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc8], eax
mov edx, dword [eax]
mov dword [ebp - 0xc4], edx
cmp edx, ecx
je case.0x507d9d.17
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xb8], eax
mov ax, word [edi + 0xc]
mov word [ebp - 0xb4], ax
xor eax, eax
mov word [ebp - 0xb2], ax
mov eax, dword [edi + 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
xor edi, edi
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xc0]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0xb8]
push eax
push edx
call fcn.004ff964
add esp, 0x18
mov dword [ebp - 0xcc], eax
cmp eax, edi
jne 0x50b559
cmp dword [ebp - 0xc0], edi
jne 0x50b559
mov ebx, dword [ebp - 0xc4]
call fcn.00501ad6
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x4c], edi
jmp case.0x507d9d.17
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc4], eax
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
xor eax, eax
inc eax
mov word [ebx + 0x1c], ax
cmp dword [ebp - 0xc8], ecx
je case.0x507d9d.17
mov edi, dword [ebp - 0xc4]
call fcn.00505e5e
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50cca5
mov eax, dword [ebp - 0xc4]
cmp byte [eax + 0x14], 0
jne case.0x507d9d.17
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0xc8]
call fcn.005064dc
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50cca5
mov eax, dword [ebp - 0xc0]
mov dword [ebx], eax
mov eax, dword [ebp - 0xbc]
push 4
mov dword [ebx + 4], eax
pop eax
jmp 0x507fb4
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc8], eax
cmp dword [eax], ecx
je case.0x507d9d.17
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc0], ecx
mov cx, word [edi + 0x10]
mov word [ebp - 0xbc], cx
cmp byte [edi + 3], 0
je 0x50b62a
push 0xc
jmp 0x50b62c
push 4
pop ecx
mov word [ebp - 0xba], cx
mov ecx, dword [edi + 0xc]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0xd4]
mov esi, eax
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
call fcn.005065bf
cmp byte [edi], 0x51
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
jne 0x50b670
neg dword [ebp - 0xc4]
jmp 0x50b676
inc dword [ebp - 0xc4]
cmp dword [ebp - 0xc4], 0
mov esi, dword [ebp - 0xd8]
jle case.0x507d9d.17
jmp 0x507db8
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xc4], ecx
mov eax, dword [eax + 0x88]
jmp 0x50b6bf
cmp dword [eax + 0x44], 0xbdf20da3
jne 0x50b6bc
cmp byte [eax + 0x65], 2
jae 0x50b6bc
cmp dword [eax + 0x54], ecx
jl 0x50b6bc
inc dword [ebp - 0xc4]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc0], eax
cmp eax, ecx
jne 0x50b6a2
xor eax, eax
inc eax
mov word [ebx + 0x1c], ax
cmp dword [ebp - 0xc4], eax
jle 0x50b6eb
mov dword [ebp - 0xcc], 6
mov byte [esi + 0x38], 2
jmp case.0x507d9d.17
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xbc], eax
mov ecx, dword [edi + 4]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx + 8]
shl eax, 4
mov edi, dword [eax + ecx + 4]
call fcn.004fcb76
lea eax, [ebp - 0xc8]
push eax
push dword [ebp - 0xe0]
push edi
call fcn.0050204e
mov dword [ebp - 0xe0], eax
add esp, 0xc
mov eax, edi
call fcn.004fcbda
mov ecx, dword [ebp - 0xe0]
push 4
pop eax
mov word [ebx + 0x1c], ax
mov eax, dword [ebp - 0xc8]
cdq
mov dword [ebp - 0xcc], ecx
mov dword [ebx], eax
mov dword [ebx + 4], edx
test ecx, ecx
jne case.0x507d9d.17
mov ebx, dword [ebp - 0xc8]
test ebx, ebx
je case.0x507d9d.17
mov eax, dword [ebp - 0xe8]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xd0]
shl eax, 4
add eax, dword [ecx + 8]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 0xc]
jmp 0x50b79a
mov edx, dword [ecx + 8]
cmp dword [edx + 0x14], ebx
jne 0x50b798
mov dword [edx + 0x14], edi
mov ecx, dword [ecx]
test ecx, ecx
jne 0x50b78d
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x50b7b3
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x14], ebx
jne 0x50b7b1
mov dword [ecx + 0x14], edi
mov eax, dword [eax]
test eax, eax
jne 0x50b7a6
mov byte [ebp - 0xf1], 1
jmp case.0x507d9d.17
and dword [ebp - 0xc8], 0
mov eax, dword [edi + 0xc]
neg eax
sbb eax, eax
lea ecx, [ebp - 0xc8]
and eax, ecx
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx + 8]
push eax
mov eax, dword [edi + 8]
push dword [edi + 4]
shl eax, 4
mov ebx, dword [eax + ecx + 4]
call fcn.00501ffd
cmp dword [edi + 0xc], 0
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
je case.0x507d9d.17
mov eax, dword [ebp - 0xc8]
add dword [esi + 0x6c], eax
mov edi, dword [edi + 0xc]
test edi, edi
jle case.0x507d9d.17
mov ecx, dword [ebp - 0xd4]
imul edi, edi, 0x28
add ecx, edi
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
jmp case.0x507d9d.17
and dword [ebp - 0xc8], 0
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0xd0]
shl eax, 4
add eax, dword [ecx + 8]
xor ecx, ecx
mov dword [ebp - 0xc0], eax
cmp byte [edi], 0x62
setne cl
inc ecx
mov dword [ebp - 0xc4], ecx
mov eax, dword [eax + 4]
push ecx
lea ecx, [ebp - 0xc8]
push ecx
call fcn.00501eb6
mov dword [ebp - 0xcc], eax
jmp 0x509e42
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0xd0]
push ebx
mov dword [ebp - 0xc8], eax
call fcn.004fcbef
cmp dword [edi + 8], 0
mov eax, dword [ebp - 0xc8]
pop ecx
jne 0x50b8af
mov edx, dword [ebx + 8]
mov ecx, eax
shl ecx, 4
mov ecx, dword [ecx + edx + 0xc]
test byte [ecx + 0x4a], 1
je 0x50b96f
mov dword [ebp - 0xc4], str.sqlite_temp_master
cmp eax, 1
je 0x50b8c8
mov dword [ebp - 0xc4], str.sqlite_master
mov dword [ebp - 0xbc], ebx
mov ecx, dword [edi + 4]
mov dword [ebp - 0xb8], ecx
add esi, 0x5c
mov dword [ebp - 0xb4], esi
push dword [edi + 0x10]
mov ecx, dword [ebx + 8]
push dword [ebp - 0xc4]
shl eax, 4
push dword [eax + ecx]
mov esi, ebx
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s_ORDER_BY_rowid
call fcn.004f40f7
add esp, 0x10
mov dword [ebp - 0xc0], eax
test eax, eax
jne 0x50b917
mov dword [ebp - 0xcc], 7
jmp 0x50b969
push 0
lea eax, [ebp - 0xbc]
push eax
mov esi, ebx
mov byte [esi + 0x7c], 1
and dword [ebp - 0xb0], 0
push fcn.0051e4b7
push dword [ebp - 0xc0]
push esi
call fcn.0051c413
add esp, 0x14
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50b957
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xc0]
push esi
call fcn.004f2f5d
pop ecx
pop ecx
mov byte [esi + 0x7c], 0
mov esi, dword [ebp - 0xd8]
mov edi, ebx
call fcn.004fcc78
cmp dword [ebp - 0xcc], 7
je 0x50cd2a
jmp case.0x507d9d.17
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0xd0]
call fcn.0051306f
jmp 0x5095b0
mov ecx, dword [edi + 0x10]
mov edi, dword [edi + 4]
mov ebx, dword [ebp - 0xd0]
shl edi, 4
add edi, dword [ebx + 8]
push 0
call fcn.004f4983
push eax
mov eax, dword [edi + 0xc]
add eax, 4
mov edi, ecx
call fcn.004f56d5
push eax
push ebx
call fcn.005140e1
add esp, 0x10
or dword [ebx + 0xc], 0x200
jmp case.0x507d9d.17
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0xd0]
call fcn.00513ef2
jmp case.0x507d9d.17
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0xd0]
call fcn.00523da7
jmp case.0x507d9d.17
mov eax, dword [edi + 8]
mov esi, dword [ebp - 0xd0]
mov dword [ebp - 0xc8], eax
lea eax, [eax*4 + 4]
push eax
call fcn.004f311c
xor ebx, ebx
pop ecx
mov dword [ebp - 0xc4], eax
cmp eax, ebx
je 0x50cd24
mov eax, dword [edi + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
xor ecx, ecx
mov dword [ebp - 0xb4], eax
mov esi, dword [edi + 4]
imul esi, esi, 0x28
add esi, dword [ebp - 0xd4]
cmp dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc0], ecx
jle 0x50ba8d
imul ecx, ecx, 0x28
add ecx, esi
call fcn.00503aa7
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc4]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0xc0]
inc ecx
cmp ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xc0], ecx
jl 0x50ba5f
mov eax, dword [ebp - 0xc4]
mov dword [eax + ecx*4], ebx
mov eax, dword [ebp - 0xb4]
push dword [eax]
movzx eax, byte [edi + 3]
push dword [ebp - 0xc8]
mov edi, dword [ebp - 0xd0]
mov ecx, dword [edi + 8]
push dword [ebp - 0xc4]
shl eax, 4
mov ecx, dword [eax + ecx + 4]
lea edx, [ebp - 0xbc]
call fcn.00502cc2
add esp, 0xc
push dword [ebp - 0xc4]
mov dword [ebp - 0xb8], eax
push edi
call fcn.004f2f5d
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb4]
cdq
sub dword [ecx], eax
mov eax, dword [ebp - 0xb4]
push esi
sbb dword [eax + 4], edx
call fcn.00503c26
add esp, 0xc
cmp dword [ebp - 0xbc], ebx
je 0x50bb2c
cmp dword [ebp - 0xb8], ebx
je 0x50cd24
push 1
push dword [ebp - 0xb8]
mov eax, fcn.004f2f02
or ecx, 0xffffffff
mov edx, esi
call fcn.00503e33
pop ecx
pop ecx
movzx eax, byte [ebp - 0xec]
push eax
mov eax, esi
call fcn.00503732
jmp 0x508699
mov ebx, dword [edi + 4]
mov edi, dword [edi + 8]
imul ebx, ebx, 0x28
add ebx, dword [ebp - 0xd4]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
test byte [ebx + 0x1c], 0x20
mov dword [ebp - 0xe0], edi
jne 0x50bb7b
mov edi, ebx
call fcn.00503cee
test byte [ebx + 0x1c], 0x20
je 0x50cd2a
mov edi, dword [ebp - 0xe0]
push dword [edi + 4]
push dword [edi]
mov edi, dword [ebx]
call fcn.004f7e28
jmp 0x508005
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0xe0]
test eax, eax
jne 0x50cd05
mov ebx, dword [edi + 4]
imul ebx, ebx, 0x28
add ebx, dword [ebp - 0xd4]
test byte [ebx + 0x1c], 0x20
je 0x50bc0e
mov eax, dword [ebx]
mov dword [ebp - 0xe0], eax
call fcn.004f8059
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x50bc0e
mov edx, dword [ecx]
mov dword [ebp - 0xc8], edx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
test ecx, ecx
jne 0x50bbf1
mov esi, eax
call fcn.004f7df6
mov esi, dword [edi + 0xc]
push dword [ebp - 0xc4]
imul esi, esi, 0x28
push dword [ebp - 0xc8]
add esi, dword [ebp - 0xd4]
jmp 0x508f86
push ebx
call fcn.00503c26
pop ecx
jmp 0x507db8
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 4]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
imul ebx, ebx, 0x28
add ebx, dword [ebp - 0xd4]
mov dword [ebp - 0xe0], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xc8], eax
test byte [ebx + 0x1c], 0x20
mov dword [ebp - 0xf0], ebx
jne 0x50bc6a
mov edi, ebx
call fcn.00503cee
test byte [ebx + 0x1c], 0x20
je 0x50cd2a
mov eax, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xe8]
test eax, eax
je 0x50bcb2
jl 0x50bc75
and eax, 0xf
jmp 0x50bc7a
mov eax, 0xff
mov ecx, dword [ebp - 0xe0]
push dword [ecx + 4]
mov bl, al
mov eax, dword [ebp - 0xf0]
push dword [ecx]
mov eax, dword [eax]
call fcn.004f8099
pop ecx
pop ecx
mov dword [ebp - 0xc4], eax
test eax, eax
jne 0x507db8
mov eax, dword [ebp - 0xc8]
test eax, eax
jl case.0x507d9d.17
mov eax, dword [ebp - 0xe0]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0xf0]
mov edi, dword [eax]
jmp 0x50bb82
mov edx, dword [edi + 0x10]
mov dword [ebp - 0xb0], edx
mov eax, dword [edi + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc0], eax
cmp byte [edi + 3], 0
je 0x50bd1e
mov edi, dword [esi + 0xdc]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb4], edi
cmp edi, ecx
je 0x50bd1e
cmp dword [edi + 0x20], ebx
je 0x50bd16
mov edi, dword [edi + 0x3c]
mov dword [ebp - 0xb4], edi
cmp edi, ecx
jne 0x50bd04
cmp edi, ecx
jne case.0x507d9d.17
mov ecx, dword [esi + 0xe0]
mov edi, dword [ebp - 0xd0]
cmp ecx, dword [edi + 0x70]
jl 0x50bd4c
push str.too_many_levels_of_trigger_recursion
push edi
lea edi, [esi + 0x5c]
mov dword [ebp - 0xcc], 1
call fcn.004f3283
jmp 0x508005
test byte [eax + 0x1c], 0x40
jne 0x50be9b
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
mov dword [ebp - 0xc8], eax
imul eax, eax, 0xa
add eax, dword [edx + 0xc]
lea eax, [eax*4 + 0x40]
mov dword [ebp - 0xc4], eax
push eax
mov eax, edi
call fcn.004f30f6
pop ecx
mov dword [ebp - 0xb4], eax
test eax, eax
je 0x50cd2a
push dword [ebp - 0xc0]
call fcn.00503a34
pop ecx
mov ecx, dword [ebp - 0xc0]
push 0x40
pop eax
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc0]
mov dword [ecx], eax
mov eax, dword [ebp - 0xb4]
mov dword [eax], esi
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc8]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xdc]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x4c]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x18], eax
mov ax, word [esi + 0x32]
mov ecx, dword [ebp - 0xb4]
mov word [ecx + 0x1c], ax
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x24]
imul ecx, ecx, 0x28
lea edx, [ecx + eax + 0x40]
lea ecx, [eax + 0x40]
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xbc], ecx
cmp ecx, edx
je 0x50bea3
xor eax, eax
inc eax
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0xbc]
mov ecx, edi
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0xbc]
add ecx, 0x28
mov dword [ebp - 0xbc], ecx
cmp ecx, dword [ebp - 0xb8]
jne 0x50be6a
mov eax, dword [ebp - 0xb4]
jmp 0x50bea3
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
inc dword [esi + 0xe0]
mov ecx, dword [esi + 0xdc]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 0xb4]
mov eax, edi
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x34], eax
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0xb4]
and dword [esi + 0x6c], 0
lea ecx, [eax + 0x18]
mov dword [esi + 0xdc], eax
mov dword [esi + 0x4c], ecx
mov edx, dword [eax + 0x24]
mov dword [esi + 0x48], edx
mov ax, word [eax + 0x28]
mov word [esi + 0x32], ax
mov eax, edx
inc eax
imul eax, eax, 0x28
add eax, ecx
or dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [esi + 0x34], eax
mov eax, dword [ecx]
mov dword [ebp - 0x104], eax
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0xc], eax
jmp case.0x507d9d.17
mov ecx, dword [esi + 0xdc]
mov dword [ebp - 0xc8], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
imul eax, eax, 0x14
mov eax, dword [eax + edx + 4]
add eax, dword [edi + 4]
push 0x1000
imul eax, eax, 0x28
add eax, dword [ecx + 0x10]
mov dword [ebp - 0xc4], eax
push eax
jmp 0x507ffa
mov eax, dword [edi + 8]
cdq
cmp dword [edi + 4], ecx
je 0x50bf7d
mov ecx, dword [ebp - 0xd0]
add ecx, 0x1e0
jmp 0x50b827
lea ecx, [esi + 0xc8]
jmp 0x50b827
cmp dword [edi + 4], ecx
je 0x50bfa4
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x1e0]
or ecx, dword [eax + 0x1e4]
jmp 0x509047
mov eax, dword [esi + 0xc8]
or eax, dword [esi + 0xcc]
jmp 0x509047
mov esi, dword [esi + 0xdc]
cmp esi, ecx
je 0x50bfdd
mov eax, esi
jmp 0x50bfc5
mov eax, edx
mov dword [ebp - 0xc4], eax
mov edx, dword [eax + 0x3c]
cmp edx, ecx
jne 0x50bfc3
mov esi, dword [edi + 4]
imul esi, esi, 0x28
add esi, dword [eax + 0x10]
jmp 0x50bfe9
mov esi, dword [edi + 4]
imul esi, esi, 0x28
add esi, dword [ebp - 0xd4]
mov dword [ebp - 0xc8], esi
call fcn.00503b9d
mov edi, dword [edi + 8]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
mov esi, edi
call fcn.00503b9d
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edi]
mov edi, dword [edi + 4]
mov edx, dword [eax + 4]
cmp edx, edi
jg 0x50852d
jl 0x50c029
mov edx, dword [eax]
cmp edx, ecx
jae 0x50852d
mov dword [eax], ecx
mov eax, dword [ebp - 0xc8]
mov dword [eax + 4], edi
jmp 0x50852d
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0xd4]
imul eax, eax, 0x28
cmp dword [eax + edx + 4], ecx
jl case.0x507d9d.17
jg 0x507db8
cmp dword [eax + edx], ecx
jbe case.0x507d9d.17
jmp 0x507db8
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0xd4]
imul eax, eax, 0x28
cmp dword [eax + edx + 4], ecx
jg case.0x507d9d.17
jl 0x507db8
cmp dword [eax + edx], ecx
jae case.0x507d9d.17
jmp 0x507db8
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0xd4]
cdq
add dword [ecx], eax
mov eax, dword [ecx]
adc dword [ecx + 4], edx
or eax, dword [ecx + 4]
jmp 0x509047
movzx edx, byte [edi + 3]
mov ebx, dword [esi + 0x24]
mov dword [ebp - 0xc8], edx
mov eax, dword [edi + 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
cmp edx, ecx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0xc4], ecx
jle 0x50c112
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0xc4]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0xbc]
call fcn.00507a44
inc dword [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc4]
add eax, 0x28
cmp ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xbc], eax
jl 0x50c0d8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xb8], eax
mov eax, dword [edi + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
xor ebx, ebx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x88], eax
inc dword [eax + 0x18]
xor eax, eax
inc eax
mov word [ebp - 0x94], ax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
test byte [eax + 3], 8
je 0x50c17b
mov ecx, dword [edi - 4]
mov dword [ebp - 0x80], ecx
push dword [ebp - 0x78]
lea ecx, [ebp - 0xb8]
push dword [ebp - 0xc8]
push ecx
call dword [eax + 0x10]
add esp, 0xc
cmp dword [ebp - 0x84], ebx
je 0x50c1c9
lea eax, [ebp - 0xb0]
push eax
call fcn.0050686b
pop ecx
push eax
push 0x5c18ac
push dword [ebp - 0xd0]
lea edi, [esi + 0x5c]
call fcn.004f3283
mov eax, dword [ebp - 0x84]
add esp, 0xc
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00503a34
jmp 0x508006
mov ecx, dword [edi + 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xc8], ecx
mov eax, dword [edi + 0x10]
call fcn.00503979
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x50c221
push dword [ebp - 0xc8]
call fcn.0050686b
pop ecx
push eax
push 0x5c18ac
push dword [ebp - 0xd0]
lea edi, [esi + 0x5c]
call fcn.004f3283
add esp, 0xc
movzx eax, byte [ebp - 0xec]
push eax
mov eax, dword [ebp - 0xc8]
call fcn.00503732
pop ecx
mov ecx, dword [ebp - 0xc8]
jmp 0x508862
push dword [edi + 4]
mov ebx, dword [ebp - 0xd0]
call fcn.0052d765
jmp 0x5095af
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xc0], eax
cmp dword [esi + 0x80], ecx
jne 0x50c27d
mov ecx, dword [edi + 4]
mov edx, esi
call fcn.00504d58
mov edi, esi
call fcn.00505983
mov edi, dword [ebp - 0xe8]
xor ecx, ecx
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0xd0]
mov edi, dword [edx + 8]
shl eax, 4
cmp dword [ebp - 0xc0], 0xffffffff
mov eax, dword [eax + edi + 4]
mov dword [ebp - 0xc8], eax
mov eax, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0xc4], edi
movzx eax, byte [edi + 5]
mov dword [ebp - 0xbc], eax
jne 0x50c2ba
mov dword [ebp - 0xc0], eax
cmp byte [edi + 0xe], 3
jae 0x50c2d3
mov ebx, dword [edi + 0x40]
cmp dword [ebx], ecx
je 0x50c2d9
cmp dword [edi + 0x4c], ecx
jl 0x50c2d9
jg 0x50c2d3
cmp dword [edi + 0x48], ecx
jbe 0x50c2d9
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 5
mov eax, dword [edi + 0x90]
mov dword [ebp - 0xb8], eax
jne 0x50c30e
cmp byte [eax], 0
je 0x50c302
mov eax, dword [edi + 0x3c]
mov eax, dword [eax]
cmp dword [eax], 2
jl 0x50c302
cmp dword [eax + 0x34], ecx
jne 0x50c30e
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xc0], eax
je 0x50c3ba
push 5
pop ebx
cmp eax, ebx
je 0x50c333
cmp dword [ebp - 0xc0], ebx
jne 0x50c3ba
cmp byte [edx + 0x1c], 0
je 0x50c40f
cmp dword [edx + 0x8c], 1
jg 0x50c40f
cmp dword [ebp - 0xbc], ebx
jne 0x50c371
mov eax, edi
call fcn.004fb1cc
mov edi, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x50c3c2
mov ecx, dword [ebp - 0xc0]
jmp 0x50c37d
cmp dword [ebp - 0xbc], 4
jne 0x50c38a
push 2
pop ecx
call fcn.004fb0c0
mov edi, dword [ebp - 0xc4]
xor ecx, ecx
cmp dword [ebp - 0xcc], ecx
jne 0x50c3c2
push dword [ebp - 0xc8]
xor eax, eax
cmp dword [ebp - 0xc0], ebx
sete al
inc eax
mov ebx, eax
call fcn.00503071
mov edi, dword [ebp - 0xc4]
pop ecx
mov dword [ebp - 0xcc], eax
xor ecx, ecx
cmp dword [ebp - 0xcc], ecx
je 0x50c3ce
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
call fcn.004fb0c0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xe8]
mov edx, dword [eax + 8]
imul edx, edx, 0x28
add edx, dword [ebp - 0xd4]
mov eax, 0xa02
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe4], edx
cmp eax, 6
jne 0x50c442
xor ecx, ecx
jmp 0x50c449
mov dword [ebp - 0xcc], 1
mov eax, str.into
cmp dword [ebp - 0xc0], ebx
je 0x50c42b
mov eax, str.out_of
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push edx
lea edi, [esi + 0x5c]
call fcn.004f3283
add esp, 0xc
jmp case.0x507d9d.17
mov ecx, dword [eax*4 + 0x599410]
mov dword [edx + 0x14], ecx
call fcn.004f4983
mov dword [edx + 0x18], eax
movzx eax, byte [ebp - 0xec]
push eax
mov eax, edx
mov byte [edx + 0x1f], 1
call fcn.00503732
jmp 0x508006
lea eax, [esi + 0x5c]
push eax
mov eax, dword [ebp - 0xd0]
call fcn.005252c8
jmp 0x5095af
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx + 8]
shl eax, 4
mov eax, dword [eax + ecx + 4]
mov dword [ebp - 0xc8], eax
call fcn.004fed38
mov dword [ebp - 0xcc], eax
cmp eax, 0x65
jne case.0x507d9d.17
mov edi, dword [edi + 8]
dec edi
and dword [ebp - 0xcc], 0
mov dword [ebp - 0xdc], edi
jmp case.0x507d9d.17
cmp dword [edi + 4], ecx
jne 0x50c4d8
mov eax, dword [ebp - 0xd0]
call fcn.0050664a
jmp case.0x507d9d.17
mov byte [esi + 0x62], 1
jmp case.0x507d9d.17
mov al, byte [edi + 0xc]
test al, al
jne 0x50c4fb
mov ecx, dword [ebp - 0xd0]
test dword [ecx + 0xc], 0x80000
jne case.0x507d9d.17
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0xd0]
mov ebx, dword [ecx + 8]
mov ecx, dword [edi + 8]
shl edx, 4
mov edx, dword [edx + ebx + 4]
call fcn.00502fe0
mov dword [ebp - 0xcc], eax
cmp al, 6
jne case.0x507d9d.17
push dword [edi + 0x10]
push str.database_table_is_locked:__s
push dword [ebp - 0xd0]
jmp 0x50c432
mov edi, dword [edi + 0x10]
push dword [ebp - 0xd0]
mov ebx, edi
mov dword [ebp - 0xc8], edi
call fcn.0052608a
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc8]
pop ecx
test eax, eax
je case.0x507d9d.17
mov esi, dword [eax + 8]
mov edi, dword [ebp - 0xd8]
call fcn.00507c10
mov esi, edi
jmp case.0x507d9d.17
mov ebx, dword [ebp - 0xd0]
lea eax, [esi + 0x5c]
push eax
push dword [edi + 0x10]
mov eax, dword [edi + 4]
call fcn.00525d85
pop ecx
jmp 0x5095af
mov ecx, dword [ebp - 0xd0]
mov byte [esi + 0x65], 2
push dword [edi + 0x10]
mov eax, dword [edi + 4]
call fcn.00525f57
pop ecx
mov dword [ebp - 0xcc], eax
mov byte [esi + 0x65], 0
jmp case.0x507d9d.17
xor ebx, ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 8]
lea edx, [ebp - 0xc4]
mov dword [ebp - 0xc0], eax
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0xbc], ecx
call dword [ecx + 0x18]
mov esi, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xd8]
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
call fcn.00507c10
cmp dword [ebp - 0xcc], ebx
jne 0x50852d
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xe8]
mov edx, dword [eax + 4]
push ebx
push 0xffffffffffffffff
push ebx
mov eax, edi
call fcn.00507a6f
add esp, 0xc
mov dword [ebp - 0xc8], eax
cmp eax, ebx
je 0x50c659
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 0x40], ecx
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x44], eax
jmp 0x50c570
mov eax, dword [ebp - 0xd0]
mov byte [eax + 0x1e], 1
push dword [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
call dword [eax + 0x1c]
pop ecx
jmp 0x50c570
mov eax, dword [edi + 0xc]
mov ebx, dword [esi + 0x34]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
mov dword [ebp - 0xbc], eax
lea edx, [eax + 0x28]
mov dword [ebp - 0xb8], edx
mov edx, dword [edi + 4]
mov edx, dword [ebx + edx*4]
mov dword [ebp - 0xac], edx
mov edx, dword [edx + 0x40]
mov dword [ebp - 0xb4], edx
mov ebx, dword [edx]
mov dword [ebp - 0xb0], ebx
mov ebx, dword [ebx]
mov dword [ebp - 0xc0], ebx
mov ebx, dword [ebp - 0xb8]
mov ebx, dword [ebx]
cmp ebx, ecx
mov dword [ebp - 0xc8], ebx
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], ecx
jle 0x50c72e
mov edx, dword [ebp - 0xa0]
lea eax, [ecx + 1]
imul eax, eax, 0x28
add eax, dword [ebp - 0xb8]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa0]
mov ecx, dword [ecx + eax*4]
call fcn.00507a44
mov ecx, dword [ebp - 0xa4]
inc ecx
cmp ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xa4], ecx
jl 0x50c6ea
mov edx, dword [ebp - 0xb4]
push dword [ebp - 0xa0]
mov eax, dword [ebp - 0xc0]
push dword [ebp - 0xc8]
mov byte [esi + 0x65], 1
push dword [edi + 0x10]
push dword [ebp - 0xc4]
push edx
call dword [eax + 0x20]
mov edi, dword [ebp - 0xd8]
mov byte [esi + 0x65], 0
mov esi, dword [ebp - 0xb0]
add esp, 0x14
mov dword [ebp - 0xcc], eax
call fcn.00507c10
cmp dword [ebp - 0xcc], 0
jne 0x50c78e
push dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc0]
call dword [eax + 0x28]
pop ecx
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x50c7a7
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 8]
dec eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xac]
mov byte [eax + 0x14], 0
jmp 0x50c570
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + eax*4]
mov eax, dword [edi + 0xc]
imul eax, eax, 0x28
add eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xc0], eax
cmp byte [ecx + 0x14], 0
jne 0x508942
mov esi, ecx
mov eax, dword [esi + 0x40]
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
mov eax, dword [eax]
push 0x40
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.0054ff70
mov ebx, dword [ebp - 0xc0]
add esp, 0xc
lea eax, [ebp - 0xb0]
call fcn.00503e0f
mov eax, dword [ebp - 0x94]
and eax, 0xbf01
or eax, 1
mov word [ebp - 0x94], ax
push dword [edi + 8]
lea eax, [ebp - 0xb8]
push eax
push dword [esi + 0x40]
mov eax, dword [ebp - 0xc4]
call dword [eax + 0x2c]
mov esi, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xd8]
add esp, 0xc
mov dword [ebp - 0xcc], eax
call fcn.00507c10
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x50c86f
mov dword [ebp - 0xcc], eax
movzx eax, byte [ebp - 0xec]
push eax
lea eax, [ebp - 0xb0]
call fcn.00503732
mov eax, dword [ebp - 0xc0]
pop ecx
lea ebx, [ebp - 0xb0]
call fcn.00503e0f
mov ecx, dword [ebp - 0xc0]
call fcn.00503d4e
mov esi, edi
jmp 0x508867
mov dword [ebp - 0xc0], ecx
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xbc], eax
cmp byte [eax + 0x14], 0
jne case.0x507d9d.17
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0xc4], ecx
mov byte [esi + 0x65], 1
push dword [eax + 0x40]
call dword [ecx + 0x24]
mov edi, dword [ebp - 0xd8]
mov byte [esi + 0x65], 0
mov esi, dword [ebp - 0xc8]
pop ecx
mov dword [ebp - 0xcc], eax
call fcn.00507c10
cmp dword [ebp - 0xcc], 0
jne 0x50c920
mov eax, dword [ebp - 0xbc]
push dword [eax + 0x40]
mov eax, dword [ebp - 0xc4]
call dword [eax + 0x28]
pop ecx
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x50852d
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 8]
dec eax
mov dword [ebp - 0xdc], eax
jmp 0x50c570
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc8], eax
mov edi, dword [edi + 4]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
mov dword [ebp - 0xc4], edi
push dword [edi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
mov esi, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xd8]
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
call fcn.00507c10
mov byte [edi + 0x62], 0
jmp 0x50c570
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0xc8], edx
mov eax, dword [edx]
mov dword [ebp - 0xc4], eax
mov ebx, dword [edi + 8]
mov dword [ebp - 0xc0], ebx
cmp dword [eax + 0x34], ecx
je case.0x507d9d.17
mov esi, dword [esi + 0x24]
mov dword [ebp - 0xb0], esi
mov edi, dword [edi + 0xc]
imul edi, edi, 0x28
add edi, dword [ebp - 0xd4]
cmp ebx, ecx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xbc], ecx
jle 0x50ca21
mov ecx, edi
call fcn.00507a44
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xb0]
mov dword [edx + ecx*4], eax
mov edi, dword [ebp - 0xac]
add edi, 0x28
inc dword [ebp - 0xbc]
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xc0]
mov dword [ebp - 0xac], edi
jl 0x50c9d6
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xc8]
lea ecx, [ebp - 0xb8]
push ecx
push dword [ebp - 0xb0]
push dword [ebp - 0xc0]
push edx
call dword [eax + 0x34]
mov esi, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xd8]
add esp, 0x10
mov dword [ebp - 0xcc], eax
call fcn.00507c10
cmp dword [ebp - 0xcc], 0
jne 0x50ca7f
mov eax, dword [ebp - 0xe8]
cmp dword [eax + 4], 0
je 0x50ca7f
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xd0]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 0x34], ecx
inc dword [edi + 0x6c]
jmp 0x50c570
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0xd0]
mov edx, dword [edx + 8]
shl eax, 4
mov eax, dword [eax + edx + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp case.0x507d9d.17
mov edi, dword [edi + 0x10]
cmp edi, ecx
je 0x50cab9
mov dword [ebp - 0xc8], edi
jmp 0x50cac5
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], ecx
je case.0x507d9d.17
mov edi, dword [ebp - 0xd0]
add edi, 0x94
cmp dword [edi], ecx
je case.0x507d9d.17
mov ecx, dword [ebp - 0xc8]
push esi
call fcn.0050778f
mov ebx, dword [ebp - 0xd0]
pop ecx
push eax
push dword [ebx + 0x98]
mov dword [ebp - 0xe0], eax
call dword [edi]
push dword [ebp - 0xe0]
push ebx
call fcn.004f2f5d
add esp, 0x10
jmp case.0x507d9d.17
mov dword [ebp - 0xcc], 9
jmp 0x50888e
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0xdc]
mov dword [esi + 0x58], eax
mov al, byte [edi + 8]
mov byte [esi + 0x38], al
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x10]
cmp eax, ecx
je 0x50cb84
push eax
push 0x5c18ac
push dword [ebp - 0xd0]
lea edi, [esi + 0x5c]
call fcn.004f3283
mov eax, dword [ebp - 0xe8]
add esp, 0xc
push dword [eax + 0x10]
push dword [esi + 0xbc]
push dword [ebp - 0xdc]
push str.abort_at__d_in___s_:__s
push dword [eax + 4]
call fcn.004f42b7
add esp, 0x14
jmp 0x50cba0
cmp dword [esi + 0x58], ecx
je 0x50cba0
push dword [esi + 0xbc]
push edx
push str.constraint_failed_at__d_in___s_
push dword [edi + 4]
call fcn.004f42b7
add esp, 0x10
push esi
call fcn.00505a08
pop ecx
push 5
pop ecx
cmp eax, ecx
je 0x50cbe5
mov eax, dword [esi + 0x58]
neg eax
sbb eax, eax
and eax, 0xffffff9c
add eax, 0x65
mov dword [ebp - 0xcc], eax
jmp 0x5088ed
lea eax, [ebp - 0xb8]
push eax
call fcn.00503a34
pop ecx
jmp 0x50cd2a
mov eax, dword [ebp - 0xdc]
mov dword [esi + 0x54], eax
mov byte [edi + 0x1c], 0
mov dword [ebp - 0xcc], ecx
mov dword [esi + 0x58], ecx
jmp 0x5088ed
cmp edx, ecx
je 0x50cc2c
mov eax, edi
call fcn.0052d132
mov byte [edi + 0x1c], bl
mov esi, edi
call fcn.0052ce99
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x58]
mov esi, dword [ebp - 0xd8]
neg eax
sbb eax, eax
and eax, 0xffffff9c
add eax, 0x65
mov dword [ebp - 0xcc], eax
jmp 0x5088ed
push ebx
mov eax, esi
call fcn.005059b6
pop ecx
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x5088ed
mov al, byte [ebp - 0xc8]
mov edi, dword [ebp - 0xd0]
push esi
mov byte [edi + 0x1c], al
call fcn.00505a08
pop ecx
push 5
pop ecx
cmp eax, ecx
jne 0x50cc01
mov eax, dword [ebp - 0xdc]
sub bl, byte [ebp - 0xc8]
mov dword [esi + 0x54], eax
mov byte [edi + 0x1c], bl
jmp 0x50cbe5
mov ecx, dword [ebp - 0xdc]
mov dword [esi + 0x54], ecx
mov dword [ebp - 0xcc], eax
mov dword [esi + 0x58], eax
jmp 0x5088ed
push 0xf64e
call fcn.0052df4d
pop ecx
mov dword [ebp - 0xcc], eax
mov esi, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd0]
cmp byte [ecx + 0x1e], 0
je 0x50ccbb
mov dword [ebp - 0xcc], 7
cmp dword [ebp - 0xcc], 0xc0a
je 0x50888e
mov eax, dword [ebp - 0xcc]
call fcn.0052d1dd
push eax
push 0x5c18ac
push ecx
lea edi, [esi + 0x5c]
call fcn.004f3283
add esp, 0xc
jmp 0x50888e
mov dword [ebp - 0xcc], 0xd
jmp 0x50cc9f
mov dword [ebp - 0xcc], 0xd
jmp 0x50cca5
push 9
pop eax
mov dword [ebp - 0xcc], eax
mov dword [esi + 0x58], eax
call fcn.0052d1dd
push eax
push 0x5c18ac
push dword [ebp - 0xd0]
jmp 0x50ccdd
mov esi, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd0]
push str.out_of_memory
push eax
lea edi, [esi + 0x5c]
mov byte [eax + 0x1e], 1
call fcn.004f3283
mov dword [ebp - 0xcc], 7
jmp 0x50888c