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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
mov eax, dword [esi + 0x58]
mov edi, dword [esi]
cmp eax, 0xbdf20da3
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x70], ebx
je 0x571bf8
mov eax, 0x15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x90], ebx
mov dword [esp + 0xc], eax
mov eax, dword [0x6e35d4]
cmp eax, ebx
jne 0x5758db
mov eax, dword [esi + 0x23c]
cmp eax, ebx
je 0x571c30
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.00575d30
add esp, 8
mov dword [esi + 0x23c], ebx
mov byte [esi + 0x244], 0
mov al, byte [edi + 8]
test al, 4
mov dword [edi + 0xc4], ebx
jne 0x575910
mov edi, dword [esi + 0x8c]
mov dword [esp + 0x1c], edi
jmp 0x571c58
mov edi, dword [esp + 0x1c]
mov eax, dword [0x6e35d4]
test eax, eax
jne 0x5758db
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [edi + edi*4]
lea ebx, [eax + edx*4]
mov eax, dword [ecx + 0x84]
test eax, eax
je 0x571cb1
mov edx, dword [esp + 0x70]
cmp dword [ecx + 0x8c], edx
jne 0x571cad
mov ecx, dword [ecx + 0x88]
push ecx
call eax
add esp, 4
test eax, eax
je 0x571ca5
mov dword [esp + 0x10], 4
jmp case.0x571ccc.14
mov dword [esp + 0x70], 0
inc dword [esp + 0x70]
mov al, byte [ebx]
mov ecx, eax
and ecx, 0xff
mov dword [esp + 0x18], ecx
dec ecx
cmp ecx, 0x82
ja case.0x571ccc.14
jmp dword [ecx*4 + 0x5759c8]
mov edx, dword [esp + 0x14]
test byte [edx + 8], 4
jne 0x575910
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov eax, dword [esi + 0x230]
inc edi
mov dword [esi + eax*4 + 0xa0], edi
mov ecx, dword [esi + 0x230]
inc ecx
mov dword [esi + 0x230], ecx
mov ecx, dword [ebx + 8]
dec ecx
mov dword [esp + 0x1c], ecx
jmp case.0x571ccc.14
mov ecx, dword [esi + 0x230]
dec ecx
mov eax, ecx
mov dword [esi + 0x230], ecx
mov esi, dword [esi + eax*4 + 0xa0]
dec esi
mov dword [esp + 0x1c], esi
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
add eax, 0x40
mov dword [esp + 0xc], eax
mov word [eax + 0xc], 4
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0xc]
cdq
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
mov dword [eax + 4], edx
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
add eax, 0x40
mov dword [esp + 0xc], eax
mov word [eax + 0xc], 0xa2
mov edx, dword [esp + 0xc]
mov ecx, dword [ebx + 0xc]
xor eax, eax
mov dword [edx + 0x18], ecx
mov edx, dword [esp + 0xc]
or ecx, 0xffffffff
mov edi, dword [edx + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx + 8], ecx
mov eax, dword [esp + 0xc]
mov byte [eax + 0xf], 1
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00571160
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
mov dword [eax + 4], edx
mov eax, dword [esp + 0xc]
or byte [eax + 0xc], 4
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
add eax, 0x40
mov dword [esp + 0xc], eax
mov word [eax + 0xc], 0xa2
mov edx, dword [esp + 0xc]
mov ecx, dword [ebx + 0xc]
xor eax, eax
mov dword [edx + 0x18], ecx
mov edx, dword [esp + 0xc]
or ecx, 0xffffffff
mov edi, dword [edx + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx + 8], ecx
mov eax, dword [esp + 0xc]
mov byte [eax + 0xf], 1
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00571210
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
fstp qword [edx + 0x10]
mov eax, dword [esp + 0x10]
or byte [eax + 0xc], 8
mov edx, dword [esp + 0x10]
xor eax, eax
mov al, byte [ecx + 0x10]
push eax
push edx
call fcn.00570ec0
add esp, 0xc
jmp case.0x571ccc.14
mov esi, dword [esp + 0x14]
mov byte [ebx], 0x1b
cmp byte [esi + 0x10], 1
je 0x571ec1
mov eax, dword [esp + 0xc]
push 0
add eax, 0x40
push 1
mov dword [esp + 0x14], eax
mov ecx, dword [ebx + 0xc]
push 0xffffffffffffffff
push ecx
push eax
call fcn.00571430
mov eax, dword [esp + 0x20]
xor edx, edx
mov dl, byte [esi + 0x10]
push edx
push eax
call fcn.00570ec0
add esp, 0x1c
test eax, eax
jne 0x5758db
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00570f10
add esp, 4
test eax, eax
jne 0x5758db
mov eax, dword [esp + 0xc]
or esi, 0xffffffff
and word [eax + 0xc], 0xffbf
mov eax, dword [esp + 0xc]
or byte [eax + 0xc], 0x80
mov eax, dword [ebx + 0x10]
cmp eax, esi
jne 0x571eab
mov edx, dword [ebx + 0xc]
push edx
call fcn.00570160
add esp, 4
mov dword [ebx + 0x10], esi
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0xc], ecx
jmp case.0x571ccc.14
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
add eax, 0x40
mov dword [esp + 0xc], eax
mov word [eax + 0xc], 0xa2
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 0xc]
mov dword [eax + 0x18], edx
mov al, byte [esi + 0x10]
cmp al, 1
jne 0x571f0a
mov edx, dword [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [edx + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov al, byte [edx + 0x10]
mov byte [ecx + 0xf], al
jmp case.0x571ccc.14
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
mov edx, dword [ecx + 0x18]
push edx
call fcn.00586020
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xc]
mov al, byte [edx + 0x10]
mov byte [ecx + 0xf], al
jmp case.0x571ccc.14
mov edx, dword [ebx + 0xc]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
mov byte [ebx], 0x7c
repne scasb al, byte es:[edi]
not ecx
dec ecx
shr ecx, 1
mov dword [ebx + 4], ecx
je 0x571f80
push edx
call fcn.00570e00
mov esi, eax
add esp, 4
test esi, esi
je 0x5758db
mov eax, dword [ebx + 0x10]
or edi, 0xffffffff
cmp eax, edi
jne 0x571f78
mov edx, dword [ebx + 0xc]
push edx
call fcn.00570160
add esp, 4
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], edi
jmp case.0x571ccc.124
cmp dword [ebx + 0x10], 0xffffffff
jne 0x571f8f
push edx
call fcn.00570160
add esp, 4
mov dword [ebx + 0x10], 0xfffffffe
mov dword [ebx + 0xc], 0x651e88
mov eax, dword [esp + 0xc]
push 0
add eax, 0x40
push 0
mov dword [esp + 0x14], eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
push ecx
push edx
push eax
call fcn.00571430
add esp, 0x14
jmp case.0x571ccc.14
mov ebx, dword [ebx + 4]
mov edi, dword [esi + 0x4c]
mov eax, dword [esp + 0xc]
dec ebx
shl ebx, 6
add ebx, edi
add eax, 0x40
push 0x80
push ebx
push eax
mov dword [esp + 0x18], eax
call fcn.00571350
add esp, 0xc
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.00575d30
add esp, 8
jmp case.0x571ccc.14
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0xc]
shl edx, 6
mov eax, ecx
add ecx, 0x40
sub eax, edx
push 0x100
push eax
push ecx
mov dword [esp + 0x18], ecx
call fcn.00571350
mov eax, dword [ebx + 8]
add esp, 0xc
test eax, eax
je case.0x571ccc.14
mov eax, dword [esp + 0xc]
test byte [eax + 0xd], 1
je case.0x571ccc.14
push eax
call fcn.00570f80
add esp, 4
test eax, eax
jne 0x5758db
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
lea edi, [esp + 0x2f0]
shl eax, 6
mov ecx, eax
mov eax, dword [esp + 0xc]
mov esi, eax
sub esi, ecx
mov ecx, 0x10
test byte [eax + 0xd], 1
mov dword [esp + 0x24], esi
rep movsd dword es:[edi], dword [esi]
je 0x572091
mov edx, eax
push edx
call fcn.00570f80
add esp, 4
test eax, eax
jne 0x5758db
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x572105
mov eax, dword [esp + 0x24]
add eax, 0x40
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
test byte [eax + 0xd], 1
je 0x5720c6
push eax
call fcn.00570f80
add esp, 4
test eax, eax
jne 0x5758db
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
test byte [eax - 0x33], 2
je 0x5720e3
lea ecx, [eax - 0x20]
mov dword [eax - 0x28], ecx
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
add eax, 0x40
inc ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
add esi, 0x40
cmp ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], esi
jl 0x5720ab
mov edi, dword [esp + 0xc]
mov ecx, 0x10
lea esi, [esp + 0x2f0]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0xc]
test byte [edx + 0xd], 2
je case.0x571ccc.14
mov eax, edx
lea ecx, [eax + 0x20]
mov dword [eax + 0x18], ecx
jmp case.0x571ccc.14
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0xc]
shl edx, 6
push eax
sub eax, edx
push eax
call fcn.005713d0
mov eax, dword [esp + 0x14]
add esp, 8
sub eax, 0x40
mov dword [esp + 0xc], eax
jmp case.0x571ccc.14
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0xc]
add esi, 2
mov eax, esi
mov dword [esp + 0x40], esi
shl eax, 6
mov dword [esp + 0x28], eax
sub edi, eax
xor eax, eax
add edi, 0x40
cmp esi, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
jle 0x5721f9
mov ax, word [edi + 0xc]
test al, 1
jne 0x5721ce
test al, 0x12
jne 0x5721a9
mov ecx, dword [esp + 0x14]
xor eax, eax
mov al, byte [ecx + 0x10]
push eax
push edi
call fcn.005710a0
add esp, 8
test eax, eax
jne 0x5758db
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x24]
add eax, edx
add edi, 0x40
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
inc eax
cmp eax, esi
mov dword [esp + 0x18], eax
jl 0x572182
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x5721f9
mov eax, dword [ebx + 8]
test eax, eax
jne case.0x571ccc.123
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00575d30
add esp, 8
mov eax, dword [esp + 0xc]
add eax, 0x40
mov dword [esp + 0xc], eax
mov word [eax + 0xc], 1
jmp case.0x571ccc.14
mov ecx, dword [esp + 0x24]
add ecx, 2
push ecx
call fcn.00570130
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x5758db
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x28]
sub eax, edi
mov dword [esp + 0x24], 0
add eax, 0x40
test esi, esi
jle 0x572270
add eax, 0x18
mov dword [esp + 0x18], esi
mov ecx, dword [eax - 0x10]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov esi, dword [eax]
mov dword [esp + 0x28], ecx
add edi, edx
mov edx, ecx
add eax, 0x40
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov ecx, edx
add esi, ecx
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], ecx
jne 0x572235
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov byte [edi + esi], 0
mov byte [edi + esi + 1], 0
mov eax, dword [ebx + 8]
test eax, eax
jne 0x57229a
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xc]
push edx
push eax
call fcn.00575d30
add esp, 8
mov eax, dword [esp + 0xc]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [eax + 8], edi
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov word [ecx + 0xc], 0x62
mov edx, dword [esp + 0xc]
mov dword [edx + 0x1c], 0
mov edx, dword [esp + 0xc]
mov cl, byte [eax + 0x10]
mov byte [edx + 0xf], cl
mov eax, dword [esp + 0xc]
mov dword [eax + 0x18], esi
jmp case.0x571ccc.14
mov edi, dword [esp + 0xc]
mov cx, word [edi + 0xc]
mov ax, word [edi - 0x34]
lea esi, [edi - 0x40]
mov dl, cl
or dl, al
test dl, 1
je 0x572326
test cl, 0x40
je 0x572301
push edi
call fcn.00571110
mov edi, dword [esp + 0x10]
add esp, 4
sub edi, 0x40
mov dword [esp + 0xc], edi
test byte [edi + 0xc], 0x40
je 0x57231b
push edi
call fcn.00571110
mov edi, dword [esp + 0x10]
add esp, 4
mov word [edi + 0xc], 1
jmp case.0x571ccc.14
and cl, al
and cl, 4
cmp cl, 4
jne 0x5723e5
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
add edx, 0xffffffad
cmp edx, 3
ja case.default.0x57234e
jmp dword [edx*4 + 0x575bd4]
add edi, eax
adc ebx, ecx
jmp 0x572398
sub edi, eax
sbb ebx, ecx
jmp 0x572398
push ecx
push eax
push ebx
push edi
call fcn.005607a0
jmp 0x572394
mov edx, eax
or edx, ecx
je 0x572468
push ecx
push eax
push ebx
push edi
call fcn.00560a20
jmp 0x572394
mov edx, eax
or edx, ecx
je 0x572468
push ecx
push eax
push ebx
push edi
call fcn.00560ad0
mov edi, eax
mov ebx, edx
mov eax, dword [esp + 0xc]
test byte [eax + 0xc], 0x40
je 0x5723ad
mov ecx, eax
push ecx
call fcn.00571110
add esp, 4
mov eax, dword [esp + 0xc]
sub eax, 0x40
mov dword [esp + 0xc], eax
test byte [eax + 0xc], 0x40
je 0x5723c9
mov edx, eax
push edx
call fcn.00571110
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [eax], edi
mov ecx, dword [esp + 0xc]
mov dword [ecx + 4], ebx
mov edx, dword [esp + 0xc]
mov word [edx + 0xc], 4
jmp case.0x571ccc.14
push edi
call fcn.00571210
fstp qword [esp + 0x3c]
push esi
call fcn.00571210
xor eax, eax
add esp, 8
mov al, byte [ebx]
add eax, 0xffffffad
cmp eax, 3
ja case.default.0x572404
jmp dword [eax*4 + 0x575be4]
fadd qword [esp + 0x38]
jmp 0x5724b5
fsub qword [esp + 0x38]
jmp 0x5724b5
fmul qword [esp + 0x38]
jmp 0x5724b5
fld qword [esp + 0x38]
fcomp qword [0x651d08]
fnstsw ax
test ah, 0x40
jne 0x572466
fdiv qword [esp + 0x38]
jmp 0x5724b5
fld qword [esp + 0x38]
call fcn.00560028
mov esi, eax
mov dword [esp + 0x18], esi
call fcn.00560028
fild dword [esp + 0x18]
mov ecx, eax
fcomp qword [0x651d08]
fnstsw ax
test ah, 0x40
je 0x5724a8
jmp 0x572468
fstp st(0)
mov eax, dword [esp + 0xc]
test byte [eax + 0xc], 0x40
je 0x57247f
push eax
call fcn.00571110
mov eax, dword [esp + 0x10]
add esp, 4
sub eax, 0x40
mov dword [esp + 0xc], eax
test byte [eax + 0xc], 0x40
je 0x5721ee
push eax
call fcn.00571110
mov eax, dword [esp + 0x10]
add esp, 4
mov word [eax + 0xc], 1
jmp case.0x571ccc.14
mov eax, ecx
cdq
idiv esi
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov eax, dword [esp + 0xc]
fstp qword [esp + 0x38]
test byte [eax + 0xc], 0x40
je 0x5724d0
push eax
call fcn.00571110
mov eax, dword [esp + 0x10]
add esp, 4
sub eax, 0x40
mov dword [esp + 0xc], eax
test byte [eax + 0xc], 0x40
je 0x5724ea
push eax
call fcn.00571110
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0xc]
mov word [eax + 0xc], 8
jmp case.0x571ccc.14
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, esi
shl eax, 6
mov edx, dword [ecx + 0x30]
sub edi, eax
add edi, 0x40
mov dword [esp + 0x20], esi
test esi, esi
mov dword [esp + 0x28], edx
jle 0x572554
mov ecx, dword [esp + 0x20]
mov esi, edx
mov dword [esp + 0x18], ecx
push edi
mov dword [esi], edi
call fcn.00575c20
mov eax, dword [esp + 0x1c]
add esp, 4
add esi, 4
add edi, 0x40
dec eax
mov dword [esp + 0x18], eax
jne 0x572534
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 0x10]
xor ecx, ecx
cmp eax, 0xfffffffb
mov eax, dword [ebx + 0xc]
jne 0x572571
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
jmp 0x572581
mov dword [esp + 0x114], eax
mov eax, dword [eax]
mov dword [esp + 0x110], eax
mov word [esp + 0x124], 1
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], ecx
mov byte [esp + 0x15c], 0
mov cl, byte [eax + 3]
test cl, cl
je 0x5725b2
mov edx, dword [ebx - 8]
mov dword [esp + 0x164], edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00570ad0
add esp, 4
test eax, eax
jne 0x57594e
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x110]
push ecx
lea edx, [esp + 0x114]
push esi
push edx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00570a90
add esp, 0x10
test eax, eax
jne 0x57594e
mov eax, dword [0x6e35d4]
test eax, eax
jne 0x5758db
lea edx, [esp + 0xc]
push esi
push edx
call fcn.00575d30
mov eax, dword [esp + 0x11c]
add esp, 8
test eax, eax
je 0x572638
mov ecx, dword [ebx + 8]
push ecx
push eax
call fcn.00577460
mov edx, dword [esp + 0x11c]
add esp, 8
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], 0xfffffff9
mov ecx, dword [esp + 0x14]
xor eax, eax
lea edx, [esp + 0x118]
mov al, byte [ecx + 0x10]
push eax
push edx
call fcn.00570ec0
mov eax, dword [esp + 0x14]
add eax, 0x40
mov dword [esp + 0x14], eax
mov word [eax + 0xc], 0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x120]
push eax
push ecx
call fcn.005713d0
mov al, byte [esp + 0x16c]
add esp, 0x10
test al, al
je case.0x571ccc.14
mov eax, dword [esp + 0xc]
push 0
test byte [eax + 0xc], 2
jne 0x5726b4
mov edx, dword [ebp + 8]
push str.user_function_error
add edx, 0x240
push edx
call fcn.00570250
add esp, 0xc
mov dword [esp + 0x10], 1
jmp case.0x571ccc.14
push eax
call fcn.0056e950
add esp, 4
push eax
mov eax, dword [ebp + 8]
add eax, 0x240
push eax
call fcn.00570250
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [edx + 0x10]
push ecx
push eax
call fcn.00570ec0
add esp, 0x14
mov dword [esp + 0x10], 1
jmp case.0x571ccc.14
mov esi, dword [esp + 0xc]
mov cl, byte [esi - 0x34]
mov dl, byte [esi + 0xc]
lea eax, [esi - 0x40]
or cl, dl
test cl, 1
je 0x572710
lea edx, [esp + 0xc]
push 2
push edx
jmp 0x5721db
push eax
call fcn.00571160
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call fcn.00571160
xor ecx, ecx
add esp, 8
mov cl, byte [ebx]
lea edx, [ecx - 0x4f]
cmp edx, 3
ja case.default.0x572731
jmp dword [edx*4 + 0x575bf4]
and edi, eax
jmp case.default.0x572731
or edi, eax
jmp case.default.0x572731
mov ecx, eax
shl edi, cl
jmp case.default.0x572731
mov ecx, eax
sar edi, cl
mov ecx, dword [esp + 0xc]
test byte [ecx + 0xc], 0x40
je 0x572761
push ecx
call fcn.00571110
mov ecx, dword [esp + 0x10]
add esp, 4
sub ecx, 0x40
mov dword [esp + 0xc], ecx
test byte [ecx + 0xc], 0x40
je 0x57277b
push ecx
call fcn.00571110
mov ecx, dword [esp + 0x10]
add esp, 4
mov eax, edi
cdq
mov dword [ecx], eax
mov ecx, dword [esp + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc]
mov word [edx + 0xc], 4
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
push eax
call fcn.005711e0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
cdq
mov esi, dword [ecx]
add esp, 4
add esi, eax
mov dword [ecx], esi
mov eax, dword [esp + 0xc]
adc dword [eax + 4], edx
jmp case.0x571ccc.14
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov dl, byte [ecx + 0x10]
push edx
push 0x69
push eax
call fcn.00571b00
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov ax, word [ecx + 0xc]
test al, 0xc
jne 0x572805
test al, 0x40
je 0x5727ed
push ecx
call fcn.00571110
add esp, 4
mov ecx, dword [esp + 0xc]
sub ecx, 0x40
mov dword [esp + 0xc], ecx
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
test al, 4
je 0x572827
mov esi, dword [ebx + 4]
xor eax, eax
test esi, esi
setne al
cdq
mov edi, eax
mov eax, dword [esp + 0xc]
mov esi, edx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
add edi, edx
adc esi, ecx
jmp 0x57289e
mov ecx, dword [esp + 0xc]
push ecx
call fcn.005712a0
mov edx, dword [esp + 0x10]
add esp, 4
fld qword [edx + 0x10]
call fcn.00560028
cdq
mov edi, eax
mov eax, dword [esp + 0xc]
mov esi, edx
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], esi
fild qword [esp + 0xa0]
fcomp qword [eax + 0x10]
fnstsw ax
test ah, 1
je 0x57287c
add edi, 1
adc esi, 0
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], esi
mov eax, dword [ebx + 4]
test eax, eax
je 0x57289e
fild qword [esp + 0xa0]
mov ecx, dword [esp + 0xc]
fcomp qword [ecx + 0x10]
fnstsw ax
test ah, 0x40
je 0x57289e
add edi, 1
adc esi, 0
mov edx, dword [esp + 0xc]
test byte [edx + 0xc], 0x40
je 0x5728b3
mov eax, edx
push eax
call fcn.00571110
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [ecx], edi
mov edx, dword [esp + 0xc]
mov dword [edx + 4], esi
mov eax, dword [esp + 0xc]
mov word [eax + 0xc], 4
jmp case.0x571ccc.14
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov dl, byte [ecx + 0x10]
push edx
push 0x69
push eax
call fcn.00571b00
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov ax, word [ecx + 0xc]
test al, 4
jne 0x572920
mov eax, dword [ebx + 8]
test eax, eax
je 0x5757f1
mov eax, dword [ebx + 4]
test eax, eax
je 0x572913
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.00575d30
add esp, 8
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
test al, 0x40
je 0x574b12
push ecx
call fcn.00571110
mov ecx, dword [esp + 0x10]
add esp, 4
mov word [ecx + 0xc], 4
jmp case.0x571ccc.14
mov edx, dword [esp + 0xc]
mov ax, word [edx + 0xc]
test al, 1
jne case.0x571ccc.14
mov cl, al
shr cl, 3
and ecx, 2
or ecx, eax
mov eax, dword [esp + 0x14]
mov word [edx + 0xc], cx
mov edx, dword [esp + 0xc]
mov cl, byte [eax + 0x10]
push ecx
push 0x69
push edx
call fcn.00571b00
mov eax, dword [esp + 0x18]
push eax
call fcn.005711e0
add esp, 0x10
jmp case.0x571ccc.14
mov ecx, dword [esp + 0xc]
mov ax, word [ecx + 0xc]
test al, 1
jne case.0x571ccc.14
mov dl, al
shr dl, 3
and edx, 2
or edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov word [eax + 0xc], dx
mov eax, dword [esp + 0xc]
mov dl, byte [ecx + 0x10]
push edx
push 0x6e
push eax
call fcn.00571b00
mov eax, dword [esp + 0x18]
add esp, 0xc
mov cl, byte [eax + 0xc]
push eax
test cl, 0xc
jne 0x5729de
call fcn.005712a0
mov eax, dword [esp + 0x10]
add esp, 4
and word [eax + 0xc], 0xc
jmp case.0x571ccc.14
call fcn.00571110
mov eax, dword [esp + 0x10]
add esp, 4
and word [eax + 0xc], 0xc
jmp case.0x571ccc.14
mov ecx, dword [esp + 0xc]
mov ax, word [ecx + 0xc]
test al, 1
jne case.0x571ccc.14
mov dl, al
shr dl, 3
and edx, 2
or edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov word [eax + 0xc], dx
mov eax, dword [esp + 0xc]
mov dl, byte [ecx + 0x10]
push edx
push 0x74
push eax
call fcn.00571b00
mov eax, dword [esp + 0x18]
add esp, 0xc
and word [eax + 0xc], 0xffe3
jmp case.0x571ccc.14
mov ecx, dword [esp + 0xc]
mov ax, word [ecx + 0xc]
test al, 1
jne case.0x571ccc.14
test al, 0x10
jne 0x572a69
mov edx, dword [esp + 0x14]
mov al, byte [edx + 0x10]
push eax
push 0x74
push ecx
call fcn.00571b00
mov eax, dword [esp + 0x18]
add esp, 0xc
or byte [eax + 0xc], 0x10
mov eax, dword [esp + 0xc]
and word [eax + 0xc], 0xfff1
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
mov dl, byte [eax - 0x34]
mov cl, byte [eax + 0xc]
lea esi, [eax - 0x40]
or dl, cl
test dl, 1
je 0x572abc
lea eax, [esp + 0xc]
push 2
push eax
call fcn.00575d30
mov eax, dword [ebx + 8]
add esp, 8
test eax, eax
je case.0x571ccc.123
mov ecx, dword [ebx + 4]
test ch, 1
je case.0x571ccc.14
dec eax
mov dword [esp + 0x1c], eax
jmp case.0x571ccc.14
mov cl, byte [ebx + 4]
test cl, cl
mov byte [esp + 0xc4], cl
je 0x572afa
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0xc4]
mov dl, byte [ecx + 0x10]
push edx
push edi
push esi
call fcn.00571b00
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov cl, byte [eax + 0x10]
push ecx
push edi
push edx
call fcn.00571b00
mov eax, dword [esp + 0x24]
add esp, 0x18
mov ecx, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.00571530
xor ecx, ecx
add esp, 0xc
mov cl, byte [ebx]
add ecx, 0xffffffb8
cmp ecx, 4
ja case.default.0x572b14
jmp dword [ecx*4 + 0x575c04]
xor edx, edx
test eax, eax
sete dl
mov edi, edx
jmp 0x572b57
xor ecx, ecx
test eax, eax
setne cl
jmp 0x572b55
xor edx, edx
test eax, eax
setl dl
mov edi, edx
jmp 0x572b57
xor ecx, ecx
test eax, eax
setle cl
jmp 0x572b55
xor edx, edx
test eax, eax
setg dl
mov edi, edx
jmp 0x572b57
xor ecx, ecx
test eax, eax
setge cl
mov edi, ecx
lea edx, [esp + 0xc]
push 2
push edx
call fcn.00575d30
mov ebx, dword [ebx + 8]
add esp, 8
test ebx, ebx
je 0x572b7f
test edi, edi
je case.0x571ccc.14
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
add eax, 0x40
mov dword [esp + 0xc], eax
mov word [eax + 0xc], 4
mov ecx, dword [esp + 0xc]
mov eax, edi
cdq
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
mov dword [eax + 4], edx
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
mov cl, byte [eax + 0xc]
lea edi, [eax - 0x40]
test cl, 1
je 0x572bbb
mov esi, 2
jmp 0x572bda
push eax
call fcn.005711e0
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
jne 0x572bd8
mov esi, 1
jmp 0x572bda
xor esi, esi
test byte [edi + 0xc], 1
je 0x572be7
mov eax, 2
jmp 0x572c02
push edi
call fcn.005711e0
mov edx, dword [edi]
mov eax, dword [edi + 4]
add esp, 4
or edx, eax
jne 0x572c00
mov eax, 1
jmp 0x572c02
xor eax, eax
cmp byte [ebx], 0x41
jne 0x572c17
lea eax, [eax + esi*2]
xor ecx, ecx
mov cl, byte [esi + eax + 0x654fc0]
mov edi, ecx
jmp 0x572c25
lea edx, [eax + esi*2]
xor eax, eax
mov al, byte [esi + edx + 0x654fcc]
mov edi, eax
lea ecx, [esp + 0xc]
push 2
push ecx
call fcn.00575d30
mov ecx, dword [esp + 0x14]
add esp, 8
add ecx, 0x40
cmp edi, 2
mov dword [esp + 0xc], ecx
jne 0x572c4f
mov word [ecx + 0xc], 1
jmp case.0x571ccc.14
xor eax, eax
test edi, edi
sete al
jmp 0x574b04
mov ecx, dword [esp + 0xc]
mov ax, word [ecx + 0xc]
test al, 8
je 0x572ca4
test al, 0x40
je 0x572c78
push ecx
call fcn.00571110
mov ecx, dword [esp + 0x10]
add esp, 4
cmp byte [ebx], 0x59
je 0x572c8d
fld qword [ecx + 0x10]
fcomp qword [0x651d08]
fnstsw ax
test ah, 1
je 0x572c99
fld qword [ecx + 0x10]
fchs
fstp qword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov word [ecx + 0xc], 8
jmp case.0x571ccc.14
test al, 4
je 0x572cf0
test al, 0x40
je 0x572cb9
push ecx
call fcn.00571110
mov ecx, dword [esp + 0x10]
add esp, 4
cmp byte [ebx], 0x59
je 0x572ccc
mov eax, dword [ecx + 4]
test eax, eax
jg 0x572ce5
jl 0x572ccc
cmp dword [ecx], 0
jae 0x572ce5
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
neg edx
adc eax, 0
mov dword [ecx], edx
mov ecx, dword [esp + 0xc]
neg eax
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0xc]
mov word [ecx + 0xc], 4
jmp case.0x571ccc.14
test al, 1
jne case.0x571ccc.14
mov edx, dword [esp + 0xc]
push edx
call fcn.005712a0
mov al, byte [ebx]
mov ecx, dword [esp + 0x10]
add esp, 4
cmp al, 0x59
je 0x572c8d
fld qword [ecx + 0x10]
fcomp qword [0x651d08]
fnstsw ax
test ah, 1
je 0x572c99
jmp 0x572c8d
mov eax, dword [esp + 0xc]
test byte [eax + 0xc], 1
jne case.0x571ccc.14
mov ecx, eax
push ecx
call fcn.005711e0
mov ecx, dword [esp + 0x10]
add esp, 4
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
or edx, eax
jne 0x572d5c
mov eax, 1
jmp 0x574b04
xor eax, eax
jmp 0x574b04
mov edx, dword [esp + 0xc]
test byte [edx + 0xc], 1
jne case.0x571ccc.14
mov eax, edx
push eax
call fcn.005711e0
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
not ecx
not edx
mov dword [eax], ecx
jmp 0x574b07
mov eax, dword [esp + 0xc]
test byte [eax + 0xc], 1
je 0x572d9f
mov esi, dword [ebx + 4]
jmp 0x572dcc
push eax
call fcn.00571210
fcomp qword [0x651d08]
add esp, 4
fnstsw ax
test ah, 0x40
jne 0x572dbc
mov esi, 1
jmp 0x572dbe
xor esi, esi
cmp byte [ebx], 0x4e
jne 0x572dcc
xor edx, edx
test esi, esi
sete dl
mov esi, edx
mov eax, dword [esp + 0xc]
test byte [eax + 0xc], 0x40
je 0x572ddf
push eax
call fcn.00571110
add esp, 4
mov ecx, dword [esp + 0xc]
sub ecx, 0x40
test esi, esi
mov dword [esp + 0xc], ecx
je case.0x571ccc.14
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov esi, dword [ebx + 4]
mov eax, esi
test eax, eax
jge 0x572e0a
neg eax
mov ecx, eax
shl ecx, 6
mov edx, ecx
mov ecx, dword [esp + 0xc]
sub ecx, edx
xor edx, edx
add ecx, 0x40
test eax, eax
jle 0x572e3a
add ecx, 0xc
test byte [ecx], 1
jne 0x572e32
inc edx
add ecx, 0x40
cmp edx, eax
jl 0x572e23
jmp 0x572e3a
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
test esi, esi
jle case.0x571ccc.14
push eax
jmp 0x57438b
mov ecx, dword [ebx + 4]
test ecx, ecx
mov dword [esp + 0x18], ecx
jge 0x572e55
neg ecx
test ecx, ecx
mov dword [esp + 0x20], 0
jle 0x572e8d
mov esi, dword [esp + 0xc]
mov edi, ecx
xor edx, edx
shl edi, 6
mov eax, edx
sub eax, edi
test byte [eax + esi + 0x4c], 1
mov eax, dword [esp + 0x20]
jne 0x572e89
inc eax
add edx, 0x40
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x572e6c
jmp 0x572e8d
cmp eax, ecx
jl 0x572e95
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
test eax, eax
jle case.0x571ccc.14
push ecx
lea ecx, [esp + 0x10]
push ecx
call fcn.00575d30
add esp, 8
jmp case.0x571ccc.14
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + edx*4]
mov edx, dword [ebx + 8]
mov dword [ecx + 0x50], edx
jmp case.0x571ccc.14
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xc]
xor edx, edx
add ecx, 0x40
xor esi, esi
mov word [esp + 0x174], dx
mov dword [esp + 0xc], ecx
cmp eax, edx
mov word [ecx + 0xc], 1
jge 0x572f2e
mov ecx, dword [esp + 0xc]
shl eax, 6
add eax, ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x18]
mov edi, dword [eax - 0x40]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], edx
cmp dword [esp + 0x44], edx
jne 0x57301a
mov edx, dword [esp + 0xc]
mov word [edx + 0xc], 1
jmp case.0x571ccc.14
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x3c]
mov esi, dword [ecx + eax*4]
cmp dword [esi], edx
je 0x572fe6
push esi
call fcn.005775d0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x575956
mov dl, byte [esi + 0x1c]
mov eax, dword [esi]
xor ecx, ecx
mov dword [esp + 0x50], eax
test dl, dl
mov dword [esp + 0x48], ecx
je 0x572f76
mov dword [esp + 0x44], ecx
mov edi, dword [esi + 0x50]
mov dword [esp + 0x40], edi
xor edx, edx
jmp 0x572f15
mov cl, byte [esi + 0x54]
test cl, cl
je 0x572f99
mov edx, dword [esi + 0x58]
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x50]
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], edi
xor edx, edx
jmp 0x572f15
mov cl, byte [esi + 0x21]
test cl, cl
je 0x572fca
lea ecx, [esp + 0x100]
push ecx
push eax
call fcn.0057d060
mov edx, dword [esp + 0x108]
add esp, 8
mov dword [esp + 0x44], edx
mov edi, dword [esi + 0x50]
mov dword [esp + 0x40], edi
xor edx, edx
jmp 0x572f15
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.0057d200
mov edi, dword [esi + 0x50]
add esp, 8
mov dword [esp + 0x40], edi
xor edx, edx
jmp 0x572f15
mov al, byte [esi + 0x1e]
test al, al
je 0x573007
mov eax, dword [esi + 0x34]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x38]
mov edi, dword [esi + 0x50]
mov dword [esp + 0x48], ecx
mov byte [esi + 0x54], 0
jmp 0x572f0d
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0xc]
mov word [edx + 0xc], 1
jmp case.0x571ccc.14
cmp esi, edx
je 0x57303e
mov al, byte [esi + 0x54]
test al, al
mov eax, dword [esi + 0x5c]
je 0x573034
mov edi, dword [esi + 0x60]
mov dword [esp + 0x34], eax
jmp 0x57322e
cmp eax, edx
je 0x57303e
mov dword [esp + 0x34], eax
jmp 0x573054
lea ecx, [edi*8]
push ecx
call fcn.00570130
add esp, 4
mov dword [esp + 0x34], eax
xor edx, edx
lea ecx, [eax + edi*4]
cmp eax, edx
mov dword [esp + 0x20], ecx
je 0x5758db
mov edi, dword [esp + 0x48]
test edi, edi
je 0x573073
mov eax, edi
mov dword [esp + 0x28], eax
jmp 0x5730c8
mov al, byte [esi + 0x21]
test al, al
je 0x57308e
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x80]
push edx
push eax
call fcn.0057d400
jmp 0x5730a0
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x80]
push ecx
push edx
call fcn.0057d480
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x4c]
add esp, 8
cmp ecx, edx
mov dword [esp + 0x28], eax
jb 0x5730c1
mov edi, eax
mov dword [esi + 0x64], eax
mov dword [esp + 0x48], edi
jmp 0x5730c8
mov dword [esi + 0x64], 0
lea edx, [esp + 0x78]
push edx
push eax
call fcn.00570d60
add esp, 8
mov dword [esp + 0x54], eax
test edi, edi
jne 0x573121
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jae 0x573121
xor edx, edx
lea ecx, [esp + 0x168]
mov dl, byte [esi + 0x21]
push ecx
push edx
push eax
mov eax, dword [esp + 0x5c]
push edi
push eax
call fcn.00571700
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x573312
mov ecx, dword [esp + 0x180]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x54]
cmp ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0
jae 0x5731b0
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
sub eax, edi
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
cmp eax, edx
jae 0x5731b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
ja 0x5731b0
mov edx, dword [esp + 0x38]
mov ecx, eax
mov eax, dword [esp + 0x54]
push edi
mov dword [edx + edi], ecx
mov ecx, dword [esp + 0x2c]
add eax, ecx
push eax
call fcn.00570d60
mov ecx, dword [esp + 0x5c]
mov edx, dword [edi]
add ecx, eax
push edx
mov dword [esp + 0x60], ecx
call fcn.00577720
mov ecx, dword [esp + 0x30]
add esp, 0xc
add ecx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
add edi, 4
cmp eax, ecx
jb 0x573147
test byte [esp + 0x174], 0x40
je 0x5731ca
lea ecx, [esp + 0x168]
push ecx
call fcn.00571110
add esp, 4
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
cmp eax, edx
mov word [esp + 0x174], 1
jae 0x5731ef
mov ecx, dword [esp + 0x20]
lea edi, [ecx + eax*4]
mov ecx, edx
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x54]
cmp eax, edx
jne 0x57330a
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jne 0x57330a
test esi, esi
je 0x57322a
mov edi, dword [esp + 0x20]
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov byte [esi + 0x54], 1
jmp 0x57322e
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + ecx*4]
test eax, eax
je 0x5732b3
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x573245
add eax, ecx
jmp 0x573289
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + ebx*4]
push eax
call fcn.00577720
xor edx, edx
lea ecx, [esp + 0x16c]
mov dl, byte [esi + 0x21]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
mov eax, dword [edi + ebx*4]
push eax
push ecx
call fcn.00571700
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x573312
mov eax, dword [esp + 0x180]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx + edx*4]
push ecx
push eax
call fcn.005777d0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov al, byte [edx + 0x10]
mov byte [ecx + 0xf], al
jmp 0x5732db
cmp dword [ebx + 0x10], 0xfffffff8
jne 0x5732d1
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0xc]
push 0x80
push edx
push eax
call fcn.00571350
add esp, 0xc
jmp 0x5732db
mov ecx, dword [esp + 0xc]
mov word [ecx + 0xc], 1
test byte [esp + 0x174], 0x40
je 0x5732f7
mov eax, dword [esp + 0xc]
and word [eax + 0xc], 0xfeff
mov eax, dword [esp + 0xc]
or byte [eax + 0xc], 0x60
mov edx, dword [esp + 0xc]
push edx
call fcn.00570f80
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x573312
mov dword [esp + 0x10], 0xb
test esi, esi
je 0x573321
mov eax, dword [esi + 0x5c]
test eax, eax
jne case.0x571ccc.14
mov eax, dword [esp + 0x34]
push eax
call fcn.00570160
add esp, 4
jmp case.0x571ccc.14
mov esi, dword [ebx + 4]
xor edx, edx
xor ecx, ecx
cmp esi, edx
setl cl
mov edi, ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], ecx
neg edi
sbb edi, edi
xor ecx, ecx
and edi, 0xfffffffe
mov dword [esp + 0x40], edx
inc edi
mov dword [esp + 0x24], edx
imul edi, esi
cmp al, 0x38
mov eax, dword [ebx + 0xc]
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, edi
shl eax, 6
mov ebx, ecx
mov dword [esp + 0x34], edx
sub ebx, eax
mov dword [esp + 0x28], eax
add ebx, 0x40
mov dword [esp + 0x50], edx
cmp ebx, ecx
mov esi, ebx
ja 0x573407
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5733bb
mov ecx, dword [esp + 0x14]
mov eax, esi
sub eax, ebx
mov dl, byte [ecx + 0x10]
mov ecx, dword [esp + 0x18]
sar eax, 6
push edx
mov dl, byte [eax + ecx]
push edx
push esi
call fcn.00571b00
add esp, 0xc
test byte [esi + 0xc], 1
je 0x5733c9
mov dword [esp + 0x50], 1
push esi
call fcn.00577660
push eax
mov dword [esp + 0x40], eax
call fcn.00577720
mov ecx, dword [esp + 0x2c]
push 0
add ecx, eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esp + 0x34], ecx
call fcn.00570dd0
mov edx, dword [esp + 0x44]
add esi, 0x40
add edx, eax
mov eax, dword [esp + 0x1c]
add esp, 0x10
cmp esi, eax
mov dword [esp + 0x34], edx
jbe 0x573393
mov eax, dword [esp + 0x20]
test eax, eax
je 0x57344e
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
sub esi, eax
push esi
mov dword [esp + 0x44], esi
call fcn.005711e0
push esi
call fcn.00577660
mov esi, eax
push esi
call fcn.00577720
mov edx, dword [esp + 0x30]
push 0
add edx, eax
push esi
mov dword [esp + 0x38], edx
call fcn.00570dd0
mov esi, dword [esp + 0x48]
add esp, 0x14
add esi, eax
jmp 0x573452
mov esi, dword [esp + 0x34]
mov eax, esi
cdq
push edx
push eax
call fcn.00570dd0
add esi, eax
mov dword [esp + 0x40], eax
mov eax, esi
mov dword [esp + 0x3c], esi
cdq
push edx
push eax
call fcn.00570dd0
mov ecx, dword [esp + 0x48]
add esp, 0x10
cmp ecx, eax
jge 0x573480
inc esi
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x24]
lea eax, [esi + ecx]
cmp eax, 0x20
mov dword [esp + 0x38], eax
jbe 0x5734ab
push eax
call fcn.00570130
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x5758db
mov esi, dword [esp + 0x34]
jmp 0x5734b6
lea edx, [esp + 0x258]
mov dword [esp + 0x28], edx
mov eax, esi
cdq
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.00570b40
mov ecx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 0xc
add esi, ecx
cmp ebx, eax
mov dword [esp + 0x18], ebx
ja 0x573507
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00577660
push 0
push eax
push esi
call fcn.00570b40
mov ecx, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x28]
add esp, 0x10
add eax, 0x40
cmp eax, ecx
mov dword [esp + 0x18], eax
jbe 0x5734dc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x573527
mov edx, dword [esp + 0x40]
push edx
call fcn.00577660
push 0
push eax
push esi
call fcn.00570b40
add esp, 0x10
add esi, eax
cmp ebx, dword [esp + 0xc]
ja 0x573544
push ebx
push esi
call fcn.00577740
add esi, eax
mov eax, dword [esp + 0x14]
add ebx, 0x40
add esp, 8
cmp ebx, eax
jbe 0x57352d
mov eax, dword [esp + 0x20]
test eax, eax
je 0x57355a
mov eax, dword [esp + 0x40]
push eax
push esi
call fcn.00577740
add esp, 8
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x573576
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xc]
add ecx, edi
push ecx
push edx
call fcn.00575d30
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
add eax, 0x40
cmp ecx, 0x20
mov dword [esp + 0xc], eax
mov dword [eax + 8], ecx
ja 0x5735bf
mov eax, dword [esp + 0xc]
lea esi, [esp + 0x258]
lea edx, [eax + 0x20]
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0xc]
mov edx, ecx
lea edi, [eax + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0xc]
mov word [eax + 0xc], 0x210
jmp 0x5735df
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x18], edx
mov eax, dword [esp + 0xc]
mov word [eax + 0xc], 0x50
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x1c], 0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
test eax, eax
mov byte [edx + 0xf], 1
je case.0x571ccc.14
mov eax, dword [esp + 0x50]
test eax, eax
je case.0x571ccc.14
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x1c], eax
jmp case.0x571ccc.14
mov ebx, dword [ebx + 4]
test ebx, ebx
jl case.0x571ccc.14
mov ecx, dword [esp + 0x14]
cmp ebx, dword [ecx]
jge case.0x571ccc.14
lea edx, [ebx*8]
mov eax, ecx
sub edx, ebx
mov ecx, dword [eax + 4]
shl edx, 4
mov esi, dword [edx + ecx + 4]
test esi, esi
je case.0x571ccc.14
mov edx, eax
mov al, byte [edx + 0x11]
test al, al
jne case.0x571ccc.14
push esi
call fcn.00581bc0
add esp, 4
test eax, eax
jne case.0x571ccc.14
push esi
call fcn.0057cd90
add esp, 4
mov dword [esp + 0x10], eax
jmp case.0x571ccc.14
mov edi, dword [esp + 0x14]
mov al, byte [ebx + 4]
mov cl, byte [ebx + 8]
mov byte [esp + 0x5f], al
cmp dword [edi + 0x4c], 1
jle 0x5736c7
test al, al
je 0x5736c7
mov dl, byte [edi + 0x11]
test dl, dl
jne 0x5736c7
test cl, cl
mov eax, str.rollback
jne 0x57369e
mov eax, str.commit
push 0
push str._transaction___SQL_statements_in_progress
push eax
add esi, 0x240
push str.cannot
push esi
call fcn.00570250
add esp, 0x14
mov dword [esp + 0x10], 1
jmp case.0x571ccc.14
cmp al, byte [edi + 0x11]
jne 0x5757fe
test al, al
jne 0x5736db
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x5736e9
test cl, cl
mov eax, str.cannot_rollback___no_transaction_is_active
jne 0x5736e9
mov eax, str.cannot_commit___no_transaction_is_active
push 0
add esi, 0x240
push eax
push esi
call fcn.00570250
add esp, 0xc
mov dword [esp + 0x10], 1
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 4]
shl ecx, 4
mov eax, dword [ecx + eax + 4]
test eax, eax
je case.0x571ccc.14
mov ecx, dword [ebx + 8]
push ecx
push eax
call fcn.0057c830
add esp, 8
cmp eax, 5
mov dword [esp + 0x10], eax
je 0x57585d
test eax, eax
je case.0x571ccc.14
cmp eax, 8
jne 0x575956
jmp case.0x571ccc.14
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 4]
lea edx, [esp + 0xd4]
inc eax
push edx
mov edx, dword [esp + 0x18]
lea ecx, [ebx*8]
push eax
mov eax, dword [edx + 4]
sub ecx, ebx
shl ecx, 4
mov ecx, dword [ecx + eax + 4]
push ecx
call fcn.00580ed0
mov ecx, dword [esp + 0x18]
add esp, 0xc
add ecx, 0x40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xc], ecx
jmp 0x574b04
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 4]
lea edi, [eax*8]
sub edi, eax
shl edi, 4
add edi, edx
mov edx, dword [esp + 0xc]
push edx
call fcn.005711e0
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 8]
inc edx
mov ecx, dword [eax]
mov eax, dword [edi + 4]
push ecx
push edx
push eax
call fcn.00580f20
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
add esp, 0x10
test eax, eax
jne 0x57540c
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [edi + 8], edx
mov eax, dword [esi + 8]
or al, 0x10
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
sub eax, 0x40
mov dword [esp + 0xc], eax
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
xor edi, edi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 4]
shl ecx, 4
mov eax, dword [ecx + eax + 4]
cmp eax, edi
je 0x573886
lea ecx, [esp + 0xa8]
push ecx
push 1
push eax
call fcn.00580ed0
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x10], eax
jne case.0x571ccc.14
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0xa8]
mov eax, dword [ebx + 8]
cmp edx, eax
je case.0x571ccc.14
push 0
add esi, 0x240
push str.database_schema_has_changed
push esi
call fcn.00570250
add esp, 0xc
mov dword [esp + 0x10], 0x11
jmp case.0x571ccc.14
mov dword [esp + 0x10], edi
mov dword [esp + 0xa8], edi
jmp 0x573851
mov eax, dword [esp + 0xc]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
push eax
call fcn.005711e0
mov ecx, dword [esp + 0x10]
add esp, 4
mov eax, dword [ecx]
sub ecx, 0x40
mov dword [esp + 0xc], ecx
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x14]
shl edx, 4
mov eax, dword [eax + 4]
mov edx, dword [edx + eax + 4]
xor eax, eax
mov dword [esp + 0x18], edx
mov dl, byte [ebx]
cmp dl, 9
sete al
test esi, esi
mov dword [esp + 0x38], eax
jg 0x5738f6
push ecx
call fcn.005711e0
mov eax, dword [esp + 0x10]
add esp, 4
mov esi, dword [eax]
sub eax, 0x40
mov dword [esp + 0xc], eax
mov ecx, dword [ebp + 8]
push edi
push ecx
call fcn.00575e00
mov edi, eax
add esp, 8
test edi, edi
je 0x5758db
mov eax, dword [esp + 0x18]
mov byte [edi + 0x1c], 1
test eax, eax
je case.0x571ccc.14
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
push edi
push edx
push fcn.00577a10
push eax
push esi
push ecx
call fcn.0057ce30
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x10]
add esp, 0x18
cmp eax, 0xfffffffa
jne 0x57395f
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x4c], eax
inc eax
mov ecx, dword [edi + 0x4c]
mov dword [edi + 0x48], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dl, byte [edx + 0x10]
mov byte [ecx], dl
jmp 0x57396f
lea eax, [edi + 0x22]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5739aa
cmp ecx, 5
je 0x575880
cmp ecx, 0x10
jne 0x575956
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x10], 0
cmp edx, 0xfffffffa
setne al
test al, al
sete cl
mov byte [edi + 0x20], al
mov byte [edi + 0x21], cl
jmp case.0x571ccc.14
mov edx, dword [edi]
push edx
call fcn.00580f70
add esp, 4
test al, 0xf0
jne 0x5758b7
mov ecx, eax
and ecx, 7
cmp ecx, 5
je 0x5739d0
cmp ecx, 2
jne 0x5758b7
mov cl, al
shr eax, 1
and cl, 1
and al, 1
test cl, cl
mov byte [edi + 0x20], cl
mov byte [edi + 0x21], al
je 0x5739ed
cmp dword [ebx + 0x10], 0xfffffffa
je 0x5758b7
test al, al
je case.0x571ccc.14
cmp dword [ebx + 0x10], 0xfffffffa
jne 0x5758b7
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
push eax
push esi
call fcn.00575e00
mov edi, eax
add esp, 8
test edi, edi
je 0x5758db
mov edx, dword [esp + 0x14]
lea esi, [edi + 0x30]
push esi
push 0x1f4
push 1
push 0
push edx
mov byte [edi + 0x1c], 1
call fcn.0056f3b0
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x573af2
mov eax, dword [esi]
push 1
push eax
call fcn.0057c830
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x573af2
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x573ad0
mov edx, dword [esi]
lea ecx, [esp + 0xdc]
push 2
push ecx
push edx
call fcn.00580530
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x573abc
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esi]
push edi
push eax
push fcn.00577a10
push 1
push ecx
push edx
call fcn.0057ce30
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x4c], ebx
add esp, 0x18
mov ecx, dword [eax]
mov dl, byte [ecx + 0x10]
mov byte [ebx], dl
mov eax, dword [edi + 0x4c]
inc eax
mov dword [edi + 0x48], eax
mov byte [edi + 0x20], 0
mov al, byte [edi + 0x20]
test al, al
sete al
mov byte [edi + 0x21], al
jmp case.0x571ccc.14
mov ecx, dword [esi]
push edi
push 0
push 0
push 1
push 1
push ecx
call fcn.0057ce30
lea edx, [edi + 0x22]
add esp, 0x18
mov dword [esp + 0x10], eax
mov byte [edi + 0x20], 1
mov dword [edi + 0x48], edx
mov al, byte [edi + 0x20]
test al, al
sete al
mov byte [edi + 0x21], al
jmp case.0x571ccc.14
mov ebx, dword [ebx + 4]
push ebx
push esi
call fcn.00575e00
add esp, 8
test eax, eax
je 0x5758db
lea ecx, [eax + 0x22]
mov byte [eax + 0x1c], 1
mov byte [eax + 0x1e], 1
mov dword [eax + 0x48], ecx
mov byte [eax + 0x20], 1
mov byte [eax + 0x21], 0
jmp case.0x571ccc.14
mov ebx, dword [ebx + 4]
test ebx, ebx
jl case.0x571ccc.14
cmp ebx, dword [esi + 0x38]
jge case.0x571ccc.14
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + ebx*4]
push eax
call fcn.00576b60
mov ecx, dword [esi + 0x3c]
add esp, 4
mov dword [ecx + ebx*4], 0
jmp case.0x571ccc.14
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + edx*4]
cmp dword [edi], 0
je 0x5753f9
mov eax, dword [esp + 0x18]
mov byte [edi + 0x1c], 0
cmp eax, 5
je 0x573b8c
cmp eax, 0x45
je 0x573b8c
xor eax, eax
jmp 0x573b91
mov eax, 1
mov ecx, dword [edi + 0x48]
mov byte [ecx], al
mov al, byte [edi + 0x20]
test al, al
je 0x573c16
mov edx, dword [esp + 0xc]
push edx
call fcn.005711e0
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 8]
add esp, 4
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
test edx, edx
jne 0x573bd9
cmp byte [ebx], 0x7f
jne 0x573bd9
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov byte [edi + 0x1f], 1
mov eax, dword [esp + 0xc]
sub eax, 0x40
mov dword [esp + 0xc], eax
jmp case.0x571ccc.14
lea edx, [esp + 0x4c]
push edx
push ecx
push eax
mov eax, dword [edi]
push 0
push eax
call fcn.0057d6b0
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x575956
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [edi + 8], edx
mov eax, dword [ecx + 4]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x4c]
test eax, eax
sete cl
mov byte [edi + 0x19], cl
jmp 0x573c68
mov ecx, dword [esp + 0xc]
test byte [ecx + 0xc], 0x12
jne 0x573c3f
mov eax, dword [esp + 0x14]
xor edx, edx
mov dl, byte [eax + 0x10]
push edx
push ecx
call fcn.005710a0
add esp, 8
test eax, eax
jne 0x5758db
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x4c]
push edx
cdq
push edx
push eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [edi]
push eax
push ecx
call fcn.0057d6b0
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x575956
mov byte [edi + 0x19], al
mov edx, dword [edi + 0x48]
mov eax, dword [esp + 0x18]
mov byte [edi + 0x1f], 0
mov byte [edi + 0x54], 0
mov byte [edx], 0
mov edx, dword [0x6e35d8]
inc edx
cmp eax, 0x7f
mov dword [0x6e35d8], edx
je 0x573ce6
cmp eax, 5
je 0x573ce6
mov eax, dword [esp + 0x4c]
test eax, eax
jl 0x573cd5
mov ecx, dword [edi]
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.0057dab0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x575956
mov byte [edi + 0x19], al
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5753f9
mov ebx, dword [ebx + 8]
test ebx, ebx
jle 0x573d0a
dec ebx
mov dword [esp + 0x1c], ebx
jmp 0x5753f9
mov edx, dword [edi]
push edx
call fcn.0057d920
add esp, 4
mov dword [esp + 0x4c], eax
jmp 0x573cb8
mov eax, dword [esp + 0x4c]
test eax, eax
jge 0x573cfd
mov ecx, dword [edi]
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.0057d930
jmp 0x573ca6
mov dword [esp + 0x4c], 0
jmp 0x5753f9
mov byte [edi + 0x1c], 1
jmp 0x5753f9
mov edx, dword [ebx + 4]
mov ecx, dword [esi + 0x3c]
xor eax, eax
mov esi, dword [ecx + edx*4]
cmp dword [esi], 0
je 0x573d89
mov ecx, dword [esp + 0xc]
test byte [ecx + 0xc], 0x12
jne 0x573d4c
mov eax, dword [esp + 0x14]
xor edx, edx
mov dl, byte [eax + 0x10]
push edx
push ecx
call fcn.005710a0
add esp, 8
test eax, eax
jne 0x5758db
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 8]
lea edx, [esp + 0xbc]
push edx
cdq
push edx
push eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [esi]
push eax
push ecx
call fcn.0057d6b0
add esp, 0x14
test eax, eax
jne 0x573d7f
mov eax, dword [esp + 0xbc]
test eax, eax
jne 0x573d7f
mov eax, 1
jmp 0x573d81
xor eax, eax
mov byte [esi + 0x1f], 0
mov byte [esi + 0x54], 0
mov cl, byte [ebx]
cmp cl, 0x80
jne 0x573d96
test eax, eax
je 0x573da2
jmp 0x573d9a
test eax, eax
jne 0x573da2
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
cmp cl, 0x72
je case.0x571ccc.14
jmp 0x5753f9
mov eax, dword [esp + 0xc]
mov esi, dword [ebx + 4]
push eax
lea edi, [eax - 0x40]
call fcn.005711e0
mov eax, dword [esp + 0x10]
add esp, 4
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xac], edx
mov edx, dword [ebp + 8]
sub eax, 0x40
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x3c]
mov esi, dword [eax + esi*4]
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x18], eax
je case.0x571ccc.14
test byte [edi + 0xc], 0x12
jne 0x573e19
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov cl, byte [edx + 0x10]
push ecx
push edi
call fcn.005710a0
add esp, 8
test eax, eax
jne 0x5758db
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 8]
push eax
push edi
mov dword [esp + 0x28], eax
call fcn.00577c30
sub edi, eax
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0x28]
push eax
mov eax, edi
mov byte [esi + 0x54], 0
cdq
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.0057d6b0
add esp, 0x1c
test eax, eax
jne 0x575956
mov eax, dword [esp + 0x68]
test eax, eax
jge 0x573e83
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x68]
push eax
push ecx
call fcn.0057d930
mov eax, dword [esp + 0x70]
add esp, 8
test eax, eax
je 0x573e83
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x68]
push edx
push eax
push edi
push esi
call fcn.00577d40
add esp, 0x10
test eax, eax
jne 0x575956
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x573eb4
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xb4]
push ecx
push edx
call fcn.00577c70
add esp, 8
test eax, eax
jne 0x575956
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
cmp ecx, eax
jne 0x573f02
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
cmp eax, edx
jne 0x573f02
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [eax], ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0xb8]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0xc]
mov word [eax + 0xc], 4
jmp case.0x571ccc.14
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x3c]
mov edi, dword [edx + ecx*4]
mov eax, dword [edi]
test eax, eax
je 0x5753f9
mov edx, dword [esp + 0xc]
lea esi, [esp + 0xcc]
push esi
mov ecx, dword [edx]
mov edx, dword [edx + 4]
push edx
push ecx
push 0
push eax
call fcn.0057d6b0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
add esp, 0x14
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xcc]
test eax, eax
sete cl
test eax, eax
mov dword [edi + 0xc], edx
mov byte [edi + 0x19], cl
mov byte [edi + 0x1c], 0
mov byte [edi + 0x54], 0
je 0x5753f9
mov ebx, dword [ebx + 8]
mov byte [edi + 0x19], 0
dec ebx
mov dword [esp + 0x1c], ebx
jmp 0x5753f9
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x3c]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov edi, dword [eax + edx*4]
mov eax, dword [edi]
cmp eax, ecx
je 0x5741f2
push eax
mov dword [esp + 0x24], ecx
call fcn.00580f70
and eax, 3
add esp, 4
cmp al, 1
jne 0x5758c4
mov al, byte [edi + 0x1b]
test al, al
jne 0x574107
mov al, byte [edi + 0x1d]
test al, al
je 0x573ff7
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x30], edx
jmp 0x574067
mov ecx, dword [edi]
lea eax, [esp + 0x7c]
push eax
push ecx
call fcn.0057d610
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
add esp, 8
test eax, eax
je 0x574028
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0
jmp 0x574067
mov eax, dword [edi]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0057d060
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, 0xffffffff
jne 0x574051
cmp dword [esp + 0x30], 0x7fffffff
jne 0x574051
mov byte [edi + 0x1b], 1
jmp 0x574067
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add ecx, 1
adc eax, 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x5740cb
mov edx, dword [esi + 0x60]
shl ebx, 6
add ebx, edx
push ebx
call fcn.005711e0
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
add esp, 4
cmp eax, 0xffffffff
jne 0x574095
cmp ecx, 0x7fffffff
je 0x5758d1
mov dl, byte [edi + 0x1b]
test dl, dl
jne 0x5758d1
mov edx, dword [esp + 0x30]
add eax, 1
adc ecx, 0
cmp edx, ecx
jg 0x5740be
jl 0x5740b6
cmp dword [esp + 0x2c], eax
jae 0x5740be
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x2c]
mov dword [ebx], eax
mov ecx, dword [esp + 0x30]
mov dword [ebx + 4], ecx
cmp dword [esp + 0x30], 0x7fffffff
ja 0x5740f8
jb 0x5740de
cmp dword [esp + 0x2c], 0xffffffff
jae 0x5740f8
mov byte [edi + 0x1d], 1
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add edx, 1
adc eax, 0
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
jmp 0x5740fc
mov byte [edi + 0x1d], 0
mov al, byte [edi + 0x1b]
test al, al
je 0x5741e6
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
or ecx, dword [esp + 0x30]
je 0x574158
cmp ebx, 2
jg 0x574158
lea eax, [esp + 0xe4]
push eax
push 1
call fcn.00587890
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x34]
and eax, 0xff
add esp, 8
inc eax
cdq
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
adc eax, edx
jmp 0x574181
lea ecx, [esp + 0x2c]
push ecx
push 8
call fcn.00587890
mov ecx, dword [esp + 0x34]
add esp, 8
cmp ebx, 5
jge 0x574185
mov eax, dword [esp + 0x30]
and ecx, 0xffffff
mov dword [esp + 0x2c], ecx
and eax, 0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov edx, ecx
or edx, eax
je 0x5741ac
lea edx, [esp + 0x7c]
push edx
push eax
mov eax, dword [edi]
push ecx
push 0
push eax
call fcn.0057d6b0
mov ecx, dword [esp + 0x40]
add esp, 0x14
mov dword [esp + 0x20], eax
inc ebx
mov edx, dword [esp + 0x7c]
cmp ebx, 0x3e8
jge 0x5741c8
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5741c8
test edx, edx
je 0x57411b
mov eax, dword [esp + 0x14]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x2c], ecx
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5741e6
test edx, edx
je 0x5758d1
mov byte [edi + 0x19], 0
mov byte [edi + 0x1f], 0
mov byte [edi + 0x54], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [eax], edx
mov eax, dword [esp + 0x30]
jmp 0x574613
mov edx, dword [ebx + 4]
mov edi, dword [esi + 0x3c]
mov ecx, dword [esp + 0xc]
mov edi, dword [edi + edx*4]
lea eax, [ecx - 0x40]
mov dword [esp + 0x18], edi
cmp dword [edi], 0
jne 0x574234
mov cl, byte [edi + 0x1e]
test cl, cl
je 0x574389
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x94], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x98], edx
mov dl, byte [ebx + 8]
test dl, 1
je 0x574255
inc dword [esi + 0x24c]
test byte [ebx + 8], 2
je 0x57426e
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov dword [ecx + 0x20], edx
mov eax, dword [eax + 4]
mov dword [ecx + 0x24], eax
mov ecx, dword [esp + 0xc]
mov al, byte [edi + 0x1d]
test al, al
je 0x574292
mov edx, dword [ecx + 4]
mov eax, dword [edi + 0x14]
cmp edx, eax
jl 0x574292
jg 0x57428a
mov eax, dword [ecx]
mov edx, dword [edi + 0x10]
cmp eax, edx
jb 0x574292
mov byte [edi + 0x1d], 0
mov ecx, dword [esp + 0xc]
test byte [ecx + 0xc], 1
je 0x5742a4
xor eax, eax
mov dword [ecx + 0x18], eax
mov ecx, dword [esp + 0xc]
mov dword [ecx + 8], eax
mov al, byte [edi + 0x1e]
test al, al
je 0x574350
mov edx, dword [edi + 0x38]
push edx
call fcn.00570160
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
mov edx, dword [esp + 0x10]
add esp, 4
mov eax, dword [edx + 8]
mov dword [edi + 0x34], eax
mov ecx, dword [esp + 0xc]
test byte [ecx + 0xc], 0x40
je 0x5742fc
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x38], eax
mov ecx, dword [esp + 0xc]
mov word [ecx + 0xc], 1
mov byte [edi + 0x1c], 0
jmp 0x57437d
add eax, 2
push eax
call fcn.00570130
add esp, 4
mov dword [edi + 0x38], eax
test eax, eax
je 0x5758db
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov edi, eax
mov ecx, dword [edx + 0x34]
mov esi, dword [esi + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 0x34]
mov eax, dword [edx + 0x38]
mov edi, dword [esp + 0x18]
mov byte [ecx + eax], 0
mov ecx, dword [edx + 0x34]
mov edx, dword [edx + 0x38]
mov byte [ecx + edx + 1], 0
mov byte [edi + 0x1c], 0
jmp 0x57437d
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [edi]
push eax
push ecx
push 0
push edx
call fcn.0057dbd0
add esp, 0x18
mov dword [esp + 0x10], eax
mov byte [edi + 0x19], 0
mov byte [edi + 0x1f], 0
mov byte [edi + 0x54], 0
push 2
lea eax, [esp + 0x10]
push eax
call fcn.00575d30
add esp, 8
jmp case.0x571ccc.14
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x3c]
mov edi, dword [edx + ecx*4]
cmp dword [edi], 0
je 0x5743d7
push edi
call fcn.005775d0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x575956
mov eax, dword [edi]
push eax
call fcn.005802a0
add esp, 4
mov dword [esp + 0x10], eax
mov byte [edi + 0x1d], 0
mov byte [edi + 0x54], 0
test byte [ebx + 8], 1
je case.0x571ccc.14
inc dword [esi + 0x24c]
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
test eax, eax
je 0x574407
mov ecx, dword [esi + 0x24c]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00577de0
add esp, 8
mov dword [esi + 0x24c], 0
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 0x3c]
add eax, 0x40
mov dword [esp + 0xc], eax
mov edi, dword [ecx + ebx*4]
mov cl, byte [edi + 0x1c]
test cl, cl
jne 0x574563
mov esi, dword [edi]
test esi, esi
je 0x574535
push edi
call fcn.005775d0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x575956
mov al, byte [edi + 0x1c]
test al, al
je 0x57446a
mov edx, dword [esp + 0xc]
mov word [edx + 0xc], 1
jmp case.0x571ccc.14
mov al, byte [edi + 0x21]
test al, al
je 0x57448f
lea eax, [esp + 0x108]
push eax
push esi
call fcn.0057d060
mov ecx, dword [esp + 0x110]
add esp, 8
mov dword [esp + 0x60], ecx
jmp 0x57449d
lea edx, [esp + 0x60]
push edx
push esi
call fcn.0057d200
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x60]
cmp eax, 0x20
ja 0x5744c7
mov edx, dword [esp + 0xc]
mov word [edx + 0xc], 0x210
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x20]
mov dword [eax + 0x18], ecx
jmp 0x5744f4
push eax
call fcn.00570130
add esp, 4
test eax, eax
je 0x5758db
mov edx, dword [esp + 0xc]
mov word [edx + 0xc], 0x50
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x1c], 0
mov edx, dword [esp + 0xc]
mov dword [edx + 0x18], eax
mov al, byte [edi + 0x21]
mov edx, dword [esp + 0x60]
test al, al
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
push ecx
push edx
push 0
push esi
je 0x574520
call fcn.0057d230
mov edx, dword [esp + 0x1c]
add esp, 0x10
mov byte [edx + 0xf], 1
jmp case.0x571ccc.14
call fcn.0057d3e0
mov edx, dword [esp + 0x1c]
add esp, 0x10
mov byte [edx + 0xf], 1
jmp case.0x571ccc.14
mov cl, byte [edi + 0x1e]
test cl, cl
je 0x574563
mov ecx, dword [edi + 0x34]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [edi + 0x38]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0xc]
mov word [ecx + 0xc], pe_nt_image_headers32
mov edx, dword [esp + 0xc]
mov byte [edx + 0xf], 1
jmp case.0x571ccc.14
mov word [eax + 0xc], 1
mov edx, dword [esp + 0xc]
mov byte [edx + 0xf], 1
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x3c]
mov edi, dword [ecx + eax*4]
push edi
call fcn.005775d0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x575956
mov ecx, dword [esp + 0xc]
add ecx, 0x40
mov dword [esp + 0xc], ecx
mov al, byte [edi + 0x19]
test al, al
je 0x5745bc
mov edx, dword [edi + 8]
mov dword [esp + 0x88], edx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x8c], eax
jmp 0x5745ff
mov al, byte [edi + 0x1e]
test al, al
je 0x5745d9
mov ecx, dword [edi + 0x40]
mov dword [esp + 0x88], ecx
mov edx, dword [edi + 0x44]
mov dword [esp + 0x8c], edx
jmp 0x5745ff
mov al, byte [edi + 0x1c]
test al, al
jne 0x57486a
mov edi, dword [edi]
test edi, edi
je 0x57486a
lea eax, [esp + 0x88]
push eax
push edi
call fcn.0057d060
add esp, 8
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x88]
mov dword [edx], ecx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xc]
mov word [edx + 0xc], 4
jmp case.0x571ccc.14
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + ecx*4]
mov byte [eax + 0x1c], 1
mov byte [eax + 0x19], 0
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x3c]
mov edi, dword [ecx + eax*4]
mov eax, dword [edi]
test eax, eax
je 0x574692
lea edx, [esp + 0xc0]
push edx
push eax
call fcn.0057d610
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc8]
add esp, 8
mov byte [edi + 0x1c], al
test eax, eax
mov byte [edi + 0x1f], 0
mov byte [edi + 0x54], 0
je case.0x571ccc.14
mov ebx, dword [ebx + 8]
test ebx, ebx
jle case.0x571ccc.14
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov byte [edi + 0x1c], 0
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x3c]
mov edi, dword [ecx + eax*4]
mov eax, dword [edi]
test eax, eax
je 0x5746d2
lea edx, [esp + 0x6c]
push edx
push eax
call fcn.0057d4a0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
add esp, 8
mov byte [edi + 0x1f], 0
test eax, eax
sete al
mov byte [edi + 0x1a], al
mov byte [edi + 0x54], 0
jmp 0x5746da
mov dword [esp + 0x6c], 1
mov cl, byte [esp + 0x6c]
mov byte [edi + 0x1c], cl
mov eax, dword [esp + 0x6c]
test eax, eax
je case.0x571ccc.14
mov ebx, dword [ebx + 8]
test ebx, ebx
jle case.0x571ccc.14
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov edx, dword [esp + 0x14]
test byte [edx + 8], 4
jne 0x575910
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x3c]
mov edi, dword [edx + ecx*4]
mov ecx, dword [edi]
test ecx, ecx
je 0x574791
mov dl, byte [edi + 0x1c]
test dl, dl
je 0x57473a
mov dword [esp + 0x84], 1
mov byte [edi + 0x19], 0
jmp case.0x571ccc.14
cmp al, 0x6f
jne 0x57474e
lea eax, [esp + 0x84]
push eax
push ecx
call fcn.0057d930
jmp 0x57475c
lea edx, [esp + 0x84]
push edx
push ecx
call fcn.0057dab0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
add esp, 8
mov byte [edi + 0x1c], al
test eax, eax
mov byte [edi + 0x54], 0
jne 0x574795
mov ebx, dword [ebx + 8]
mov eax, dword [0x6e35d8]
dec ebx
inc eax
mov dword [0x6e35d8], eax
mov dword [esp + 0x1c], ebx
mov byte [edi + 0x19], 0
jmp case.0x571ccc.14
mov byte [edi + 0x1c], 1
mov byte [edi + 0x19], 0
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x3c]
mov edi, dword [ecx + eax*4]
mov ecx, dword [edi]
test ecx, ecx
je 0x5747d3
mov edx, dword [esp + 0xc]
push 0
push 0x651e88
mov eax, dword [edx + 8]
mov ebx, dword [edx + 0x18]
cdq
push edx
push eax
push ebx
push ecx
call fcn.0057dbd0
add esp, 0x18
mov dword [esp + 0x10], eax
mov byte [edi + 0x54], 0
mov edx, dword [esp + 0xc]
test byte [edx + 0xc], 0x40
je 0x57540c
mov eax, edx
jmp 0x575403
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x3c]
mov edi, dword [edx + ecx*4]
mov esi, dword [edi]
test esi, esi
je 0x5753f9
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xe0]
push eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0x18]
cdq
push edx
push eax
push ecx
push esi
call fcn.0057d6b0
add esp, 0x14
test eax, eax
jne 0x574836
mov eax, dword [esp + 0xe0]
test eax, eax
jne 0x574836
push esi
call fcn.005802a0
add esp, 4
mov dword [esp + 0x10], eax
mov byte [edi + 0x54], 0
jmp 0x5753f9
mov eax, dword [esp + 0xc]
mov ebx, dword [ebx + 4]
add eax, 0x40
mov dword [esp + 0xc], eax
mov word [eax + 0xc], 1
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + ebx*4]
mov ecx, dword [eax]
test ecx, ecx
je case.0x571ccc.14
mov dl, byte [eax + 0x1c]
test dl, dl
je 0x574879
mov eax, dword [esp + 0xc]
mov word [eax + 0xc], 1
jmp case.0x571ccc.14
lea edx, [esp + 0xe8]
push edx
push ecx
call fcn.00577c70
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x575956
mov eax, dword [esp + 0xc]
mov word [eax + 0xc], 4
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0xe8]
mov dword [edx], ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xec]
mov dword [ecx + 4], eax
jmp case.0x571ccc.14
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0x3c]
mov esi, dword [ecx + edx*4]
cmp dword [esi], 0
je 0x5753f9
mov eax, dword [esp + 0xc]
test byte [eax + 0xc], 0x12
jne 0x5748fa
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dl, byte [ecx + 0x10]
push edx
push eax
call fcn.005710a0
add esp, 8
test eax, eax
jne 0x5758db
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi + 0x48]
test ecx, ecx
setne dl
mov byte [eax], dl
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x64]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 8]
push ecx
push edx
push eax
push esi
call fcn.00577d40
mov ecx, dword [esi + 0x48]
add esp, 0x10
test eax, eax
mov byte [ecx], 0
jne case.0x571ccc.14
mov al, byte [ebx]
cmp al, 0x27
jne 0x57493d
mov eax, dword [esp + 0x64]
neg eax
jmp 0x574946
cmp al, 0x3f
mov eax, dword [esp + 0x64]
jne 0x57494a
inc eax
mov dword [esp + 0x64], eax
test eax, eax
jle 0x5753f9
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
jmp 0x5753f9
mov eax, dword [esp + 0xc]
mov esi, dword [ebx + 4]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 8]
lea eax, [esp + 0x9c]
mov dword [esp + 0x38], ecx
push eax
push ecx
mov dword [esp + 0x20], edx
call fcn.00570d60
mov edi, eax
mov eax, dword [esp + 0x20]
add esp, 8
cmp edi, eax
jge 0x5753f9
test esi, esi
jle 0x5753f9
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x9c]
push ecx
lea eax, [edi + edx]
push eax
call fcn.00570d60
add edi, eax
mov eax, dword [esp + 0xa4]
add esp, 8
test eax, eax
je 0x574952
mov eax, dword [esp + 0x18]
dec esi
cmp edi, eax
jl 0x574993
jmp 0x5753f9
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x4c], 1
jle 0x5749e5
mov dword [esp + 0x10], 6
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
lea edx, [esp + 0x90]
push edx
push eax
mov eax, dword [ebx + 8]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 4]
shl edx, 4
mov ecx, dword [edx + eax + 4]
push ecx
call fcn.00580ca0
mov ecx, eax
mov eax, dword [esp + 0x18]
add eax, 0x40
add esp, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov word [eax + 0xc], 4
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0xc]
cdq
mov dword [esi], eax
mov eax, dword [esp + 0xc]
test ecx, ecx
mov dword [eax + 4], edx
jne case.0x571ccc.14
mov eax, dword [esp + 0x90]
test eax, eax
je case.0x571ccc.14
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx + 8]
push ecx
push eax
mov eax, dword [esp + 0x1c]
lea edx, [ebx*8]
sub edx, ebx
mov esi, dword [eax + 4]
shl edx, 4
add edx, esi
push edx
call fcn.0057a820
add esp, 0xc
jmp case.0x571ccc.14
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov eax, dword [esp + 0x14]
push ecx
lea edx, [ebx*8]
mov ecx, dword [eax + 4]
sub edx, ebx
shl edx, 4
mov edx, dword [edx + ecx + 4]
push edx
call fcn.00580af0
add esp, 8
mov dword [esp + 0x10], eax
jmp case.0x571ccc.14
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x14]
sub al, 0x35
mov edi, dword [edx + 4]
lea ecx, [ebx*8]
sub ecx, ebx
shl ecx, 4
add ecx, edi
neg al
sbb eax, eax
mov ecx, dword [ecx + 4]
and al, 0xfd
add eax, 5
push eax
lea eax, [esp + 0xcc]
push eax
push ecx
call fcn.00580530
mov ecx, dword [esp + 0x18]
add esp, 0xc
add ecx, 0x40
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xc], ecx
jne 0x572c44
mov eax, dword [esp + 0xc8]
cdq
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0xc]
mov word [ecx + 0xc], 4
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
lea edx, [eax*8]
sub edx, eax
shl edx, 4
lea edi, [edx + ecx]
mov dl, byte [edx + ecx + 0x5c]
and dl, 1
cmp dl, 1
jne case.0x571ccc.14
cmp eax, 1
mov ecx, str.sqlite_temp_master
je 0x574b55
mov ecx, str.sqlite_master
mov edx, dword [esp + 0x14]
add esi, 0x240
mov dword [esp + 0xf0], edx
mov edx, dword [ebx + 0xc]
push edx
mov dword [esp + 0xf8], esi
push ecx
mov ecx, dword [edi]
push ecx
push eax
push str.SELECT_name__rootpage__sql___d_FROM__q._s_WHERE__s
call fcn.00584ad0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x5758db
mov esi, dword [esp + 0x14]
push esi
call fcn.00570ad0
lea edx, [esp + 0xf4]
push 0
push edx
push fcn.0056f870
push edi
push esi
mov byte [esi + 0x44], 1
call fcn.0056e5e0
push esi
mov dword [esp + 0x2c], eax
mov byte [esi + 0x44], 0
call fcn.00570a90
push edi
call fcn.00570160
add esp, 0x20
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00583ab0
add esp, 8
jmp case.0x571ccc.14
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call fcn.00579420
add esp, 0xc
jmp case.0x571ccc.14
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call fcn.00578f90
add esp, 0xc
jmp case.0x571ccc.14
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call fcn.00587350
add esp, 0xc
jmp case.0x571ccc.14
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0xc]
xor edi, edi
cmp eax, edx
jb 0x574c54
xor ecx, ecx
test byte [eax + 0xc], 4
je 0x574c54
mov eax, dword [esp + 0xc]
add ecx, 0x40
sub eax, ecx
inc edi
cmp eax, edx
jae 0x574c40
lea edx, [edi*4 + 4]
push edx
call fcn.00570130
mov esi, eax
add esp, 4
test esi, esi
je 0x5758db
xor eax, eax
test edi, edi
jle 0x574c9e
mov ecx, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], edi
mov edx, dword [esp + 0xc]
add ecx, 4
sub edx, eax
add eax, 0x40
mov edx, dword [edx]
mov dword [ecx - 4], edx
mov edx, dword [esp + 0x18]
dec edx
mov dword [esp + 0x18], edx
jne 0x574c7e
mov eax, dword [esp + 0x38]
mov dword [esi + eax*4], 0
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00575d30
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add eax, 0x40
push edi
mov dword [esp + 0x18], eax
mov ebx, dword [ebx + 8]
mov eax, dword [edx + 4]
push esi
lea ecx, [ebx*8]
sub ecx, ebx
shl ecx, 4
mov ecx, dword [ecx + eax + 4]
push ecx
call fcn.00580f90
add esp, 0x14
test eax, eax
je 0x574d23
cmp byte [eax], 0
je 0x574d1a
mov edx, dword [esp + 0xc]
mov edi, eax
or ecx, 0xffffffff
mov dword [edx + 0x18], eax
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0xc]
not ecx
dec ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
mov word [ecx + 0xc], 0x62
mov edx, dword [esp + 0xc]
mov dword [edx + 0x1c], 0
jmp 0x574d43
push eax
call fcn.00570160
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [eax + 0x18], 0x685bf0
mov ecx, dword [esp + 0xc]
mov dword [ecx + 8], 2
mov edx, dword [esp + 0xc]
mov word [edx + 0xc], 0xa2
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 0xf], 1
mov cl, byte [edx + 0x10]
mov eax, dword [esp + 0xc]
push ecx
push eax
call fcn.00570ec0
push esi
call fcn.00570160
add esp, 0xc
jmp case.0x571ccc.14
mov ecx, dword [esp + 0xc]
push ecx
call fcn.005711e0
mov eax, dword [esp + 0x10]
add esi, 0x74
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push esi
call fcn.00586760
mov eax, dword [esp + 0x1c]
add esp, 0x10
sub eax, 0x40
mov dword [esp + 0xc], eax
jmp case.0x571ccc.14
mov ecx, dword [esp + 0x14]
test byte [ecx + 8], 4
jne 0x575910
lea edx, [esp + 0xf8]
add esi, 0x74
push edx
push esi
call fcn.00586820
add esp, 8
cmp eax, 0x65
jne 0x574dd2
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xf8]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [eax], ecx
mov edx, dword [esp + 0xfc]
jmp 0x574b07
add dword [esi + 0x6c], 0x1c
jmp case.0x571ccc.14
add dword [esi + 0x6c], 0xffffffe4
jmp case.0x571ccc.14
mov edi, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
cmp edi, ecx
lea eax, [edi + 1]
mov dword [esi + 0x80], eax
jl 0x574e47
lea edx, [eax + eax*4]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x88]
shl edx, 2
push edx
push eax
call fcn.00570170
add esp, 8
mov dword [esi + 0x88], eax
test eax, eax
je 0x5758db
mov edx, dword [esi + 0x88]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x14]
add eax, 8
mov edx, dword [ecx + 0x20]
mov dword [eax - 8], edx
mov ecx, dword [esi + 0x24c]
mov dword [eax - 4], ecx
lea ecx, [esi + 0x74]
mov edx, ecx
push ecx
mov esi, dword [edx]
mov dword [eax], esi
mov esi, dword [edx + 4]
mov dword [eax + 4], esi
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
call fcn.00586750
add esp, 4
jmp case.0x571ccc.14
mov edx, dword [esi + 0x80]
mov ecx, dword [esi + 0x88]
dec edx
lea edi, [esi + 0x74]
mov eax, edx
mov dword [esi + 0x80], edx
push edi
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
cdq
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov edx, dword [ebx + 4]
mov dword [esi + 0x24c], edx
call fcn.00586880
add esp, 4
add ebx, 8
mov eax, dword [ebx]
mov dword [edi], eax
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [edi + 8], edx
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
push eax
lea edi, [eax - 0x40]
call fcn.00570f10
add esp, 4
test eax, eax
jne 0x5758db
push 0x50
call fcn.00570130
add esp, 4
test eax, eax
je 0x5758db
mov dword [eax + 0x48], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x574f1e
mov dword [ecx + 0x48], eax
jmp 0x574f21
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x44], eax
add eax, 8
push edi
mov edx, dword [ecx + 8]
push eax
mov dword [eax - 8], edx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x18]
mov word [eax + 0xc], 1
mov dword [eax - 4], edx
call fcn.005713d0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
add esp, 8
sub eax, 0x80
mov dword [esp + 0xc], eax
jmp case.0x571ccc.14
mov edx, dword [0x6e35e0]
mov esi, dword [ebx + 0xc]
inc edx
lea edi, [esp + 0x278]
mov dword [0x6e35e0], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov cl, byte [eax + 0x10]
xor eax, eax
mov byte [esi], cl
mov ecx, 0x1e
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x40]
test eax, eax
je 0x574ff5
mov ecx, dword [eax + 0x48]
xor ebx, ebx
mov dword [edx + 0x40], ecx
mov dword [eax + 0x48], ebx
lea edi, [esp + 0x278]
mov ecx, dword [edi]
test ecx, ecx
je 0x574fc6
push esi
push eax
push ecx
call fcn.00575d70
add esp, 0xc
mov dword [edi], 0
inc ebx
add edi, 4
cmp ebx, 0x1d
jl 0x574fa4
jmp 0x574fd2
cmp ebx, 0x1d
mov dword [esp + ebx*4 + 0x278], eax
jl 0x574feb
mov edx, dword [esp + 0x2ec]
push esi
push eax
push edx
call fcn.00575d70
add esp, 0xc
mov dword [esp + 0x2ec], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
test eax, eax
jne 0x574f92
xor eax, eax
lea edi, [esp + 0x278]
mov ebx, 0x1e
push esi
push eax
mov eax, dword [edi]
push eax
call fcn.00575d70
add esp, 0xc
add edi, 4
dec ebx
jne 0x575003
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40], eax
jmp case.0x571ccc.14
mov edx, dword [esp + 0x14]
mov edi, dword [esi + 0x40]
test byte [edx + 8], 4
jne 0x575910
test edi, edi
je 0x5755a5
mov eax, dword [edi + 0x48]
lea ecx, [edi + 8]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0xc]
add eax, 0x40
push ecx
mov dword [esp + 0x10], eax
mov word [eax + 0xc], 1
mov edx, dword [esp + 0x10]
push edx
call fcn.005713d0
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
push eax
call fcn.00570160
push edi
call fcn.00570160
add esp, 0x10
jmp case.0x571ccc.14
push esi
call fcn.00576910
add esp, 4
jmp case.0x571ccc.14
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0xc]
shl edx, 6
add edx, eax
push ecx
push edx
call fcn.005713d0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
sub ecx, 0x40
add esp, 8
mov dword [esp + 0xc], ecx
mov eax, dword [ebx + 8]
test eax, eax
jne case.0x571ccc.14
mov ebx, dword [ebx + 4]
mov edi, dword [esi + 0x60]
mov eax, dword [esp + 0xc]
push 0x100
shl ebx, 6
add ebx, edi
add eax, 0x40
push ebx
push eax
mov dword [esp + 0x18], eax
call fcn.00571350
add esp, 0xc
jmp case.0x571ccc.14
mov ebx, dword [ebx + 4]
mov edi, dword [esi + 0x60]
shl ebx, 6
add ebx, edi
push ebx
call fcn.005711e0
mov eax, dword [esp + 0x10]
push eax
call fcn.005711e0
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 4]
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp edx, eax
jg case.0x571ccc.14
jl 0x575123
mov edx, dword [ebx]
cmp edx, ecx
jae case.0x571ccc.14
mov dword [ebx], ecx
mov dword [ebx + 4], eax
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
mov edi, dword [esi + 0x60]
shl eax, 6
add eax, edi
mov esi, dword [eax]
add esi, 1
mov dword [eax], esi
mov edx, dword [eax + 4]
adc edx, 0
mov dword [eax + 4], edx
mov ebx, dword [ebx + 8]
test ebx, ebx
jle case.0x571ccc.14
cmp dword [eax], 1
jne case.0x571ccc.14
mov ecx, edx
test ecx, ecx
jne case.0x571ccc.14
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
mov edx, dword [esi + 0x60]
shl eax, 6
add eax, edx
mov ecx, dword [eax + 4]
test ecx, ecx
jl case.0x571ccc.14
jg 0x575191
cmp dword [eax], 0
jbe case.0x571ccc.14
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
test eax, eax
je 0x5751d2
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
push 0
call fcn.00576950
mov edx, dword [esi + 0x6c]
mov eax, dword [ebx + 8]
push 0
push 0
mov dword [edx], eax
mov ecx, dword [esi + 0x6c]
push ecx
call fcn.00575c60
add esp, 0x18
mov dword [esp + 0x10], eax
jmp 0x5751f3
mov edx, dword [ebx + 0xc]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call fcn.00576950
mov edx, dword [esi + 0x6c]
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [edx], ecx
test eax, eax
jne 0x575956
mov edx, dword [esi + 0x6c]
mov eax, dword [edx]
shl eax, 2
push eax
call fcn.005700e0
mov ecx, dword [esi + 0x6c]
add esp, 4
mov dword [ecx + 8], eax
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + 8]
test eax, eax
je 0x5758db
jmp case.0x571ccc.14
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebx + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0xc]
mov dword [edx + ecx*4], eax
jmp case.0x571ccc.14
mov esi, dword [ebx + 8]
mov edx, dword [ebp + 8]
mov edi, dword [esp + 0xc]
mov ecx, esi
mov eax, dword [edx + 0x30]
shl ecx, 6
sub edi, ecx
mov dword [esp + 0x28], eax
test esi, esi
jle 0x575287
mov ecx, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
push edi
mov dword [edx], edi
call fcn.00575c20
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add esp, 4
add edx, 4
add edi, 0x40
dec eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
jne 0x57525f
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x1a8], ecx
mov ecx, dword [edx + 0x6c]
shl eax, 6
mov edx, dword [ecx + 4]
lea edi, [edx + eax + 8]
lea eax, [edi + 0x20]
mov dword [esp + 0x1c8], eax
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x1f0], ecx
mov eax, dword [edi]
add eax, 1
mov dword [edi], eax
mov edx, dword [edi + 4]
mov eax, 0
adc edx, eax
mov dword [edi + 4], edx
mov edx, dword [edi]
mov byte [esp + 0x1f4], al
mov dword [esp + 0x1fc], eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x1f8], edx
mov cl, byte [eax + 3]
test cl, cl
je 0x5752fe
mov ecx, dword [ebx - 8]
mov dword [esp + 0x1fc], ecx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x1a8]
push edx
push esi
push ecx
call dword [eax + 0x14]
mov edx, dword [esp + 0x1fc]
inc esi
lea eax, [esp + 0x18]
push esi
push eax
mov dword [edi + 0x18], edx
mov word [edi + 0xc], 0x400
call fcn.00575d30
mov al, byte [esp + 0x208]
add esp, 0x14
test al, al
je case.0x571ccc.14
mov dword [esp + 0x10], 1
jmp case.0x571ccc.14
mov eax, dword [esp + 0xc]
test byte [eax + 0xc], 0x12
jne 0x57536f
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov cl, byte [edx + 0x10]
push ecx
push eax
call fcn.005710a0
add esp, 8
test eax, eax
jne 0x5758db
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [eax + 0x18]
mov esi, dword [eax + 8]
lea eax, [esp + 0xd8]
push eax
mov eax, esi
cdq
push edx
mov edx, dword [ecx + 0x6c]
push eax
push edi
mov eax, dword [edx + 0x10]
push eax
call fcn.0057d6b0
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x575956
mov eax, dword [esp + 0xd8]
test eax, eax
jne 0x5753d8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 4]
mov eax, dword [eax + 0x10]
push edx
push 4
push 0
push eax
call fcn.0057d3e0
mov ebx, dword [ebx + 8]
add esp, 0x10
dec ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
jmp 0x5753ed
mov ecx, dword [ebp + 8]
push esi
push edi
mov edx, dword [ecx + 0x6c]
push edx
call fcn.00575c60
add esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x575956
mov eax, dword [esp + 0xc]
test byte [eax + 0xc], 0x40
je 0x57540c
push eax
call fcn.00571110
add esp, 4
sub dword [esp + 0xc], 0x40
jmp case.0x571ccc.14
mov eax, dword [esi + 0x6c]
mov ebx, dword [ebx + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x5758db
mov ecx, dword [esp + 0xc]
shl ebx, 6
push ecx
lea edx, [ebx + eax + 8]
push edx
call fcn.005713d0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
add esp, 8
sub eax, 0x40
mov dword [esp + 0xc], eax
jmp case.0x571ccc.14
mov esi, dword [ebx + 8]
mov ebx, dword [ebx + 4]
mov ecx, dword [ebp + 8]
lea eax, [ebx*8]
mov edi, dword [ecx + 0x6c]
sub eax, ebx
shl eax, 2
sub edi, eax
mov eax, dword [edi + 4]
test eax, eax
mov dword [esp + 0x58], eax
jne 0x5754e3
mov eax, dword [0x6e35d4]
test eax, eax
jne 0x5758db
mov eax, dword [edi + 0x10]
lea edx, [esp + 0xd0]
push edx
push eax
call fcn.0057d4a0
add esp, 8
test eax, eax
jne 0x5759bf
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x5754c6
push 1
push 0x651e88
push edi
call fcn.00575c60
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x5754e3
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0x58]
push ecx
push 4
push 0
push edx
call fcn.0057d3e0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
add esp, 0x10
mov ecx, dword [esp + 0xc]
push 0x100
shl esi, 6
add ecx, 0x40
lea eax, [esi + eax + 8]
mov dword [esp + 0x10], ecx
push eax
push ecx
call fcn.00571350
mov ecx, dword [esp + 0x18]
add esp, 0xc
test byte [ecx + 0xc], 2
je case.0x571ccc.14
mov eax, dword [esp + 0x14]
xor edx, edx
mov dl, byte [eax + 0x10]
push edx
push ecx
call fcn.00570ec0
add esp, 8
jmp case.0x571ccc.14
mov edx, dword [esp + 0x14]
test byte [edx + 8], 4
jne 0x575910
mov eax, dword [esi + 0x6c]
mov cl, byte [eax + 0x18]
test cl, cl
jne 0x57556e
mov byte [eax + 0x18], 1
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x575564
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.0057d4a0
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x575591
mov dword [esp + 0x74], 0
jmp 0x575591
mov eax, dword [eax + 0x10]
test eax, eax
je 0x575589
lea edx, [esp + 0x74]
push edx
push eax
call fcn.0057d930
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x575591
mov dword [esp + 0x74], 1
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x575959
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5755b2
mov ebx, dword [ebx + 8]
dec ebx
mov dword [esp + 0x1c], ebx
jmp case.0x571ccc.14
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5755d9
add eax, 4
push eax
push 4
push 0
push ecx
call fcn.0057d3e0
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x575956
mov eax, dword [esi + 0x6c]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov ebx, dword [eax + 4]
mov edx, dword [eax]
add ebx, 8
test edx, edx
jle case.0x571ccc.14
add ebx, 0x20
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x57567b
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x57567b
mov word [esp + 0x214], 1
mov dword [esp + 0x220], ebx
mov ecx, dword [ebx - 8]
lea edi, [ebx - 0x20]
mov dword [esp + 0x248], ecx
lea ecx, [esp + 0x200]
mov edx, dword [edi]
push ecx
mov dword [esp + 0x254], edx
mov dword [esp + 0x204], eax
call dword [eax + 0x18]
mov edx, dword [esp + 0x24c]
add esp, 4
mov dword [ebx - 8], edx
mov eax, dword [esp + 0x248]
test eax, eax
je 0x575664
cmp eax, ebx
je 0x575664
push eax
call fcn.00570160
add esp, 4
mov ecx, 0x10
lea esi, [esp + 0x208]
rep movsd dword es:[edi], dword [esi]
test byte [ebx - 0x13], 2
je 0x57567b
mov dword [ebx - 8], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
inc ecx
add ebx, 0x40
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x18], ecx
cmp ecx, dword [eax]
jl 0x5755f5
jmp case.0x571ccc.14
mov edi, dword [esp + 0x14]
push edi
call fcn.00570ad0
add esp, 4
test eax, eax
jne 0x57594e
add esi, 0x240
push edi
push esi
call fcn.005862f0
push edi
mov dword [esp + 0x1c], eax
call fcn.00570a90
add esp, 0xc
test eax, eax
jne 0x57594e
jmp case.0x571ccc.14
mov eax, dword [ebx + 4]
test eax, eax
jne 0x5756e6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00577e10
add esp, 4
jmp case.0x571ccc.14
mov byte [esi + 0x248], 1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
inc ecx
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x571c54
mov dword [esi + 0x90], eax
mov edi, 1
jmp 0x5759ad
mov edx, dword [esp + 0xc]
mov dword [esi + 0x2c], edx
mov eax, dword [ebx + 4]
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], edi
mov ecx, dword [ebx + 8]
mov dword [esi + 0x98], ecx
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x57574d
push 0
lea edx, [esi + 0x240]
push ebx
push edx
call fcn.00570250
add esp, 0xc
push esi
call fcn.00576c70
add esp, 4
cmp eax, 5
jne 0x575768
mov dword [esi + 0x90], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x90]
neg eax
sbb eax, eax
and al, 0x9c
add eax, 0x65
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 4]
xor edi, edi
test eax, eax
jle 0x5757b9
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x58]
sub eax, esi
mov esi, eax
push esi
call fcn.00571010
push esi
call fcn.00575c20
mov ecx, dword [esp + 0x60]
mov eax, dword [ebx + 4]
add esp, 8
inc edi
add ecx, 0x40
cmp edi, eax
mov dword [esp + 0x58], ecx
jl 0x57578b
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x70]
mov byte [eax + 0x244], 1
inc ecx
inc edx
mov dword [eax + 0x70], ecx
mov ecx, dword [ebx + 4]
mov dword [eax + 0x23c], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x8c], edx
mov dword [eax + 0x2c], ecx
mov eax, 0x64
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], 0x14
jmp 0x575959
mov byte [edi + 0x11], al
mov eax, dword [ebx + 8]
test eax, eax
je 0x57581d
push edi
call fcn.0056efe0
add esp, 4
mov eax, 0x65
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00576c70
add esp, 4
cmp eax, 5
jne 0x575811
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x8c], eax
mov al, byte [esp + 0x5f]
mov cl, 1
mov dword [esi + 0x2c], edx
sub cl, al
mov eax, 5
mov byte [edi + 0x11], cl
mov dword [esi + 0x90], 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc]
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], 5
mov dword [esi + 0x2c], edx
mov eax, 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x90], 5
mov dword [eax + 0x8c], ecx
mov ecx, dword [ebx + 8]
xor edx, edx
test ecx, ecx
mov ecx, dword [esp + 0xc]
setle dl
inc edx
shl edx, 6
add edx, ecx
mov dword [eax + 0x2c], edx
mov eax, 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], 0xb
jmp 0x575956
mov dword [esp + 0x10], 0xb
jmp 0x575959
mov dword [esp + 0x10], 0xd
jmp 0x575959
mov esi, dword [ebp + 8]
push 0
push str.out_of_memory
lea eax, [esi + 0x240]
push eax
call fcn.00570250
mov dword [esp + 0x1c], 7
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edi, 1
mov dword [esi + 0x90], eax
jmp 0x5759ad
mov eax, dword [esp + 0x14]
push 0
mov edi, dword [eax + 8]
and edi, 0xfffffffb
mov dword [eax + 8], edi
mov eax, dword [eax + 0x30]
sub eax, 0xf03b7906
neg eax
sbb eax, eax
and eax, 0xc
add eax, 9
push eax
mov dword [esp + 0x18], eax
mov dword [esi + 0x90], eax
call fcn.0056f030
add esp, 4
lea ecx, [esi + 0x240]
push eax
push ecx
jmp 0x57598b
mov dword [esp + 0x10], 0x15
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x240]
lea edi, [esi + 0x240]
test eax, eax
jne 0x575993
mov eax, dword [0x6e35d4]
test eax, eax
je 0x57597a
mov dword [esp + 0x10], 7
mov edx, dword [esp + 0x10]
push 0
push edx
call fcn.0056f030
add esp, 4
push eax
push edi
call fcn.00570250
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5759a8
mov dword [esi + 0x90], eax
mov edi, 1
jmp 0x5759ad
mov edi, 0x65
push esi
call fcn.00576c70
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [esi + 0x2c], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret