Function at 0x5903c0
Capabilities:
Encrypt data using speck
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ecx, ecx
push esi
mov eax, dword [esi]
mov ebx, dword [esi + 0x68]
mov edi, dword [esi + 0x58]
mov dword [ebp - 8], eax
mov al, byte [eax + 0x4e]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ecx
mov byte [ebp - 0xb4], cl
mov byte [ebp - 0x38], al
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x5c], edi
call fcn.0058ad90
mov ecx, dword [ebp - 8]
add esp, 4
mov eax, dword [ecx + 0x148]
test eax, eax
je 0x590426
mov eax, dword [esi + 0xb4]
mov edx, ecx
mov ecx, dword [edx + 0x150]
xor edx, edx
div ecx
sub ecx, edx
mov dword [ebp - 0x58], ecx
jmp 0x59042d
mov dword [ebp - 0x58], 0xffffffff
cmp dword [esi + 0x28], 7
je 0x595a49
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x78], ecx
mov dword [eax + 0x19c], ecx
mov edx, dword [eax + 0x110]
cmp edx, ecx
jne 0x595a69
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x34]
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*8]
mov eax, dword [ebp - 0x7c]
mov cl, byte [ebx]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, ecx
and eax, 0xff
cmp eax, 0xa8
ja case.0x590480.86
jmp dword [eax*4 + 0x595bf0]
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0x34]
lea edx, [eax + eax*4]
mov eax, 0x2aaaaaab
lea ecx, [edi + edx*8]
mov edx, ebx
sub edx, esi
imul edx
sar edx, 2
mov esi, edx
mov eax, edx
shr esi, 0x1f
add eax, esi
mov word [ecx + 8], 4
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x5955c1
mov ebx, dword [ebx + 4]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp + 8]
lea eax, [ebx + ebx*4]
mov ecx, dword [edi + eax*8]
lea eax, [edi + eax*8]
mov edi, dword [ebp - 0x5c]
lea ecx, [ecx + ecx*2]
mov word [eax + 8], 0x80
lea ebx, [edx + ecx*8]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebx + 0xc]
dec eax
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov word [ecx + 8], 4
mov eax, dword [ebx + 8]
test eax, eax
jne 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ebx, dword [ebx + 4]
mov esi, dword [ebp + 8]
lea ecx, [ebx + ebx*4]
mov eax, dword [edi + ecx*8]
lea edi, [edi + ecx*8]
mov ecx, dword [ebp - 0x34]
lea edx, [eax + eax*2]
mov eax, dword [ecx + edx*8 + 8]
mov word [edi + 8], 0x80
mov edi, dword [ebp - 0x5c]
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*8 - 0x18]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0x34]
sub ebx, esi
lea ecx, [eax + eax*4]
mov eax, 0x2aaaaaab
imul ebx
sar edx, 2
mov ebx, edx
mov eax, edx
shr ebx, 0x1f
lea edi, [edi + ecx*8]
add eax, ebx
cdq
mov word [edi + 8], 4
mov ecx, dword [edi]
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x5c]
lea edx, [ecx + ecx*2]
lea ebx, [esi + edx*8]
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
test byte [edi + eax*8 + 8], 1
je case.0x590480.86
mov edx, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [ebx + 4]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
test eax, eax
mov dword [ebp - 0x24], edx
jne 0x59569a
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x59569a
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 8]
mov dword [esi + 0xc8], edx
mov edx, dword [esi + 0xd0]
dec edx
mov dword [esi + 0xd0], edx
mov eax, dword [esi + 0x2c]
push eax
push ecx
call fcn.0058c7e0
push edi
call fcn.0058bd90
mov ecx, dword [ebx + 8]
add esp, 0xc
cmp ecx, 4
jne 0x59060b
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + edx*8 + 8]
dec eax
mov ebx, dword [esi + 0x68]
mov ecx, dword [esi + 0x58]
mov esi, dword [ebp + 8]
lea edx, [eax + eax*2]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], ecx
lea ebx, [ebx + edx*8]
mov edi, ecx
add ebx, 0x18
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov ecx, eax
mov eax, dword [ebx + 4]
cdq
add esp, 8
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ebx, 0x18
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
mov edx, dword [ecx]
add ebx, 0x18
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov word [eax + 8], 8
mov edx, dword [ebx + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov ecx, dword [edx]
add esp, 8
mov dword [eax], ecx
add ebx, 0x18
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
push eax
call fcn.0057b0a0
mov dword [ebx + 4], eax
mov al, byte [ebp - 0x38]
add esp, 0xc
cmp al, 1
je 0x590732
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
push 0
push 1
push 0xffffffffffffffff
push ecx
push edx
call fcn.00589f90
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x595bb4
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
and eax, 0xff
push eax
push ecx
call fcn.0058cbe0
add esp, 8
test eax, eax
jne 0x595a49
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0
or byte [eax + 9], 8
cmp byte [ebx + 1], 0xf9
jne 0x590722
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.00579080
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebx + 1], 0xf9
mov ecx, dword [eax + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 4], edx
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 4]
cmp eax, dword [ecx + 0x6c]
jg 0x595bb4
mov byte [ebx], 0x48
push ebx
push esi
call fcn.0059f850
mov ecx, eax
add esp, 8
mov word [ecx + 8], 0xa02
mov edx, dword [ebx + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [ebx + 4]
mov dl, byte [ebp - 0x38]
mov dword [ecx + 0xc], eax
mov byte [ecx + 0xa], dl
mov eax, dword [ebx + 0xc]
test eax, eax
jle case.0x590480.86
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
xor eax, eax
mov ax, word [ebx + 2]
mov edi, dword [esi]
cdq
cmp edi, eax
jne case.0x590480.86
mov eax, dword [esi + 4]
cmp eax, edx
jne case.0x590480.86
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov word [ecx + 8], 0xa10
add ebx, 0x18
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov esi, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx + 0xc]
add esp, 8
sub eax, esi
mov esi, dword [ebx + 4]
neg esi
sbb esi, esi
and esi, 0x100
inc esi
mov word [edi + 8], si
mov dword [edi + 0xc], 0
test eax, eax
jle case.0x590480.86
mov dword [ebp - 0xc], eax
add edi, 0x28
push edi
call fcn.00589e20
mov eax, dword [ebp - 0xc]
add esp, 4
dec eax
mov word [edi + 8], si
mov dword [edi + 0xc], 0
mov dword [ebp - 0xc], eax
jne 0x5907e1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov esi, dword [ebp + 8]
lea ecx, [eax + eax*4]
mov dx, word [edi + ecx*8 + 8]
lea eax, [edi + ecx*8]
mov edi, dword [ebp - 0x5c]
and edx, 0xff41
or edx, 1
add ebx, 0x18
mov word [eax + 8], dx
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov ecx, dword [ebx + 0x10]
mov esi, eax
mov eax, dword [ebx + 4]
push 0
push 0
push eax
push ecx
push esi
call fcn.00589f90
mov dl, byte [ebp - 0x38]
mov edi, dword [ebp - 0x5c]
add esp, 0x1c
mov byte [esi + 0xa], dl
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x64]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8 - 0x28]
push eax
mov dword [ebp - 0x18], eax
call fcn.0059de80
add esp, 4
test eax, eax
jne 0x595bb4
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
test byte [edi + edx*8 + 9], 0x24
lea eax, [edi + edx*8]
mov dword [ebp - 0x14], eax
je 0x5908a7
push eax
call fcn.00589e20
add esp, 4
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov ecx, 5
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov cx, word [eax + 8]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
and ecx, 0xebff
or ecx, 0x840
add ebx, 0x18
mov word [eax + 8], cx
jmp 0x590465
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0xc], edx
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], ecx
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
mov eax, dword [ebp - 0x1c]
push eax
push edi
call fcn.0058fb20
add esp, 8
test byte [edi + 9], 0x10
je 0x590917
push edi
call fcn.0058a360
add esp, 4
test eax, eax
jne 0x595a49
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add edx, 0x28
add edi, 0x28
dec eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], eax
jne 0x5908f3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0xc], ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*4]
lea edi, [edi + ecx*8]
mov edx, dword [ebp - 0x1c]
push 0x1000
push edx
push edi
call fcn.0059deb0
add esp, 0xc
test byte [edi + 9], 0x10
je 0x59097e
push edi
call fcn.0058a360
add esp, 4
test eax, eax
jne 0x595a49
mov eax, dword [ebp - 0xc]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [ebp - 0xc], eax
je case.0x590480.86
mov eax, dword [ebp - 0x1c]
add edi, 0x28
add eax, 0x28
mov dword [ebp - 0x1c], eax
jmp 0x590955
mov eax, dword [ebx + 4]
push 0x1000
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push edx
call fcn.0059deb0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 4]
push ecx
mov edx, dword [edi + eax*8]
mov eax, dword [ebx + 8]
push edx
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
push ecx
call fcn.0058da60
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea ecx, [edi + edx*8]
mov dword [ebp - 0x1c], ecx
lea edx, [edi + eax*8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], edx
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
mov ax, word [ecx + 8]
mov cl, byte [edx + 8]
mov dword [ebp - 0x14], edi
or cl, al
mov dword [ebp - 0x2c], eax
test cl, 1
je 0x590a47
push edi
call fcn.00589e20
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590465
test al, 0x12
jne 0x590a6e
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
push 0
push edx
push eax
call fcn.0058d0d0
add esp, 0xc
test eax, eax
jne 0x595a49
mov ecx, dword [ebp - 0x1c]
mov ax, word [ecx + 8]
jmp 0x590a8e
test ah, 0x40
je 0x590a96
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0058a410
add esp, 4
test eax, eax
jne 0x595a49
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 8]
and eax, 0xfffd
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
mov ax, word [ecx + 8]
test al, 0x12
mov dword [ebp - 0xc], eax
jne 0x590ac6
mov edx, dword [ebp - 0x38]
push 0
mov eax, ecx
push edx
push eax
call fcn.0058d0d0
add esp, 0xc
test eax, eax
jne 0x595a49
mov ecx, dword [ebp - 0x10]
mov ax, word [ecx + 8]
jmp 0x590ae6
test ah, 0x40
je 0x590aee
mov edx, dword [ebp - 0x10]
push edx
call fcn.0058a410
add esp, 4
test eax, eax
jne 0x595a49
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 8]
and eax, 0xfffd
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xc]
mov ecx, dword [edx + 0xc]
add eax, ecx
cdq
mov edi, eax
mov eax, dword [ebp - 8]
mov ecx, edx
mov dword [ebp - 0x1f0], edi
mov eax, dword [eax + 0x6c]
cdq
cmp ecx, edx
jg 0x595bb4
jl 0x590b20
cmp edi, eax
ja 0x595bb4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
xor ecx, ecx
cmp eax, edx
sete cl
add edi, 3
push ecx
push edi
push eax
call fcn.0058a210
add esp, 0xc
test eax, eax
jne 0x595a49
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dx, word [eax + 8]
and edx, 0x3e40
or edx, 2
cmp eax, ecx
mov word [eax + 8], dx
je 0x590b87
mov eax, ecx
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov edx, ecx
shr ecx, 2
mov edi, dword [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cx, word [ebp - 0xc]
mov word [edx + 8], cx
jmp 0x590b8a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov edi, dword [eax + 0x10]
mov ecx, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
mov edx, dword [ebp - 0x10]
add edi, dword [edx + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cx, word [ebp - 0x2c]
mov esi, dword [ebp + 8]
mov word [edx + 8], cx
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x1f0]
mov edi, dword [ebp - 0x5c]
mov byte [edx + ecx], 0
mov edx, dword [eax + 0x10]
mov byte [edx + ecx + 1], 0
mov edx, dword [eax + 0x10]
mov byte [edx + ecx + 2], 0
or byte [eax + 9], 2
mov dword [eax + 0xc], ecx
mov cl, byte [ebp - 0x38]
mov byte [eax + 0xa], cl
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
lea esi, [edi + edx*8]
push esi
call fcn.0059f770
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
push eax
mov dword [ebp - 0x10], eax
call fcn.0059f770
mov ecx, dword [ebx + 0xc]
add esp, 8
lea ecx, [ecx + ecx*4]
lea edx, [edi + ecx*8]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov dl, byte [ebp - 0x18]
mov cx, word [ecx + 8]
and al, dl
or cx, word [esi + 8]
test al, 4
je 0x590d34
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x70], edx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x6c], ecx
xor ecx, ecx
mov cl, byte [ebx]
add ecx, 0xffffff99
cmp ecx, 3
ja case.default.0x590c5b
jmp dword [ecx*4 + 0x595e94]
push edi
lea edx, [ebp - 0x70]
push eax
push edx
call fcn.005960a0
add esp, 0xc
test eax, eax
jne 0x590d3d
jmp 0x590d07
push edi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00596150
add esp, 0xc
test eax, eax
jne 0x590d3d
jmp 0x590d07
push edi
lea ecx, [ebp - 0x70]
push eax
push ecx
call fcn.005961b0
add esp, 0xc
test eax, eax
jne 0x590d3d
jmp 0x590d07
mov ecx, eax
or ecx, edi
je 0x590e0f
mov ecx, eax
and ecx, edi
cmp ecx, 0xffffffff
jne 0x590ccd
test edx, edx
jne 0x590ccd
cmp dword [ebp - 0x6c], 0x80000000
je 0x590d3d
push edi
push eax
mov eax, dword [ebp - 0x6c]
push eax
push edx
call fcn.0069f140
jmp 0x590d01
mov ecx, eax
or ecx, edi
je 0x590e0f
mov ecx, eax
and ecx, edi
cmp ecx, 0xffffffff
jne 0x590cf5
mov eax, 1
xor edi, edi
push edi
push eax
mov eax, dword [ebp - 0x6c]
push eax
push edx
call fcn.0069f1f0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x70]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x6c]
mov dword [eax + 4], edx
mov cx, word [eax + 8]
and ecx, 0x3e40
or ecx, 4
add ebx, 0x18
mov word [eax + 8], cx
jmp 0x590465
test cl, 1
jne 0x590e0f
push esi
call fcn.0058d220
mov edx, dword [ebp - 0x10]
fstp qword [ebp - 0x28]
push edx
call fcn.0058d220
xor eax, eax
add esp, 8
mov al, byte [ebx]
add eax, 0xffffff99
cmp eax, 3
ja case.default.0x590d5e
jmp dword [eax*4 + 0x595ea4]
fadd qword [ebp - 0x28]
jmp 0x590ddc
fsub qword [ebp - 0x28]
jmp 0x590ddc
fmul qword [ebp - 0x28]
jmp 0x590ddc
fld qword [ebp - 0x28]
fcomp qword [0x752c00]
fnstsw ax
test ah, 0x40
jne 0x590e0d
fdiv qword [ebp - 0x28]
jmp 0x590ddc
push esi
fstp st(0)
call fcn.0058d2c0
mov esi, eax
mov eax, dword [ebp - 0x10]
push eax
mov edi, edx
call fcn.0058d2c0
mov ecx, esi
add esp, 8
or ecx, edi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
je 0x590e0f
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x590dc1
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.0069f1f0
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
fild qword [ebp - 0x140]
fstp qword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
push edx
push eax
call fcn.0057b060
add esp, 8
test eax, eax
je 0x590e29
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00589e20
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590465
fstp st(0)
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00589e20
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
mov dword [eax], edx
mov edi, dword [ebp - 0x5c]
mov dword [eax + 4], ecx
mov dx, word [eax + 8]
and edx, 0x3e40
or edx, 8
add ebx, 0x18
mov word [eax + 8], dx
jmp 0x590465
mov eax, dword [ebx + 4]
test eax, eax
je case.0x590480.86
lea eax, [eax + eax*4]
push 0
push 0
lea ecx, [edi + eax*8]
push ecx
call fcn.0058da60
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea ecx, [ecx + ecx*4]
lea eax, [eax + eax*4]
lea esi, [edi + edx*8]
mov dl, byte [edi + eax*8 + 8]
lea eax, [edi + eax*8]
lea edi, [edi + ecx*8]
mov cl, byte [esi + 8]
or dl, cl
mov dword [ebp - 0x14], edi
test dl, 1
je 0x590ec5
push edi
call fcn.00589e20
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590465
push eax
call fcn.0058d2c0
push esi
mov dword [ebp - 0x88], eax
mov edi, edx
call fcn.0058d2c0
mov esi, eax
mov al, byte [ebx]
add esp, 8
cmp al, 0x63
jne 0x590ef9
mov ecx, dword [ebp - 0x88]
and ecx, esi
and edi, edx
mov dword [ebp - 0x88], ecx
jmp 0x591001
cmp al, 0x64
jne 0x590f12
mov ecx, dword [ebp - 0x88]
or ecx, esi
or edi, edx
mov dword [ebp - 0x88], ecx
jmp 0x591001
mov ecx, esi
or ecx, edx
je 0x591001
test edx, edx
jg 0x590f4a
jl 0x590f26
test esi, esi
jae 0x590f3f
mov cl, 0xcb
sub cl, al
cmp edx, 0xffffffff
mov al, cl
jl 0x590f4a
jg 0x590f38
cmp esi, 0xffffffc0
jbe 0x590f4a
neg esi
adc edx, 0
neg edx
test edx, edx
jl 0x590f7f
jg 0x590f4a
cmp esi, 0x40
jb 0x590f7f
test edi, edi
jg 0x590f6f
jl 0x590f5a
mov ecx, dword [ebp - 0x88]
test ecx, ecx
jae 0x590f6f
cmp al, 0x65
je 0x590f6f
or eax, 0xffffffff
cdq
mov dword [ebp - 0x88], eax
mov edi, edx
jmp 0x591001
xor eax, eax
cdq
mov dword [ebp - 0x88], eax
mov edi, edx
jmp 0x591001
cmp al, 0x65
mov eax, dword [ebp - 0x88]
mov ecx, esi
mov edx, edi
jne 0x590fa0
call fcn.006a2010
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
jmp 0x590fef
call fcn.0069f730
test edi, edi
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
jg 0x590fef
jl 0x590fc1
mov eax, dword [ebp - 0x88]
test eax, eax
jae 0x590fef
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, esi
or edx, 0xffffffff
call fcn.006a2010
mov ecx, dword [ebp - 0x98]
or ecx, eax
mov eax, dword [ebp - 0x94]
or eax, edx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x88]
mov esi, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dx, word [eax + 8]
mov edi, dword [ebp - 0x5c]
and edx, 0x3e40
or edx, 4
add ebx, 0x18
mov word [eax + 8], dx
jmp 0x590465
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
push esi
call fcn.0059dbb0
mov eax, dword [ebx + 8]
mov ecx, dword [esi]
cdq
add esp, 4
add ecx, eax
mov edi, dword [ebp - 0x5c]
mov dword [esi], ecx
mov eax, dword [esi + 4]
adc eax, edx
add ebx, 0x18
mov dword [esi + 4], eax
mov esi, dword [ebp + 8]
jmp 0x590465
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov ax, word [edi + ecx*8 + 8]
test al, 4
lea edi, [edi + ecx*8]
jne 0x5915aa
mov edx, dword [ebp - 0x38]
push edx
push 0x43
push edi
call fcn.0059f6e0
mov ax, word [edi + 8]
add esp, 0xc
test al, 4
jne 0x5915aa
mov eax, dword [ebx + 8]
test eax, eax
je 0x595812
jmp 0x5955c1
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
mov cl, byte [edi + eax*8 + 8]
lea eax, [edi + eax*8]
test cl, 0x24
je case.0x590480.86
push eax
call fcn.0059dbe0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
test byte [edi + ecx*8 + 9], 0x40
lea esi, [edi + ecx*8]
je 0x5910ec
push esi
call fcn.0058a410
add esp, 4
mov dword [ebp - 4], eax
jmp 0x5910f3
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
mov al, byte [ebx + 8]
push edx
push eax
push esi
call fcn.0059dc10
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0xc]
lea ecx, [edi + ecx*8]
lea edx, [eax + eax*4]
mov dword [ebp - 0x1c], ecx
mov ax, word [ecx + 8]
lea esi, [edi + edx*8]
mov word [ebp - 0x14], ax
mov ax, word [esi + 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
or eax, edx
test al, 1
je 0x5911e1
mov ax, word [ebx + 2]
test al, 0x80
je 0x591197
mov dl, byte [ebp - 0x10]
mov al, byte [ebp - 0x14]
and dl, al
test dl, 1
je 0x591183
mov eax, dword [ebp - 0x10]
test ah, 1
jne 0x591183
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dword [ebp - 0x20], 0
mov dl, byte [eax + 0x74a17c]
jmp 0x591269
mov al, byte [ebp - 0x10]
and al, 1
neg al
sbb eax, eax
and al, 0xfe
inc eax
mov dword [ebp - 0x20], eax
jmp 0x591385
test al, 0x20
je 0x5911cb
mov eax, dword [ebx + 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x60], 1
lea eax, [eax + eax*4]
mov cx, word [edi + eax*8 + 8]
lea edi, [edi + eax*8]
and ecx, 0x3e40
or ecx, 1
add ebx, 0x18
mov word [edi + 8], cx
mov edi, dword [ebp - 0x5c]
jmp 0x590465
test al, 0x10
jne 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov dl, byte [ebx + 2]
and dl, 0x47
cmp dl, 0x43
jl 0x591305
test al, 2
je 0x59122e
mov dl, byte [ebp - 0x14]
and dl, 0x2e
cmp dl, 2
jne 0x591215
push 0
push ecx
call fcn.00590200
mov ax, word [esi + 8]
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov word [ebp - 0x10], ax
mov dl, byte [ebp - 0x10]
and dl, 0x2e
cmp dl, 2
jne 0x59122e
push 0
push esi
call fcn.00590200
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov al, byte [ecx + 8]
mov dl, byte [esi + 8]
and al, dl
test al, 4
je 0x591371
mov eax, dword [esi + 4]
mov edx, dword [ecx + 4]
cmp eax, edx
jl 0x5912d1
jg 0x591256
mov eax, dword [ecx]
mov edx, dword [esi]
cmp edx, eax
jbe 0x5912d1
mov dword [ebp - 0x20], 1
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dl, byte [eax + 0x74a184]
mov eax, edx
mov dx, word [ebp - 0x14]
mov word [ecx + 8], dx
mov cx, word [ebp - 0x10]
mov word [esi + 8], cx
mov dx, word [ebx + 2]
test dl, 0x20
je 0x592ffb
mov ecx, dword [ebx + 8]
mov esi, dword [ebp - 0x20]
test dl, 8
lea ecx, [ecx + ecx*4]
mov dword [ebp - 0x60], esi
lea ecx, [edi + ecx*8]
je 0x5912ac
xor edx, edx
cmp byte [ebx], 0x35
sete dl
cmp edx, eax
je case.0x590480.86
mov dx, word [ecx + 8]
mov esi, dword [ebp + 8]
and edx, 0x3e40
mov edi, dword [ebp - 0x5c]
or edx, 4
add ebx, 0x18
mov word [ecx + 8], dx
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x590465
mov eax, dword [ecx + 4]
mov edx, dword [esi + 4]
cmp edx, eax
jg 0x59116b
jl 0x5912ed
mov eax, dword [ecx]
mov edx, dword [esi]
cmp edx, eax
jae 0x59116b
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dword [ebp - 0x20], 0xffffffff
mov dl, byte [eax + 0x74a174]
jmp 0x591269
cmp dl, 0x42
jne 0x591371
mov al, byte [ebp - 0x14]
test al, 2
jne 0x59133f
test al, 0x2c
je 0x59133f
mov edx, dword [ebp - 0x38]
push 1
push edx
push ecx
call fcn.0058d0d0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cx, word [eax + 8]
mov eax, dword [ebp - 0x14]
xor cx, ax
and ecx, 0x3e40
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x10]
test al, 2
jne 0x591371
test al, 0x2c
je 0x591371
mov edx, dword [ebp - 0x38]
push 1
push edx
push esi
call fcn.0058d0d0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov cx, ax
xor cx, word [esi + 8]
and ecx, 0x3e40
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov edx, dword [ebx + 0x10]
push edx
push ecx
push esi
call fcn.0059e670
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jge 0x59139a
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dl, byte [eax + 0x74a174]
jmp 0x591269
jne 0x59125d
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dl, byte [eax + 0x74a17c]
jmp 0x591269
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
test byte [ebx + 2], 1
jne 0x5913d9
mov dword [ebp - 0xc], 0
jmp 0x5913e2
mov eax, dword [ebx - 8]
add eax, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebx + 8]
mov dword [ebp - 0x44], eax
test eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 0
jle case.0x590480.86
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x20]
add ecx, 0x14
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x591424
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ecx]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
mov dl, byte [edx + ecx]
add eax, esi
and edx, 1
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x1c]
add eax, esi
mov dword [ebp - 0x24], edx
lea edx, [edi + ecx*8]
lea ecx, [eax + eax*4]
push edx
lea edx, [edi + ecx*8]
push edx
call fcn.0059e670
add esp, 0xc
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x591494
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [ebp - 0x44]
inc esi
cmp esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x10], ecx
jl 0x591418
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x20]
test byte [edx + ecx], 2
je 0x5914c8
mov edx, dword [ebp - 0x1c]
lea ecx, [esi + edx]
lea ecx, [ecx + ecx*4]
test byte [edi + ecx*8 + 8], 1
jne 0x5914c3
mov edx, dword [ebp - 0x18]
lea ecx, [esi + edx]
lea ecx, [ecx + ecx*4]
test byte [edi + ecx*8 + 8], 1
je 0x5914c8
neg eax
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je case.0x590480.86
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
neg eax
mov dword [ebp - 0x60], eax
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebp - 0x60]
test eax, eax
jge 0x591508
mov ebx, dword [ebx + 4]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
lea edx, [ebx + ebx*2]
lea ebx, [eax + edx*8 - 0x18]
add ebx, 0x18
jmp 0x590465
je 0x5955c1
mov ebx, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
lea eax, [ebx + ebx*2]
lea ebx, [ecx + eax*8 - 0x18]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
push 2
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
call fcn.0059db60
mov esi, eax
mov eax, dword [ebx + 8]
push 2
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push edx
call fcn.0059db60
mov cl, byte [ebx]
add esp, 0x10
cmp cl, 0x2c
jne 0x591567
lea eax, [eax + esi*2]
xor ecx, ecx
mov cl, byte [esi + eax + 0x74a1c0]
mov eax, ecx
jmp 0x591573
lea edx, [eax + esi*2]
xor eax, eax
mov al, byte [esi + edx + 0x74a1cc]
mov ecx, dword [ebx + 0xc]
cmp eax, 2
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*8]
jne 0x5915a0
mov dx, word [edi + 8]
mov esi, dword [ebp + 8]
and edx, 0x3e40
or edx, 1
add ebx, 0x18
mov word [edi + 8], dx
mov edi, dword [ebp - 0x5c]
jmp 0x590465
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
mov ax, word [edi + 8]
mov esi, dword [ebp + 8]
and eax, 0x3e40
or al, 4
add ebx, 0x18
mov word [edi + 8], ax
mov edi, dword [ebp - 0x5c]
jmp 0x590465
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
push ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
call fcn.0059db60
xor eax, dword [ebx + 0x10]
cdq
push edx
push eax
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push edx
call fcn.0058da60
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
mov al, byte [ecx + 8]
test al, 1
lea esi, [edi + edx*8]
jne 0x59163c
push 0
push ecx
call fcn.0059db60
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
push esi
call fcn.0058da60
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
add ebx, 0x18
jmp 0x590465
push esi
call fcn.00589e20
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*4]
lea edi, [edi + ecx*8]
push edi
call fcn.00589e20
mov al, byte [esi + 8]
add esp, 4
test al, 1
jne case.0x590480.86
push esi
mov word [edi + 8], 4
call fcn.0058d2c0
mov esi, dword [ebp + 8]
add esp, 4
not eax
not edx
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x591705
mov edx, dword [esi + 0x68]
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [edi + 0x18]
mov ecx, edx
mov esi, edx
shr ecx, 3
and esi, 7
mov edx, 1
lea edi, [ecx + eax]
mov ecx, esi
shl edx, cl
mov al, byte [edi]
test al, dl
jne 0x5955c1
mov dl, 1
shl dl, cl
or dl, al
add ebx, 0x18
mov byte [edi], dl
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov esi, edx
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 4]
mov dword [ebx - 0x14], ecx
jmp 0x590465
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 4]
cmp ecx, eax
je 0x5955c1
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
mov esi, edx
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 4]
mov dword [ebx - 0x14], ecx
jmp 0x590465
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
push edx
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
push ecx
call fcn.0059db60
add esp, 8
test eax, eax
jne 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
xor edx, edx
test ecx, ecx
lea eax, [eax + eax*4]
sete dl
lea ecx, [edi + eax*8]
push edx
push ecx
call fcn.0059db60
add esp, 8
test eax, eax
je 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
test byte [edi + edx*8 + 8], 1
jne 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
test byte [edi + eax*8 + 8], 1
je 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov eax, dword [edx + ecx*4]
mov cl, byte [eax + 2]
test cl, cl
je case.0x590480.86
mov eax, dword [ebx + 0xc]
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push edx
call fcn.00589e20
add esp, 4
jmp 0x5955c1
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + eax*4]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x30], edx
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x30]
push ecx
push edx
mov dword [ebp - 0x64], eax
call fcn.0059e110
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [esi + 0x20]
mov dword [ebp - 0x10], eax
je 0x5919b6
mov cl, byte [edx + 2]
test cl, cl
je 0x59188e
cmp byte [edx], 3
jne 0x591874
mov ecx, dword [edx + 0x20]
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*8]
mov ecx, dword [edi + 0xc]
mov dword [edx + 0x54], ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x54]
mov dword [ecx + 0x50], edx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edi + 0x10]
mov dword [edx + 0x4c], ecx
jmp 0x5918c8
mov eax, dword [ebp - 0x14]
push eax
call fcn.00589e20
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590465
mov edi, dword [edx + 0x28]
push edi
call fcn.005889b0
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0x30]
add edx, 0x54
push edx
push edi
call fcn.00597a70
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov dword [ecx + 0x4c], eax
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
cmp eax, dword [ecx + 0x6c]
ja 0x595bb4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov edx, dword [esi + 0x20]
mov dword [ecx + 0x1c], edx
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + 0x4c]
mov cl, byte [edx]
cmp cl, 0x80
jae 0x5918ed
and ecx, 0xff
mov dword [eax], ecx
mov ecx, 1
jmp 0x591904
mov eax, dword [ebp - 0x10]
push eax
push edx
call fcn.00595fd0
add esp, 8
and eax, 0xff
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
and ecx, 0xff
xor edi, edi
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp - 0x30]
mov word [ecx + 0x3a], di
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x54]
cmp ecx, dword [eax]
jae 0x591947
mov dword [edx + 0x4c], edi
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x54], edi
mov ecx, dword [eax]
cmp ecx, 0x18003
ja 0x591aee
mov edx, dword [ebp - 0x30]
cmp ecx, dword [edx + 0x50]
jbe 0x5919b6
jmp 0x591aee
mov ecx, dword [edx + 0x4c]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
mov dword [ebp - 0x74], edi
mov cx, word [edx + 0x3a]
mov edi, dword [edx + 0x30]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0xc]
add edi, ecx
add ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
lea ecx, [eax*4 + 0x58]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edi]
mov dword [ebp - 0x4c], eax
mov dword [ecx + edx], eax
mov eax, dword [ebp - 0x4c]
cmp eax, 0x80
jae 0x591a2a
push eax
inc edi
call fcn.0059e1e0
mov ecx, dword [ebp - 0x78]
and eax, 0xff
cdq
add esp, 4
add ecx, eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
adc eax, edx
jmp 0x591a61
mov ecx, dword [ebp - 0x64]
xor edi, edi
mov di, word [edx + 0x3a]
cmp edi, ecx
jg 0x591b82
mov edi, dword [edx + 0x30]
cmp edi, dword [eax]
jae 0x591b79
mov ecx, dword [edx + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x59194a
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x288]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x288]
push eax
mov eax, dword [ecx]
mov ecx, dword [edx + 0x28]
push eax
push 0
push ecx
call fcn.0059df30
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov edx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x30]
xor edi, edi
jmp 0x59194d
lea edx, [ebp - 0x4c]
push edx
push edi
call fcn.00595fd0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
and eax, 0xff
add edi, eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0059e1c0
mov ecx, dword [ebp - 0x78]
add esp, 0xc
add ecx, eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
adc eax, 0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov dword [edx + eax - 0x58], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x30]
cmp eax, ecx
mov eax, dword [ebp - 0x2c]
jg 0x591a98
cmp edi, eax
jb 0x591979
jmp 0x591a9c
cmp edi, eax
jb 0x591ab4
cmp edi, dword [ebp - 0x2c]
ja 0x591ac9
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 0x78]
cmp ecx, eax
jne 0x591ac9
mov ecx, dword [ebp - 0x74]
xor eax, eax
cmp ecx, eax
jne 0x591ac9
mov ecx, dword [ebp - 0x74]
xor eax, eax
cmp ecx, eax
jb 0x591b11
ja 0x591ac9
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 0x78]
cmp ecx, eax
jbe 0x591b11
mov ecx, dword [ebp - 0x10]
cmp dword [ecx], 0
jne 0x591ad8
mov edi, dword [ebp - 0x2c]
xor eax, eax
jmp 0x591b14
mov eax, dword [edx + 0x4c]
test eax, eax
jne 0x591aee
lea edx, [ebp - 0x288]
push edx
call fcn.0058a480
add esp, 4
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x59581e
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*8 - 0x18]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov word [edx + 0x3a], ax
sub edi, ecx
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x30], edi
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x4c]
test eax, eax
jne 0x591b3f
lea edx, [ebp - 0x288]
push edx
call fcn.0058a480
mov edx, dword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov ax, word [edx + 0x3a]
cmp eax, ecx
jg 0x591b89
cmp byte [ebx + 1], 0xf5
jne 0x591874
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
push 0x800
push ecx
push edx
call fcn.0059deb0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590465
mov dword [ebp - 0x4c], 0
jmp 0x591b42
mov eax, dword [edx + ecx*4 + 0x58]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 9], 0x24
je 0x591ba1
push eax
call fcn.00589e20
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x64]
add esp, 4
mov eax, dword [ebp - 0x10]
mov edi, dword [edx + 0x54]
cmp edi, dword [eax + ecx*4 + 4]
jb 0x591c68
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0x4c]
add edi, eax
mov eax, dword [ebp - 0x4c]
cmp eax, 0xc
jae 0x591bdd
mov ecx, dword [ebp - 0x14]
push ecx
push eax
push edi
call fcn.0059e280
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0x38]
add eax, 0xfffffff4
shr eax, 1
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x18], eax
mov byte [ecx + 0xa], dl
mov edx, dword [ecx + 0x18]
add eax, 2
cmp edx, eax
jge 0x591c17
push 0
push eax
push ecx
mov word [ecx + 8], 1
call fcn.0058a210
add esp, 0xc
test eax, eax
jne 0x595a49
jmp 0x591c1d
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov edx, ecx
mov esi, edi
mov edi, dword [eax + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov byte [ecx + edx], 0
mov edx, dword [eax + 0x10]
mov byte [ecx + edx + 1], 0
mov ecx, dword [ebp - 0x4c]
and ecx, 1
add ebx, 0x18
mov dx, word [ecx*2 + 0x74a1d8]
mov word [eax + 8], dx
jmp 0x590465
mov esi, dword [ebp - 0x14]
mov al, byte [ebp - 0x38]
mov byte [esi + 0xa], al
mov ax, word [ebx + 2]
mov ecx, dword [ebp - 0x4c]
test al, 0xc0
je 0x591c8a
cmp ecx, 0xc
jb 0x591c86
test cl, 1
je 0x591c9a
test al, 0x80
jne 0x591c9a
push ecx
call fcn.0059e1c0
add esp, 4
test eax, eax
jne 0x591cb7
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
push 0x8bb6c4
call fcn.0059e280
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x10]
push esi
push eax
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x30]
push eax
mov edx, dword [ecx + 0x28]
push edx
call fcn.0059df30
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4c]
push esi
push eax
mov ecx, dword [esi + 0x10]
push ecx
call fcn.0059e280
mov edi, dword [ebp - 0x5c]
add esp, 0xc
and word [esi + 8], 0xefff
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 0x10]
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
mov eax, dword [ebp - 0x38]
mov cl, byte [esi]
push eax
push ecx
push edi
call fcn.0059f6e0
mov al, byte [esi]
add esp, 0xc
cmp al, 0x45
jne 0x591d83
mov ax, word [edi + 8]
test al, 4
je 0x591d83
mov ecx, dword [edi + 4]
mov edx, dword [edi]
cmp ecx, 0x7fff
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], ecx
jg 0x591d6a
jl 0x591d4f
cmp edx, 0xffffffff
ja 0x591d6a
cmp ecx, 0xffff8000
jl 0x591d6a
jg 0x591d5d
test edx, edx
jb 0x591d6a
and eax, 0xfffb
or al, 0x20
mov word [edi + 8], ax
jmp 0x591d83
fild qword [ebp - 0x148]
fstp qword [edi]
mov dx, word [edi + 8]
and edx, 0xfffb
or edx, 8
mov word [edi + 8], dx
mov al, byte [esi + 1]
inc esi
test al, al
je case.0x590480.86
add edi, 0x28
jmp 0x591d11
xor eax, eax
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0xc], ecx
lea eax, [eax + eax*4]
lea edx, [edi + eax*8]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x2c], edx
lea eax, [eax + eax*4]
lea edx, [edx + eax*8 - 0x28]
xor eax, eax
mov al, byte [esi + 0x93]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc]
test ecx, ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dword [ebp - 0x14], eax
je 0x591e2b
mov ecx, dword [ebp - 0x2c]
lea edi, [ecx + 8]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x38]
push edx
lea edx, [edi - 8]
mov cl, byte [eax]
push ecx
push edx
call fcn.0059f6e0
mov ecx, dword [ebp - 0xc]
add esp, 0xc
cmp byte [ecx], 0x45
jne 0x591e1d
mov ax, word [edi]
test al, 4
je 0x591e1d
and eax, 0xfffb
or al, 0x20
mov word [edi], ax
mov al, byte [ecx + 1]
inc ecx
add edi, 0x28
mov dword [ebp - 0xc], ecx
test al, al
jne 0x591dee
mov eax, dword [ebp - 0x18]
lea edi, [eax + 0x1c]
mov ax, word [edi - 0x14]
test al, 1
je 0x591e53
and eax, 0x4000
neg eax
sbb eax, eax
and eax, 0xa
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x5920cd
test al, 0x24
je 0x59200c
mov edx, dword [edi - 0x18]
mov ecx, dword [edi - 0x1c]
test edx, edx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x118], edx
jg 0x591e91
jl 0x591e7d
test ecx, ecx
jae 0x591e91
mov edx, ecx
not edx
mov dword [ebp - 0xa0], edx
mov edx, dword [ebp - 0x118]
not edx
jmp 0x591e9d
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], edx
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x9c]
test edx, edx
ja 0x591f3e
jb 0x591ec3
cmp dword [ebp - 0xa0], 0x7f
ja 0x591f07
mov eax, ecx
xor edx, edx
and eax, 1
cmp eax, ecx
jne 0x591eea
cmp edx, dword [ebp - 0x118]
jne 0x591eea
cmp dword [ebp - 0x24], 4
jl 0x591eea
mov eax, dword [ebp - 0xa0]
add eax, 8
jmp 0x5920cb
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
add ecx, 1
mov dword [edi], 1
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x5920cd
mov edx, dword [ebp - 0x9c]
test edx, edx
ja 0x591f3e
jb 0x591f21
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0x7fff
ja 0x591f44
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
add ecx, 2
mov dword [edi], 2
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x5920cd
mov ecx, dword [ebp - 0xa0]
test edx, edx
ja 0x591f9a
jb 0x591f52
cmp ecx, 0x7fffff
ja 0x591f6f
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
add ecx, 3
mov dword [edi], 3
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x5920cd
test edx, edx
ja 0x591f9a
jb 0x591f7d
cmp ecx, 0x7fffffff
ja 0x591f9a
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
add ecx, 4
mov dword [edi], 4
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x5920cd
cmp edx, 0x7fff
ja 0x591fc6
jb 0x591fa9
cmp ecx, 0xffffffff
ja 0x591fc6
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
add ecx, 6
mov dword [edi], 5
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x5920cd
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
add ecx, 8
adc edx, 0
mov dword [ebp - 0x40], ecx
test al, 0x20
mov dword [ebp - 0x3c], edx
je 0x592001
fild qword [ebp - 0x158]
fstp qword [edi - 0x1c]
mov cx, word [edi - 0x14]
and ecx, 0xffdf
or ecx, 8
mov word [edi - 0x14], cx
mov dword [edi], 7
jmp 0x5920cd
mov dword [edi], 6
jmp 0x5920cd
test al, 8
je 0x592034
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
inc edx
add ecx, 8
mov dword [ebp - 0x10], edx
adc eax, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov dword [edi], 7
jmp 0x5920cd
mov ecx, dword [edi - 0x10]
mov edx, eax
shr edx, 1
and edx, 1
mov dword [ebp - 0xc], ecx
test ah, 0x40
lea ecx, [edx + ecx*2 + 0xc]
mov dword [ebp - 0x20], ecx
je 0x59209e
mov eax, dword [edi - 0x1c]
mov edx, dword [ebp - 0x40]
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x3c]
or edx, ecx
je 0x592081
lea eax, [edi - 0x1c]
push eax
call fcn.0058a410
add esp, 4
test eax, eax
jne 0x595a49
mov eax, dword [edi - 0x1c]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0xc], ecx
jmp 0x59209e
mov ecx, dword [ebp - 0x90]
cdq
add ecx, eax
mov eax, dword [ebp - 0x8c]
adc eax, edx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
add eax, ecx
adc edx, 0
push 0
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x20]
push edx
mov dword [ebp - 0x40], eax
call fcn.00596060
mov ecx, dword [ebp - 0x10]
add esp, 8
add ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
lea ecx, [edi - 0x1c]
cmp ecx, eax
je 0x5920df
sub edi, 0x28
jmp 0x591e31
mov eax, dword [ebp - 0x10]
cmp eax, 0x7e
jle 0x59210b
cdq
push edx
push eax
call fcn.00596060
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ebp - 0x10], eax
cdq
push edx
push eax
call fcn.00596060
add esp, 0x10
cmp edi, eax
jge 0x59210f
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x90]
cdq
mov dword [ebp - 0x108], eax
add ecx, eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x104], edx
adc eax, edx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x150], ecx
add ecx, edi
mov edi, dword [ebp - 0x14]
adc eax, edx
mov dword [ebp - 0x134], eax
mov eax, dword [edi + 0x18]
cdq
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x134]
cmp eax, edx
jg 0x59216e
jl 0x592166
cmp ecx, dword [ebp - 0x1d0]
ja 0x59216e
mov edx, dword [edi + 0x14]
mov dword [edi + 0x10], edx
jmp 0x5921af
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6c]
cdq
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x134]
cmp eax, edx
jg 0x595bb4
jl 0x592197
cmp ecx, dword [ebp - 0x1d8]
ja 0x595bb4
mov ecx, dword [ebp - 0x150]
push ecx
push edi
call fcn.0058a1e0
add esp, 8
test eax, eax
jne 0x595a49
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x90]
mov dword [edi + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov ecx, eax
mov word [edi + 8], 0x10
or ecx, edx
je 0x5921d6
mov dword [edi], eax
or byte [edi + 9], 0x40
mov esi, dword [edi + 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, 0x80
lea edx, [esi + eax]
mov dword [ebp - 0xc], edx
jae 0x5921f2
mov byte [esi], al
mov eax, 1
jmp 0x592209
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x108]
push eax
push ecx
push esi
call fcn.00595ec0
add esp, 0xc
mov edi, dword [ebp - 0x2c]
and eax, 0xff
add esi, eax
mov eax, dword [edi + 0x1c]
cmp eax, 0x80
mov dword [ebp - 0x20], eax
jae 0x592229
mov byte [esi], al
mov eax, 1
jmp 0x592238
mov edx, dword [ebp - 0x20]
push 0
push edx
push esi
call fcn.00595ec0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
and eax, 0xff
add esi, eax
mov eax, dword [ebp - 0x20]
push eax
push edi
push ecx
call fcn.0059e200
mov edx, dword [ebp - 0xc]
add edi, 0x28
add edx, eax
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp edi, eax
mov dword [ebp - 0xc], edx
jbe 0x592213
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
xor edi, edi
mov ecx, dword [eax + edx*4]
lea edx, [ebp - 0xe4]
push edx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0xe4], edi
push eax
mov dword [ebp - 0xe0], edi
call fcn.0059cc10
add esp, 8
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x595aa3
push ebx
push esi
call fcn.0059f850
mov ecx, dword [ebp - 0xe4]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [eax], ecx
mov edx, dword [ebp - 0xe0]
add esp, 8
mov dword [eax + 4], edx
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x10]
test ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
jne 0x5923a8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xb8]
test edx, edx
jg 0x5955dc
push eax
call fcn.0057b0a0
mov esi, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1d0]
mov ecx, dword [eax + 0x1cc]
add edx, ecx
push edx
push 0
push eax
call fcn.005b35a0
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov ecx, dword [ebp - 8]
lea eax, [esi + 0x21]
push 0
push eax
push ecx
call fcn.005793b0
add esp, 0xc
test eax, eax
je 0x595182
lea ecx, [esi + 1]
mov esi, dword [ebp - 0xc]
mov edx, ecx
lea edi, [eax + 0x20]
shr ecx, 2
mov dword [eax], edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x4f]
test dl, dl
je 0x59236a
mov byte [ecx + 0x4f], 0
mov byte [ecx + 0x57], 1
jmp 0x592370
inc dword [ecx + 0x1cc]
mov edx, dword [ecx + 0x1c4]
mov dword [eax + 0x18], edx
mov dword [ecx + 0x1c4], eax
mov edx, dword [ecx + 0x1d8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0x1dc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x1e0]
mov dword [eax + 0x10], edx
mov ecx, dword [ecx + 0x1e4]
mov dword [eax + 0x14], ecx
jmp 0x595182
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], 0
mov edi, dword [edx + 0x1c4]
test edi, edi
mov dword [ebp - 0x2c], edi
je 0x5955f6
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
push eax
push ecx
call fcn.0057b130
add esp, 8
test eax, eax
je 0x5923ed
mov ecx, dword [ebp - 0x20]
mov edi, dword [edi + 0x18]
inc ecx
mov dword [ebp - 0x2c], edi
test edi, edi
mov dword [ebp - 0x20], ecx
je 0x5955f6
jmp 0x5923c3
test edi, edi
je 0x5955f6
mov edi, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [edi + 0xb8]
cmp eax, ecx
mov eax, dword [ebp - 0x14]
jle 0x592410
cmp eax, 1
je 0x595614
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x18], ecx
jne 0x592465
mov dl, byte [edi + 0x57]
test dl, dl
je 0x592465
cmp eax, 1
mov dword [ebp - 0x1c], 1
jne 0x592468
push eax
push esi
call fcn.0058c5d0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595b65
push esi
mov byte [edi + 0x4f], 1
call fcn.0058aa50
add esp, 4
cmp eax, 5
je 0x595833
mov byte [edi + 0x57], 0
mov eax, dword [esi + 0x28]
mov dword [ebp - 4], eax
jmp 0x592542
mov dword [ebp - 0x1c], ecx
mov edx, dword [edi + 0x1cc]
mov esi, dword [ebp - 0x20]
sub edx, esi
dec edx
cmp eax, 2
mov dword [ebp - 0x20], edx
jne 0x5924d8
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x10], ecx
and eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x14]
cmp eax, ecx
jle 0x5924db
mov ecx, dword [ebp - 0xc]
xor eax, eax
test ecx, ecx
sete al
mov dword [ebp - 0x24], eax
xor esi, esi
mov edx, dword [edi + 0x10]
mov ecx, dword [ebp - 0x24]
push ecx
push 0x204
mov eax, dword [esi + edx + 4]
push eax
call fcn.00589c30
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
inc eax
add esi, 0x10
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x10], eax
cmp eax, ecx
jl 0x59249e
jmp 0x5924db
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10], 0
test eax, eax
jle 0x592522
xor esi, esi
mov ecx, dword [ebp - 0x20]
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x14]
push ecx
mov ecx, dword [esi + eax + 4]
push edx
push ecx
call fcn.0058c540
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
inc eax
add esi, 0x10
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x10], eax
cmp eax, ecx
jl 0x5924eb
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x592542
push 0
push edi
call fcn.0059f540
push edi
call fcn.005a9f00
mov eax, dword [edi + 0x18]
add esp, 0xc
or al, 1
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x1c4]
mov esi, dword [ebp - 0x2c]
cmp eax, esi
je 0x592579
mov edx, dword [eax + 0x18]
push eax
push edi
mov dword [edi + 0x1c4], edx
call fcn.00579080
mov edx, dword [edi + 0x1cc]
add esp, 8
dec edx
mov dword [edi + 0x1cc], edx
mov eax, dword [edi + 0x1c4]
cmp eax, esi
jne 0x59254f
mov eax, dword [ebp - 0x14]
cmp eax, 1
jne 0x5925a7
mov eax, dword [esi + 0x18]
push esi
push edi
mov dword [edi + 0x1c4], eax
call fcn.00579080
mov eax, dword [ebp - 0x1c]
add esp, 8
test eax, eax
jne 0x595182
dec dword [edi + 0x1cc]
jmp 0x5925db
mov ecx, dword [esi + 8]
mov dword [edi + 0x1d8], ecx
mov edx, dword [esi + 0xc]
mov dword [edi + 0x1dc], edx
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x1e0], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0x14]
test ecx, ecx
mov dword [edi + 0x1e4], edx
je 0x5925db
cmp eax, 2
jne 0x595182
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
push edi
call fcn.005b35a0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 8]
xor ecx, ecx
cmp edx, ecx
mov dword [ebp - 0xc], ecx
je 0x592624
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
and eax, 0x100000
or eax, ecx
jne 0x59595d
mov edi, dword [ebp - 8]
mov eax, dword [ebx + 4]
shl eax, 4
mov edi, dword [edi + 0x10]
mov eax, dword [eax + edi + 4]
cmp eax, ecx
mov dword [ebp - 0x24], eax
je 0x5926f4
lea ecx, [ebp - 0xc]
push ecx
push edx
push eax
call fcn.005840c0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x595969
mov eax, dword [ebx + 8]
test eax, eax
je 0x5926f4
test byte [esi + 0x98], 0x80
je 0x5926f4
mov edi, dword [ebp - 8]
mov al, byte [edi + 0x4f]
test al, al
je 0x592683
cmp dword [edi + 0xb4], 1
jle 0x5926f7
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x5926a4
mov edx, dword [edi + 0x1d0]
inc edx
mov dword [edi + 0x1d0], edx
mov eax, edx
mov edx, dword [edi + 0x1cc]
add edx, eax
mov dword [esi + 0x30], edx
mov eax, dword [esi + 0x30]
dec eax
push eax
push 0
push edi
call fcn.005b35a0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x5926ce
mov ecx, dword [esi + 0x30]
mov edx, dword [ebp - 0x24]
push ecx
push edx
call fcn.005978f0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x1d8]
mov dword [esi + 0x48], eax
mov ecx, dword [edi + 0x1dc]
mov dword [esi + 0x4c], ecx
mov edx, dword [edi + 0x1e0]
mov dword [esi + 0x50], edx
mov eax, dword [edi + 0x1e4]
mov dword [esi + 0x54], eax
jmp 0x5926f7
mov edi, dword [ebp - 8]
cmp word [ebx + 2], 0
je 0x592727
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jne 0x59561b
mov edx, dword [ebx + 4]
mov eax, dword [edi + 0x10]
shl edx, 4
mov ecx, dword [edx + eax + 0xc]
mov eax, dword [ebx + 0x10]
mov edx, dword [ecx + 4]
cmp edx, eax
jne 0x59561b
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 8]
push ecx
mov ecx, dword [eax + 0x10]
shl edx, 4
mov edx, dword [edx + ecx + 4]
push edx
call fcn.0059cb90
push ebx
push esi
call fcn.0059f850
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov ecx, eax
mov eax, dword [ebp - 0x10c]
cdq
add esp, 0x14
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebp - 8]
mov edi, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ecx, dword [eax + 0x10]
shl edi, 4
add edi, ecx
mov ecx, dword [ebx + 0xc]
push ecx
push edx
mov eax, dword [edi + 4]
push eax
call fcn.00589570
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov ecx, 1
add esp, 0xc
cmp eax, ecx
jne 0x5927c8
mov edx, dword [edi + 0xc]
mov eax, dword [ebx + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
or dword [eax + 0x18], ecx
jmp 0x5927d6
cmp eax, 2
jne 0x5927d6
mov edx, dword [edi + 0xc]
mov al, byte [ebx + 0xc]
mov byte [edx + 0x4c], al
cmp dword [ebx + 4], ecx
jne 0x5927f7
mov ecx, dword [ebp - 8]
push 0
push ecx
call fcn.0059f540
mov eax, dword [esi + 0x98]
add esp, 8
and al, 0xfc
mov dword [esi + 0x98], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + edx*4]
test eax, eax
mov dword [ebp - 0xc], eax
je case.0x590480.97
mov edx, dword [eax + 0x34]
mov eax, dword [ebx + 8]
cmp edx, eax
je 0x592931
mov eax, dword [esi + 0x98]
and eax, 3
cmp al, 1
je 0x595999
mov edx, dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
shl eax, 4
add eax, dword [edx + 0x10]
cmp cl, 0x62
mov edx, dword [eax + 4]
mov dword [ebp - 0x44], edx
jne 0x59288b
mov cl, byte [ebx + 2]
mov edx, dword [eax + 0xc]
and ecx, 8
mov al, byte [edx + 0x4c]
or ecx, 4
mov dword [ebp - 0x20], ecx
mov cl, byte [esi + 0x93]
cmp al, cl
jae 0x592892
mov byte [esi + 0x93], al
jmp 0x592892
mov dword [ebp - 0x20], 0
test byte [ebx + 2], 0x10
je 0x5928af
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
push edi
call fcn.0059dbb0
mov ecx, dword [edi]
add esp, 4
mov dword [ebp - 0x2c], ecx
mov al, byte [ebx + 1]
cmp al, 0xf7
jne 0x5928c7
mov ecx, dword [ebx + 0x10]
xor eax, eax
mov dword [ebp - 0x18], ecx
mov ax, word [ecx + 8]
mov dword [ebp - 0xc], eax
jmp 0x5928d1
cmp al, 0xfd
jne 0x5928d1
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebx + 4]
push 0
push eax
push ecx
push edx
push esi
call fcn.0059f5d0
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
je 0x595a49
mov esi, eax
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [esi + 2], 1
mov eax, dword [esi + 8]
or al, 4
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x34], eax
mov ecx, dword [esi + 0x28]
push ecx
push edi
push edx
push eax
mov eax, dword [ebp - 0x44]
push eax
call fcn.00597920
mov dword [ebp - 4], eax
mov dword [esi + 0x2c], edi
mov al, byte [ebx + 1]
add esp, 0x14
cmp al, 0xf7
setne cl
mov byte [esi + 4], cl
mov dl, byte [ebx + 2]
mov eax, dword [ebp - 0xc]
and edx, 3
mov ecx, dword [eax + 0x28]
push edx
push ecx
call fcn.00596ab0
mov eax, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 8]
mov eax, dword [esi + 0x60]
push 0
push 0xffffffffffffffff
mov edi, dword [eax + edx*4]
mov edx, dword [ebx + 4]
movsx ecx, word [edi + 0x38]
push ecx
push edx
push esi
call fcn.0059f5d0
add esp, 0x14
test eax, eax
je 0x595a49
mov byte [eax + 2], 1
mov ecx, dword [eax + 8]
or ecx, 1
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x2c]
mov dword [eax + 0x2c], ecx
mov dl, byte [edi + 4]
mov byte [eax + 4], dl
mov ecx, dword [edi + 0x34]
mov dword [eax + 0x34], ecx
mov ecx, dword [eax + 8]
mov edx, dword [edi + 8]
xor edx, ecx
and edx, 4
xor edx, ecx
mov dword [eax + 8], edx
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x34]
push ecx
mov ecx, dword [edi + 0xc]
push edx
push 4
push eax
push ecx
call fcn.00597920
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
mov dword [ebp - 4], eax
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov edx, dword [esi + 0x60]
xor ecx, ecx
mov edi, dword [edx + eax*4]
cmp edi, ecx
je 0x592a1a
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x1c], ecx
mov eax, dword [edi + 0xc]
cmp eax, ecx
je 0x592b11
push ecx
mov ecx, dword [edi + 0x34]
push ecx
push eax
call fcn.0059c770
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x592b11
mov edx, dword [ebx + 8]
push 0
push 0xffffffffffffffff
push edx
push eax
push esi
call fcn.0059f5d0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x595a49
mov edx, dword [edi + 8]
xor ecx, ecx
or edx, 1
lea esi, [edi + 0xc]
mov dword [edi + 8], edx
mov eax, dword [0x74a1dc]
mov cx, word [ebx + 2]
push eax
mov eax, dword [ebp - 8]
or ecx, 5
push ecx
push esi
mov edx, dword [eax]
push eax
push 0
push edx
call fcn.00596ac0
add esp, 0x18
mov dword [ebp - 4], eax
test eax, eax
jne 0x592af6
push eax
mov eax, dword [esi]
push 1
push eax
call fcn.005840c0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x592af6
mov eax, dword [ebx + 0x10]
test eax, eax
mov dword [ebp - 0x24], eax
mov dword [edi + 0x2c], eax
je 0x592ad3
mov edx, dword [esi]
xor ecx, ecx
mov cx, word [ebx + 2]
lea eax, [edi + 0x34]
or ecx, 2
push ecx
push eax
push edx
call fcn.0059c4f0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x592acd
mov eax, dword [edi + 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [edi + 0x34]
push eax
mov eax, dword [esi]
push ecx
push 4
push edx
push eax
call fcn.00597920
add esp, 0x14
mov dword [ebp - 4], eax
mov byte [edi + 4], 0
jmp 0x592af6
mov dword [edi + 0x34], 1
mov ecx, dword [edi + 0x28]
mov edx, dword [esi]
push ecx
push 0
push 4
push 1
push edx
call fcn.00597920
add esp, 0x14
mov dword [ebp - 4], eax
mov byte [edi + 4], 1
mov ecx, dword [edi + 8]
xor eax, eax
cmp word [ebx + 2], 8
setne al
and eax, 1
and ecx, 0xfffffffb
shl eax, 2
or eax, ecx
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov byte [edi + 2], 1
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
push 1
push 0xffffffffffffffff
push edx
push eax
push esi
call fcn.0059f5d0
add esp, 0x14
test eax, eax
je 0x595a49
mov ecx, dword [ebx + 0x10]
push eax
mov dword [eax + 0x2c], ecx
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.005a0b80
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov esi, ecx
mov edi, edx
add esi, 1
adc edi, 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
mov eax, ecx
or eax, edx
je 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
push 3
push 0xffffffffffffffff
push eax
push ecx
push esi
call fcn.0059f5d0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x595a49
mov byte [edi + 2], 1
mov edx, dword [ebx + 8]
mov dword [edi + 0x20], edx
mov byte [edi + 4], 1
call fcn.00596aa0
mov esi, dword [ebp + 8]
mov dword [edi + 0x28], eax
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + eax*4]
push edx
push esi
call fcn.0058af80
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
mov dword [ecx + eax*4], 0
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov dword [ebp - 0x10], eax
xor eax, eax
mov esi, dword [ecx + edx*4]
mov dword [ebp - 0xc], eax
mov byte [esi + 2], al
mov byte [esi + 3], al
mov dword [esi + 0x1c], eax
mov al, byte [esi + 4]
test al, al
je 0x592d61
mov eax, dword [ebx + 0xc]
lea edx, [eax + eax*4]
mov ax, word [edi + edx*8 + 8]
mov dword [ebp - 0x24], eax
and al, 0x2e
lea edi, [edi + edx*8]
cmp al, 2
jne 0x592c6a
push 0
push edi
call fcn.00590200
add esp, 8
push edi
call fcn.0058d2c0
mov cx, word [ebp - 0x24]
mov dword [ebp - 0xd4], eax
mov ax, word [edi + 8]
add esp, 4
test al, 0x24
mov dword [ebp - 0xd0], edx
mov word [edi + 8], cx
jne 0x592d23
test al, 8
jne 0x592ceb
test al, 1
jne 0x5955c1
cmp dword [ebp - 0x10], 0x18
jge 0x5955c1
mov eax, dword [esi + 0x28]
lea edx, [ebp - 0x48]
push edx
push eax
call fcn.00597e50
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x5955c1
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x590480.86
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
add ebx, 0x18
jmp 0x590465
fild qword [ebp - 0xd4]
fcom qword [edi]
fnstsw ax
test ah, 0x41
jne 0x592d0d
mov ecx, dword [ebp - 0x10]
and ecx, 1
cmp cl, 1
fstp st(0)
jne 0x592d23
mov eax, dword [ebp - 0x10]
dec eax
jmp 0x592d20
fcomp qword [edi]
fnstsw ax
test ah, 1
je 0x592d23
test byte [ebp - 0x10], 1
jne 0x592d23
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xd4]
mov ecx, dword [esi + 0x28]
lea edx, [ebp - 0x48]
push edx
push 0
push eax
push edi
push 0
push ecx
call fcn.00597f20
mov edx, dword [ebp - 0xd0]
add esp, 0x18
mov dword [esi + 0x40], edi
mov dword [ebp - 4], eax
test eax, eax
mov dword [esi + 0x44], edx
jne 0x595aa3
jmp 0x592df4
mov eax, dword [esi + 0x28]
push 2
push eax
call fcn.0059db00
add esp, 8
test eax, eax
je 0x592d7a
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x2c]
and al, 1
mov dx, word [ebx + 0x10]
neg al
sbb al, al
mov dword [ebp - 0x130], ecx
and al, 0xfe
mov word [ebp - 0x128], dx
inc al
mov byte [ebp - 0x122], 0
mov byte [ebp - 0x126], al
mov eax, dword [ebx + 0xc]
lea ecx, [eax + eax*4]
lea eax, [ebp - 0x48]
push eax
push 0
lea edx, [edi + ecx*8]
push 0
mov dword [ebp - 0x12c], edx
mov edx, dword [esi + 0x28]
lea ecx, [ebp - 0x130]
push 0
push ecx
push edx
call fcn.00597f20
add esp, 0x18
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x592df4
mov al, byte [ebp - 0x122]
test al, al
je 0x592cc4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x18
jl 0x592e2b
xor edi, edi
cmp eax, edi
jl 0x592e14
jne 0x592e0c
cmp ecx, 0x19
je 0x592e14
mov dword [ebp - 0x48], edi
jmp 0x592ccf
mov dword [ebp - 0x48], edi
mov eax, dword [esi + 0x28]
push edi
push eax
call fcn.00598470
add esp, 8
mov dword [ebp - 4], eax
cmp eax, edi
jmp 0x592e64
test eax, eax
jg 0x592e4a
jne 0x592e36
cmp ecx, 0x16
je 0x592e4a
mov ecx, dword [esi + 0x28]
push ecx
call fcn.005983e0
add esp, 4
mov dword [ebp - 0x48], eax
jmp 0x592cc4
mov dword [ebp - 0x48], 0
mov edx, dword [esi + 0x28]
push 0
push edx
call fcn.00598750
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x592cc4
cmp dword [ebp - 4], 0x65
jne 0x595aa3
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 1
jmp 0x5955c1
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ebx + 8]
mov esi, dword [ebp + 8]
mov eax, dword [ecx + eax*4]
mov edi, dword [ebp - 0x5c]
and edx, 1
mov ecx, dword [eax + 8]
shl edx, 3
and ecx, 0xfffffff7
or edx, ecx
add ebx, 0x18
mov dword [eax + 8], edx
jmp 0x590465
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + edx*4]
test byte [ecx + 8], 8
jne case.0x590480.86
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xc], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x10]
test eax, eax
lea edi, [edi + edx*8]
mov dword [ebp - 0x24], edi
jle 0x592f08
mov eax, dword [ecx + 0x2c]
mov cx, word [ebx + 0x10]
mov dword [ebp - 0x1e4], edi
mov dword [ebp - 0x1e8], eax
mov word [ebp - 0x1e0], cx
lea edi, [ebp - 0x1e8]
xor esi, esi
jmp 0x592f58
test byte [edi + 9], 0x40
je 0x592f1f
push edi
call fcn.0058a410
add esp, 4
test eax, eax
jne 0x595a49
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x2c]
push eax
call fcn.0059e4f0
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp - 0x44], edi
je 0x595a49
mov eax, dword [ebp - 0x24]
push edi
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
push ecx
push edx
mov ecx, dword [eax + 0x2c]
push ecx
call fcn.0059e540
add esp, 0x10
mov esi, edi
mov byte [edi + 0xa], 0
mov al, byte [ebx]
xor edx, edx
cmp al, 0x1b
mov dword [ebp - 0x18], edx
jne 0x592f8d
xor ecx, ecx
mov cx, word [edi + 8]
cmp ecx, edx
jle 0x592f8d
mov eax, dword [edi + 4]
add eax, 8
test byte [eax], 1
jne 0x592f86
inc edx
add eax, 0x28
cmp edx, ecx
jl 0x592f77
jmp 0x592f8d
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0xd8]
push edx
push 0
mov ecx, dword [eax + 0x28]
push 0
push 0
push edi
push ecx
call fcn.00597f20
add esp, 0x18
mov dword [ebp - 4], eax
test esi, esi
je 0x592fbe
mov edx, dword [ebp - 8]
push esi
push edx
call fcn.005790a0
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595aa3
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0xd8]
mov cl, 1
mov dword [edi + 0x20], eax
mov esi, dword [ebp - 0xd8]
xor eax, eax
test esi, esi
sete al
sub cl, al
mov byte [edi + 2], cl
mov byte [edi + 3], 0
mov dword [edi + 0x1c], 0
mov cl, byte [ebx]
cmp cl, 0x1d
jne 0x593011
test eax, eax
jne 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x5955c1
test eax, eax
je 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 0xc]
lea edx, [eax + eax*4]
mov al, byte [edi + edx*8 + 8]
test al, 0x24
lea esi, [edi + edx*8]
jne case.0x590480.31
mov eax, dword [ebp - 0x38]
mov ecx, 0xa
lea edi, [ebp - 0x260]
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x260]
push 0x43
push ecx
call fcn.0059f6e0
mov al, byte [ebp - 0x258]
add esp, 0xc
test al, 4
je 0x5955c1
mov edx, dword [ebp - 0x25c]
mov esi, dword [ebp - 0x260]
mov dword [ebp - 0xfc], edx
jmp 0x59309a
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
mov esi, dword [edi + eax*8]
mov ecx, dword [edi + eax*8 + 4]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0x60]
mov edi, dword [ecx + edx*4]
mov ecx, dword [ebp - 0xfc]
lea edx, [ebp - 0xa8]
mov eax, dword [edi + 0x28]
push edx
push 0
push ecx
push esi
push 0
push eax
mov dword [ebp - 0xa8], 0
call fcn.00597f20
mov edx, dword [ebp - 0xfc]
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], edx
mov byte [edi + 2], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], eax
mov byte [edi + 3], 0
mov eax, dword [ebp - 0xa8]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xa8]
add esp, 0x18
test eax, eax
je 0x59311b
mov eax, dword [ebx + 8]
test eax, eax
jne 0x5955c1
push 0x159cf
call fcn.005e1c40
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
add esp, 8
mov edi, dword [ebp - 0x5c]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov ecx, dword [ecx + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov esi, dword [ebp + 8]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x10]
add edx, 1
mov dword [eax + 0x10], edx
mov ecx, dword [eax + 0x14]
adc ecx, 0
add ebx, 0x18
mov dword [eax + 0x14], ecx
jmp 0x590465
xor eax, eax
push ebx
push esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0xc], eax
call fcn.0059f850
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov dword [ebp - 0x14], eax
add esp, 8
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x10], eax
test byte [eax + 8], 2
jne 0x593213
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ecx + 0x28]
push edx
call fcn.00597e50
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x5931da
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 0
jmp 0x593213
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.00588920
add esp, 4
cmp edx, 0x7fffffff
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
jl 0x593207
jg 0x5931fe
cmp eax, 0xffffffff
jb 0x593207
mov eax, dword [ebp - 0x10]
or dword [eax + 8], 2
jmp 0x593213
add eax, 1
adc edx, 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x593296
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x59323f
mov eax, dword [ecx + 4]
test eax, eax
je 0x593234
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x59322b
mov eax, dword [ecx + 0x10]
lea edx, [edx + edx*4]
lea edi, [eax + edx*8]
jmp 0x593245
lea ecx, [edx + edx*4]
lea edi, [edi + ecx*8]
push edi
call fcn.0059dbb0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add esp, 4
cmp eax, 0xffffffff
jne 0x593264
cmp ecx, 0x7fffffff
je 0x5959a5
mov edx, dword [ebp - 0x10]
test byte [edx + 8], 2
jne 0x5959a5
mov edx, dword [ebp - 0x50]
add eax, 1
adc ecx, 0
cmp edx, ecx
jg 0x59328b
jl 0x593285
cmp dword [ebp - 0x54], eax
jae 0x59328b
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x54]
mov dword [edi], eax
mov ecx, dword [ebp - 0x50]
mov dword [edi + 4], ecx
mov edx, dword [ebp - 0x10]
test byte [edx + 8], 2
je 0x593307
xor edi, edi
lea eax, [ebp - 0x54]
push eax
push 8
call fcn.0057ae80
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
and eax, 0x3fffffff
add ecx, 1
lea edx, [ebp - 0xc]
mov dword [ebp - 0x54], ecx
adc eax, 0
push edx
push 0
mov dword [ebp - 0x50], eax
push eax
mov eax, dword [ebp - 0x10]
push ecx
push 0
mov ecx, dword [eax + 0x28]
push ecx
call fcn.00597f20
add esp, 0x20
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x5932f4
inc edi
cmp edi, 0x64
jl 0x5932a1
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x595aa3
test eax, eax
je 0x5959a5
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
mov byte [eax + 3], 0
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x54]
mov dword [eax], edx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 4], ecx
jmp 0x590465
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea ecx, [edi + edx*8]
mov edx, dword [esi + 0x60]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [edi + edx*8]
mov dword [ebp - 0x1c0], eax
mov al, byte [ebx + 1]
mov edx, dword [edi + edx*8 + 4]
cmp al, 0xfa
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1bc], edx
jne 0x59338b
mov edx, dword [eax + 0xf0]
test edx, edx
je 0x59338b
mov edx, dword [ebp - 0xc]
mov edi, dword [eax + 0x10]
movsx edx, byte [edx + 1]
shl edx, 4
mov edx, dword [edx + edi]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x18], edx
jmp 0x593390
xor edi, edi
mov dword [ebp - 0x18], edi
test byte [ebx + 2], 1
je 0x593399
inc dword [esi + 0x2c]
test byte [ebx + 2], 0x20
je 0x5933b1
mov edx, dword [ebp - 0x1c0]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x1bc]
mov dword [eax + 0x2c], edx
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x1b8], eax
mov ax, word [ebx + 2]
mov edx, dword [ecx + 0xc]
test al, 0x10
mov dword [ebp - 0x1ac], edx
je 0x5933d3
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x20]
jmp 0x5933d5
xor edx, edx
test byte [ecx + 9], 0x40
je 0x5933e5
mov ecx, dword [ecx]
mov dword [ebp - 0x1a8], ecx
jmp 0x5933ef
mov dword [ebp - 0x1a8], 0
mov esi, dword [ebp - 0xc]
and eax, 0xa
push edx
mov dword [ebp - 0x1c8], 0
push eax
mov eax, dword [esi + 0x28]
lea edx, [ebp - 0x1c8]
push edx
push eax
call fcn.00598880
add esp, 0x10
mov byte [esi + 3], 0
test eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], 0
jne 0x595aa3
test edi, edi
je case.0x590480.86
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edi]
push ecx
push edx
mov dl, byte [ebx + 2]
mov ecx, dword [ebp - 0x18]
and dl, 4
neg dl
sbb edx, edx
push eax
mov eax, dword [ebp - 8]
and edx, 5
push ecx
add edx, 0x12
mov ecx, dword [eax + 0xec]
push edx
push ecx
call dword [eax + 0xf0]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x18
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ebx + 8]
mov edi, dword [ecx + eax*4]
mov al, byte [ebx + 1]
cmp al, 0xfa
mov dword [ebp - 0x24], edx
jne 0x5934d4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x5934d4
movsx edx, byte [edi + 1]
mov eax, dword [eax + 0x10]
shl edx, 4
mov ecx, dword [edx + eax]
mov al, byte [ebx + 2]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0xc], ecx
test al, 2
mov dword [ebp - 0x18], edx
je 0x5934dc
mov al, byte [edi + 4]
test al, al
je 0x5934dc
mov eax, dword [edi + 0x28]
push eax
call fcn.00588920
mov dword [edi + 0x40], eax
add esp, 4
mov dword [edi + 0x44], edx
jmp 0x5934dc
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
mov cl, byte [ebx + 2]
mov edx, dword [edi + 0x28]
push ecx
push edx
call fcn.0059c170
xor ecx, ecx
add esp, 8
mov dword [edi + 0x1c], ecx
cmp eax, ecx
mov dword [ebp - 4], eax
mov dword [edi + 0x20], ecx
jne 0x595aa3
test byte [ebp - 0x24], 1
je case.0x590480.86
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 8]
inc eax
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0xf0]
test eax, eax
je case.0x590480.86
mov edx, dword [ebp - 0x18]
test byte [edx + 0x24], 0x20
jne case.0x590480.86
mov esi, dword [edi + 0x44]
mov edx, dword [edx]
mov ecx, dword [ecx + 0xec]
push esi
mov esi, dword [edi + 0x40]
push esi
push edx
mov edx, dword [ebp - 0xc]
push edx
push 9
push ecx
call eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x18
add ebx, 0x18
jmp 0x590465
mov edx, dword [esi + 0x2c]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.0058c7e0
mov edi, dword [ebp - 0x5c]
add esp, 8
mov dword [esi + 0x2c], 0
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
lea esi, [ebp - 0xcc]
lea eax, [eax + eax*4]
push esi
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebx + 0x10]
lea eax, [edi + eax*8]
push edx
push eax
push ecx
mov dword [ebp - 0xcc], 0
call fcn.005a32e0
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0xcc]
test eax, eax
jne 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*8]
mov ecx, dword [esi + 0x60]
push eax
mov ecx, dword [ecx + edx*4]
push ecx
call fcn.005a3220
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov edx, dword [ebx + 0xc]
mov eax, dword [esi + 0x60]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov ecx, dword [eax + edx*4]
add ebx, 0x18
mov dword [ecx + 0x1c], 0
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov edx, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + edx*4]
mov edi, dword [ecx + 0x28]
push edi
call fcn.005889b0
mov edx, dword [ebp - 8]
add esp, 0xc
cmp eax, dword [edx + 0x6c]
ja 0x595bb4
mov ecx, dword [ebp - 0x14]
push ecx
push eax
push 0
push edi
call fcn.0059df30
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov eax, dword [ebx + 0xc]
test eax, eax
jne case.0x590480.86
mov eax, dword [ebp - 0x14]
test byte [eax + 9], 0x10
je case.0x590480.86
push eax
call fcn.0058a360
add esp, 4
test eax, eax
jne 0x595a49
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov edx, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, dword [ecx + edx*4]
mov cl, byte [edi + 2]
test cl, cl
je 0x5936c9
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov word [eax + 8], 1
add ebx, 0x18
jmp 0x590465
mov cl, byte [edi + 3]
test cl, cl
je 0x5936fb
mov edx, dword [edi + 0x40]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc8], edx
mov ecx, dword [edi + 0x44]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0xc4], ecx
mov dword [eax], edx
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 4], ecx
add ebx, 0x18
jmp 0x590465
cmp byte [edi], 2
jne 0x59374c
mov eax, dword [edi + 0x28]
lea edx, [ebp - 0xc8]
push edx
push eax
mov edi, dword [eax]
mov ecx, dword [edi]
call dword [ecx + 0x30]
push edi
push esi
mov dword [ebp - 4], eax
call fcn.0059f580
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc8]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [eax], edx
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 4], ecx
add ebx, 0x18
jmp 0x590465
push edi
call fcn.0059e070
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov al, byte [edi + 2]
test al, al
je 0x59377e
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
mov word [eax + 8], 1
jmp 0x590465
mov ecx, dword [edi + 0x28]
push ecx
call fcn.00588920
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc4], edx
mov edx, dword [ebp - 0xc8]
mov dword [eax], edx
mov ecx, dword [ebp - 0xc4]
add esp, 4
mov dword [eax + 4], ecx
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + edx*4]
mov byte [eax + 2], 1
mov dword [eax + 0x1c], 0
cmp byte [eax], 0
jne case.0x590480.86
mov ecx, dword [eax + 0x28]
push ecx
call fcn.00589ce0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
cmp cl, 0x82
mov esi, dword [eax + edx*4]
mov edi, dword [esi + 0x28]
mov dword [ebp - 0xb8], 0
jne 0x593822
push edi
mov dword [esi + 0x20], 0xffffffff
call fcn.00597a60
add esp, 4
test eax, eax
jne case.0x590480.86
lea ecx, [ebp - 0xb8]
push ecx
push edi
call fcn.00597e50
mov dl, byte [ebp - 0xb8]
add esp, 8
mov byte [esi + 2], dl
mov byte [esi + 3], 0
test eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], 0
jne 0x595aa3
mov eax, dword [ebx + 8]
test eax, eax
jle case.0x590480.86
mov eax, dword [ebp - 0xb8]
test eax, eax
jne 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + eax*4]
lea eax, [ebp - 0xac]
push eax
mov esi, dword [edx + 0x28]
push esi
call fcn.00597ad0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0xac]
test eax, eax
jne 0x5955c1
push esi
call fcn.005983f0
add esp, 4
test edx, edx
jl 0x5938e3
jg 0x5938c0
test eax, eax
jb 0x5938e3
push edx
push eax
call fcn.00596300
movsx ecx, ax
mov eax, dword [ebx + 0xc]
add esp, 8
cmp ecx, eax
jge 0x5938e3
mov dword [ebp - 0xac], 1
jmp 0x5955c1
mov eax, dword [ebp - 0xac]
test eax, eax
jne 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
inc dword [esi + 0xac]
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov esi, dword [eax + edx*4]
mov dword [ebp - 0xa4], 1
cmp byte [esi], 1
jne 0x593932
lea ecx, [ebp - 0xa4]
push ecx
push esi
call fcn.005a1df0
add esp, 8
mov dword [ebp - 4], eax
jmp 0x593953
mov eax, dword [esi + 0x28]
lea edx, [ebp - 0xa4]
push edx
push eax
call fcn.00597ad0
mov byte [esi + 3], 0
add esp, 8
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595aa3
mov al, byte [ebp - 0xa4]
mov byte [esi + 2], al
mov eax, dword [ebp - 0xa4]
test eax, eax
jne 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov eax, dword [ebp - 8]
mov edi, dword [edx + ecx*4]
push edi
push eax
call fcn.005a3180
jmp 0x5939ac
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov eax, dword [ebx + 0xc]
mov edi, dword [edx + ecx*4]
push eax
mov ecx, dword [edi + 0x28]
push ecx
call dword [ebx + 0x10]
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
mov dword [edi + 0x1c], 0
jne 0x5939dc
xor edx, edx
mov byte [edi + 2], al
mov dx, word [ebx + 2]
mov ecx, dword [esi + edx*4 + 0xa4]
lea eax, [esi + edx*4 + 0xa4]
inc ecx
mov dword [eax], ecx
jmp case.0x590480.11
cmp eax, 0x65
jne 0x595aa3
mov dword [ebp - 4], 0
mov byte [edi + 2], 1
jmp 0x595087
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc], edx
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov al, byte [ebx + 2]
test al, 1
mov dword [ebp - 0x10], ecx
je 0x593a17
inc dword [esi + 0x2c]
test byte [ecx + 9], 0x40
je 0x593a37
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0058a410
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov ecx, dword [ebp - 0x10]
cmp byte [ebx], 0x83
jne 0x593a51
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push edx
push eax
call fcn.005a10e0
add esp, 8
mov dword [ebp - 4], eax
jmp 0x593abb
mov eax, dword [ecx + 0xc]
cdq
mov dword [ebp - 0x230], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x22c], edx
mov ecx, dword [ecx + 0x10]
lea edx, [eax + eax*4]
mov dword [ebp - 0x238], ecx
mov cx, word [ebx + 0x10]
lea eax, [edi + edx*8]
mov word [ebp - 0x220], cx
mov dword [ebp - 0x224], eax
mov ax, word [ebx + 2]
test al, 0x10
je 0x593a94
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x20]
jmp 0x593a96
xor ecx, ecx
mov esi, dword [ebp - 0xc]
and eax, 0xa
push ecx
push eax
mov ecx, dword [esi + 0x28]
lea eax, [ebp - 0x238]
push eax
push ecx
call fcn.00598880
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov esi, dword [eax + edx*4]
mov ax, word [ebx + 0xc]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov word [ebp - 0x188], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x24], ecx
lea edx, [eax + eax*4]
mov byte [ebp - 0x186], 0
lea eax, [edi + edx*8]
lea edx, [ebp - 0x114]
push edx
mov dword [ebp - 0x18c], eax
push 0
push 0
lea eax, [ebp - 0x190]
push 0
push eax
push ecx
call fcn.00597f20
add esp, 0x18
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0x114]
test eax, eax
jne 0x593b58
mov ecx, dword [ebp - 0x24]
push 4
push ecx
call fcn.0059c170
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov edi, dword [ebp - 0x5c]
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + edx*4]
push eax
mov dword [ebp - 0xc], eax
call fcn.0059e070
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov ecx, dword [ebp - 0xc]
mov al, byte [ecx + 2]
test al, al
jne 0x593c39
xor edi, edi
mov eax, ecx
lea edx, [ebp - 0xc0]
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
mov ecx, dword [eax + 0x28]
push edx
mov edx, dword [ebp - 8]
push ecx
push edx
call fcn.0059f380
add esp, 0xc
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x595aa3
cmp byte [ebx], 0x86
jne 0x593c10
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi + 0x60]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov eax, dword [ecx + eax*4]
add ebx, 0x18
mov byte [eax + 2], 0
mov edx, dword [ebp - 0xc0]
mov dword [eax + 0x40], edx
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 0x44], ecx
mov ecx, dword [ebp - 0xc]
mov byte [eax + 3], 1
mov edx, dword [ebx - 8]
mov dword [eax + 0x18], edx
mov dword [eax + 0x24], ecx
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov edx, dword [ebp - 0xc0]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [eax], edx
mov ecx, dword [ebp - 0xbc]
add esp, 8
mov dword [eax + 4], ecx
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
call fcn.00589e20
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
cmp cl, 0x27
mov eax, dword [eax + edx*4]
sbb cl, cl
mov edx, dword [eax + 0x2c]
mov byte [ebp - 0x196], cl
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1a0], edx
mov dx, word [ebx + 0x10]
mov dword [ebp - 0x80], 0
mov word [ebp - 0x198], dx
lea edx, [ecx + ecx*4]
lea ecx, [edi + edx*8]
lea edx, [ebp - 0x80]
mov dword [ebp - 0x19c], ecx
lea ecx, [ebp - 0x1a0]
push edx
mov edx, dword [ebp - 8]
push ecx
push eax
push edx
call fcn.0059f4a0
mov dword [ebp - 4], eax
mov al, byte [ebx]
and al, 1
add esp, 0x10
cmp al, 1
mov eax, dword [ebp - 0x80]
jne 0x593cc1
neg eax
jmp 0x593cc2
inc eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x80], eax
test ecx, ecx
jne 0x595aa3
test eax, eax
jg 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov ecx, dword [ebp - 8]
mov edi, eax
add esp, 8
mov word [edi + 8], 1
mov edx, dword [ecx + 0xc0]
mov eax, dword [ecx + 0xb4]
inc edx
cmp eax, edx
jg 0x5959b1
mov eax, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x10]
lea edx, [ebp - 0xb0]
mov dword [ebp - 0x18], eax
push edx
mov edx, dword [ebx + 4]
shl eax, 4
mov dword [ebp - 0xb0], 0
push edx
mov edx, dword [eax + ecx + 4]
push edx
call fcn.0059c990
mov ecx, eax
mov word [edi + 8], 4
mov eax, dword [ebp - 0xb0]
add esp, 0xc
cdq
mov dword [edi], eax
mov dword [ebp - 4], ecx
test ecx, ecx
mov dword [edi + 4], edx
jne 0x595aa3
mov eax, dword [ebp - 0xb0]
test eax, eax
je case.0x590480.86
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x18]
push ecx
push eax
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.005aa4c0
mov al, byte [ebp - 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x10
inc al
add ebx, 0x18
mov byte [ebp - 0xb4], al
jmp 0x590465
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x18]
and ecx, edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, dword [ebx + 8]
push eax
mov eax, dword [edx + 0x10]
shl ecx, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ecx + eax + 4]
push ecx
call fcn.0059c770
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
add esp, 0xc
test eax, eax
je 0x593dfc
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x2c]
add ecx, eax
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jle 0x593dfc
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + edx*8]
lea edi, [edi + edx*8]
cdq
add ecx, eax
mov dword [edi], ecx
mov eax, dword [edi + 4]
adc eax, edx
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov eax, dword [ecx + eax*4]
cmp byte [eax], 1
jne 0x593e41
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.005a0d50
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
add ebx, 0x18
jmp 0x590465
mov ecx, dword [eax + 0x28]
push ecx
call fcn.0059c970
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov edx, dword [ebp - 8]
mov ecx, dword [ebx + 0xc]
mov esi, eax
mov eax, dword [ebx + 4]
mov edi, dword [edx + 0x10]
mov dword [ebp - 0xdc], 0
shl eax, 4
add eax, edi
lea edx, [ebp - 0xdc]
push ecx
push edx
mov eax, dword [eax + 4]
push eax
call fcn.0059c4f0
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0xdc]
mov edi, dword [ebp - 0x5c]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590465
mov esi, dword [ebp - 8]
push 0
push 0
push 0
mov dl, byte [esi + 0x5a]
inc dl
mov byte [esi + 0x5a], dl
mov ecx, dword [ebx + 0x10]
push ecx
push esi
call fcn.005acef0
mov dl, byte [esi + 0x5a]
add esp, 0x14
dec dl
mov dword [ebp - 4], eax
test eax, eax
mov byte [esi + 0x5a], dl
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebx + 4]
test ecx, ecx
jne 0x593f5f
mov eax, dword [ebp - 8]
mov edx, edi
shl edx, 4
mov ecx, dword [eax + 0x10]
mov edx, dword [edx + ecx + 0xc]
push edx
call fcn.005aa920
mov eax, dword [ebp - 8]
lea ecx, [esi + 0x7c]
push 1
push ecx
mov edx, dword [eax + 0x18]
push edi
and edx, 0xffffffef
push eax
mov dword [eax + 0x18], edx
call fcn.005ae130
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add esp, 0x14
mov ecx, dword [eax + 0x18]
or ecx, 1
mov dword [eax + 0x18], ecx
mov eax, dword [esi + 0x98]
and al, 0xfc
mov dword [esi + 0x98], eax
jmp 0x59401a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x170], edi
push ecx
lea edx, [esi + 0x7c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x178], eax
shl edi, 4
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x168], 0
mov edx, dword [edi + ecx]
push str.sqlite_master
push edx
push str.SELECTFROM__w_._s_WHERE__s_ORDER_BY_rowid
push eax
call fcn.0058c350
mov edi, eax
add esp, 0x14
test edi, edi
je 0x595676
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x164], ecx
push ecx
lea ecx, [ebp - 0x178]
push ecx
push fcn.005ade40
push edi
push eax
mov byte [eax + 0xa5], 1
call fcn.005acef0
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x594006
mov eax, dword [ebp - 0x16c]
test eax, eax
mov dword [ebp - 4], eax
jne 0x594006
mov eax, dword [ebp - 0x164]
test eax, eax
jne 0x594006
push 0x15f51
call fcn.005e1c40
add esp, 4
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp - 8]
push edi
call fcn.005790a0
add esp, 8
mov byte [edi + 0xa5], 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x59567d
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.005a8900
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push ecx
push edx
push eax
call fcn.005aa0c0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push ecx
push edx
push eax
call fcn.005a9a40
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push ecx
push edx
push eax
call fcn.005b1eb0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
add edx, 4
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
push eax
push ecx
push edx
mov edx, dword [ebp - 8]
xor ecx, ecx
mov cx, word [ebx + 2]
mov eax, dword [edx + 0x10]
shl ecx, 4
mov ecx, dword [ecx + eax + 4]
push ecx
call fcn.0059cd10
push edi
mov dword [ebp - 0x24], eax
call fcn.00589e20
mov eax, dword [ebp - 0x110]
add esp, 0x18
test eax, eax
je 0x59414c
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x595a49
mov esi, dword [ebp - 0x18]
dec eax
cdq
sub dword [esi], eax
mov eax, dword [esi + 4]
push fcn.00579000
push 1
push 0xffffffffffffffff
push ecx
sbb eax, edx
push edi
mov dword [esi + 4], eax
call fcn.00589f90
add esp, 0x14
mov edx, dword [ebp - 0x38]
and edx, 0xff
push edx
push edi
call fcn.0058cbe0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], ecx
lea edx, [eax + eax*4]
mov al, byte [ecx + 8]
test al, 0x10
lea edi, [edi + edx*8]
jne 0x59426f
mov eax, ecx
push eax
call fcn.0059ddc0
add esp, 4
test eax, eax
jne 0x595a49
jmp 0x59426f
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov cl, byte [edi + edx*8 + 8]
lea eax, [edi + edx*8]
test cl, 0x10
mov dword [ebp - 0x1c], eax
je 0x5941f9
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x180]
push eax
mov edx, dword [ecx + 0x10]
push edx
call fcn.00596460
add esp, 8
test eax, eax
je 0x5941f9
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x180]
push eax
mov eax, dword [ebx + 0xc]
push ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
call fcn.0058da60
add esp, 0xc
jmp 0x595087
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00589e20
add esp, 4
jmp case.0x590480.11
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0xc]
lea ecx, [edi + edx*8]
lea eax, [eax + eax*4]
mov dword [ebp - 0x1c], ecx
mov dl, byte [ecx + 8]
lea edi, [edi + eax*8]
mov eax, dword [ebx + 0x10]
test dl, 0x10
mov dword [ebp - 0x18], eax
jne 0x594241
push ecx
call fcn.0059ddc0
add esp, 4
test eax, eax
jne 0x595a49
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x59426f
mov edx, dword [edi + 4]
mov ecx, dword [edi]
push edx
mov edx, dword [ebp - 0x1c]
push ecx
push eax
mov eax, dword [edx + 0x10]
push eax
call fcn.00596630
add esp, 0x10
test eax, eax
jne 0x5955c1
mov eax, dword [ebp - 0x18]
test eax, eax
jl case.0x590480.86
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x1c]
mov edx, dword [edi]
push ecx
mov ecx, dword [eax + 0x10]
push edx
push ecx
call fcn.005963b0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
cmp word [ebx + 2], 0
mov dword [ebp - 0xc], ecx
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
mov dword [ebp - 0x18], edi
je 0x5942cf
mov eax, dword [esi + 0xc8]
mov edx, dword [ecx + 0x14]
test eax, eax
je 0x5942cf
cmp dword [eax + 0x1c], edx
je 0x5942c7
mov eax, dword [eax + 4]
test eax, eax
jne 0x5942b9
jmp 0x5942cf
test eax, eax
jne case.0x590480.86
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0xd0]
cmp eax, dword [edx + 0x94]
jge 0x5959c4
test byte [edi + 8], 0x10
jne 0x5943e0
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
add ecx, eax
test eax, eax
mov dword [ebp - 0x5c], ecx
jne 0x594301
inc ecx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xc]
lea ecx, [ecx + ecx*4 + 0xa]
lea ecx, [eax + ecx*2]
mov eax, dword [edx + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx*4]
mov dword [ebp - 0x24], eax
cdq
push edx
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.00589f20
mov edi, eax
add esp, 0xc
test edi, edi
je 0x595a49
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0058a480
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
add esp, 4
mov word [eax + 8], 0x410
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x24], 0x59e050
mov eax, dword [ebp - 0x5c]
mov dword [edi], esi
mov dword [edi + 0x3c], eax
mov edx, dword [ecx + 0xc]
mov dword [edi + 0x40], edx
mov edx, dword [ebp - 0x34]
sub ebx, edx
mov eax, 0x2aaaaaab
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [edi + 0x30], edx
mov edx, dword [esi + 0x58]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x18]
mov dword [edi + 0x38], eax
mov edx, dword [esi + 0x60]
mov dword [edi + 0x14], edx
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x2c], eax
mov edx, dword [esi + 0x68]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x34], eax
mov ecx, dword [ecx + 0x14]
mov dword [edi + 0x1c], ecx
mov eax, dword [edi + 0x3c]
add eax, 2
lea edx, [eax + eax*4]
lea eax, [edi + 0x50]
lea ecx, [edi + edx*8]
cmp eax, ecx
je 0x5943e3
mov edx, dword [ebp - 8]
mov ebx, 0x80
mov word [eax + 8], bx
mov dword [eax + 0x20], edx
add eax, 0x28
cmp eax, ecx
jne 0x5943d0
jmp 0x5943e3
mov edi, dword [edi + 0x10]
mov edx, dword [esi + 0xd0]
mov ebx, dword [ebp - 0xc]
inc edx
mov dword [esi + 0xd0], edx
mov eax, dword [esi + 0xc8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
mov dword [edi + 0x20], ecx
mov edx, dword [eax + 0x2c]
mov dword [edi + 0x24], edx
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x44], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x64]
lea ecx, [edi + 0x50]
mov dword [edi + 0x48], edx
mov eax, dword [esi + 0xdc]
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [esi + 0xdc], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0xc8], edi
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x3c]
mov dword [ebp - 0x5c], ecx
mov dword [esi + 0x18], edx
mov ax, word [edi + 0x40]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x18]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
mov dword [esi + 0x60], eax
mov ecx, dword [ebx + 0xc]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x24], eax
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 4]
mov edi, dword [ebp - 0x24]
add eax, 7
cdq
and edx, 7
add eax, edx
mov ecx, eax
xor eax, eax
sar ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx]
mov dword [esi + 0x68], eax
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x34], eax
mov dword [esi + 0x6c], ecx
lea ebx, [eax - 0x18]
jmp 0x595087
push ebx
push esi
call fcn.0059f850
mov esi, dword [esi + 0xc8]
mov edi, dword [ebx + 4]
push 0x1000
mov ecx, dword [esi + 0x30]
lea edx, [ecx + ecx*2]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + edx*8 + 4]
add ecx, edi
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x10]
lea edx, [ecx + edx*8]
push edx
push eax
call fcn.0059deb0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ecx + 0x20]
and eax, 0x80000
or eax, edx
je 0x59451f
mov eax, dword [ebx + 8]
mov esi, dword [ecx + 0x1e0]
cdq
mov edi, dword [ebp - 0x5c]
add esi, eax
mov dword [ecx + 0x1e0], esi
mov eax, dword [ecx + 0x1e4]
mov esi, dword [ebp + 8]
adc eax, edx
add ebx, 0x18
mov dword [ecx + 0x1e4], eax
jmp 0x590465
mov eax, dword [ebx + 4]
test eax, eax
mov eax, dword [ebx + 8]
cdq
je 0x594554
mov esi, dword [ecx + 0x1d8]
mov edi, dword [ebp - 0x5c]
add esi, eax
mov dword [ecx + 0x1d8], esi
mov eax, dword [ecx + 0x1dc]
mov esi, dword [ebp + 8]
adc eax, edx
add ebx, 0x18
mov dword [ecx + 0x1dc], eax
jmp 0x590465
mov ecx, dword [esi + 0x40]
mov edi, dword [ebp - 0x5c]
add ecx, eax
mov dword [esi + 0x40], ecx
mov eax, dword [esi + 0x44]
adc eax, edx
add ebx, 0x18
mov dword [esi + 0x44], eax
mov esi, dword [ebp + 8]
jmp 0x590465
mov eax, dword [ebx + 4]
test eax, eax
je 0x5945b7
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1d8]
mov edx, dword [eax + 0x1dc]
or ecx, edx
jne case.0x590480.86
mov edx, dword [eax + 0x1e0]
mov ecx, dword [eax + 0x1e4]
add eax, 0x1e0
or edx, ecx
je 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add esi, 0x40
or eax, ecx
jne case.0x590480.86
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1e0]
lea eax, [ecx + 0x1e0]
mov ecx, dword [ecx + 0x1e4]
or edx, ecx
je 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov esi, dword [esi + 0xc8]
test esi, esi
je 0x59461d
mov ecx, esi
mov eax, dword [ecx + 4]
test eax, eax
je 0x59460f
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x594606
mov eax, dword [ebx + 4]
mov ecx, dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
jmp 0x594626
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
lea esi, [edi + edx*8]
push esi
call fcn.0059dbb0
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
push edi
call fcn.0059dbb0
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ecx, dword [esi + 4]
add esp, 8
cmp ecx, edi
jg case.0x590480.86
jl 0x59465a
mov edx, dword [esi]
cmp edx, eax
jae case.0x590480.86
mov dword [esi], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 4]
mov esi, dword [edi + eax*8]
lea edi, [edi + eax*8]
test ecx, ecx
jl case.0x590480.86
jg 0x59468f
test esi, esi
jbe case.0x590480.86
mov eax, dword [ebx + 0xc]
cdq
sub esi, eax
sbb ecx, edx
mov dword [edi], esi
mov dword [edi + 4], ecx
jmp 0x5955c1
mov eax, dword [ebx + 4]
push ebx
push esi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea edx, [edi + ecx*8]
mov dword [ebp - 0x1c], edx
lea edi, [edi + eax*8]
call fcn.0059f850
mov esi, eax
mov eax, dword [ebp - 0x1c]
add esp, 8
mov ecx, dword [eax]
mov dword [ebp - 0xec], ecx
mov eax, dword [eax + 4]
test eax, eax
mov dword [ebp - 0xe8], eax
jl 0x594727
jg 0x5946e0
test ecx, ecx
jbe 0x594727
mov eax, dword [edi]
mov edi, dword [edi + 4]
test edi, edi
jl 0x5946ef
jg 0x5946f3
test eax, eax
ja 0x5946f3
xor eax, eax
xor edi, edi
push edi
lea ecx, [ebp - 0xec]
push eax
push ecx
call fcn.005960a0
add esp, 0xc
test eax, eax
jne 0x594727
mov edx, dword [ebp - 0xec]
mov edi, dword [ebp - 0x5c]
mov dword [esi], edx
mov eax, dword [ebp - 0xe8]
mov dword [esi + 4], eax
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590465
mov edi, dword [ebp - 0x5c]
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edi + ecx*8]
mov esi, eax
lea edx, [edi + ecx*8]
mov ecx, dword [edi + ecx*8 + 4]
or esi, ecx
je case.0x590480.86
test ecx, ecx
jl 0x5955c1
jg 0x59476e
test eax, eax
jbe 0x5955c1
sub eax, 1
sbb ecx, 0
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x5955c1
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov ecx, dword [edi + edx*8 + 4]
lea eax, [edi + edx*8]
cmp ecx, 0x80000000
mov edx, dword [eax]
jl 0x5947a6
jg 0x59479b
test edx, edx
jbe 0x5947a6
sub edx, 1
sbb ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
je 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
xor eax, eax
push 0
mov ax, word [ebx + 2]
mov dword [ebp - 0xc], eax
lea edx, [eax*4 + 0x44]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.005793b0
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je 0x595a49
mov edx, dword [ebp - 0xc]
mov ecx, eax
push 1
lea eax, [ecx + edx*4 + 0x1c]
mov dword [ecx + 8], 0
mov dword [ecx], eax
mov ecx, dword [ebp - 8]
push ecx
push eax
call fcn.0059dda0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov dword [ecx + 4], edx
mov edx, ebx
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ecx + 0x10], edx
mov dl, byte [ebp - 0xc]
mov dword [ecx + 0xc], esi
mov byte [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x19], dl
mov byte [ebx + 1], 0xf0
mov dword [ebx + 0x10], ecx
mov byte [ebx], 0x9b
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ecx + ecx*4]
lea edx, [edi + ecx*8]
mov ecx, dword [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x24], edx
je 0x59488f
xor ecx, ecx
mov dword [eax + 8], edx
mov cl, byte [eax + 0x19]
dec ecx
js 0x59488f
lea edx, [eax + ecx*4 + 0x1c]
mov eax, ecx
sub edx, 4
add eax, dword [ebx + 8]
dec ecx
test ecx, ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx + 4], eax
jge 0x594876
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0xc]
inc ecx
mov dword [edx + 0xc], ecx
mov eax, dword [ebx + 4]
test eax, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
lea edx, [eax + 0x1c]
push edx
je 0x5948b3
xor edx, edx
mov dl, byte [eax + 0x19]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x5948bd
xor edx, edx
mov dl, byte [eax + 0x19]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [eax + 0x14]
test eax, eax
je case.0x590480.86
jle 0x5948f3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call fcn.0058d6d0
push eax
push 0x752e30
push esi
call fcn.0058c650
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov ecx, dword [eax + 0x14]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
mov al, byte [edx + 0x18]
test al, al
je 0x59491e
mov eax, dword [ebx - 0x14]
test eax, eax
je 0x594917
lea eax, [eax + eax*4]
push 0
push 1
lea ecx, [edi + eax*8]
push ecx
call fcn.0058da60
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x18], 0
mov esi, dword [ebp - 0x10]
mov eax, dword [esi]
push eax
call fcn.0058a480
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
add esp, 4
mov word [ecx + 8], 1
mov dword [esi + 0x14], 0
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
push ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x594991
mov ecx, dword [ebp - 0xc]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
push ecx
call fcn.0059db20
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
add esp, 0xc
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dword [ebp - 0xc], eax
mov edi, eax
jmp 0x5949a0
mov edi, dword [ebp - 0xc]
push edi
call fcn.00589e80
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x5959de
jmp 0x595482
mov edx, dword [ebx + 8]
or eax, 0xffffffff
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xf0]
lea ecx, [ebp - 0xf4]
push eax
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [ebp - 8]
push edx
push eax
push ecx
mov dword [ebp - 0xf8], 0
call fcn.005e0920
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
je 0x594a0c
cmp eax, 5
jne 0x595aa3
mov dword [ebp - 4], 0
mov dword [ebp - 0xf8], 1
mov eax, dword [ebx + 0xc]
lea esi, [ebp - 0xf8]
mov dword [ebp - 0x18], 3
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
mov eax, dword [esi]
cdq
push edx
push eax
push edi
call fcn.0058da60
mov eax, dword [ebp - 0x18]
add esp, 0xc
add esi, 4
add edi, 0x28
dec eax
mov dword [ebp - 0x18], eax
jne 0x594a22
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 0xc]
mov edx, dword [ecx + 0x10]
shl eax, 4
mov eax, dword [eax + edx + 4]
push eax
mov dword [ebp - 0x24], eax
call fcn.0057f460
push eax
mov dword [ebp - 0x20], eax
call fcn.00581b90
add esp, 0x10
cmp edi, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x594a89
mov edi, eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.00596990
add esp, 4
test eax, eax
jne 0x594a9c
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
push 1
push ecx
call fcn.0058c390
add esp, 8
cmp edi, 5
jne 0x594ad1
push eax
call fcn.0057b0a0
add esp, 4
test eax, eax
je 0x594acc
mov edx, dword [ebp - 0x20]
push edx
call fcn.00587150
add esp, 4
test eax, eax
jne 0x594ad1
mov edi, dword [ebp - 0x10]
jmp 0x594b4f
mov eax, dword [ebp - 0x10]
cmp edi, eax
je 0x594b4f
cmp eax, 5
je 0x594ae2
cmp edi, 5
jne 0x594b4f
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x4f]
test dl, dl
je 0x5959f8
cmp dword [ecx + 0xb4], 1
jg 0x5959f8
cmp eax, 5
jne 0x594b1c
mov esi, dword [ebp - 0x20]
mov eax, ecx
push eax
push esi
call fcn.005969d0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x594b56
push edi
push esi
jmp 0x594b27
cmp eax, 4
jne 0x594b2f
mov ecx, dword [ebp - 0x20]
push 2
push ecx
call fcn.00596870
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
jne 0x594b56
mov eax, dword [ebp - 0x24]
xor edx, edx
cmp edi, 5
sete dl
inc edx
push edx
push eax
call fcn.005895e0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x594b59
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
push edi
push ecx
call fcn.00596870
mov esi, dword [ebp - 0x14]
push eax
mov word [esi + 8], 0xa02
call fcn.005ad820
push eax
mov dword [esi + 0x10], eax
call fcn.0057b0a0
mov edx, dword [ebp - 0x38]
mov dword [esi + 0xc], eax
and edx, 0xff
mov byte [esi + 0xa], 1
push edx
push esi
call fcn.0058cbe0
mov eax, dword [ebp - 4]
add esp, 0x18
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 8]
test eax, eax
je 0x594bbd
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
jmp 0x594bbf
xor eax, eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 8]
push eax
push ecx
add esi, 0x7c
push edx
push esi
call fcn.005b1fa0
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 4]
shl eax, 4
mov edx, dword [ecx + 0x10]
mov eax, dword [eax + edx + 4]
push eax
call fcn.00597820
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je case.0x590480.86
cmp eax, 0x65
jne 0x595aa3
mov dword [ebp - 4], 0
jmp 0x5955c1
mov eax, dword [ebx + 4]
test eax, eax
jne 0x594c4b
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
push eax
push ecx
call fcn.0059f540
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebx + 8]
mov eax, dword [esi + 0x98]
inc edx
mov edi, dword [ebp - 0x5c]
xor edx, eax
and edx, 3
xor edx, eax
add ebx, 0x18
mov dword [esi + 0x98], edx
mov esi, dword [ebp + 8]
jmp 0x590465
mov al, byte [ebx + 0xc]
test al, al
mov byte [ebp - 0x120], al
jne 0x594c9f
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
mov eax, 0
and ecx, 0x400
mov dword [ebp - 0x28], ecx
jne case.0x590480.86
test eax, eax
jne case.0x590480.86
mov edx, dword [ebp - 0x120]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
push edx
mov edx, dword [ebp - 8]
push ecx
shl eax, 4
mov ecx, dword [edx + 0x10]
mov edx, dword [ecx + eax + 4]
push edx
call fcn.0059da30
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x595a22
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov edi, dword [ebx + 0x10]
mov eax, dword [ebp - 8]
push edi
push eax
call fcn.005b34e0
add esp, 8
mov dword [ebp - 4], eax
test edi, edi
je 0x594d00
mov ecx, dword [edi + 8]
push ecx
push esi
call fcn.0059f580
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebp - 8]
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x2b0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x290], edx
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
lea eax, [ebp - 0x2b0]
push edx
push eax
call fcn.0058dc90
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 4], eax
push ecx
call fcn.0058d6d0
add esp, 0xc
test eax, eax
je 0x594d78
mov edx, dword [ebx + 4]
add esi, 0x7c
push esi
push eax
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.005b2fd0
add esp, 0x10
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.0058a480
mov eax, dword [ebp - 4]
add esp, 4
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0xc0]
inc eax
mov dword [esi + 0xc0], eax
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
push edx
push eax
push esi
call fcn.005b3310
mov edx, dword [esi + 0xc0]
add esp, 0xc
dec edx
mov dword [ebp - 4], eax
test eax, eax
mov dword [esi + 0xc0], edx
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0xc], 0
mov edi, dword [ecx + 8]
test edi, edi
je 0x595ba8
mov eax, dword [edi]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x595ba8
lea edx, [ebp - 0xc]
push edx
push edi
call dword [eax + 0x18]
push edi
push esi
mov dword [ebp - 4], eax
call fcn.0059f580
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0xc]
push 2
push 0xffffffffffffffff
push 0
mov dword [eax], edi
mov ecx, dword [ebx + 4]
push ecx
push esi
call fcn.0059f5d0
add esp, 0x14
test eax, eax
je 0x595a3c
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov dword [eax + 0x28], edx
mov eax, dword [edi + 4]
inc eax
add ebx, 0x18
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x5c]
jmp 0x590465
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
lea eax, [eax + eax*4]
mov ecx, dword [edx + ecx*4]
lea eax, [edi + eax*8]
mov dword [ebp - 0x10], ecx
mov edi, dword [ecx + 0x28]
mov edx, dword [eax]
mov ecx, dword [edi]
mov dword [ebp - 0x2c], edx
mov edx, dword [esi + 0x5c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x28]
test ecx, ecx
jle 0x594eba
add eax, 0x50
mov dword [ebp - 0x18], ecx
jmp 0x594ea3
mov edx, dword [ebp - 0x24]
mov dword [edx], eax
add edx, 4
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x18]
add eax, 0x28
dec edx
mov dword [ebp - 0x18], edx
jne 0x594ea0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x10]
push edx
mov edx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x2c]
push eax
push ecx
push edi
call dword [edx + 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
push eax
push esi
call fcn.0059f580
mov eax, dword [ebp - 4]
add esp, 0x1c
test eax, eax
jne 0x595aa3
mov ecx, dword [ebp - 0xc]
push edi
call dword [ecx + 0x28]
mov edx, dword [ebp - 0x10]
add esp, 4
test eax, eax
mov byte [edx + 2], 0
jne 0x5955c1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], ecx
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dl, byte [ecx + 2]
test dl, dl
mov dword [ebp - 0xc], eax
je 0x594f43
push eax
call fcn.00589e20
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x210]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
mov ecx, 8
mov dword [ebp - 0x44], eax
mov edx, dword [eax]
xor eax, eax
rep stosd dword es:[edi], eax
mov cl, byte [ebx + 2]
mov eax, dword [ebp - 0xc]
test cl, 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x210], eax
je 0x594f8c
mov edi, eax
push edi
call fcn.00589e20
mov word [edi + 8], 0x4001
add esp, 4
mov dword [edi], 0
jmp 0x594fa0
mov cx, word [eax + 8]
mov edi, dword [ebp - 0xc]
and ecx, 0x3e40
or ecx, 1
mov word [eax + 8], cx
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x210]
push edx
mov edx, dword [ecx + 0x28]
push eax
mov eax, dword [ebp - 0x24]
push edx
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], eax
push ecx
push esi
call fcn.0059f580
mov eax, dword [ebp - 0x1fc]
add esp, 0x14
test eax, eax
jle 0x594ff0
push edi
call fcn.0058d6d0
push eax
push 0x752e30
push esi
call fcn.0058c650
mov edx, dword [ebp - 0x1fc]
add esp, 0x10
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x38]
and eax, 0xff
push eax
push edi
call fcn.0058cbe0
push edi
call fcn.0059de80
add esp, 0xc
test eax, eax
jne 0x595bb4
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x60]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x24], eax
mov cl, byte [eax + 2]
test cl, cl
jne case.0x590480.86
mov eax, dword [eax + 0x28]
push eax
mov edi, dword [eax]
mov ecx, dword [edi]
mov dword [ebp - 0x44], ecx
call dword [ecx + 0x24]
push edi
push esi
mov dword [ebp - 4], eax
call fcn.0059f580
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x44]
mov ecx, dword [eax + 0x28]
push ecx
call dword [edx + 0x28]
add esp, 4
test eax, eax
jne 0x595087
mov ebx, dword [ebx + 8]
mov ecx, dword [ebp - 0x34]
lea eax, [ebx + ebx*2]
lea ebx, [ecx + eax*8 - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x110]
test eax, eax
jne 0x595a69
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jb case.0x590480.86
mov esi, edx
mov eax, dword [esi + 0x148]
test eax, eax
je case.0x590480.86
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x58]
mov ecx, dword [esi + 0x150]
add edi, ecx
mov ecx, dword [esi + 0x14c]
push ecx
mov dword [ebp - 0x58], edi
call eax
add esp, 4
test eax, eax
jne 0x595a95
cmp dword [ebp - 0x7c], edi
jae 0x5950a8
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebp - 8]
push 1
mov ecx, dword [eax + 0x20]
and ecx, 0x4000000
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x20]
or ecx, 0x4000000
mov dword [eax + 0x20], ecx
mov edx, dword [eax + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
lea edi, [edi + ecx*8]
push edi
call fcn.0058cbe0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add esp, 8
test eax, eax
jne 0x595166
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x20]
and edx, 0xfbffffff
mov dword [eax + 0x20], edx
mov ecx, dword [eax + 0x24]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x18]
push edx
push esi
call fcn.0059f580
mov ecx, dword [esi + 0x98]
add esp, 8
and ecx, 0xfffffffc
mov dword [esi + 0x98], ecx
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x595a49
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x595ba8
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x44], eax
je 0x595ba8
mov edx, dword [eax + 0x34]
mov ecx, dword [ebx + 8]
test edx, edx
je case.0x590480.86
mov edx, dword [ebp - 8]
test ecx, ecx
mov al, byte [edx + 0x56]
mov edx, dword [esi + 0x5c]
mov byte [ebp - 0x65], al
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], edx
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
jle 0x595203
mov eax, edx
mov edx, ecx
mov dword [eax], edi
add edi, 0x28
add eax, 4
dec edx
jne 0x5951f5
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 8]
mov al, byte [ebx + 2]
mov byte [edi + 0x56], al
lea eax, [ebp - 0x160]
push eax
push edx
mov edx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x18]
push ecx
call dword [edx + 0x34]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov al, byte [ebp - 0x65]
push ecx
push esi
mov byte [edi + 0x56], al
call fcn.0059f580
mov eax, dword [ebp - 4]
add esp, 0x18
test eax, eax
jne 0x595255
mov eax, dword [ebx + 4]
test eax, eax
je 0x595255
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x15c]
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], eax
mov ecx, dword [ebp - 4]
cmp cl, 0x13
jne 0x5952a6
mov edx, dword [ebx + 0x10]
mov al, byte [edx + 0x10]
test al, al
je 0x5952a6
mov ax, word [ebx + 2]
cmp ax, 4
jne 0x595286
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 4], 0
add ebx, 0x18
jmp 0x590465
cmp ax, 5
jne 0x595299
mov eax, 2
mov byte [esi + 0x92], al
jmp 0x5952a9
and eax, 0xffff
mov byte [esi + 0x92], al
jmp 0x5952a9
inc dword [esi + 0x2c]
test ecx, ecx
jne 0x595aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov ecx, dword [ebp - 8]
mov esi, eax
mov eax, dword [ebx + 4]
mov edx, dword [ecx + 0x10]
shl eax, 4
mov eax, dword [eax + edx + 4]
push eax
call fcn.005838c0
mov edi, dword [ebp - 0x5c]
mov dword [esi], eax
add esp, 0xc
mov dword [esi + 4], 0
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590465
push ebx
push esi
call fcn.0059f850
mov edx, dword [ebp - 8]
mov ecx, dword [ebx + 4]
mov edi, eax
add esp, 8
mov eax, dword [edx + 0x10]
shl ecx, 4
mov esi, dword [ecx + eax + 4]
mov ecx, dword [ebx + 0xc]
xor eax, eax
test ecx, ecx
je 0x59532f
push esi
call fcn.005838c0
mov ecx, dword [ebx + 0xc]
add esp, 4
cmp eax, ecx
jae 0x59532f
mov eax, ecx
push eax
push esi
call fcn.005977d0
mov esi, dword [ebp + 8]
add esp, 8
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [ebx + 2]
push 0
mov dword [ebp - 0x24], eax
lea ecx, [eax*4 + 0x1c]
push ecx
push edx
call fcn.005793b0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x595a49
mov dword [ecx], 0
mov eax, dword [ebx + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x34]
mov edx, ebx
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ecx + 0x10], edx
mov dl, byte [ebp - 0x24]
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x19], dl
mov byte [ebx + 1], 0xf0
mov dword [ebx + 0x10], ecx
mov al, byte [ebx]
add al, 2
mov byte [ebx], al
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov edx, dword [eax]
lea ecx, [ecx + ecx*4]
lea ecx, [edi + ecx*8]
cmp edx, ecx
mov dword [ebp - 0x14], ecx
je 0x5953f6
mov dword [eax], ecx
xor ecx, ecx
mov cl, byte [eax + 0x19]
dec ecx
js 0x5953f6
lea edx, [eax + ecx*4 + 0x1c]
mov eax, dword [ebx + 8]
sub edx, 4
add eax, ecx
dec ecx
test ecx, ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx + 4], eax
jge 0x5953e0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
mov cx, word [eax + 8]
and ecx, 0x3e40
or ecx, 1
mov word [eax + 8], cx
mov edx, dword [edi + 4]
xor ecx, ecx
lea eax, [edi + 0x1c]
mov cl, byte [edi + 0x19]
push eax
push ecx
push edi
call dword [edx + 0x10]
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x595475
jle 0x595448
mov edx, dword [ebp - 0x14]
push edx
call fcn.0058d6d0
push eax
push 0x752e30
push esi
call fcn.0058c650
mov eax, dword [edi + 0x14]
add esp, 0x10
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 4]
mov edx, dword [edi + 0x10]
push ecx
mov ecx, dword [ebp - 8]
lea eax, [esi + 0xdc]
push edx
push eax
push ecx
call fcn.0058c710
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
mov dword [edi + 0x14], 0
jne 0x595aa3
mov edi, dword [ebp - 0x14]
test byte [edi + 8], 0x12
je case.0x590480.86
mov edx, dword [ebp - 0x38]
and edx, 0xff
push edx
push edi
call fcn.0058cbe0
push edi
call fcn.0059de80
add esp, 0xc
test eax, eax
jne 0x595bb4
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x58]
test cl, 0x41
je 0x59556a
test byte [esi + 0x98], 0x10
jne 0x59556a
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x5954e2
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x59556a
test cl, 0x40
je 0x595515
mov ecx, dword [ebp - 8]
push eax
push esi
mov edx, dword [ecx + 0xcc]
mov dword [ebp - 0x24], edx
call fcn.0058fd20
mov edi, eax
mov eax, dword [ebp - 8]
push edi
mov ecx, dword [eax + 0xd0]
push ecx
call dword [ebp - 0x24]
push edi
call fcn.00579000
add esp, 0x14
jmp 0x59556a
mov edx, dword [ebp - 8]
push eax
cmp dword [edx + 0xbc], 1
jle 0x595554
mov eax, edx
push str.____s
push eax
call fcn.0058c350
mov edi, eax
mov eax, dword [ebp - 8]
push edi
push esi
mov ecx, dword [eax + 0xd0]
push ecx
push 1
call dword [eax + 0xcc]
mov edx, dword [ebp - 8]
push edi
push edx
call fcn.00579080
add esp, 0x24
jmp 0x59556a
mov eax, dword [ebp - 8]
push esi
mov ecx, dword [eax + 0xd0]
push ecx
push 1
call dword [eax + 0xcc]
add esp, 0x10
mov edx, dword [ebx + 4]
mov eax, dword [0x852630]
cmp edx, eax
jl 0x5955ad
cmp byte [ebx], 0xa8
je case.0x590480.86
mov eax, dword [esi + 0x6c]
mov edx, 1
cmp eax, edx
jle 0x5955a8
mov ecx, 0x18
xor edi, edi
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax], 0x11
jne 0x59559b
mov dword [eax + 4], edi
mov eax, dword [esi + 0x6c]
inc edx
add ecx, 0x18
cmp edx, eax
jl 0x59558e
jmp 0x5955aa
xor edi, edi
mov dword [ebx + 4], edi
mov ecx, dword [ebx + 4]
inc ecx
mov dword [ebx + 4], ecx
mov eax, dword [esi + 0xbc]
inc eax
mov dword [esi + 0xbc], eax
mov ebx, dword [ebx + 8]
mov edx, dword [ebp - 0x34]
lea ecx, [ebx + ebx*2]
lea ebx, [edx + ecx*8 - 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590465
push str.cannot_open_savepoint___SQL_statements_in_progress
push esi
call fcn.0058c650
add esp, 8
mov dword [ebp - 4], 5
jmp 0x595aa6
mov eax, dword [ebp - 0xc]
push eax
push str.no_such_savepoint:__s
push esi
call fcn.0058c650
add esp, 0xc
mov dword [ebp - 4], 1
jmp 0x595aa6
push str.cannot_release_savepoint___SQL_statements_in_progress
jmp 0x5955e1
mov ecx, dword [esi + 0x7c]
push ecx
push edi
call fcn.00579080
push str.database_schema_has_changed
push edi
call fcn.0058df40
mov dword [esi + 0x7c], eax
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 0x10]
mov edx, eax
shl edx, 4
add esp, 0x10
mov edx, dword [edx + ecx + 0xc]
mov ecx, dword [edx]
mov edx, dword [ebp - 0xc]
cmp ecx, edx
je 0x595658
push eax
push edi
call fcn.005a9e80
add esp, 8
mov edx, dword [esi + 0x98]
mov dword [ebp - 4], 0x11
and edx, 0xfffffffd
or edx, 1
mov dword [esi + 0x98], edx
jmp 0x595aa6
mov dword [ebp - 4], 7
mov edx, dword [ebp - 8]
push edx
call fcn.005a9f00
mov eax, dword [ebp - 4]
add esp, 4
cmp eax, 7
je 0x595a49
jmp 0x595aa6
mov eax, dword [ebx + 4]
mov dword [esi + 0x28], eax
mov cl, byte [ebx + 8]
mov byte [esi + 0x92], cl
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [esi + 0x24], edx
je 0x59572b
mov ax, word [ebx + 2]
test ax, ax
je 0x5956f9
and eax, 0xffff
mov edx, dword [eax*4 + 0x74a194]
push edx
push str._s_constraint_failed
push esi
call fcn.0058c650
mov eax, dword [ebx + 0x10]
add esp, 0xc
test eax, eax
je 0x59570b
mov ecx, dword [ebp - 8]
push eax
mov eax, dword [esi + 0x7c]
push eax
push str._z:__s
push ecx
call fcn.0058c350
add esp, 0x10
mov dword [esi + 0x7c], eax
jmp 0x59570b
mov edx, dword [ebx + 0x10]
push edx
push 0x752e30
push esi
call fcn.0058c650
add esp, 0xc
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0xc0]
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push str.abort_at__d_in___s_:__s
push eax
call fcn.0057add0
add esp, 0x14
push esi
call fcn.0058aa50
add esp, 4
cmp eax, 5
mov dword [ebp - 4], eax
jne 0x59591a
mov dword [esi + 0x28], eax
jmp 0x595b65
push 0
push esi
call fcn.0058c5d0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595aa3
push 1
push esi
call fcn.0058c410
mov ecx, dword [esi + 0x20]
add esp, 8
add ecx, 2
mov dword [ebp + 8], 0
or ecx, 1
mov dword [esi + 0x20], ecx
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
mov dword [esi + 0x78], edi
mov eax, dword [ebx + 8]
test eax, eax
jle 0x5957c0
test byte [edi + 9], 0x10
je 0x5957a6
push edi
call fcn.0058a360
add esp, 4
test eax, eax
jne 0x595a49
push edi
call fcn.0058d0a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 8]
add esp, 4
inc eax
add edi, 0x28
cmp eax, ecx
mov dword [ebp + 8], eax
jl 0x59578f
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x595a49
test byte [eax + 0x58], 4
je 0x5957e9
mov ecx, dword [eax + 0xd0]
push 0
push esi
push ecx
push 4
call dword [eax + 0xcc]
add esp, 0x10
mov eax, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
mov dword [ebp - 4], 0x64
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov dword [esi + 0x24], ecx
jmp 0x595b65
mov dword [ebp - 4], 0x14
jmp 0x595aa6
push 0x152d5
call fcn.005e1c40
add esp, 4
mov dword [ebp - 4], eax
jmp 0x595aa6
mov edx, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 5
mov dword [esi + 0x24], edx
mov byte [edi + 0x4f], 0
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
jmp 0x595b65
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 8]
xor edx, edx
mov dl, byte [ecx + 0x4f]
mov dword [ebp + 8], eax
cmp eax, edx
je 0x59592e
test edi, edi
je 0x595895
mov edi, ecx
push 0x204
push edi
call fcn.005dfda0
add esp, 8
mov byte [edi + 0x4f], 1
jmp 0x5958ce
test eax, eax
je 0x5958ad
mov eax, dword [ecx + 0xb8]
test eax, eax
jle 0x5958ad
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x5955e1
push 1
push esi
call fcn.0058c5d0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595b65
mov ecx, dword [ebp - 8]
mov al, byte [ebp + 8]
mov edi, ecx
mov byte [ecx + 0x4f], al
push esi
call fcn.0058aa50
add esp, 4
cmp eax, 5
jne 0x595911
mov edx, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
mov cl, 1
shr eax, 0x1f
add edx, eax
mov al, byte [ebp + 8]
sub cl, al
mov dword [esi + 0x24], edx
mov eax, 5
mov byte [edi + 0x4f], cl
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
jmp 0x595b65
push edi
call fcn.005df880
add esp, 4
mov eax, dword [esi + 0x28]
neg eax
sbb eax, eax
and al, 0x9c
add eax, 0x65
mov dword [ebp - 4], eax
jmp 0x595b65
test eax, eax
jne 0x595939
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x595947
test edi, edi
mov eax, str.cannot_rollback___no_transaction_is_active
jne 0x595947
mov eax, str.cannot_commit___no_transaction_is_active
push eax
push esi
call fcn.0058c650
add esp, 8
mov dword [ebp - 4], 1
jmp 0x595aa6
mov dword [ebp - 4], 8
jmp 0x595aa6
cmp byte [ebp - 4], 5
jne 0x595aa3
mov edx, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 4]
sar edx, 2
mov eax, edx
mov dword [esi + 0x28], ecx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0x24], edx
jmp 0x595b65
mov dword [ebp - 4], 0x204
jmp 0x595aa6
mov dword [ebp - 4], 0xd
jmp 0x595aa6
mov dword [ebp - 4], 6
mov byte [esi + 0x92], 2
jmp 0x595aa6
push str.too_many_levels_of_trigger_recursion
push esi
mov dword [ebp - 4], 1
call fcn.0058c650
add esp, 8
jmp 0x595aa6
push edi
call fcn.0058d6d0
push eax
push 0x752e30
push esi
call fcn.0058c650
add esp, 0x10
jmp 0x595aa6
cmp edi, 5
mov dword [ebp - 4], 1
mov eax, str.into
je 0x595a0e
mov eax, str.out_of
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push esi
call fcn.0058c650
add esp, 0xc
jmp 0x595aa6
cmp byte [ebp - 4], 6
jne 0x595aa3
mov eax, dword [ebx + 0x10]
push eax
push str.database_table_is_locked:__s
push esi
call fcn.0058c650
add esp, 0xc
jmp 0x595aa6
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
push ecx
call dword [edx + 0x1c]
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.005794a0
push 0x750b00
push esi
call fcn.0058c650
add esp, 0xc
mov dword [ebp - 4], 7
jmp 0x595aa6
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x51]
neg al
sbb eax, eax
and al, 0xfe
add eax, 9
push eax
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
call fcn.005dfeb0
push eax
push 0x752e30
push esi
call fcn.0058c650
add esp, 0x10
jmp 0x595aa6
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 4], 9
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 8]
mov al, byte [edi + 0x51]
test al, al
je 0x595ab7
mov dword [ebp - 4], 7
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x595adf
mov eax, dword [ebp - 4]
cmp eax, 0xc0a
je 0x595adf
mov edx, eax
push edx
call fcn.005dfeb0
push eax
push 0x752e30
push esi
call fcn.0058c650
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
push edi
mov dword [esi + 0x28], eax
call fcn.0057f5c0
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0xc0]
mov edx, dword [ebp - 0x34]
push eax
push ecx
mov ecx, ebx
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, dword [ebp - 4]
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push str.statement_aborts_at__d:___s___s
push ecx
call fcn.0057add0
push esi
call fcn.0058aa50
mov eax, dword [ebp - 4]
add esp, 0x20
cmp eax, 0xc0a
jne 0x595b3a
push edi
call fcn.005794a0
add esp, 4
mov al, byte [ebp - 0xb4]
mov dword [ebp - 4], 1
test al, al
jbe 0x595b65
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 8]
and edx, 0xff
dec edx
push edx
push eax
call fcn.005a9e80
add esp, 8
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x58]
cmp edx, ecx
jb 0x595bce
mov eax, dword [edi + 0x148]
test eax, eax
je 0x595bce
add ecx, dword [edi + 0x150]
mov dword [ebp - 0x58], ecx
mov ecx, dword [edi + 0x14c]
push ecx
call eax
add esp, 4
test eax, eax
je 0x595b68
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 4], 9
jmp 0x595aa6
mov dword [ebp - 4], 6
jmp 0x595aa6
push str.string_or_blob_too_big
push esi
call fcn.0058c650
add esp, 8
mov dword [ebp - 4], 0x12
jmp 0x595aa6
mov edi, dword [esi + 0xb4]
push esi
add edi, edx
mov dword [esi + 0xb4], edi
call fcn.0058adf0
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret