Function at 0x581030
Capabilities:
Enumerate pe sections
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x134
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
push edi
mov edi, dword [esi]
mov edx, dword [edi + 8]
xor eax, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [edx + 0xc]
mov dl, byte [ecx + 0x49]
mov ecx, dword [esi + 0x4c]
lea ebx, [esi + 0x80]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov byte [esp + 0x4b], al
mov byte [esp + 0x47], dl
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ebx
call fcn.00542e80
cmp dword [esi + 0x58], 7
je 0x585ff6
xor eax, eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x2c], eax
mov edx, dword [edi + 0xe0]
test edx, edx
mov dword [edi + 0x1a8], eax
jne 0x58612b
mov edx, dword [esi + 0x54]
xor ecx, ecx
cmp dword [edi + 0x108], eax
mov dword [esp + 0x2c], edx
setne cl
mov dword [esp + 0x64], ecx
lea ecx, [ecx]
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], 0
jne 0x585ff6
cmp dword [esp + 0x64], 0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
lea ecx, [eax + eax*4]
lea edi, [edx + ecx*4]
mov dword [esp + 0x40], edi
je 0x58113a
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x110]
cmp ecx, dword [esp + 0x4c]
jne 0x581135
mov edx, dword [eax + 0x10c]
mov eax, dword [eax + 0x108]
push edx
call eax
add esp, 4
test eax, eax
jne 0x585f3b
mov dword [esp + 0x4c], eax
add dword [esp + 0x4c], 1
test byte [edi + 2], 2
je 0x581160
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x34]
lea ecx, [eax + eax*4]
lea esi, [edx + ecx*8]
mov dword [esp + 0x30], esi
call fcn.00543ba0
mov word [esi + 0x1c], 4
mov esi, dword [esp + 0x28]
movzx eax, byte [edi]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add eax, 0xffffffff
cmp eax, 0x90
ja case.0x581179.16
jmp dword [eax*4 + 0x586160]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xe0]
test ecx, ecx
jne 0x58612b
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
mov eax, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x2c]
lea ebx, [ebx + edx*8]
cdq
mov dword [ebx], eax
mov word [ebx + 0x1c], 4
mov dword [ebx + 4], edx
mov eax, dword [edi + 8]
sub eax, 1
mov dword [esp + 0x2c], eax
jmp case.0x581179.16
mov edi, dword [edi + 4]
lea ecx, [edi + edi*4]
mov edx, dword [ebx + ecx*8]
mov dword [esp + 0x2c], edx
jmp case.0x581179.16
mov edi, dword [edi + 4]
lea eax, [edi + edi*4]
mov ecx, dword [ebx + eax*8]
lea ebx, [ebx + eax*8]
mov eax, dword [esp + 0x2c]
cdq
mov word [ebx + 0x1c], 4
mov dword [esp + 0x78], ecx
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x2c], edx
jmp case.0x581179.16
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 1
je case.0x581179.16
cmp dword [edi + 4], 0
jne 0x585f48
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x585f48
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x24]
add dword [esi + 0xe0], 0xffffffff
mov dword [esi + 0xdc], ecx
mov ecx, dword [esi + 0x6c]
add dword [edx + 0x40], ecx
mov dword [edx + 0x3c], ecx
call fcn.00544100
cmp dword [edi + 8], 4
mov dword [esp + 0x2c], eax
jne 0x58126e
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + edx*4 + 8]
sub ecx, 1
mov dword [esp + 0x2c], ecx
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x34], eax
jmp case.0x581179.16
mov eax, dword [edi + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x581179.16
mov edi, dword [edi + 0x10]
mov edx, dword [edi]
mov dword [ecx], edx
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp case.0x581179.16
mov word [ecx + 0x1c], 8
mov edx, dword [edi + 0x10]
fld qword [edx]
fstp qword [ecx + 8]
jmp case.0x581179.16
mov ecx, dword [edi + 0x10]
mov byte [edi], 9
call fcn.0053eb20
cmp byte [esp + 0x47], 1
mov ebx, dword [esp + 0x30]
mov dword [edi + 4], eax
je 0x581338
push 1
push 0xffffffffffffffff
xor eax, eax
mov edx, ebx
call fcn.0056e710
add esp, 8
cmp eax, 0x12
mov dword [esp + 0x20], eax
je 0x581b38
movzx ecx, byte [esp + 0x47]
mov eax, ebx
call fcn.0055a330
test eax, eax
jne 0x585ff2
mov dword [ebx + 0x24], eax
mov ax, word [ebx + 0x1c]
and ax, 0xfbff
or ax, 0x800
mov word [ebx + 0x1c], ax
cmp byte [edi + 1], 0xff
jne 0x581328
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.0053e910
add esp, 8
mov byte [edi + 1], 0xff
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x10], eax
mov ecx, dword [ebx + 0x18]
mov dword [edi + 4], ecx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x24]
cmp edx, dword [eax + 0x48]
jg 0x581b38
mov esi, dword [esp + 0x28]
mov al, byte [esp + 0x47]
mov word [ebx + 0x1c], 0xa02
mov ecx, dword [edi + 0x10]
mov dword [ebx + 0x14], ecx
mov edx, dword [edi + 4]
mov dword [ebx + 0x18], edx
mov byte [ebx + 0x1f], al
jmp case.0x581179.16
mov ebx, dword [esp + 0x30]
jmp 0x58134c
mov ecx, dword [edi + 4]
push 0
push ecx
mov ecx, dword [edi + 0x10]
mov edi, dword [esp + 0x38]
xor eax, eax
mov edx, edi
call fcn.0056e710
mov dl, byte [esp + 0x4f]
add esp, 8
mov byte [edi + 0x1f], dl
jmp case.0x581179.16
mov edi, dword [edi + 4]
mov ecx, dword [esi + 0x3c]
lea eax, [edi + edi*4]
lea esi, [ecx + eax*8 - 0x28]
mov ecx, esi
mov dword [esp + 0x78], esi
call fcn.00543d40
test eax, eax
jne 0x581b38
mov ebx, dword [esp + 0x30]
push 0x800
push esi
call fcn.00543d70
jmp 0x582252
mov eax, dword [edi + 0xc]
test eax, eax
mov dword [esp + 0x7c], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x80], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x84], edx
lea edx, [edx + edx*4]
lea ecx, [ecx + ecx*4]
lea esi, [ebx + edx*8]
lea edi, [ebx + ecx*8]
mov dword [esp + 0x30], esi
je 0x58142f
sub eax, 1
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x78], eax
mov ebx, edi
mov eax, esi
mov dword [esi + 0x24], 0
call fcn.00543db0
mov ecx, dword [esp + 0x78]
mov dword [edi + 0x24], ecx
mov eax, dword [esp + 0x7c]
add edi, 0x28
add esi, 0x28
test eax, eax
jne 0x5813f8
mov dword [esp + 0x30], esi
sub eax, 1
mov dword [esp + 0x7c], eax
jmp 0x582255
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x34]
lea ebx, [eax + edx*8]
lea ecx, [edi + edi*4]
lea edx, [eax + ecx*8]
push 0x1000
push edx
mov dword [esp + 0x38], ebx
call fcn.00543d70
add esp, 8
test word [ebx + 0x1c], 0x1000
je case.0x581179.16
mov eax, ebx
call fcn.00551d10
test eax, eax
jne 0x585ff6
jmp case.0x581179.16
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x34]
lea ebx, [eax + ecx*8]
lea edx, [edi + edi*4]
lea eax, [eax + edx*8]
push 0x1000
push eax
mov dword [esp + 0x38], ebx
call fcn.00543d70
add esp, 8
jmp case.0x581179.16
push 0
mov ecx, esi
call fcn.0055a640
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
jne case.0x581179.16
push 1
push esi
call fcn.00563210
add esp, 8
test eax, eax
mov dword [esp + 0x20], eax
jne case.0x581179.16
mov ecx, dword [esi + 0x50]
add ecx, 2
or ecx, 1
mov dword [esi + 0x50], ecx
mov eax, dword [edi + 4]
lea edx, [eax + eax*4]
lea ebx, [ebx + edx*8]
xor eax, eax
mov dword [esi + 0x2c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], eax
cmp dword [edi + 8], eax
jle 0x581538
mov ecx, dword [esp + 0x78]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
call fcn.0054c0b0
mov eax, dword [esp + 0x7c]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x78]
lea ecx, [eax + edx*8]
call fcn.00544c90
mov eax, dword [esp + 0x7c]
add eax, 1
mov dword [esp + 0x7c], eax
cmp eax, dword [edi + 8]
jl 0x581506
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x1e], 0
jne 0x585ff2
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add edx, 1
mov dword [eax + 0x54], edx
mov edi, 0x64
jmp 0x581bb1
mov eax, dword [edi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
lea edx, [eax + eax*4]
lea ecx, [ebx + ecx*8]
lea eax, [edi + edi*4]
lea edi, [ebx + eax*8]
movzx eax, word [ecx + 0x1c]
lea edx, [ebx + edx*8]
mov dword [esp + 0x3c], ecx
mov cl, byte [edx + 0x1c]
or cl, al
test cl, 1
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], edi
je 0x5815a1
push edi
call fcn.0056e630
add esp, 4
jmp case.0x581179.16
test eax, 0x4000
je 0x5815b9
mov eax, dword [esp + 0x3c]
call fcn.0054c050
test eax, eax
jne 0x585ff2
mov ebx, dword [esp + 0x38]
test word [ebx + 0x1c], 0x4000
je 0x5815d4
mov eax, ebx
call fcn.0054c050
test eax, eax
jne 0x585ff2
mov eax, dword [esp + 0x3c]
test byte [eax + 0x1c], 0x12
jne 0x5815f0
movzx esi, byte [esp + 0x47]
call fcn.0055a350
test eax, eax
jne 0x585ff2
test byte [ebx + 0x1c], 0x12
jne 0x58160a
movzx esi, byte [esp + 0x47]
mov eax, ebx
call fcn.0055a350
test eax, eax
jne 0x585ff2
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x18]
add eax, dword [ebx + 0x18]
cdq
mov esi, eax
mov eax, dword [esp + 0x24]
mov ecx, edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ecx
mov eax, dword [eax + 0x48]
cdq
cmp ecx, edx
jg 0x581b38
jl 0x58163b
cmp esi, eax
ja 0x581b38
mov cx, word [edi + 0x1c]
and cx, 0xbf02
or cx, 2
xor eax, eax
cmp edi, ebx
sete al
mov word [edi + 0x1c], cx
mov ecx, dword [esp + 0x78]
add ecx, 2
call fcn.0054bf40
test eax, eax
jne 0x585ff2
mov esi, dword [esp + 0x38]
cmp edi, esi
je 0x581683
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
mov ecx, dword [edi + 0x14]
push edx
push eax
push ecx
call fcn.005c3170
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x18]
mov ecx, dword [esi + 0x18]
mov eax, dword [eax + 0x14]
add ecx, dword [edi + 0x14]
push edx
push eax
push ecx
call fcn.005c3170
mov eax, dword [esp + 0x84]
mov edx, dword [edi + 0x14]
mov byte [eax + edx], 0
mov edx, dword [esp + 0x84]
mov ecx, dword [edi + 0x14]
mov byte [ecx + edx + 1], 0
mov cl, byte [esp + 0x53]
add esp, 0xc
or word [edi + 0x1c], 0x200
mov eax, dword [esp + 0x78]
mov dword [edi + 0x18], eax
mov byte [edi + 0x1f], cl
jmp 0x582255
mov edi, dword [edi + 4]
lea edx, [edi + edi*4]
lea esi, [ebx + edx*8]
mov edi, esi
call fcn.00570bc0
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov ebx, dword [esp + 0x34]
lea ecx, [eax + eax*4]
lea edi, [ebx + ecx*8]
call fcn.00570bc0
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0xc]
movzx ecx, word [edi + 0x1c]
movzx edx, word [esi + 0x1c]
lea eax, [eax + eax*4]
or ecx, edx
test cl, 1
lea ebx, [ebx + eax*8]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x78], ecx
jne 0x581966
mov al, byte [edi + 0x1c]
and al, byte [esi + 0x1c]
test al, 4
je 0x581837
mov ecx, dword [esi]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x80], ecx
mov esi, dword [esi + 4]
mov dword [esp + 0x84], esi
mov eax, dword [edi]
mov dword [esp + 0x88], eax
mov edi, dword [edi + 4]
mov dword [esp + 0x8c], edi
movzx edx, byte [edx]
add edx, 0xffffffaa
cmp edx, 3
ja case.default.0x581765
jmp dword [edx*4 + 0x5863a4]
add eax, ecx
adc edi, esi
mov dword [esp + 0x8c], edi
jmp 0x58180e
sub eax, ecx
sbb edi, esi
mov dword [esp + 0x8c], edi
jmp 0x58180e
push esi
push ecx
push edi
push eax
call fcn.005c2470
jmp 0x581807
mov edx, ecx
or edx, esi
je 0x581966
mov edx, ecx
and edx, esi
cmp edx, 0xffffffff
jne 0x5817cb
test eax, eax
jne 0x5817cb
cmp edi, 0x80000000
jne 0x5817cb
mov ecx, 1
xor esi, esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], esi
push esi
push ecx
push edi
push eax
call fcn.005c24b0
jmp 0x581807
mov edx, ecx
or edx, esi
je 0x581966
mov edx, ecx
and edx, esi
cmp edx, 0xffffffff
jne 0x5817fe
mov ecx, 1
xor esi, esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], esi
push esi
push ecx
push edi
push eax
call fcn.005c4fc0
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
mov cx, word [ebx + 0x1c]
and cx, 0xbf04
mov dword [ebx], eax
mov eax, dword [esp + 0x8c]
or cx, 4
mov dword [ebx + 4], eax
mov word [ebx + 0x1c], cx
jmp 0x582255
call fcn.0055a480
fstp qword [esp + 0x90]
mov esi, edi
call fcn.0055a480
fst qword [esp + 0x98]
mov edx, dword [esp + 0x40]
movzx eax, byte [edx]
add eax, 0xffffffaa
cmp eax, 3
ja case.default.0x581860
jmp dword [eax*4 + 0x5863b4]
fadd qword [esp + 0x90]
jmp 0x581915
fsub qword [esp + 0x90]
jmp 0x581915
fmul qword [esp + 0x90]
jmp 0x581915
fldz
fld qword [esp + 0x90]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x581962
fdivp st(1)
jmp 0x581915
fld qword [esp + 0x90]
call fcn.005c4f46
mov esi, eax
mov edi, edx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
call fcn.005c4f46
mov ecx, esi
or ecx, edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
je 0x581966
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x581900
mov esi, 1
xor edi, edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
push edi
push esi
push edx
push eax
call fcn.005c4fc0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
fild qword [esp + 0x68]
sub esp, 8
fst qword [esp + 0xa0]
fstp qword [esp]
call fcn.0053eae0
add esp, 8
test eax, eax
jne 0x581966
mov dx, word [ebx + 0x1c]
fld qword [esp + 0x98]
and dx, 0xbf08
fstp qword [ebx + 8]
or dx, 8
mov word [ebx + 0x1c], dx
test byte [esp + 0x78], 8
jne 0x582255
mov esi, dword [esp + 0x30]
call fcn.00543ca0
jmp 0x582255
fstp st(0)
fstp st(0)
push ebx
call fcn.0056e630
add esp, 4
jmp 0x582255
movzx ecx, byte [edi + 3]
mov eax, dword [esi + 0x24]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov eax, dword [edi + 8]
lea edx, [eax + eax*4]
xor eax, eax
test ecx, ecx
lea ebx, [ebx + edx*8]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], eax
jle 0x5819d2
mov ecx, dword [esp + 0xc0]
mov dword [ecx + eax*4], ebx
mov ecx, dword [esp + 0x7c]
call fcn.00544c90
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
add eax, 1
add ebx, 0x28
cmp eax, dword [esp + 0xc4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
jl 0x5819a0
xor ecx, ecx
cmp byte [edi + 1], 0xfb
jne 0x5819ed
mov edx, dword [edi + 0x10]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
jmp 0x581a00
mov eax, dword [edi + 0x10]
mov dword [esp + 0x84], eax
mov eax, dword [eax]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x34]
lea esi, [eax + edx*8]
mov edx, dword [esp + 0x24]
mov ebx, esi
lea eax, [esp + 0x88]
mov dword [esp + 0x30], esi
mov word [esp + 0xa4], 1
mov dword [esp + 0x98], edx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
call fcn.00543db0
mov eax, dword [esp + 0xa4]
and eax, 0xbf01
or eax, 1
mov word [esp + 0xa4], ax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xb4], 0
test byte [eax + 3], 8
je 0x581a7b
mov ecx, dword [edi - 4]
mov dword [esp + 0xb8], ecx
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov eax, dword [eax + 0xc]
push edx
push ecx
lea edx, [esp + 0x88]
push edx
call eax
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp byte [ecx + 0x1e], 0
jne 0x585fe2
mov ebx, dword [esp + 0x84]
test ebx, ebx
je 0x581ace
mov edx, dword [edi + 4]
push edx
call fcn.00544150
mov eax, dword [esp + 0x88]
add esp, 4
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xf9
cmp dword [esp + 0xb4], 0
je 0x581b0a
mov bl, 1
lea edi, [esp + 0x88]
call fcn.0055a5b0
mov edi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push 0x6029cc
add edi, 0x5c
call fcn.00557a30
mov ecx, dword [esp + 0xbc]
add esp, 8
mov dword [esp + 0x20], ecx
movzx ecx, byte [esp + 0x47]
lea eax, [esp + 0x88]
call fcn.0055a330
lea ebx, [esp + 0x88]
mov eax, esi
call fcn.00543db0
mov ecx, esi
call fcn.00543d40
test eax, eax
je 0x582255
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push str.string_or_blob_too_big
add edi, 0x5c
call fcn.00557a30
mov dword [esp + 0x24], 0x12
add esp, 4
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0xbc]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
push edx
push eax
push ecx
push str.statement_aborts_at__d:___s___s
push edi
mov dword [esi + 0x58], edi
call fcn.00550e30
push esi
call fcn.0056de40
add esp, 0x18
cmp edi, 0xc0a
jne 0x581b97
mov edx, dword [esp + 0x24]
mov byte [edx + 0x1e], 1
cmp byte [esp + 0x4b], 0
mov edi, 1
je 0x581bb1
mov ebx, dword [esp + 0x24]
push 0
call fcn.0055b8c0
add esp, 4
mov ebx, dword [esp + 0x5c]
call fcn.00542ed0
mov ecx, dword [esp + 0x13c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005bd2d7
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
lea edx, [ebx + edx*8]
lea ebx, [ebx + eax*8]
mov al, byte [ecx + 0x1c]
or al, byte [edx + 0x1c]
mov dword [esp + 0x3c], edx
test al, 1
mov dword [esp + 0x30], ebx
je 0x581c0c
push ebx
call fcn.0056e630
add esp, 4
jmp case.0x581179.16
mov esi, ecx
call fcn.0055a3f0
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
call fcn.0055a3f0
mov ecx, eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
movzx eax, byte [edi]
sub eax, 0x52
je 0x581c76
sub eax, 1
je 0x581c6c
mov edx, dword [esp + 0x7c]
sub eax, 1
mov eax, dword [esp + 0x78]
je 0x581c5d
call fcn.005c5280
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
jmp 0x581c7e
call fcn.005c3500
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
jmp 0x581c7e
or dword [esp + 0x78], ecx
or dword [esp + 0x7c], edx
jmp 0x581c7e
and dword [esp + 0x78], ecx
and dword [esp + 0x7c], edx
mov ecx, dword [esp + 0x78]
mov ax, word [ebx + 0x1c]
and ax, 0xbf04
mov dword [ebx], ecx
mov edx, dword [esp + 0x7c]
or ax, 4
mov dword [ebx + 4], edx
mov word [ebx + 0x1c], ax
jmp 0x582255
mov eax, dword [edi + 4]
lea ecx, [eax + eax*4]
lea ebx, [ebx + ecx*8]
mov eax, ebx
call fcn.0055a4f0
mov eax, dword [edi + 8]
cdq
add dword [ebx], eax
adc dword [ebx + 4], edx
jmp case.0x581179.16
mov edi, dword [edi + 4]
lea edx, [edi + edi*4]
lea edi, [ebx + edx*8]
call fcn.00570bc0
test byte [edi + 0x1c], 8
je 0x581cdd
mov esi, edi
call fcn.00543ca0
mov esi, dword [esp + 0x28]
movzx eax, word [edi + 0x1c]
test al, 4
jne 0x581d00
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
test eax, eax
je 0x586018
add eax, 0xffffffff
mov dword [esp + 0x2c], eax
jmp case.0x581179.16
and eax, 0xbf04
or eax, 4
mov word [edi + 0x1c], ax
jmp case.0x581179.16
mov edi, dword [edi + 4]
lea ecx, [edi + edi*4]
test byte [ebx + ecx*8 + 0x1c], 4
lea eax, [ebx + ecx*8]
je 0x582255
call fcn.0055a520
jmp 0x582255
mov edi, dword [edi + 4]
lea edx, [edi + edi*4]
movzx ecx, word [ebx + edx*8 + 0x1c]
test cl, 1
lea edi, [ebx + edx*8]
jne case.0x581179.16
movzx eax, cl
shr al, 3
and eax, 2
or eax, ecx
test al, 2
mov word [edi + 0x1c], ax
jne 0x581d6d
test al, 0xc
je 0x581d6d
movzx esi, byte [esp + 0x47]
mov eax, edi
call fcn.0055a350
mov esi, dword [esp + 0x28]
and word [edi + 0x1c], 0xfff3
movzx eax, word [edi + 0x1c]
test eax, 0x4000
je 0x581d94
mov eax, edi
call fcn.0054c050
and word [edi + 0x1c], 0xbfe3
mov dword [esp + 0x20], eax
jmp case.0x581179.16
and word [edi + 0x1c], 0xbfe3
mov dword [esp + 0x20], 0
jmp case.0x581179.16
mov edi, dword [edi + 4]
lea eax, [edi + edi*4]
lea edi, [ebx + eax*8]
movzx eax, word [edi + 0x1c]
test al, 1
jne case.0x581179.16
test al, 0x10
jne 0x581dee
test al, 2
jne 0x581dd8
test al, 0xc
je 0x581dd8
movzx esi, byte [esp + 0x47]
mov eax, edi
call fcn.0055a350
mov esi, dword [esp + 0x28]
mov cx, word [edi + 0x1c]
and cx, 0xbf10
or cx, 0x10
mov word [edi + 0x1c], cx
jmp case.0x581179.16
and eax, 0xff10
mov word [edi + 0x1c], ax
jmp case.0x581179.16
mov edi, dword [edi + 4]
lea edx, [edi + edi*4]
test byte [ebx + edx*8 + 0x1c], 0xd
lea eax, [ebx + edx*8]
jne 0x582255
call fcn.0055a540
jmp 0x582255
mov edi, dword [edi + 4]
lea eax, [edi + edi*4]
test byte [ebx + eax*8 + 0x1c], 1
lea eax, [ebx + eax*8]
jne 0x582255
call fcn.0055a4f0
jmp 0x582255
mov edi, dword [edi + 4]
lea ecx, [edi + edi*4]
test byte [ebx + ecx*8 + 0x1c], 1
lea eax, [ebx + ecx*8]
jne 0x582255
call fcn.0055a520
jmp 0x582255
mov eax, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0xc]
lea ecx, [ebx + edx*8]
movzx edx, word [ecx + 0x1c]
lea eax, [eax + eax*4]
mov word [esp + 0x7e], dx
movzx edx, word [ebx + eax*8 + 0x1c]
lea eax, [ebx + eax*8]
mov word [esp + 0x80], dx
mov dword [esp + 0x38], eax
movzx eax, word [eax + 0x1c]
mov dword [esp + 0x3c], ecx
movzx ecx, word [ecx + 0x1c]
mov dl, al
or dl, cl
test dl, 1
je 0x581eef
mov dl, byte [edi + 3]
test dl, dl
jns 0x581eae
and al, cl
and al, 1
neg al
sbb eax, eax
add eax, 1
jmp 0x581f6a
test dl, 0x10
je 0x581ed7
mov edi, dword [edi + 8]
lea eax, [edi + edi*4]
mov cx, word [ebx + eax*8 + 0x1c]
lea ebx, [ebx + eax*8]
and cx, 0xbf01
or cx, 1
mov dword [esp + 0x30], ebx
mov word [ebx + 0x1c], cx
jmp case.0x581179.16
test dl, 8
je 0x582255
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp 0x582255
mov al, byte [edi + 3]
and al, 0x67
mov byte [esp + 0x7c], al
je 0x581f32
mov esi, dword [esp + 0x47]
mov ecx, dword [esp + 0x3c]
push esi
call fcn.00570cf0
mov al, byte [esp + 0x80]
mov ecx, dword [esp + 0x3c]
push esi
call fcn.00570cf0
mov edx, dword [esp + 0x2c]
add esp, 8
cmp byte [edx + 0x1e], 0
jne 0x585ff2
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
test word [eax + 0x1c], 0x4000
je 0x581f43
call fcn.0054c050
mov ecx, dword [esp + 0x38]
test word [ecx + 0x1c], 0x4000
je 0x581f56
mov eax, ecx
call fcn.0054c050
mov edx, dword [edi + 0x10]
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
call fcn.005602b0
add esp, 4
mov dword [esp + 0x78], eax
movzx ecx, byte [edi]
add ecx, 0xffffffb5
cmp ecx, 4
ja case.default.0x581f79
jmp dword [ecx*4 + 0x5863c4]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x581fbc
xor edx, edx
test eax, eax
setne dl
jmp 0x581fba
xor ecx, ecx
test eax, eax
setl cl
mov eax, ecx
jmp 0x581fbc
xor edx, edx
test eax, eax
setle dl
jmp 0x581fba
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
jmp 0x581fbc
xor edx, edx
test eax, eax
setge dl
mov eax, edx
mov dword [esp + 0x78], eax
test byte [edi + 3], 0x10
je 0x581ff1
mov edi, dword [edi + 8]
lea eax, [edi + edi*4]
mov cx, word [ebx + eax*8 + 0x1c]
lea ebx, [ebx + eax*8]
and cx, 0xbf04
or cx, 4
mov word [ebx + 0x1c], cx
mov eax, dword [esp + 0x78]
cdq
mov dword [esp + 0x30], ebx
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x581fff
test eax, eax
je 0x581fff
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
mov dl, byte [esp + 0x7e]
mov eax, dword [esp + 0x3c]
mov byte [eax + 0x1c], dl
mov cl, byte [esp + 0x80]
mov edx, dword [esp + 0x38]
mov byte [edx + 0x1c], cl
jmp case.0x581179.16
mov eax, dword [edi + 0x10]
mov dword [esp + 0x54], eax
jmp case.0x581179.16
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x78], ecx
mov esi, dword [edi + 0x10]
mov dword [esp + 0x88], esi
mov edx, dword [edi + 4]
mov dword [esp + 0x80], edx
mov eax, dword [edi + 8]
mov dword [esp + 0x84], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x7c], eax
jle 0x582104
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x34]
jmp 0x582077
mov esi, dword [esp + 0x88]
test ebx, ebx
je 0x582080
mov ecx, dword [ebx + eax*4]
jmp 0x582082
mov ecx, eax
mov dword [esp + 0x8c], ecx
mov edx, dword [esi + eax*4 + 0xc]
mov dword [esp + 0x90], edx
mov esi, dword [esi + 8]
movzx eax, byte [esi + eax]
push edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x98], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x84]
add ecx, edx
lea eax, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea eax, [edi + eax*8]
lea edx, [edi + ecx*8]
call fcn.005602b0
add esp, 4
test eax, eax
mov dword [esp + 0x50], eax
jne 0x5820f0
mov eax, dword [esp + 0x7c]
add eax, 1
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
jl 0x582070
mov dword [esp + 0x54], 0
jmp 0x582255
cmp dword [esp + 0x94], 0
je 0x582104
mov edx, dword [esp + 0x50]
neg edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0
jmp 0x582255
mov eax, dword [esp + 0x50]
test eax, eax
jge 0x582128
mov edi, dword [edi + 4]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
jne 0x582139
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
mov edi, dword [edi + 0xc]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 1
lea esi, [ebx + eax*8]
je 0x58215f
mov ecx, 2
jmp 0x582171
call fcn.0055a3f0
or eax, edx
je 0x58216f
mov ecx, 1
jmp 0x582171
xor ecx, ecx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x78], ecx
mov eax, dword [edi + 8]
lea edx, [eax + eax*4]
test byte [ebx + edx*8 + 0x1c], 1
lea esi, [ebx + edx*8]
je 0x582190
mov eax, 2
jmp 0x5821a6
call fcn.0055a3f0
or eax, edx
mov ecx, dword [esp + 0x78]
je 0x5821a4
mov eax, 1
jmp 0x5821a6
xor eax, eax
mov dword [esp + 0x7c], eax
cmp byte [edi], 0x45
jne 0x5821bc
lea eax, [eax + ecx*2]
movzx eax, byte [ecx + eax + 0x607470]
jmp 0x5821c7
lea edx, [eax + ecx*2]
movzx eax, byte [ecx + edx + 0x60747c]
cmp eax, 2
mov esi, dword [esp + 0x28]
mov dword [esp + 0x78], eax
mov edi, dword [edi + 0xc]
lea ecx, [edi + edi*4]
lea ecx, [ebx + ecx*8]
mov dword [esp + 0x30], ecx
jne 0x5821f4
mov dx, word [ecx + 0x1c]
and dx, 0xbf01
or dx, 1
mov word [ecx + 0x1c], dx
jmp case.0x581179.16
cdq
mov dword [ecx], eax
mov ax, word [ecx + 0x1c]
and ax, 0xbf04
or ax, 4
mov dword [ecx + 4], edx
mov word [ecx + 0x1c], ax
jmp case.0x581179.16
mov eax, dword [edi + 4]
mov edi, dword [edi + 8]
lea ecx, [eax + eax*4]
test byte [ebx + ecx*8 + 0x1c], 1
lea edx, [edi + edi*4]
lea eax, [ebx + ecx*8]
lea edi, [ebx + edx*8]
mov dword [esp + 0x30], edi
je 0x582234
push edi
call fcn.0056e630
add esp, 4
jmp case.0x581179.16
mov esi, eax
call fcn.0055a3f0
or eax, edx
jne 0x582246
mov eax, 1
jmp 0x582248
xor eax, eax
cdq
push edx
push eax
mov eax, edi
call fcn.00543d00
add esp, 8
mov esi, dword [esp + 0x28]
add dword [esp + 0x2c], 1
cmp dword [esp + 0x20], 0
je 0x5810e0
jmp 0x581b58
mov eax, dword [edi + 4]
mov edi, dword [edi + 8]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 1
lea ecx, [edi + edi*4]
lea eax, [ebx + eax*8]
lea edi, [ebx + ecx*8]
mov dword [esp + 0x30], edi
je 0x582296
push edi
call fcn.0056e630
add esp, 4
jmp case.0x581179.16
mov esi, eax
call fcn.0055a3f0
not eax
not edx
jmp 0x582249
mov eax, dword [edi + 4]
lea edx, [eax + eax*4]
test byte [ebx + edx*8 + 0x1c], 1
lea esi, [ebx + edx*8]
je 0x5822b8
mov eax, dword [edi + 0xc]
jmp 0x5822e5
call fcn.0055a480
fcomp qword [0x63ba18]
fnstsw ax
test ah, 0x44
jnp 0x5822d1
mov eax, 1
jmp 0x5822d3
xor eax, eax
mov dword [esp + 0x78], eax
cmp byte [edi], 0x1b
jne 0x5822e9
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov dword [esp + 0x78], eax
test eax, eax
je 0x582255
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp 0x582255
mov eax, dword [edi + 4]
lea edx, [eax + eax*4]
test byte [ebx + edx*8 + 0x1c], 1
je 0x582255
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp 0x582255
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 1
jne 0x582255
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp 0x582255
mov ecx, dword [edi + 4]
xor eax, eax
mov dword [esp + 0x88], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x8c], edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
xor edx, edx
mov dword [esp + 0x90], edx
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [esp + 0xb4], eax
mov cx, word [eax + 0x1c]
and cx, 0xbf01
or cx, 1
mov word [eax + 0x1c], cx
mov ecx, dword [esp + 0x88]
mov eax, dword [esi + 0x34]
mov dword [esp + 0x94], edx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x90], eax
mov ecx, dword [eax]
cmp ecx, edx
mov dword [esp + 0x98], ecx
je 0x5824d3
mov esi, eax
call fcn.0056e0f0
test eax, eax
mov dword [esp + 0x20], eax
jne 0x5860e4
mov eax, dword [esp + 0x90]
cmp byte [eax + 0x14], 0
je 0x58241f
mov dword [esp + 0x78], 0
jmp 0x582255
mov edx, dword [eax + 0x44]
mov ecx, dword [esp + 0x28]
cmp edx, dword [ecx + 0x50]
jne 0x58243e
mov edx, dword [eax + 0x48]
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x94], ecx
jmp 0x582471
cmp byte [eax + 0x17], 0
je 0x5824b9
mov eax, dword [esp + 0x98]
lea edi, [esp + 0x80]
call fcn.005437c0
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x582255
mov edx, dword [esp + 0x24]
cmp ecx, dword [edx + 0x48]
ja 0x581b38
mov edx, dword [eax + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0xa4], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x9c], ecx
mov ebx, dword [eax + 0x44]
cmp ebx, dword [esi + 0x50]
jne 0x58251c
mov eax, dword [eax + 0x50]
mov dword [esp + 0xa0], eax
jmp 0x5827f1
mov esi, dword [esp + 0x98]
lea eax, [esp + 0x78]
push eax
call fcn.005437f0
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x58246a
mov ecx, dword [eax + 0x24]
cmp ecx, edx
jle 0x582513
lea ecx, [ecx + ecx*4]
lea ebx, [ebx + ecx*8]
mov dword [esp + 0xf8], ebx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x78], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x94], ecx
test byte [edi + 3], 0x20
je 0x582508
xor esi, esi
mov dword [eax + 0x44], esi
jmp 0x58246a
mov esi, dword [esi + 0x50]
mov dword [eax + 0x44], esi
jmp 0x58246a
mov dword [esp + 0x78], edx
jmp case.0x581179.16
lea ecx, [ecx + edx*4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xf4], 0
mov dword [eax + 0x50], ecx
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x78]
mov dword [ecx + 0x48], edx
mov ecx, dword [esp + 0x90]
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x44], eax
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x582563
mov dword [esp + 0xb0], ecx
jmp 0x5825d9
mov edx, dword [esp + 0x90]
cmp byte [edx + 0x17], 0
je 0x582586
mov esi, dword [esp + 0x98]
lea eax, [esp + 0xf4]
push eax
call fcn.00543850
jmp 0x58259a
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0xf4]
push ecx
call fcn.005438b0
mov edx, dword [esp + 0x7c]
add esp, 4
cmp edx, dword [esp + 0xf4]
mov dword [esp + 0xb0], eax
ja 0x5825c4
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x94], eax
mov dword [ecx + 0x54], eax
jmp 0x5825d2
mov edx, dword [esp + 0x90]
mov dword [edx + 0x54], 0
mov ecx, dword [esp + 0xb0]
mov al, byte [ecx]
cmp al, 0x80
jae 0x5825f0
movzx edx, al
mov dword [esp + 0xe8], edx
mov eax, 1
jmp 0x58260d
lea esi, [esp + 0xe8]
call fcn.0053f780
mov edx, dword [esp + 0xe8]
mov ecx, dword [esp + 0xb0]
movzx eax, al
cmp edx, 0x18003
movzx eax, al
mov dword [esp + 0xf0], eax
jbe 0x582632
mov eax, 0xf0e4
call fcn.005576b0
mov dword [esp + 0x20], eax
jmp 0x582255
mov esi, dword [esp + 0xa4]
lea eax, [esi + esi*4 + 3]
cmp eax, edx
mov dword [esp + 0xa8], eax
jle 0x582651
mov eax, edx
mov dword [esp + 0xa8], eax
cmp dword [esp + 0x94], 0
jne 0x5826c9
cmp dword [esp + 0xf4], eax
jge 0x5826c9
mov ecx, dword [esp + 0x90]
xor esi, esi
mov word [esp + 0xd4], si
mov dword [esp + 0xc8], esi
movzx edx, byte [ecx + 0x17]
push edx
mov edx, dword [esp + 0x9c]
push eax
lea eax, [esp + 0xc0]
xor ecx, ecx
call fcn.0056dc00
add esp, 8
cmp eax, esi
mov dword [esp + 0x20], eax
jne 0x582255
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xb0], ecx
add eax, ecx
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xf0]
add eax, ecx
xor ecx, ecx
test esi, esi
mov dword [esp + 0xe0], eax
mov dword [esp + 0xac], ecx
jle 0x58279b
mov eax, dword [esp + 0xe0]
cmp eax, dword [esp + 0xe4]
mov eax, dword [esp + 0xa0]
jae 0x582846
mov dword [eax + ecx*4], edx
mov ecx, dword [esp + 0xe0]
mov al, byte [ecx]
cmp al, 0x80
mov edx, dword [esp + 0xac]
jae 0x582739
movzx ecx, al
mov eax, dword [esp + 0x9c]
mov dword [eax + edx*4], ecx
mov eax, 1
jmp 0x58274b
mov eax, dword [esp + 0x9c]
lea esi, [eax + edx*4]
call fcn.0053f780
movzx eax, al
mov edx, dword [esp + 0x9c]
movzx ecx, al
add dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0xac]
mov eax, dword [edx + ecx*4]
call fcn.00544270
mov edx, dword [esp + 0xe8]
add edx, eax
cmp edx, eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xe8], edx
jae 0x58285b
mov ecx, dword [esp + 0xe4]
add ecx, 1
mov dword [esp + 0xe0], ecx
lea edx, [esp + 0xb8]
push edx
call fcn.00543c10
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
add esp, 4
cmp eax, ecx
mov word [esp + 0xd4], 1
ja 0x582994
mov edx, dword [esp + 0xe8]
mov esi, dword [esp + 0x78]
cmp edx, esi
ja 0x582994
cmp eax, ecx
jne 0x5827ea
cmp edx, esi
jne 0x582994
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0xa0]
cmp dword [edx + eax*4], 0
je 0x58291b
cmp dword [esp + 0x94], 0
je 0x582877
mov esi, dword [esp + 0xb4]
call fcn.00543ba0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esp + 0x9c]
add ecx, dword [esp + 0x94]
mov eax, dword [edx + eax*4]
jmp 0x5828ff
mov dword [eax + ecx*4], 0
mov edx, dword [esp + 0xe8]
mov ecx, dword [esp + 0xac]
add ecx, 1
cmp ecx, dword [esp + 0xa4]
mov dword [esp + 0xac], ecx
jl 0x5826f3
jmp 0x58279b
mov eax, dword [ecx + eax*4]
call fcn.00544270
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xb8]
call fcn.00543db0
mov eax, dword [esp + 0x90]
movzx ecx, byte [eax + 0x17]
mov edx, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0x94]
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0xc0]
call fcn.0056dc00
add esp, 8
test eax, eax
mov dword [esp + 0x20], eax
jne 0x582255
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xb0], ecx
mov eax, dword [eax + edx*4]
mov esi, dword [esp + 0xb4]
call fcn.00544330
mov eax, dword [esp + 0xb4]
mov cl, byte [esp + 0x47]
mov byte [eax + 0x1f], cl
jmp 0x582939
cmp byte [edi + 1], 0xf8
jne 0x582939
mov edx, dword [edi + 0x10]
mov ebx, dword [esp + 0xb4]
push 0x800
push edx
call fcn.00543d70
add esp, 8
cmp dword [esp + 0xdc], 0
je 0x58297f
mov eax, dword [esp + 0xb4]
and word [eax + 0x1c], 0xe7ff
mov eax, dword [esp + 0xb4]
or word [eax + 0x1c], 0x200
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xcc]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xb4]
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0xb4]
call fcn.00551d10
mov dword [esp + 0x20], eax
jmp 0x582255
mov eax, 0xf12e
call fcn.005576b0
mov dword [esp + 0x20], eax
jmp 0x582255
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x78], ecx
mov edi, dword [edi + 4]
mov al, byte [ecx]
test al, al
lea edx, [edi + edi*4]
lea edi, [ebx + edx*8]
mov byte [esp + 0x7c], al
je 0x5829fb
add ecx, 1
mov dword [esp + 0x78], ecx
test word [edi + 0x1c], 0x4000
je 0x5829db
mov eax, edi
call fcn.0054c050
mov al, byte [esp + 0x7c]
mov ecx, dword [esp + 0x47]
push ecx
mov ecx, edi
call fcn.00570cf0
mov ecx, dword [esp + 0x7c]
mov al, byte [ecx]
add esp, 4
add edi, 0x28
test al, al
mov byte [esp + 0x7c], al
jne 0x5829c1
add ecx, 1
mov dword [esp + 0x78], ecx
jmp case.0x581179.16
mov ecx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov eax, dword [edi + 4]
mov dword [esp + 0xac], eax
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xa4], esi
mov eax, dword [edi + 8]
lea edx, [eax + eax*4]
mov dword [esp + 0xac], eax
lea eax, [esi + edx*8 - 0x28]
cmp esi, eax
movzx edx, byte [ecx + 0x64]
mov ebx, esi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0x7c], ebx
ja 0x582b7c
lea ecx, [ecx]
cmp dword [esp + 0xb0], 0
je 0x582ad6
mov eax, dword [esp + 0x47]
push eax
mov ecx, ebx
sub ecx, esi
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0xb4]
mov al, byte [ecx + edx]
mov ecx, ebx
call fcn.00570cf0
mov esi, dword [esp + 0xa8]
mov ebx, dword [esp + 0x80]
add esp, 4
test word [ebx + 0x1c], 0x4000
je 0x582af6
cmp dword [ebx + 0x18], 0
jle 0x582af6
mov eax, ebx
call fcn.0054c050
mov esi, dword [esp + 0xa4]
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0xb4]
push eax
mov ecx, ebx
call fcn.005441a0
mov dword [esp + 0xa4], eax
call fcn.00544270
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xc0], eax
cdq
add dword [esp + 0x84], eax
push 0
push ecx
adc dword [esp + 0x90], edx
call fcn.0053f800
add dword [esp + 0x94], eax
add esp, 0xc
test word [ebx + 0x1c], 0x4000
je 0x582b53
mov edx, dword [ebx]
add dword [esp + 0x98], edx
jmp 0x582b68
cmp dword [esp + 0xbc], 0
je 0x582b68
mov dword [esp + 0x98], 0
add ebx, 0x28
cmp ebx, dword [esp + 0xa8]
mov dword [esp + 0x7c], ebx
jbe 0x582a90
mov esi, dword [esp + 0x88]
mov eax, esi
cdq
push edx
push eax
call fcn.0053f800
mov ebx, eax
add esi, ebx
mov eax, esi
cdq
push edx
push eax
mov dword [esp + 0xac], ebx
mov dword [esp + 0x98], esi
call fcn.0053f800
add esp, 0x10
cmp ebx, eax
jge 0x582bba
add esi, 1
mov dword [esp + 0x88], esi
mov eax, esi
cdq
mov ecx, eax
mov eax, dword [esp + 0x98]
mov esi, edx
cdq
sub ecx, eax
mov eax, dword [esp + 0x24]
sbb esi, edx
add ecx, dword [esp + 0x80]
adc esi, dword [esp + 0x84]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], esi
mov eax, dword [eax + 0x48]
cdq
cmp esi, edx
jg 0x581b38
jl 0x582c03
cmp ecx, eax
ja 0x581b38
mov edi, dword [edi + 0xc]
mov eax, dword [esp + 0x34]
lea edx, [edi + edi*4]
lea edi, [eax + edx*8]
xor eax, eax
mov dword [esp + 0x30], edi
call fcn.0054bf40
test eax, eax
jne 0x585ff2
mov eax, dword [esp + 0x88]
cmp eax, 0x80
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x78], ecx
jae 0x582c43
mov dl, al
mov byte [ecx], dl
mov eax, 1
jmp 0x582c48
call fcn.0053f5c0
mov ecx, dword [esp + 0xa4]
movzx esi, al
mov eax, dword [esp + 0xa8]
cmp ecx, eax
mov dword [esp + 0xb8], esi
mov dword [esp + 0x7c], ecx
ja 0x582cd9
jmp 0x582c70
mov eax, dword [esp + 0xb4]
push eax
call fcn.005441a0
add esp, 4
cmp eax, 0x80
mov dword [esp + 0xa0], eax
jae 0x582c9e
mov edx, dword [esp + 0x78]
mov cl, al
mov byte [esi + edx], cl
mov eax, 1
jmp 0x582ca9
mov ecx, dword [esp + 0x78]
add ecx, esi
call fcn.0053f5c0
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0xb8]
movzx edx, al
mov eax, dword [esp + 0xa8]
add ecx, 0x28
add esi, edx
cmp ecx, eax
mov dword [esp + 0xb8], esi
mov dword [esp + 0x7c], ecx
jbe 0x582c70
mov ecx, dword [esp + 0xa4]
cmp ecx, eax
mov dword [esp + 0x7c], ecx
ja 0x582d28
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x78]
sub eax, esi
push eax
mov eax, dword [esp + 0xb8]
lea ebx, [esi + edx]
call fcn.00544290
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0xbc]
add ecx, 0x28
add esi, eax
add esp, 4
cmp ecx, dword [esp + 0xa8]
mov dword [esp + 0xb8], esi
mov dword [esp + 0x7c], ecx
jbe 0x582ce1
mov eax, dword [esp + 0x90]
mov dword [edi + 0x18], eax
mov word [edi + 0x1c], 0x410
mov dword [edi + 0x20], 0
mov eax, dword [esp + 0x98]
test eax, eax
je 0x582d52
mov dword [edi], eax
mov word [edi + 0x1c], 0x4410
mov byte [edi + 0x1f], 1
jmp 0x582255
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x80], eax
je 0x582d9d
lea ecx, [esp + 0x78]
push ecx
call fcn.0056b640
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [eax], edx
mov ecx, dword [esp + 0x80]
add esp, 4
mov dword [eax + 4], ecx
jmp case.0x581179.16
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov edx, ecx
mov dword [eax], edx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
jmp case.0x581179.16
mov eax, dword [edi + 4]
test eax, eax
mov dword [esp + 0x78], eax
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x7c], ebx
jne 0x582ea6
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x90], eax
jle 0x582dfa
push str.cannot_open_savepoint___SQL_statements_in_progress
lea edi, [esi + 0x5c]
mov eax, edx
call fcn.00557a30
add esp, 4
mov dword [esp + 0x20], 5
jmp case.0x581179.16
mov ecx, ebx
call fcn.0053eb20
lea ecx, [eax + 0x19]
mov esi, edx
mov dword [esp + 0x80], eax
call fcn.00549520
test eax, eax
mov dword [esp + 0x84], eax
je 0x582255
lea ecx, [eax + 0x18]
mov dword [eax], ecx
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
add edx, 1
push edx
mov edx, dword [ecx]
push eax
push edx
call fcn.005c3170
mov eax, esi
add esp, 0xc
cmp byte [eax + 0x1c], 0
je 0x582e5d
mov byte [eax + 0x1c], 0
mov byte [eax + 0x1dc], 1
jmp 0x582e64
add dword [eax + 0x1d4], 1
mov ecx, dword [eax + 0x1d0]
mov edx, dword [esp + 0x84]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [eax + 0x1e0]
mov dword [eax + 0x1d0], ecx
mov ecx, dword [esp + 0x84]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0x1e4]
mov eax, dword [esp + 0x84]
mov dword [eax + 0xc], edx
jmp 0x582255
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], 0
mov edi, dword [ecx + 0x1d0]
test edi, edi
mov dword [esp + 0x88], edi
je 0x582ee9
mov ecx, dword [edi]
mov edx, ebx
call fcn.0053ec00
test eax, eax
je 0x582f0b
add dword [esp + 0x90], 1
mov edi, dword [edi + 0x10]
test edi, edi
mov dword [esp + 0x88], edi
jne 0x582ec6
mov eax, dword [esp + 0x24]
push ebx
push str.no_such_savepoint:__s
lea edi, [esi + 0x5c]
call fcn.00557a30
add esp, 8
mov dword [esp + 0x20], 1
jmp case.0x581179.16
mov ebx, dword [esp + 0x24]
xor eax, eax
cmp dword [ebx + 0x90], eax
jg 0x5830e0
mov ecx, dword [esp + 0x78]
cmp ecx, 2
jne 0x582f33
cmp dword [ebx + 0x8c], 1
jg 0x5830e7
cmp dword [edi + 0x10], eax
jne 0x582f8c
cmp byte [ebx + 0x1dc], 0
je 0x582f8c
cmp ecx, 1
mov dword [esp + 0x38], 1
jne 0x582f90
push ecx
mov ecx, esi
call fcn.0055a640
mov edi, eax
add esp, 4
test edi, edi
jne 0x581bb1
push esi
mov byte [ebx + 0x1c], 1
call fcn.0056de40
add esp, 4
cmp eax, 5
je 0x586025
mov byte [ebx + 0x1dc], 0
mov edx, dword [esi + 0x58]
mov dword [esp + 0x20], edx
jmp 0x583036
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0x1d4]
sub ecx, dword [esp + 0x90]
mov dword [esp + 0x94], eax
sub ecx, 1
mov dword [esp + 0x90], ecx
cmp dword [ebx + 4], eax
jle 0x583011
mov esi, ebx
jmp 0x582fc7
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esi + 8]
shl eax, 4
mov eax, dword [eax + edx + 4]
mov ebx, ecx
call fcn.00563170
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
jne 0x5860e4
mov eax, dword [esp + 0x94]
add eax, 1
mov dword [esp + 0x94], eax
cmp eax, dword [esi + 4]
jl 0x582fc0
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x78], 2
jne 0x58303d
test dword [ebx + 0xc], 0x200
je 0x58303d
mov ebx, dword [esp + 0x24]
mov eax, ebx
call fcn.00544570
push 0
call fcn.0055b8c0
add esp, 4
mov edi, dword [esp + 0x88]
cmp dword [ebx + 0x1d0], edi
je 0x58308d
jmp 0x583050
mov eax, dword [ebx + 0x1d0]
mov dword [esp + 0x8c], eax
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x1d0], eax
mov ecx, dword [esp + 0x8c]
push ecx
push ebx
call fcn.0053e910
add dword [ebx + 0x1d4], 0xffffffff
mov edi, dword [esp + 0x90]
add esp, 8
cmp dword [ebx + 0x1d0], edi
jne 0x583050
cmp dword [esp + 0x78], 1
jne 0x5830c9
mov edx, dword [edi + 0x10]
mov dword [ebx + 0x1d0], edx
mov eax, dword [esp + 0x88]
push eax
push ebx
call fcn.0053e910
add esp, 8
cmp dword [esp + 0x38], 0
jne case.0x581179.16
mov eax, dword [esp + 0x24]
add dword [eax + 0x1d4], 0xffffffff
jmp case.0x581179.16
mov ecx, dword [edi + 8]
mov dword [ebx + 0x1e0], ecx
mov edx, dword [edi + 0xc]
mov dword [ebx + 0x1e4], edx
jmp case.0x581179.16
cmp dword [esp + 0x78], 2
jne 0x5830ee
mov eax, str.rollback
jmp 0x5830f3
mov eax, str.release
push eax
push str.cannot__s_savepoint___SQL_statements_in_progress
lea edi, [esi + 0x5c]
mov eax, ebx
call fcn.00557a30
add esp, 8
mov dword [esp + 0x20], 5
jmp case.0x581179.16
mov eax, dword [edi + 4]
test eax, eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov edi, dword [edi + 8]
mov dword [esp + 0x7c], edi
je 0x583166
cmp byte [ecx + 0x1c], 0
jne 0x583166
test edi, edi
mov edx, 1
mov dword [esp + 0x80], edx
je 0x583188
cmp dword [ecx + 0x8c], edx
jle 0x583171
push str.cannot_rollback_transaction___SQL_statements_in_progress
lea edi, [esi + 0x5c]
mov eax, ecx
call fcn.00557a30
add esp, 4
mov dword [esp + 0x20], 5
jmp case.0x581179.16
mov dword [esp + 0x80], 0
movzx ecx, byte [ecx + 0x1c]
cmp eax, ecx
jne 0x58603d
test eax, eax
jne 0x5831b0
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x5831be
cmp dword [ecx + 0x90], 0
jle 0x583171
push str.cannot_commit_transaction___SQL_statements_in_progress
lea edi, [esi + 0x5c]
mov eax, ecx
call fcn.00557a30
add esp, 4
mov dword [esp + 0x20], 5
jmp case.0x581179.16
test edi, edi
mov eax, str.cannot_rollback___no_transaction_is_active
jne 0x5831be
mov eax, str.cannot_commit___no_transaction_is_active
push eax
mov eax, dword [esp + 0x28]
lea edi, [esi + 0x5c]
call fcn.00557a30
add esp, 4
mov dword [esp + 0x20], 1
jmp case.0x581179.16
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
shl edx, 4
mov eax, dword [edx + ecx + 4]
test eax, eax
mov dword [esp + 0x78], eax
je case.0x581179.16
mov edx, dword [edi + 8]
push edx
call fcn.00565070
add esp, 4
cmp eax, 5
mov dword [esp + 0x20], eax
je 0x5860b8
test eax, eax
jne 0x5860e4
cmp dword [edi + 8], eax
je case.0x581179.16
cmp byte [esi + 0x66], al
je case.0x581179.16
mov edi, dword [esp + 0x24]
cmp byte [edi + 0x1c], al
je 0x583241
cmp dword [edi + 0x8c], 1
jle case.0x581179.16
cmp dword [esi + 0xd8], 0
jne 0x583265
add dword [edi + 0x1d8], 1
mov eax, dword [edi + 0x1d8]
mov ecx, dword [edi + 0x1d4]
add ecx, eax
mov dword [esi + 0xd8], ecx
mov edx, dword [esi + 0xd8]
mov eax, dword [esp + 0x78]
push edx
call fcn.0054be80
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x1e0]
mov dword [esi + 0xd0], eax
mov ecx, dword [edi + 0x1e4]
add esp, 4
mov dword [esi + 0xd4], ecx
jmp case.0x581179.16
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
mov edi, dword [edi + 0xc]
lea edx, [esp + 0x78]
mov dword [esp + 0x80], edi
push edx
mov edx, dword [ecx + 8]
shl eax, 4
mov eax, dword [eax + edx + 4]
push edi
call fcn.005439f0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x38]
cdq
add esp, 8
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x581179.16
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x24]
shl eax, 4
add eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x34]
lea ebx, [eax + edx*8]
mov eax, ebx
mov dword [esp + 0x38], ebx
call fcn.0055a4f0
mov ecx, dword [ebx]
mov edx, dword [esp + 0x78]
mov ebx, dword [edi + 8]
mov eax, dword [edx + 4]
push ecx
call fcn.0055ff60
mov dword [esp + 0x24], eax
mov eax, dword [edi + 8]
add esp, 4
cmp eax, 1
jne 0x583342
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
or dword [eax + 0xc], 0x200
jmp 0x583357
cmp eax, 2
jne 0x583357
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x38]
mov cl, byte [eax]
mov byte [edx + 0x48], cl
cmp dword [edi + 4], 1
jne case.0x581179.16
mov eax, dword [esp + 0x24]
call fcn.00544570
mov byte [esi + 0x62], 0
jmp case.0x581179.16
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
shl edx, 4
mov eax, dword [edx + ecx + 4]
test eax, eax
mov dword [esp + 0x7c], eax
je 0x58339d
lea edx, [esp + 0x78]
push edx
push 1
call fcn.005439f0
add esp, 8
jmp 0x5833a5
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x78]
cmp eax, dword [edi + 8]
je case.0x581179.16
mov ecx, dword [esi + 0x5c]
mov ebx, dword [esp + 0x24]
push ecx
push ebx
call fcn.0053e910
push ebx
mov ebx, str.database_schema_has_changed
call fcn.00549640
mov dword [esi + 0x5c], eax
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov edx, edi
shl edx, 4
mov edx, dword [edx + ecx + 0xc]
mov eax, dword [edx]
add esp, 0xc
cmp eax, dword [esp + 0x78]
je 0x5833f9
mov ebx, dword [esp + 0x24]
push edi
call fcn.0055b8c0
add esp, 4
mov eax, dword [esp + 0x24]
call fcn.00544570
mov dword [esp + 0x20], 0x11
jmp case.0x581179.16
cmp byte [esi + 0x62], 0
je 0x583422
mov dword [esp + 0x20], 4
jmp case.0x581179.16
xor ecx, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x80], edx
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x84], eax
shl eax, 4
add eax, dword [edx + 8]
mov dword [esp + 0x94], eax
mov edx, dword [eax + 4]
mov dword [esp + 0x8c], edx
cmp byte [edi], 0x27
jne 0x58347b
mov dword [esp + 0x88], 1
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x48]
cmp al, byte [esi + 0x64]
jae 0x583486
mov byte [esi + 0x64], al
jmp 0x583486
mov dword [esp + 0x88], 0
cmp byte [edi + 3], 0
je 0x5834b6
mov eax, dword [esp + 0x80]
lea ecx, [eax + eax*4]
lea ebx, [ebx + ecx*8]
mov eax, ebx
call fcn.0055a4f0
mov ebx, dword [ebx]
cmp ebx, 2
mov dword [esp + 0x80], ebx
jl 0x5860cc
mov ecx, dword [esp + 0x78]
mov al, byte [edi + 1]
cmp al, 0xfa
jne 0x5834df
mov eax, dword [edi + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x7c], eax
mov ecx, dword [edx + 8]
mov edx, dword [ecx + 0xc]
mov cl, byte [edx + 0x49]
mov byte [eax + 4], cl
mov edx, dword [esp + 0x7c]
movzx ecx, word [edx + 6]
add ecx, 1
jmp 0x5834e6
cmp al, 0xf2
jne 0x5834ea
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x84]
push 1
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
mov ebx, esi
call fcn.0056e3d0
add esp, 0x10
test eax, eax
mov dword [esp + 0x90], eax
je 0x585ff6
mov byte [eax + 0x14], 1
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push eax
mov eax, dword [esp + 0x9c]
call fcn.005436f0
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x8c]
add esp, 0x10
cmp eax, 0x10
mov dword [esp + 0x20], eax
mov dword [ecx + 0x28], edx
jne 0x583573
mov eax, dword [esp + 0x90]
mov dword [eax], 0
mov dword [esp + 0x20], 0
cmp byte [edi + 1], 0xfa
mov edx, dword [esp + 0x90]
setne cl
mov byte [edx + 0x16], cl
mov eax, dword [esp + 0x90]
cmp byte [eax + 0x16], 0
sete cl
mov byte [eax + 0x17], cl
jmp case.0x581179.16
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
push 1
push 0xffffffffffffffff
push edx
push eax
mov ebx, esi
call fcn.0056e3d0
add esp, 0x10
test eax, eax
mov dword [esp + 0x78], eax
je 0x585ff6
mov edx, dword [esp + 0x24]
mov ebx, 1
mov byte [eax + 0x14], bl
mov ecx, dword [esp + 0x78]
add ecx, 0x20
push ecx
push 0x1f4
push ebx
mov eax, 0x41e
xor ecx, ecx
call fcn.00568c00
add esp, 0xc
test eax, eax
mov dword [esp + 0x20], eax
jne 0x5836b4
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x20]
push ebx
call fcn.00565070
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
jne 0x5836b4
cmp dword [edi + 0x10], eax
je 0x583690
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x60]
push 2
push eax
mov eax, dword [ecx + 0x20]
call fcn.00567860
add esp, 8
test eax, eax
mov dword [esp + 0x20], eax
jne 0x583675
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 0x20]
push edx
mov edx, dword [esp + 0x64]
push ecx
push ebx
push edx
call fcn.005436f0
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x28], eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 0x28]
mov cl, byte [ecx + 0x49]
add esp, 0x10
mov byte [eax + 4], cl
mov edx, dword [esp + 0x78]
mov byte [edx + 0x16], 0
mov eax, dword [esp + 0x78]
cmp byte [eax + 0x16], 0
sete cl
mov byte [eax + 0x17], cl
jmp case.0x581179.16
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [eax + 0x20]
push ecx
push 0
push ebx
push ebx
call fcn.005436f0
mov edx, dword [esp + 0x88]
add esp, 0x10
mov dword [esp + 0x20], eax
mov byte [edx + 0x16], bl
mov eax, dword [esp + 0x78]
cmp byte [eax + 0x16], 0
sete cl
mov byte [eax + 0x17], cl
jmp case.0x581179.16
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 4]
push 0
push 0xffffffffffffffff
push edx
push eax
mov ebx, esi
call fcn.0056e3d0
add esp, 0x10
test eax, eax
mov dword [esp + 0x78], eax
je 0x585ff6
mov cl, 1
mov byte [eax + 0x14], cl
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x78]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x78]
mov byte [edx + 0x16], cl
mov eax, dword [esp + 0x78]
mov byte [eax + 0x17], 0
jmp case.0x581179.16
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + ecx*4]
mov ebx, esi
call fcn.0056dd10
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x34]
mov dword [ecx + eax*4], 0
jmp case.0x581179.16
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x34]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x80], eax
cmp dword [eax], 0
je 0x581192
movzx ecx, byte [edi]
mov dword [esp + 0x7c], ecx
mov byte [eax + 0x14], 0
mov ecx, dword [esp + 0x80]
cmp byte [ecx + 0x16], 0
je 0x583937
mov edi, dword [edi + 0xc]
mov eax, dword [esp + 0x34]
lea edx, [edi + edi*4]
lea esi, [eax + edx*8]
mov edi, esi
call fcn.00570bc0
call fcn.0055a3f0
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov byte [ecx + 0x11], 0
movzx eax, word [esi + 0x1c]
test al, 4
jne 0x5838c0
test al, 8
jne 0x5837b8
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [esp + 0x2c], eax
jmp 0x582255
xor ebx, ebx
cmp dword [esp + 0xa8], ebx
jne 0x58386c
mov eax, closesocket
cmp dword [esp + 0xac], eax
jne 0x58386c
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ebx
fild qword [esp + 0x70]
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x41
je 0x5837fb
fldz
fcomp qword [esi + 8]
fnstsw ax
test ah, 5
jp 0x58386c
fldz
mov dword [esp + 0x78], 1
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x41
jne 0x58382a
cmp dword [esp + 0x7c], 0x2e
jl 0x583859
mov eax, dword [esp + 0x80]
mov esi, dword [eax]
lea edi, [esp + 0x78]
call fcn.00569d00
jmp 0x583843
cmp dword [esp + 0x7c], 0x2d
jg 0x583859
mov ecx, dword [esp + 0x80]
mov esi, dword [ecx]
lea edi, [esp + 0x78]
call fcn.00569d30
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x5860e4
cmp dword [esp + 0x78], ebx
je 0x582255
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [esp + 0x2c], eax
jmp 0x582255
mov eax, dword [esp + 0x7c]
cmp eax, 0x2c
je 0x58389e
cmp eax, 0x2e
je 0x58389e
fild qword [esp + 0xa8]
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x41
jne 0x5838c2
or eax, 0xffffffff
add dword [esp + 0xa8], eax
adc dword [esp + 0xac], eax
jmp 0x5838c2
fild qword [esp + 0xa8]
fcomp qword [esi + 8]
fnstsw ax
test ah, 5
jp 0x5838c2
add dword [esp + 0xa8], 1
adc dword [esp + 0xac], ebx
jmp 0x5838c2
xor ebx, ebx
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x84]
push ebx
push ecx
mov ecx, dword [eax]
push edx
push ebx
push ecx
call fcn.00569d70
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x5860e4
cmp dword [esp + 0x78], ebx
mov edi, dword [esp + 0x40]
jne 0x5839c3
mov edx, dword [esp + 0x80]
mov byte [edx + 0x11], 1
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x80]
mov dword [eax + 0xc], edx
jmp 0x5839c3
mov edx, dword [edi + 0x10]
mov dword [esp + 0xa0], edx
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x88], eax
movzx eax, byte [esp + 0x7c]
and eax, 1
add eax, eax
add eax, eax
add eax, eax
mov word [esp + 0x8c], dx
mov word [esp + 0x8e], ax
mov eax, dword [edi + 0xc]
lea edx, [eax + eax*4]
lea eax, [ebx + edx*8]
mov dword [esp + 0x98], eax
test word [eax + 0x1c], 0x4000
je 0x58398d
call fcn.0054c050
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x78]
push eax
mov eax, dword [ecx]
push 0
push 0
push 0
lea edx, [esp + 0x98]
push edx
push eax
call fcn.00569d70
add esp, 0x18
test eax, eax
mov dword [esp + 0x20], eax
jne 0x5860e4
mov ecx, dword [esp + 0x80]
mov byte [ecx + 0x11], al
xor ebx, ebx
mov edx, dword [esp + 0x80]
mov byte [edx + 0x15], 0
mov eax, dword [esp + 0x80]
mov dword [eax + 0x44], ebx
mov ecx, dword [esp + 0x7c]
cmp ecx, 0x2e
mov eax, dword [esp + 0x78]
jl 0x583a29
cmp eax, ebx
jl 0x5839f9
jne 0x5839f0
cmp ecx, 0x2f
je 0x5839f9
mov dword [esp + 0x78], ebx
jmp 0x582255
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
lea ecx, [esp + 0x78]
push ecx
push eax
call fcn.0056d3f0
add esp, 8
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x5860e4
mov ecx, dword [esp + 0x80]
mov byte [ecx + 0x11], 0
jmp 0x583a7a
cmp eax, ebx
jg 0x583a4c
jne 0x583a34
cmp ecx, 0x2c
je 0x583a4c
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
xor ecx, ecx
cmp byte [eax + 0x43], 1
setne cl
mov dword [esp + 0x78], ecx
jmp 0x583a7a
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
lea edx, [esp + 0x78]
push edx
push ecx
call fcn.0056d560
add esp, 8
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x5860e4
mov edx, dword [esp + 0x80]
mov byte [edx + 0x11], 0
cmp dword [esp + 0x78], ebx
je 0x582255
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp 0x582255
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x78], eax
cmp dword [eax], 0
je 0x582255
mov byte [eax + 0x14], 0
mov edi, dword [edi + 8]
mov eax, dword [esp + 0x34]
lea edx, [edi + edi*4]
lea esi, [eax + edx*8]
call fcn.0055a3f0
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x78]
mov byte [ecx + 0x11], 0
mov edx, dword [esp + 0x78]
mov byte [edx + 0x15], 1
jmp 0x582255
mov ecx, dword [esi + 0x34]
xor edx, edx
mov dword [esp + 0x78], edx
mov eax, dword [edi + 4]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x7c], eax
cmp dword [eax], edx
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + ecx*4]
lea ebx, [ebx + ecx*8]
je 0x583bf6
cmp dword [edi + 0x10], edx
jle 0x583b42
mov edx, dword [eax + 0x28]
mov dword [esp + 0x88], edx
mov cx, word [edi + 0x10]
lea edx, [esp + 0x88]
mov word [esp + 0x8c], cx
mov dword [esp + 0x98], ebx
mov word [esp + 0x8e], 0x10
mov dword [esp + 0x84], edx
jmp 0x583b8d
test word [ebx + 0x1c], 0x4000
je 0x583b55
mov eax, ebx
call fcn.0054c050
mov eax, dword [esp + 0x7c]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov eax, dword [eax + 0x28]
push ecx
push edx
push eax
mov edx, 0x97
lea eax, [esp + 0xac]
call fcn.0054c8b0
add esp, 0xc
test eax, eax
mov dword [esp + 0x84], eax
je 0x585ff6
or word [eax + 6], 0x10
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x84]
mov eax, dword [eax]
lea ecx, [esp + 0x80]
push ecx
push 0
push 0
push 0
push edx
push eax
call fcn.00569d70
add esp, 0x18
cmp dword [edi + 0x10], 0
mov dword [esp + 0x20], eax
jne 0x583bc4
mov ebx, dword [esp + 0x84]
call fcn.00544510
cmp dword [esp + 0x20], 0
jne case.0x581179.16
mov edx, dword [esp + 0x7c]
xor ecx, ecx
cmp dword [esp + 0x80], ecx
sete cl
mov dword [esp + 0x78], ecx
mov byte [edx + 0x15], 0
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x44], 0
mov edx, dword [esp + 0x78]
cmp byte [edi], 0x32
jne 0x583c12
test edx, edx
je 0x582255
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
test edx, edx
jne 0x582255
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
mov eax, dword [edi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x10]
lea edx, [ebx + ecx*8]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [esi + 0x34]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x38], edx
mov edx, dword [edi + 4]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x7c], eax
xor ebx, ebx
mov dword [eax + 0x40], ebx
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0x44], ebx
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
mov dword [esp + 0x80], eax
mov ecx, dword [edx + 0x28]
mov cx, word [ecx + 6]
xor ax, ax
cmp cx, bx
mov ebx, dword [esp + 0x88]
mov word [esp + 0x84], cx
mov word [esp + 0x78], ax
jbe 0x583cb3
nop
movzx edx, ax
lea edx, [edx + edx*4]
test byte [ebx + edx*8 + 0x1c], 1
jne 0x583d79
add ax, 1
cmp ax, cx
mov word [esp + 0x78], ax
jb 0x583c90
mov edx, dword [esp + 0x7c]
cmp dword [esp + 0x80], 0
je 0x582255
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x90], eax
add ecx, 1
mov eax, ebx
mov word [esp + 0x94], cx
mov word [esp + 0x96], 0x20
call fcn.0055a4f0
mov ecx, dword [esp + 0x7c]
mov edx, dword [ebx]
add ecx, 0x40
push ecx
push 0
mov dword [esp + 0xb0], edx
mov eax, dword [ebx + 4]
push 0
push 0
lea edx, [esp + 0xa0]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x90]
push edx
push eax
call fcn.00569d70
add esp, 0x18
test byte [esp + 0x96], 0x20
mov dword [esp + 0x20], eax
jne 0x581192
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0xa8]
jne 0x583d68
mov ecx, dword [esp + 0x9c]
cmp ecx, dword [esp + 0xac]
je 0x581192
mov dword [ebx], eax
mov edx, dword [esp + 0x9c]
mov dword [ebx + 4], edx
jmp case.0x581179.16
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x80], 0
jmp case.0x581179.16
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov ecx, dword [edx + ecx*4]
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
mov dword [esp + 0x78], ecx
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x7c], eax
je 0x583e61
mov dword [esp + 0x80], 0
mov ecx, dword [ebx]
mov dword [esp + 0x88], ecx
mov edx, dword [ebx + 4]
mov dword [esp + 0x8c], edx
lea edx, [esp + 0x80]
push edx
mov edx, dword [esp + 0x90]
push 0
push edx
push ecx
push 0
push eax
call fcn.00569d70
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
mov dword [ecx + 8], eax
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x90]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x90]
add esp, 0x18
cmp dword [esp + 0x80], 0
sete cl
mov byte [edx + 0x11], cl
mov eax, dword [esp + 0x78]
mov byte [eax + 0x14], 0
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x44], 0
mov edx, dword [esp + 0x78]
mov byte [edx + 0x15], 0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x583e55
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x40], eax
jmp case.0x581179.16
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
mov dword [ecx + 0x40], 0
jmp case.0x581179.16
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x34]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x30]
mov dword [ecx], edx
mov eax, dword [eax + 0x34]
mov dword [ecx + 4], eax
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + ecx*4]
add dword [eax + 0x30], 1
adc dword [eax + 0x34], 0
jmp case.0x581179.16
mov edx, dword [esi + 0x34]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
mov eax, dword [edi + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x80], eax
cmp dword [eax], 0
je 0x58417c
mov dword [esp + 0x88], 0
cmp byte [eax + 0x13], 0
jne 0x584076
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x78], eax
mov ecx, dword [ecx + 0x1c]
mov edx, eax
or edx, ecx
mov dword [esp + 0x7c], ecx
jne 0x583f87
mov eax, dword [esp + 0x80]
mov esi, dword [eax]
lea edi, [esp + 0x84]
call fcn.00569d30
test eax, eax
mov dword [esp + 0x20], eax
jne 0x5860e4
cmp dword [esp + 0x84], eax
je 0x583f2d
mov eax, 1
xor ecx, ecx
jmp 0x583f73
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
lea edi, [esp + 0x78]
call fcn.005437c0
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
cmp eax, 0xffffffff
jne 0x583f6d
cmp ecx, 0x7fffffff
jne 0x583f6d
mov edx, dword [esp + 0x80]
mov byte [edx + 0x13], 1
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
jmp 0x583f7b
add eax, 1
adc ecx, 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov edx, dword [edi + 0xc]
test edx, edx
je 0x584048
mov esi, dword [esi + 0xdc]
test esi, esi
je 0x583fce
mov ecx, esi
mov dword [esp + 0x90], ecx
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x583fc0
lea esp, [esp]
mov ecx, eax
mov dword [esp + 0x90], ecx
mov eax, dword [ecx + 0x3c]
test eax, eax
jne 0x583fb0
mov edi, dword [edi + 0xc]
mov ecx, dword [ecx + 0x10]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*8]
jmp 0x583fd4
lea edx, [edx + edx*4]
lea eax, [ebx + edx*8]
mov dword [esp + 0x8c], eax
call fcn.0055a4f0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
cmp eax, 0xffffffff
mov ecx, dword [edx + 4]
jne 0x583ffd
cmp ecx, 0x7fffffff
je 0x5860dc
mov esi, dword [esp + 0x80]
cmp byte [esi + 0x13], 0
jne 0x5860dc
mov esi, dword [esp + 0x7c]
add eax, 1
adc ecx, 0
cmp esi, ecx
jg 0x58402c
jl 0x584024
cmp dword [esp + 0x78], eax
jae 0x58402c
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x78]
mov dword [edx], eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x8c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
cmp ecx, 0x7fffffff
jg 0x58405f
jl 0x584057
cmp eax, 0xffffffff
jae 0x58405f
add eax, 1
adc ecx, 0
jmp 0x584063
xor eax, eax
xor ecx, ecx
push ecx
push eax
mov eax, dword [esp + 0x88]
mov esi, dword [eax]
call fcn.00543740
add esp, 8
mov ecx, dword [esp + 0x80]
cmp byte [ecx + 0x13], 0
je 0x584150
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x30]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0x34]
xor ecx, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], ecx
xor esi, esi
cmp ecx, esi
jne 0x5840cc
mov edx, dword [esp + 0x78]
mov eax, edx
and eax, 0xffffff
xor ecx, ecx
cmp eax, edx
jne 0x5840cc
cmp ecx, dword [esp + 0x7c]
jne 0x5840cc
add edx, 1
adc dword [esp + 0x7c], esi
mov dword [esp + 0x78], edx
jmp 0x5840f1
lea ecx, [esp + 0x78]
push ecx
push 8
call fcn.00549960
add esp, 8
cmp dword [esp + 0x88], 5
jge 0x5840f1
and dword [esp + 0x78], 0xffffff
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push esi
push eax
mov eax, dword [edx]
push ecx
push esi
push eax
call fcn.00569d70
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
add ecx, 1
add esp, 0x18
cmp ecx, 0x64
mov dword [esp + 0x20], eax
mov dword [esp + 0x88], ecx
jge 0x584144
cmp eax, esi
jne 0x584150
cmp edx, esi
je 0x5840a4
cmp eax, esi
jne 0x584150
cmp edx, esi
je 0x5860dc
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x28]
mov byte [ecx + 0x11], 0
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x30]
mov byte [edx + 0x15], 0
mov eax, dword [esp + 0x80]
mov dword [eax + 0x44], 0
mov edx, dword [esp + 0x78]
mov dword [ecx], edx
mov eax, dword [esp + 0x7c]
mov dword [ecx + 4], eax
jmp case.0x581179.16
mov eax, dword [edi + 8]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x34]
lea ecx, [ebx + ecx*8]
mov dword [esp + 0x78], ecx
mov edx, dword [edi + 4]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x88], edx
cmp byte [edi], 0x37
mov eax, dword [edi + 0xc]
jne 0x5841cb
lea eax, [eax + eax*4]
lea edx, [ebx + eax*8]
mov dword [esp + 0x7c], edx
mov eax, dword [edx]
mov dword [esp + 0x80], eax
mov edx, dword [edx + 4]
jmp 0x5841d3
cdq
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
test byte [edi + 3], 1
je 0x5841e4
add dword [esi + 0x6c], 1
test byte [edi + 3], 2
je 0x5841ff
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x84]
mov dword [ecx + 0x34], eax
mov ecx, dword [esp + 0x78]
xor eax, eax
test byte [ecx + 0x1c], 1
je 0x584215
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x18], eax
mov ecx, dword [esp + 0x78]
test byte [edi + 3], 0x10
je 0x58422e
mov edx, dword [esp + 0x88]
mov edx, dword [edx + 0x40]
mov dword [esp + 0x90], edx
jmp 0x584235
mov dword [esp + 0x90], eax
test word [ecx + 0x1c], 0x4000
je 0x58423f
mov eax, dword [ecx]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x8c], eax
mov esi, dword [ecx]
push 0
push 0
call fcn.00543740
movzx edx, byte [edi + 3]
mov eax, dword [esp + 0x94]
and edx, 8
push edx
push eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [edx]
push ecx
push 0
push eax
mov eax, dword [esp + 0xb8]
call fcn.0056d710
mov ecx, dword [esp + 0xb0]
mov byte [ecx + 0x11], 0
mov edx, dword [esp + 0xb0]
mov byte [edx + 0x15], 0
mov ecx, dword [esp + 0xb0]
add esp, 0x28
test eax, eax
mov dword [esp + 0x20], eax
mov dword [ecx + 0x44], 0
jne 0x582255
mov edx, dword [esp + 0x24]
cmp dword [edx + 0xb8], eax
je 0x582255
cmp dword [edi + 0x10], eax
je 0x582255
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
mov eax, edx
mov edx, dword [eax + 8]
shl ecx, 4
mov ecx, dword [ecx + edx]
mov dword [esp + 0x94], ecx
mov esi, dword [edi + 0x10]
mov dword [esp + 0x98], esi
mov dl, byte [edi + 3]
mov edi, dword [esp + 0x84]
and dl, 4
neg dl
push edi
mov edi, dword [esp + 0x84]
push edi
push esi
push ecx
sbb edx, edx
and edx, 5
add edx, 0x12
mov dword [esp + 0xac], edx
mov ecx, dword [eax + 0xb4]
push edx
mov edx, dword [eax + 0xb8]
push ecx
call edx
add esp, 0x18
jmp 0x582255
mov edx, dword [esi + 0x34]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov ecx, dword [edi + 4]
mov esi, dword [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x80], esi
cmp dword [ecx + 0xb8], eax
je 0x58438b
cmp dword [edi + 0x10], eax
je 0x58438b
mov edx, dword [esi + 8]
mov dword [esp + 0x78], edx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x7c], eax
call fcn.0056e0f0
test eax, eax
mov dword [esp + 0x20], eax
jne 0x5860e4
mov ecx, dword [esp + 0x80]
mov esi, dword [ecx]
push eax
push eax
call fcn.00543740
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
push eax
call fcn.0056d920
mov ecx, dword [esp + 0x8c]
add esp, 0xc
test eax, eax
mov dword [esp + 0x20], eax
mov dword [ecx + 0x44], 0
jne 0x584416
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0xb8]
test ecx, ecx
je 0x584416
mov eax, dword [edi + 0x10]
test eax, eax
je 0x584416
mov esi, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x7c]
push esi
mov esi, dword [edx + 8]
mov edx, dword [edx + 0xb4]
push eax
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
shl eax, 4
mov eax, dword [eax + esi]
push eax
push 9
push edx
call ecx
add esp, 0x18
test byte [edi + 8], 1
je 0x582255
mov eax, dword [esp + 0x28]
add dword [eax + 0x6c], 1
mov esi, eax
jmp case.0x581179.16
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 0x24]
add dword [eax + 0x40], ecx
mov dword [eax + 0x3c], ecx
mov dword [esi + 0x6c], 0
jmp case.0x581179.16
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x34]
mov esi, dword [ecx + edx*4]
mov dword [esp + 0x78], esi
mov edx, dword [esi]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x7c], edx
call fcn.0056e0f0
test eax, eax
mov dword [esp + 0x20], eax
jne 0x5860e4
mov eax, dword [esp + 0x78]
cmp byte [eax + 0x17], 0
je 0x5844cc
mov eax, dword [esp + 0x7c]
lea edi, [esp + 0x88]
call fcn.005437c0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x48]
mov ecx, dword [esp + 0x8c]
cdq
cmp ecx, edx
jg 0x581b38
mov ecx, dword [esp + 0x88]
jl 0x5844c3
cmp ecx, eax
ja 0x581b38
mov dword [esp + 0x80], ecx
jmp 0x5844f4
mov esi, dword [esp + 0x7c]
lea edx, [esp + 0x80]
push edx
call fcn.005437f0
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x28]
add esp, 4
cmp ecx, dword [eax + 0x48]
ja 0x581b38
xor eax, eax
mov edi, ebx
call fcn.0054bf40
test eax, eax
jne 0x585ff2
mov dx, word [ebx + 0x1c]
mov ecx, dword [esp + 0x80]
and dx, 0xbf10
or dx, 0x10
mov dword [ebx + 0x18], ecx
mov word [ebx + 0x1c], dx
mov eax, dword [esp + 0x78]
cmp byte [eax + 0x17], 0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov eax, dword [ebx + 0x14]
je 0x584554
push 0
push eax
push ecx
push 0
push edx
call fcn.00565bc0
add esp, 0x14
mov dword [esp + 0x20], eax
mov byte [ebx + 0x1f], 1
jmp 0x582255
push eax
push ecx
push 0
push edx
call fcn.0056d3b0
add esp, 0x10
mov dword [esp + 0x20], eax
mov byte [ebx + 0x1f], 1
jmp 0x582255
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x78], eax
cmp byte [eax + 0x14], 0
je 0x58458c
mov word [ecx + 0x1c], 1
jmp case.0x581179.16
cmp byte [eax + 0x15], 0
je 0x5845ab
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x84], edx
jmp 0x584633
cmp dword [eax + 0x38], 0
je 0x5845ee
mov ecx, dword [eax + 0x38]
mov ecx, dword [ecx]
mov dword [esp + 0x88], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x8c], ecx
mov eax, dword [eax + 0x38]
mov ecx, dword [ecx + 0x30]
lea edx, [esp + 0x80]
push edx
push eax
call ecx
mov edx, dword [esp + 0x90]
push edx
push esi
mov dword [esp + 0x30], eax
call fcn.0054cb80
add esp, 0x10
jmp 0x584633
mov esi, eax
call fcn.0056e0f0
test eax, eax
mov dword [esp + 0x20], eax
jne 0x5860e4
mov eax, dword [esp + 0x78]
cmp byte [eax + 0x11], 0
je 0x584621
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x84], edx
jmp 0x584633
mov eax, dword [eax]
lea edi, [esp + 0x80]
call fcn.005437c0
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x30]
mov dword [eax], ecx
mov edx, dword [esp + 0x84]
mov dword [eax + 4], edx
jmp 0x582255
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x78], eax
mov byte [eax + 0x14], 1
mov edx, dword [esp + 0x78]
mov byte [edx + 0x11], 0
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
test eax, eax
je case.0x581179.16
mov esi, eax
call fcn.00543000
jmp 0x582255
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + ecx*4]
mov dword [esp + 0x78], eax
mov ecx, dword [eax]
test ecx, ecx
mov dword [esp + 0x7c], ecx
jne 0x5846a6
mov dword [esp + 0x80], 1
jmp 0x5846c4
lea edi, [esp + 0x80]
mov esi, ecx
call fcn.00569d30
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov cl, byte [esp + 0x80]
mov byte [eax + 0x14], cl
mov edx, dword [esp + 0x78]
mov byte [edx + 0x15], 0
mov eax, dword [esp + 0x78]
mov byte [eax + 0x11], 0
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x44], 0
mov edi, dword [edi + 8]
test edi, edi
jle case.0x581179.16
cmp dword [esp + 0x80], 0
je case.0x581179.16
add edi, 0xffffffff
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
add dword [esi + 0xb4], 1
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], 1
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x7c], eax
je 0x584782
lea edi, [esp + 0x80]
mov esi, eax
call fcn.00569d00
cmp dword [esp + 0x80], 0
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
sete cl
mov byte [edx + 0x12], cl
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov byte [eax + 0x15], 0
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x44], 0
mov edx, dword [esp + 0x78]
mov byte [edx + 0x11], 0
mov ecx, dword [esp + 0x78]
mov al, byte [esp + 0x80]
mov byte [ecx + 0x14], al
cmp dword [esp + 0x80], 0
je case.0x581179.16
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xe0]
test edx, edx
jne 0x58612b
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + eax*4]
test eax, eax
mov dword [esp + 0x78], eax
je case.0x581179.16
mov ecx, dword [eax]
test ecx, ecx
mov dword [esp + 0x7c], ecx
jne 0x5847e3
mov byte [eax + 0x14], 1
jmp case.0x581179.16
mov dword [esp + 0x80], 1
cmp byte [edi], 0x43
jne 0x584803
lea edx, [esp + 0x80]
push edx
push ecx
call fcn.0056d3f0
jmp 0x584811
lea eax, [esp + 0x80]
push eax
push ecx
call fcn.0056d560
mov ecx, dword [esp + 0x80]
mov dl, byte [esp + 0x88]
mov byte [ecx + 0x14], dl
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
add esp, 8
mov dword [eax + 0x44], 0
cmp dword [esp + 0x80], 0
jne 0x584864
mov eax, dword [edi + 8]
sub eax, 1
mov dword [esp + 0x2c], eax
mov al, byte [edi + 3]
test al, al
je 0x584864
movzx ecx, al
add dword [esi + ecx*4 + 0xac], 1
lea eax, [esi + ecx*4 + 0xac]
mov edx, dword [esp + 0x78]
mov byte [edx + 0x11], 0
jmp case.0x581179.16
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x78], edx
mov eax, dword [edi + 8]
mov ecx, dword [edx]
test ecx, ecx
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
mov dword [esp + 0x7c], ecx
je case.0x581179.16
test word [ebx + 0x1c], 0x4000
je 0x5848b8
mov eax, ebx
call fcn.0054c050
test eax, eax
mov dword [esp + 0x20], eax
jne case.0x581179.16
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x80], eax
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x84], ebx
test byte [edi + 3], 0x10
je 0x5848d7
mov ebx, dword [edx + 0x40]
jmp 0x5848d9
xor ebx, ebx
mov edx, dword [edi + 0xc]
push edx
push 0
push 0
cdq
push 0x63a990
push edx
push eax
mov eax, dword [esp + 0x9c]
push eax
push ecx
mov eax, ebx
call fcn.0056d710
mov ecx, dword [esp + 0x98]
add esp, 0x20
mov dword [esp + 0x20], eax
mov dword [ecx + 0x44], 0
jmp case.0x581179.16
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x34]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x78], eax
mov ecx, dword [eax]
test ecx, ecx
mov dword [esp + 0x7c], ecx
je case.0x581179.16
mov edx, dword [eax + 0x28]
mov dword [esp + 0x88], edx
mov ax, word [edi + 0xc]
mov word [esp + 0x8c], ax
mov word [esp + 0x8e], 0
mov edi, dword [edi + 8]
lea edx, [edi + edi*4]
lea eax, [ebx + edx*8]
lea edx, [esp + 0x80]
push edx
push 0
push 0
mov dword [esp + 0xa4], eax
push 0
lea eax, [esp + 0x98]
push eax
push ecx
call fcn.00569d70
add esp, 0x18
test eax, eax
mov dword [esp + 0x20], eax
jne 0x58499f
cmp dword [esp + 0x80], eax
jne 0x58499f
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0056d920
add esp, 4
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x78]
mov dword [edx + 0x44], 0
jmp case.0x581179.16
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x7c], eax
mov eax, dword [eax]
mov dword [esp + 0x78], eax
mov word [ecx + 0x1c], 1
cmp dword [esp + 0x78], 0
je case.0x581179.16
mov esi, dword [esp + 0x7c]
call fcn.0056e0f0
test eax, eax
mov dword [esp + 0x20], eax
jne 0x5860e4
mov ecx, dword [esp + 0x7c]
cmp byte [ecx + 0x14], al
jne 0x582255
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x80]
push edx
call fcn.0056e190
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
jne 0x5860e4
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x30]
mov dword [eax], ecx
mov edx, dword [esp + 0x84]
mov dword [eax + 4], edx
mov word [eax + 0x1c], 4
jmp 0x582255
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x78], eax
cmp dword [eax], 0
je case.0x581179.16
mov edx, dword [eax + 0x28]
mov dword [esp + 0x80], edx
mov cx, word [edi + 0x10]
xor edx, edx
mov word [esp + 0x84], cx
cmp byte [edi + 3], dl
lea ebx, [esp + 0x7c]
setne dl
lea edx, [edx*8 + 4]
mov word [esp + 0x86], dx
mov edi, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
lea ecx, [edi + edi*4]
lea ecx, [edx + ecx*8]
lea edx, [esp + 0x80]
push edx
mov edi, eax
mov dword [esp + 0x94], ecx
call fcn.0056e2f0
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
add esp, 4
cmp byte [eax], 0x51
jne 0x584abc
neg ecx
jmp 0x584abf
add ecx, 1
test ecx, ecx
mov dword [esp + 0x7c], ecx
jle case.0x581179.16
mov eax, dword [eax + 8]
sub eax, 1
mov dword [esp + 0x2c], eax
jmp case.0x581179.16
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], 0
mov eax, dword [eax + 0x88]
test eax, eax
mov dword [esp + 0x80], eax
je 0x584b1f
cmp dword [eax + 0x44], 0xbdf20da3
jne 0x584b11
cmp byte [eax + 0x65], 2
jae 0x584b11
cmp dword [eax + 0x54], 0
jl 0x584b11
add dword [esp + 0x7c], 1
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x80], eax
jne 0x584af7
mov eax, 1
mov word [ecx + 0x1c], ax
cmp dword [esp + 0x7c], eax
jle 0x584b3f
mov dword [esp + 0x20], 6
mov byte [esi + 0x38], 2
jmp case.0x581179.16
mov eax, dword [edi + 0xc]
mov dword [esp + 0x84], eax
mov edx, dword [edi + 4]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [ecx + 8]
shl eax, 4
mov eax, dword [eax + edx + 4]
call fcn.0056b5f0
mov ecx, dword [esp + 0x38]
mov ebx, eax
mov word [ecx + 0x1c], 4
mov eax, dword [esp + 0x80]
cdq
add esp, 8
test ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [ecx], eax
mov dword [ecx + 4], edx
jne case.0x581179.16
mov edx, dword [esp + 0x78]
test edx, edx
je case.0x581179.16
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x24]
mov edi, dword [edi + 4]
shl esi, 4
add esi, dword [eax + 8]
call fcn.00545aa0
mov byte [esp + 0x4b], 1
jmp 0x582255
mov dword [esp + 0x78], 0
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov ebx, dword [edi + 4]
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x78]
and ecx, edx
push ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
shl eax, 4
mov esi, dword [eax + edx + 4]
call fcn.0056b210
add esp, 4
cmp dword [edi + 0xc], 0
mov dword [esp + 0x20], eax
je 0x582255
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
add dword [ecx + 0x6c], eax
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x582255
mov edx, dword [esp + 0x34]
lea ecx, [edi + edi*4]
lea ecx, [edx + ecx*8]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
jmp 0x582255
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], 0
mov eax, dword [edi + 4]
shl eax, 4
add eax, dword [ecx + 8]
lea edx, [esp + 0x78]
mov dword [esp + 0x80], eax
mov cl, byte [edi]
sub cl, 0x62
neg cl
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
push ecx
mov dword [esp + 0x80], ecx
mov eax, dword [eax + 4]
push edx
call fcn.00567860
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
cdq
add esp, 8
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x581179.16
mov eax, dword [edi + 4]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [esp + 0x7c], eax
call fcn.00542ce0
mov eax, dword [esp + 0x7c]
add esp, 4
cmp dword [edi + 8], 0
jne 0x584cb8
mov edx, dword [ebx + 8]
mov ecx, eax
shl ecx, 4
mov ecx, dword [ecx + edx + 0xc]
test byte [ecx + 0x4a], 1
je 0x584d7a
cmp eax, 1
mov ecx, str.sqlite_temp_master
je 0x584cc7
mov ecx, str.sqlite_master
mov dword [esp + 0x7c], ecx
mov esi, ebx
mov dword [esp + 0x84], esi
mov edx, dword [edi + 4]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x28]
add edx, 0x5c
mov dword [esp + 0x8c], edx
mov edx, dword [edi + 0x10]
push edx
push ecx
mov ecx, dword [esi + 8]
shl eax, 4
mov edx, dword [eax + ecx]
push edx
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s_ORDER_BY_rowid
call fcn.00550c10
add esp, 0x10
test eax, eax
mov dword [esp + 0x80], eax
jne 0x584d1d
mov dword [esp + 0x20], 7
jmp 0x584d76
push 0
lea eax, [esp + 0x88]
push eax
mov esi, ebx
mov byte [esi + 0x7c], 1
mov ecx, dword [esp + 0x88]
push fcn.0057d7f0
push ecx
push esi
mov dword [esp + 0xa4], 0
call fcn.005891b0
add esp, 0x14
test eax, eax
mov dword [esp + 0x20], eax
jne 0x584d61
mov edx, dword [esp + 0x90]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x80]
push eax
push esi
call fcn.0053e910
add esp, 8
mov byte [esi + 0x7c], 0
mov esi, dword [esp + 0x28]
mov ecx, ebx
push ecx
call fcn.00542dc0
add esp, 4
cmp dword [esp + 0x20], 7
je 0x585ff6
jmp case.0x581179.16
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x24]
call fcn.005532a0
mov dword [esp + 0x20], eax
jmp case.0x581179.16
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 4]
push edx
call fcn.00553940
add esp, 4
jmp case.0x581179.16
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x10]
push eax
mov eax, dword [edi + 4]
call fcn.0054db70
add esp, 4
jmp case.0x581179.16
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi + 0x10]
call fcn.0054e920
add esp, 4
jmp case.0x581179.16
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x24]
lea ecx, [eax*4 + 4]
mov dword [esp + 0x78], eax
call fcn.00549520
test eax, eax
mov dword [esp + 0x7c], eax
je 0x585ff2
mov ecx, dword [edi + 0xc]
mov ebx, dword [esp + 0x34]
lea edx, [ecx + ecx*4]
lea ecx, [ebx + edx*8]
mov dword [esp + 0x8c], ecx
mov ecx, dword [edi + 4]
lea edx, [ecx + ecx*4]
xor ecx, ecx
cmp dword [esp + 0x78], ecx
lea ebx, [ebx + edx*8]
mov dword [esp + 0x80], ecx
jle 0x584e75
lea eax, [ecx + ecx*4]
lea esi, [ebx + eax*8]
call fcn.0055a3f0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 0x80]
add ecx, 1
cmp ecx, dword [esp + 0x78]
mov dword [esp + 0x80], ecx
jl 0x584e41
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x7c]
push edx
movzx edx, byte [edi + 3]
push eax
mov eax, dword [esi + 8]
shl edx, 4
mov edx, dword [edx + eax + 4]
call fcn.00568360
mov ecx, dword [esp + 0x88]
push ecx
push esi
mov dword [esp + 0x9c], eax
call fcn.0053e910
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
cdq
sub dword [ecx], eax
mov eax, dword [esp + 0xa0]
push ebx
sbb dword [eax + 4], edx
call fcn.0056e630
add esp, 0x18
cmp dword [esp + 0x84], 0
je 0x584f13
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x585ff2
push 1
push 0xffffffffffffffff
mov eax, fcn.0053e870
mov edx, ebx
call fcn.0056e710
add esp, 8
movzx ecx, byte [esp + 0x47]
mov eax, ebx
call fcn.0055a330
jmp 0x582255
mov eax, dword [edi + 4]
mov edi, dword [edi + 8]
lea edx, [eax + eax*4]
test byte [ebx + edx*8 + 0x1c], 0x20
lea eax, [ebx + edx*8]
lea ecx, [edi + edi*4]
mov dword [esp + 0x3c], eax
lea ebx, [ebx + ecx*8]
mov edi, eax
jne 0x584f52
call fcn.0054c100
test byte [edi + 0x1c], 0x20
je 0x585ff6
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov edi, dword [edi]
push edx
push eax
call fcn.0054a640
add esp, 8
jmp case.0x581179.16
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xe0]
test edx, edx
jne 0x58612b
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 0x20
lea ebx, [ebx + eax*8]
je 0x584fb5
mov eax, dword [ebx]
lea esi, [esp + 0x78]
call fcn.00541a50
test eax, eax
je 0x584fb5
mov ecx, dword [esp + 0x7c]
mov edi, dword [edi + 0xc]
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [edi + edi*4]
push edx
lea eax, [ecx + eax*8]
jmp 0x58224d
push ebx
call fcn.0056e630
mov edi, dword [edi + 8]
add esp, 4
sub edi, 1
mov dword [esp + 0x2c], edi
jmp 0x582255
mov eax, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0xc]
lea ecx, [ebx + edx*8]
lea eax, [eax + eax*4]
lea edx, [ebx + eax*8]
mov eax, dword [edi + 0x10]
mov bl, 0x20
mov dword [esp + 0x78], eax
test byte [ecx + 0x1c], bl
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
jne 0x585011
mov edi, ecx
call fcn.0054c100
test byte [edi + 0x1c], bl
je 0x585ff2
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x58505f
jl 0x58501c
and eax, 0xf
jmp 0x585021
mov eax, 0xff
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
mov edx, dword [esp + 0x40]
mov bl, al
mov eax, dword [edx]
push ecx
call fcn.00541ad0
add esp, 8
test eax, eax
mov dword [esp + 0x7c], eax
je 0x585053
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
mov eax, dword [esp + 0x78]
test eax, eax
jl case.0x581179.16
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
push ecx
push edx
call fcn.0054a640
add esp, 8
jmp case.0x581179.16
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x90], ecx
mov eax, dword [edi + 0xc]
lea edx, [eax + eax*4]
lea ebx, [ebx + edx*8]
mov dword [esp + 0x80], ebx
cmp byte [edi + 3], 0
je 0x5850d7
mov eax, dword [esi + 0xdc]
test eax, eax
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x94], edx
mov dword [esp + 0x8c], eax
je 0x5850d7
jmp 0x5850c0
cmp dword [eax + 0x20], edx
je case.0x581179.16
mov eax, dword [eax + 0x3c]
test eax, eax
mov dword [esp + 0x8c], eax
jne 0x5850c0
mov eax, dword [esi + 0xe0]
mov edx, dword [esp + 0x24]
cmp eax, dword [edx + 0x70]
jl 0x585105
push str.too_many_levels_of_trigger_recursion
lea edi, [esi + 0x5c]
mov eax, edx
mov dword [esp + 0x24], 1
call fcn.00557a30
add esp, 4
jmp case.0x581179.16
test byte [ebx + 0x1c], 0x40
jne 0x585273
mov eax, dword [ecx + 8]
add eax, dword [ecx + 0xc]
mov dword [esp + 0x78], eax
mov ecx, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*2]
lea edi, [edi*4 + 0x40]
mov eax, edx
mov dword [esp + 0x7c], edi
call fcn.0054fc90
test eax, eax
mov dword [esp + 0x8c], eax
je 0x585ff2
mov edx, dword [esp + 0x80]
push edx
call fcn.00543c10
mov eax, dword [esp + 0x84]
mov word [eax + 0x1c], 0x40
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x84]
mov dword [edx], ecx
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x2c]
mov dword [eax], esi
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x7c]
mov dword [ecx + 0x24], edx
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x90]
mov dword [edx + 0x28], ecx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x4c]
mov eax, dword [esp + 0x90]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x90]
mov ecx, dword [esi + 0x48]
mov dword [edx + 0x14], ecx
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x18], eax
mov dx, word [esi + 0x32]
mov eax, dword [esp + 0x90]
mov word [eax + 0x1c], dx
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x90]
mov dword [edx + 8], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx + 0x24]
lea edx, [eax + eax*4]
lea edx, [ecx + edx*8 + 0x40]
lea eax, [ecx + 0x40]
add esp, 4
mov dword [esp + 0x88], edx
cmp eax, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x84], eax
je 0x58527c
jmp 0x585240
mov word [eax + 0x1c], 1
mov eax, dword [esp + 0x84]
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x84]
add eax, 0x28
cmp eax, dword [esp + 0x88]
mov dword [esp + 0x84], eax
jne 0x585240
mov ecx, dword [esp + 0x8c]
jmp 0x58527c
mov ecx, dword [ebx]
mov dword [esp + 0x8c], ecx
add dword [esi + 0xe0], 1
mov eax, dword [esi + 0xdc]
mov dword [ecx + 0x3c], eax
mov ecx, dword [edx + 0x30]
mov eax, dword [esp + 0x8c]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x34]
mov edx, dword [esp + 0x8c]
mov dword [edx + 0x34], ecx
mov eax, dword [esi + 0x6c]
mov ecx, dword [esp + 0x8c]
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x8c]
lea ecx, [eax + 0x18]
mov dword [esi + 0xdc], eax
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x6c], 0
mov edx, dword [eax + 0x24]
mov dword [esi + 0x48], edx
mov ax, word [eax + 0x28]
mov word [esi + 0x32], ax
mov eax, edx
add eax, 1
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x90]
mov dword [esi + 0x34], eax
mov eax, dword [ecx]
mov dword [esi + 0x14], eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], eax
mov dword [esi + 0xc], ecx
mov dword [esp + 0x2c], 0xffffffff
jmp case.0x581179.16
mov ecx, dword [esi + 0xdc]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
mov eax, dword [ecx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 8]
mov eax, dword [eax + edx*4 + 4]
add eax, dword [edi + 4]
push 0x1000
lea edx, [eax + eax*4]
mov eax, dword [ecx + 0x10]
lea eax, [eax + edx*8]
push eax
mov dword [esp + 0x84], eax
call fcn.00543d70
add esp, 8
jmp case.0x581179.16
cmp dword [edi + 4], 0
mov eax, dword [edi + 8]
cdq
je 0x585370
mov ecx, dword [esp + 0x24]
add dword [ecx + 0x1e0], eax
adc dword [ecx + 0x1e4], edx
jmp case.0x581179.16
add dword [esi + 0xc8], eax
adc dword [esi + 0xcc], edx
jmp case.0x581179.16
cmp dword [edi + 4], 0
je 0x5853ac
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x1e0]
or ecx, dword [eax + 0x1e4]
jne case.0x581179.16
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
mov edx, dword [esi + 0xc8]
or edx, dword [esi + 0xcc]
jne case.0x581179.16
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
mov ecx, dword [esi + 0xdc]
test ecx, ecx
je 0x5853fd
mov dword [esp + 0x7c], ecx
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x5853ef
mov ecx, eax
mov dword [esp + 0x7c], ecx
mov eax, dword [ecx + 0x3c]
test eax, eax
jne 0x5853e2
mov eax, dword [edi + 4]
mov ecx, dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
jmp 0x585406
mov eax, dword [edi + 4]
lea edx, [eax + eax*4]
lea eax, [ebx + edx*8]
mov dword [esp + 0x78], eax
call fcn.0055a4f0
mov edi, dword [edi + 8]
lea eax, [edi + edi*4]
lea edi, [ebx + eax*8]
mov eax, edi
call fcn.0055a4f0
mov ecx, dword [esp + 0x78]
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov edx, dword [ecx + 4]
cmp edx, edi
jg case.0x581179.16
jl 0x58543f
mov edx, dword [ecx]
cmp edx, eax
jae case.0x581179.16
mov dword [ecx], eax
mov eax, dword [esp + 0x78]
mov dword [eax + 4], edi
jmp case.0x581179.16
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
cmp dword [ebx + eax*8 + 4], 0
jl case.0x581179.16
jg 0x58546a
cmp dword [ebx + eax*8], 0
jbe case.0x581179.16
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
cmp dword [ebx + eax*8 + 4], 0
jg case.0x581179.16
jl 0x585496
cmp dword [ebx + eax*8], 0
jae case.0x581179.16
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
mov eax, dword [edi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0xc]
lea ecx, [ebx + ecx*8]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
mov edx, dword [ecx]
or edx, dword [ecx + 4]
jne case.0x581179.16
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
movzx ecx, byte [edi + 3]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x78], ecx
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0xc8], edx
mov dword [esp + 0x7c], eax
jle 0x585535
mov ecx, dword [esp + 0xc8]
mov dword [ecx + eax*4], ebx
mov ecx, dword [esp + 0x84]
call fcn.00544c90
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x84]
add eax, 1
add ebx, 0x28
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], ebx
jl 0x5854fd
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x88], edx
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
xor ebx, ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0xb8], eax
mov ecx, 1
add dword [eax + 0x18], ecx
mov eax, dword [esp + 0x88]
mov word [esp + 0xac], cx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
test byte [eax + 3], 8
je 0x5855b1
mov edx, dword [edi - 4]
mov dword [esp + 0xc0], edx
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x78]
push ecx
push edx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x90]
push ecx
call edx
add esp, 0xc
cmp dword [esp + 0xbc], ebx
je 0x585607
mov bl, 1
lea edi, [esp + 0x90]
call fcn.0055a5b0
mov edi, dword [esp + 0x28]
push eax
push 0x6029cc
add edi, 0x5c
mov eax, esi
call fcn.00557a30
mov eax, dword [esp + 0xc4]
add esp, 8
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x90]
push ecx
call fcn.00543c10
add esp, 4
jmp 0x582255
mov eax, dword [edi + 4]
lea edx, [eax + eax*4]
lea ecx, [ebx + edx*8]
mov dword [esp + 0x78], ecx
mov eax, dword [edi + 0x10]
call fcn.00543b30
test eax, eax
mov dword [esp + 0x20], eax
je 0x585659
mov edi, dword [esp + 0x78]
mov bl, 1
call fcn.0055a5b0
push eax
mov eax, dword [esp + 0x28]
push 0x6029cc
lea edi, [esi + 0x5c]
call fcn.00557a30
add esp, 8
movzx ecx, byte [esp + 0x47]
mov eax, dword [esp + 0x78]
call fcn.0055a330
mov ecx, dword [esp + 0x78]
call fcn.00543d40
test eax, eax
jne 0x581b38
jmp 0x582255
mov eax, dword [edi + 4]
mov ebx, dword [esp + 0x24]
push eax
call fcn.00561b60
add esp, 4
mov dword [esp + 0x20], eax
jmp case.0x581179.16
mov ecx, dword [esp + 0x5c]
cmp dword [ecx], 0
mov edx, dword [edi + 0xc]
mov dword [esp + 0x80], edx
jne 0x5856c5
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x28]
call fcn.00544020
mov ebx, dword [esp + 0x5c]
call fcn.00542e80
mov edx, dword [esp + 0x80]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 8]
shl eax, 4
cmp edx, 0xffffffff
mov eax, dword [eax + ecx + 4]
mov dword [esp + 0x78], eax
mov eax, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp + 0x7c], ebx
movzx eax, byte [ebx + 5]
mov dword [esp + 0x84], eax
jne 0x5856fc
mov edx, eax
mov dword [esp + 0x80], edx
cmp byte [ebx + 0xe], 3
jae 0x585718
mov ecx, dword [ebx + 0x40]
cmp dword [ecx], 0
je 0x585721
cmp dword [ebx + 0x4c], 0
jl 0x585721
jg 0x585718
cmp dword [ebx + 0x48], 0
jbe 0x585721
mov edx, eax
mov dword [esp + 0x80], edx
cmp edx, 5
mov eax, dword [ebx + 0x90]
mov dword [esp + 0x88], eax
jne 0x585761
cmp byte [eax], 0
je 0x585743
mov eax, ebx
call fcn.00542340
test eax, eax
jne 0x585761
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], edx
cmp dword [esp + 0x20], 0
je 0x585848
jmp 0x58583a
mov eax, dword [esp + 0x84]
cmp edx, eax
je 0x585751
cmp eax, 5
je 0x585776
cmp edx, 5
jne 0x585751
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x1c], 0
je 0x585807
cmp dword [ecx + 0x8c], 1
jg 0x585807
cmp eax, 5
jne 0x5857b6
mov esi, ebx
call fcn.00563040
test eax, eax
mov dword [esp + 0x20], eax
jne 0x585836
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
jmp 0x5857c0
cmp eax, 4
jne 0x5857d0
lea ecx, [eax - 2]
mov eax, ebx
call fcn.00562f30
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
cmp dword [esp + 0x20], 0
jne 0x58583a
mov ecx, dword [esp + 0x78]
xor eax, eax
cmp edx, 5
sete al
add eax, 1
push eax
push ecx
call fcn.00568770
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x585751
cmp edx, 5
mov dword [esp + 0x20], 1
mov eax, str.into
je 0x58581e
mov eax, str.out_of
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
lea edi, [esi + 0x5c]
mov eax, ecx
call fcn.00557a30
add esp, 8
jmp case.0x581179.16
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], edx
mov ecx, edx
mov eax, ebx
call fcn.00562f30
mov dword [esp + 0x80], eax
mov edi, dword [edi + 8]
mov eax, dword [esp + 0x34]
lea edx, [edi + edi*4]
lea edx, [eax + edx*8]
mov word [edx + 0x1c], 0xa02
mov eax, dword [esp + 0x80]
cmp eax, 6
mov dword [esp + 0x30], edx
jne 0x58587f
xor ecx, ecx
jmp 0x585886
mov ecx, dword [eax*4 + 0x6078c8]
mov dword [edx + 0x14], ecx
call fcn.0053eb20
movzx ecx, byte [esp + 0x47]
mov dword [edx + 0x18], eax
mov eax, edx
mov byte [edx + 0x1f], 1
call fcn.0055a330
jmp 0x582255
mov ecx, dword [esp + 0x24]
push ecx
lea eax, [esi + 0x5c]
call fcn.0057b2b0
add esp, 4
mov dword [esp + 0x20], eax
jmp case.0x581179.16
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
shl edx, 4
mov eax, dword [edx + ecx + 4]
mov dword [esp + 0x78], eax
call fcn.005693d0
cmp eax, 0x65
mov dword [esp + 0x20], eax
jne case.0x581179.16
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
jmp case.0x581179.16
cmp dword [edi + 4], 0
jne 0x585911
mov eax, dword [esp + 0x24]
call fcn.00544570
jmp case.0x581179.16
mov byte [esi + 0x62], 1
jmp case.0x581179.16
mov cl, byte [edi + 0xc]
test cl, cl
jne 0x585932
mov edx, dword [esp + 0x24]
test dword [edx + 0xc], 0x80000
jne case.0x581179.16
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
push edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 8]
shl eax, 4
mov esi, dword [eax + edx + 4]
call fcn.0054bed0
add esp, 4
cmp al, 6
mov dword [esp + 0x20], eax
jne 0x582255
mov eax, dword [edi + 0x10]
mov edi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push str.database_table_is_locked:__s
add edi, 0x5c
call fcn.00557a30
jmp 0x582252
mov edi, dword [edi + 0x10]
mov ecx, dword [esp + 0x24]
mov eax, edi
mov dword [esp + 0x78], edi
call fcn.0054ec10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
test eax, eax
je case.0x581179.16
mov ecx, dword [eax + 8]
push ecx
push esi
call fcn.0054cb80
add esp, 8
jmp case.0x581179.16
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x24]
lea edx, [esi + 0x5c]
push edx
push eax
mov eax, dword [edi + 4]
call fcn.00556f10
add esp, 8
mov dword [esp + 0x20], eax
jmp case.0x581179.16
mov byte [esi + 0x65], 2
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00547050
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esi + 0x65], 0
jmp case.0x581179.16
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x88], ecx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ecx, dword [esp + 0x88]
push ecx
mov ebx, eax
push esi
mov dword [esp + 0x30], ebx
call fcn.0054cb80
add esp, 0x10
test ebx, ebx
jne case.0x581179.16
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
push ebx
push 0xffffffffffffffff
mov dword [eax], edx
mov ecx, dword [edi + 4]
push ebx
push ecx
mov ebx, esi
call fcn.0056e3d0
add esp, 0x10
test eax, eax
mov dword [esp + 0x78], eax
je 0x585a7d
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x38], edx
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [esp + 0x78]
mov dword [eax + 0x3c], edx
jmp case.0x581179.16
mov ecx, dword [esp + 0x24]
mov byte [ecx + 0x1e], 1
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x1c]
push edx
call ecx
add esp, 4
jmp case.0x581179.16
mov eax, dword [edi + 0xc]
lea edx, [eax + eax*4]
lea ebx, [ebx + edx*8]
mov edx, dword [esi + 0x34]
mov esi, dword [esi + 0x24]
mov dword [esp + 0x84], ebx
lea eax, [ebx + 0x28]
mov dword [esp + 0x88], eax
mov ecx, dword [edi + 4]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x94], ecx
mov edx, dword [ecx + 0x38]
mov dword [esp + 0x8c], edx
mov ecx, dword [edx]
mov dword [esp + 0x90], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov eax, dword [ebx]
mov dword [esp + 0x7c], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], eax
jle 0x585b5c
mov edx, dword [esp + 0x88]
lea ecx, [eax + eax*4 + 5]
lea ecx, [edx + ecx*8]
mov edx, dword [esp + 0xa0]
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + eax*4]
call fcn.00544c90
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x78]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x9c], eax
jl 0x585b0e
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov byte [esi + 0x65], 1
mov ecx, dword [edi + 0x10]
push ecx
mov ecx, dword [esp + 0x8c]
push eax
push edx
mov edx, dword [ecx + 0x20]
call edx
mov ebx, eax
mov eax, dword [esp + 0xa4]
push eax
push esi
mov dword [esp + 0x3c], ebx
mov byte [esi + 0x65], 0
call fcn.0054cb80
add esp, 0x1c
test ebx, ebx
jne 0x585bc3
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x28]
push ecx
call eax
add esp, 4
mov dword [esp + 0x98], eax
cmp dword [esp + 0x98], 0
je 0x585bd7
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x94]
mov byte [ecx + 0x14], 0
jmp case.0x581179.16
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + edx*4]
mov eax, dword [edi + 0xc]
lea edx, [eax + eax*4]
lea eax, [ebx + edx*8]
mov dword [esp + 0x80], eax
cmp byte [ecx + 0x14], 0
mov dword [esp + 0x38], ecx
je 0x585c18
push eax
call fcn.0056e630
add esp, 4
jmp case.0x581179.16
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov dword [esp + 0x78], eax
mov edx, dword [eax]
push 0x40
lea eax, [esp + 0x8c]
push 0
push eax
mov dword [esp + 0x88], edx
call fcn.005c0cf0
mov ebx, dword [esp + 0x8c]
lea eax, [esp + 0x9c]
call fcn.00543db0
mov ecx, dword [esp + 0xb8]
and ecx, 0xbf01
or ecx, 1
mov word [esp + 0xb8], cx
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [ecx + 0x38]
lea eax, [esp + 0x98]
push eax
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x2c]
push edx
call ecx
mov edx, dword [esp + 0x90]
push edx
push esi
mov dword [esp + 0x40], eax
call fcn.0054cb80
mov eax, dword [esp + 0xdc]
add esp, 0x20
test eax, eax
je 0x585cae
mov dword [esp + 0x20], eax
movzx ecx, byte [esp + 0x47]
lea eax, [esp + 0x90]
call fcn.0055a330
mov eax, dword [esp + 0x80]
lea ebx, [esp + 0x90]
call fcn.00543db0
mov ecx, dword [esp + 0x80]
call fcn.00543d40
test eax, eax
jne 0x581b38
jmp case.0x581179.16
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x80], 0
mov eax, dword [edi + 4]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x84], eax
cmp byte [eax + 0x14], 0
jne case.0x581179.16
mov edx, dword [eax + 0x38]
mov ecx, dword [edx]
mov dword [esp + 0x78], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x7c], ecx
mov byte [esi + 0x65], 1
mov eax, dword [eax + 0x38]
mov ecx, dword [ecx + 0x24]
push eax
call ecx
mov edx, dword [esp + 0x7c]
push edx
mov ebx, eax
push esi
mov dword [esp + 0x2c], ebx
mov byte [esi + 0x65], 0
call fcn.0054cb80
add esp, 0xc
test ebx, ebx
jne 0x585d66
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x38]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 0x28]
push ecx
call eax
add esp, 4
mov dword [esp + 0x80], eax
cmp dword [esp + 0x80], 0
jne case.0x581179.16
mov edi, dword [edi + 8]
sub edi, 1
mov dword [esp + 0x2c], edi
jmp case.0x581179.16
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
mov edi, dword [edi + 4]
lea edx, [edi + edi*4]
lea ebx, [ebx + edx*8]
mov dword [esp + 0x7c], ebx
mov edx, dword [ebx + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
mov ecx, dword [esp + 0x80]
push ecx
push esi
mov dword [esp + 0x30], eax
call fcn.0054cb80
add esp, 0x10
jmp case.0x581179.16
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 8]
mov dword [esp + 0x78], eax
mov edx, dword [eax]
mov dword [esp + 0x7c], edx
mov eax, dword [edi + 8]
mov dword [esp + 0x80], eax
cmp dword [edx + 0x34], 0
je case.0x581179.16
test eax, eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x90], ecx
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + ecx*4]
lea ebx, [ebx + ecx*8]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x84], 0
jle 0x585e60
lea ecx, [ecx]
mov ecx, ebx
call fcn.00544c90
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x80]
add ecx, 1
add ebx, 0x28
cmp ecx, eax
mov dword [esp + 0x94], ebx
mov dword [esp + 0x84], ecx
jl 0x585e10
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x94]
push ecx
mov ecx, dword [edx + 0x34]
push eax
mov eax, dword [esp + 0x84]
push eax
call ecx
mov edx, dword [esp + 0x88]
push edx
mov ebx, eax
push esi
mov dword [esp + 0x38], ebx
call fcn.0054cb80
add esp, 0x18
test ebx, ebx
jne 0x585eb6
cmp dword [edi + 4], ebx
je 0x585eb6
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x24]
mov dword [eax + 0x30], ecx
mov edx, dword [esp + 0x8c]
mov dword [eax + 0x34], edx
add dword [esi + 0x6c], 1
jmp case.0x581179.16
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 8]
shl eax, 4
mov eax, dword [eax + edx + 4]
mov edx, dword [eax + 4]
mov eax, dword [edx + 0x2c]
mov dword [ecx], eax
mov dword [ecx + 4], 0
jmp case.0x581179.16
mov edi, dword [edi + 0x10]
test edi, edi
mov ecx, edi
jne 0x585ef3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
mov dword [esp + 0x78], ecx
je case.0x581179.16
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x94], 0
je case.0x581179.16
push esi
call fcn.0056ef60
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x94]
mov ebx, eax
mov eax, dword [edi + 0x98]
push ebx
push eax
call ecx
push ebx
push edi
call fcn.0053e910
add esp, 0x14
jmp case.0x581179.16
mov dword [esp + 0x20], 9
jmp 0x581b58
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x58], edx
mov al, byte [edi + 8]
mov byte [esi + 0x38], al
mov dword [esi + 0x54], ecx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x585f9b
push eax
mov eax, dword [esp + 0x28]
push 0x6029cc
lea edi, [esi + 0x5c]
call fcn.00557a30
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x10]
mov ecx, dword [esi + 0xbc]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esp + 0x38]
push ecx
push edx
push str.abort_at__d_in___s_:__s
push eax
call fcn.00550e30
add esp, 0x1c
jmp 0x585fbe
cmp dword [esi + 0x58], 0
je 0x585fbe
mov ecx, dword [esi + 0xbc]
mov edx, dword [esp + 0x2c]
mov eax, dword [edi + 4]
push ecx
push edx
push str.constraint_failed_at__d_in___s_
push eax
call fcn.00550e30
add esp, 0x10
push esi
call fcn.0056de40
mov edi, 5
add esp, 4
cmp eax, edi
je 0x586035
mov edi, dword [esi + 0x58]
neg edi
sbb edi, edi
and edi, 0xffffff9c
add edi, 0x65
jmp 0x581bb1
lea ecx, [esp + 0x88]
push ecx
call fcn.00543c10
add esp, 4
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0x606258
lea edi, [esi + 0x5c]
mov byte [eax + 0x1e], 1
call fcn.00557a30
mov dword [esp + 0x24], 7
jmp 0x581b55
mov dword [esp + 0x20], 0x14
jmp 0x5860e4
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x54], edx
mov byte [ebx + 0x1c], 0
mov edi, 5
mov dword [esi + 0x58], edi
jmp 0x581bb1
test edi, edi
je 0x58606f
mov esi, dword [esp + 0x24]
mov eax, esi
call fcn.0056d060
mov byte [esi + 0x1c], 1
mov esi, dword [esp + 0x24]
call fcn.00547fd0
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x58]
neg edi
sbb edi, edi
and edi, 0xffffff9c
add edi, 0x65
jmp 0x581bb1
push 1
mov ecx, esi
call fcn.0055a640
mov edi, eax
add esp, 4
test edi, edi
jne 0x581bb1
mov al, byte [esp + 0x78]
mov edi, dword [esp + 0x24]
push esi
mov byte [edi + 0x1c], al
call fcn.0056de40
add esp, 4
cmp eax, 5
jne 0x586050
mov ecx, dword [esp + 0x2c]
mov dl, 1
sub dl, byte [esp + 0x78]
mov dword [esi + 0x54], ecx
mov byte [edi + 0x1c], dl
mov edi, eax
mov dword [esi + 0x58], edi
jmp 0x581bb1
mov ecx, dword [esp + 0x2c]
mov edi, 5
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], edi
jmp 0x581bb1
mov eax, 0xf424
call fcn.005576b0
mov dword [esp + 0x20], eax
jmp 0x5860e4
mov dword [esp + 0x20], 0xd
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x1e], 0
je 0x5860f8
mov dword [esp + 0x20], 7
jmp 0x586106
cmp dword [esp + 0x20], 0xc0a
je 0x581b58
mov eax, dword [esp + 0x20]
call fcn.00548020
mov edi, dword [esp + 0x28]
push eax
push 0x6029cc
add edi, 0x5c
mov eax, ecx
call fcn.00557a30
add esp, 8
jmp 0x581b58
mov eax, 9
mov dword [esp + 0x20], eax
mov dword [esi + 0x58], eax
mov eax, dword [str.interrupted]
test eax, eax
jne 0x586145
mov eax, str.unknown_error
push eax
mov eax, dword [esp + 0x28]
push 0x6029cc
lea edi, [esi + 0x5c]
call fcn.00557a30
add esp, 8
jmp 0x581b58