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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x100aeb80]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [ecx]
xor bl, bl
mov eax, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov dword [ebp - 0xcc], eax
mov eax, dword [esi + 8]
push ecx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xd8], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xdc], esi
mov byte [ebp - 0xd1], bl
mov al, byte [eax + 0x4d]
mov byte [ebp - 0xf0], al
xor eax, eax
mov dword [ebp - 0x104], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xf8], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], eax
call fcn.1005fd60
mov ecx, dword [ebp - 0xc8]
add esp, 4
cmp dword [ecx + 0x5c], 7
je 0x10061236
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x14], 0
cmp dword [esi + 0xe0], 0
mov dword [esi + 0x1b4], 0
jne 0x100661fa
mov ebx, dword [ecx + 0x58]
xor eax, eax
cmp dword [esi + 0x114], eax
setne al
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd8], ebx
lea ebx, [ebx]
cmp byte [esi + 0x1e], 0
jne 0x10061230
cmp dword [ebp - 0x10c], 0
lea edi, [ebx + ebx*4]
je 0x1005ff0a
mov eax, dword [ebp - 0x108]
cmp dword [esi + 0x11c], eax
jne 0x1005fefd
push dword [esi + 0x118]
mov eax, dword [esi + 0x114]
call eax
add esp, 4
test eax, eax
jne 0x10065ce9
mov edx, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0x108], eax
test byte [edx + edi*4 + 2], 2
je 0x1005ff47
mov eax, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov dword [ebp - 0xe4], eax
call fcn.100680a0
mov ecx, dword [ebp - 0xe4]
mov eax, 4
mov edx, dword [ebp - 0xcc]
add esp, 4
mov word [ecx + 0x1c], ax
jmp 0x1005ff4d
mov ecx, dword [ebp - 0xe4]
movzx eax, byte [edx + edi*4]
dec eax
cmp eax, 0x90
ja case.0x1005ff5d.17
jmp dword [eax*4 + 0x1006625c]
cmp dword [esi + 0xe0], 0
jne 0x100661ee
mov ebx, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
mov ecx, dword [edx + edi*4 + 4]
mov eax, 4
mov ebx, dword [ebp - 0xe0]
lea ecx, [ecx + ecx*4]
mov word [ebx + ecx*8 + 0x1c], ax
mov eax, dword [ebp - 0xd8]
cdq
mov dword [ebx + ecx*8 + 0x14], edx
mov edx, dword [ebp - 0xcc]
mov dword [ebx + ecx*8 + 0x10], eax
mov ecx, dword [ebp - 0xc8]
mov ebx, dword [edx + edi*4 + 8]
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
mov ebx, dword [ecx + eax*8 + 0x10]
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov edi, dword [ebp - 0xe0]
lea ecx, [eax + eax*4]
mov eax, 4
mov word [edi + ecx*8 + 0x1c], ax
mov eax, dword [edi + ecx*8 + 0x10]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xd8]
cdq
mov dword [edi + ecx*8 + 0x10], eax
mov dword [edi + ecx*8 + 0x14], edx
mov ebx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feae
mov eax, dword [edx + edi*4 + 0xc]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 1
je case.0x1005ff5d.17
cmp dword [edx + edi*4 + 4], 0
mov ebx, dword [ebp - 0xc8]
jne 0x10065cf9
mov ecx, dword [ebx + 0xa8]
test ecx, ecx
je 0x10065cf9
mov eax, dword [ecx + 0x3c]
dec dword [ebx + 0xb0]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebx + 0x6c]
add dword [esi + 0x40], eax
push ecx
mov dword [esi + 0x3c], eax
call fcn.10066940
mov ecx, dword [ebp - 0xcc]
mov ebx, eax
mov eax, dword [esi + 0x30]
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [esi + 0x34]
cmp dword [ecx + edi*4 + 8], 4
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xfc], eax
jne 0x100600ac
mov eax, dword [ebp - 0xc8]
mov edi, ebx
mov eax, dword [eax + 4]
lea ecx, [edi + edi*4]
mov ebx, dword [eax + ecx*4 + 8]
dec ebx
mov edx, dword [ebp - 0xc8]
inc ebx
mov ecx, dword [ebp - 0xc8]
mov edx, dword [edx + 4]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xe0], eax
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
inc ebx
mov edi, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xc8]
cdq
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
jmp 0x1005feae
mov ecx, dword [edx + edi*4 + 0x10]
inc ebx
mov edi, dword [ebp - 0xe4]
mov eax, dword [ecx]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0xc8]
mov dword [edi + 0x14], eax
jmp 0x1005feb4
mov eax, 8
inc ebx
mov word [ecx + 0x1c], ax
mov eax, dword [edx + edi*4 + 0x10]
movsd xmm0, qword [eax]
movsd qword [ecx + 8], xmm0
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
mov byte [edx + edi*4], 9
mov edx, dword [edx + edi*4 + 0x10]
push edx
call fcn.1005af80
mov ecx, dword [ebp - 0xcc]
add esp, 4
cmp byte [ebp - 0xf0], 1
mov dword [ecx + edi*4 + 4], eax
je 0x100601f6
push 0
push 1
push 0xffffffffffffffff
push edx
push dword [ebp - 0xe4]
call fcn.10068330
add esp, 0x14
mov dword [ebp - 0xd0], eax
cmp eax, 0x12
je 0x1006604a
movzx ecx, byte [ebp - 0xf0]
push ecx
push dword [ebp - 0xe4]
call fcn.1005f520
add esp, 8
test eax, eax
jne 0x1006122a
mov ecx, dword [ebp - 0xe4]
mov edx, 0xfbff
mov dword [ecx + 0x24], eax
mov ax, word [ecx + 0x1c]
and ax, dx
mov edx, 0x800
or ax, dx
mov edx, dword [ebp - 0xcc]
mov word [ecx + 0x1c], ax
cmp byte [edx + edi*4 + 1], 0xff
jne 0x100601e1
push dword [edx + edi*4 + 0x10]
push esi
call fcn.10045340
mov edx, dword [ebp - 0xcc]
add esp, 8
mov ecx, dword [ebp - 0xe4]
mov byte [edx + edi*4 + 1], 0xff
mov eax, dword [ecx + 4]
mov dword [edx + edi*4 + 0x10], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + edi*4 + 4], eax
jmp 0x100601fc
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + edi*4 + 4]
cmp eax, dword [esi + 0x48]
jg 0x1006604a
mov ecx, dword [ebp - 0xe4]
mov eax, 0xa02
mov word [ecx + 0x1c], ax
mov eax, dword [edx + edi*4 + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [edx + edi*4 + 4]
mov edi, ecx
mov dword [edi + 0x18], eax
mov al, byte [ebp - 0xf0]
mov byte [edi + 0x1f], al
jmp case.0x1005ff5d.17
mov eax, 1
inc ebx
mov word [ecx + 0x1c], ax
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
push 0
push 0
push dword [edx + edi*4 + 4]
push dword [edx + edi*4 + 0x10]
mov edi, dword [ebp - 0xe4]
push edi
call fcn.10068330
mov al, byte [ebp - 0xf0]
add esp, 0x14
mov ecx, dword [ebp - 0xc8]
inc ebx
mov byte [edi + 0x1f], al
jmp 0x1005feae
mov eax, dword [edx + edi*4 + 4]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0xc8]
lea esi, [esi - 5]
mov eax, dword [eax + 0x48]
lea esi, [eax + esi*8]
push esi
mov dword [ebp - 0xc4], esi
call fcn.10068690
add esp, 4
test eax, eax
jne 0x10066044
push 0x800
push esi
push dword [ebp - 0xe4]
call fcn.10068560
add esp, 0xc
mov esi, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
mov edx, dword [edx + edi*4 + 0xc]
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xc0], edx
mov eax, dword [ecx + edi*4 + 4]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ecx + edi*4 + 8]
mov edi, dword [ebp - 0xe0]
mov dword [ebp - 0xb8], ecx
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
lea eax, [ecx + ecx*4]
lea edi, [edi + eax*8]
mov dword [ebp - 0xe4], edi
test edx, edx
je 0x10060354
dec edx
mov dword [ebp - 0xc0], edx
mov eax, dword [edi + 0x24]
push esi
mov dword [ebp - 0xc4], eax
push edi
mov dword [edi + 0x24], 0
call fcn.10067e90
mov eax, dword [ebp - 0xc4]
add esp, 8
mov dword [esi + 0x24], eax
add edi, 0x28
mov edx, dword [ebp - 0xc0]
add esi, 0x28
test edx, edx
jne 0x10060314
mov dword [ebp - 0xe4], edi
mov esi, dword [ebp - 0xdc]
dec edx
mov ecx, dword [ebp - 0xc8]
inc ebx
mov dword [ebp - 0xc0], edx
jmp 0x1005feae
mov eax, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xe0]
push 0x1000
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0xe4], eax
mov eax, dword [edx + edi*4 + 4]
mov edi, dword [ebp - 0xe4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
push edi
call fcn.10068560
mov eax, 0x1000
add esp, 0xc
test word [edi + 0x1c], ax
je 0x100603be
push edi
call fcn.10067e20
add esp, 4
test eax, eax
jne 0x1006122a
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feae
mov eax, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xe0]
push 0x1000
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [edx + edi*4 + 4]
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
push eax
push ecx
call fcn.10068560
mov ecx, dword [ebp - 0xc8]
add esp, 0xc
inc ebx
jmp 0x1005feae
push 0
push dword [ebp - 0xc8]
call fcn.1005f8a0
mov edx, eax
add esp, 8
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065cc3
push 1
push dword [ebp - 0xc8]
call fcn.1005f900
mov edx, eax
add esp, 8
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065cc3
mov ecx, dword [ebp - 0xc8]
mov ebx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xe0]
mov eax, dword [ecx + 0x54]
add eax, 2
or eax, 1
mov dword [ecx + 0x54], eax
mov eax, dword [ebx + edi*4 + 4]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
mov dword [ecx + 0x14], edx
xor ecx, ecx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], ecx
cmp dword [ebx + edi*4 + 8], ecx
jle 0x10065da7
mov edi, edi
lea eax, [ecx + ecx*4]
mov esi, 0x1000
test word [edx + eax*8 + 0x1c], si
lea eax, [edx + eax*8]
mov esi, dword [ebp - 0xdc]
je 0x100604c5
push eax
call fcn.10067e20
add esp, 4
test eax, eax
jne 0x1006122a
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc4]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*8]
push eax
call fcn.10067f00
mov eax, dword [ebp - 0xc0]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0xc4]
lea eax, [eax + ecx*8]
push eax
call fcn.100685b0
mov ecx, dword [ebp - 0xc0]
add esp, 8
inc ecx
mov dword [ebp - 0xc0], ecx
cmp ecx, dword [ebx + edi*4 + 8]
jge 0x10065da7
mov edx, dword [ebp - 0xc4]
jmp 0x10060490
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + edi*4 + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + edi*4 + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
movzx ecx, word [ebx + 0x1c]
mov al, byte [esi + 0x1c]
or al, cl
mov dword [ebp - 0xe4], edi
test al, 1
je 0x10060569
push edi
call fcn.10068220
add esp, 4
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
test ecx, 0x4000
je 0x10060582
push ebx
call fcn.100679c0
add esp, 4
test eax, eax
jne 0x10066249
mov eax, 0x4000
test word [esi + 0x1c], ax
je 0x1006059e
push esi
call fcn.100679c0
add esp, 4
test eax, eax
jne 0x10066249
test byte [ebx + 0x1c], 0x12
jne 0x100605bd
movzx eax, byte [ebp - 0xf0]
push eax
push ebx
call fcn.100685f0
add esp, 8
test eax, eax
jne 0x10066249
test byte [esi + 0x1c], 0x12
jne 0x100605dc
movzx eax, byte [ebp - 0xf0]
push eax
push esi
call fcn.100685f0
add esp, 8
test eax, eax
jne 0x10066249
mov eax, dword [esi + 0x18]
add eax, dword [ebx + 0x18]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], ecx
mov eax, dword [eax + 0x48]
cdq
cmp ecx, edx
jg 0x10066044
jl 0x1006060f
cmp edi, eax
ja 0x10066044
mov edi, dword [ebp - 0xe4]
mov ecx, 0xbf02
mov ax, word [edi + 0x1c]
and ax, cx
or ax, 2
mov word [edi + 0x1c], ax
xor eax, eax
cmp edi, esi
sete al
push eax
mov eax, dword [ebp - 0xc4]
add eax, 2
push eax
push edi
call fcn.10067c40
add esp, 0xc
test eax, eax
jne 0x10066249
cmp edi, esi
je 0x10060661
push dword [esi + 0x18]
push dword [esi + 4]
push dword [edi + 4]
call sub.MSVCR120.dll_memcpy
add esp, 0xc
push dword [ebx + 0x18]
mov eax, dword [esi + 0x18]
push dword [ebx + 4]
add eax, dword [edi + 4]
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp - 0xc4]
add esp, 0xc
mov ecx, dword [edi + 4]
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xcc]
mov byte [eax + ecx], 0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [edi + 4]
mov byte [ecx + eax + 1], 0
mov eax, 0x200
or word [edi + 0x1c], ax
inc ebx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc8]
mov dword [edi + 0x18], eax
mov al, byte [ebp - 0xf0]
mov byte [edi + 0x1f], al
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ebx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.1001d0b0
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ecx + edi*4 + 8]
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
push ebx
call fcn.1001d0b0
mov eax, dword [ebp - 0xcc]
add esp, 8
mov ecx, dword [ebp - 0xe0]
mov eax, dword [eax + edi*4 + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
movzx ecx, word [ebx + 0x1c]
mov dword [ebp - 0xe4], eax
movzx eax, word [esi + 0x1c]
or ecx, eax
mov dword [ebp - 0xc4], ecx
test cl, 1
jne 0x10060a05
mov al, byte [ebx + 0x1c]
and al, byte [esi + 0x1c]
test al, 4
je 0x1006079e
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xbc], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax + edi*4]
add eax, 0xffffffaa
cmp eax, 3
ja case.default.0x1006077e
jmp dword [eax*4 + 0x100664a0]
push edx
push ecx
lea eax, [ebp - 0xb4]
push eax
call fcn.1003cf90
add esp, 0xc
test eax, eax
je 0x1006088d
push esi
call fcn.10068c40
fstp qword [ebp - 0xac]
push ebx
call fcn.10068c40
mov eax, dword [ebp - 0xcc]
add esp, 8
fstp qword [ebp - 0xa4]
movzx eax, byte [eax + edi*4]
add eax, 0xffffffaa
cmp eax, 3
ja case.default.0x100607cf
jmp dword [eax*4 + 0x100664b0]
push edx
push ecx
lea eax, [ebp - 0xb4]
push eax
call fcn.1005afb0
add esp, 0xc
test eax, eax
jne 0x1006079e
jmp 0x1006088d
push edx
push ecx
lea eax, [ebp - 0xb4]
push eax
call fcn.10050dd0
add esp, 0xc
test eax, eax
jne 0x1006079e
jmp 0x1006088d
mov eax, ecx
or eax, edx
je 0x10060a05
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0xe8]
jne 0x10060837
test eax, eax
jne 0x10060837
cmp dword [ebp - 0xf4], 0x80000000
je 0x1006079e
push edx
push ecx
push dword [ebp - 0xf4]
push eax
call fcn.1008eaf0
jmp 0x10060881
mov eax, ecx
or eax, edx
je 0x10060a05
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x1006086d
mov ecx, 1
xor edx, edx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xe8]
push edx
push ecx
push dword [ebp - 0xf4]
push eax
call fcn.1008ecc0
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xb4], eax
mov edi, dword [ebp - 0xe4]
mov ecx, 0xbf04
mov eax, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xcc]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xb0]
mov dword [edi + 0x14], eax
mov ax, word [edi + 0x1c]
and ax, cx
mov ecx, dword [ebp - 0xc8]
or ax, 4
inc ebx
mov word [edi + 0x1c], ax
jmp 0x1005feb4
movsd xmm0, qword [ebp - 0xa4]
addsd xmm0, qword [ebp - 0xac]
jmp 0x100609aa
movsd xmm0, qword [ebp - 0xa4]
subsd xmm0, qword [ebp - 0xac]
jmp 0x100609aa
movsd xmm0, qword [ebp - 0xa4]
mulsd xmm0, qword [ebp - 0xac]
jmp 0x100609aa
movsd xmm1, qword [ebp - 0xac]
ucomisd xmm1, qword [0x1009c890]
lahf
test ah, 0x44
jnp 0x10060a05
movsd xmm0, qword [ebp - 0xa4]
divsd xmm0, xmm1
jmp 0x100609aa
movsd xmm0, qword [ebp - 0xac]
call fcn.1008f12f
movsd xmm0, qword [ebp - 0xa4]
mov esi, eax
mov edi, edx
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], edi
call fcn.1008f12f
mov ecx, esi
mov dword [ebp - 0xb4], eax
or ecx, edi
mov dword [ebp - 0xb0], edx
je 0x10060a05
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x1006099a
mov esi, 1
xor edi, edi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], edi
push edi
push esi
push edx
push eax
call fcn.1008ecc0
mov ecx, eax
call fcn.1008f2cf
sub esp, 8
movsd qword [ebp - 0xa4], xmm0
movsd qword [esp], xmm0
call fcn.1004fd60
add esp, 8
test eax, eax
jne 0x10060a05
mov edi, dword [ebp - 0xe4]
mov ecx, 0xbf08
movsd xmm0, qword [ebp - 0xa4]
mov ax, word [edi + 0x1c]
and ax, cx
movsd qword [edi + 8], xmm0
or ax, 8
mov word [edi + 0x1c], ax
test byte [ebp - 0xc4], 8
jne 0x1006054b
push edi
call fcn.10067020
jmp 0x10060548
push dword [ebp - 0xe4]
jmp 0x10060543
movzx ecx, byte [edx + edi*4 + 3]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x78], ecx
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x7c], esi
mov eax, dword [edx + edi*4 + 0xc]
mov edx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xe4], eax
mov eax, dword [edx + edi*4 + 8]
mov edx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
xor eax, eax
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xc4], eax
test ecx, ecx
jle 0x10060abc
mov dword [esi + eax*4], edx
mov ecx, 0x1000
mov eax, dword [ebp - 0xc0]
test word [eax + 0x1c], cx
je 0x10060a8d
push eax
call fcn.10067e20
add esp, 4
test eax, eax
jne 0x10066249
mov eax, dword [ebp - 0xc0]
push eax
call fcn.100685b0
mov eax, dword [ebp - 0xc4]
add esp, 4
mov edx, dword [ebp - 0xc0]
inc eax
add edx, 0x28
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
cmp eax, dword [ebp - 0x78]
jge 0x10060abc
mov esi, dword [ebp - 0x7c]
jmp 0x10060a62
mov eax, dword [ebp - 0xcc]
cmp byte [eax + edi*4 + 1], 0xfb
mov eax, dword [eax + edi*4 + 0x10]
jne 0x10060ad9
mov dword [ebp - 0xb8], 0
jmp 0x10060ae1
mov dword [ebp - 0xb8], eax
mov eax, dword [eax]
push dword [ebp - 0xe4]
mov esi, dword [ebp - 0xdc]
mov dword [ebp - 0xbc], eax
mov eax, 1
mov word [ebp - 0x98], ax
lea eax, [ebp - 0xb4]
push eax
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
call fcn.10067e90
mov eax, dword [ebp - 0x98]
add esp, 8
and eax, 0xbf01
mov dword [ebp - 0x88], 0
or eax, 1
mov word [ebp - 0x98], ax
mov eax, dword [ebp - 0xbc]
test byte [eax + 3], 8
je 0x10060b63
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + edi*4 - 4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xf8]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0xfc]
mov dword [esi + 0x34], eax
lea eax, [ebp - 0xbc]
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [esi + 0x30]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x10060bd4
mov ecx, dword [ebp - 0xcc]
push dword [ecx + edi*4 + 4]
push eax
call fcn.1005fb90
mov ecx, dword [ebp - 0xcc]
add esp, 8
mov eax, dword [ebp - 0xb8]
mov dword [ecx + edi*4 + 0x10], eax
mov byte [ecx + edi*4 + 1], 0xf9
cmp byte [esi + 0x1e], 0
jne 0x10065dcb
cmp dword [ebp - 0x88], 0
je 0x10060c1a
lea eax, [ebp - 0xb4]
push 1
push eax
call fcn.1005efc0
push eax
mov eax, dword [ebp - 0xc8]
push 0x10094370
add eax, 0x38
push esi
push eax
call fcn.10059fd0
mov eax, dword [ebp - 0x88]
add esp, 0x18
mov dword [ebp - 0xd0], eax
movzx eax, byte [ebp - 0xf0]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.1005f520
mov edi, dword [ebp - 0xe4]
lea eax, [ebp - 0xb4]
push eax
push edi
call fcn.10067e90
push edi
call fcn.10068690
add esp, 0x14
test eax, eax
jne 0x1006604a
jmp 0x10065cc3
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + edi*4 + 8]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [edx + edi*4 + 0xc]
mov edx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
mov al, byte [ecx + 0x1c]
or al, byte [esi + 0x1c]
mov dword [ebp - 0xe4], edx
test al, 1
je 0x10060cb2
push edx
call fcn.10068220
mov esi, dword [ebp - 0xdc]
add esp, 4
mov edx, dword [ebp - 0xcc]
inc ebx
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
push ecx
call fcn.10066f80
push esi
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
call fcn.10066f80
mov esi, eax
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xcc]
add esp, 8
mov dword [ebp - 0xb4], esi
mov cl, byte [eax + edi*4]
mov byte [ebp - 0xac], cl
cmp cl, 0x52
jne 0x10060d08
mov ecx, dword [ebp - 0xc4]
and ecx, esi
and dword [ebp - 0xc0], edx
mov dword [ebp - 0xc4], ecx
jmp 0x10060e61
cmp cl, 0x53
jne 0x10060d26
mov ecx, dword [ebp - 0xc4]
or ecx, esi
or dword [ebp - 0xc0], edx
mov dword [ebp - 0xc4], ecx
jmp 0x10060e61
mov eax, esi
or eax, edx
je 0x10060e5b
test edx, edx
jg 0x10060d70
jl 0x10060d3a
test esi, esi
jae 0x10060d65
mov al, 0xa9
sub al, cl
mov cl, al
mov byte [ebp - 0xac], cl
cmp edx, 0xffffffff
jl 0x10060da0
jg 0x10060d52
cmp esi, 0xffffffc0
jbe 0x10060da0
neg esi
mov dword [ebp - 0xb4], esi
adc edx, 0
neg edx
mov dword [ebp - 0xb0], edx
test edx, edx
jl 0x10060dcc
jg 0x10060d70
cmp esi, 0x40
jb 0x10060dcc
cmp dword [ebp - 0xc0], 0
jg 0x10060db6
jl 0x10060d84
cmp dword [ebp - 0xc4], 0
jae 0x10060db6
cmp cl, 0x54
je 0x10060db6
or eax, 0xffffffff
cdq
mov ecx, eax
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xc4], ecx
jmp 0x10060e61
mov dword [ebp - 0xb4], 0x40
mov dword [ebp - 0xb0], 0
jmp 0x10060d70
xor eax, eax
cdq
mov ecx, eax
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xc4], ecx
jmp 0x10060e61
movq xmm1, qword [ebp - 0xc4]
movd xmm0, esi
cmp cl, 0x54
jne 0x10060e03
psllq xmm1, xmm0
movq qword [ebp - 0xbc], xmm1
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], eax
jmp 0x10060e61
cmp dword [ebp - 0xc0], 0
psrlq xmm1, xmm0
movq qword [ebp - 0xbc], xmm1
jg 0x10060e41
jl 0x10060e23
cmp dword [ebp - 0xc4], 0
jae 0x10060e41
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, esi
or edx, 0xffffffff
call fcn.1008ed80
or dword [ebp - 0xbc], eax
or dword [ebp - 0xb8], edx
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], eax
jmp 0x10060e61
mov ecx, dword [ebp - 0xc4]
mov edi, dword [ebp - 0xe4]
mov esi, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xcc]
mov dword [edi + 0x10], ecx
mov ecx, 0xbf04
mov eax, dword [ebp - 0xc0]
mov dword [edi + 0x14], eax
mov ax, word [edi + 0x1c]
and ax, cx
mov ecx, dword [ebp - 0xc8]
or ax, 4
inc ebx
mov word [edi + 0x1c], ax
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.10067df0
mov eax, dword [ebp - 0xcc]
add esp, 4
mov ecx, dword [ebp - 0xc8]
mov eax, dword [eax + edi*4 + 8]
cdq
add dword [esi + 0x10], eax
adc dword [esi + 0x14], edx
inc ebx
mov esi, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xcc]
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.1001d0b0
add esp, 4
test byte [esi + 0x1c], 8
je 0x10060f09
push esi
call fcn.10067020
add esp, 4
movzx eax, word [esi + 0x1c]
test al, 4
jne 0x10060f36
mov edx, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xdc]
mov eax, dword [edx + edi*4 + 8]
test eax, eax
je 0x10065ddf
mov ecx, dword [ebp - 0xc8]
mov ebx, eax
jmp 0x1005feb4
mov edx, dword [ebp - 0xcc]
and eax, 0xbf04
mov ecx, dword [ebp - 0xc8]
or eax, 4
mov word [esi + 0x1c], ax
inc ebx
mov esi, dword [ebp - 0xdc]
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 4
lea eax, [ecx + eax*8]
je 0x1006055d
push eax
call fcn.10067fe0
mov edx, dword [ebp - 0xcc]
add esp, 4
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx ecx, word [esi + 0x1c]
test cl, 1
jne 0x10062af4
mov eax, ecx
shr eax, 3
and eax, 2
or eax, ecx
mov word [esi + 0x1c], ax
test al, 2
jne 0x10060fd4
test al, 0xc
je 0x10060fd4
movzx eax, byte [ebp - 0xf0]
push eax
push esi
call fcn.100685f0
add esp, 8
mov eax, 0xfff3
and word [esi + 0x1c], ax
movzx eax, word [esi + 0x1c]
test eax, 0x4000
je 0x1006100b
push esi
call fcn.100679c0
mov dword [ebp - 0xd0], eax
add esp, 4
mov eax, 0xbfe3
and word [esi + 0x1c], ax
mov esi, dword [ebp - 0xdc]
jmp 0x10065cc3
mov eax, 0xbfe3
mov dword [ebp - 0xd0], 0
and word [esi + 0x1c], ax
mov esi, dword [ebp - 0xdc]
jmp 0x10065cc3
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx eax, word [esi + 0x1c]
test al, 1
jne 0x10062af4
test al, 0x10
jne 0x1006108e
test al, 2
jne 0x10061068
test al, 0xc
je 0x10061068
movzx eax, byte [ebp - 0xf0]
push eax
push esi
call fcn.100685f0
mov edx, dword [ebp - 0xcc]
add esp, 8
mov ax, word [esi + 0x1c]
mov ecx, 0xbf10
and ax, cx
mov ecx, dword [ebp - 0xc8]
or ax, 0x10
inc ebx
mov word [esi + 0x1c], ax
mov esi, dword [ebp - 0xdc]
jmp 0x1005feb4
mov ecx, dword [ebp - 0xc8]
and eax, 0xff10
mov word [esi + 0x1c], ax
inc ebx
mov esi, dword [ebp - 0xdc]
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.10067f60
mov edx, dword [ebp - 0xcc]
add esp, 4
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 1
lea eax, [ecx + eax*8]
jne 0x1006055d
push eax
call fcn.10067df0
mov edx, dword [ebp - 0xcc]
add esp, 4
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 1
lea eax, [ecx + eax*8]
jne 0x1006055d
jmp 0x10060f75
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + edi*4 + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
movzx eax, word [esi + 0x1c]
mov word [ebp - 0xbe], ax
movzx eax, word [ecx + 0x1c]
mov bl, byte [ebp - 0xbe]
mov dword [ebp - 0xe8], ecx
mov cl, al
mov word [ebp - 0xbc], ax
or al, bl
test al, 1
mov al, byte [edx + edi*4 + 3]
je 0x100611e9
test al, al
jns 0x10061188
and cl, bl
mov edx, 0
test cl, 1
sete dl
jmp 0x100612b2
test al, 0x10
je 0x100611ce
mov eax, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov ecx, 0xbf01
mov ax, word [edi + 0x1c]
and ax, cx
mov dword [ebp - 0xe4], edi
or ax, 1
mov word [edi + 0x1c], ax
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
inc ebx
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
test al, 8
je 0x100611b6
mov ebx, dword [edx + edi*4 + 8]
mov esi, dword [ebp - 0xdc]
dec ebx
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
and al, 0x67
mov byte [ebp - 0xc0], al
je 0x10061268
mov ebx, dword [ebp - 0xf0]
push ebx
push dword [ebp - 0xc0]
push esi
call fcn.1001d050
push ebx
push dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xe8]
push ebx
call fcn.1001d050
mov eax, dword [ebp - 0xdc]
add esp, 0x18
cmp byte [eax + 0x1e], 0
je 0x1006126e
mov esi, eax
mov ecx, dword [ebp - 0xc8]
mov bl, byte [ebp - 0xd1]
push 0x100948e0
lea eax, [ecx + 0x38]
mov byte [esi + 0x1e], 1
push esi
push eax
call fcn.10059fd0
mov edi, dword [ebp - 0xd8]
mov edx, 7
mov eax, dword [ebp - 0xc8]
add esp, 0xc
mov dword [ebp - 0xd0], edx
jmp 0x10065f48
mov ebx, dword [ebp - 0xe8]
mov eax, 0x4000
test word [esi + 0x1c], ax
je 0x10061287
push esi
call fcn.100679c0
add esp, 4
mov eax, 0x4000
test word [ebx + 0x1c], ax
je 0x10061296
push ebx
call fcn.100679c0
add esp, 4
mov eax, dword [ebp - 0xcc]
push dword [eax + edi*4 + 0x10]
push esi
push ebx
call fcn.100508c0
mov bl, byte [ebp - 0xbe]
add esp, 0xc
mov edx, eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], edx
movzx ecx, byte [eax + edi*4]
add ecx, 0xffffffb5
cmp ecx, 4
ja case.default.0x100612ca
jmp dword [ecx*4 + 0x100664c0]
xor eax, eax
test edx, edx
sete al
jmp 0x10061305
xor eax, eax
test edx, edx
setne al
jmp 0x10061305
xor eax, eax
test edx, edx
sets al
jmp 0x10061305
xor eax, eax
test edx, edx
setle al
jmp 0x10061305
xor eax, eax
test edx, edx
setg al
jmp 0x10061305
xor eax, eax
test edx, edx
setns al
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], eax
test byte [edx + edi*4 + 3], 0x10
je 0x1006135d
mov eax, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov ecx, 0xbf04
mov ax, word [edi + 0x1c]
and ax, cx
mov dword [ebp - 0xe4], edi
or ax, 4
mov word [edi + 0x1c], ax
mov eax, dword [ebp - 0xc4]
cdq
mov dword [edi + 0x14], edx
mov edx, dword [ebp - 0xcc]
mov dword [edi + 0x10], eax
mov bl, byte [ebp - 0xbe]
jmp 0x1006136c
test eax, eax
je 0x1006136c
mov eax, dword [edx + edi*4 + 8]
dec eax
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xe8]
mov byte [esi + 0x1c], bl
mov al, byte [ebp - 0xbc]
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
inc ebx
mov byte [ecx + 0x1c], al
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 0x10]
inc ebx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x104], eax
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 0xc]
mov dword [ebp - 0xc4], eax
mov ebx, dword [edx + edi*4 + 0x10]
mov dword [ebp - 0xb4], ebx
mov ecx, dword [edx + edi*4 + 4]
mov dword [ebp - 0xbc], ecx
mov edi, dword [edx + edi*4 + 8]
xor edx, edx
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xc0], edx
test eax, eax
jle 0x1006149b
lea ebx, [ebx]
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x100613ff
mov esi, dword [eax + edx*4]
jmp 0x10061401
mov esi, edx
mov dword [ebp - 0xb0], esi
mov ecx, dword [ebx + edx*4 + 0xc]
mov dword [ebp - 0xac], ecx
mov eax, dword [ebx + 8]
push ecx
movzx eax, byte [eax + edx]
mov dword [ebp - 0xa8], eax
lea eax, [esi + edi]
mov edi, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
push eax
mov eax, dword [ebp - 0xe8]
add eax, esi
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
push eax
call fcn.100508c0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x100], edi
test edi, edi
jne 0x10061484
mov edx, dword [ebp - 0xc0]
inc edx
mov dword [ebp - 0xc0], edx
cmp edx, dword [ebp - 0xc4]
jge 0x10061495
mov ecx, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb8]
mov dword [ebp - 0xe8], ecx
jmp 0x100613f0
cmp dword [ebp - 0xa8], 0
je 0x10061495
neg edi
mov dword [ebp - 0x100], edi
mov esi, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0xd8]
xor eax, eax
mov edx, dword [ebp - 0xcc]
inc ebx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x104], eax
jmp 0x1005feb4
mov eax, dword [ebp - 0x100]
test eax, eax
jns 0x100614d4
mov ebx, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
jne 0x100614e5
mov ebx, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
mov ebx, dword [edx + edi*4 + 0xc]
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 1
lea eax, [ecx + eax*8]
je 0x10061512
mov ecx, 2
jmp 0x1006152e
push eax
call fcn.10066f80
add esp, 4
or eax, edx
mov edx, dword [ebp - 0xcc]
je 0x1006152c
mov ecx, 1
jmp 0x1006152e
xor ecx, ecx
mov esi, dword [ebp - 0xe0]
mov dword [ebp - 0xc4], ecx
mov eax, dword [edx + edi*4 + 8]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 0x1c], 1
lea eax, [esi + eax*8]
mov esi, dword [ebp - 0xdc]
je 0x10061558
mov eax, 2
jmp 0x1006157a
push eax
call fcn.10066f80
mov ecx, dword [ebp - 0xc4]
add esp, 4
or eax, edx
mov edx, dword [ebp - 0xcc]
je 0x10061578
mov eax, 1
jmp 0x1006157a
xor eax, eax
mov dword [ebp - 0xc0], eax
lea eax, [eax + ecx*2]
cmp byte [edx + edi*4], 0x45
jne 0x10061593
movzx ecx, byte [ecx + eax + 0x10095544]
jmp 0x1006159b
movzx ecx, byte [ecx + eax + 0x1009562c]
mov dword [ebp - 0xc4], ecx
mov eax, dword [edx + edi*4 + 0xc]
mov edi, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
mov dword [ebp - 0xe4], edi
cmp ecx, 2
jne 0x100615dc
mov ax, word [edi + 0x1c]
mov ecx, 0xbf01
and ax, cx
mov ecx, dword [ebp - 0xc8]
or ax, 1
inc ebx
mov word [edi + 0x1c], ax
jmp 0x1005feb4
mov eax, ecx
mov ecx, 0xbf04
cdq
mov dword [edi + 0x10], eax
mov ax, word [edi + 0x1c]
and ax, cx
mov dword [edi + 0x14], edx
mov edx, dword [ebp - 0xcc]
or ax, 4
mov ecx, dword [ebp - 0xc8]
inc ebx
mov word [edi + 0x1c], ax
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 1
lea ecx, [ecx + eax*8]
mov eax, dword [edx + edi*4 + 8]
mov edx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea edi, [edx + eax*8]
mov dword [ebp - 0xe4], edi
je 0x10061653
push edi
call fcn.10068220
mov edx, dword [ebp - 0xcc]
add esp, 4
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
push ecx
call fcn.10066f80
add esp, 4
or eax, edx
jne 0x10061683
mov eax, 1
cdq
push edx
push eax
push edi
call fcn.100681d0
mov edx, dword [ebp - 0xcc]
add esp, 0xc
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
xor eax, eax
cdq
push edx
push eax
push edi
call fcn.100681d0
mov edx, dword [ebp - 0xcc]
add esp, 0xc
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 1
lea ecx, [ecx + eax*8]
mov eax, dword [edx + edi*4 + 8]
mov edx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea edi, [edx + eax*8]
mov dword [ebp - 0xe4], edi
je 0x100616eb
push edi
call fcn.10068220
mov edx, dword [ebp - 0xcc]
add esp, 4
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
push ecx
call fcn.10066f80
not edx
not eax
push edx
push eax
push edi
call fcn.100681d0
mov edx, dword [ebp - 0xcc]
add esp, 0x10
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 1
lea eax, [ecx + eax*8]
je 0x1006172f
mov ecx, dword [edx + edi*4 + 0xc]
jmp 0x10061778
push eax
call fcn.10068c40
fstp qword [ebp - 0xec]
movsd xmm0, qword [ebp - 0xec]
add esp, 4
ucomisd xmm0, qword [0x1009c890]
lahf
test ah, 0x44
jnp 0x1006175b
mov ecx, 1
jmp 0x1006175d
xor ecx, ecx
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], ecx
cmp byte [edx + edi*4], 0x1b
jne 0x1006177e
xor eax, eax
test ecx, ecx
sete al
mov ecx, eax
mov dword [ebp - 0xc4], ecx
test ecx, ecx
je 0x1006055d
mov ebx, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xc8]
dec ebx
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 1
je 0x1006055d
mov ebx, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xc8]
dec ebx
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 1
jne 0x1006055d
mov ebx, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xc8]
dec ebx
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xb4], eax
mov eax, dword [edx + edi*4 + 8]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0
movdqu xmmword [ebp - 0x84], xmm0
movdqu xmmword [ebp - 0x74], xmm0
movq qword [ebp - 0x64], xmm0
mov eax, dword [edx + edi*4 + 0xc]
mov edx, 0xbf01
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov dword [ebp - 0x88], ecx
mov ax, word [ecx + 0x1c]
and ax, dx
or ax, 1
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xa8], 0
mov ecx, dword [eax + 0x44]
mov eax, dword [ebp - 0xb4]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xac], edx
mov eax, dword [edx]
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x1006191f
push edx
call fcn.1005fa90
mov edx, eax
add esp, 4
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef6
mov ecx, dword [ebp - 0xac]
cmp byte [ecx + 0x1c], al
je 0x100618ae
mov ecx, dword [ebp - 0xc8]
inc ebx
mov dword [ebp - 0xc4], eax
jmp 0x1005feae
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx + 0x4c]
cmp eax, dword [edx + 0x54]
jne 0x100618d3
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0xc4], edx
mov eax, dword [ecx + 0x5c]
mov dword [ebp - 0xa8], eax
jmp 0x10061974
cmp byte [ecx + 0x1f], 0
je 0x10061902
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0xa4]
call fcn.10041a70
mov edx, dword [ebp - 0xbc]
add esp, 8
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc4], edx
jmp 0x1006196e
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0xa4]
call fcn.10040b40
add esp, 8
mov dword [ebp - 0xd0], eax
jmp 0x10061968
mov eax, dword [edx + 0x10]
test eax, eax
jle 0x10061e01
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov dword [ebp - 0x44], ecx
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xcc]
test byte [eax + edi*4 + 3], 0x20
je 0x1006195c
xor eax, eax
jmp 0x10061965
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x54]
mov dword [edx + 0x4c], eax
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xac]
test edx, edx
je 0x10065cc3
cmp edx, dword [esi + 0x48]
ja 0x1006604a
mov esi, dword [ecx + 0x14]
mov dword [ebp - 0x98], esi
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0xe8], esi
mov esi, dword [ebp - 0xc8]
mov dword [ebp - 0xa0], edx
mov eax, dword [ecx + 0x4c]
cmp eax, dword [esi + 0x54]
mov esi, dword [ebp - 0xe8]
jne 0x100619bf
mov eax, dword [ecx + 0x58]
mov dword [ebp - 0x9c], eax
jmp 0x10061c2a
lea eax, [edx + esi*4]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x9c], eax
mov dword [ecx + 0x58], eax
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xc4]
mov dword [ecx + 0x50], eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x54]
mov eax, dword [ebp - 0xac]
mov dword [eax + 0x4c], ecx
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x10061a05
mov dword [ebp - 0x8c], ecx
jmp 0x10061a5b
mov eax, dword [ebp - 0xac]
cmp byte [eax + 0x1f], 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0xa4]
je 0x10061a22
call fcn.10041a00
jmp 0x10061a27
call fcn.10040b20
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x8c], ecx
ja 0x10061a4e
mov dword [ebp - 0xa8], ecx
mov dword [eax + 0x5c], ecx
jmp 0x10061a55
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp - 0x8c]
mov al, byte [ecx]
cmp al, 0x80
jae 0x10061a6e
movzx edx, al
mov eax, 1
mov dword [ebp - 0x54], edx
jmp 0x10061a87
lea eax, [ebp - 0x54]
push eax
push ecx
call fcn.1004d8e0
mov edx, dword [ebp - 0x54]
add esp, 8
mov ecx, dword [ebp - 0x8c]
movzx eax, al
movzx eax, al
mov dword [ebp - 0x4c], eax
cmp edx, 0x18003
jbe 0x10061ab3
push 0xcfae
call fcn.10044380
mov esi, dword [ebp - 0xdc]
add esp, 4
mov dword [ebp - 0xd0], eax
jmp 0x10065cc3
mov ebx, dword [ebp - 0x98]
lea esi, [ebx*4 + 3]
add esi, ebx
cmp esi, edx
cmovg esi, edx
cmp dword [ebp - 0xa8], 0
mov dword [ebp - 0x94], esi
jne 0x10061b32
cmp dword [ebp - 0x48], esi
jge 0x10061b32
xor eax, eax
mov word [ebp - 0x68], ax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax + 0x1f]
push eax
push esi
push 0
push dword [ebp - 0xa4]
call fcn.10067ac0
mov edx, eax
add esp, 0x14
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10061df0
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x98]
mov dword [ebp - 0x8c], ecx
lea eax, [ecx + esi]
mov esi, dword [ebp - 0x4c]
add esi, ecx
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x90], ecx
test ebx, ebx
jle 0x10061bd5
cmp esi, eax
mov eax, dword [ebp - 0x9c]
jae 0x10061c93
mov dword [eax + ecx*4], edx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x90]
mov al, byte [edx]
cmp al, 0x80
jae 0x10061b83
movzx edx, al
mov eax, dword [ebp - 0xa0]
mov dword [eax + ecx*4], edx
mov eax, 1
jmp 0x10061b99
mov eax, dword [ebp - 0xa0]
lea eax, [eax + ecx*4]
push eax
push edx
call fcn.1004d8e0
add esp, 8
movzx eax, al
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x90]
movzx eax, al
add esi, eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x5c], esi
push dword [eax + ecx*4]
call fcn.10069550
mov edx, dword [ebp - 0x54]
add esp, 4
add edx, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
cmp edx, eax
jae 0x10061ca6
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x84]
push eax
call fcn.10068060
mov edx, dword [ebp - 0x5c]
add esp, 4
mov esi, dword [ebp - 0x58]
mov eax, 1
mov word [ebp - 0x68], ax
cmp edx, esi
ja 0x10061ddd
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc4]
cmp eax, ecx
ja 0x10061ddd
cmp edx, esi
jne 0x10061c18
cmp eax, ecx
jne 0x10061ddd
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xb0]
cmp dword [eax + ecx*4], 0
je 0x10061d5e
cmp dword [ebp - 0xa8], 0
je 0x10061cc1
push dword [ebp - 0x88]
call fcn.100680a0
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xa0]
push dword [ebp - 0x88]
push dword [eax + ecx*4]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + ecx*4]
add eax, dword [ebp - 0xa8]
push eax
call fcn.10069140
mov eax, dword [ebp - 0x88]
add esp, 0x10
mov cl, byte [ebp - 0xf0]
mov byte [eax + 0x1f], cl
jmp 0x10061d82
mov dword [eax + ecx*4], 0
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x90]
inc ecx
mov dword [ebp - 0x90], ecx
cmp ecx, dword [ebp - 0x98]
jge 0x10061bd5
mov eax, dword [ebp - 0x58]
jmp 0x10061b50
push dword [edx + ecx*4]
call fcn.10069550
push dword [ebp - 0x88]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x84]
push eax
call fcn.10067e90
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax + 0x1f]
push eax
mov eax, dword [ebp - 0xb0]
push dword [ebp - 0x94]
push dword [ecx + eax*4]
push dword [ebp - 0xa4]
call fcn.10067ac0
mov edx, eax
add esp, 0x20
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x1006101e
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xb0]
push dword [ebp - 0x88]
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x8c], edx
push dword [ecx + eax*4]
push edx
call fcn.10069140
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov cl, byte [ebp - 0xf0]
mov byte [eax + 0x1f], cl
jmp 0x10061d82
mov eax, dword [ebp - 0xcc]
cmp byte [eax + edi*4 + 1], 0xf8
jne 0x10061d82
push 0x800
push dword [eax + edi*4 + 0x10]
push dword [ebp - 0x88]
call fcn.10068560
add esp, 0xc
cmp dword [ebp - 0x60], 0
je 0x10061dbe
mov eax, dword [ebp - 0x88]
mov ecx, 0xe7ff
and word [eax + 0x1c], cx
mov ecx, 0x200
mov eax, dword [ebp - 0x88]
or word [eax + 0x1c], cx
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x80]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0x24], ecx
push dword [ebp - 0x88]
call fcn.10067e20
mov esi, dword [ebp - 0xdc]
add esp, 4
mov dword [ebp - 0xd0], eax
jmp 0x10065cc3
push 0xcff8
call fcn.10044380
add esp, 4
mov dword [ebp - 0xd0], eax
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
jmp 0x10065cc3
mov dword [ebp - 0xc4], 0
jmp 0x10065cc3
mov ecx, dword [edx + edi*4 + 0x10]
mov esi, dword [ebp - 0xe0]
mov dword [ebp - 0xc4], ecx
mov eax, dword [edx + edi*4 + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov al, byte [ecx]
mov byte [ebp - 0xc0], al
test al, al
je 0x10061e8c
mov ebx, 0x4000
jmp 0x10061e40
inc ecx
mov dword [ebp - 0xc4], ecx
test word [esi + 0x1c], bx
je 0x10061e56
push esi
call fcn.100679c0
add esp, 4
push dword [ebp - 0xf0]
push dword [ebp - 0xc0]
push esi
call fcn.1001d050
mov ecx, dword [ebp - 0xc4]
add esp, 0xc
add esi, 0x28
mov al, byte [ecx]
mov byte [ebp - 0xc0], al
test al, al
jne 0x10061e40
mov ebx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xdc]
inc ecx
mov dword [ebp - 0xc4], ecx
inc ebx
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
mov esi, dword [ebp - 0xcc]
xor edx, edx
mov dword [ebp - 0xb4], edx
xor ebx, ebx
mov dword [ebp - 0xa4], ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0xbc], xmm0
mov eax, dword [esi + edi*4 + 4]
mov dword [ebp - 0x90], eax
mov ecx, dword [esi + edi*4 + 0x10]
mov dword [ebp - 0x8c], ecx
lea eax, [eax + eax*4]
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0xe0]
lea ecx, [ecx + eax*8]
mov dword [ebp - 0x98], ecx
mov eax, dword [esi + edi*4 + 8]
mov dword [ebp - 0x90], eax
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [ebp - 0xc8]
add ecx, 0xffffffd8
mov dword [ebp - 0x94], ecx
movzx eax, byte [eax + 0x65]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + edi*4 + 0xc]
mov esi, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x98]
mov esi, eax
mov dword [ebp - 0xc0], esi
cmp eax, ecx
ja 0x1006204a
jmp 0x10061f50
mov edi, dword [ebp - 0xe8]
test edi, edi
je 0x10061f9b
push dword [ebp - 0xf0]
mov ecx, esi
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx eax, byte [eax + edi]
push eax
push esi
call fcn.1001d050
mov ecx, dword [ebp - 0x8c]
add esp, 0xc
mov ebx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xc0]
mov dword [ebp - 0xe8], ecx
mov eax, 0x4000
test word [esi + 0x1c], ax
je 0x10061fcd
cmp dword [esi + 0x18], 0
jle 0x10061fcd
push esi
call fcn.100679c0
mov ecx, dword [ebp - 0x8c]
add esp, 4
mov ebx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xc0]
mov dword [ebp - 0xe8], ecx
push dword [ebp - 0x88]
push esi
call fcn.10069450
mov ecx, eax
push ecx
mov dword [ebp - 0x9c], ecx
call fcn.10069550
mov edi, eax
cdq
add dword [ebp - 0xbc], eax
push 0
adc dword [ebp - 0xb8], edx
push ecx
mov dword [ebp - 0x80], edi
call fcn.1005f070
mov edx, dword [ebp - 0xb4]
add esp, 0x14
add edx, eax
mov eax, 0x4000
mov dword [ebp - 0xb4], edx
test word [esi + 0x1c], ax
je 0x10062022
add ebx, dword [esi + 0x10]
jmp 0x10062029
xor eax, eax
test edi, edi
cmovne ebx, eax
mov eax, dword [ebp - 0x98]
add esi, 0x28
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xc0], esi
cmp esi, dword [ebp - 0x94]
jbe 0x10061f50
mov eax, edx
cdq
push edx
push eax
call fcn.1005f070
mov edi, dword [ebp - 0xb4]
mov esi, eax
add edi, esi
mov dword [ebp - 0xa0], esi
mov eax, edi
mov dword [ebp - 0xb4], edi
cdq
push edx
push eax
call fcn.1005f070
add esp, 0x10
cmp esi, eax
jge 0x10062082
inc edi
mov dword [ebp - 0xb4], edi
mov eax, ebx
cdq
mov ecx, eax
mov esi, edx
mov eax, edi
cdq
mov ebx, eax
mov edi, edx
sub ebx, ecx
sbb edi, esi
add ebx, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xdc]
adc edi, dword [ebp - 0xb8]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], edi
mov eax, dword [esi + 0x48]
cdq
cmp edi, edx
jg 0x1006604a
jl 0x100620c8
cmp ebx, eax
ja 0x1006604a
mov edi, dword [ebp - 0xe4]
push 0
push ebx
push edi
call fcn.10067c40
add esp, 0xc
test eax, eax
jne 0x1006122a
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edi + 4]
mov dword [ebp - 0xc4], ecx
cmp eax, 0x80
jae 0x10062101
mov byte [ecx], al
mov eax, 1
jmp 0x1006210b
push eax
push ecx
call fcn.10056760
add esp, 8
mov ecx, dword [ebp - 0x94]
movzx esi, al
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0xc0], eax
cmp eax, ecx
ja 0x100621a0
mov edi, edi
push dword [ebp - 0x88]
push eax
call fcn.10069450
add esp, 8
mov dword [ebp - 0x9c], eax
cmp eax, 0x80
jae 0x1006215e
mov cl, al
mov eax, dword [ebp - 0xc4]
mov byte [esi + eax], cl
mov eax, 1
jmp 0x10062170
push eax
mov eax, dword [ebp - 0xc4]
add eax, esi
push eax
call fcn.10056760
add esp, 8
mov esi, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x94]
movzx eax, al
add esi, eax
mov eax, dword [ebp - 0xc0]
add eax, 0x28
mov dword [ebp - 0x84], esi
mov dword [ebp - 0xc0], eax
cmp eax, ecx
jbe 0x10062130
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc0], eax
cmp eax, ecx
ja 0x100621f6
lea ebx, [ebx]
push dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xac]
sub eax, esi
push eax
mov eax, dword [ebp - 0xc4]
add eax, esi
push eax
call fcn.100693a0
mov esi, dword [ebp - 0x84]
add esp, 0x10
add esi, eax
mov eax, dword [ebp - 0xc0]
add eax, 0x28
mov dword [ebp - 0x84], esi
mov dword [ebp - 0xc0], eax
cmp eax, dword [ebp - 0x94]
jbe 0x100621b0
mov eax, dword [ebp - 0xac]
mov dword [edi + 0x18], eax
mov eax, 0x410
mov word [edi + 0x1c], ax
mov dword [edi + 0x20], 0
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x10062225
mov dword [edi + 0x10], eax
mov eax, 0x4410
mov word [edi + 0x1c], ax
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
inc ebx
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc8]
mov byte [edi + 0x1f], 1
jmp 0x1005feb4
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x1006229c
lea ecx, [ebp - 0xc4]
push ecx
push eax
call fcn.10040790
mov edi, dword [ebp - 0xe4]
add esp, 8
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc4]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xc0]
mov dword [edi + 0x14], eax
jmp case.0x1005ff5d.17
mov edi, dword [ebp - 0xe4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc4], xmm0
mov eax, dword [ebp - 0xc4]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xc0]
mov dword [edi + 0x14], eax
jmp case.0x1005ff5d.17
mov ebx, dword [edx + edi*4 + 4]
mov dword [ebp - 0xc4], ebx
mov eax, dword [edx + edi*4 + 0x10]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xc0], eax
test ebx, ebx
jne 0x100623cb
cmp dword [esi + 0x90], ebx
jg 0x10065def
push eax
call fcn.1005af80
mov dword [ebp - 0xbc], eax
mov eax, dword [esi + 0x1e4]
add eax, dword [esi + 0x1e0]
push eax
push ebx
push esi
call fcn.1006a1d0
mov edx, eax
add esp, 0x10
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef6
mov eax, dword [ebp - 0xbc]
add eax, 0x19
push eax
push esi
call fcn.100453d0
add esp, 8
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x100623b9
lea ecx, [eax + 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0xbc]
inc eax
push eax
mov eax, dword [ebp - 0xb8]
push dword [ebp - 0xc0]
push dword [eax]
call sub.MSVCR120.dll_memcpy
add esp, 0xc
cmp byte [esi + 0x1c], bl
je 0x1006237a
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1e8], 1
jmp 0x10062380
inc dword [esi + 0x1e0]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [esi + 0x1dc]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [esi + 0x1f0]
mov dword [esi + 0x1dc], eax
mov eax, dword [ebp - 0xb8]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [esi + 0x1f4]
mov dword [eax + 0xc], ecx
mov ebx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feae
xor edi, edi
mov dword [ebp - 0xac], edi
mov esi, dword [esi + 0x1dc]
mov dword [ebp - 0xb4], esi
push eax
test esi, esi
je 0x10065e3b
push dword [esi]
call fcn.1005af30
add esp, 8
test eax, eax
je 0x10062408
mov eax, dword [ebp - 0xe8]
inc edi
mov dword [ebp - 0xac], edi
mov esi, dword [esi + 0x10]
jmp 0x100623d9
mov eax, dword [ebp - 0xdc]
cmp dword [eax + 0x90], 0
jg 0x10062613
cmp ebx, 2
jne 0x1006242d
cmp dword [eax + 0x8c], 1
jg 0x10062613
cmp dword [esi + 0x10], 0
jne 0x1006249a
cmp byte [eax + 0x1e8], 0
je 0x1006249a
mov dword [ebp - 0xe8], 1
cmp ebx, 1
jne 0x100624a4
push ebx
push dword [ebp - 0xc8]
call fcn.1005f8a0
mov edi, dword [ebp - 0xdc]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10065e8d
mov esi, dword [ebp - 0xc8]
push esi
mov byte [edi + 0x1c], bl
call fcn.10066a90
add esp, 4
cmp eax, 5
je 0x10065e1e
mov byte [edi + 0x1e8], 0
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0xd0], eax
jmp 0x10062537
mov dword [ebp - 0xe8], 0
mov eax, dword [eax + 0x1e0]
xor ecx, ecx
sub eax, edi
mov dword [ebp - 0xa8], ecx
mov edi, dword [ebp - 0xdc]
dec eax
mov dword [ebp - 0xac], eax
cmp dword [edi + 4], ecx
jle 0x10062511
mov esi, edi
push eax
mov eax, dword [esi + 8]
add ecx, ecx
push ebx
push dword [eax + ecx*8 + 4]
call fcn.10042ba0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef6
mov ecx, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xc4]
inc ecx
mov dword [ebp - 0xa8], ecx
cmp ecx, dword [esi + 4]
jge 0x1006250b
mov eax, dword [ebp - 0xac]
jmp 0x100624c8
mov esi, dword [ebp - 0xb4]
cmp ebx, 2
jne 0x10062543
test dword [edi + 0xc], 0x200
je 0x10062543
push edi
call fcn.10046c20
push 0xffffffffffffffff
push edi
call fcn.10056f80
add esp, 0xc
or dword [edi + 0xc], 0x200
mov ebx, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xb4]
cmp dword [edi + 0x1dc], esi
je 0x1006258e
jmp 0x10062550
mov eax, dword [edi + 0x1dc]
mov dword [ebp - 0xb0], eax
mov eax, dword [eax + 0x10]
mov dword [edi + 0x1dc], eax
push dword [ebp - 0xb0]
push edi
call fcn.10045340
dec dword [edi + 0x1e0]
add esp, 8
mov esi, dword [ebp - 0xb4]
cmp dword [edi + 0x1dc], esi
jne 0x10062550
mov ebx, dword [ebp - 0xc4]
cmp ebx, 1
jne 0x100625c2
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 0xdc]
mov dword [esi + 0x1dc], eax
push dword [ebp - 0xb4]
push esi
call fcn.10045340
add esp, 8
cmp dword [ebp - 0xe8], 0
jne 0x10062608
dec dword [esi + 0x1e0]
jmp 0x100625e3
cmp dword [ebp - 0xe8], 0
mov eax, dword [esi + 8]
mov dword [edi + 0x1f0], eax
mov eax, dword [esi + 0xc]
mov esi, dword [ebp - 0xdc]
mov dword [esi + 0x1f4], eax
jne 0x10062608
push dword [ebp - 0xac]
push dword [ebp - 0xc4]
push esi
call fcn.1006a1d0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef6
mov ebx, dword [ebp - 0xd8]
jmp 0x10065cc3
mov esi, dword [ebp - 0xdc]
cmp ebx, 2
mov ecx, str.release
mov eax, str.rollback
cmovne eax, ecx
push eax
mov eax, dword [ebp - 0xc8]
push str.cannot__s_savepoint___SQL_statements_in_progress
add eax, 0x38
push esi
push eax
call fcn.10059fd0
mov ebx, dword [ebp - 0xd8]
add esp, 0x10
mov edx, dword [ebp - 0xcc]
mov eax, 5
mov dword [ebp - 0xd0], 5
jmp 0x10065ccf
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [esi + 8]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 4]
mov dword [ebp - 0xc4], eax
test eax, eax
je case.0x1005ff5d.17
push dword [edx + edi*4 + 8]
push eax
call fcn.1003ff50
mov edx, eax
add esp, 8
mov dword [ebp - 0xd0], edx
cmp edx, 5
je 0x10065e70
test edx, edx
jne 0x10065ef6
mov edx, dword [ebp - 0xcc]
cmp dword [edx + edi*4 + 8], eax
je case.0x1005ff5d.17
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x67], 0
je case.0x1005ff5d.17
cmp byte [esi + 0x1c], 0
je 0x100626d6
cmp dword [esi + 0x8c], 1
jle case.0x1005ff5d.17
mov edx, eax
cmp dword [edx + 0x78], 0
jne 0x100626f3
mov eax, dword [esi + 0x1e0]
inc dword [esi + 0x1e4]
add eax, dword [esi + 0x1e4]
mov dword [edx + 0x78], eax
mov eax, dword [edx + 0x78]
dec eax
push eax
push 0
push esi
call fcn.1006a1d0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x1006272c
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x78]
push dword [ebp - 0xc4]
call fcn.1003ff00
add esp, 8
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xc8]
mov eax, dword [esi + 0x1f0]
mov dword [edx + 0x98], eax
mov eax, dword [esi + 0x1f4]
mov dword [edx + 0x9c], eax
jmp 0x10065cc3
mov ecx, dword [edx + edi*4 + 4]
mov dword [ebp - 0xc0], ecx
add ecx, ecx
mov eax, dword [edx + edi*4 + 0xc]
lea edx, [ebp - 0xc4]
push edx
mov dword [ebp - 0xbc], eax
push eax
mov eax, dword [esi + 8]
push dword [eax + ecx*8 + 4]
call fcn.10041160
mov eax, dword [ebp - 0xc4]
add esp, 0xc
mov edi, dword [ebp - 0xe4]
inc ebx
mov ecx, dword [ebp - 0xc8]
cdq
mov dword [edi + 0x14], edx
mov edx, dword [ebp - 0xcc]
mov dword [edi + 0x10], eax
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
shl eax, 4
add eax, dword [esi + 8]
mov dword [ebp - 0xc4], eax
mov eax, dword [edx + edi*4 + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.10067df0
mov eax, dword [ebp - 0xcc]
push dword [esi + 0x10]
push dword [eax + edi*4 + 8]
mov eax, dword [ebp - 0xc4]
push dword [eax + 4]
call fcn.10043230
mov edx, dword [ebp - 0xcc]
add esp, 0x10
mov dword [ebp - 0xd0], eax
mov eax, dword [edx + edi*4 + 8]
cmp eax, 1
jne 0x10062817
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 0xdc]
mov dword [ecx], eax
or dword [esi + 0xc], 0x200
jmp 0x10062831
cmp eax, 2
jne 0x1006282b
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0xc]
mov al, byte [esi + 0x10]
mov byte [ecx + 0x4c], al
mov esi, dword [ebp - 0xdc]
cmp dword [edx + edi*4 + 4], 1
jne case.0x1005ff5d.17
push esi
call fcn.10046c20
mov eax, dword [ebp - 0xc8]
add esp, 4
mov byte [eax + 0x63], 0
jmp case.0x1005ff5d.17
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [esi + 8]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 4]
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x1006289b
lea ecx, [ebp - 0xc4]
push ecx
push 1
push eax
call fcn.10041160
mov edx, dword [ebp - 0xcc]
add esp, 0xc
mov eax, dword [esi + 8]
mov ecx, dword [edx + edi*4 + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
jmp 0x100628a5
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], eax
cmp ecx, dword [edx + edi*4 + 8]
jne 0x100628bb
cmp eax, dword [edx + edi*4 + 0xc]
je case.0x1005ff5d.17
mov eax, dword [ebp - 0xc8]
push dword [eax + 0x38]
push esi
call fcn.10045340
push str.database_schema_has_changed
push esi
call fcn.100455c0
mov ecx, dword [ebp - 0xc8]
add esp, 0x10
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax + edi*4 + 4]
mov ecx, edx
mov eax, dword [esi + 8]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc4]
je 0x1006290a
push edx
push esi
call fcn.10056f80
add esp, 8
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], 0x11
mov byte [eax + 0x63], 1
mov eax, 0x11
jmp 0x10065ccf
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x63], 0
jne 0x10065ed1
mov eax, dword [ebp - 0xdc]
xor ecx, ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], ecx
mov ebx, dword [edx + edi*4 + 8]
mov dword [ebp - 0xbc], ebx
mov esi, dword [edx + edi*4 + 0xc]
mov edx, esi
mov dword [ebp - 0xb8], esi
shl edx, 4
add edx, dword [eax + 8]
mov dword [ebp - 0xa8], edx
mov eax, dword [edx + 4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xcc]
cmp byte [eax + edi*4], 0x27
jne 0x100629a9
mov dword [ebp - 0xb4], 1
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0xc8]
mov al, byte [eax + 0x4c]
cmp al, byte [edx + 0x65]
jae 0x100629af
mov byte [edx + 0x65], al
jmp 0x100629af
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xcc]
cmp byte [edx + edi*4 + 3], cl
je 0x100629f4
mov ecx, dword [ebp - 0xe0]
lea eax, [ebx + ebx*4]
lea esi, [ecx + eax*8]
push esi
call fcn.10067df0
mov eax, dword [esi + 0x10]
add esp, 4
mov dword [ebp - 0xbc], eax
cmp eax, 2
jl 0x10065ec0
mov esi, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xcc]
mov al, byte [edx + edi*4 + 1]
cmp al, 0xfa
jne 0x10062a2d
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 0x10]
mov dword [ebp - 0xc0], ecx
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xb8]
movzx ecx, word [eax + 6]
inc ecx
jmp 0x10062a35
cmp al, 0xf2
jne 0x10062a3b
mov ecx, dword [edx + edi*4 + 0x10]
mov dword [ebp - 0xc4], ecx
push 1
push esi
push ecx
push dword [edx + edi*4 + 4]
push dword [ebp - 0xc8]
call fcn.1001b1c0
add esp, 0x14
mov dword [ebp - 0xac], eax
test eax, eax
je 0x10066249
mov byte [eax + 0x1c], 1
mov eax, dword [ebp - 0xac]
mov byte [eax + 0x20], 1
mov eax, dword [ebp - 0xac]
push dword [eax]
push dword [ebp - 0xc0]
push dword [ebp - 0xb4]
push dword [ebp - 0xbc]
push dword [ebp - 0xb0]
call fcn.100409d0
mov ecx, dword [ebp - 0xac]
mov ebx, eax
mov eax, dword [ebp - 0xc0]
add esp, 0x14
mov dword [ebp - 0xd0], ebx
mov dword [ecx + 8], eax
cmp ebx, 0x10
jne 0x10062ac7
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xd0], 0
mov dword [eax], 0
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xac]
cmp byte [edx + edi*4 + 1], 0xfa
setne cl
mov byte [eax + 0x1e], cl
mov ecx, dword [ebp - 0xac]
cmp byte [ecx + 0x1e], 0
sete al
mov byte [ecx + 0x1f], al
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
jmp case.0x1005ff5d.17
push 1
push 0xffffffffffffffff
push dword [edx + edi*4 + 8]
push dword [edx + edi*4 + 4]
push dword [ebp - 0xc8]
call fcn.1001b1c0
add esp, 0x14
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x1006122a
mov byte [eax + 0x1c], 1
mov eax, dword [ebp - 0xcc]
push 0x41e
movzx eax, byte [eax + edi*4 + 3]
or eax, 9
push eax
mov eax, dword [ebp - 0xc4]
add eax, 4
push eax
push esi
push 0
push dword [esi]
call fcn.100421f0
add esp, 0x18
mov dword [ebp - 0xd0], eax
test eax, eax
jne 0x10062c4a
mov eax, dword [ebp - 0xc4]
push 1
push dword [eax + 4]
call fcn.1003ff50
add esp, 8
mov dword [ebp - 0xd0], eax
test eax, eax
jne 0x10062c4a
mov eax, dword [ebp - 0xcc]
cmp dword [eax + edi*4 + 0x10], 0
je 0x10062c21
push 2
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0xc4]
push dword [eax + 4]
call fcn.10040980
add esp, 0xc
mov dword [ebp - 0xd0], eax
test eax, eax
jne 0x10062c15
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xcc]
push dword [eax]
push dword [ecx + edi*4 + 0x10]
push 1
push dword [ebp - 0x114]
push dword [eax + 4]
call fcn.100409d0
mov dword [ebp - 0xd0], eax
add esp, 0x14
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + edi*4 + 0x10]
mov eax, dword [ebp - 0xc4]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 8]
mov al, byte [edx + 0x4d]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x1e], 0
jmp 0x10062c4a
mov eax, dword [ebp - 0xc4]
push dword [eax]
push 0
push 1
push 1
push dword [eax + 4]
call fcn.100409d0
mov dword [ebp - 0xd0], eax
add esp, 0x14
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x1e], 1
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc4]
cmp byte [edx + edi*4 + 3], 0x10
setne cl
mov byte [eax + 0x20], cl
mov ecx, dword [ebp - 0xc4]
cmp byte [ecx + 0x1e], 0
sete al
mov byte [ecx + 0x1f], al
jmp case.0x1005ff5d.17
push 0
push 0xffffffffffffffff
push dword [edx + edi*4 + 0xc]
push dword [edx + edi*4 + 4]
push dword [ebp - 0xc8]
call fcn.1001b1c0
add esp, 0x14
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x1006122a
mov edx, dword [ebp - 0xcc]
inc ebx
mov byte [eax + 0x1c], 1
mov eax, dword [ebp - 0xc4]
mov ecx, dword [edx + edi*4 + 8]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc8]
mov byte [eax + 0x1e], 1
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x1f], 0
jmp 0x1005feb4
mov ecx, dword [edx + edi*4 + 4]
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x44]
push dword [eax + ecx*4]
push edx
call fcn.10066990
mov edx, dword [ebp - 0xcc]
add esp, 8
mov eax, dword [ebp - 0xc8]
inc ebx
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xbc], ecx
cmp dword [ecx], 0
je 0x1005ff71
movzx eax, byte [edx + edi*4]
mov dword [ebp - 0xc0], eax
mov byte [ecx + 0x1c], 0
mov ecx, dword [ebp - 0xbc]
cmp byte [ecx + 0x1e], 0
je 0x10062f61
mov eax, dword [edx + edi*4 + 0xc]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
push ebx
mov dword [ebp - 0xf4], ebx
call fcn.1001d0b0
push ebx
call fcn.10066f80
mov dword [ebp - 0x94], eax
add esp, 8
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x90], edx
mov byte [eax + 0x19], 0
movzx eax, word [ebx + 0x1c]
test al, 4
jne 0x10062ee3
test al, 8
jne 0x10062db1
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc8]
mov ebx, dword [edx + edi*4 + 8]
jmp 0x1005feb4
mov ebx, dword [ebp - 0x94]
mov esi, dword [ebp - 0x90]
test ebx, ebx
jne 0x10062e7b
cmp esi, 0x80000000
jne 0x10062e7b
mov edx, esi
xor ecx, ecx
call fcn.1008f2cf
mov eax, dword [ebp - 0xf4]
movsd xmm1, qword [eax + 8]
comisd xmm0, xmm1
xorps xmm0, xmm0
ja 0x10062df8
comisd xmm1, xmm0
jbe 0x10062e7b
mov dword [ebp - 0xc4], 1
comisd xmm0, xmmword [eax + 8]
jbe 0x10062e28
cmp dword [ebp - 0xc0], 0x2e
jl 0x10062e65
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xbc]
push dword [eax]
call fcn.10041080
jmp 0x10062e45
cmp dword [ebp - 0xc0], 0x2d
jg 0x10062e65
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xbc]
push dword [eax]
call fcn.10041ab0
mov edx, eax
add esp, 8
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef0
cmp dword [ebp - 0xc4], 0
je 0x10061df0
mov edx, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xdc]
mov ebx, dword [edx + edi*4 + 8]
dec ebx
jmp case.0x1005ff5d.17
mov eax, dword [ebp - 0xc0]
cmp eax, 0x2c
je 0x10062eb5
cmp eax, 0x2e
je 0x10062eb5
mov edx, esi
mov ecx, ebx
call fcn.1008f2cf
mov eax, dword [ebp - 0xf4]
comisd xmm0, xmmword [eax + 8]
jbe 0x10062eef
add ebx, 0xffffffff
mov dword [ebp - 0x94], ebx
adc esi, 0xffffffff
mov dword [ebp - 0x90], esi
jmp 0x10062eef
mov edx, esi
mov ecx, ebx
call fcn.1008f2cf
mov eax, dword [ebp - 0xf4]
movsd xmm1, qword [eax + 8]
comisd xmm1, xmm0
jbe 0x10062eef
add ebx, 1
mov dword [ebp - 0x94], ebx
adc esi, 0
mov dword [ebp - 0x90], esi
jmp 0x10062eef
mov esi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x94]
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xbc]
push 0
push esi
push ebx
push 0
push dword [eax]
call fcn.10041cb0
mov edx, eax
add esp, 0x18
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef0
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
cmp dword [ebp - 0xc4], eax
jne 0x10062ffc
mov eax, dword [ebp - 0xbc]
mov byte [eax + 0x19], 1
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x94]
mov dword [eax + 0x40], ecx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x90]
mov dword [eax + 0x44], ecx
jmp 0x10062ffc
mov eax, dword [edx + edi*4 + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xb4], eax
mov ax, word [ebp - 0x9c]
mov word [ebp - 0xb0], ax
mov eax, dword [ebp - 0xc0]
and eax, 1
shl eax, 3
mov word [ebp - 0xae], ax
mov eax, dword [edx + edi*4 + 0xc]
mov edx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov edx, 0x4000
mov dword [ebp - 0xa4], eax
test word [eax + 0x1c], dx
je 0x10062fc5
push eax
call fcn.100679c0
mov ecx, dword [ebp - 0xbc]
add esp, 4
lea eax, [ebp - 0xc4]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xb4]
push eax
push dword [ecx]
call fcn.10041cb0
mov edx, eax
add esp, 0x18
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef6
mov eax, dword [ebp - 0xbc]
mov byte [eax + 0x19], dl
mov eax, dword [ebp - 0xbc]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 0xbc]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc4]
cmp eax, 0x2e
jl 0x10063061
test ecx, ecx
js 0x1006304b
jne 0x1006302f
cmp eax, 0x2f
je 0x1006304b
mov edx, dword [ebp - 0xcc]
inc ebx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xc4], 0
jmp 0x1005feb4
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xbc]
push dword [eax]
call fcn.10042080
jmp 0x10063099
test ecx, ecx
jg 0x10063085
jne 0x1006306c
cmp eax, 0x2c
je 0x10063085
mov eax, dword [ebp - 0xbc]
xor ecx, ecx
mov eax, dword [eax]
cmp byte [eax + 0x53], 1
setne cl
mov dword [ebp - 0xc4], ecx
jmp 0x100630b6
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xbc]
push dword [eax]
call fcn.100427f0
mov edx, eax
add esp, 8
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef6
mov eax, dword [ebp - 0xbc]
mov byte [eax + 0x19], 0
cmp dword [ebp - 0xc4], 0
je 0x10060557
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc8]
mov ebx, dword [edx + edi*4 + 8]
dec ebx
inc ebx
jmp 0x1005feb4
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc4], eax
cmp dword [eax], 0
je 0x1006055d
mov ecx, dword [ebp - 0xe0]
mov byte [eax + 0x1c], 0
mov eax, dword [edx + edi*4 + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.10066f80
mov ecx, dword [ebp - 0xc4]
add esp, 4
inc ebx
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc8]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xcc]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x1d], 1
jmp 0x1005feb4
mov esi, dword [ebp - 0xcc]
xor edx, edx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc4], edx
mov ecx, dword [esi + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc0], ecx
mov eax, dword [esi + edi*4 + 0xc]
mov esi, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
cmp dword [ecx], edx
je 0x1006327b
mov edx, dword [ebp - 0xcc]
cmp dword [edx + edi*4 + 0x10], 0
jle 0x100631cc
mov eax, dword [ecx + 8]
mov dword [ebp - 0xb4], eax
mov ax, word [edx + edi*4 + 0x10]
mov word [ebp - 0xb0], ax
mov eax, 0x10
mov word [ebp - 0xae], ax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xb8], eax
jmp 0x10063208
push 0x97
lea eax, [ebp - 0x9c]
push eax
push dword [esi + 4]
push dword [esi + 0x18]
push dword [ecx + 8]
call fcn.10068e70
add esp, 0x14
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x10066249
or word [eax + 6], 0x10
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
push edx
push 0
push 0
push 0
push eax
push dword [ecx]
call fcn.10041cb0
mov edx, dword [ebp - 0xcc]
add esp, 0x18
mov esi, eax
mov dword [ebp - 0xd0], esi
cmp dword [edx + edi*4 + 0x10], 0
jne 0x10063249
push dword [ebp - 0xb8]
call fcn.1005fd40
mov edx, dword [ebp - 0xcc]
add esp, 4
test esi, esi
jne 0x10062af4
xor eax, eax
cmp dword [ebp - 0xbc], eax
sete al
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x4c], esi
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xcc]
cmp byte [eax + edi*4], 0x32
jne 0x100632bc
test edx, edx
je 0x100632a4
mov esi, dword [ebp - 0xdc]
mov edx, eax
mov ecx, dword [ebp - 0xc8]
mov ebx, dword [edx + edi*4 + 8]
dec ebx
inc ebx
jmp 0x1005feb4
mov edx, dword [ebp - 0xcc]
inc ebx
mov esi, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
test edx, edx
jne 0x100632a4
mov edx, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xc8]
mov ebx, dword [edx + edi*4 + 8]
dec ebx
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 0xc]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + edi*4 + 0x10]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0xb4], eax
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc0], eax
mov dword [eax + 0x48], 0
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xb4]
mov eax, dword [ecx]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ecx + 8]
xor ecx, ecx
mov dx, word [eax + 6]
xor eax, eax
mov word [ebp - 0xb8], dx
mov word [ebp - 0xc4], cx
cmp ax, dx
jae 0x1006337f
nop
movzx eax, cx
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 0x1c], 1
jne 0x10063448
inc cx
mov word [ebp - 0xc4], cx
cmp cx, dx
jb 0x10063360
cmp dword [ebp - 0xe8], 0
je 0x10061df0
mov eax, dword [ebp - 0xc0]
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0x9c], esi
mov word [ebp - 0xa8], ax
mov eax, 0x20
mov word [ebp - 0xa6], ax
call fcn.10067df0
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xc0]
add eax, 0x48
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xac]
push eax
push dword [ebp - 0xbc]
call fcn.10041cb0
add esp, 0x1c
mov dword [ebp - 0xd0], eax
test byte [ebp - 0xa6], 0x20
jne 0x10062e65
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0x94]
jne 0x1006342b
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x90]
je 0x10062e65
mov esi, dword [ebp - 0xdc]
mov dword [ebx + 0x10], ecx
mov eax, dword [ebp - 0xa0]
mov dword [ebx + 0x14], eax
mov ebx, dword [ebp - 0xd8]
jmp 0x10065cc3
mov edx, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xdc]
mov ebx, dword [edx + edi*4 + 8]
dec ebx
mov dword [ebp - 0xbc], 0
jmp case.0x1005ff5d.17
mov eax, dword [edx + edi*4 + 0xc]
mov ecx, dword [edx + edi*4 + 4]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc4], eax
mov edx, dword [eax]
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xc0], edx
test edx, edx
je 0x10063566
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0xbc]
push edx
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xbc], 0
mov ecx, dword [eax + esi*8 + 0x10]
push 0
mov dword [ebp - 0xb4], ecx
mov eax, dword [eax + esi*8 + 0x14]
push eax
push ecx
push 0
push edx
mov dword [ebp - 0xb0], eax
call fcn.10041cb0
mov edx, dword [ebp - 0xe0]
add esp, 0x18
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc4]
mov ecx, dword [edx + esi*8 + 0x10]
mov dword [eax + 0x40], ecx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [edx + esi*8 + 0x14]
mov edx, dword [ebp - 0xcc]
mov dword [eax + 0x44], ecx
cmp dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xc4]
sete cl
mov byte [eax + 0x19], cl
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x1c], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x1d], 0
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x10063552
mov eax, dword [edx + edi*4 + 8]
dec eax
mov dword [ebp - 0xd8], eax
mov ebx, eax
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xdc]
mov dword [eax + 0x48], ecx
jmp case.0x1005ff5d.17
mov edx, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xdc]
mov ebx, dword [edx + edi*4 + 8]
dec ebx
mov dword [eax + 0x48], 0
jmp case.0x1005ff5d.17
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov esi, dword [ebp - 0xe4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x34]
mov ecx, esi
mov esi, dword [ebp - 0xdc]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0xc8]
add dword [eax + 0x30], 1
adc dword [eax + 0x34], 0
inc ebx
jmp 0x1005feb4
mov eax, dword [ebp - 0xc8]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb8], 0
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0xbc], esi
mov ecx, dword [esi]
test ecx, ecx
je 0x1006391d
cmp byte [esi + 0x1b], 0
jne 0x100637f5
mov edx, dword [ecx + 0x18]
mov eax, edx
mov dword [ebp - 0xc4], edx
mov ecx, dword [ecx + 0x1c]
or eax, ecx
mov dword [ebp - 0xc0], ecx
jne 0x100636c2
lea eax, [ebp - 0xb8]
push eax
push dword [esi]
call fcn.10041ab0
mov edx, eax
add esp, 8
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef0
cmp dword [ebp - 0xb8], eax
je 0x1006365c
lea edx, [eax + 1]
xor ecx, ecx
jmp 0x100636b0
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xbc]
push dword [eax]
call fcn.10041a70
mov edx, dword [ebp - 0xc4]
add esp, 8
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xd0], eax
cmp edx, 0xffffffff
jne 0x100636aa
cmp ecx, 0x7fffffff
jne 0x100636aa
mov eax, dword [ebp - 0xbc]
mov byte [eax + 0x1b], 1
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc4]
jmp 0x100636bc
add edx, 1
adc ecx, 0
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xc4], edx
mov esi, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + edi*4 + 0xc]
test eax, eax
je 0x100637ab
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0xa8]
test edx, edx
je 0x10063715
mov dword [ebp - 0xac], edx
mov eax, dword [edx + 0x3c]
test eax, eax
je 0x10063700
mov edx, eax
mov dword [ebp - 0xac], edx
mov eax, dword [edx + 0x3c]
test eax, eax
jne 0x100636f1
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + edi*4 + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea eax, [eax + ecx*8]
jmp 0x10063721
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov dword [ebp - 0xb0], eax
call fcn.10067df0
mov esi, dword [ebp - 0xb0]
add esp, 4
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp edx, 0xffffffff
jne 0x1006374d
cmp ecx, 0x7fffffff
je 0x10065ee5
mov eax, dword [ebp - 0xbc]
cmp byte [eax + 0x1b], 0
jne 0x10065ee5
add edx, 1
adc ecx, 0
cmp dword [ebp - 0xc0], ecx
jg 0x10063787
jl 0x10063777
mov eax, dword [ebp - 0xc4]
cmp eax, edx
jae 0x1006378d
mov eax, edx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xc4], eax
jmp 0x1006378d
mov eax, dword [ebp - 0xc4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xc0]
mov dword [esi + 0x14], eax
mov esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc4]
cmp ecx, 0x7fffffff
jg 0x100637c2
jl 0x100637ba
cmp edx, 0xffffffff
jae 0x100637c2
add edx, 1
adc ecx, 0
jmp 0x100637d9
xorps xmm0, xmm0
movlpd qword [ebp - 0xec], xmm0
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xec]
push ecx
push edx
push dword [esi]
call fcn.10042e90
mov esi, dword [ebp - 0xbc]
add esp, 0xc
cmp byte [esi + 0x1b], 0
je 0x100638fc
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0xb8]
mov ecx, dword [ebp - 0xf8]
and eax, 0x3fffffff
push edx
add ecx, 1
mov dword [ebp - 0xb4], 0
push 0
adc eax, 0
mov dword [ebp - 0xc4], ecx
push eax
push ecx
mov dword [ebp - 0xc0], eax
push 0
push dword [esi]
call fcn.10041cb0
mov edx, eax
add esp, 0x18
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x100638f6
lea esp, [esp]
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
jne 0x100638ea
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp eax, 0x64
jge 0x100638ea
lea eax, [ebp - 0xc4]
push eax
push 8
call sym.YJK_SQL.dll_sqlite3_randomness
mov eax, dword [ebp - 0xc4]
add esp, 8
cmp dword [ebp - 0xb4], 5
jge 0x1006389d
and eax, 0xffffff
xor ecx, ecx
jmp 0x100638a9
mov ecx, dword [ebp - 0xc0]
and ecx, 0x3fffffff
add eax, 1
lea edx, [ebp - 0xb8]
push edx
push 0
adc ecx, 0
mov dword [ebp - 0xc4], eax
push ecx
push eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
push 0
push dword [eax]
call fcn.10041cb0
mov edx, eax
add esp, 0x18
mov dword [ebp - 0xd0], edx
test edx, edx
je 0x10063850
jmp 0x100638f6
test edx, edx
jne 0x100638f6
test ecx, ecx
je 0x10065ee5
mov esi, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xcc]
mov byte [esi + 0x19], 0
mov eax, dword [ebp - 0xbc]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 0xbc]
mov dword [eax + 0x4c], 0
mov edi, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xdc]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xc0]
mov dword [edi + 0x14], eax
jmp case.0x1005ff5d.17
mov eax, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc4], esi
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax + ecx*4]
mov dword [ebp - 0xb4], ebx
cmp byte [edx + edi*4], 0x37
mov eax, dword [edx + edi*4 + 0xc]
jne 0x10063996
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0xc0], eax
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xbc], ecx
mov edx, dword [eax + 0x14]
jmp 0x1006399f
cdq
mov ecx, eax
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb8], edx
test byte [eax + edi*4 + 3], 1
je 0x100639c1
mov eax, dword [ebp - 0xc8]
inc dword [eax + 0x6c]
mov eax, dword [ebp - 0xcc]
test byte [eax + edi*4 + 3], 2
je 0x100639f2
mov dword [ebp - 0xfc], edx
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xf8], ecx
mov dword [edx + 0x30], ecx
mov eax, dword [ebp - 0xb8]
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
test byte [esi + 0x1c], 1
je 0x10063a18
mov dword [esi + 4], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x18], 0
mov ebx, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xcc]
test byte [eax + edi*4 + 3], 0x10
je 0x10063a30
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0xac], eax
jmp 0x10063a3a
mov dword [ebp - 0xac], 0
mov eax, 0x4000
test word [esi + 0x1c], ax
je 0x10063a50
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xb0], eax
jmp 0x10063a5a
mov dword [ebp - 0xb0], 0
push 0
push 0
push dword [ebx]
call fcn.10042e90
push dword [ebp - 0xac]
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax + edi*4 + 3]
and eax, 8
push eax
push dword [ebp - 0xb0]
mov eax, dword [ebp - 0xc4]
push dword [eax + 0x18]
push dword [eax + 4]
mov eax, dword [ebp - 0xb4]
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
push 0
push dword [eax]
call fcn.100412e0
mov esi, dword [ebp - 0xdc]
mov edx, eax
mov eax, dword [ebp - 0xb4]
add esp, 0x30
mov dword [ebp - 0xd0], edx
test edx, edx
mov edx, dword [ebp - 0xcc]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0xb4]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 0xb4]
mov dword [eax + 0x4c], 0
jne 0x10065ba5
cmp dword [esi + 0xbc], 0
je 0x10065ba5
cmp dword [edx + edi*4 + 0x10], 0
je 0x10065ba5
mov eax, dword [ebp - 0xb4]
mov ebx, 0x17
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 8]
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xa8], edx
mov ecx, dword [eax + edi*4 + 0x10]
mov dword [ebp - 0xa4], ecx
test byte [eax + edi*4 + 3], 4
mov eax, 0x12
push ecx
cmovne eax, ebx
push edx
push eax
mov dword [ebp - 0xa0], eax
push dword [esi + 0xb8]
mov eax, dword [esi + 0xbc]
call eax
mov ebx, dword [ebp - 0xd8]
jmp 0x10065cc0
mov eax, dword [ebp - 0xc8]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc4], xmm0
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xbc], ecx
cmp dword [esi + 0xbc], 0
je 0x10063ba9
cmp dword [edx + edi*4 + 0x10], 0
je 0x10063ba9
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0xc4], eax
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0xc0], eax
push ecx
call fcn.1005fa90
mov edx, eax
add esp, 4
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef6
push eax
push eax
mov eax, dword [ebp - 0xbc]
push dword [eax]
call fcn.10042e90
mov eax, dword [ebp - 0xbc]
push dword [eax]
call fcn.10040ba0
mov edx, eax
add esp, 0x10
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd0], edx
mov dword [eax + 0x4c], 0
test edx, edx
jne 0x10063c3d
mov edx, dword [esi + 0xbc]
test edx, edx
je 0x10063c3d
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + edi*4 + 0x10]
test eax, eax
je 0x10063c3d
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 8]
add ecx, ecx
push dword [eax + ecx*8]
push 9
push dword [esi + 0xb8]
call edx
add esp, 0x18
mov edx, dword [ebp - 0xcc]
test byte [edx + edi*4 + 8], 1
je case.0x1005ff5d.17
mov eax, dword [ebp - 0xc8]
inc dword [eax + 0x6c]
jmp case.0x1005ff5d.17
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [eax + 0x6c]
add dword [esi + 0x40], eax
inc ebx
mov dword [esi + 0x3c], eax
mov dword [ecx + 0x6c], 0
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, dword [edx + edi*4 + 4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc4], ecx
push ecx
mov eax, dword [ecx]
mov dword [ebp - 0xc0], eax
call fcn.1005fa90
mov edx, eax
add esp, 4
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef6
mov eax, dword [ebp - 0xc4]
cmp byte [eax + 0x1f], dl
je 0x10063d13
lea eax, [ebp - 0xb4]
push eax
push dword [ebp - 0xc0]
call fcn.10041a70
mov eax, dword [esi + 0x48]
add esp, 8
cdq
cmp dword [ebp - 0xb0], edx
jg 0x1006604a
mov ecx, dword [ebp - 0xb4]
jl 0x10063d0b
cmp ecx, eax
ja 0x1006604a
mov dword [ebp - 0xbc], ecx
jmp 0x10063d37
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0xc0]
call fcn.10040b40
mov ecx, dword [ebp - 0xbc]
add esp, 8
cmp ecx, dword [esi + 0x48]
ja 0x1006604a
mov edi, dword [ebp - 0xe4]
push 0
push ecx
push edi
call fcn.10067c40
add esp, 0xc
test eax, eax
jne 0x1006122a
mov eax, dword [ebp - 0xbc]
mov ecx, 0xbf10
mov dword [edi + 0x18], eax
mov ax, word [edi + 0x1c]
and ax, cx
or ax, 0x10
mov word [edi + 0x1c], ax
mov eax, dword [ebp - 0xc4]
cmp byte [eax + 0x1f], 0
je 0x10063da4
push 0
push dword [edi + 4]
push dword [ebp - 0xbc]
push 0
push dword [ebp - 0xc0]
call fcn.1001a190
add esp, 0x14
mov dword [ebp - 0xd0], eax
mov byte [edi + 0x1f], 1
jmp 0x10065cc3
push dword [edi + 4]
push dword [ebp - 0xbc]
push 0
push dword [ebp - 0xc0]
call fcn.10040ae0
add esp, 0x10
mov dword [ebp - 0xd0], eax
mov byte [edi + 0x1f], 1
jmp 0x10065cc3
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc4], ecx
cmp byte [ecx + 0x1c], 0
je 0x10063e03
mov eax, dword [ebp - 0xe4]
mov ecx, 1
inc ebx
mov word [eax + 0x1c], cx
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
cmp byte [ecx + 0x1d], 0
je 0x10063e38
mov eax, dword [ecx + 0x38]
mov edi, dword [ebp - 0xe4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xbc]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [edi + 0x14], eax
jmp case.0x1005ff5d.17
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x10063e7a
mov eax, dword [eax]
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
push edx
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
push dword [ecx + 0x24]
mov eax, dword [eax + 0x30]
call eax
push dword [ebp - 0xb4]
mov dword [ebp - 0xd0], eax
push dword [ebp - 0xc8]
call fcn.1002dda0
add esp, 0x10
jmp 0x10063ec9
push ecx
call fcn.1005fa90
mov edx, eax
add esp, 4
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef6
mov ecx, dword [ebp - 0xc4]
cmp byte [ecx + 0x19], al
je 0x10063eb2
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0xbc], eax
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0xb8], eax
jmp 0x10063ec9
lea eax, [ebp - 0xbc]
push eax
push dword [ecx]
call fcn.10041a70
add esp, 8
mov dword [ebp - 0xd0], eax
mov edi, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xcc]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [edi + 0x14], eax
jmp case.0x1005ff5d.17
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc4], eax
mov byte [eax + 0x1c], 1
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
test eax, eax
je 0x1006055d
push eax
call fcn.10040280
mov edx, dword [ebp - 0xcc]
add esp, 4
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc4], ecx
mov eax, dword [ecx]
mov dword [ebp - 0xc0], eax
test eax, eax
jne 0x10063f69
mov dword [ebp - 0xbc], 1
jmp 0x10063f8b
lea ecx, [ebp - 0xbc]
push ecx
push eax
call fcn.10041ab0
mov ecx, dword [ebp - 0xc4]
add esp, 8
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov al, byte [ebp - 0xbc]
mov byte [ecx + 0x1c], al
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x4c], 0
mov eax, dword [edx + edi*4 + 8]
test eax, eax
jle case.0x1005ff5d.17
cmp dword [ebp - 0xbc], 0
je case.0x1005ff5d.17
lea ebx, [eax - 1]
jmp case.0x1005ff5d.17
mov eax, dword [ebp - 0xc8]
inc dword [eax + 0x80]
jmp 0x10063fea
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xbc], 1
mov eax, dword [ecx]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x10064066
lea ecx, [ebp - 0xbc]
push ecx
push eax
call fcn.10041080
mov edx, dword [ebp - 0xcc]
add esp, 8
cmp dword [ebp - 0xbc], 0
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc4]
sete cl
mov byte [eax + 0x1a], cl
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x19], 0
mov ecx, dword [ebp - 0xc4]
mov al, byte [ebp - 0xbc]
mov byte [ecx + 0x1c], al
cmp dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xd0]
je 0x10065ccf
mov ebx, dword [edx + edi*4 + 8]
dec ebx
jmp 0x10065ccf
cmp dword [esi + 0xe0], 0
jne 0x100661ee
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc4], eax
test eax, eax
je case.0x1005ff5d.17
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
test ecx, ecx
jne 0x100640d3
mov ecx, dword [ebp - 0xc8]
inc ebx
mov byte [eax + 0x1c], 1
jmp 0x1005feb4
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xbc], 1
cmp byte [edx + edi*4], 0x43
push eax
push ecx
jne 0x100640f2
call fcn.10042080
jmp 0x100640f7
call fcn.100427f0
mov ecx, dword [ebp - 0xc4]
add esp, 8
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov al, byte [ebp - 0xbc]
mov byte [ecx + 0x1c], al
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x4c], 0
cmp dword [ebp - 0xbc], 0
jne 0x10064151
mov eax, dword [edx + edi*4 + 8]
dec eax
mov dword [ebp - 0xd8], eax
mov al, byte [edx + edi*4 + 3]
test al, al
je 0x1006414b
mov ebx, dword [ebp - 0xc8]
movzx eax, al
inc dword [ebx + eax*4 + 0x78]
mov ebx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x19], 0
jmp case.0x1005ff5d.17
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov ebx, dword [ebp - 0xe0]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc4], ecx
mov eax, dword [edx + edi*4 + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov ebx, dword [ecx]
mov dword [ebp - 0xc0], ebx
test ebx, ebx
je 0x10062aee
mov eax, 0x4000
test word [esi + 0x1c], ax
je 0x100641c6
push esi
call fcn.100679c0
mov edx, eax
add esp, 4
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10061df0
mov ebx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [esi + 0x18]
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xbc], edx
mov esi, dword [esi + 4]
mov dword [ebp - 0xb8], esi
test byte [eax + edi*4 + 3], 0x10
je 0x100641ea
mov eax, dword [ecx + 0x48]
jmp 0x100641ec
xor eax, eax
push eax
mov eax, dword [ebp - 0xcc]
push dword [eax + edi*4 + 0xc]
mov eax, edx
push 0
push 0
push 0x10094340
cdq
push edx
push eax
push esi
push ebx
call fcn.100412e0
mov ebx, dword [ebp - 0xd8]
add esp, 0x24
mov esi, dword [ebp - 0xdc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x4c], 0
jmp 0x10065cc3
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc4], eax
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
test ecx, ecx
je case.0x1005ff5d.17
mov eax, dword [eax + 8]
mov dword [ebp - 0xb4], eax
mov ax, word [edx + edi*4 + 0xc]
mov word [ebp - 0xb0], ax
xor eax, eax
mov word [ebp - 0xae], ax
mov eax, dword [edx + edi*4 + 8]
mov edx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xbc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xb4]
push eax
push ecx
call fcn.10041cb0
mov edx, eax
add esp, 0x18
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x100642d2
cmp dword [ebp - 0xbc], eax
jne 0x100642d2
push dword [ebp - 0xc0]
call fcn.10040ba0
add esp, 4
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x4c], 0
jmp 0x10065cc3
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov edi, dword [ebp - 0xe4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc0], eax
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov eax, 1
mov word [edi + 0x1c], ax
cmp dword [ebp - 0xc4], 0
je 0x1006055d
push dword [ebp - 0xc0]
call fcn.1005fa90
mov edx, eax
add esp, 4
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef6
mov eax, dword [ebp - 0xc0]
cmp byte [eax + 0x1c], dl
jne 0x10060557
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0xc4]
push esi
call fcn.10066e30
mov edx, eax
add esp, 0xc
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x10065ef6
mov eax, dword [ebp - 0xbc]
inc ebx
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc8]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [edi + 0x14], eax
mov eax, 4
mov word [edi + 0x1c], ax
jmp 0x1005feb4
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc4], ecx
cmp dword [ecx], 0
je case.0x1005ff5d.17
mov eax, dword [ecx + 8]
mov dword [ebp - 0xbc], eax
mov ax, word [edx + edi*4 + 0x10]
mov word [ebp - 0xb8], ax
mov eax, 0xc
cmp byte [edx + edi*4 + 3], 0
jne 0x100643e3
mov eax, 4
mov word [ebp - 0xb6], ax
mov eax, dword [edx + edi*4 + 0xc]
mov edx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xbc]
push eax
push ecx
call fcn.10066d60
mov edx, dword [ebp - 0xcc]
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc0]
cmp byte [edx + edi*4], 0x51
jne 0x10064433
neg eax
jmp 0x10064434
inc eax
mov dword [ebp - 0xc0], eax
test eax, eax
mov eax, dword [ebp - 0xd0]
jle 0x10065ccf
mov ebx, dword [edx + edi*4 + 8]
dec ebx
jmp 0x10065ccf
xor ecx, ecx
mov dword [ebp - 0xc0], ecx
mov eax, dword [esi + 0x88]
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x10064499
lea ebx, [ebx]
cmp dword [eax + 0x34], 0xbdf20da3
jne 0x1006448c
cmp byte [eax + 0x66], 2
jae 0x1006448c
cmp dword [eax + 0x58], 0
jl 0x1006448c
inc ecx
mov dword [ebp - 0xc0], ecx
mov eax, dword [eax + 0x40]
mov dword [ebp - 0xbc], eax
test eax, eax
jne 0x10064470
mov eax, dword [ebp - 0xe4]
mov ecx, 1
mov word [eax + 0x1c], cx
cmp dword [ebp - 0xc0], ecx
jg 0x10065fa4
mov ecx, dword [edx + edi*4 + 0xc]
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xb8], ecx
add ecx, ecx
push eax
mov eax, dword [esi + 8]
push dword [edx + edi*4 + 4]
push dword [eax + ecx*8 + 4]
call fcn.10040df0
mov ecx, dword [ebp - 0xe4]
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov eax, 4
cmp dword [ebp - 0xd0], 0
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0xc4]
cdq
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
jne 0x10065cc3
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x10065cc3
mov ecx, dword [ebp - 0xcc]
push dword [ecx + edi*4 + 4]
push eax
push dword [ebp - 0xb8]
push esi
call fcn.100574c0
mov al, byte [ebp - 0xb8]
add esp, 0x10
inc al
mov byte [ebp - 0xd1], al
jmp 0x10065cc3
mov dword [ebp - 0xc4], 0
lea eax, [ebp - 0xc4]
xor ecx, ecx
cmp dword [edx + edi*4 + 0xc], ecx
cmove eax, ecx
mov ecx, dword [edx + edi*4 + 8]
push eax
mov eax, dword [esi + 8]
add ecx, ecx
push dword [edx + edi*4 + 4]
push dword [eax + ecx*8 + 4]
call fcn.100402a0
mov edx, dword [ebp - 0xcc]
add esp, 0xc
mov dword [ebp - 0xd0], eax
cmp dword [edx + edi*4 + 0xc], 0
je case.0x1005ff5d.17
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
add dword [ecx + 0x6c], eax
mov ecx, dword [edx + edi*4 + 0xc]
test ecx, ecx
jle case.0x1005ff5d.17
mov edi, dword [ebp - 0xe0]
lea ecx, [ecx + ecx*4]
cdq
add dword [edi + ecx*8 + 0x10], eax
adc dword [edi + ecx*8 + 0x14], edx
jmp 0x10065cc3
mov dword [ebp - 0xc4], 0
xor eax, eax
mov ecx, dword [edx + edi*4 + 4]
shl ecx, 4
add ecx, dword [esi + 8]
mov dword [ebp - 0xbc], ecx
cmp byte [edx + edi*4], 0x62
setne al
inc eax
push eax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc4]
push eax
push dword [ecx + 4]
call fcn.10040980
mov edi, dword [ebp - 0xe4]
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc4]
cdq
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
jmp 0x10065cc3
mov edx, dword [edx + edi*4 + 4]
mov eax, str.sqlite_master
cmp edx, 1
mov dword [ebp - 0xc4], edx
mov ecx, str.sqlite_temp_master
mov dword [ebp - 0xb8], esi
cmovne ecx, eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc0], ecx
add edx, edx
mov eax, dword [eax + edi*4 + 4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xc8]
add eax, 0x38
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xcc]
push dword [eax + edi*4 + 0x10]
mov eax, dword [esi + 8]
push ecx
push dword [eax + edx*8]
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s_ORDER_BY_rowid
push esi
call fcn.100504b0
add esp, 0x14
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x1006122a
push 0
lea eax, [ebp - 0xb8]
mov byte [esi + 0x7c], 1
push eax
push fcn.1004e320
push dword [ebp - 0xbc]
mov dword [ebp - 0xac], 0
push esi
call sym.YJK_SQL.dll_sqlite3_exec
push dword [ebp - 0xbc]
test eax, eax
push esi
cmove eax, dword [ebp - 0xac]
mov dword [ebp - 0xd0], eax
call fcn.10045340
add esp, 0x1c
mov byte [esi + 0x7c], 0
cmp dword [ebp - 0xd0], 7
je 0x1006122a
jmp 0x10065cc3
push dword [edx + edi*4 + 4]
push esi
call fcn.1003db00
add esp, 8
mov dword [ebp - 0xd0], eax
jmp 0x10065cc3
push dword [edx + edi*4 + 0x10]
push dword [edx + edi*4 + 4]
push esi
call fcn.1005b890
mov edx, dword [ebp - 0xcc]
add esp, 0xc
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
push dword [edx + edi*4 + 0x10]
push dword [edx + edi*4 + 4]
push esi
call fcn.1005b7b0
mov edx, dword [ebp - 0xcc]
add esp, 0xc
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
push dword [edx + edi*4 + 0x10]
push dword [edx + edi*4 + 4]
push esi
call fcn.1005b930
mov edx, dword [ebp - 0xcc]
add esp, 0xc
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 8]
mov dword [ebp - 0xc4], eax
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100453d0
mov edx, eax
add esp, 8
mov dword [ebp - 0xc0], edx
test edx, edx
je 0x1006122a
mov eax, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xe0]
mov ecx, dword [eax + edi*4 + 0xc]
lea ecx, [ecx + ecx*4]
lea ecx, [esi + ecx*8]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [eax + edi*4 + 4]
lea eax, [ecx + ecx*4]
lea esi, [esi + eax*8]
xor eax, eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xc4], eax
jle 0x10064809
lea ecx, [ecx]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.10066f80
mov edx, dword [ebp - 0xbc]
add esp, 4
mov ecx, dword [ebp - 0xc0]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp eax, dword [ebp - 0xc4]
jl 0x100647d0
mov edx, dword [ebp - 0xc0]
mov dword [edx + eax*4], 0
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0xb0]
push dword [eax + 0x10]
mov eax, dword [ebp - 0xcc]
push dword [ebp - 0xc4]
push dword [ebp - 0xc0]
movzx ecx, byte [eax + edi*4 + 3]
mov edi, dword [ebp - 0xdc]
add ecx, ecx
mov eax, dword [edi + 8]
push dword [eax + ecx*8 + 4]
call fcn.100414e0
push dword [ebp - 0xc0]
mov dword [ebp - 0xb4], eax
push edi
call fcn.10045340
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xb8]
cdq
push esi
sub dword [ecx + 0x10], eax
sbb dword [ecx + 0x14], edx
call fcn.10068220
add esp, 0x20
cmp dword [ebp - 0xb8], 0
je 0x100648a3
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x10066254
push sym.YJK_SQL.dll_sqlite3_free
push 1
push 0xffffffffffffffff
push eax
push esi
call fcn.10068330
add esp, 0x14
movzx eax, byte [ebp - 0xf0]
push eax
push esi
call fcn.1005f520
mov edx, dword [ebp - 0xcc]
add esp, 8
mov ecx, dword [ebp - 0xc8]
mov esi, edi
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 0x20
lea esi, [ecx + eax*8]
mov eax, dword [edx + edi*4 + 8]
lea edi, [eax + eax*4]
jne 0x100648f9
push esi
call fcn.10068270
add esp, 4
test byte [esi + 0x1c], 0x20
je 0x10066249
mov eax, dword [ebp - 0xe0]
push dword [eax + edi*8 + 0x14]
push dword [eax + edi*8 + 0x10]
push dword [esi + 0x10]
call fcn.10057620
mov esi, dword [ebp - 0xdc]
add esp, 0xc
mov edx, dword [ebp - 0xcc]
inc ebx
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
cmp dword [esi + 0xe0], 0
jne 0x100661ee
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 0x1c], 0x20
lea esi, [ecx + eax*8]
je 0x100649a7
lea eax, [ebp - 0xc4]
push eax
push dword [esi + 0x10]
call fcn.100576b0
add esp, 8
test eax, eax
je 0x100649a7
mov eax, dword [ebp - 0xcc]
push dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xe0]
push dword [ebp - 0xc4]
mov eax, dword [eax + edi*4 + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.100681d0
mov edx, dword [ebp - 0xcc]
add esp, 0xc
mov esi, dword [ebp - 0xdc]
inc ebx
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
push esi
call fcn.10068220
mov edx, dword [ebp - 0xcc]
add esp, 4
mov esi, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xc8]
mov ebx, dword [edx + edi*4 + 8]
dec ebx
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + edi*4 + 0xc]
lea ebx, [eax + eax*4]
mov eax, dword [edx + edi*4 + 0x10]
mov dword [ebp - 0xc4], eax
test byte [esi + 0x1c], 0x20
jne 0x10064a13
push esi
call fcn.10068270
add esp, 4
test byte [esi + 0x1c], 0x20
je 0x10066249
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xe0]
test eax, eax
je 0x10064a64
js 0x10064a1e
and eax, 0xf
jmp 0x10064a23
mov eax, 0xff
push dword [ecx + ebx*8 + 0x14]
push dword [ecx + ebx*8 + 0x10]
push eax
push dword [esi + 0x10]
call fcn.10057730
add esp, 0x10
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x10064a5c
mov edx, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xc8]
mov ebx, dword [edx + edi*4 + 8]
jmp 0x1005feb4
mov eax, dword [ebp - 0xc4]
test eax, eax
js 0x10064a7f
mov edi, dword [ebp - 0xe0]
push dword [edi + ebx*8 + 0x14]
push dword [edi + ebx*8 + 0x10]
push dword [esi + 0x10]
call fcn.10057620
add esp, 0xc
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
inc ebx
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
mov ecx, dword [ebp - 0xcc]
mov edx, dword [edx + edi*4 + 0x10]
mov esi, dword [ebp - 0xe0]
mov dword [ebp - 0xac], edx
mov eax, dword [ecx + edi*4 + 0xc]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov dword [ebp - 0xbc], esi
cmp byte [ecx + edi*4 + 3], 0
je 0x10064b06
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0xa8], ecx
mov eax, dword [eax + 0xa8]
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x10064b06
lea esp, [esp]
cmp dword [eax + 0x20], ecx
je 0x100602bc
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xb0], eax
test eax, eax
jne 0x10064af0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xdc]
mov eax, dword [eax + 0xb0]
cmp eax, dword [ecx + 0x70]
jge 0x10065fc5
test byte [esi + 0x1c], 0x40
jne 0x10064c90
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
mov esi, dword [ebp - 0xdc]
mov dword [ebp - 0xc4], eax
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
lea eax, [eax + ecx*2]
lea eax, [eax*4 + 0x40]
push eax
push esi
mov dword [ebp - 0xc0], eax
call fcn.100454a0
add esp, 8
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x1006122a
push dword [ebp - 0xbc]
call fcn.10068060
mov eax, dword [ebp - 0xbc]
mov ecx, 0x40
mov edx, dword [ebp - 0xc8]
add esp, 4
mov word [eax + 0x1c], cx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb0]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0xb0]
mov dword [eax], edx
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xc4]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0xb0]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xd8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [edx + 8]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [edx + 0x44]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 0xb0]
mov cx, word [edx + 0x32]
mov word [eax + 0x1c], cx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [edx + 4]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0xb0]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0x24]
lea ecx, [edx + 0x40]
mov dword [ebp - 0xb8], ecx
lea eax, [eax + eax*4]
lea eax, [eax + 8]
lea eax, [edx + eax*8]
mov dword [ebp - 0xb4], eax
cmp ecx, eax
je 0x10064c9b
jmp 0x10064c60
mov eax, 1
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0xb8]
mov dword [eax], esi
mov ecx, dword [ebp - 0xb8]
add ecx, 0x28
mov dword [ebp - 0xb8], ecx
cmp ecx, dword [ebp - 0xb4]
jne 0x10064c60
mov edx, dword [ebp - 0xb0]
jmp 0x10064c9b
mov edx, dword [esi + 0x10]
mov esi, ecx
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xf8]
mov ebx, dword [ebp - 0xc8]
inc dword [eax + 0xb0]
mov eax, dword [eax + 0xa8]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xc8]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xfc]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [edx + 0x6c]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0xa8], ecx
mov dword [edx + 0x6c], 0
lea edi, [ecx + 0x18]
mov dword [edx + 8], edi
mov eax, dword [ecx + 0x24]
mov dword [edx + 0x18], eax
mov ax, word [ecx + 0x28]
mov ecx, dword [ebp - 0xc8]
mov word [edx + 0x32], ax
mov eax, dword [edx + 0x18]
inc eax
mov dword [ebp - 0xe0], edi
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0xac]
mov edx, dword [eax]
mov dword [ebx + 4], edx
mov eax, dword [eax + 4]
mov dword [ebx + 0x1c], eax
or ebx, 0xffffffff
mov dword [ebp - 0xcc], edx
inc ebx
jmp 0x1005feb4
mov eax, dword [ebp - 0xc8]
push 0x1000
mov edx, dword [eax + 0xa8]
mov dword [ebp - 0xc4], edx
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4 + 4]
mov ecx, dword [ebp - 0xcc]
add eax, dword [ecx + edi*4 + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea eax, [eax + ecx*8]
push eax
push dword [ebp - 0xe4]
mov dword [ebp - 0xc0], eax
call fcn.10068560
mov edx, dword [ebp - 0xcc]
add esp, 0xc
mov ecx, dword [ebp - 0xc8]
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 8]
cmp dword [edx + edi*4 + 4], 0
cdq
je 0x10064dce
add dword [esi + 0x1f0], eax
mov ecx, dword [ebp - 0xc8]
adc dword [esi + 0x1f4], edx
inc ebx
mov edx, dword [ebp - 0xcc]
jmp 0x1005feb4
mov ecx, dword [ebp - 0xc8]
add dword [ecx + 0x90], eax
adc dword [ecx + 0x94], edx
inc ebx
jmp 0x1005feae
cmp dword [edx + edi*4 + 4], 0
je 0x10064e10
mov eax, dword [esi + 0x1f0]
or eax, dword [esi + 0x1f4]
jne 0x100602c8
mov ebx, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xc8]
dec ebx
inc ebx
jmp 0x1005feb4
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [eax + 0x90]
or eax, dword [ecx + 0x94]
jne 0x10064e2f
mov ebx, dword [edx + edi*4 + 8]
dec ebx
inc ebx
jmp 0x1005feb4
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax + 0xa8]
test edx, edx
je 0x10064e76
mov dword [ebp - 0xc0], edx
mov eax, dword [edx + 0x3c]
test eax, eax
je 0x10064e61
mov edx, eax
mov dword [ebp - 0xc0], edx
mov eax, dword [edx + 0x3c]
test eax, eax
jne 0x10064e52
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + edi*4 + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea eax, [eax + ecx*8]
jmp 0x10064e8c
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xe0]
mov eax, dword [eax + edi*4 + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov dword [ebp - 0xc4], eax
call fcn.10067df0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xe0]
mov eax, dword [eax + edi*4 + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.10067df0
mov eax, dword [ebp - 0xc4]
add esp, 8
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
cmp dword [eax + 0x14], edx
jg 0x100602bc
jl 0x10064ed7
cmp dword [eax + 0x10], ecx
jae 0x100602bc
mov esi, dword [ebp - 0xdc]
inc ebx
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0xc8]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 0xcc]
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
cmp dword [ecx + eax*8 + 0x14], 0
jl 0x100602c8
jg 0x10064dff
cmp dword [ecx + eax*8 + 0x10], 0
jbe 0x100602c8
mov ebx, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xc8]
dec ebx
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
cmp dword [ecx + eax*8 + 0x14], 0
jg 0x100602c8
jl 0x10064dff
cmp dword [ecx + eax*8 + 0x10], 0
jae 0x100602c8
mov ebx, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xc8]
dec ebx
inc ebx
jmp 0x1005feb4
mov eax, dword [edx + edi*4 + 4]
mov esi, dword [ebp - 0xe0]
lea ecx, [eax + eax*4]
mov eax, dword [edx + edi*4 + 0xc]
cdq
add dword [esi + ecx*8 + 0x10], eax
mov eax, esi
adc dword [eax + ecx*8 + 0x14], edx
mov edx, esi
mov eax, dword [eax + ecx*8 + 0x10]
mov esi, dword [ebp - 0xdc]
or eax, dword [edx + ecx*8 + 0x14]
mov edx, dword [ebp - 0xcc]
jne 0x100602c8
mov ebx, dword [edx + edi*4 + 8]
mov ecx, dword [ebp - 0xc8]
dec ebx
inc ebx
jmp 0x1005feb4
movzx ecx, byte [edx + edi*4 + 3]
mov dword [ebp - 0xc4], ecx
mov eax, dword [edx + edi*4 + 8]
mov edx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], edx
mov esi, dword [eax + 0xc]
xor eax, eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0xc0], eax
test ecx, ecx
jle 0x1006502a
jmp 0x10064ff0
mov dword [esi + eax*4], edx
push dword [ebp - 0xb8]
call fcn.100685b0
mov eax, dword [ebp - 0xc0]
add esp, 4
mov edx, dword [ebp - 0xb8]
inc eax
add edx, 0x28
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xb8], edx
cmp eax, dword [ebp - 0xc4]
jge 0x1006502a
mov esi, dword [ebp - 0x74]
jmp 0x10064ff0
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xdc]
mov eax, dword [edx + edi*4 + 0x10]
mov dword [ebp - 0xb4], eax
mov eax, dword [edx + edi*4 + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x84], eax
inc dword [eax + 0x18]
mov eax, 1
mov ecx, dword [ebp - 0xb4]
mov word [ebp - 0x90], ax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
test byte [ecx + 3], 8
je 0x100650b0
mov eax, dword [edx + edi*4 - 4]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x74]
lea eax, [ebp - 0xb4]
push dword [ebp - 0xc4]
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0xc
cmp dword [ebp - 0x80], 0
je 0x100650fe
lea eax, [ebp - 0xac]
push 1
push eax
call fcn.1005efc0
push eax
mov eax, dword [ebp - 0xc8]
push 0x10094370
add eax, 0x38
push esi
push eax
call fcn.10059fd0
mov eax, dword [ebp - 0x80]
add esp, 0x18
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xac]
push eax
call fcn.10068060
add esp, 4
jmp 0x10065cc3
mov eax, dword [edx + edi*4 + 4]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0xc4], eax
push dword [edx + edi*4 + 0x10]
push eax
call fcn.10067a30
add esp, 8
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x10065165
push 1
push dword [ebp - 0xc4]
call fcn.1005efc0
push eax
mov eax, dword [ebp - 0xc8]
push 0x10094370
add eax, 0x38
push esi
push eax
call fcn.10059fd0
add esp, 0x18
movzx eax, byte [ebp - 0xf0]
push eax
push dword [ebp - 0xc4]
call fcn.1005f520
push dword [ebp - 0xc4]
call fcn.10068690
add esp, 0xc
test eax, eax
jne 0x1006604a
jmp 0x10065cc3
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xc0], 0
push eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb8], 0xffffffff
push eax
mov dword [ebp - 0xbc], 0xffffffff
push dword [edx + edi*4 + 8]
push dword [edx + edi*4 + 4]
push esi
call fcn.100434c0
mov edx, eax
add esp, 0x14
mov dword [ebp - 0xd0], edx
cmp edx, 5
jne 0x100651f1
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xc0], 1
mov ecx, dword [ebp - 0xcc]
xor eax, eax
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ecx + edi*4 + 0xc]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*8]
mov dword [ebp - 0xb4], ecx
mov eax, dword [ebp + eax*4 - 0xc0]
cdq
push edx
push eax
push ecx
call fcn.100681d0
mov eax, dword [ebp - 0xc4]
add esp, 0xc
mov ecx, dword [ebp - 0xb4]
inc eax
add ecx, 0x28
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xb4], ecx
cmp eax, 3
jl 0x10065215
jmp 0x10065cc3
mov edx, dword [edx + edi*4 + 0xc]
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xbc], edx
mov ecx, dword [eax + edi*4 + 4]
mov eax, dword [esi + 8]
add ecx, ecx
cmp edx, 0xffffffff
mov eax, dword [eax + ecx*8 + 4]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xe8], eax
mov eax, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0xc0], esi
movzx ebx, byte [esi + 5]
cmove edx, ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xbc], edx
cmp byte [esi + 0xf], 3
jae 0x100652b4
mov eax, dword [esi + 0x40]
cmp dword [eax], 0
je 0x100652bc
cmp dword [esi + 0x4c], 0
jl 0x100652bc
jg 0x100652b4
cmp dword [esi + 0x48], 0
jbe 0x100652bc
mov edx, ebx
mov dword [ebp - 0xbc], edx
mov eax, dword [esi + 0x90]
mov dword [ebp - 0xb4], eax
cmp edx, 5
jne 0x100652ec
cmp byte [eax], 0
je 0x100652df
push esi
call fcn.10053310
add esp, 4
test eax, eax
jne 0x100652ec
mov edx, ebx
mov dword [ebp - 0xbc], edx
jmp 0x100653b4
cmp edx, ebx
je 0x100653b4
cmp ebx, 5
je 0x10065302
cmp edx, 5
jne 0x100653b4
mov eax, dword [ebp - 0xdc]
cmp byte [eax + 0x1c], 0
je 0x10065ffa
cmp dword [eax + 0x8c], 1
jg 0x10065ffa
cmp ebx, 5
jne 0x10065359
push esi
call fcn.10051d90
add esp, 4
mov dword [ebp - 0xd0], eax
test eax, eax
jne 0x1006539a
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
call fcn.10052d60
mov edx, dword [ebp - 0xbc]
add esp, 8
mov ecx, dword [ebp - 0xc4]
jmp 0x1006537d
cmp ebx, 4
jne 0x10065377
push 2
push esi
call fcn.10052d60
mov edx, dword [ebp - 0xbc]
add esp, 8
mov ecx, dword [ebp - 0xc4]
jmp 0x1006537d
mov ecx, dword [ebp - 0xe8]
xor eax, eax
cmp edx, 5
sete al
inc eax
push eax
push ecx
call fcn.10043000
add esp, 8
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x100653a8
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
jmp 0x100653ae
mov edx, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xc0]
push edx
push esi
call fcn.10052d60
mov ecx, dword [ebp - 0xe0]
add esp, 8
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + edi*4 + 8]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, 0xa02
mov word [edi + 0x1c], ax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xe4], edi
cmp eax, 6
jne 0x100653f8
xor eax, eax
jmp 0x100653ff
mov eax, dword [eax*4 + 0x100948f0]
push eax
mov dword [edi + 4], eax
call fcn.1005af80
mov dword [edi + 0x18], eax
movzx eax, byte [ebp - 0xf0]
push eax
push edi
mov byte [edi + 0x1f], 1
call fcn.1005f520
mov ebx, dword [ebp - 0xd8]
add esp, 0xc
mov esi, dword [ebp - 0xdc]
jmp 0x10065cc3
mov eax, dword [ebp - 0xc8]
add eax, 0x38
push esi
push eax
call fcn.10057ca0
add esp, 8
mov dword [ebp - 0xd0], eax
jmp 0x10065cc3
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [esi + 8]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 4]
push eax
mov dword [ebp - 0xc4], eax
call fcn.10041220
mov edx, eax
add esp, 4
mov dword [ebp - 0xd0], edx
cmp edx, 0x65
mov edx, dword [ebp - 0xcc]
jne case.0x1005ff5d.17
mov ebx, dword [edx + edi*4 + 8]
dec ebx
xor eax, eax
mov dword [ebp - 0xd0], eax
jmp 0x10065ccf
cmp dword [edx + edi*4 + 4], 0
jne 0x100654b0
push esi
call fcn.10046c20
mov ecx, dword [ebp - 0xc8]
add esp, 4
inc ebx
jmp 0x1005feb4
mov ecx, dword [ebp - 0xc8]
inc ebx
mov byte [ecx + 0x63], 1
jmp 0x1005feb4
mov al, byte [edx + edi*4 + 0xc]
mov byte [ebp - 0x110], al
test al, al
jne 0x100654db
test dword [esi + 0xc], 0x80000
jne case.0x1005ff5d.17
mov ecx, dword [edx + edi*4 + 4]
push dword [ebp - 0x110]
mov eax, dword [esi + 8]
add ecx, ecx
push dword [edx + edi*4 + 8]
push dword [eax + ecx*8 + 4]
call fcn.10041be0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0xd0], edx
cmp dl, 6
jne 0x10065cc3
mov eax, dword [ebp - 0xcc]
push dword [eax + edi*4 + 0x10]
mov eax, dword [ebp - 0xc8]
push str.database_table_is_locked:__s
add eax, 0x38
push esi
push eax
call fcn.10059fd0
add esp, 0x10
jmp 0x10065cc3
mov eax, dword [edx + edi*4 + 0x10]
push eax
push esi
mov dword [ebp - 0xc4], eax
call fcn.10069980
mov dword [ebp - 0xd0], eax
add esp, 8
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x10065cc3
push dword [eax + 8]
push dword [ebp - 0xc8]
call fcn.1002dda0
add esp, 8
jmp 0x10065cc3
mov eax, dword [ebp - 0xc8]
add eax, 0x38
push eax
push dword [edx + edi*4 + 0x10]
push dword [edx + edi*4 + 4]
push esi
call fcn.10069c30
add esp, 0x10
mov dword [ebp - 0xd0], eax
jmp 0x10065cc3
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x66], 2
push dword [edx + edi*4 + 0x10]
push dword [edx + edi*4 + 4]
push esi
call fcn.10069d50
mov dword [ebp - 0xd0], eax
add esp, 0xc
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x66], 0
jmp 0x10065cc3
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov eax, dword [edx + edi*4 + 0x10]
lea edx, [ebp - 0xc0]
push edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xbc], ecx
push ecx
mov eax, dword [ecx]
mov dword [ebp - 0xb8], eax
mov eax, dword [eax + 0x18]
call eax
push dword [ebp - 0xbc]
mov dword [ebp - 0xd0], eax
push dword [ebp - 0xc8]
call fcn.1002dda0
add esp, 0x10
cmp dword [ebp - 0xd0], 0
jne 0x10065cc3
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
push 0
push 0xffffffffffffffff
mov dword [eax], ecx
mov eax, dword [ebp - 0xcc]
push 0
push dword [eax + edi*4 + 4]
push dword [ebp - 0xc8]
call fcn.1001b1c0
add esp, 0x14
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x10065681
mov ecx, dword [ebp - 0xc0]
inc ebx
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feae
mov byte [esi + 0x1e], 1
mov eax, dword [ebp - 0xb8]
push dword [ebp - 0xc0]
mov eax, dword [eax + 0x1c]
call eax
add esp, 4
jmp 0x10065cc3
mov eax, dword [edx + edi*4 + 0xc]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb8], edx
lea esi, [edx + 0x28]
mov dword [ebp - 0xb4], esi
mov ecx, dword [eax + edi*4 + 4]
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xa8], eax
mov ebx, dword [eax + 0x24]
mov dword [ebp - 0xb0], ebx
mov eax, dword [ebx]
mov dword [ebp - 0xac], eax
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xe8], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc4], eax
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xc0], ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xa4], 0
mov edx, dword [ecx + 0xc]
xor ecx, ecx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], ecx
test eax, eax
jle 0x10065797
lea eax, [ecx + 1]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x9c]
push dword [eax + ecx*4]
call fcn.100685b0
mov ecx, dword [ebp - 0xa0]
add esp, 4
mov eax, dword [ebp - 0xc4]
inc ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
cmp ecx, eax
jge 0x1006577d
mov esi, dword [ebp - 0xb4]
jmp 0x10065735
mov ecx, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xc0]
mov dword [ebp - 0xe8], ecx
jmp 0x1006579d
mov esi, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xc8]
push edx
push eax
mov eax, dword [ebp - 0xcc]
mov byte [ecx + 0x66], 1
mov ecx, dword [ebp - 0xe8]
push dword [eax + edi*4 + 0x10]
mov eax, dword [ecx + 0x20]
push esi
push ebx
call eax
push dword [ebp - 0xac]
mov ebx, eax
mov eax, dword [ebp - 0xc8]
push eax
mov dword [ebp - 0xd0], ebx
mov byte [eax + 0x66], 0
call fcn.1002dda0
add esp, 0x1c
test ebx, ebx
jne 0x10065801
mov eax, dword [ebp - 0xbc]
push dword [ebp - 0xb0]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
mov dword [ebp - 0xa4], eax
jmp 0x10065807
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xcc]
test eax, eax
je 0x1006581c
mov eax, dword [edx + edi*4 + 8]
dec eax
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
mov byte [eax + 0x1c], 0
jmp case.0x1005ff5d.17
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx + edi*4 + 0xc]
mov ecx, dword [ebp - 0xe0]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0xbc], eax
cmp byte [esi + 0x1c], 0
je 0x10065884
push eax
call fcn.10068220
mov esi, dword [ebp - 0xdc]
add esp, 4
mov edx, dword [ebp - 0xcc]
inc ebx
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
mov eax, dword [esi + 0x24]
push 0x40
push 0
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xb4]
push eax
call sub.MSVCR120.dll_memset
push dword [ebp - 0xbc]
lea eax, [ebp - 0xac]
push eax
call fcn.10067e90
mov eax, dword [ebp - 0x90]
and eax, 0xbf01
or eax, 1
mov word [ebp - 0x90], ax
mov eax, dword [ebp - 0xcc]
push dword [eax + edi*4 + 8]
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0xc0]
push dword [esi + 0x24]
mov eax, dword [eax + 0x2c]
call eax
push dword [ebp - 0xc4]
mov esi, eax
push dword [ebp - 0xc8]
call fcn.1002dda0
mov eax, dword [ebp - 0x80]
test eax, eax
cmovne esi, eax
movzx eax, byte [ebp - 0xf0]
push eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xd0], esi
push eax
call fcn.1005f520
lea eax, [ebp - 0xac]
push eax
push dword [ebp - 0xbc]
call fcn.10067e90
push dword [ebp - 0xbc]
call fcn.10068690
mov esi, dword [ebp - 0xdc]
add esp, 0x3c
test eax, eax
jne 0x1006604a
jmp 0x10065cc3
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xbc], 0
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xb8], ecx
cmp byte [ecx + 0x1c], 0
jne case.0x1005ff5d.17
mov eax, dword [ecx + 0x24]
mov edx, dword [ebp - 0xc8]
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
mov byte [edx + 0x66], 1
push dword [ecx + 0x24]
mov eax, dword [eax + 0x24]
call eax
push dword [ebp - 0xc4]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc8]
push eax
mov byte [eax + 0x66], 0
call fcn.1002dda0
add esp, 0xc
cmp dword [ebp - 0xd0], 0
jne 0x100659eb
mov eax, dword [ebp - 0xb8]
push dword [eax + 0x24]
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
mov dword [ebp - 0xbc], eax
jmp 0x100659f1
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xcc]
test eax, eax
mov eax, dword [ebp - 0xd0]
jne 0x10065ccf
mov ebx, dword [edx + edi*4 + 8]
dec ebx
jmp 0x10065ccf
mov eax, dword [edx + edi*4 + 0x10]
mov ecx, dword [ebp - 0xe0]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], edx
mov eax, dword [eax + edi*4 + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0xc0], eax
mov ecx, dword [edx]
push dword [eax + 4]
push edx
mov eax, dword [ecx + 0x4c]
call eax
push dword [ebp - 0xc4]
mov dword [ebp - 0xd0], eax
push dword [ebp - 0xc8]
call fcn.1002dda0
mov eax, dword [ebp - 0xc8]
add esp, 0x10
mov byte [eax + 0x63], 0
jmp 0x10065cc3
mov eax, dword [edx + edi*4 + 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc4], eax
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
mov edx, dword [edx + edi*4 + 8]
mov dword [ebp - 0xbc], edx
cmp dword [eax + 0x34], 0
je 0x10065cc3
mov eax, dword [ebp - 0xc8]
mov bl, byte [esi + 0x22]
mov ecx, dword [ebp - 0xe0]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + edi*4 + 0xc]
mov dword [ebp - 0xb8], 0
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov dword [ebp - 0xa8], ecx
test edx, edx
jle 0x10065b13
push ecx
call fcn.100685b0
mov ecx, dword [ebp - 0xb8]
add esp, 4
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0xa8]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xa8]
inc eax
add ecx, 0x28
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xa8], ecx
cmp eax, dword [ebp - 0xbc]
jl 0x10065ad1
mov eax, dword [ebp - 0xcc]
mov al, byte [eax + edi*4 + 3]
mov byte [esi + 0x22], al
lea eax, [ebp - 0xb4]
push eax
push dword [ebp - 0xac]
mov eax, dword [ebp - 0xc0]
push dword [ebp - 0xbc]
push dword [ebp - 0xc4]
mov eax, dword [eax + 0x34]
call eax
mov byte [esi + 0x22], bl
push dword [ebp - 0xc4]
mov dword [ebp - 0xd0], eax
push dword [ebp - 0xc8]
call fcn.1002dda0
mov edx, dword [ebp - 0xd0]
add esp, 0x18
test edx, edx
jne 0x10065bb0
mov edx, dword [ebp - 0xcc]
cmp dword [edx + edi*4 + 4], 0
je 0x10065b9c
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xf8], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xfc], ecx
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0xc8]
inc dword [eax + 0x6c]
mov ebx, dword [ebp - 0xd8]
jmp case.0x1005ff5d.17
cmp edx, 0x13
mov edx, dword [ebp - 0xcc]
jne 0x10065b9c
mov eax, dword [edx + edi*4 + 0x10]
cmp byte [eax + 0x10], 0
je 0x10065b9c
cmp byte [edx + edi*4 + 3], 4
jne 0x10066072
mov ebx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc8]
inc ebx
mov dword [ebp - 0xd0], 0
jmp 0x1005feb4
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [esi + 8]
add ecx, ecx
inc ebx
mov eax, dword [eax + ecx*8 + 4]
mov ecx, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
mov ecx, dword [edx + edi*4 + 4]
mov eax, dword [esi + 8]
add ecx, ecx
mov edx, dword [eax + ecx*8 + 4]
xor eax, eax
mov ecx, dword [ebp - 0xcc]
mov ecx, dword [ecx + edi*4 + 0xc]
test ecx, ecx
je 0x10065c43
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x30]
cmp eax, ecx
cmovb eax, ecx
push eax
push edx
call fcn.10041c50
mov ecx, dword [ebp - 0xe4]
add esp, 8
cdq
inc ebx
mov dword [ecx + 0x14], edx
mov edx, dword [ebp - 0xcc]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0xc8]
jmp 0x1005feb4
cmp dword [esi + 0x98], 0
je case.0x1005ff5d.17
mov eax, dword [edx + edi*4 + 0x10]
test eax, eax
jne 0x10065c89
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0xa0]
mov dword [ebp - 0xc4], eax
test eax, eax
je case.0x1005ff5d.17
push eax
push dword [ebp - 0xc8]
call fcn.100664e0
push eax
mov dword [ebp - 0xc0], eax
push dword [esi + 0x9c]
mov eax, dword [esi + 0x98]
call eax
push dword [ebp - 0xc0]
push esi
call fcn.10045340
add esp, 0x18
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xd0]
inc ebx
mov dword [ebp - 0xd8], ebx
test eax, eax
jne 0x10065f30
mov ecx, dword [ebp - 0xc8]
jmp 0x1005fec0
mov edx, 9
mov dword [ebp - 0xd0], edx
jmp 0x10065f36
mov ecx, dword [edx + edi*4 + 4]
mov dword [ebx + 0x5c], ecx
mov al, byte [edx + edi*4 + 8]
mov edx, dword [ebp - 0xd8]
mov byte [ebx + 0x60], al
mov dword [ebx + 0x58], edx
mov ebx, dword [ebp - 0xcc]
mov eax, dword [ebx + edi*4 + 0x10]
test eax, eax
je 0x10065d57
push eax
push 0x10094370
push esi
mov esi, dword [ebp - 0xc8]
lea eax, [esi + 0x38]
push eax
call fcn.10059fd0
push dword [ebx + edi*4 + 0x10]
push dword [esi + 0xa0]
push dword [ebp - 0xd8]
push str.abort_at__d_in___s_:__s
push dword [ebx + edi*4 + 4]
call sym.YJK_SQL.dll_sqlite3_log
add esp, 0x24
jmp 0x10065d79
test ecx, ecx
je 0x10065d79
mov eax, dword [ebp - 0xc8]
push dword [eax + 0xa0]
push edx
push str.constraint_failed_at__d_in___s_
push dword [ebx + edi*4 + 4]
call sym.YJK_SQL.dll_sqlite3_log
add esp, 0x10
mov edi, dword [ebp - 0xc8]
push edi
call fcn.10066a90
add esp, 4
cmp eax, 5
je 0x10065e7f
cmp dword [edi + 0x5c], 0
mov esi, 0x65
mov eax, 1
cmovne esi, eax
jmp 0x10065e87
cmp byte [esi + 0x1e], 0
jne 0x1006122a
mov esi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [esi + 0x58], eax
mov esi, 0x64
jmp 0x10065e87
lea eax, [ebp - 0xb4]
push eax
call fcn.10068060
add esp, 4
jmp 0x1006122a
mov edx, 0x14
mov dword [ebp - 0xd0], edx
jmp 0x10065ef6
push str.cannot_open_savepoint___SQL_statements_in_progress
mov eax, dword [ebp - 0xc8]
add eax, 0x38
push esi
push eax
call fcn.10059fd0
mov edi, dword [ebp - 0xd8]
mov edx, 5
add esp, 0xc
mov dword [ebp - 0xd0], edx
inc edi
jmp 0x10065f3c
mov eax, dword [ebp - 0xd8]
mov dword [esi + 0x58], eax
mov esi, 5
mov eax, dword [ebp - 0xc8]
mov byte [edi + 0x1c], 0
mov dword [eax + 0x5c], esi
jmp 0x10065e8d
mov eax, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xdc]
add eax, 0x38
push str.no_such_savepoint:__s
push esi
push eax
call fcn.10059fd0
mov edi, dword [ebp - 0xd8]
mov edx, 1
add esp, 0x10
mov dword [ebp - 0xd0], edx
inc edi
jmp 0x10065f3c
mov edi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xd8]
mov dword [edi + 0x58], eax
mov esi, 5
mov dword [edi + 0x5c], esi
mov edi, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xf8]
push dword [ebp - 0xc8]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xfc]
mov dword [edi + 0x34], eax
call fcn.100670e0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008e662
mov esp, ebp
pop ebp
ret
push 0xd30e
call fcn.10044380
add esp, 4
mov edx, eax
jmp 0x10065eea
mov edi, dword [ebp - 0xd8]
mov edx, 4
mov dword [ebp - 0xd0], edx
inc edi
jmp 0x10065f42
mov edx, 0xd
mov dword [ebp - 0xd0], edx
mov esi, dword [ebp - 0xdc]
cmp byte [esi + 0x1e], 0
je 0x10065f09
mov edx, 7
mov dword [ebp - 0xd0], edx
jmp 0x10065f11
cmp edx, 0xc0a
je 0x10065f36
push edx
call fcn.10046ac0
push eax
mov eax, dword [ebp - 0xc8]
push 0x10094370
add eax, 0x38
push esi
push eax
call fcn.10059fd0
add esp, 0x14
mov edx, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xc8]
mov bl, byte [ebp - 0xd1]
push dword [eax + 0x38]
mov dword [eax + 0x5c], edx
push dword [eax + 0xa0]
push edi
push str.statement_aborts_at__d:___s___s
push edx
call sym.YJK_SQL.dll_sqlite3_log
push dword [ebp - 0xc8]
call fcn.10066a90
add esp, 0x18
cmp dword [ebp - 0xd0], 0xc0a
jne 0x10065f7e
mov byte [esi + 0x1e], 1
mov esi, 1
test bl, bl
je 0x10065e87
mov edi, dword [ebp - 0xdc]
movzx eax, bl
dec eax
push eax
push edi
call fcn.10056f80
add esp, 8
jmp 0x10065e8d
mov edi, dword [ebp - 0xc8]
mov edx, 6
mov dword [ebp - 0xd0], edx
mov byte [edi + 0x60], 2
mov edi, dword [ebp - 0xd8]
inc edi
jmp 0x10065f3c
mov eax, dword [ebp - 0xc8]
mov esi, ecx
push str.too_many_levels_of_trigger_recursion
add eax, 0x38
mov dword [ebp - 0xd0], 1
push esi
push eax
call fcn.10059fd0
mov edi, dword [ebp - 0xd8]
add esp, 0xc
inc edi
mov edx, 1
jmp 0x10065f3c
mov esi, dword [ebp - 0xdc]
cmp edx, 5
mov ecx, str.out_of
mov dword [ebp - 0xd0], 1
mov eax, str.into
cmovne eax, ecx
push eax
mov eax, dword [ebp - 0xc8]
push str.cannot_change__s_wal_mode_from_within_a_transaction
add eax, 0x38
push esi
push eax
call fcn.10059fd0
mov edi, dword [ebp - 0xd8]
add esp, 0x10
inc edi
mov edx, 1
jmp 0x10065f3c
mov esi, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xc8]
push str.string_or_blob_too_big
add eax, 0x38
push esi
push eax
call fcn.10059fd0
mov edx, 0x12
add esp, 0xc
mov dword [ebp - 0xd0], edx
jmp 0x10065f36
mov al, byte [edx + edi*4 + 3]
cmp al, 5
jne 0x1006609a
mov edx, dword [ebp - 0xc8]
mov eax, 2
mov edi, dword [ebp - 0xd8]
inc edi
mov byte [edx + 0x60], al
mov edx, dword [ebp - 0xd0]
jmp 0x10065f3c
mov edx, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xd8]
movzx eax, al
inc edi
mov byte [edx + 0x60], al
mov edx, dword [ebp - 0xd0]
jmp 0x10065f3c
mov eax, dword [ebp - 0xcc]
mov edx, dword [edx + edi*4 + 4]
mov dword [ebp - 0xc4], edx
mov ecx, dword [eax + edi*4 + 8]
mov dword [ebp - 0xc0], ecx
test edx, edx
je 0x10066110
cmp byte [esi + 0x1c], 0
jne 0x10066110
mov dword [ebp - 0xbc], 1
test ecx, ecx
je 0x100660fd
cmp dword [esi + 0x8c], 1
jle 0x1006611a
push str.cannot_rollback_transaction___SQL_statements_in_progress
jmp 0x10065df4
cmp dword [esi + 0x90], 0
jle 0x1006611a
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x10065df4
mov dword [ebp - 0xbc], 0
movzx eax, byte [esi + 0x1c]
cmp edx, eax
jne 0x10066167
test edx, edx
jne 0x1006612d
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x1006613c
test ecx, ecx
mov eax, str.cannot_rollback___no_transaction_is_active
mov edx, str.cannot_commit___no_transaction_is_active
cmove eax, edx
push eax
mov eax, dword [ebp - 0xc8]
add eax, 0x38
push esi
push eax
call fcn.10059fd0
mov edi, dword [ebp - 0xd8]
mov edx, 1
add esp, 0xc
mov dword [ebp - 0xd0], edx
inc edi
jmp 0x10065f3c
test ecx, ecx
je 0x1006619d
push esi
call fcn.10057370
mov edi, dword [ebp - 0xc8]
add esp, 4
mov byte [esi + 0x1c], 1
push esi
call fcn.100436a0
add esp, 4
mov esi, 1
cmp dword [edi + 0x5c], 0
mov eax, 0x65
cmove esi, eax
jmp 0x10065e87
mov edi, dword [ebp - 0xc8]
push 1
push edi
call fcn.1005f8a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10065e87
mov esi, dword [ebp - 0xdc]
mov al, byte [ebp - 0xc4]
push edi
mov byte [esi + 0x1c], al
call fcn.10066a90
add esp, 4
cmp eax, 5
jne 0x1006617e
mov eax, dword [ebp - 0xd8]
mov dword [edi + 0x58], eax
mov al, 1
sub al, byte [ebp - 0xc4]
mov byte [esi + 0x1c], al
jmp 0x10065e7f
mov ecx, dword [ebp - 0xc8]
mov bl, byte [ebp - 0xd1]
mov eax, dword [str.interrupted]
test eax, eax
mov dword [ecx + 0x5c], 9
mov ecx, str.unknown_error
cmovne ecx, eax
mov dword [ebp - 0xd0], 9
mov eax, dword [ebp - 0xc8]
push ecx
push 0x10094370
add eax, 0x38
push esi
push eax
call fcn.10059fd0
mov edi, dword [ebp - 0xd8]
add esp, 0x10
mov eax, dword [ebp - 0xc8]
mov edx, 9
jmp 0x10065f48
mov esi, dword [ebp - 0xdc]
jmp 0x1006122a
mov esi, edi
jmp 0x1006122a