Function at 0x100581db
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x258
mov eax, dword [0x1013d070]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edi
mov byte [esp + 0x6b], 0
mov dword [esp + 0x80], 0
mov esi, dword [edi]
mov eax, dword [edi + 0x58]
mov dword [esp + 0x54], eax
mov dword [esp + 0x10], eax
mov al, byte [esi + 0x46]
mov byte [esp + 0x5c], al
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x84], 0
mov dword [esp + 0x20], eax
call fcn.10050c10
cmp dword [edi + 0x28], 7
je 0x1005d0eb
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x68], 0
cmp dword [esi + 0x100], 0
mov dword [esi + 0x18c], 0
jne 0x1005df3c
cmp dword [esi + 0x138], 0
je 0x10057883
mov ecx, dword [esi + 0x140]
xor edx, edx
mov eax, dword [edi + 0xb0]
div ecx
sub ecx, edx
mov dword [esp + 0x8c], ecx
jmp 0x1005788e
mov dword [esp + 0x8c], 0xffffffff
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xe8], 0xff61
mov dword [esp + 0xec], 0x3e00
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [0x1013f790]
mov al, byte [ecx]
inc dword [esp + 0x84]
movzx edx, al
mov dword [esp + 0x10], ecx
mov byte [esp + 0x37], al
mov dword [esp + 0x38], edx
cmp edx, 0xa7
ja case.0x100578da.83
jmp dword [edx*4 + 0x1005e0d0]
mov edx, dword [esp + 0x10]
mov ecx, 4
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x20]
mov word [eax + esi*8 + 8], cx
mov ecx, edx
sub ecx, dword [esp + 0x54]
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x20]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ecx + esi*8], eax
mov dword [ecx + esi*8 + 4], edx
jmp 0x1005c80e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x54]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, 0x80
mov word [edx + ecx*8 + 8], ax
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
dec eax
cdq
mov dword [edi + ecx*8], eax
mov eax, edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*8 + 4], edx
mov edx, 4
mov word [eax + ecx*8 + 8], dx
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 8], 0
jne 0x1005d2e7
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x54]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8]
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [esi + eax*4]
mov dword [esp + 0x10], eax
mov eax, 0x80
mov word [edx + ecx*8 + 8], ax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov ecx, 4
mov edi, dword [esp + 0x20]
mov eax, dword [edx + 4]
sub edx, dword [esp + 0x54]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x20]
mov word [eax + esi*8 + 8], cx
mov ecx, dword [eax + esi*8]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [edi + esi*8], eax
mov eax, edi
mov dword [eax + esi*8 + 4], edx
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x54]
lea esi, [ecx + eax*4]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x10057a31
mov ecx, dword [esp + 0x10]
mov eax, 0x66666667
sub ecx, dword [esp + 0x54]
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [esp + 0x10]
cmp dword [edx + 4], 0
jne 0x1005da7f
mov ecx, dword [edi + 0xc4]
test ecx, ecx
je 0x1005da7f
mov eax, dword [ecx + 4]
mov esi, dword [esp + 0x14]
dec dword [edi + 0xcc]
mov dword [edi + 0xc4], eax
mov eax, dword [edi + 0x2c]
add dword [esi + 0x60], eax
mov dword [esi + 0x5c], eax
call fcn.100516e0
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 8], 4
jne 0x10057abd
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
mov eax, dword [eax + ecx*4 + 8]
dec eax
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], edx
lea ecx, [edx + eax*4]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea ecx, [eax + ecx*8]
mov eax, 0x2460
test word [ecx + 8], ax
je 0x10057b14
call fcn.10057780
mov ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, 4
mov word [ecx + 8], ax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea edx, [eax + ecx*8]
mov eax, 0x2460
test word [edx + 8], ax
je 0x10057b5c
mov ecx, edx
call fcn.10057780
mov edx, eax
jmp 0x10057b65
mov eax, 4
mov word [edx + 8], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
mov dword [edx + 4], eax
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea ecx, [eax + ecx*8]
mov eax, 0x2460
test word [ecx + 8], ax
je 0x10057ba6
call fcn.10057780
mov ecx, eax
jmp 0x10057baf
mov eax, 4
mov word [ecx + 8], ax
mov eax, 8
mov word [ecx + 8], ax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea esi, [eax + ecx*8]
mov eax, 0x2460
test word [esi + 8], ax
je 0x10057bf9
mov ecx, esi
call fcn.10057780
mov esi, eax
jmp 0x10057c02
mov eax, 4
mov word [esi + 8], ax
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x10]
mov ecx, edi
mov byte [eax], 0x45
call fcn.10032b60
cmp byte [esp + 0x5c], 1
mov edx, dword [esp + 0x10]
mov dword [edx + 4], eax
je 0x10057c85
push 0
push 1
push 0xffffffffffffffff
mov edx, edi
mov ecx, esi
call fcn.1004eaa0
movzx edx, byte [esp + 0x68]
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.1004deb0
test eax, eax
jne 0x1005d0e3
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
mov eax, dword [esp + 0x10]
cmp byte [eax + 1], 0xf9
jne 0x10057c71
mov edx, dword [eax + 0x10]
mov ecx, dword [esp + 0x14]
call fcn.1002f8f0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov byte [eax + 1], 0xf9
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
mov esi, dword [esp + 0x14]
mov eax, dword [edx + 4]
cmp eax, dword [esi + 0x64]
jg 0x1005dd0d
mov edi, dword [esp + 0x18]
mov eax, dword [edx + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea ecx, [eax + ecx*8]
mov eax, 0x2460
test word [ecx + 8], ax
je 0x10057cc3
call fcn.10057780
mov edx, dword [esp + 0x10]
mov ecx, eax
jmp 0x10057ccc
mov edx, dword [esp + 0x10]
jmp 0x10057c99
mov eax, 4
mov word [ecx + 8], ax
mov eax, 0xa02
mov word [ecx + 8], ax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 4]
mov dword [ecx + 0xc], eax
mov al, byte [esp + 0x5c]
mov byte [ecx + 0xa], al
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x10057a31
mov edi, dword [esp + 0x20]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 2]
cdq
cmp dword [edi + esi*8], eax
mov edi, dword [esp + 0x18]
jne 0x100579cd
mov eax, dword [esp + 0x20]
cmp dword [eax + esi*8 + 4], edx
mov esi, dword [esp + 0x14]
jne 0x10057a31
mov eax, 0xa10
mov word [ecx + 8], ax
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea esi, [eax + ecx*8]
mov eax, 0x2460
test word [esi + 8], ax
je 0x10057d61
mov ecx, esi
call fcn.10057780
mov esi, eax
jmp 0x10057d6a
mov eax, 4
mov word [esi + 8], ax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov eax, 1
cmp dword [edx + 4], 0
mov edx, 0x101
mov dword [esi + 0xc], 0
cmovne eax, edx
sub edi, ecx
movzx eax, ax
mov word [esi + 8], ax
add esi, 0xc
mov dword [esp + 0x28], eax
test edi, edi
jle 0x10057a29
nop dword [eax + eax]
lea esi, [esi + 0x28]
lea ecx, [esi - 0xc]
call fcn.1004e840
mov eax, dword [esp + 0x28]
dec edi
mov word [esi - 4], ax
mov dword [esi], 0
test edi, edi
jg 0x10057db0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov ax, word [edx + ecx*8 + 8]
and ax, word [esp + 0xe8]
or ax, 1
mov word [edx + ecx*8 + 8], ax
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea esi, [eax + ecx*8]
mov eax, 0x2460
test word [esi + 8], ax
je 0x10057e38
mov ecx, esi
call fcn.10057780
mov esi, eax
jmp 0x10057e41
mov eax, 4
mov word [esi + 8], ax
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
push 0
push dword [eax + 4]
mov edx, dword [eax + 0x10]
call fcn.1004eaa0
mov al, byte [esp + 0x68]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov byte [esi + 0xa], al
add ecx, 0x14
mov esi, dword [esp + 0x14]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x74]
lea edx, [edx - 5]
lea edx, [eax + edx*8]
movzx eax, word [edx + 8]
test al, 0x12
je 0x10057eae
mov esi, dword [edx + 0xc]
test eax, 0x4000
je 0x10057e97
add esi, dword [edx]
mov eax, dword [edx + 0x20]
xor ecx, ecx
cmp esi, dword [eax + 0x64]
mov esi, dword [esp + 0x14]
setg cl
test ecx, ecx
jne 0x1005dd11
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push 0x800
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.1004e9e0
mov ecx, dword [esp + 0x14]
add esp, 4
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x38], ecx
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
nop dword [eax]
mov eax, 0x2460
test word [esi + 8], ax
jne 0x10057f11
cmp dword [esi + 0x18], 0
je 0x10057f1c
mov ecx, esi
call fcn.1004e380
mov ecx, dword [esp + 0x38]
movups xmm0, xmmword [edi]
mov eax, 1
movups xmmword [esi], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [edi + 0x20]
movq qword [esi + 0x20], xmm0
mov word [edi + 8], ax
mov eax, 0x1000
mov dword [edi + 0x18], 0
test word [esi + 8], ax
je 0x10057f62
mov ecx, esi
call fcn.1004e090
test eax, eax
jne 0x1005d0e3
mov ecx, dword [esp + 0x38]
add edi, 0x28
add esi, 0x28
sub ecx, 1
mov dword [esp + 0x38], ecx
jne 0x10057f00
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push 0x1000
mov edx, edi
mov ecx, esi
call fcn.1004e9e0
mov eax, 0x1000
add esp, 4
test word [esi + 8], ax
je 0x10057fd1
mov ecx, esi
call fcn.1004e090
test eax, eax
jne 0x1005d0e3
mov ecx, dword [esp + 0x40]
mov eax, ecx
dec ecx
mov dword [esp + 0x40], ecx
test eax, eax
je 0x10057a29
add esi, 0x28
add edi, 0x28
jmp 0x10057fa6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push 0x1000
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.1004e9e0
mov ecx, dword [esp + 0x14]
add esp, 4
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 4]
push dword [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.1004e8a0
mov ecx, dword [esp + 0x18]
add esp, 8
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [edx + 8]
mov dword [esp + 0x38], ecx
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
mov eax, dword [edx + 0xc]
movzx edx, word [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov al, byte [edi + 8]
or al, dl
test al, 1
je 0x100580a4
mov ecx, esi
call fcn.1004e840
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
test edx, 0x4000
je 0x100580b9
call fcn.1004e0e0
test eax, eax
jne 0x1005d0e3
mov eax, 0x4000
test word [edi + 8], ax
je 0x100580d3
mov ecx, edi
call fcn.1004e0e0
test eax, eax
jne 0x1005d0e3
mov eax, dword [esp + 0x38]
test byte [eax + 8], 0x12
jne 0x100580f5
mov dl, byte [esp + 0x5c]
mov ecx, eax
push 0
call fcn.1004e150
add esp, 4
test eax, eax
jne 0x1005d0e3
test byte [edi + 8], 0x12
jne 0x10058113
mov dl, byte [esp + 0x5c]
mov ecx, edi
push 0
call fcn.1004e150
add esp, 4
test eax, eax
jne 0x1005d0e3
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 0xc]
add eax, dword [ecx + 0xc]
cdq
mov dword [esp + 0x24], eax
mov ecx, edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x64]
cdq
cmp ecx, edx
jg 0x1005dd09
mov edx, dword [esp + 0x24]
jl 0x10058142
cmp edx, eax
ja 0x1005dd09
xor eax, eax
mov ecx, esi
cmp esi, edi
sete al
add edx, 2
push eax
call fcn.1004ded0
add esp, 4
test eax, eax
jne 0x1005d0e3
mov ax, word [esi + 8]
mov ecx, 0x3e00
and ax, cx
or ax, 2
mov word [esi + 8], ax
cmp esi, edi
je 0x10058188
push dword [edi + 0xc]
push dword [edi + 0x10]
push dword [esi + 0x10]
call fcn.100e58b0
add esp, 0xc
mov eax, dword [esp + 0x38]
push dword [eax + 0xc]
push dword [eax + 0x10]
mov eax, dword [edi + 0xc]
add eax, dword [esi + 0x10]
push eax
call fcn.100e58b0
mov eax, dword [esi + 0x10]
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov byte [ecx + eax], 0
mov eax, dword [esi + 0x10]
mov byte [eax + ecx + 1], 0
mov eax, 0x200
or word [esi + 8], ax
mov al, byte [esp + 0x5c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0xa], al
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov eax, dword [esi + 4]
lea eax, [eax + eax*4]
movzx ecx, word [edi + eax*8 + 8]
lea edx, [edi + eax*8]
mov eax, ecx
mov dword [esp + 0x3c], edx
and eax, 0xc
je 0x10058202
mov dword [esp + 0x24], eax
jmp 0x1005821f
test cl, 0x12
je 0x10058217
mov ecx, edx
call fcn.10057730
movzx eax, ax
mov dword [esp + 0x24], eax
jmp 0x1005821f
mov dword [esp + 0x24], 0
mov eax, dword [esi + 8]
lea eax, [eax + eax*4]
movzx ecx, word [edi + eax*8 + 8]
lea edx, [edi + eax*8]
mov eax, ecx
mov dword [esp + 0x40], edx
and eax, 0xc
je 0x1005823e
mov dword [esp + 0x38], eax
jmp 0x1005825f
test cl, 0x12
je 0x10058257
mov ecx, edx
call fcn.10057730
mov edx, dword [esp + 0x40]
movzx eax, ax
mov dword [esp + 0x38], eax
jmp 0x1005825f
mov dword [esp + 0x38], 0
mov eax, dword [esi + 0xc]
mov esi, dword [esp + 0x3c]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [esp + 0x70], eax
mov ax, word [edx + 8]
or ax, word [esi + 8]
movzx ecx, ax
mov al, byte [esp + 0x38]
and al, byte [esp + 0x24]
test al, 4
je 0x100583ae
mov eax, esi
mov byte [esp + 0x37], 1
mov esi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x78], esi
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], edx
movzx eax, byte [eax]
add eax, 0xffffffa7
cmp eax, 3
ja case.default.0x100582b7
jmp dword [eax*4 + 0x1005e370]
push ecx
push edi
lea ecx, [esp + 0x80]
call fcn.10033e00
add esp, 8
test eax, eax
jne 0x100583be
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
jmp 0x1005837d
test edi, edi
jne 0x1005830d
cmp ecx, 0x80000000
jne 0x1005830d
test edx, edx
jg 0x100583be
jl 0x10058302
test esi, esi
jae 0x100583be
add esi, 0
adc edx, 0x80000000
jmp 0x10058375
neg edi
adc ecx, 0
neg ecx
jmp case.0x100582b7.89
push ecx
push edi
lea ecx, [esp + 0x80]
call fcn.10033ea0
jmp 0x100582cc
mov eax, edi
or eax, ecx
je 0x100584d5
mov eax, edi
and eax, ecx
cmp eax, 0xffffffff
jne 0x10058345
test esi, esi
jne 0x10058345
cmp edx, 0x80000000
je 0x100583be
push ecx
push edi
push edx
push esi
call fcn.10108250
jmp 0x10058373
mov eax, edi
or eax, ecx
je 0x100584d5
mov eax, edi
and eax, ecx
cmp eax, 0xffffffff
jne 0x1005836a
mov edi, 1
xor ecx, ecx
push ecx
push edi
push edx
push esi
call fcn.10108300
mov esi, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 0x70]
mov ax, word [ecx + 8]
mov dword [ecx + 4], edx
mov edx, 0x3e00
and ax, dx
mov dword [ecx], esi
or ax, 4
mov word [ecx + 8], ax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
test cl, 1
jne 0x100584d5
mov byte [esp + 0x37], 0
jmp 0x100583c2
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.1004e540
mov ecx, dword [esp + 0x40]
movsd qword [esp + 0x28], xmm0
call fcn.1004e540
mov eax, dword [esp + 0x10]
movaps xmm1, xmm0
movsd qword [esp + 0x48], xmm1
movzx eax, byte [eax]
add eax, 0xffffffa7
cmp eax, 3
ja case.default.0x100583f0
jmp dword [eax*4 + 0x1005e380]
addsd xmm1, qword [esp + 0x28]
jmp 0x10058479
subsd xmm1, qword [esp + 0x28]
jmp 0x10058479
mulsd xmm1, qword [esp + 0x28]
jmp 0x10058479
movsd xmm0, qword [esp + 0x28]
xorps xmm2, xmm2
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jnp 0x100584d5
divsd xmm1, xmm0
jmp 0x10058479
movsd xmm0, qword [esp + 0x28]
call fcn.101080cf
movsd xmm0, qword [esp + 0x48]
mov esi, eax
mov edi, edx
call fcn.101080cf
mov ecx, eax
mov dword [esp + 0x7c], edx
mov eax, esi
mov dword [esp + 0x78], ecx
or eax, edi
je 0x100584d5
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
jne 0x10058466
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push ecx
call fcn.10108300
mov ecx, eax
call fcn.10108220
movaps xmm1, xmm0
movaps xmm0, xmm1
call fcn.10032b20
test eax, eax
jne 0x100584d5
mov ecx, dword [esp + 0x70]
mov edx, 0x3e00
mov ax, word [ecx + 8]
and ax, dx
movsd qword [ecx], xmm1
or ax, 8
mov word [ecx + 8], ax
mov eax, dword [esp + 0x38]
or al, byte [esp + 0x24]
test al, 8
jne 0x10057a29
cmp byte [esp + 0x37], 0
jne 0x10057a29
call fcn.1004e570
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov ecx, dword [esp + 0x70]
call fcn.1004e840
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x10057a31
push 0
push 0
mov ecx, dword [esp + 0x28]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.1004e8a0
mov ecx, dword [esp + 0x18]
add esp, 8
add ecx, 0x14
jmp 0x100578b6
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 4]
lea eax, [eax + eax*4]
lea ecx, [edx + eax*8]
mov eax, dword [esi + 8]
mov dword [esp + 0x28], ecx
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
mov eax, dword [esi + 0xc]
mov esi, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov al, byte [edx + 8]
or al, byte [ecx + 8]
mov dword [esp + 0x48], esi
test al, 1
je 0x10058573
mov ecx, esi
call fcn.1004e840
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
jmp 0x100578b6
mov ecx, edx
call fcn.1004e4c0
mov ecx, dword [esp + 0x28]
mov edi, eax
mov esi, edx
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf4], esi
call fcn.1004e4c0
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov al, byte [eax]
mov byte [esp + 0x37], al
cmp al, 0x55
jne 0x100585b2
and edi, ecx
and esi, edx
jmp 0x1005864c
cmp al, 0x56
jne 0x100585bf
or edi, ecx
or esi, edx
jmp 0x1005864c
mov eax, ecx
or eax, edx
je 0x1005864c
test edx, edx
jg 0x100585f2
jl 0x100585d3
test ecx, ecx
jae 0x100585f2
mov al, 0xaf
sub al, byte [esp + 0x37]
cmp edx, 0xffffffff
jl 0x10058601
jg 0x100585e5
cmp ecx, 0xffffffc0
jbe 0x10058601
neg ecx
mov dword [esp + 0x40], ecx
adc edx, 0
neg edx
jmp 0x100585f6
mov al, byte [esp + 0x37]
test edx, edx
jl 0x10058629
jg 0x10058601
cmp ecx, 0x40
jb 0x10058629
test esi, esi
jg 0x10058616
jl 0x1005860b
test edi, edi
jae 0x10058616
cmp al, 0x57
je 0x10058616
or edi, 0xffffffff
or esi, edi
jmp 0x1005864c
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
jmp 0x1005864c
movq xmm1, qword [esp + 0xf0]
movd xmm0, ecx
cmp al, 0x57
jne 0x1005867d
psllq xmm1, xmm0
movq qword [esp + 0x28], xmm1
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
mov edx, 0x3e00
mov ax, word [ecx + 8]
and ax, dx
mov dword [ecx], edi
or ax, 4
mov dword [ecx + 4], esi
mov word [ecx + 8], ax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
psrlq xmm1, xmm0
movq qword [esp + 0x28], xmm1
test esi, esi
jg 0x10058644
jl 0x10058691
test edi, edi
jae 0x10058644
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, dword [esp + 0x40]
or edx, 0xffffffff
call fcn.10108740
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
or edi, eax
or esi, edx
jmp 0x1005864c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.1004e5d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 8]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
add ecx, 0x14
mov esi, dword [esp + 0x14]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x10058742
test al, 8
jne 0x10058717
test al, 2
je 0x1005871e
mov edx, 1
mov ecx, esi
call fcn.10057590
jmp 0x1005871e
mov ecx, esi
call fcn.1004e570
movzx eax, word [esi + 8]
test al, 4
jne 0x10058742
mov esi, dword [esp + 0x10]
cmp dword [esi + 8], 0
jne 0x1005c812
mov ecx, 0x14
mov esi, dword [esp + 0x14]
jmp 0x1005afc8
mov ecx, dword [esp + 0x10]
and eax, 0x3e00
or eax, 4
add ecx, 0x14
mov word [esi + 8], ax
mov esi, dword [esp + 0x14]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 4
lea ecx, [ecx + eax*8]
je 0x10057a31
call fcn.1004e640
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x100587b4
mov ecx, esi
call fcn.1004e0e0
mov dword [esp + 0x1c], eax
jmp 0x100587bc
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
mov ecx, esi
push dword [esp + 0x5c]
mov dl, byte [eax + 8]
call fcn.1004e770
mov ecx, dword [esp + 0x20]
add esp, 4
mov esi, dword [esp + 0x14]
test ecx, ecx
jne 0x1005afc8
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x40], esi
lea eax, [eax + eax*4]
movzx edx, word [ecx + eax*8 + 8]
lea edi, [ecx + eax*8]
movzx eax, word [esi + 8]
mov ecx, edx
or ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
test cl, 1
je 0x100588c6
movzx eax, word [eax + 2]
test al, al
jns 0x10058863
mov al, dl
and al, byte [esp + 0x24]
test al, 1
je 0x10058934
test edx, 0x100
jne 0x10058934
mov eax, dword [esp + 0x10]
xor ecx, ecx
movzx eax, byte [eax]
mov al, byte [eax + 0x1012cac0]
jmp 0x10058946
test al, 0x20
je 0x100588aa
mov eax, dword [esp + 0x10]
mov esi, 0x3e00
mov edx, dword [esp + 0x20]
mov dword [esp + 0x80], 1
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov ax, word [edx + ecx*8 + 8]
and ax, si
or ax, 1
mov word [edx + ecx*8 + 8], ax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov edi, dword [esp + 0x18]
test al, 0x10
jne 0x1005c80e
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
jmp 0x100578b6
mov al, byte [eax + 2]
and al, 0x47
cmp al, 0x43
jb 0x100589f4
test cl, 2
je 0x10058906
mov al, byte [esp + 0x24]
and al, 0xe
cmp al, 2
jne 0x100588f3
xor edx, edx
mov ecx, esi
call fcn.10057590
movzx eax, word [edi + 8]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x3c]
and al, 0xe
cmp al, 2
jne 0x10058906
xor edx, edx
mov ecx, edi
call fcn.10057590
mov al, byte [esi + 8]
and al, byte [edi + 8]
test al, 4
je 0x10058a5c
mov edx, dword [esp + 0x40]
mov esi, dword [edi + 4]
mov ecx, dword [edi]
mov eax, dword [edx]
mov edx, dword [edx + 4]
cmp esi, edx
jl 0x100589df
jg 0x10058934
cmp ecx, eax
jbe 0x100589cd
mov ecx, 1
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
mov al, byte [eax + 0x1012bdd4]
mov edx, dword [esp + 0x40]
movzx esi, al
movzx eax, word [esp + 0x24]
mov word [edx + 8], ax
movzx eax, word [esp + 0x3c]
mov word [edi + 8], ax
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 2]
test al, 0x20
je 0x10058a9f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea edx, [eax + eax*4]
movzx eax, word [ecx + 2]
test al, 8
je 0x10058998
xor eax, eax
cmp byte [ecx], 0x35
sete al
cmp eax, esi
je 0x100589bd
mov edi, dword [esp + 0x20]
mov ax, word [edi + edx*8 + 8]
and ax, word [esp + 0xec]
or ax, 4
mov dword [edi + edx*8], esi
mov word [edi + edx*8 + 8], ax
mov dword [edi + edx*8 + 4], 0
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
cmp esi, edx
jg 0x1005884f
jl 0x100589df
cmp ecx, eax
jae 0x1005884f
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
movzx eax, byte [eax]
mov al, byte [eax + 0x1012f558]
jmp 0x10058946
cmp al, 0x42
jne 0x10058a5c
mov al, byte [esp + 0x24]
test al, 2
jne 0x10058a2a
test al, 0xc
je 0x10058a2a
mov dl, byte [esp + 0x5c]
mov ecx, esi
push 1
call fcn.1004e150
mov ax, word [esi + 8]
mov ecx, 0x3e00
xor ax, word [esp + 0x28]
add esp, 4
and ax, cx
xor word [esp + 0x24], ax
mov al, byte [esp + 0x3c]
test al, 2
jne 0x10058a5c
test al, 0xc
je 0x10058a5c
mov dl, byte [esp + 0x5c]
mov ecx, edi
push 1
call fcn.1004e150
mov ax, word [edi + 8]
mov ecx, 0x3e00
xor ax, word [esp + 0x40]
add esp, 4
and ax, cx
xor word [esp + 0x3c], ax
mov eax, dword [esp + 0x10]
mov edx, esi
mov ecx, edi
push dword [eax + 0x10]
call fcn.10053520
add esp, 4
mov ecx, eax
test ecx, ecx
jns 0x10058a87
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
mov al, byte [eax + 0x1012f558]
jmp 0x10058946
jne 0x10058939
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
mov al, byte [eax + 0x1012cac0]
jmp 0x10058946
test esi, esi
jne 0x1005d2e7
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
cmp dword [esp + 0x80], 0
jne 0x1005c80e
add ecx, 0x14
jmp 0x100578b6
mov esi, dword [esp + 0x10]
test byte [esi + 2], 1
jne 0x10058adf
xor eax, eax
jmp 0x10058ae5
mov eax, dword [esi - 4]
add eax, 4
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov edi, dword [esp + 0x10]
mov esi, dword [esi + 4]
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x28], esi
xor esi, esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], edx
test ecx, ecx
jle 0x10057a29
lea edi, [edx + 0x14]
test eax, eax
je 0x10058b1f
mov ecx, dword [eax + esi*4]
jmp 0x10058b21
mov ecx, esi
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x20]
push dword [edi]
movzx eax, byte [esi + eax]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
mov eax, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.10053520
add esp, 4
mov dword [esp + 0x80], eax
test eax, eax
jne 0x10058b87
mov eax, dword [esp + 0x40]
inc esi
mov edx, dword [esp + 0x24]
add edi, 4
cmp esi, dword [esp + 0x38]
jl 0x10058b16
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
cmp dword [esp + 0x3c], 0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
je case.0x100578da.83
neg eax
add ecx, 0x14
mov dword [esp + 0x80], eax
jmp 0x100578b6
mov eax, dword [esp + 0x80]
test eax, eax
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
jns 0x10058bd6
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x100578b6
jne 0x10058bec
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
movzx eax, word [ecx + 8]
test al, 4
je 0x10058c51
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x10058c80
xor esi, esi
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
movzx eax, word [ecx + 8]
test al, 4
je 0x10058c87
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x10058cb6
xor eax, eax
cmp byte [edx], 0x2c
lea eax, [eax + esi*2]
jne 0x10058cbd
mov al, byte [esi + eax + 0x1012d1d8]
jmp 0x10058cc4
test al, 1
je 0x10058c5c
mov esi, 2
jmp 0x10058c22
test al, 8
je 0x10058c66
movsd xmm0, qword [ecx]
jmp 0x10058c73
test al, 0x12
je 0x10058c20
call fcn.1004e500
mov edx, dword [esp + 0x10]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10058c20
mov esi, 1
jmp 0x10058c22
test al, 1
je 0x10058c92
mov eax, 2
jmp 0x10058c40
test al, 8
je 0x10058c9c
movsd xmm0, qword [ecx]
jmp 0x10058ca9
test al, 0x12
je 0x10058c3e
call fcn.1004e500
mov edx, dword [esp + 0x10]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10058c3e
mov eax, 1
jmp 0x10058c40
mov al, byte [esi + eax + 0x1012ce68]
movzx edx, al
mov esi, 0x3e00
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
lea ecx, [eax + eax*4]
cmp edx, 2
jne 0x10058d00
mov edx, dword [esp + 0x20]
mov ax, word [edx + ecx*8 + 8]
and ax, si
mov esi, dword [esp + 0x14]
or ax, 1
mov word [edx + ecx*8 + 8], ax
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x20]
mov dword [eax + ecx*8], edx
mov edx, eax
mov ax, word [edx + ecx*8 + 8]
and ax, si
mov dword [edx + ecx*8 + 4], 0
mov esi, dword [esp + 0x14]
or ax, 4
mov word [edx + ecx*8 + 8], ax
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
movzx eax, word [edx + 8]
test al, 4
je 0x10058d6f
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x10058d95
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
xor eax, ecx
cdq
push edx
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
jmp 0x10058505
test al, 1
jne 0x10058d57
test al, 8
je 0x10058d7d
movsd xmm0, qword [edx]
jmp 0x10058d88
test al, 0x12
je 0x10058d55
mov ecx, edx
call fcn.1004e500
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10058d55
mov ecx, 1
jmp 0x10058d57
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
movzx eax, word [ecx + 8]
test al, 1
jne 0x1005855c
test al, 4
je 0x10058def
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x10058e0f
xor eax, eax
xor eax, 1
mov ecx, esi
cdq
push edx
push eax
call fcn.1004e8a0
mov ecx, dword [esp + 0x18]
add esp, 8
mov esi, dword [esp + 0x14]
add ecx, 0x14
jmp 0x100578b6
test al, 8
je 0x10058df9
movsd xmm0, qword [ecx]
jmp 0x10058e02
test al, 0x12
je 0x10058dcd
call fcn.1004e500
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10058dcd
mov eax, 1
jmp 0x10058dcf
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.1004e840
test byte [edi + 8], 1
jne 0x10057a29
mov eax, 4
mov ecx, edi
mov word [esi + 8], ax
call fcn.1004e4c0
not eax
not edx
mov dword [esi], eax
mov dword [esi + 4], edx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov edi, dword [edi + 0xc4]
test edi, edi
je 0x10058ed5
mov edx, dword [esp + 0x18]
mov eax, 0x66666667
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 0x18]
sub ecx, dword [edx + 0x58]
imul ecx
mov eax, 1
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, ecx
and ecx, 7
shr esi, 3
shl eax, cl
movzx edx, byte [esi + edi]
test edx, eax
jne 0x1005c80a
bts edx, ecx
mov ecx, dword [esp + 0x10]
mov byte [esi + edi], dl
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x58]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
add ecx, 0x14
jmp 0x100578b6
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x58]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 4]
je 0x1005c80e
mov eax, dword [edi + 0x58]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
movzx eax, word [ecx + 8]
test al, 4
je 0x10058f29
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x1005c80e
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
test al, 1
jne 0x10058f61
test al, 8
je 0x10058f37
movsd xmm0, qword [ecx]
jmp 0x10058f44
test al, 0x12
je 0x10057a31
call fcn.1004e500
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005c80e
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xc], 0
jne 0x1005c80e
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x20]
cmp dword [eax + 0xc], edx
mov eax, dword [eax + 4]
sete dl
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
movzx eax, word [ecx + 8]
test al, 4
je 0x10058fa8
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x10057a31
jmp 0x1005c80e
test al, 1
jne 0x10058fd9
test al, 8
je 0x10058fb6
movsd xmm0, qword [ecx]
jmp 0x10058fc3
test al, 0x12
je 0x1005c80e
call fcn.1004e500
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x10057a31
jmp 0x1005c80e
test edx, edx
je 0x1005c80e
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
jne 0x1005c80e
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x1005c80e
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 2], 0
je 0x10057a31
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.1004e840
jmp 0x1005c80e
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x70]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x70], edx
mov edi, dword [eax + ecx*4]
mov dword [esp + 0x64], edi
cmp byte [edi + 3], 0
je 0x1005910f
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10059106
mov eax, dword [eax + edx*4 + 4]
test eax, eax
jle 0x10059106
mov edi, dword [edi + 0x24]
dec eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov esi, dword [edi + 0x48]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], esi
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x60], ecx
cmp eax, dword [edx + 0x20]
je 0x100591d9
cmp byte [edi + 2], 0
je 0x1005912e
cmp byte [edi], 3
jne 0x1005808b
mov eax, dword [edi + 0x20]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8 + 0xc]
mov dword [edi + 0x54], eax
mov dword [edi + 0x50], eax
mov eax, dword [edx + ecx*8 + 0x10]
mov dword [edi + 0x4c], eax
jmp 0x10059175
mov ecx, edi
call fcn.10052b20
jmp 0x1005911e
mov eax, dword [edi + 0x28]
cmp byte [eax], 0
je 0x100590a6
mov ecx, edi
call fcn.10052b90
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc4
jmp 0x100590ae
mov esi, dword [edi + 0x28]
mov ecx, esi
call fcn.10046560
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x74]
movzx ecx, word [esi + 0x30]
mov eax, dword [eax + 0x3c]
sub eax, dword [esi + 0x28]
cmp ecx, eax
jle 0x10059158
xor edx, edx
mov ecx, eax
test eax, eax
cmovs ecx, edx
mov dword [edi + 0x54], ecx
mov eax, dword [esi + 0x28]
mov esi, dword [esp + 0x14]
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x50]
cmp eax, dword [esi + 0x64]
ja 0x1005dd0d
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x4c]
mov eax, dword [eax + 0x20]
mov dword [edi + 0x1c], eax
mov al, byte [ecx]
cmp al, 0x80
jae 0x10059194
movzx eax, al
mov dword [esi], eax
mov eax, 1
jmp 0x1005919e
mov edx, esi
call fcn.10033c80
movzx eax, al
movzx eax, al
mov dword [edi + 0x30], eax
xor eax, eax
mov word [edi + 0x3a], ax
mov eax, dword [edi + 0x54]
cmp eax, dword [esi]
jae 0x10059277
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 0
mov eax, dword [esi]
cmp eax, 0x18003
ja 0x1005943f
cmp eax, dword [edi + 0x50]
ja 0x1005943f
movzx eax, word [edi + 0x3a]
mov ecx, dword [esp + 0x70]
cmp eax, ecx
jg 0x10059481
mov eax, dword [edi + 0x30]
cmp eax, dword [esi]
jae 0x1005946f
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x100592b2
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
movaps xmmword [esp + 0x180], xmm0
movaps xmmword [esp + 0x190], xmm0
movq qword [esp + 0x1a0], xmm0
mov edx, dword [esi]
mov esi, dword [edi + 0x28]
mov eax, dword [esi + 0x28]
movzx ecx, word [esi + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x74]
mov eax, dword [eax + 0x3c]
sub eax, dword [esp + 0x24]
cmp ecx, eax
jle 0x10059252
test eax, eax
mov dword [esp + 0x28], 0
mov ecx, eax
cmovs ecx, dword [esp + 0x28]
cmp edx, ecx
ja 0x10059280
mov eax, dword [esp + 0x24]
mov dword [esp + 0x190], eax
mov eax, 0x1010
mov word [esp + 0x188], ax
mov dword [esp + 0x18c], edx
jmp 0x100592ae
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x24], eax
jmp 0x100592b2
lea eax, [esp + 0x180]
mov ecx, esi
push eax
push edx
xor edx, edx
call fcn.1004ecc0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc0
mov eax, dword [esp + 0x190]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x58]
movzx eax, word [edi + 0x3a]
xor edx, edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x58]
mov edi, dword [esi + eax*4]
mov esi, dword [ecx + 0x30]
add esi, dword [esp + 0x24]
mov edx, dword [edx]
add edx, dword [esp + 0x24]
mov dword [esp + 0x48], eax
add eax, 0x16
mov dword [esp + 0x40], edx
lea eax, [ecx + eax*4]
mov dword [esp + 0x28], eax
nop word [eax + eax]
movzx ecx, byte [esi]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x90], ecx
cmp ecx, 0x80
jae 0x1005931e
movzx eax, cl
movzx eax, byte [eax + 0x1012d2b0]
cdq
add edi, eax
adc dword [esp + 0x38], edx
mov edx, 1
jmp 0x10059346
lea edx, [esp + 0x90]
mov ecx, esi
call fcn.10033c80
mov ecx, dword [esp + 0x90]
movzx edx, al
mov dword [esp + 0x3c], ecx
call fcn.10052d30
add edi, eax
adc dword [esp + 0x38], 0
mov eax, dword [esp + 0x48]
add esi, edx
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x48], eax
mov dword [edx], ecx
add edx, 4
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x58]
mov dword [edx + eax*4], edi
mov edx, dword [esp + 0x40]
cmp eax, dword [esp + 0x70]
jg 0x10059379
cmp esi, edx
jb 0x100592f0
jmp 0x1005937d
cmp esi, edx
jb 0x10059392
cmp esi, edx
mov edx, dword [esp + 0x64]
ja 0x100593b1
cmp edi, dword [edx + 0x50]
jne 0x100593b1
mov edx, dword [esp + 0x38]
test edx, edx
jne 0x100593ad
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x38]
test edx, edx
jb 0x100593c0
ja 0x100593ad
cmp edi, dword [esp + 0x28]
jbe 0x100593c0
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
cmp dword [eax], 0
jne 0x1005942d
mov esi, dword [esp + 0x40]
xor eax, eax
mov edi, dword [esp + 0x64]
sub esi, dword [esp + 0x24]
cmp dword [edi + 0x4c], 0
mov word [edi + 0x3a], ax
mov dword [edi + 0x30], esi
jne 0x100593e5
lea ecx, [esp + 0x180]
call fcn.1004e410
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
movzx eax, word [edi + 0x3a]
cmp eax, dword [esp + 0x70]
jg 0x10059490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
cmp byte [eax + 1], 0xf5
jne 0x1005808b
mov edx, dword [eax + 0x10]
push 0x800
call fcn.1004e9e0
add esp, 4
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
cmp dword [edx + 0x4c], 0
jne 0x1005943f
lea ecx, [esp + 0x180]
call fcn.1004e410
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x1005db27
lea eax, [eax + eax*4]
lea esi, [edx - 0x14]
lea esi, [esi + eax*4]
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x90], ecx
jmp 0x100593e9
mov ecx, dword [edi + ecx*4 + 0x58]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x60]
mov eax, 0x2460
test word [edx + 8], ax
je 0x100594aa
mov ecx, edx
call fcn.1004e840
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
mov eax, dword [edi + 0x54]
cmp eax, dword [esi + edx*4 + 4]
mov edx, dword [esp + 0x60]
jb 0x10059578
mov eax, dword [esp + 0x70]
mov edi, dword [edi + 0x4c]
add edi, dword [esi + eax*4]
cmp ecx, 0xc
jae 0x100594ef
push edx
mov edx, ecx
mov ecx, edi
call fcn.10052e50
add esp, 4
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov al, byte [esp + 0x5c]
lea esi, [ecx - 0xc]
mov ecx, dword [esp + 0x60]
shr esi, 1
mov dword [ecx + 0xc], esi
lea edx, [esi + 2]
mov byte [ecx + 0xa], al
cmp dword [ecx + 0x18], edx
jge 0x1005952b
mov eax, 1
push 0
mov word [ecx + 8], ax
call fcn.1004ded0
add esp, 4
test eax, eax
jne 0x1005d0e3
mov ecx, dword [esp + 0x60]
jmp 0x10059531
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
push esi
push edi
push dword [ecx + 0x10]
call fcn.100e58b0
mov ecx, dword [esp + 0x6c]
add esp, 0xc
mov eax, dword [ecx + 0x10]
mov byte [esi + eax], 0
mov eax, dword [ecx + 0x10]
mov byte [eax + esi + 1], 0
mov eax, dword [esp + 0x3c]
and eax, 1
mov ax, word [eax*2 + 0x1012d878]
mov word [ecx + 8], ax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov al, byte [esp + 0x5c]
mov byte [edx + 0xa], al
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x10059599
cmp ecx, 0xc
jb 0x10059595
test cl, 1
je 0x100595a4
test al, al
js 0x100595a4
call fcn.10052d30
mov esi, eax
test esi, esi
jne 0x100595c8
push edx
mov edx, ecx
mov ecx, 0x10142c14
call fcn.10052e50
add esp, 4
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov edi, dword [edi + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x1c], 0
mov eax, dword [edi + 0x28]
movzx edx, word [edi + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 0x3c]
sub eax, dword [esp + 0x28]
cmp edx, eax
jle 0x10059601
test eax, eax
mov dword [esp + 0x48], 0
mov edx, eax
cmovs edx, dword [esp + 0x48]
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + edi*4]
mov edi, dword [esp + 0x40]
add eax, esi
cmp eax, edx
ja 0x10059638
mov edi, ecx
mov ecx, dword [esp + 0x70]
mov eax, dword [edi + ecx*4]
mov edi, dword [esp + 0x60]
add eax, dword [esp + 0x28]
mov dword [edi + 0x10], eax
mov eax, 0x1010
mov word [edi + 8], ax
mov dword [edi + 0xc], esi
jmp 0x10059664
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
push dword [esp + 0x60]
push esi
mov edx, dword [ecx + edx*4]
mov ecx, edi
call fcn.1004ecc0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc0
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
mov edx, ecx
mov ecx, dword [edi + 0x10]
push edi
call fcn.10052e50
mov eax, 0xefff
add esp, 4
and word [edi + 8], ax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov al, byte [esi]
nop dword [eax]
push dword [esp + 0x5c]
mov dl, al
mov ecx, edi
call fcn.10057630
mov al, byte [esi + 1]
lea esi, [esi + 1]
add esp, 4
add edi, 0x28
test al, al
jne 0x100596b0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov edx, dword [esp + 0x10]
xor eax, eax
mov ecx, dword [esp + 0x20]
xorps xmm0, xmm0
mov dword [esp + 0x58], eax
movlpd qword [esp + 0x40], xmm0
mov eax, dword [edx + 4]
mov esi, dword [edx + 0x10]
movlpd qword [esp + 0x70], xmm0
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [edx + 8]
movzx edx, byte [edi + 0x8f]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], edx
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [ecx + eax*8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [esp + 0x60], eax
test esi, esi
je 0x10059767
mov al, byte [esi]
mov edi, ecx
push dword [esp + 0x5c]
mov dl, al
mov ecx, edi
call fcn.10057630
mov al, byte [esi + 1]
lea esi, [esi + 1]
add esp, 4
add edi, 0x28
test al, al
jne 0x10059746
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x70], eax
nop dword [eax + eax]
lea eax, [esp + 0xa0]
mov ecx, edi
push eax
call fcn.10052bd0
mov esi, eax
add esp, 4
mov eax, 0x4000
mov dword [esp + 0x40], esi
test word [edi + 8], ax
je 0x100597f1
test esi, esi
jne 0x100597c2
mov esi, 0xa
mov dword [esp + 0x40], esi
jmp 0x100597f1
mov eax, dword [esp + 0x24]
or eax, dword [esp + 0x38]
je 0x100597dd
mov ecx, edi
call fcn.1004e0e0
test eax, eax
jne 0x1005d0e3
jmp 0x100597f1
mov ecx, dword [edi]
mov eax, ecx
cdq
add dword [esp + 0x70], eax
adc dword [esp + 0x64], edx
sub dword [esp + 0xa0], ecx
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0xa0]
mov dword [esp + 0x24], eax
adc dword [esp + 0x38], 0
cmp esi, 0x7f
mov esi, 1
jbe 0x1005982e
mov edx, dword [esp + 0x40]
xor ecx, ecx
shr edx, 7
mov eax, edx
or eax, ecx
je 0x1005982e
nop
shrd edx, ecx, 7
inc esi
shr ecx, 7
mov eax, edx
or eax, ecx
jne 0x10059820
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
add ecx, esi
mov dword [esp + 0x58], ecx
mov dword [edi + 0x1c], eax
cmp edi, dword [esp + 0x3c]
je 0x10059851
mov edx, dword [esp + 0x28]
sub edi, 0x28
jmp 0x10059790
cmp ecx, 0x7e
jle 0x100598ba
mov eax, ecx
mov edi, 1
cdq
mov esi, eax
mov dword [esp + 0x28], edi
shrd esi, edx, 7
shr edx, 7
mov ecx, esi
or ecx, edx
je 0x10059883
shrd esi, edx, 7
inc edi
shr edx, 7
mov eax, esi
or eax, edx
jne 0x10059871
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x58]
add eax, edi
mov edi, 1
mov dword [esp + 0x58], eax
cdq
mov esi, eax
shrd esi, edx, 7
shr edx, 7
mov ecx, esi
or ecx, edx
je 0x100598b0
shrd esi, edx, 7
inc edi
shr edx, 7
mov eax, esi
or eax, edx
jne 0x100598a2
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x28], edi
jge 0x100598bf
inc ecx
mov dword [esp + 0x58], ecx
mov eax, ecx
mov ecx, dword [esp + 0x24]
cdq
mov edi, eax
mov esi, edx
mov eax, dword [esp + 0x38]
add ecx, edi
mov dword [esp + 0x24], ecx
adc eax, esi
add ecx, dword [esp + 0x70]
adc eax, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x64]
cdq
cmp dword [esp + 0x38], edx
jg 0x1005dd09
jl 0x100598fe
cmp ecx, eax
ja 0x1005dd09
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
call fcn.1004e030
test eax, eax
jne 0x1005d0e3
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], ecx
cmp eax, 0x80
jae 0x10059932
mov byte [ecx], al
mov eax, 1
jmp 0x10059940
push esi
push edi
call fcn.10033aa0
mov ecx, dword [esp + 0x48]
add esp, 8
mov esi, dword [esp + 0x3c]
movzx edi, al
nop word [eax + eax]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x28], edx
cmp edx, 0x80
jae 0x10059969
mov byte [edi + ecx], dl
mov eax, 1
jmp 0x1005997e
push 0
push edx
add ecx, edi
call fcn.10033aa0
mov edx, dword [esp + 0x30]
add esp, 8
mov ecx, dword [esp + 0x40]
movzx eax, al
add edi, eax
lea eax, [edx - 1]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x58]
add edi, ecx
cmp eax, 6
ja 0x100599b4
movzx edx, byte [edx + 0x1012d2b0]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov esi, edx
dec edx
mov byte [edx + edi], cl
shrd ecx, eax, 8
shr eax, 8
test edx, edx
jne 0x100599a3
jmp 0x100599d5
cmp edx, 0xc
jb 0x100599d3
mov esi, dword [esi + 0xc]
test esi, esi
je 0x100599d5
mov eax, dword [esp + 0x3c]
push esi
push dword [eax + 0x10]
push edi
call fcn.100e58b0
add esp, 0xc
jmp 0x100599d5
xor esi, esi
add dword [esp + 0x58], esi
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
add esi, 0x28
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], esi
cmp esi, dword [esp + 0x48]
jbe 0x10059950
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [edx + 0xc], eax
mov eax, 0x10
mov word [edx + 8], ax
mov eax, ecx
or eax, dword [esp + 0x64]
je 0x10057a31
mov dword [edx], ecx
mov eax, 0x4010
mov ecx, dword [esp + 0x10]
mov word [edx + 8], ax
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xf8]
xorps xmm0, xmm0
movlpd qword [esp + 0xf8], xmm0
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x28]
call fcn.1004bbb0
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc8
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea ecx, [eax + ecx*8]
mov eax, 0x2460
test word [ecx + 8], ax
je 0x10059ab0
call fcn.10057780
mov ecx, eax
mov eax, dword [esp + 0xf8]
mov dword [ecx], eax
mov eax, dword [esp + 0xfc]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, 4
mov word [ecx + 8], ax
mov eax, dword [esp + 0xf8]
mov dword [ecx], eax
mov eax, dword [esp + 0xfc]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
test eax, eax
mov esi, dword [edx + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
jne 0x10059bc4
cmp dword [eax + 0xac], 0
jg 0x1005db38
mov ecx, esi
call fcn.10032b60
mov edi, eax
xor edx, edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edi
mov ecx, dword [eax + 0x1c0]
add ecx, dword [eax + 0x1bc]
push ecx
mov ecx, eax
call fcn.10099650
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc0
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0x21]
push eax
call fcn.1002fbc0
mov edi, eax
add esp, 8
test edi, edi
je 0x10057a29
mov ecx, dword [esp + 0x28]
lea edx, [edi + 0x20]
inc ecx
mov dword [edi], edx
push ecx
push esi
push edx
call fcn.100e58b0
mov esi, dword [esp + 0x20]
add esp, 0xc
cmp byte [esi + 0x47], 0
je 0x10059b7b
mov byte [esi + 0x47], 0
mov byte [esi + 0x4f], 1
jmp 0x10059b81
inc dword [esi + 0x1bc]
mov eax, dword [esi + 0x1b4]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
add ecx, 0x14
mov eax, dword [esi + 0x1c8]
mov dword [esi + 0x1b4], edi
mov dword [edi + 8], eax
mov eax, dword [esi + 0x1cc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x1d0]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x1d4]
mov dword [edi + 0x14], eax
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov edi, dword [eax + 0x1b4]
xor ecx, ecx
mov dword [esp + 0x24], ecx
test edi, edi
je 0x10059bec
mov ecx, dword [edi]
mov edx, esi
call fcn.10032ee0
test eax, eax
je 0x10059c0d
inc dword [esp + 0x24]
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x10059bd4
mov edi, dword [esp + 0x18]
push esi
push str.no_such_savepoint:__s
push edi
call fcn.1004f520
mov esi, dword [esp + 0x20]
add esp, 0xc
mov ecx, 1
jmp 0x1005afc8
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
cmp dword [esi + 0xac], 0
jle 0x10059c27
cmp edx, 1
je 0x1005db54
cmp dword [edi + 0x18], 0
jne 0x10059c7f
cmp byte [esi + 0x4f], 0
je 0x10059c7f
mov dword [esp + 0x40], 1
cmp edx, 1
jne 0x10059c87
mov ecx, dword [esp + 0x18]
call fcn.100522b0
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1005e095
mov ecx, dword [esp + 0x18]
mov byte [esi + 0x47], 1
call fcn.10052310
cmp eax, 5
je 0x1005db70
mov eax, dword [esp + 0x18]
mov byte [esi + 0x4f], 0
mov eax, dword [eax + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x10059d7e
mov dword [esp + 0x40], 0
mov eax, dword [esi + 0x1bc]
sub eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
cmp edx, 2
jne 0x10059d0e
mov ecx, dword [esi + 0x18]
and ecx, 1
mov dword [esp + 0x28], 0
cmp dword [esi + 0x14], 0
mov dword [esp + 0x48], ecx
jle 0x10059d16
mov eax, ecx
xor eax, 1
xor esi, esi
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [esp + 0x18]
mov edx, 0x204
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + esi + 4]
call fcn.10046120
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc0
mov eax, dword [esp + 0x28]
add esi, 0x10
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [ecx + 0x14]
mov eax, dword [esp + 0x3c]
jl 0x10059cc2
mov eax, dword [esp + 0x24]
mov esi, ecx
mov edx, dword [esp + 0x38]
jmp 0x10059d16
mov dword [esp + 0x48], 0
cmp dword [esi + 0x14], 0
mov dword [esp + 0x28], 0
jle 0x10059d67
xor esi, esi
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + esi + 4]
call fcn.10046320
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc0
mov eax, dword [esp + 0x28]
add esi, 0x10
mov ecx, dword [esp + 0x14]
inc eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
cmp eax, dword [ecx + 0x14]
mov eax, dword [esp + 0x24]
jl 0x10059d26
mov esi, ecx
cmp dword [esp + 0x48], 0
je 0x10059d7e
mov ecx, esi
call fcn.100544c0
call fcn.10070ae0
or dword [esi + 0x18], 1
cmp dword [esi + 0x1b4], edi
je 0x10059dea
nop word [eax + eax]
cmp dword [esi + 0x1d8], 0
mov ecx, dword [esi + 0x1b4]
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x1b4], eax
je 0x10059db3
mov edx, ecx
mov ecx, esi
call fcn.1002f870
jmp 0x10059ddc
cmp ecx, dword [esi + 0x128]
jb 0x10059dd3
cmp ecx, dword [esi + 0x12c]
jae 0x10059dd3
mov eax, dword [esi + 0x124]
mov dword [ecx], eax
mov dword [esi + 0x124], ecx
jmp 0x10059ddc
push ecx
call fcn.1002f800
add esp, 4
dec dword [esi + 0x1bc]
cmp dword [esi + 0x1b4], edi
jne 0x10059d90
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
cmp esi, 1
jne 0x10059e49
mov eax, dword [edi + 0x18]
mov edx, edi
mov dword [ecx + 0x1b4], eax
mov edi, ecx
call fcn.1002f8f0
cmp dword [esp + 0x40], 0
jne 0x10059e79
dec dword [edi + 0x1bc]
mov ecx, dword [esp + 0x24]
mov edx, esi
mov esi, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10099650
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc8
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
cmp dword [esp + 0x40], 0
mov eax, dword [edi + 8]
mov dword [ecx + 0x1c8], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0x1cc], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x1d0], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x1d4], eax
je 0x10059e16
cmp esi, 2
je 0x10059e16
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
test ecx, ecx
jne 0x1005afc8
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
test edx, edx
je 0x10059eb1
test dword [esi + 0x1c], 0x100000
jne 0x1005dba5
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x10]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
test esi, esi
je 0x1005a004
mov ecx, esi
call fcn.100452a0
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005dbaf
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], ecx
je 0x10059fcd
test byte [edi + 0x94], 0x40
mov edi, dword [esp + 0x14]
je 0x10059fd1
cmp byte [edi + 0x47], cl
je 0x10059f0a
cmp dword [edi + 0xa8], 1
jle 0x10059fd1
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x30], 0
jne 0x10059f29
mov eax, dword [edi + 0x1bc]
inc dword [edi + 0x1c0]
add eax, dword [edi + 0x1c0]
mov dword [ecx + 0x30], eax
mov eax, dword [ecx + 0x30]
xor edx, edx
dec eax
mov ecx, edi
push eax
call fcn.10099650
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10059fa3
cmp byte [esi + 9], 0
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x30]
mov eax, dword [esi + 4]
mov dword [esp + 0x28], eax
je 0x10059f6a
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x10059f6a
mov ecx, esi
call fcn.100423f0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
cmp edi, dword [ecx + 0x60]
jle 0x10059f84
cmp byte [ecx + 6], 0
je 0x10059f84
mov edx, edi
call fcn.1003ed80
mov dword [esp + 0x1c], eax
jmp 0x10059f8c
mov dword [esp + 0x1c], 0
cmp byte [esi + 9], 0
je 0x10059f9f
add dword [esi + 0xc], 0xffffffff
jne 0x10059f9f
mov ecx, esi
call fcn.100423b0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x1c8]
mov dword [ecx + 0x48], eax
mov eax, dword [edi + 0x1cc]
mov dword [ecx + 0x4c], eax
mov eax, dword [edi + 0x1d0]
mov dword [ecx + 0x50], eax
mov eax, dword [edi + 0x1d4]
mov dword [ecx + 0x54], eax
jmp 0x10059fd1
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xa8]
mov edx, 1
push eax
mov ecx, esi
call fcn.1004ba80
mov eax, dword [esp + 0x14]
add esp, 4
mov esi, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax + 4]
jmp 0x1005a013
mov edi, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0xa8], esi
xor eax, eax
mov ecx, dword [esp + 0x10]
cmp word [ecx + 2], 0
je 0x1005a030
cmp esi, dword [ecx + 0xc]
jne 0x1005dbe0
cmp eax, dword [ecx + 0x10]
jne 0x1005dbe0
cmp dword [esp + 0x1c], 0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jne 0x1005dcb7
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xe4]
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [edx + 4]
mov edx, dword [edx + 0xc]
add eax, eax
mov ecx, dword [ecx + eax*8 + 4]
call fcn.1004ba80
mov eax, dword [esp + 0x14]
add esp, 4
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea ecx, [eax + ecx*8]
mov eax, 0x2460
test word [ecx + 8], ax
je 0x1005a0a9
call fcn.10057780
mov ecx, eax
mov eax, dword [esp + 0xe4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, 4
mov word [ecx + 8], ax
mov eax, dword [esp + 0xe4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov esi, dword [edx + 4]
push dword [edx + 0xc]
mov edx, dword [edx + 8]
shl esi, 4
add esi, dword [eax + 0x10]
mov ecx, dword [esi + 4]
call fcn.1004bae0
mov dword [esp + 0x20], eax
add esp, 4
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x1005a113
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
or dword [esi + 0x18], 1
jmp 0x1005a129
cmp eax, 2
jne 0x1005a125
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
mov al, byte [eax + 0xc]
mov byte [ecx + 0x4c], al
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 4], 1
jne 0x1005a145
mov ecx, esi
call fcn.100544c0
and dword [edi + 0x94], 0xfffffffe
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1005dcb7
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x70]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x1005a176
mov eax, dword [esi + 0x34]
cmp eax, dword [edx + 8]
je 0x1005a305
mov esi, dword [esp + 0x14]
mov al, byte [esp + 0x37]
test byte [edi + 0x94], 1
jne 0x1005dc37
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [esp + 0x40], 0
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov ecx, esi
shl ecx, 4
add ecx, dword [edi + 0x10]
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], esi
mov edi, dword [ecx + 4]
cmp al, 0x6b
jne 0x1005a1f0
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 2]
mov eax, dword [ecx + 0xc]
and edx, 8
mov ecx, dword [esp + 0x18]
or edx, 4
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x38]
mov al, byte [eax + 0x4c]
cmp al, byte [ecx + 0x8f]
jae 0x1005a1f8
mov byte [ecx + 0x8f], al
jmp 0x1005a1f8
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x10]
test byte [ecx + 2], 0x10
je 0x1005a221
mov ecx, dword [esp + 0x20]
lea eax, [edx + edx*4]
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.1004e5d0
mov eax, dword [esi]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov al, byte [ecx + 1]
cmp al, 0xf7
jne 0x1005a235
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x40], eax
movzx eax, word [eax + 8]
jmp 0x1005a242
cmp al, 0xfd
jne 0x1005a23e
mov eax, dword [ecx + 0x10]
jmp 0x1005a242
mov eax, dword [esp + 0x24]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
push 0
push esi
push eax
call fcn.100574a0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005d0e3
mov eax, dword [esp + 0x38]
or dword [esi + 8], 4
mov ecx, dword [esi + 0x28]
mov byte [esi + 2], 1
mov dword [esi + 0x34], eax
mov dword [esp + 0x48], ecx
cmp eax, 1
jge 0x1005a2a2
push 0x1013747c
push 0x1033a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10032090
add esp, 0x14
mov dword [esp + 0x1c], 0xb
jmp 0x1005a2ec
cmp byte [edi + 9], 0
je 0x1005a2c0
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x1005a2c0
mov ecx, edi
call fcn.100423f0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
push ecx
push dword [esp + 0x44]
mov edx, eax
mov ecx, edi
push dword [esp + 0x30]
call fcn.100463e0
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp byte [edi + 9], 0
je 0x1005a2ec
add dword [edi + 0xc], 0xffffffff
jne 0x1005a2ec
mov ecx, edi
call fcn.100423b0
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 1], 0xf7
setne al
mov byte [esi + 4], al
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 2]
mov eax, dword [esi + 0x28]
and cl, 3
mov esi, dword [esp + 0x14]
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1005afc8
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x70]
push 0
push 0xffffffffffffffff
mov ecx, dword [edx + 8]
mov edx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
mov ecx, edi
movsx eax, word [esi + 0x38]
push eax
call fcn.100574a0
mov edx, eax
add esp, 0xc
test edx, edx
je 0x1005dfa4
or dword [edx + 8], 1
mov edi, dword [edx + 0x28]
mov byte [edx + 2], 1
mov ecx, dword [esi + 0x2c]
mov dword [edx + 0x2c], ecx
mov al, byte [esi + 4]
mov byte [edx + 4], al
mov eax, ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x28], eax
cmp byte [esi + 9], 0
je 0x1005a398
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x1005a398
mov ecx, esi
call fcn.100423f0
mov eax, dword [esp + 0x28]
push edi
push eax
push 4
mov edx, 1
mov ecx, esi
call fcn.100463e0
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp byte [esi + 9], 0
je 0x10057a29
add dword [esi + 0xc], 0xffffffff
jne 0x10057a29
mov ecx, esi
call fcn.100423b0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [eax + 8]
mov edx, dword [eax + 4]
call fcn.100574a0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1005d0e7
mov eax, dword [esp + 0x10]
lea esi, [edi + 0xc]
or dword [edi + 8], 1
xor edx, edx
mov byte [edi + 2], 1
push 0x41e
movzx eax, word [eax + 2]
or eax, 5
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
mov ecx, dword [eax]
call fcn.100442b0
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x1005afc0
mov ecx, dword [esi]
lea edx, [eax + 1]
call fcn.100452a0
mov ecx, eax
test ecx, ecx
jne 0x1005afc0
mov ecx, dword [esp + 0x10]
mov esi, dword [esi]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x48], eax
mov dword [edi + 0x2c], eax
test eax, eax
je 0x1005a553
movzx eax, word [ecx + 2]
or eax, 2
cmp byte [esi + 9], 0
mov dword [esp + 0x28], eax
je 0x1005a489
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x1005a489
mov ecx, esi
call fcn.100423f0
mov eax, dword [esp + 0x28]
push eax
lea edx, [esp + 0xb0]
mov ecx, esi
call fcn.1004b330
add esp, 4
mov dword [esp + 0x1c], eax
cmp byte [esi + 9], 0
je 0x1005a4b6
add dword [esi + 0xc], 0xffffffff
jne 0x1005a4b6
mov ecx, esi
call fcn.100423b0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1005a54d
mov eax, dword [edi + 0x28]
mov esi, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xac]
cmp eax, 1
jge 0x1005a503
push 0x1013747c
push 0x1033a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10032090
add esp, 0x14
mov dword [esp + 0x1c], 0xb
mov byte [edi + 4], 0
jmp 0x1005a5a3
cmp byte [esi + 9], 0
je 0x1005a520
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x1005a520
mov ecx, esi
call fcn.100423f0
mov eax, dword [esp + 0xac]
push dword [esp + 0x28]
mov edx, eax
mov ecx, esi
push dword [esp + 0x4c]
push 4
call fcn.100463e0
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp byte [esi + 9], 0
je 0x1005a54d
add dword [esi + 0xc], 0xffffffff
jne 0x1005a54d
mov ecx, esi
call fcn.100423b0
mov byte [edi + 4], 0
jmp 0x1005a5a3
cmp byte [esi + 9], 0
mov eax, dword [edi + 0x28]
mov dword [esp + 0x28], eax
je 0x1005a574
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x1005a574
mov ecx, esi
call fcn.100423f0
mov eax, dword [esp + 0x28]
push eax
push 0
push 4
mov edx, 1
mov ecx, esi
call fcn.100463e0
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp byte [esi + 9], 0
je 0x1005a59f
add dword [esi + 0xc], 0xffffffff
jne 0x1005a59f
mov ecx, esi
call fcn.100423b0
mov byte [edi + 4], 1
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
test ecx, ecx
jne 0x1005afc4
mov eax, dword [esp + 0x10]
cmp word [eax + 2], 8
mov eax, 4
cmovne ecx, eax
mov eax, dword [edi + 8]
and eax, 0xfffffffb
or ecx, eax
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x48], edx
test edi, edi
jle 0x1005a609
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x18]
sub eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
lea esi, [eax + ecx*8]
mov eax, dword [esp + 0x18]
jmp 0x1005a610
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x5c]
mov eax, dword [eax + 0x70]
lea ecx, [edx*8 + 0x60]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + edi*4]
test edx, edx
je 0x1005a640
mov ecx, dword [esp + 0x18]
call fcn.10051600
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 0x70]
mov dword [eax + edi*4], 0
cmp dword [esi + 0x18], ecx
jge 0x1005a65d
mov edx, ecx
mov ecx, esi
push 0
call fcn.1004ded0
add esp, 4
test eax, eax
jne 0x1005d0e3
jmp 0x1005a668
mov eax, dword [esi + 0x14]
and word [esi + 8], 0xd
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x10]
xorps xmm0, xmm0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push ecx
mov eax, dword [eax + 0x70]
mov dword [eax + edi*4], ecx
mov eax, dword [esp + 0x4c]
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov word [ecx + 0x38], ax
add eax, 0x16
mov word [ecx], 0xff01
lea eax, [ecx + eax*4]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x2c], eax
mov ecx, esi
mov edx, dword [edx + 0xc]
call fcn.1005f6f0
jmp 0x10059e28
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov edx, dword [eax + ecx*4]
mov edi, dword [edx + 0x10]
mov ecx, edi
mov esi, dword [edx + 0x14]
add ecx, 1
mov eax, esi
mov dword [edx + 0x10], ecx
adc eax, 0
or edi, esi
mov dword [edx + 0x14], eax
je 0x1005d2e7
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], edx
test edi, edi
jle 0x1005a723
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x18]
sub eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
lea esi, [eax + ecx*8]
mov eax, dword [esp + 0x18]
jmp 0x1005a72a
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x5c]
mov eax, dword [eax + 0x70]
lea ecx, [edx*8 + 0x60]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + edi*4]
test edx, edx
je 0x1005a75a
mov ecx, dword [esp + 0x18]
call fcn.10051600
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 0x70]
mov dword [eax + edi*4], 0
cmp dword [esi + 0x18], ecx
jge 0x1005a777
mov edx, ecx
mov ecx, esi
push 0
call fcn.1004ded0
add esp, 4
test eax, eax
jne 0x1005d0e3
jmp 0x1005a782
mov eax, dword [esi + 0x14]
and word [esi + 8], 0xd
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x10]
xorps xmm0, xmm0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x70]
mov dword [eax + edi*4], ecx
mov eax, dword [esp + 0x48]
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov word [ecx + 0x38], ax
add eax, 0x16
mov word [ecx], 0xff03
lea eax, [ecx + eax*4]
mov dword [ecx + 0x48], eax
mov eax, dword [esp + 0x10]
mov byte [ecx + 2], 1
mov eax, dword [eax + 8]
mov dword [ecx + 0x20], eax
mov byte [ecx + 4], 1
mov dword [ecx + 0x28], 0x101400d0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [edi + 0x70]
mov eax, dword [eax + 4]
mov edx, dword [edx + eax*4]
call fcn.10051600
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], 0
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 4], 0
mov byte [esi + 2], 0
je 0x1005a948
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov al, byte [edi + 8]
and al, 0xe
cmp al, 2
jne 0x1005a85a
xor edx, edx
mov ecx, edi
call fcn.10057590
mov ecx, edi
call fcn.1004e4c0
movzx ecx, word [edi + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], edx
test cl, 4
jne 0x1005a8b4
test cl, 8
je 0x1005d2e7
mov ecx, eax
call fcn.10108220
movsd xmm1, qword [edi]
comisd xmm0, xmm1
jbe 0x1005a8a1
mov ecx, dword [esp + 0x38]
test cl, 1
lea eax, [ecx - 1]
cmove eax, ecx
mov ecx, eax
mov dword [esp + 0x38], ecx
jmp 0x1005a8b4
comisd xmm1, xmm0
jbe 0x1005a8b4
mov eax, dword [esp + 0x38]
test al, 1
jne 0x1005a8b4
inc eax
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x6c]
mov ecx, dword [esi + 0x28]
xor edx, edx
push eax
push 0
push dword [esp + 0x48]
push edi
call fcn.10046fb0
mov dword [esp + 0x2c], eax
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], eax
test ecx, ecx
jne 0x1005afc0
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x6c]
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
cmp eax, 0x1a
jl 0x1005aa3b
test ecx, ecx
js 0x1005a9f6
jne 0x1005a91e
cmp eax, 0x1b
je 0x1005a9f6
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x10]
test edi, edi
lea eax, [ecx + 0x14]
cmove eax, ecx
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x14]
mov ecx, eax
mov edi, dword [esp + 0x18]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x10]
mov al, byte [eax + 3]
and al, 2
mov byte [esp + 0x37], al
mov eax, 0
setne al
test dl, 1
mov dword [esp + 0x24], eax
lea edx, [esp + 0x118]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x118], eax
mov ax, word [ecx + 0x10]
mov word [esp + 0x120], ax
sete al
mov byte [esp + 0x126], 0
lea eax, [eax*2 - 1]
mov byte [esp + 0x122], al
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x6c]
mov ecx, dword [esi + 0x28]
push eax
push 0
push 0
push 0
call fcn.10046fb0
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x10058739
cmp byte [esp + 0x37], al
je 0x1005a8eb
mov edi, dword [esp + 0x24]
cmp byte [esp + 0x126], al
jne 0x1005a8ef
mov ecx, dword [esp + 0x6c]
jmp 0x1005aa54
push 0
push dword [esi + 0x28]
mov dword [esp + 0x74], 0
call fcn.10047650
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x1005a926
mov edi, dword [esp + 0x18]
cmp ecx, 0x65
jne 0x10058739
mov dword [esp + 0x1c], 0
mov dword [esp + 0x6c], 1
jmp 0x1005c80e
test ecx, ecx
jg 0x1005aa61
jne 0x1005aa46
cmp eax, 0x18
je 0x1005aa61
mov eax, dword [esi + 0x28]
xor ecx, ecx
cmp byte [eax], cl
setne cl
mov dword [esp + 0x6c], ecx
test ecx, ecx
jne 0x1005d2e7
jmp 0x1005a926
push 0
push dword [esi + 0x28]
mov dword [esp + 0x74], 0
call fcn.10047770
jmp 0x1005aa08
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x70]
cmp dword [edx + 0x10], 0
mov ecx, dword [edx + 4]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], edi
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
jle 0x1005aac9
mov eax, dword [edi + 0x2c]
lea edi, [esp + 0x170]
mov dword [esp + 0x170], eax
mov ax, word [edx + 0x10]
mov word [esp + 0x178], ax
xor eax, eax
mov dword [esp + 0x174], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x48], eax
jmp 0x1005ab13
mov eax, 0x4000
test word [esi + 8], ax
je 0x1005aae3
mov ecx, esi
call fcn.1004e0e0
test eax, eax
jne 0x1005d0e3
mov ecx, dword [edi + 0x2c]
call fcn.10053030
mov edi, eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x1005d0e3
mov edx, dword [esi + 0xc]
push edi
push dword [esi + 0x10]
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0x2c]
call fcn.10053080
mov edx, dword [esp + 0x18]
add esp, 8
mov byte [edi + 0xa], 0
cmp byte [edx], 0x1c
mov dword [esp + 0x28], 0
jne 0x1005ab4b
movzx edx, word [edi + 8]
xor ecx, ecx
test edx, edx
je 0x1005ab4b
mov eax, dword [edi + 4]
add eax, 8
test byte [eax], 1
jne 0x1005ab43
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x1005ab34
jmp 0x1005ab4b
mov dword [esp + 0x28], 1
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0xd0]
push eax
push 0
push 0
push 0
mov edx, edi
call fcn.10046fb0
mov dword [esp + 0x2c], eax
add esp, 0x10
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1005ab7d
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.1002f8b0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1005afc0
mov eax, dword [esp + 0xd0]
test eax, eax
mov dword [esi + 0x20], eax
mov al, 1
sete cl
mov byte [esi + 3], 0
sub al, cl
mov dword [esi + 0x1c], 0
mov byte [esi + 2], al
mov esi, dword [esp + 0x10]
cmp byte [esi], 0x1e
jne 0x1005abcf
test ecx, ecx
jne 0x1005d2eb
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
cmp dword [esp + 0x28], 0
jne 0x1005d2eb
test ecx, ecx
je 0x1005d2eb
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne case.0x100578da.32
test al, 8
jne 0x1005ac25
test al, 2
je 0x1005ac2c
mov edx, 1
mov ecx, esi
call fcn.10057590
jmp 0x1005ac2c
mov ecx, esi
call fcn.1004e570
test byte [esi + 8], 4
je 0x1005c80e
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x70]
mov dword [esp + 0xa4], 0
mov ecx, dword [edx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov ecx, dword [ecx + 0x28]
lea eax, [eax + eax*4]
mov esi, dword [edx + eax*8]
mov edi, dword [edx + eax*8 + 4]
lea eax, [esp + 0xa4]
push eax
push 0
push edi
push esi
xor edx, edx
call fcn.10046fb0
mov ecx, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa4]
mov dword [ecx + 0x40], esi
mov dword [ecx + 0x44], edi
mov word [ecx + 2], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], eax
test eax, eax
je 0x10059e79
mov esi, dword [esp + 0x10]
cmp dword [esi + 8], 0
jne 0x1005d2eb
mov ecx, 0x15094
call fcn.100acc00
mov ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x10059e7d
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea edx, [eax + ecx*8]
mov eax, 0x2460
test word [edx + 8], ax
je 0x1005acf2
mov ecx, edx
call fcn.10057780
mov edx, eax
jmp 0x1005acfb
mov eax, 4
mov word [edx + 8], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x10]
mov dword [edx], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x10]
add dword [eax + 0x10], 1
adc dword [eax + 0x14], 0
add ecx, 0x14
jmp 0x100578b6
mov esi, dword [esp + 0x10]
xor edi, edi
xorps xmm0, xmm0
mov dword [esp + 0x94], edi
movlpd qword [esp + 0x230], xmm0
mov eax, dword [esi + 8]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x5c]
lea edx, [eax + ecx*8]
mov eax, 0x2460
mov dword [esp + 0x48], edx
test word [edx + 8], ax
je 0x1005ad79
mov ecx, edx
call fcn.10057780
mov dword [esp + 0x48], eax
jmp 0x1005ad82
mov eax, 4
mov word [edx + 8], ax
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 4]
mov eax, dword [edx + 0x70]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x24], eax
test byte [eax + 8], 2
jne 0x1005ae84
mov esi, dword [eax + 0x28]
cmp byte [esi], 0
jne 0x1005adb1
test byte [esi + 1], 8
je 0x1005adb1
mov dword [esp + 0x1c], edi
jmp 0x1005ade8
mov ecx, esi
call fcn.10046c70
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005ae2c
xor edi, edi
mov ecx, esi
mov dword [esp + 0x94], edi
call fcn.10046ef0
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005ae26
or byte [esi + 1], 8
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x28]
mov ecx, esi
call fcn.10046560
mov edi, dword [esi + 0x20]
mov esi, dword [esi + 0x24]
mov dword [esp + 0x230], edi
mov dword [esp + 0x234], esi
cmp esi, 0x7fffffff
jl 0x1005ae6a
jg 0x1005ae15
cmp edi, 0xffffffff
jb 0x1005ae6a
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
or dword [eax + 8], 2
jmp 0x1005ae92
and byte [esi + 1], 0xf7
jmp 0x1005ae43
cmp ecx, 0x10
jne 0x1005ae43
mov edi, 1
xor ecx, ecx
mov dword [esp + 0x94], edi
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc0
test edi, edi
je 0x1005ade4
mov edx, dword [esp + 0x18]
mov edi, 1
xor esi, esi
mov dword [esp + 0x230], edi
mov dword [esp + 0x234], esi
jmp 0x1005ae92
mov edx, dword [esp + 0x18]
add edi, 1
mov dword [esp + 0x230], edi
adc esi, 0
mov dword [esp + 0x234], esi
jmp 0x1005ae92
mov esi, dword [esp + 0x234]
mov edi, dword [esp + 0x230]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1005af2c
mov edx, dword [edx + 0xc4]
test edx, edx
je 0x1005aec6
mov eax, dword [edx + 4]
test eax, eax
je 0x1005aebb
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x1005aeb2
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
jmp 0x1005aed0
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + eax*8]
mov dword [esp + 0x40], ecx
call fcn.1004e5d0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x1005aef3
cmp edx, 0x7fffffff
je 0x1005afbb
mov eax, dword [esp + 0x24]
test byte [eax + 8], 2
mov eax, dword [esp + 0x40]
jne 0x1005afbb
add ecx, 1
adc edx, 0
cmp esi, edx
jg 0x1005af27
jl 0x1005af15
cmp edi, ecx
jae 0x1005af27
mov edi, ecx
mov esi, edx
mov dword [esp + 0x230], edi
mov dword [esp + 0x234], esi
mov dword [eax], edi
mov dword [eax + 4], esi
mov eax, dword [esp + 0x24]
test byte [eax + 8], 2
je 0x1005b03e
mov dword [esp + 0x28], 0
lea eax, [esp + 0x230]
push eax
push 8
call fcn.100320d0
mov esi, dword [esp + 0x23c]
lea eax, [esp + 0x9c]
mov edi, dword [esp + 0x238]
and esi, 0x3fffffff
push eax
mov eax, dword [esp + 0x30]
add edi, 1
push 0
adc esi, 0
mov dword [esp + 0x240], edi
push esi
mov ecx, dword [eax + 0x28]
xor edx, edx
push edi
mov dword [esp + 0x24c], esi
call fcn.10046fb0
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc0
cmp dword [esp + 0x94], eax
jne 0x1005b03a
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, 0x64
jl 0x1005af42
mov ecx, 0xd
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp byte [esi + 0x49], 0
mov eax, 7
cmovne ecx, eax
cmp dword [edi + 0x6c], 0
mov dword [esp + 0x1c], ecx
jne 0x1005dfd3
cmp ecx, 0xc0a
je 0x1005dfd3
mov eax, dword [esp + 0x1c]
mov ecx, str.unknown_error
sub eax, 0x64
je 0x1005dfbb
sub eax, 1
je 0x1005dfb4
sub eax, 0x19f
je 0x1005dfad
mov eax, dword [esp + 0x1c]
movzx eax, al
cmp eax, 0x1d
jae 0x1005dfc0
mov eax, dword [eax*4 + 0x1012bd40]
test eax, eax
je 0x1005dfc0
mov ecx, eax
jmp 0x1005dfc0
mov eax, dword [esp + 0x24]
mov byte [eax + 3], 0
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x48]
mov dword [eax], edi
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
cmp byte [esp + 0x37], 0x76
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
lea eax, [eax + eax*4]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x70]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x38], edi
jne 0x1005b09b
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
mov esi, dword [ecx + eax*8]
mov edx, dword [ecx + eax*8 + 4]
jmp 0x1005b09e
cdq
mov esi, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x154], edx
mov dword [esp + 0x150], esi
cmp byte [ecx + 1], 0xfa
jne 0x1005b0e0
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xe4], 0
je 0x1005b0e0
movsx ecx, byte [edi + 1]
mov eax, dword [eax + 0x10]
add ecx, ecx
mov ecx, dword [eax + ecx*8]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x28], eax
jmp 0x1005b0f0
mov dword [esp + 0x28], 0
mov dword [esp + 0x48], 0
test byte [ecx + 2], 1
je 0x1005b0fd
mov eax, dword [esp + 0x18]
inc dword [eax + 0x2c]
test byte [ecx + 2], 0x20
je 0x1005b10d
mov eax, dword [esp + 0x14]
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], edx
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
movzx ecx, word [ecx + 2]
mov eax, dword [edx + esi*8 + 0x10]
mov dword [esp + 0x158], eax
mov eax, dword [edx + esi*8 + 0xc]
mov dword [esp + 0x164], eax
test cl, 0x10
je 0x1005b139
mov edx, dword [edi + 0x20]
jmp 0x1005b13b
xor edx, edx
mov eax, dword [esp + 0x20]
mov edi, 0x4000
test word [eax + esi*8 + 8], di
mov edi, dword [esp + 0x38]
je 0x1005b15b
mov eax, dword [eax + esi*8]
mov dword [esp + 0x168], eax
jmp 0x1005b166
mov dword [esp + 0x168], 0
push edx
and ecx, 0xa
mov dword [esp + 0x14c], 0
push ecx
mov ecx, dword [edi + 0x28]
lea edx, [esp + 0x150]
call fcn.1004aa70
mov ecx, eax
mov byte [edi + 3], 0
add esp, 8
mov dword [esp + 0x1c], ecx
mov dword [edi + 0x1c], 0
test ecx, ecx
jne 0x1005afc0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x10057a2d
push dword [esp + 0x154]
mov ecx, 0x17
push dword [esp + 0x154]
push dword [eax]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x54]
test byte [eax + 2], 4
mov eax, 0x12
cmovne eax, ecx
push eax
push dword [esi + 0xe0]
mov eax, dword [esi + 0xe4]
call eax
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov edi, dword [esp + 0x18]
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x70]
mov edi, dword [eax + ecx*4]
jne 0x1005b262
cmp dword [esi + 0xe4], 0
je 0x1005b262
movsx ecx, byte [edi + 1]
mov eax, dword [esi + 0x10]
add ecx, ecx
test byte [edx + 2], 2
mov esi, dword [edx + 0x10]
mov dword [esp + 0x48], esi
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x28], eax
je 0x1005b26c
cmp byte [edi + 4], 0
je 0x1005b26c
mov esi, dword [edi + 0x28]
mov ecx, esi
call fcn.10046560
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x24]
mov esi, dword [esp + 0x48]
mov dword [edi + 0x44], eax
jmp 0x1005b26c
mov dword [esp + 0x28], 0
xor esi, esi
mov dl, byte [edx + 2]
mov ecx, dword [edi + 0x28]
call fcn.1004aea0
mov ecx, eax
mov dword [edi + 0x1c], 0
mov dword [esp + 0x1c], ecx
mov dword [edi + 0x20], 0
test ecx, ecx
jne 0x1005afc0
test byte [esp + 0x40], 1
je 0x10057a29
mov eax, dword [esp + 0x18]
inc dword [eax + 0x2c]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xe4]
test eax, eax
je 0x10057a29
test byte [esi + 0x24], 0x20
jne 0x10057a29
push dword [edi + 0x44]
push dword [edi + 0x40]
push dword [esi]
mov esi, dword [esp + 0x20]
push dword [esp + 0x34]
push 9
push dword [esi + 0xe0]
call eax
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov edi, dword [esp + 0x18]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [edi + 0x2c]
add dword [esi + 0x60], eax
add ecx, 0x14
mov dword [esi + 0x5c], eax
mov dword [edi + 0x2c], 0
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x70]
mov dword [esp + 0xb0], 0
mov ecx, dword [edx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
lea eax, [esp + 0xb0]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x10]
call fcn.10061bb0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc8
cmp dword [esp + 0xb0], eax
jne 0x1005d2e7
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + ecx*4]
call fcn.10061b10
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x70]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x10]
add ecx, 0x14
mov dword [eax + 0x1c], 0
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea esi, [eax + ecx*8]
mov eax, 0x2460
test word [esi + 8], ax
je 0x1005b3e0
mov ecx, esi
call fcn.10057780
mov esi, eax
jmp 0x1005b3e9
mov eax, 4
mov word [esi + 8], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + 0x28]
mov ecx, edi
call fcn.10046560
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x2c]
cmp edx, dword [eax + 0x64]
ja 0x1005dd05
mov eax, dword [edi + 0x28]
movzx ecx, word [edi + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x74]
mov dword [esp + 0x1c], 0
mov eax, dword [eax + 0x3c]
sub eax, dword [esp + 0x28]
cmp ecx, eax
jle 0x1005b442
test eax, eax
mov dword [esp + 0x48], 0
mov ecx, eax
cmovs ecx, dword [esp + 0x48]
cmp edx, ecx
ja 0x1005b45b
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], eax
mov eax, 0x1010
mov word [esi + 8], ax
mov dword [esi + 0xc], edx
jmp 0x1005b477
push esi
push edx
xor edx, edx
mov ecx, edi
call fcn.1004ecc0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc0
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xc], 0
jne 0x100589bd
mov eax, 0x1000
test word [esi + 8], ax
je 0x100589bd
mov ecx, esi
call fcn.1004e090
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x1005d0eb
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea edi, [eax + ecx*8]
mov eax, 0x2460
test word [edi + 8], ax
je 0x1005b4dd
mov ecx, edi
call fcn.10057780
mov edi, eax
jmp 0x1005b4e6
mov eax, 4
mov word [edi + 8], ax
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x70]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 2], 0
je 0x1005b516
mov eax, 1
mov word [edi + 8], ax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
cmp byte [esi + 3], 0
je 0x1005b550
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x238], ecx
mov eax, dword [esi + 0x44]
mov dword [esp + 0x23c], eax
mov dword [edi], ecx
mov eax, dword [esp + 0x23c]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
cmp byte [esi], 2
jne 0x1005b5af
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x238]
push edx
push ecx
mov esi, dword [ecx]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, esi
mov dword [esp + 0x1c], eax
call fcn.100545e0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1005afc0
mov ecx, dword [esp + 0x238]
mov dword [edi], ecx
mov eax, dword [esp + 0x23c]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
je 0x1005b5ce
mov ecx, esi
call fcn.10052b90
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc0
jmp 0x1005b5d4
xor eax, eax
mov dword [esp + 0x1c], eax
cmp byte [esi + 2], 0
je 0x1005b5f7
mov eax, 1
mov word [edi + 8], ax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov esi, dword [esi + 0x28]
mov ecx, esi
call fcn.10046560
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x238], ecx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x23c], eax
mov dword [edi], ecx
mov eax, dword [esp + 0x23c]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + ecx*4]
cmp byte [ecx], 0
mov byte [ecx + 2], 1
mov dword [ecx + 0x1c], 0
jne 0x10057a31
mov ecx, dword [ecx + 0x28]
call fcn.10042950
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov edi, dword [eax + ecx*4]
xor eax, eax
cmp byte [esp + 0x37], 0x7f
mov dword [esp + 0x38], eax
mov esi, dword [edi + 0x28]
jne 0x1005b696
mov dword [edi + 0x20], 0xffffffff
cmp byte [esi], al
je 0x10057a29
cmp byte [esi], al
jne 0x1005b6a8
test byte [esi + 1], 8
je 0x1005b6a8
xor ecx, ecx
mov dword [esp + 0x1c], ecx
jmp 0x1005b6f6
mov ecx, esi
call fcn.10046c70
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1005b6dc
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.10046ef0
mov dword [esp + 0x1c], eax
mov ecx, eax
test eax, eax
mov eax, dword [esp + 0x38]
jne 0x1005b6d6
or byte [esi + 1], 8
jmp 0x1005b6f6
and byte [esi + 1], 0xf7
jmp 0x1005b6f6
cmp eax, 0x10
jne 0x1005b6ee
xor ecx, ecx
mov eax, 1
mov dword [esp + 0x1c], ecx
jmp 0x1005b6f6
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov byte [edi + 2], al
mov byte [edi + 3], 0
mov dword [edi + 0x1c], 0
test ecx, ecx
jne 0x1005afc0
mov esi, dword [esp + 0x10]
cmp dword [esi + 8], ecx
jle 0x10057a29
test eax, eax
jne 0x1005d2eb
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x28]
mov ecx, esi
call fcn.10046c70
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005b7c2
mov ecx, esi
mov dword [esp + 0x98], eax
call fcn.10046e30
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x98]
test ecx, ecx
jne 0x10058739
test eax, eax
jne 0x1005d2e7
mov ecx, esi
call fcn.10047520
test edx, edx
jl 0x100579cd
jg 0x1005b79a
test eax, eax
jb 0x100579cd
push edx
push eax
call fcn.10034040
mov esi, dword [esp + 0x18]
add esp, 8
cwde
cmp eax, dword [esi + 0xc]
jge 0x100579cd
mov dword [esp + 0x98], 1
jmp 0x1005c812
cmp ecx, 0x10
jne 0x1005b76a
mov eax, 1
xor ecx, ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x1c], ecx
jmp 0x1005b771
inc dword [edi + 0xa8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x9c], 1
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov esi, dword [eax + ecx*4]
cmp byte [esi], 1
jne 0x1005b814
lea edx, [esp + 0x9c]
mov ecx, esi
call fcn.10061a50
mov ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x1005b85f
mov edi, dword [esi + 0x28]
mov ecx, edi
call fcn.10046c70
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005b83a
mov ecx, edi
mov dword [esp + 0x9c], eax
call fcn.10046e30
mov ecx, eax
jmp 0x1005b84c
cmp ecx, 0x10
jne 0x1005b850
mov dword [esp + 0x9c], 1
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x18]
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test ecx, ecx
jne 0x10058739
mov eax, dword [esp + 0x9c]
mov byte [esi + 2], al
test eax, eax
jne 0x1005d2e7
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov edi, dword [eax + ecx*4]
mov esi, dword [edi + 0x28]
cmp byte [esi + 0x38], 0
je 0x1005b91c
cmp byte [esi + 0x39], 0
je 0x1005b8dd
mov ecx, dword [esi + 0x10]
call fcn.1005f3a0
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005b94c
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x18], ecx
jne 0x1005b94c
mov esi, dword [esp + 0x14]
mov ecx, 0x65
mov dword [esp + 0x1c], ecx
jmp 0x1005b98b
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0xb4]
mov dword [esp + 0xb4], 0
call fcn.10060700
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005b94c
cmp dword [esp + 0xb4], eax
je 0x1005b94c
mov esi, dword [esp + 0x14]
mov ecx, 0x65
mov dword [esp + 0x1c], ecx
jmp 0x1005b98b
mov edx, dword [esi + 0x24]
mov eax, dword [edx + 4]
mov dword [esi + 0x24], eax
mov dword [edx + 4], 0
cmp dword [esi + 0x28], 0
jne 0x1005b93b
mov ecx, dword [esp + 0x14]
call fcn.1005f8b0
xor eax, eax
mov ecx, 0x65
cmp dword [esi + 0x24], eax
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x14]
jmp 0x1005b98b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
cmp dword [eax + ecx*4], 0
je 0x10057a31
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov edi, dword [eax + ecx*4]
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push dword [edi + 0x28]
call eax
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
mov dword [edi + 0x1c], 0
test ecx, ecx
jne 0x1005b9b1
mov eax, dword [esp + 0x10]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + 2]
inc dword [ecx + eax*4 + 0xa0]
jmp case.0x100578da.13
cmp ecx, 0x65
jne 0x1005afc4
mov dword [esp + 0x1c], 0
mov byte [edi + 2], 1
jmp 0x1005d49c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov edi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x10]
test byte [ecx + 2], 1
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
je 0x1005b9f6
mov eax, dword [esp + 0x18]
inc dword [eax + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x1005ba16
mov ecx, esi
call fcn.1004e0e0
mov ecx, eax
test ecx, ecx
jne 0x1005afc0
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0x80
jne 0x1005ba2d
mov edx, esi
mov ecx, edi
call fcn.100609e0
mov esi, dword [esp + 0x14]
jmp 0x10059e2b
mov eax, dword [esi + 0xc]
cdq
mov dword [esp + 0x210], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x208], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x214], edx
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esp + 0x21c], eax
mov ax, word [ecx + 0x10]
mov word [esp + 0x220], ax
movzx eax, word [ecx + 2]
test al, 0x10
je 0x1005ba76
mov ecx, dword [edi + 0x20]
jmp 0x1005ba78
xor ecx, ecx
push ecx
mov ecx, dword [edi + 0x28]
lea edx, [esp + 0x20c]
and eax, 0xa
push eax
call fcn.1004aa70
mov esi, dword [esp + 0x1c]
add esp, 8
mov dword [edi + 0x1c], 0
jmp 0x10059e2b
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x70]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
mov dword [esp + 0x138], eax
mov ax, word [edx + 0xc]
mov word [esp + 0x140], ax
mov eax, dword [edx + 8]
lea edx, [esp + 0x138]
mov byte [esp + 0x142], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, edi
mov dword [esp + 0x13c], eax
lea eax, [esp + 0xd4]
push eax
push 0
push 0
push 0
call fcn.10046fb0
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc0
cmp dword [esp + 0xd4], eax
jne 0x1005bb2e
mov dl, 4
mov ecx, edi
call fcn.1004aea0
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005afc0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x70]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
je 0x1005bb80
mov ecx, esi
call fcn.10052b90
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x10058739
mov edx, dword [esp + 0x10]
jmp 0x1005bb86
xor eax, eax
mov dword [esp + 0x1c], eax
cmp byte [esi + 2], 0
jne 0x1005bc77
mov edx, dword [esi + 0x28]
lea eax, [esp + 0xc0]
mov ecx, dword [esp + 0x14]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0xc4], xmm0
call fcn.10054240
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x10058739
mov eax, dword [esp + 0x10]
cmp byte [eax], 0x83
jne 0x1005bc0a
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0xc0]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0xc4]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x10]
mov word [ecx + 2], 0x100
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x24], esi
mov esi, dword [esp + 0x14]
mov dword [ecx + 0x18], eax
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea ecx, [eax + ecx*8]
mov eax, 0x2460
test word [ecx + 8], ax
je 0x1005bc4b
call fcn.10057780
mov esi, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0xc0]
mov dword [ecx], eax
mov eax, dword [esp + 0xc4]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov esi, dword [esp + 0x14]
mov eax, 4
mov word [ecx + 8], ax
mov eax, dword [esp + 0xc0]
mov dword [ecx], eax
mov eax, dword [esp + 0xc4]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.1004e840
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
cmp byte [esp + 0x37], 0x28
mov dword [esp + 0x88], 0
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x104], eax
mov ax, word [ecx + 0x10]
mov word [esp + 0x10c], ax
sbb al, al
mov byte [esp + 0x10e], al
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, esi
mov dword [esp + 0x108], eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x108]
push eax
call fcn.100543a0
mov dword [esp + 0x24], eax
add esp, 8
mov eax, dword [esp + 0x10]
test byte [eax], 1
mov eax, dword [esp + 0x88]
jne 0x1005bd1f
neg eax
jmp 0x1005bd20
inc eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
test ecx, ecx
jne 0x1005afc8
test eax, eax
jg 0x1005d2e7
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea edi, [eax + ecx*8]
mov eax, 0x2460
test word [edi + 8], ax
je 0x1005bd71
mov ecx, edi
call fcn.10057780
mov edx, dword [esp + 0x10]
mov edi, eax
jmp 0x1005bd7a
mov eax, 4
mov word [edi + 8], ax
mov eax, 1
mov word [edi + 8], ax
mov eax, dword [esi + 0xb4]
inc eax
cmp dword [esi + 0xa8], eax
jg 0x1005dc41
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esp + 0x40], ecx
shl ecx, 4
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xb8], 0
mov dword [esp + 0x48], ecx
mov esi, dword [ecx + eax + 4]
cmp byte [esi + 9], 0
je 0x1005bdd3
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x1005bdd3
mov ecx, esi
call fcn.100423f0
mov edx, dword [esp + 0x28]
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call fcn.1004b850
add esp, 4
mov dword [esp + 0x1c], eax
cmp byte [esi + 9], 0
je 0x1005be00
add dword [esi + 0xc], 0xffffffff
jne 0x1005be00
mov ecx, esi
call fcn.100423b0
mov esi, dword [esp + 0xb8]
mov eax, 4
mov ecx, dword [esp + 0x1c]
mov word [edi + 8], ax
mov eax, esi
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
test ecx, ecx
jne 0x1005afc0
test esi, esi
je 0x10057a29
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x10]
add edi, dword [esp + 0x48]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1005be59
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], esi
jne 0x1005be53
mov dword [ecx + 0x1c], edx
mov eax, dword [eax]
test eax, eax
jne 0x1005be48
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x1005be74
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x2c], esi
jne 0x1005be6e
mov dword [ecx + 0x2c], edx
mov eax, dword [eax]
test eax, eax
jne 0x1005be63
mov al, byte [esp + 0x40]
add al, 1
mov byte [esp + 0x6b], al
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x244]
xor ecx, ecx
mov dword [esp + 0x244], 0
cmp dword [edx + 0xc], ecx
cmove eax, ecx
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [edx + 8]
mov edx, dword [edx + 4]
add eax, eax
mov ecx, dword [ecx + eax*8 + 4]
call fcn.1004b790
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [ecx + 0xc], 0
je 0x1005bf00
mov eax, dword [esp + 0x244]
add dword [edi + 0x2c], eax
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jle 0x1005befc
mov esi, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
cdq
add dword [esi + ecx*8], eax
mov eax, esi
mov esi, dword [esp + 0x14]
adc dword [eax + ecx*8 + 4], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1005dcb7
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + ecx*4]
cmp byte [ecx], 1
jne 0x1005bf3c
mov edx, dword [ecx + 0x28]
mov ecx, esi
call fcn.1005fc00
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov ecx, dword [ecx + 0x28]
push 0
mov edx, dword [ecx + 0x40]
mov ecx, dword [ecx + 8]
call fcn.1004b790
add esp, 4
jmp 0x10059e2f
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea edi, [eax + ecx*8]
mov eax, 0x2460
test word [edi + 8], ax
je 0x1005bf7a
mov ecx, edi
call fcn.10057780
mov edi, eax
jmp 0x1005bf83
mov eax, 4
mov word [edi + 8], ax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xbc], 0
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x28], eax
add ecx, ecx
mov eax, dword [esi + 0x10]
mov esi, dword [eax + ecx*8 + 4]
cmp byte [esi + 9], 0
je 0x1005bfbb
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x1005bfbb
mov ecx, esi
call fcn.100423f0
push dword [esp + 0x28]
lea edx, [esp + 0xc0]
mov ecx, esi
call fcn.1004b330
add esp, 4
mov ecx, eax
cmp byte [esi + 9], 0
mov dword [esp + 0x1c], ecx
je 0x1005bfed
add dword [esi + 0xc], 0xffffffff
jne 0x1005bfed
mov ecx, esi
call fcn.100423b0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
test ecx, ecx
jne 0x1005afc4
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x10]
cdq
add ecx, 0x14
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
inc byte [esi + 0x52]
push 0
push 0
push 0
push dword [eax + 0x10]
push esi
call fcn.10082d70
add esp, 0x14
dec byte [esi + 0x52]
jmp 0x10059e2f
mov edx, dword [esp + 0x10]
lea eax, [edi + 0x6c]
mov dword [esp + 0x12c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x128], esi
mov ecx, dword [edx + 4]
push dword [edx + 0x10]
mov dword [esp + 0x134], ecx
add ecx, ecx
push str.sqlite_master
push dword [eax + ecx*8]
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s_ORDER_BY_rowid
push esi
call fcn.10031dd0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1005dc56
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x128]
push 0
push ecx
push fcn.100871a0
push esi
push eax
mov byte [eax + 0x9d], 1
mov dword [esp + 0x148], 0
call fcn.10082d70
add esp, 0x14
mov edx, esi
mov esi, dword [esp + 0x14]
test eax, eax
mov ecx, esi
cmove eax, dword [esp + 0x134]
mov dword [esp + 0x1c], eax
call fcn.1002f8b0
cmp dword [esp + 0x1c], 0
mov byte [esi + 0x9d], 0
jne 0x1005dc62
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [eax + 4]
call fcn.1006ea90
jmp 0x10059e2f
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 0x10]
add ecx, ecx
mov edi, dword [eax + ecx*8 + 0xc]
lea eax, [esp + 0xd8]
push eax
lea ecx, [edi + 8]
call fcn.10034500
add esp, 4
mov esi, dword [eax + 8]
test esi, esi
je 0x1005c186
push dword [esp + 0xd8]
mov edx, eax
lea ecx, [edi + 8]
call fcn.100345e0
add esp, 4
test esi, esi
je 0x1005c186
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x1d8], 0
jne 0x1005c151
add dword [esi + 0x20], 0xffffffff
jne 0x1005c170
mov edx, esi
mov esi, eax
mov ecx, esi
call fcn.10070c70
mov ecx, dword [esp + 0x10]
or dword [esi + 0x18], 1
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov ecx, dword [esp + 0x10]
mov esi, eax
mov edi, dword [esp + 0x18]
or dword [esi + 0x18], 1
add ecx, 0x14
jmp 0x100578b6
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
or dword [esi + 0x18], 1
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, esi
push dword [eax + 0x10]
mov edx, dword [eax + 4]
call fcn.10070890
mov ecx, dword [esp + 0x14]
add esp, 4
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, esi
push dword [eax + 0x10]
mov edx, dword [eax + 4]
call fcn.10094190
mov ecx, dword [esp + 0x14]
add esp, 4
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
add edx, 4
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
lea eax, [esp + 0xdc]
push eax
mov eax, dword [ecx + esi*8]
mov ecx, dword [esp + 0x18]
inc eax
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
push dword [eax + 8]
movzx eax, word [eax + 2]
add eax, eax
mov ecx, dword [ecx + eax*8 + 4]
call fcn.1004c700
add esp, 0xc
mov dword [esp + 0x28], eax
mov ecx, edi
call fcn.1004e840
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x1005c274
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1005d0e3
mov ecx, dword [esp + 0x20]
dec eax
cdq
push fcn.1002f800
push 1
sub dword [ecx + esi*8], eax
mov eax, ecx
push 0xffffffffffffffff
mov ecx, edi
sbb dword [eax + esi*8 + 4], edx
mov edx, dword [esp + 0x34]
call fcn.1004eaa0
add esp, 0xc
mov al, byte [esp + 0x5c]
mov ecx, edi
movzx edx, al
call fcn.1004deb0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x20
lea esi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea edi, [eax + eax*4]
jne 0x1005c2c5
mov ecx, esi
call fcn.1004e8e0
test byte [esi + 8], 0x20
je 0x1005d0e3
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
call fcn.10039d50
add esp, 8
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x20
lea edi, [ecx + eax*8]
je 0x1005c36d
mov esi, dword [edi]
movzx eax, word [esi + 0x1a]
test al, 2
jne 0x1005c328
test al, 1
jne 0x1005c323
mov ecx, dword [esi + 8]
call fcn.10039e60
mov dword [esi + 8], eax
or word [esi + 0x1a], 3
mov eax, dword [esi + 8]
test eax, eax
je 0x1005c36d
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov dword [esi + 8], eax
test eax, eax
jne 0x1005c34d
mov ecx, esi
call fcn.10039cc0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x24]
push edi
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.1004e8a0
add esp, 8
jmp 0x1005d498
mov ecx, edi
call fcn.1004e840
jmp case.0x100578da.13
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x20
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea edi, [eax + eax*4]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x28], eax
jne 0x1005c3b7
mov ecx, esi
call fcn.1004e8e0
test byte [esi + 8], 0x20
je 0x1005d0e3
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x1005c3dc
push dword [ecx + edi*8 + 4]
mov edx, eax
push dword [ecx + edi*8]
mov ecx, dword [esi]
call fcn.1003a0c0
add esp, 8
test eax, eax
jne 0x1005d2e7
mov eax, dword [esp + 0x28]
test eax, eax
js 0x10057a29
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
call fcn.10039d50
add esp, 8
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], esi
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
cmp word [eax + 2], 0
je 0x1005c454
mov eax, dword [edi + 0xc4]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x1005c450
nop
cmp dword [eax + 0x1c], ecx
je 0x100579cd
mov eax, dword [eax + 4]
test eax, eax
jne 0x1005c440
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 0xcc]
mov edi, dword [esp + 0x14]
cmp eax, dword [edi + 0x8c]
jge 0x1005dc7b
test byte [ecx + 8], 0x40
jne 0x1005c627
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add eax, ecx
test ecx, ecx
lea esi, [eax + 1]
cmovne esi, eax
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
add eax, 7
mov eax, eax
test eax, eax
jns 0x1005c4a0
add eax, 7
sar eax, 3
lea eax, [eax + ecx*4]
mov ecx, edi
cdq
push edx
push eax
call fcn.1002fb30
mov edi, eax
add esp, 8
test edi, edi
je 0x1005d0e3
mov ecx, dword [esp + 0x38]
call fcn.1004e410
mov eax, dword [esp + 0x38]
mov ecx, 0x40
mov edx, dword [esp + 0x10]
sub edx, dword [esp + 0x54]
mov word [eax + 8], cx
mov ecx, dword [esp + 0x24]
mov dword [eax], edi
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov dword [edi + 0x3c], esi
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x40], eax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
mov dword [edi + 0x30], eax
mov eax, dword [edx + 0x5c]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x38], eax
mov eax, dword [edx + 0x70]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x2c], eax
mov eax, dword [edx + 0x58]
mov dword [edi + 8], eax
mov eax, dword [edx + 0x88]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
lea eax, [edi + 0x50]
cmp eax, ecx
je 0x1005c562
mov edx, dword [esp + 0x14]
mov esi, 0x80
nop
mov word [eax + 8], si
mov dword [eax + 0x20], edx
add eax, 0x28
cmp eax, ecx
jne 0x1005c550
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
inc dword [edx + 0xcc]
mov eax, dword [edx + 0xc4]
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 0x24]
lea ecx, [edi + 0x50]
mov dword [edi + 0x24], eax
mov eax, dword [edx + 0x2c]
mov dword [edi + 0x44], eax
mov eax, dword [edx]
mov dword [esp + 0x20], ecx
mov eax, dword [eax + 0x5c]
mov dword [edi + 0x48], eax
mov eax, dword [edx + 0xd8]
mov dword [edi + 0x28], eax
mov dword [edx + 0x5c], ecx
mov dword [edx + 0xd8], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0xc4], edi
mov eax, dword [edi + 0x3c]
mov dword [edx + 0x18], eax
movzx eax, word [edi + 0x40]
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0x18]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov dword [edx + 0x70], ecx
mov eax, dword [esi + 0xc]
lea ecx, [ecx + eax*4]
mov dword [edi + 0x18], ecx
mov eax, dword [esi + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call fcn.100e5e30
mov edx, dword [esi]
add esp, 0xc
mov edi, dword [esp + 0x18]
mov dword [esp + 0x54], edx
mov dword [edi + 0x58], edx
mov eax, dword [esi + 4]
lea esi, [edx - 0x14]
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov dword [edi + 0x88], eax
jmp 0x100578b6
mov edi, dword [ecx]
mov edx, dword [esp + 0x18]
jmp 0x1005c566
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea esi, [eax + ecx*8]
mov eax, 0x2460
test word [esi + 8], ax
je 0x1005c658
mov ecx, esi
call fcn.10057780
mov esi, eax
jmp 0x1005c661
mov eax, 4
mov word [esi + 8], ax
mov edx, dword [edi + 0xc4]
push 0x1000
mov eax, dword [edx + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4 + 4]
mov ecx, dword [esp + 0x14]
add eax, dword [ecx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea edx, [eax + ecx*8]
mov ecx, esi
call fcn.1004e9e0
mov ecx, dword [esp + 0x14]
add esp, 4
mov esi, dword [esp + 0x14]
add ecx, 0x14
jmp 0x100578b6
test dword [esi + 0x1c], 0x80000
mov eax, dword [esp + 0x10]
je 0x1005c6cc
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x10]
cdq
add dword [esi + 0x1d0], eax
adc dword [esi + 0x1d4], edx
add ecx, 0x14
jmp 0x100578b6
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x10]
cdq
je 0x1005c6ee
add dword [esi + 0x1c8], eax
adc dword [esi + 0x1cc], edx
add ecx, 0x14
jmp 0x100578b6
add dword [edi + 0x40], eax
adc dword [edi + 0x44], edx
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0
je 0x1005c736
mov eax, dword [esi + 0x1c8]
or eax, dword [esi + 0x1cc]
jne 0x10057a31
mov eax, dword [esi + 0x1d0]
or eax, dword [esi + 0x1d4]
je 0x1005c80e
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [edi + 0x40]
or eax, dword [edi + 0x44]
jmp 0x1005c712
mov edx, dword [edi + 0xc4]
test edx, edx
je 0x1005c76b
mov eax, dword [edx + 4]
test eax, eax
je 0x1005c759
nop
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x1005c750
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea edi, [eax + ecx*8]
jmp 0x1005c77c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov ecx, edi
call fcn.1004e5d0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.1004e5d0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x10057a29
jl 0x1005c7b3
cmp dword [edi], eax
jae 0x10057a29
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea esi, [eax + eax*4]
mov edi, dword [edx + esi*8 + 4]
mov ecx, dword [edx + esi*8]
test edi, edi
jl 0x10057a29
jg 0x1005c7f3
test ecx, ecx
je 0x10057a29
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
cdq
sub ecx, eax
sbb edi, edx
mov edx, dword [esp + 0x20]
mov dword [edx + esi*8], ecx
mov dword [edx + esi*8 + 4], edi
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov esi, dword [esp + 0x54]
add esi, 0xffffffec
lea eax, [eax + eax*4]
lea esi, [esi + eax*4]
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
jmp 0x100578b6
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea edi, [eax + eax*4]
mov eax, dword [esi + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [esi + 8]
mov dword [esp + 0x28], edx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x5c]
lea esi, [eax + ecx*8]
mov eax, 0x2460
test word [esi + 8], ax
je 0x1005c874
mov ecx, esi
call fcn.10057780
mov edx, dword [esp + 0x28]
mov esi, eax
jmp 0x1005c87d
mov eax, 4
mov word [esi + 8], ax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + edi*8]
mov eax, dword [eax + edi*8 + 4]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
test eax, eax
jl 0x1005c90a
jg 0x1005c8a8
test ecx, ecx
je 0x1005c90a
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + edx*8]
mov ecx, dword [ecx + edx*8 + 4]
test ecx, ecx
jl 0x1005c8bd
jg 0x1005c8ce
test eax, eax
jne 0x1005c8ce
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0xd0]
call fcn.10033e00
add esp, 8
test eax, eax
jne 0x1005c90a
mov eax, dword [esp + 0xc8]
mov dword [esi], eax
mov eax, dword [esp + 0xcc]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + esi*8]
mov edx, dword [eax + esi*8 + 4]
mov eax, ecx
or eax, edx
je 0x100579cd
test edx, edx
jl 0x1005c80e
jg 0x1005c95c
test ecx, ecx
je 0x1005c80e
mov eax, dword [esp + 0x20]
sub ecx, 1
sbb edx, 0
mov dword [eax + esi*8], ecx
mov dword [eax + esi*8 + 4], edx
jmp 0x1005c80e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8]
mov edx, dword [edx + ecx*8 + 4]
cmp edx, 0x80000000
jl 0x1005c9ac
jg 0x1005c995
test eax, eax
je 0x1005c9ac
mov edi, dword [esp + 0x20]
sub eax, 1
sbb edx, 0
mov dword [edi + ecx*8], eax
mov eax, edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*8 + 4], edx
mov edx, dword [esp + 0x20]
mov eax, dword [edx + ecx*8]
or eax, dword [edx + ecx*8 + 4]
je 0x1005c80e
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
movzx eax, word [eax + 2]
mov dword [esp + 0x2c], eax
lea eax, [eax*4 + 0x44]
push eax
call fcn.1002fbc0
mov esi, eax
add esp, 8
test esi, esi
je 0x1005dfa4
mov eax, dword [esp + 0x28]
add eax, 7
mov dword [esi + 8], 0
lea ecx, [esi + eax*4]
mov eax, 1
mov dword [esi], ecx
mov word [ecx + 8], ax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x18], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x10]
sub ecx, dword [esp + 0x54]
mov dword [esi + 4], eax
mov eax, 0x66666667
imul ecx
mov dword [esi + 0xc], edi
sar edx, 3
mov eax, edx
mov byte [esi + 0x18], 0
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov byte [esi + 0x19], al
mov eax, dword [esp + 0x10]
mov word [eax], 0xf097
mov dword [eax + 0x10], esi
jmp 0x1005ca66
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], esi
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov dword [esp + 0x48], edi
cmp dword [esi + 8], edi
je 0x1005cabe
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 8], edi
js 0x1005cabe
mov edi, dword [esp + 0x10]
lea edx, [esi + 0x1c]
mov esi, dword [esp + 0x20]
lea edx, [edx + ecx*4]
nop dword [eax]
mov eax, dword [edi + 8]
lea edx, [edx - 4]
add eax, ecx
sub ecx, 1
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [edx + 4], eax
jns 0x1005caa0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x48]
inc dword [edi + 0xc]
lea eax, [esi + 0x1c]
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x10057a29
jle 0x1005cb09
push dword [esi]
call fcn.10054c80
mov edi, dword [esp + 0x1c]
add esp, 4
push eax
push 0x10133120
push edi
call fcn.1004f520
mov eax, dword [esi + 0x14]
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x1005cb0d
mov edi, dword [esp + 0x18]
cmp byte [esi + 0x18], 0
je 0x1005cb38
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0x10]
test eax, eax
je 0x1005cb34
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
push 0
push 1
lea ecx, [ecx + eax*8]
call fcn.1004e8a0
add esp, 8
mov byte [esi + 0x18], 0
mov ecx, dword [esi]
call fcn.1004e410
mov eax, dword [esi]
mov ecx, 1
mov word [eax + 8], cx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x14], 0
mov esi, dword [esp + 0x14]
jmp 0x10059e35
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov edx, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.1004e230
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1005dc9b
movzx edx, byte [esp + 0x5c]
mov ecx, esi
call fcn.1004deb0
movzx eax, word [esi + 8]
test al, 0x12
je 0x100579cd
mov edx, dword [esi + 0xc]
test eax, 0x4000
je 0x1005cba9
add edx, dword [esi]
mov eax, dword [esi + 0x20]
xor ecx, ecx
mov esi, dword [esp + 0x14]
cmp edx, dword [eax + 0x64]
setg cl
test ecx, ecx
jne 0x1005dd11
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
lea eax, [esp + 0x258]
mov dword [esp + 0x250], 0
push eax
lea eax, [esp + 0x258]
mov dword [esp + 0x25c], 0xffffffff
push eax
mov eax, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x25c], 0xffffffff
push dword [eax + 8]
mov edx, dword [eax + 4]
call fcn.100ab7d0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x1005cc37
cmp ecx, 5
jne 0x1005afc8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x250], 1
mov eax, dword [esp + 0x10]
xor esi, esi
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
nop word [eax + eax]
mov eax, dword [esp + esi*4 + 0x250]
mov ecx, edi
cdq
push edx
push eax
call fcn.1004e8a0
inc esi
add esp, 8
add edi, 0x28
cmp esi, 3
jl 0x1005cc50
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea esi, [eax + ecx*8]
mov eax, 0x2460
mov dword [esp + 0x28], esi
test word [esi + 8], ax
je 0x1005ccad
mov ecx, esi
call fcn.10057780
mov dword [esp + 0x28], eax
jmp 0x1005ccb6
mov eax, 4
mov word [esi + 8], ax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x14]
add ecx, ecx
cmp edx, 0xffffffff
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
mov dword [esp + 0x48], eax
mov eax, dword [eax + 4]
mov edi, dword [eax]
movzx ecx, byte [edi + 5]
cmove edx, ecx
mov dword [esp + 0x24], ecx
cmp byte [edi + 0x10], 3
jb 0x1005ccee
xor eax, eax
jmp 0x1005cd0d
mov eax, dword [edi + 0x40]
cmp dword [eax], 0
je 0x1005cd08
cmp dword [edi + 0x4c], 0
jl 0x1005cd08
jg 0x1005cd04
cmp dword [edi + 0x48], 0
jbe 0x1005cd08
xor eax, eax
jmp 0x1005cd0d
mov eax, 1
test eax, eax
mov esi, ecx
mov eax, 0x1012fc88
cmovne esi, edx
cmp byte [edi + 0xf], 0
jne 0x1005cd25
mov eax, dword [edi + 0xa8]
cmp esi, 5
jne 0x1005cd55
mov ecx, eax
call fcn.10032b60
test eax, eax
je 0x1005cda9
cmp byte [edi + 0xd], 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax]
jne 0x1005cda9
cmp byte [edi + 4], 0
jne 0x1005cd51
cmp dword [eax], 2
jl 0x1005cda9
cmp dword [eax + 0x34], 0
je 0x1005cda9
mov ecx, dword [esp + 0x24]
cmp esi, ecx
je 0x1005cddd
cmp ecx, 5
je 0x1005cd6b
cmp esi, 5
jne 0x1005cddd
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x47], 0
je 0x1005dcc0
cmp dword [eax + 0xa8], 1
jg 0x1005dcc0
cmp ecx, 5
jne 0x1005cdb1
mov edx, eax
mov ecx, edi
call fcn.1003f430
mov edx, eax
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x1005cddd
mov edx, esi
mov ecx, edi
call fcn.1003f1a0
jmp 0x1005cdc7
mov edx, dword [esp + 0x24]
mov esi, edx
jmp 0x1005cde1
cmp ecx, 4
jne 0x1005cdc0
lea edx, [ecx - 2]
mov ecx, edi
call fcn.1003f1a0
cmp dword [esp + 0x1c], 0
jne 0x1005cddd
mov ecx, dword [esp + 0x48]
xor edx, edx
cmp esi, 5
sete dl
inc edx
call fcn.1004ce80
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x1c], 0
mov ecx, edi
cmove edx, esi
call fcn.1003f1a0
mov esi, dword [esp + 0x28]
mov ecx, 0xa02
mov word [esi + 8], cx
cmp eax, 6
jne 0x1005ce06
xor ecx, ecx
jmp 0x1005ce0d
mov ecx, dword [eax*4 + 0x1012c9b8]
mov dword [esi + 0x10], ecx
call fcn.10032b60
mov dword [esi + 0xc], eax
mov ecx, esi
mov al, byte [esp + 0x5c]
movzx edx, al
mov byte [esi + 0xa], 1
call fcn.1004deb0
jmp 0x10059e79
mov eax, dword [esp + 0x10]
lea ecx, [edi + 0x6c]
mov edx, esi
push dword [eax + 4]
call fcn.10097c80
add esp, 4
jmp 0x10059e2f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x10]
add ecx, ecx
mov ecx, dword [eax + ecx*8 + 4]
call fcn.10045c30
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x10057a31
cmp ecx, 0x65
jne 0x1005afc8
mov dword [esp + 0x1c], 0
jmp 0x1005c80e
cmp dword [ecx + 4], 0
jne 0x1005ce9a
mov ecx, esi
call fcn.100544c0
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
or dword [edi + 0x94], 1
add ecx, 0x14
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov al, byte [eax + 0xc]
mov byte [esp + 0xe0], al
test al, al
jne 0x1005cec8
test dword [esi + 0x1c], 0x400
jne 0x10057a31
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x10]
push dword [esp + 0xe0]
mov eax, dword [eax + 4]
add eax, eax
mov edx, dword [edx + 8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.1004cd50
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x10057a31
cmp cl, 6
jne 0x1005afc8
mov eax, dword [esp + 0x10]
push dword [eax + 0x10]
push str.database_table_is_locked:__s
push edi
call fcn.1004f520
mov ecx, dword [esp + 0x28]
add esp, 0xc
jmp 0x1005afc8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + 0x10]
mov edx, esi
call fcn.10099580
mov ecx, eax
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x10059e81
mov edx, dword [esi + 8]
mov ecx, edi
call fcn.100545e0
mov ecx, dword [esp + 0x1c]
jmp 0x10059e81
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x20]
movq qword [esp + 0x1f0], xmm0
movaps xmmword [esp + 0x1d0], xmm0
mov eax, dword [eax + 8]
movaps xmmword [esp + 0x1e0], xmm0
mov dword [esp + 0x1f0], esi
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
lea ecx, [esp + 0x1d0]
call fcn.1004ea30
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1d0]
push eax
call fcn.10054c80
add esp, 4
test eax, eax
je 0x1005cfc8
lea ecx, [edi + 0x6c]
push ecx
push eax
mov eax, dword [esp + 0x18]
mov ecx, esi
mov edx, dword [eax + 4]
call fcn.10098ff0
add esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1d0]
call fcn.1004e410
mov ecx, dword [esp + 0x1c]
jmp 0x10059e35
mov eax, dword [esp + 0x10]
mov ecx, esi
inc dword [esi + 0xb4]
push dword [eax + 0x10]
mov edx, dword [eax + 4]
call fcn.10099350
add esp, 4
dec dword [esi + 0xb4]
jmp 0x10059e2f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x114], 0
mov eax, dword [eax + 0x10]
mov edi, dword [eax + 8]
test edi, edi
je 0x1005dcf1
mov eax, dword [edi]
mov dword [esp + 0x48], eax
test eax, eax
je 0x1005dcf1
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x114]
push ecx
push edi
call eax
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, edi
mov dword [esp + 0x1c], eax
call fcn.100545e0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1005afc4
mov eax, dword [esp + 0x114]
mov dword [eax], edi
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
test edx, edx
jle 0x1005d089
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x18]
sub eax, edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
lea esi, [eax + ecx*8]
mov ecx, dword [esp + 0x18]
jmp 0x1005d090
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x5c]
mov eax, dword [ecx + 0x70]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x1005d0b1
call fcn.10051600
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 0x70]
mov dword [eax + ecx*4], 0
cmp dword [esi + 0x18], 0x60
jge 0x1005d12c
push 0
mov edx, 0x60
mov ecx, esi
call fcn.1004ded0
add esp, 4
test eax, eax
je 0x1005d137
mov eax, dword [esp + 0x48]
push dword [esp + 0x114]
mov eax, dword [eax + 0x1c]
call eax
add esp, 4
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp byte [esi + 0x49], 0
jne 0x1005d114
cmp byte [esi + 0x4a], 0
jne 0x1005d114
cmp dword [esi + 0xb0], 0
mov byte [esi + 0x49], 1
jle 0x1005d10e
mov dword [esi + 0x100], 1
inc dword [esi + 0x108]
push str.out_of_memory
push edi
call fcn.1004f520
add esp, 8
mov ecx, 7
jmp 0x1005afc8
mov eax, dword [esi + 0x14]
and word [esi + 8], 0xd
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x10]
xorps xmm0, xmm0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0x70]
mov dword [eax + edx*4], ecx
xor eax, eax
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov word [ecx + 0x38], ax
lea eax, [ecx + 0x58]
mov word [ecx], 0xff02
mov dword [ecx + 0x48], eax
mov eax, dword [esp + 0x114]
mov dword [ecx + 0x28], eax
inc dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
add edi, 0x28
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
mov esi, dword [edi + edx*8]
lea edi, [edi + edx*8]
movd xmm0, edi
mov dword [esp + 0x28], edi
mov eax, dword [eax + 0x70]
pshufd xmm3, xmm0, 0
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + edx*8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x60]
test esi, esi
jle 0x1005d293
cmp esi, 8
jb 0x1005d27b
cmp dword [0x1013f790], 2
jl 0x1005d27b
movaps xmm2, xmmword [0x10137610]
mov eax, esi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x1005d21a
dec eax
or eax, 0xfffffff8
inc eax
movaps xmm1, xmmword [str.____]
mov edi, esi
sub edi, eax
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx + ecx*4], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx + ecx*4 + 0x10], xmm0
add ecx, 8
cmp ecx, edi
jl 0x1005d230
mov edi, dword [esp + 0x28]
cmp ecx, esi
jge 0x1005d293
lea eax, [ecx + 1]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx + ecx*4], eax
inc ecx
add eax, 0x28
cmp ecx, esi
jl 0x1005d288
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
push edx
push esi
push dword [eax + 0x10]
mov esi, dword [esp + 0x4c]
push dword [esp + 0x54]
mov eax, dword [edi + 0x20]
push esi
call eax
mov edx, dword [esp + 0x38]
add esp, 0x14
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.100545e0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1005afc0
mov eax, dword [edi + 0x28]
push esi
call eax
mov ecx, dword [esp + 0x40]
add esp, 4
mov byte [ecx + 2], 0
test eax, eax
je 0x10057a29
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
jmp 0x1005c812
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x70]
mov ecx, dword [edx + 4]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x20]
cmp byte [edi + 2], 0
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
je 0x1005d32f
mov ecx, esi
call fcn.1004e840
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
cmp word [edx + 2], 0
xorps xmm0, xmm0
mov eax, dword [edi + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [eax]
movaps xmmword [esp + 0x1b0], xmm0
mov dword [esp + 0x28], eax
movaps xmmword [esp + 0x1c0], xmm0
mov dword [esp + 0x1b0], esi
je 0x1005d377
mov ecx, esi
call fcn.1004e840
mov edx, dword [esp + 0x10]
mov eax, 0x4001
mov dword [esi], 0
jmp 0x1005d387
mov ax, word [esi + 8]
mov ecx, 0x3e00
and ax, cx
or ax, 1
mov word [esi + 8], ax
lea eax, [esp + 0x1b0]
push dword [edx + 8]
push eax
mov eax, dword [esp + 0x30]
push dword [edi + 0x28]
mov eax, dword [eax + 0x2c]
call eax
mov edi, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x48]
mov ecx, edi
mov dword [esp + 0x1c], eax
call fcn.100545e0
cmp dword [esp + 0x1c4], 0
jle 0x1005d3e5
push esi
call fcn.10054c80
add esp, 4
push eax
push 0x10133120
push edi
call fcn.1004f520
mov eax, dword [esp + 0x1d0]
add esp, 0xc
mov dword [esp + 0x1c], eax
movzx edx, byte [esp + 0x5c]
mov ecx, esi
call fcn.1004deb0
movzx eax, word [esi + 8]
test al, 0x12
je 0x1005cf4d
mov edx, dword [esi + 0xc]
test eax, 0x4000
je 0x1005d409
add edx, dword [esi]
mov eax, dword [esi + 0x20]
xor ecx, ecx
mov esi, dword [esp + 0x14]
cmp edx, dword [eax + 0x64]
setg cl
test ecx, ecx
jne 0x1005dd11
mov ecx, dword [esp + 0x1c]
jmp 0x10059e85
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x70]
mov edi, dword [eax + ecx*4]
cmp byte [edi + 2], 0
jne 0x10057a2d
mov eax, dword [edi + 0x28]
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [esp + 0x2c], ecx
mov eax, dword [ecx + 0x24]
call eax
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edx, esi
mov dword [esp + 0x1c], eax
call fcn.100545e0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1005afc0
mov eax, dword [esp + 0x28]
push dword [edi + 0x28]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x1005d498
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov esi, dword [eax + 8]
dec esi
lea esi, [esi + esi*4]
lea esi, [ecx + esi*4]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x100], 0
jne 0x1005df38
mov eax, dword [esp + 0x84]
cmp eax, dword [esp + 0x8c]
jb 0x10057a2d
mov ecx, dword [esi + 0x138]
test ecx, ecx
je 0x10057a2d
mov edi, dword [esi + 0x140]
xor edx, edx
div edi
push dword [esi + 0x13c]
sub edi, edx
add edi, dword [esp + 0x88]
mov dword [esp + 0x90], edi
call ecx
mov edi, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x1005dd52
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x10]
mov edi, dword [eax + 8]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 2
lea esi, [ecx + eax*8]
je 0x1005d53f
cmp byte [esi + 0xa], 1
je 0x1005d53f
mov dl, 1
mov ecx, esi
call fcn.10032460
mov ecx, eax
test ecx, ecx
jne 0x1005afc0
mov eax, dword [edi]
push dword [esi + 0x10]
push edi
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
mov dword [esp + 0x1c], eax
mov edx, edi
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.100545e0
and dword [edi + 0x94], 0xfffffffe
mov ecx, dword [esp + 0x1c]
jmp 0x10059e81
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 8]
mov dword [esp + 0x48], edx
test edx, edx
je 0x1005dcfb
mov eax, dword [edx]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1005dcfb
cmp dword [eax + 0x34], 0
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
je 0x100579cd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edi, dword [edi + 0x60]
mov al, byte [eax + 0x4e]
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
xor eax, eax
test esi, esi
jle 0x1005d5d3
mov dword [edi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, esi
jl 0x1005d5c8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov al, byte [eax + 2]
mov byte [ecx + 0x4e], al
lea eax, [esp + 0x248]
push eax
mov eax, dword [esp + 0x2c]
push edi
push esi
push edx
mov eax, dword [eax + 0x34]
call eax
mov esi, dword [esp + 0x24]
add esp, 0x10
mov edi, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x37]
mov byte [esi + 0x4e], al
call fcn.100545e0
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
jne 0x1005d63f
cmp dword [eax + 4], 0
je 0x1005d63f
mov eax, dword [esp + 0x248]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x24c]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp cl, 0x13
jne 0x1005d687
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x10], 0
je 0x1005d687
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 2]
cmp eax, 4
jne 0x1005d672
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
add ecx, 0x14
jmp 0x100578b6
cmp eax, 5
jne 0x1005d67c
mov eax, 2
mov byte [edi + 0x8e], al
jmp 0x10059e35
inc dword [edi + 0x2c]
jmp 0x10059e35
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea edx, [eax + ecx*8]
mov eax, 0x2460
test word [edx + 8], ax
je 0x1005d6b5
mov ecx, edx
call fcn.10057780
mov edx, eax
jmp 0x1005d6be
mov eax, 4
mov word [edx + 8], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 4]
mov ecx, dword [esp + 0x10]
add ecx, 0x14
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2c]
mov dword [edx], eax
mov dword [edx + 4], 0
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
lea edx, [eax + ecx*8]
mov eax, 0x2460
mov dword [esp + 0x28], edx
test word [edx + 8], ax
je 0x1005d715
mov ecx, edx
call fcn.10057780
mov dword [esp + 0x28], eax
jmp 0x1005d71e
mov eax, 4
mov word [edx + 8], ax
mov edx, dword [esp + 0x10]
xor edi, edi
mov eax, dword [esi + 0x10]
mov ecx, dword [edx + 4]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x1005d742
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x2c]
cmp edi, ecx
cmovb edi, ecx
cmp byte [esi + 9], 0
je 0x1005d758
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x1005d758
mov ecx, esi
call fcn.100423f0
mov eax, dword [esi + 4]
mov eax, dword [eax]
test edi, edi
jle 0x1005d767
mov dword [eax + 0x9c], edi
cmp byte [esi + 9], 0
mov edi, dword [eax + 0x9c]
je 0x1005d780
add dword [esi + 0xc], 0xffffffff
jne 0x1005d780
mov ecx, esi
call fcn.100423b0
mov ecx, dword [esp + 0x28]
mov eax, edi
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, 0x14
mov edi, dword [esp + 0x18]
jmp 0x100578b6
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
movzx eax, word [eax + 2]
mov dword [esp + 0x2c], eax
lea eax, [eax*4 + 0x1c]
push eax
call fcn.1002fbc0
mov esi, eax
add esp, 8
test esi, esi
je 0x1005dfa4
mov eax, dword [esp + 0x10]
mov dword [esi], 0
mov ecx, dword [eax + 0x10]
mov dword [esi + 4], ecx
mov ecx, eax
sub ecx, dword [esp + 0x54]
mov eax, 0x66666667
imul ecx
mov dword [esi + 0xc], edi
sar edx, 3
mov eax, edx
mov dword [esi + 0x14], 0
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov byte [esi + 0x19], al
mov eax, dword [esp + 0x10]
add byte [eax], 2
mov byte [eax + 1], 0xf0
mov dword [eax + 0x10], esi
jmp 0x1005d819
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], esi
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov dword [esp + 0x48], edi
cmp dword [esi], edi
je 0x1005d86e
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi], edi
js 0x1005d86e
mov edi, dword [esp + 0x10]
lea edx, [esi + 0x1c]
mov esi, dword [esp + 0x20]
lea edx, [edx + ecx*4]
nop
mov eax, dword [edi + 8]
lea edx, [edx - 4]
add eax, ecx
sub ecx, 1
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [edx + 4], eax
jns 0x1005d850
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x48]
mov ax, word [edi + 8]
mov ecx, 0x3e00
and ax, cx
or ax, 1
mov word [edi + 8], ax
lea eax, [esi + 0x1c]
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x1005d8f5
jle 0x1005d8c2
push edi
call fcn.10054c80
add esp, 4
push eax
push 0x10133120
push dword [esp + 0x20]
call fcn.1004f520
mov eax, dword [esi + 0x14]
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push dword [eax + 4]
mov eax, dword [esp + 0x1c]
push dword [esi + 0x10]
lea edx, [eax + 0xd8]
call fcn.10052800
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [esi + 0x14], 0
test ecx, ecx
jne 0x1005afc0
test byte [edi + 8], 0x12
je 0x10057a29
movzx edx, byte [esp + 0x5c]
mov ecx, edi
call fcn.1004deb0
movzx eax, word [edi + 8]
test al, 0x12
je 0x10057a29
mov edx, dword [edi + 0xc]
test eax, 0x4000
je 0x1005d923
add edx, dword [edi]
mov eax, dword [edi + 0x20]
xor ecx, ecx
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp edx, dword [eax + 0x64]
setg cl
test ecx, ecx
jne 0x1005dd11
mov ecx, dword [esp + 0x10]
add ecx, 0x14
jmp 0x100578b6
mov cl, byte [esi + 0x50]
test cl, 0x81
je 0x1005da09
test byte [edi + 0x94], 2
jne 0x1005da09
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x1005d97c
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x1005da09
test cl, cl
jns 0x1005d9b3
mov ecx, dword [esp + 0x18]
mov edx, eax
mov edi, dword [esi + 0xc0]
call fcn.10056fd0
mov esi, eax
mov eax, dword [esp + 0x14]
push esi
push dword [eax + 0xc4]
call edi
push esi
call fcn.1002f800
mov esi, dword [esp + 0x20]
add esp, 0xc
mov edi, dword [esp + 0x18]
jmp 0x1005da09
cmp dword [esi + 0xb0], 1
push eax
jle 0x1005d9f5
push str.____s
push esi
call fcn.10031dd0
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x14]
push esi
mov ecx, dword [eax + 0xc0]
push edi
push dword [eax + 0xc4]
push 1
call ecx
add esp, 0x10
mov edx, esi
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.1002f8f0
jmp 0x1005da09
mov eax, dword [esi + 0xc0]
push edi
push dword [esi + 0xc4]
push 1
call eax
add esp, 0x10
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
cmp eax, dword [0x1013e0a4]
jl 0x1005da6d
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0xa7
je case.0x100578da.83
mov edx, 1
cmp dword [edi + 0x88], edx
jle 0x1005da54
mov eax, 0x14
mov ecx, dword [edi + 0x58]
cmp byte [eax + ecx], 0x14
jne 0x1005da48
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [edi + 0x88]
jl 0x1005da37
mov esi, dword [esp + 0x10]
mov dword [esi + 4], 0
inc dword [esi + 4]
inc dword [edi + 0xb8]
jmp 0x1005c812
mov esi, dword [esp + 0x10]
inc dword [esi + 4]
inc dword [edi + 0xb8]
jmp 0x1005c812
mov ecx, dword [edx + 4]
mov dword [edi + 0x28], ecx
mov al, byte [edx + 8]
mov byte [edi + 0x8e], al
mov dword [edi + 0x24], esi
test ecx, ecx
je 0x1005db0b
movzx eax, word [edx + 2]
test ax, ax
je 0x1005dadc
push dword [eax*4 + 0x1012c838]
push str._s_constraint_failed
push edi
call fcn.1004f520
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1005daed
push eax
push dword [edi + 0x6c]
push str._z:__s
push dword [esp + 0x20]
call fcn.10031dd0
add esp, 0x10
mov dword [edi + 0x6c], eax
jmp 0x1005daed
push dword [edx + 0x10]
push 0x10133120
push edi
call fcn.1004f520
add esp, 0xc
push dword [edi + 0x6c]
mov eax, dword [esp + 0x14]
push dword [edi + 0xbc]
push esi
push str.abort_at__d_in___s_:__s
push dword [eax + 4]
call fcn.10032090
add esp, 0x14
mov ecx, edi
call fcn.10052310
mov dword [esp + 0x1c], eax
cmp eax, 5
jne 0x1005deec
mov dword [edi + 0x28], eax
jmp 0x1005e099
mov ecx, 0x14a86
call fcn.100acc00
mov ecx, eax
jmp 0x1005afc0
push str.cannot_open_savepoint___SQL_statements_in_progress
push edi
call fcn.1004f520
mov esi, dword [esp + 0x1c]
add esp, 8
mov ecx, 5
jmp 0x1005afc8
mov edi, dword [esp + 0x18]
push str.cannot_release_savepoint___SQL_statements_in_progress
push edi
call fcn.1004f520
add esp, 8
mov ecx, 5
jmp 0x1005afc8
mov ecx, dword [esp + 0x10]
mov eax, 0x66666667
sub ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x18]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x24], eax
mov eax, 5
mov byte [esi + 0x47], 0
mov dword [esp + 0x1c], eax
mov dword [edi + 0x28], eax
jmp 0x1005e099
mov ecx, 8
jmp 0x1005afc8
cmp cl, 5
jne 0x10058739
mov ecx, dword [esp + 0x10]
mov eax, 0x66666667
sub ecx, dword [esp + 0x54]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x28], eax
jmp 0x1005e099
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [eax + 0x6c]
call fcn.1002f8f0
mov edx, str.database_schema_has_changed
mov ecx, edi
call fcn.1002fe30
mov edx, dword [esp + 0x18]
mov dword [edx + 0x6c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov ecx, edx
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
cmp dword [eax], esi
mov esi, dword [esp + 0x14]
je 0x1005dc22
mov ecx, esi
call fcn.10070a80
mov edi, dword [esp + 0x18]
mov ecx, 0x11
or dword [edi + 0x94], 1
jmp 0x1005afc8
mov ecx, 0x204
jmp 0x1005afc8
mov edi, dword [esp + 0x18]
mov ecx, 6
mov byte [edi + 0x8e], 2
jmp 0x1005afc8
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], 7
mov ecx, esi
call fcn.10070ae0
mov ecx, dword [esp + 0x1c]
cmp ecx, 7
je 0x1005d0eb
jmp 0x1005afc8
mov edi, dword [esp + 0x18]
push str.too_many_levels_of_trigger_recursion
push edi
call fcn.1004f520
mov esi, dword [esp + 0x1c]
add esp, 8
mov ecx, 1
jmp 0x1005afc8
push esi
call fcn.10054c80
add esp, 4
push eax
push 0x10133120
push edi
call fcn.1004f520
mov esi, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
jmp 0x1005afc8
mov edi, dword [esp + 0x18]
mov ecx, str.out_of
cmp esi, 5
mov eax, str.into
cmovne eax, ecx
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push edi
call fcn.1004f520
mov esi, dword [esp + 0x20]
add esp, 0xc
mov ecx, 1
jmp 0x1005afc8
mov ecx, 6
jmp 0x1005afc4
mov ecx, 6
jmp 0x1005afc8
mov esi, eax
jmp 0x1005dd0d
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push str.string_or_blob_too_big
push edi
call fcn.1004f520
add esp, 8
mov ecx, 0x12
jmp 0x1005afc8
mov eax, dword [esi + 0x138]
test eax, eax
je 0x1005dd5c
mov ecx, dword [esp + 0x84]
cmp ecx, dword [esp + 0x8c]
jb 0x1005dd5c
push dword [esi + 0x13c]
call eax
add esp, 4
test eax, eax
je 0x1005dd5c
mov ecx, 9
jmp 0x1005afc8
xor edx, edx
mov ecx, edi
call fcn.100522b0
mov ecx, eax
test ecx, ecx
jne 0x1005afc8
lea edx, [eax + 1]
mov ecx, edi
call fcn.10052290
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x10]
add eax, 2
mov edx, dword [esp + 0x20]
or eax, 1
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
mov dword [edi + 0x68], esi
xor edi, edi
cmp dword [ecx + 8], edi
jle 0x1005ddce
mov eax, 0x1000
test word [esi + 8], ax
je 0x1005ddba
mov ecx, esi
call fcn.1004e090
test eax, eax
jne 0x1005d0e3
mov ecx, esi
call fcn.1004e130
mov eax, dword [esp + 0x10]
inc edi
add esi, 0x28
cmp edi, dword [eax + 8]
jl 0x1005dda0
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x49], 0
jne 0x1005d0e7
test byte [esi + 0x50], 4
mov edi, dword [esp + 0x18]
je 0x1005ddfc
mov eax, dword [esi + 0xc0]
push 0
push edi
push dword [esi + 0xc4]
push 4
call eax
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov eax, 0x66666667
sub ecx, dword [esp + 0x54]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [edi + 0x24], eax
mov eax, 0x64
mov dword [esp + 0x1c], eax
jmp 0x1005e099
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
movzx eax, byte [eax + 0x47]
cmp ecx, eax
je 0x1005df06
test esi, esi
mov esi, dword [esp + 0x14]
je 0x1005de5f
mov edx, 0x204
mov ecx, esi
call fcn.100aab10
mov byte [esi + 0x47], 1
jmp 0x1005dea3
test ecx, ecx
je 0x1005de84
cmp dword [esi + 0xac], 0
jle 0x1005de84
push str.cannot_commit_transaction___SQL_statements_in_progress
push edi
call fcn.1004f520
add esp, 8
mov ecx, 5
jmp 0x1005afc8
mov edx, 1
mov ecx, edi
call fcn.100522b0
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1005e099
mov eax, dword [esp + 0x28]
mov byte [esi + 0x47], al
mov ecx, edi
call fcn.10052310
cmp eax, 5
jne 0x1005dee5
mov ecx, dword [esp + 0x10]
mov eax, 0x66666667
sub ecx, dword [esp + 0x54]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x24], eax
mov al, 1
sub al, byte [esp + 0x28]
mov byte [esi + 0x47], al
mov eax, 5
mov dword [esp + 0x1c], eax
mov dword [edi + 0x28], eax
jmp 0x1005e099
mov ecx, esi
call fcn.100aa3b0
cmp dword [edi + 0x28], 0
mov eax, 0x65
mov ecx, 1
cmovne eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x1005e099
test ecx, ecx
jne 0x1005df11
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x1005df20
test esi, esi
mov eax, str.cannot_rollback___no_transaction_is_active
mov ecx, str.cannot_commit___no_transaction_is_active
cmove eax, ecx
push eax
push edi
call fcn.1004f520
mov esi, dword [esp + 0x1c]
add esp, 8
mov ecx, 1
jmp 0x1005afc8
mov edi, dword [esp + 0x18]
xor edx, edx
mov ecx, str.unknown_error
cmp byte [esi + 0x49], dl
sete dl
lea edx, [edx*2 + 7]
mov eax, edx
mov dword [esp + 0x1c], edx
mov dword [edi + 0x28], edx
sub eax, 0x64
je 0x1005df87
sub eax, 1
je 0x1005df80
sub eax, 0x19f
je 0x1005df79
mov eax, dword [edx*4 + 0x1012bd40]
test eax, eax
je 0x1005df8c
mov ecx, eax
jmp 0x1005df8c
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x1005df8c
mov ecx, str.no_more_rows_available
jmp 0x1005df8c
mov ecx, str.another_row_available
push ecx
push 0x10133120
push edi
call fcn.1004f520
mov ecx, dword [esp + 0x28]
add esp, 0xc
jmp 0x1005afc8
mov esi, dword [esp + 0x14]
jmp 0x1005d0eb
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x1005dfc0
mov ecx, str.no_more_rows_available
jmp 0x1005dfc0
mov ecx, str.another_row_available
push ecx
push 0x10133120
push edi
call fcn.1004f520
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [edi + 0x28], ecx
cmp ecx, 0xc0a
je 0x1005e005
movzx eax, cl
cmp eax, 0xe
je 0x1005dfeb
cmp eax, 0xa
jne 0x1005e005
mov eax, dword [esi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x1005e000
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x1005e002
xor eax, eax
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x10]
mov eax, 0x66666667
sub ecx, dword [esp + 0x54]
push dword [edi + 0x6c]
imul ecx
push dword [edi + 0xbc]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.statement_aborts_at__d:___s___s
push dword [esp + 0x2c]
call fcn.10032090
add esp, 0x14
mov ecx, edi
call fcn.10052310
cmp dword [esp + 0x1c], 0xc0a
jne 0x1005e073
cmp byte [esi + 0x49], 0
jne 0x1005e073
cmp byte [esi + 0x4a], 0
jne 0x1005e073
cmp dword [esi + 0xb0], 0
mov byte [esi + 0x49], 1
jle 0x1005e06d
mov dword [esi + 0x100], 1
inc dword [esi + 0x108]
mov cl, byte [esp + 0x6b]
mov eax, 1
mov dword [esp + 0x1c], eax
test cl, cl
je 0x1005e099
movzx edx, cl
mov ecx, esi
dec edx
call fcn.10070a80
mov eax, dword [esp + 0x1c]
jmp 0x1005e099
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x84]
add dword [edi + 0xb0], ecx
cmp dword [edi + 0x9c], 0
je 0x1005e0ba
mov ecx, edi
call fcn.10050c80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
xor ecx, esp
call fcn.100ae9aa
mov esp, ebp
pop ebp
ret