Function at 0x590090
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.0058aa60
mov ecx, dword [ebp - 8]
add esp, 4
mov eax, dword [ecx + 0x148]
test eax, eax
je 0x5900f6
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 0x5900fd
mov dword [ebp - 0x58], 0xffffffff
cmp dword [esi + 0x28], 7
je 0x595719
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 0x595739
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.0x590150.86
jmp dword [eax*4 + 0x5958c0]
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 0x595291
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 0x590135
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 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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 0x590135
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 0x590135
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
test byte [edi + eax*8 + 8], 1
je case.0x590150.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 0x59536a
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x59536a
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.0058c4b0
push edi
call fcn.0058ba60
mov ecx, dword [ebx + 8]
add esp, 0xc
cmp ecx, 4
jne 0x5902db
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 0x590135
push ebx
push esi
call fcn.0059f470
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 0x590135
push ebx
push esi
call fcn.0059f470
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 0x590135
push ebx
push esi
call fcn.0059f470
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 0x590135
push ebx
push esi
call fcn.0059f470
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
push eax
call fcn.0057ada0
mov dword [ebx + 4], eax
mov al, byte [ebp - 0x38]
add esp, 0xc
cmp al, 1
je 0x590402
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
push 0
push 1
push 0xffffffffffffffff
push ecx
push edx
call fcn.00589c60
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x595884
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
and eax, 0xff
push eax
push ecx
call fcn.0058c8b0
add esp, 8
test eax, eax
jne 0x595719
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0
or byte [eax + 9], 8
cmp byte [ebx + 1], 0xf9
jne 0x5903f2
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.00578d80
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 0x595884
mov byte [ebx], 0x48
push ebx
push esi
call fcn.0059f470
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.0x590150.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.0x590150.86
mov eax, dword [esi + 4]
cmp eax, edx
jne case.0x590150.86
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov word [ecx + 8], 0xa10
add ebx, 0x18
jmp 0x590135
push ebx
push esi
call fcn.0059f470
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.0x590150.86
mov dword [ebp - 0xc], eax
add edi, 0x28
push edi
call fcn.00589af0
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 0x5904b1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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 0x590135
push ebx
push esi
call fcn.0059f470
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.00589c60
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 0x590135
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.0059daa0
add esp, 4
test eax, eax
jne 0x595884
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 0x590577
push eax
call fcn.00589af0
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 0x590135
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.0058f7f0
add esp, 8
test byte [edi + 9], 0x10
je 0x5905e7
push edi
call fcn.0058a030
add esp, 4
test eax, eax
jne 0x595719
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 0x5905c3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0059dad0
add esp, 0xc
test byte [edi + 9], 0x10
je 0x59064e
push edi
call fcn.0058a030
add esp, 4
test eax, eax
jne 0x595719
mov eax, dword [ebp - 0xc]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [ebp - 0xc], eax
je case.0x590150.86
mov eax, dword [ebp - 0x1c]
add edi, 0x28
add eax, 0x28
mov dword [ebp - 0x1c], eax
jmp 0x590625
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.0059dad0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590135
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.0058d730
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590135
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 0x590717
push edi
call fcn.00589af0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590135
test al, 0x12
jne 0x59073e
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
push 0
push edx
push eax
call fcn.0058cda0
add esp, 0xc
test eax, eax
jne 0x595719
mov ecx, dword [ebp - 0x1c]
mov ax, word [ecx + 8]
jmp 0x59075e
test ah, 0x40
je 0x590766
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0058a0e0
add esp, 4
test eax, eax
jne 0x595719
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 0x590796
mov edx, dword [ebp - 0x38]
push 0
mov eax, ecx
push edx
push eax
call fcn.0058cda0
add esp, 0xc
test eax, eax
jne 0x595719
mov ecx, dword [ebp - 0x10]
mov ax, word [ecx + 8]
jmp 0x5907b6
test ah, 0x40
je 0x5907be
mov edx, dword [ebp - 0x10]
push edx
call fcn.0058a0e0
add esp, 4
test eax, eax
jne 0x595719
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 0x595884
jl 0x5907f0
cmp edi, eax
ja 0x595884
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.00589ee0
add esp, 0xc
test eax, eax
jne 0x595719
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 0x590857
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 0x59085a
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 0x590135
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
lea esi, [edi + edx*8]
push esi
call fcn.0059f390
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.0059f390
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 0x590a04
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.0x59092b
jmp dword [ecx*4 + 0x595b64]
push edi
lea edx, [ebp - 0x70]
push eax
push edx
call fcn.00595cd0
add esp, 0xc
test eax, eax
jne 0x590a0d
jmp 0x5909d7
push edi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00595d80
add esp, 0xc
test eax, eax
jne 0x590a0d
jmp 0x5909d7
push edi
lea ecx, [ebp - 0x70]
push eax
push ecx
call fcn.00595de0
add esp, 0xc
test eax, eax
jne 0x590a0d
jmp 0x5909d7
mov ecx, eax
or ecx, edi
je 0x590adf
mov ecx, eax
and ecx, edi
cmp ecx, 0xffffffff
jne 0x59099d
test edx, edx
jne 0x59099d
cmp dword [ebp - 0x6c], 0x80000000
je 0x590a0d
push edi
push eax
mov eax, dword [ebp - 0x6c]
push eax
push edx
call fcn.0069edf0
jmp 0x5909d1
mov ecx, eax
or ecx, edi
je 0x590adf
mov ecx, eax
and ecx, edi
cmp ecx, 0xffffffff
jne 0x5909c5
mov eax, 1
xor edi, edi
push edi
push eax
mov eax, dword [ebp - 0x6c]
push eax
push edx
call fcn.0069eea0
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 0x590135
test cl, 1
jne 0x590adf
push esi
call fcn.0058cef0
mov edx, dword [ebp - 0x10]
fstp qword [ebp - 0x28]
push edx
call fcn.0058cef0
xor eax, eax
add esp, 8
mov al, byte [ebx]
add eax, 0xffffff99
cmp eax, 3
ja case.default.0x590a2e
jmp dword [eax*4 + 0x595b74]
fadd qword [ebp - 0x28]
jmp 0x590aac
fsub qword [ebp - 0x28]
jmp 0x590aac
fmul qword [ebp - 0x28]
jmp 0x590aac
fld qword [ebp - 0x28]
fcomp qword [0x753238]
fnstsw ax
test ah, 0x40
jne 0x590add
fdiv qword [ebp - 0x28]
jmp 0x590aac
push esi
fstp st(0)
call fcn.0058cf90
mov esi, eax
mov eax, dword [ebp - 0x10]
push eax
mov edi, edx
call fcn.0058cf90
mov ecx, esi
add esp, 8
or ecx, edi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
je 0x590adf
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x590a91
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.0069eea0
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.0057ad60
add esp, 8
test eax, eax
je 0x590af9
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00589af0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590135
fstp st(0)
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00589af0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590135
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 0x590135
mov eax, dword [ebx + 4]
test eax, eax
je case.0x590150.86
lea eax, [eax + eax*4]
push 0
push 0
lea ecx, [edi + eax*8]
push ecx
call fcn.0058d730
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590135
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 0x590b95
push edi
call fcn.00589af0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590135
push eax
call fcn.0058cf90
push esi
mov dword [ebp - 0x88], eax
mov edi, edx
call fcn.0058cf90
mov esi, eax
mov al, byte [ebx]
add esp, 8
cmp al, 0x63
jne 0x590bc9
mov ecx, dword [ebp - 0x88]
and ecx, esi
and edi, edx
mov dword [ebp - 0x88], ecx
jmp 0x590cd1
cmp al, 0x64
jne 0x590be2
mov ecx, dword [ebp - 0x88]
or ecx, esi
or edi, edx
mov dword [ebp - 0x88], ecx
jmp 0x590cd1
mov ecx, esi
or ecx, edx
je 0x590cd1
test edx, edx
jg 0x590c1a
jl 0x590bf6
test esi, esi
jae 0x590c0f
mov cl, 0xcb
sub cl, al
cmp edx, 0xffffffff
mov al, cl
jl 0x590c1a
jg 0x590c08
cmp esi, 0xffffffc0
jbe 0x590c1a
neg esi
adc edx, 0
neg edx
test edx, edx
jl 0x590c4f
jg 0x590c1a
cmp esi, 0x40
jb 0x590c4f
test edi, edi
jg 0x590c3f
jl 0x590c2a
mov ecx, dword [ebp - 0x88]
test ecx, ecx
jae 0x590c3f
cmp al, 0x65
je 0x590c3f
or eax, 0xffffffff
cdq
mov dword [ebp - 0x88], eax
mov edi, edx
jmp 0x590cd1
xor eax, eax
cdq
mov dword [ebp - 0x88], eax
mov edi, edx
jmp 0x590cd1
cmp al, 0x65
mov eax, dword [ebp - 0x88]
mov ecx, esi
mov edx, edi
jne 0x590c70
call fcn.006a1cd0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
jmp 0x590cbf
call fcn.0069f3e0
test edi, edi
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
jg 0x590cbf
jl 0x590c91
mov eax, dword [ebp - 0x88]
test eax, eax
jae 0x590cbf
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, esi
or edx, 0xffffffff
call fcn.006a1cd0
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 0x590135
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
push esi
call fcn.0059d7d0
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 0x590135
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 0x59127a
mov edx, dword [ebp - 0x38]
push edx
push 0x43
push edi
call fcn.0059f300
mov ax, word [edi + 8]
add esp, 0xc
test al, 4
jne 0x59127a
mov eax, dword [ebx + 8]
test eax, eax
je 0x5954e2
jmp 0x595291
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.0x590150.86
push eax
call fcn.0059d800
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590135
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
test byte [edi + ecx*8 + 9], 0x40
lea esi, [edi + ecx*8]
je 0x590dbc
push esi
call fcn.0058a0e0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x590dc3
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
mov al, byte [ebx + 8]
push edx
push eax
push esi
call fcn.0059d830
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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 0x590eb1
mov ax, word [ebx + 2]
test al, 0x80
je 0x590e67
mov dl, byte [ebp - 0x10]
mov al, byte [ebp - 0x14]
and dl, al
test dl, 1
je 0x590e53
mov eax, dword [ebp - 0x10]
test ah, 1
jne 0x590e53
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dword [ebp - 0x20], 0
mov dl, byte [eax + 0x74a7b4]
jmp 0x590f39
mov al, byte [ebp - 0x10]
and al, 1
neg al
sbb eax, eax
and al, 0xfe
inc eax
mov dword [ebp - 0x20], eax
jmp 0x591055
test al, 0x20
je 0x590e9b
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 0x590135
test al, 0x10
jne 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov dl, byte [ebx + 2]
and dl, 0x47
cmp dl, 0x43
jl 0x590fd5
test al, 2
je 0x590efe
mov dl, byte [ebp - 0x14]
and dl, 0x2e
cmp dl, 2
jne 0x590ee5
push 0
push ecx
call fcn.0058fed0
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 0x590efe
push 0
push esi
call fcn.0058fed0
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 0x591041
mov eax, dword [esi + 4]
mov edx, dword [ecx + 4]
cmp eax, edx
jl 0x590fa1
jg 0x590f26
mov eax, dword [ecx]
mov edx, dword [esi]
cmp edx, eax
jbe 0x590fa1
mov dword [ebp - 0x20], 1
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dl, byte [eax + 0x74a7bc]
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 0x592ccb
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 0x590f7c
xor edx, edx
cmp byte [ebx], 0x35
sete dl
cmp edx, eax
je case.0x590150.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 0x590135
mov eax, dword [ecx + 4]
mov edx, dword [esi + 4]
cmp edx, eax
jg 0x590e3b
jl 0x590fbd
mov eax, dword [ecx]
mov edx, dword [esi]
cmp edx, eax
jae 0x590e3b
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dword [ebp - 0x20], 0xffffffff
mov dl, byte [eax + 0x74a7ac]
jmp 0x590f39
cmp dl, 0x42
jne 0x591041
mov al, byte [ebp - 0x14]
test al, 2
jne 0x59100f
test al, 0x2c
je 0x59100f
mov edx, dword [ebp - 0x38]
push 1
push edx
push ecx
call fcn.0058cda0
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 0x591041
test al, 0x2c
je 0x591041
mov edx, dword [ebp - 0x38]
push 1
push edx
push esi
call fcn.0058cda0
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.0059e290
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jge 0x59106a
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dl, byte [eax + 0x74a7ac]
jmp 0x590f39
jne 0x590f2d
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dl, byte [eax + 0x74a7b4]
jmp 0x590f39
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
test byte [ebx + 2], 1
jne 0x5910a9
mov dword [ebp - 0xc], 0
jmp 0x5910b2
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.0x590150.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 0x5910f4
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.0059e290
add esp, 0xc
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x591164
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 0x5910e8
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x20]
test byte [edx + ecx], 2
je 0x591198
mov edx, dword [ebp - 0x1c]
lea ecx, [esi + edx]
lea ecx, [ecx + ecx*4]
test byte [edi + ecx*8 + 8], 1
jne 0x591193
mov edx, dword [ebp - 0x18]
lea ecx, [esi + edx]
lea ecx, [ecx + ecx*4]
test byte [edi + ecx*8 + 8], 1
je 0x591198
neg eax
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je case.0x590150.86
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
neg eax
mov dword [ebp - 0x60], eax
add ebx, 0x18
jmp 0x590135
mov eax, dword [ebp - 0x60]
test eax, eax
jge 0x5911d8
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 0x590135
je 0x595291
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 0x590135
mov eax, dword [ebx + 4]
push 2
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
call fcn.0059d780
mov esi, eax
mov eax, dword [ebx + 8]
push 2
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push edx
call fcn.0059d780
mov cl, byte [ebx]
add esp, 0x10
cmp cl, 0x2c
jne 0x591237
lea eax, [eax + esi*2]
xor ecx, ecx
mov cl, byte [esi + eax + 0x74a7f8]
mov eax, ecx
jmp 0x591243
lea edx, [eax + esi*2]
xor eax, eax
mov al, byte [esi + edx + 0x74a804]
mov ecx, dword [ebx + 0xc]
cmp eax, 2
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*8]
jne 0x591270
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 0x590135
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 0x590135
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.0059d780
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.0058d730
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
add ebx, 0x18
jmp 0x590135
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 0x59130c
push 0
push ecx
call fcn.0059d780
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
push esi
call fcn.0058d730
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
add ebx, 0x18
jmp 0x590135
push esi
call fcn.00589af0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590135
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.00589af0
mov al, byte [esi + 8]
add esp, 4
test al, 1
jne case.0x590150.86
push esi
mov word [edi + 8], 4
call fcn.0058cf90
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 0x590135
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x5913d5
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 0x595291
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 0x590135
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 4]
cmp ecx, eax
je 0x595291
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 0x590135
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.0059d780
add esp, 8
test eax, eax
jne 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0059d780
add esp, 8
test eax, eax
je 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
test byte [edi + edx*8 + 8], 1
jne 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
test byte [edi + eax*8 + 8], 1
je 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0x590150.86
mov eax, dword [ebx + 0xc]
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push edx
call fcn.00589af0
add esp, 4
jmp 0x595291
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.0059dd30
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
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 0x591686
mov cl, byte [edx + 2]
test cl, cl
je 0x59155e
cmp byte [edx], 3
jne 0x591544
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 0x591598
mov eax, dword [ebp - 0x14]
push eax
call fcn.00589af0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590135
mov edi, dword [edx + 0x28]
push edi
call fcn.00588680
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0x30]
add edx, 0x54
push edx
push edi
call fcn.00597690
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 0x595884
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 0x5915bd
and ecx, 0xff
mov dword [eax], ecx
mov ecx, 1
jmp 0x5915d4
mov eax, dword [ebp - 0x10]
push eax
push edx
call fcn.00595c00
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 0x591617
mov dword [edx + 0x4c], edi
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x54], edi
mov ecx, dword [eax]
cmp ecx, 0x18003
ja 0x5917be
mov edx, dword [ebp - 0x30]
cmp ecx, dword [edx + 0x50]
jbe 0x591686
jmp 0x5917be
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 0x5916fa
push eax
inc edi
call fcn.0059de00
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 0x591731
mov ecx, dword [ebp - 0x64]
xor edi, edi
mov di, word [edx + 0x3a]
cmp edi, ecx
jg 0x591852
mov edi, dword [edx + 0x30]
cmp edi, dword [eax]
jae 0x591849
mov ecx, dword [edx + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x59161a
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.0059db50
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov edx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x30]
xor edi, edi
jmp 0x59161d
lea edx, [ebp - 0x4c]
push edx
push edi
call fcn.00595c00
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.0059dde0
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 0x591768
cmp edi, eax
jb 0x591649
jmp 0x59176c
cmp edi, eax
jb 0x591784
cmp edi, dword [ebp - 0x2c]
ja 0x591799
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 0x78]
cmp ecx, eax
jne 0x591799
mov ecx, dword [ebp - 0x74]
xor eax, eax
cmp ecx, eax
jne 0x591799
mov ecx, dword [ebp - 0x74]
xor eax, eax
cmp ecx, eax
jb 0x5917e1
ja 0x591799
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 0x78]
cmp ecx, eax
jbe 0x5917e1
mov ecx, dword [ebp - 0x10]
cmp dword [ecx], 0
jne 0x5917a8
mov edi, dword [ebp - 0x2c]
xor eax, eax
jmp 0x5917e4
mov eax, dword [edx + 0x4c]
test eax, eax
jne 0x5917be
lea edx, [ebp - 0x288]
push edx
call fcn.0058a150
add esp, 4
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x5954ee
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 0x590135
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 0x59180f
lea edx, [ebp - 0x288]
push edx
call fcn.0058a150
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 0x591859
cmp byte [ebx + 1], 0xf5
jne 0x591544
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
push 0x800
push ecx
push edx
call fcn.0059dad0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590135
mov dword [ebp - 0x4c], 0
jmp 0x591812
mov eax, dword [edx + ecx*4 + 0x58]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 9], 0x24
je 0x591871
push eax
call fcn.00589af0
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 0x591938
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0x4c]
add edi, eax
mov eax, dword [ebp - 0x4c]
cmp eax, 0xc
jae 0x5918ad
mov ecx, dword [ebp - 0x14]
push ecx
push eax
push edi
call fcn.0059dea0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590135
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 0x5918e7
push 0
push eax
push ecx
mov word [ecx + 8], 1
call fcn.00589ee0
add esp, 0xc
test eax, eax
jne 0x595719
jmp 0x5918ed
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 + 0x74a810]
mov word [eax + 8], dx
jmp 0x590135
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 0x59195a
cmp ecx, 0xc
jb 0x591956
test cl, 1
je 0x59196a
test al, 0x80
jne 0x59196a
push ecx
call fcn.0059dde0
add esp, 4
test eax, eax
jne 0x591987
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
push 0x8bc3e4
call fcn.0059dea0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590135
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.0059db50
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4c]
push esi
push eax
mov ecx, dword [esi + 0x10]
push ecx
call fcn.0059dea0
mov edi, dword [ebp - 0x5c]
add esp, 0xc
and word [esi + 8], 0xefff
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590135
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.0059f300
mov al, byte [esi]
add esp, 0xc
cmp al, 0x45
jne 0x591a53
mov ax, word [edi + 8]
test al, 4
je 0x591a53
mov ecx, dword [edi + 4]
mov edx, dword [edi]
cmp ecx, 0x7fff
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], ecx
jg 0x591a3a
jl 0x591a1f
cmp edx, 0xffffffff
ja 0x591a3a
cmp ecx, 0xffff8000
jl 0x591a3a
jg 0x591a2d
test edx, edx
jb 0x591a3a
and eax, 0xfffb
or al, 0x20
mov word [edi + 8], ax
jmp 0x591a53
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.0x590150.86
add edi, 0x28
jmp 0x5919e1
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 0x591afb
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.0059f300
mov ecx, dword [ebp - 0xc]
add esp, 0xc
cmp byte [ecx], 0x45
jne 0x591aed
mov ax, word [edi]
test al, 4
je 0x591aed
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 0x591abe
mov eax, dword [ebp - 0x18]
lea edi, [eax + 0x1c]
mov ax, word [edi - 0x14]
test al, 1
je 0x591b23
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 0x591d9d
test al, 0x24
je 0x591cdc
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 0x591b61
jl 0x591b4d
test ecx, ecx
jae 0x591b61
mov edx, ecx
not edx
mov dword [ebp - 0xa0], edx
mov edx, dword [ebp - 0x118]
not edx
jmp 0x591b6d
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 0x591c0e
jb 0x591b93
cmp dword [ebp - 0xa0], 0x7f
ja 0x591bd7
mov eax, ecx
xor edx, edx
and eax, 1
cmp eax, ecx
jne 0x591bba
cmp edx, dword [ebp - 0x118]
jne 0x591bba
cmp dword [ebp - 0x24], 4
jl 0x591bba
mov eax, dword [ebp - 0xa0]
add eax, 8
jmp 0x591d9b
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 0x591d9d
mov edx, dword [ebp - 0x9c]
test edx, edx
ja 0x591c0e
jb 0x591bf1
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0x7fff
ja 0x591c14
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 0x591d9d
mov ecx, dword [ebp - 0xa0]
test edx, edx
ja 0x591c6a
jb 0x591c22
cmp ecx, 0x7fffff
ja 0x591c3f
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 0x591d9d
test edx, edx
ja 0x591c6a
jb 0x591c4d
cmp ecx, 0x7fffffff
ja 0x591c6a
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 0x591d9d
cmp edx, 0x7fff
ja 0x591c96
jb 0x591c79
cmp ecx, 0xffffffff
ja 0x591c96
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 0x591d9d
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 0x591cd1
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 0x591d9d
mov dword [edi], 6
jmp 0x591d9d
test al, 8
je 0x591d04
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 0x591d9d
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 0x591d6e
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 0x591d51
lea eax, [edi - 0x1c]
push eax
call fcn.0058a0e0
add esp, 4
test eax, eax
jne 0x595719
mov eax, dword [edi - 0x1c]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0xc], ecx
jmp 0x591d6e
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.00595c90
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 0x591daf
sub edi, 0x28
jmp 0x591b01
mov eax, dword [ebp - 0x10]
cmp eax, 0x7e
jle 0x591ddb
cdq
push edx
push eax
call fcn.00595c90
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ebp - 0x10], eax
cdq
push edx
push eax
call fcn.00595c90
add esp, 0x10
cmp edi, eax
jge 0x591ddf
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 0x591e3e
jl 0x591e36
cmp ecx, dword [ebp - 0x1d0]
ja 0x591e3e
mov edx, dword [edi + 0x14]
mov dword [edi + 0x10], edx
jmp 0x591e7f
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 0x595884
jl 0x591e67
cmp ecx, dword [ebp - 0x1d8]
ja 0x595884
mov ecx, dword [ebp - 0x150]
push ecx
push edi
call fcn.00589eb0
add esp, 8
test eax, eax
jne 0x595719
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 0x591ea6
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 0x591ec2
mov byte [esi], al
mov eax, 1
jmp 0x591ed9
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x108]
push eax
push ecx
push esi
call fcn.00595b90
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 0x591ef9
mov byte [esi], al
mov eax, 1
jmp 0x591f08
mov edx, dword [ebp - 0x20]
push 0
push edx
push esi
call fcn.00595b90
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.0059de20
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 0x591ee3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0059c830
add esp, 8
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x595773
push ebx
push esi
call fcn.0059f470
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 0x590135
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x10]
test ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
jne 0x592078
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xb8]
test edx, edx
jg 0x5952ac
push eax
call fcn.0057ada0
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.005b31c0
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov ecx, dword [ebp - 8]
lea eax, [esi + 0x21]
push 0
push eax
push ecx
call fcn.005790b0
add esp, 0xc
test eax, eax
je 0x594e52
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 0x59203a
mov byte [ecx + 0x4f], 0
mov byte [ecx + 0x57], 1
jmp 0x592040
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 0x594e52
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], 0
mov edi, dword [edx + 0x1c4]
test edi, edi
mov dword [ebp - 0x2c], edi
je 0x5952c6
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
push eax
push ecx
call fcn.0057ae30
add esp, 8
test eax, eax
je 0x5920bd
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 0x5952c6
jmp 0x592093
test edi, edi
je 0x5952c6
mov edi, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [edi + 0xb8]
cmp eax, ecx
mov eax, dword [ebp - 0x14]
jle 0x5920e0
cmp eax, 1
je 0x5952e4
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x18], ecx
jne 0x592135
mov dl, byte [edi + 0x57]
test dl, dl
je 0x592135
cmp eax, 1
mov dword [ebp - 0x1c], 1
jne 0x592138
push eax
push esi
call fcn.0058c2a0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595835
push esi
mov byte [edi + 0x4f], 1
call fcn.0058a720
add esp, 4
cmp eax, 5
je 0x595503
mov byte [edi + 0x57], 0
mov eax, dword [esi + 0x28]
mov dword [ebp - 4], eax
jmp 0x592212
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 0x5921a8
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 0x5921ab
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.00589900
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
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 0x59216e
jmp 0x5921ab
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10], 0
test eax, eax
jle 0x5921f2
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.0058c210
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
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 0x5921bb
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x592212
push 0
push edi
call fcn.0059f160
push edi
call fcn.005a9b20
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 0x592249
mov edx, dword [eax + 0x18]
push eax
push edi
mov dword [edi + 0x1c4], edx
call fcn.00578d80
mov edx, dword [edi + 0x1cc]
add esp, 8
dec edx
mov dword [edi + 0x1cc], edx
mov eax, dword [edi + 0x1c4]
cmp eax, esi
jne 0x59221f
mov eax, dword [ebp - 0x14]
cmp eax, 1
jne 0x592277
mov eax, dword [esi + 0x18]
push esi
push edi
mov dword [edi + 0x1c4], eax
call fcn.00578d80
mov eax, dword [ebp - 0x1c]
add esp, 8
test eax, eax
jne 0x594e52
dec dword [edi + 0x1cc]
jmp 0x5922ab
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 0x5922ab
cmp eax, 2
jne 0x594e52
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
push edi
call fcn.005b31c0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov edx, dword [ebx + 8]
xor ecx, ecx
cmp edx, ecx
mov dword [ebp - 0xc], ecx
je 0x5922f4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
and eax, 0x100000
or eax, ecx
jne 0x59562d
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 0x5923c4
lea ecx, [ebp - 0xc]
push ecx
push edx
push eax
call fcn.00583d90
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x595639
mov eax, dword [ebx + 8]
test eax, eax
je 0x5923c4
test byte [esi + 0x98], 0x80
je 0x5923c4
mov edi, dword [ebp - 8]
mov al, byte [edi + 0x4f]
test al, al
je 0x592353
cmp dword [edi + 0xb4], 1
jle 0x5923c7
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x592374
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.005b31c0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x59239e
mov ecx, dword [esi + 0x30]
mov edx, dword [ebp - 0x24]
push ecx
push edx
call fcn.00597510
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 0x5923c7
mov edi, dword [ebp - 8]
cmp word [ebx + 2], 0
je 0x5923f7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jne 0x5952eb
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 0x5952eb
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0059c7b0
push ebx
push esi
call fcn.0059f470
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 0x590135
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.00589240
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov ecx, 1
add esp, 0xc
cmp eax, ecx
jne 0x592498
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 0x5924a6
cmp eax, 2
jne 0x5924a6
mov edx, dword [edi + 0xc]
mov al, byte [ebx + 0xc]
mov byte [edx + 0x4c], al
cmp dword [ebx + 4], ecx
jne 0x5924c7
mov ecx, dword [ebp - 8]
push 0
push ecx
call fcn.0059f160
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 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0x590150.97
mov edx, dword [eax + 0x34]
mov eax, dword [ebx + 8]
cmp edx, eax
je 0x592601
mov eax, dword [esi + 0x98]
and eax, 3
cmp al, 1
je 0x595669
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 0x59255b
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 0x592562
mov byte [esi + 0x93], al
jmp 0x592562
mov dword [ebp - 0x20], 0
test byte [ebx + 2], 0x10
je 0x59257f
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
push edi
call fcn.0059d7d0
mov ecx, dword [edi]
add esp, 4
mov dword [ebp - 0x2c], ecx
mov al, byte [ebx + 1]
cmp al, 0xf7
jne 0x592597
mov ecx, dword [ebx + 0x10]
xor eax, eax
mov dword [ebp - 0x18], ecx
mov ax, word [ecx + 8]
mov dword [ebp - 0xc], eax
jmp 0x5925a1
cmp al, 0xfd
jne 0x5925a1
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.0059f1f0
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
je 0x595719
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.00597540
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.005966e0
mov eax, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0059f1f0
add esp, 0x14
test eax, eax
je 0x595719
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.00597540
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
mov dword [ebp - 4], eax
add ebx, 0x18
jmp 0x590135
mov eax, dword [ebx + 4]
mov edx, dword [esi + 0x60]
xor ecx, ecx
mov edi, dword [edx + eax*4]
cmp edi, ecx
je 0x5926ea
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x1c], ecx
mov eax, dword [edi + 0xc]
cmp eax, ecx
je 0x5927e1
push ecx
mov ecx, dword [edi + 0x34]
push ecx
push eax
call fcn.0059c390
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x5927e1
mov edx, dword [ebx + 8]
push 0
push 0xffffffffffffffff
push edx
push eax
push esi
call fcn.0059f1f0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x595719
mov edx, dword [edi + 8]
xor ecx, ecx
or edx, 1
lea esi, [edi + 0xc]
mov dword [edi + 8], edx
mov eax, dword [0x74a814]
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.005966f0
add esp, 0x18
mov dword [ebp - 4], eax
test eax, eax
jne 0x5927c6
push eax
mov eax, dword [esi]
push 1
push eax
call fcn.00583d90
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x5927c6
mov eax, dword [ebx + 0x10]
test eax, eax
mov dword [ebp - 0x24], eax
mov dword [edi + 0x2c], eax
je 0x5927a3
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.0059c110
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x59279d
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.00597540
add esp, 0x14
mov dword [ebp - 4], eax
mov byte [edi + 4], 0
jmp 0x5927c6
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.00597540
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 0x595773
mov esi, dword [ebp + 8]
mov byte [edi + 2], 1
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
push 1
push 0xffffffffffffffff
push edx
push eax
push esi
call fcn.0059f1f0
add esp, 0x14
test eax, eax
je 0x595719
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.005a07a0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
push 3
push 0xffffffffffffffff
push eax
push ecx
push esi
call fcn.0059f1f0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x595719
mov byte [edi + 2], 1
mov edx, dword [ebx + 8]
mov dword [edi + 0x20], edx
mov byte [edi + 4], 1
call fcn.005966d0
mov esi, dword [ebp + 8]
mov dword [edi + 0x28], eax
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + eax*4]
push edx
push esi
call fcn.0058ac50
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 0x590135
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 0x592a31
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 0x59293a
push 0
push edi
call fcn.0058fed0
add esp, 8
push edi
call fcn.0058cf90
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 0x5929f3
test al, 8
jne 0x5929bb
test al, 1
jne 0x595291
cmp dword [ebp - 0x10], 0x18
jge 0x595291
mov eax, dword [esi + 0x28]
lea edx, [ebp - 0x48]
push edx
push eax
call fcn.00597a70
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x595291
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x590150.86
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
add ebx, 0x18
jmp 0x590135
fild qword [ebp - 0xd4]
fcom qword [edi]
fnstsw ax
test ah, 0x41
jne 0x5929dd
mov ecx, dword [ebp - 0x10]
and ecx, 1
cmp cl, 1
fstp st(0)
jne 0x5929f3
mov eax, dword [ebp - 0x10]
dec eax
jmp 0x5929f0
fcomp qword [edi]
fnstsw ax
test ah, 1
je 0x5929f3
test byte [ebp - 0x10], 1
jne 0x5929f3
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.00597b40
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 0x595773
jmp 0x592ac4
mov eax, dword [esi + 0x28]
push 2
push eax
call fcn.0059d720
add esp, 8
test eax, eax
je 0x592a4a
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.00597b40
add esp, 0x18
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x592ac4
mov al, byte [ebp - 0x122]
test al, al
je 0x592994
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x18
jl 0x592afb
xor edi, edi
cmp eax, edi
jl 0x592ae4
jne 0x592adc
cmp ecx, 0x19
je 0x592ae4
mov dword [ebp - 0x48], edi
jmp 0x59299f
mov dword [ebp - 0x48], edi
mov eax, dword [esi + 0x28]
push edi
push eax
call fcn.00598090
add esp, 8
mov dword [ebp - 4], eax
cmp eax, edi
jmp 0x592b34
test eax, eax
jg 0x592b1a
jne 0x592b06
cmp ecx, 0x16
je 0x592b1a
mov ecx, dword [esi + 0x28]
push ecx
call fcn.00598000
add esp, 4
mov dword [ebp - 0x48], eax
jmp 0x592994
mov dword [ebp - 0x48], 0
mov edx, dword [esi + 0x28]
push 0
push edx
call fcn.00598370
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x592994
cmp dword [ebp - 4], 0x65
jne 0x595773
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 1
jmp 0x595291
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 0x590135
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + edx*4]
test byte [ecx + 8], 8
jne case.0x590150.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 0x592bd8
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 0x592c28
test byte [edi + 9], 0x40
je 0x592bef
push edi
call fcn.0058a0e0
add esp, 4
test eax, eax
jne 0x595719
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x2c]
push eax
call fcn.0059e110
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp - 0x44], edi
je 0x595719
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.0059e160
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 0x592c5d
xor ecx, ecx
mov cx, word [edi + 8]
cmp ecx, edx
jle 0x592c5d
mov eax, dword [edi + 4]
add eax, 8
test byte [eax], 1
jne 0x592c56
inc edx
add eax, 0x28
cmp edx, ecx
jl 0x592c47
jmp 0x592c5d
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.00597b40
add esp, 0x18
mov dword [ebp - 4], eax
test esi, esi
je 0x592c8e
mov edx, dword [ebp - 8]
push esi
push edx
call fcn.00578da0
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595773
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 0x592ce1
test eax, eax
jne 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x595291
test eax, eax
je 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0x590150.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.0059f300
mov al, byte [ebp - 0x258]
add esp, 0xc
test al, 4
je 0x595291
mov edx, dword [ebp - 0x25c]
mov esi, dword [ebp - 0x260]
mov dword [ebp - 0xfc], edx
jmp 0x592d6a
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.00597b40
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 0x592deb
mov eax, dword [ebx + 8]
test eax, eax
jne 0x595291
push 0x159cf
call fcn.005e1860
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
push ebx
push esi
call fcn.0059f470
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 0x590135
xor eax, eax
push ebx
push esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0xc], eax
call fcn.0059f470
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 0x592ee3
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ecx + 0x28]
push edx
call fcn.00597a70
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x592eaa
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 0
jmp 0x592ee3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.005885f0
add esp, 4
cmp edx, 0x7fffffff
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
jl 0x592ed7
jg 0x592ece
cmp eax, 0xffffffff
jb 0x592ed7
mov eax, dword [ebp - 0x10]
or dword [eax + 8], 2
jmp 0x592ee3
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 0x592f66
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x592f0f
mov eax, dword [ecx + 4]
test eax, eax
je 0x592f04
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x592efb
mov eax, dword [ecx + 0x10]
lea edx, [edx + edx*4]
lea edi, [eax + edx*8]
jmp 0x592f15
lea ecx, [edx + edx*4]
lea edi, [edi + ecx*8]
push edi
call fcn.0059d7d0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add esp, 4
cmp eax, 0xffffffff
jne 0x592f34
cmp ecx, 0x7fffffff
je 0x595675
mov edx, dword [ebp - 0x10]
test byte [edx + 8], 2
jne 0x595675
mov edx, dword [ebp - 0x50]
add eax, 1
adc ecx, 0
cmp edx, ecx
jg 0x592f5b
jl 0x592f55
cmp dword [ebp - 0x54], eax
jae 0x592f5b
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 0x592fd7
xor edi, edi
lea eax, [ebp - 0x54]
push eax
push 8
call fcn.0057ab80
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.00597b40
add esp, 0x20
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x592fc4
inc edi
cmp edi, 0x64
jl 0x592f71
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x595773
test eax, eax
je 0x595675
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 0x590135
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 0x59305b
mov edx, dword [eax + 0xf0]
test edx, edx
je 0x59305b
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 0x593060
xor edi, edi
mov dword [ebp - 0x18], edi
test byte [ebx + 2], 1
je 0x593069
inc dword [esi + 0x2c]
test byte [ebx + 2], 0x20
je 0x593081
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 0x5930a3
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x20]
jmp 0x5930a5
xor edx, edx
test byte [ecx + 9], 0x40
je 0x5930b5
mov ecx, dword [ecx]
mov dword [ebp - 0x1a8], ecx
jmp 0x5930bf
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.005984a0
add esp, 0x10
mov byte [esi + 3], 0
test eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], 0
jne 0x595773
test edi, edi
je case.0x590150.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 0x590135
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 0x5931a4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x5931a4
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 0x5931ac
mov al, byte [edi + 4]
test al, al
je 0x5931ac
mov eax, dword [edi + 0x28]
push eax
call fcn.005885f0
mov dword [edi + 0x40], eax
add esp, 4
mov dword [edi + 0x44], edx
jmp 0x5931ac
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.0059bd90
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 0x595773
test byte [ebp - 0x24], 1
je case.0x590150.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.0x590150.86
mov edx, dword [ebp - 0x18]
test byte [edx + 0x24], 0x20
jne case.0x590150.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 0x590135
mov edx, dword [esi + 0x2c]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.0058c4b0
mov edi, dword [ebp - 0x5c]
add esp, 8
mov dword [esi + 0x2c], 0
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590135
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.005a2f00
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov eax, dword [ebp - 0xcc]
test eax, eax
jne 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.005a2e40
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
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 0x590135
push ebx
push esi
call fcn.0059f470
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.00588680
mov edx, dword [ebp - 8]
add esp, 0xc
cmp eax, dword [edx + 0x6c]
ja 0x595884
mov ecx, dword [ebp - 0x14]
push ecx
push eax
push 0
push edi
call fcn.0059db50
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov eax, dword [ebx + 0xc]
test eax, eax
jne case.0x590150.86
mov eax, dword [ebp - 0x14]
test byte [eax + 9], 0x10
je case.0x590150.86
push eax
call fcn.0058a030
add esp, 4
test eax, eax
jne 0x595719
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
push ebx
push esi
call fcn.0059f470
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 0x593399
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov word [eax + 8], 1
add ebx, 0x18
jmp 0x590135
mov cl, byte [edi + 3]
test cl, cl
je 0x5933cb
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 0x590135
cmp byte [edi], 2
jne 0x59341c
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.0059f1a0
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
jne 0x595773
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 0x590135
push edi
call fcn.0059dc90
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov al, byte [edi + 2]
test al, al
je 0x59344e
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
mov word [eax + 8], 1
jmp 0x590135
mov ecx, dword [edi + 0x28]
push ecx
call fcn.005885f0
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 0x590135
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.0x590150.86
mov ecx, dword [eax + 0x28]
push ecx
call fcn.005899b0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590135
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 0x5934f2
push edi
mov dword [esi + 0x20], 0xffffffff
call fcn.00597680
add esp, 4
test eax, eax
jne case.0x590150.86
lea ecx, [ebp - 0xb8]
push ecx
push edi
call fcn.00597a70
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 0x595773
mov eax, dword [ebx + 8]
test eax, eax
jle case.0x590150.86
mov eax, dword [ebp - 0xb8]
test eax, eax
jne 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.005976f0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov eax, dword [ebp - 0xac]
test eax, eax
jne 0x595291
push esi
call fcn.00598010
add esp, 4
test edx, edx
jl 0x5935b3
jg 0x593590
test eax, eax
jb 0x5935b3
push edx
push eax
call fcn.00595f30
movsx ecx, ax
mov eax, dword [ebx + 0xc]
add esp, 8
cmp ecx, eax
jge 0x5935b3
mov dword [ebp - 0xac], 1
jmp 0x595291
mov eax, dword [ebp - 0xac]
test eax, eax
jne 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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 0x593602
lea ecx, [ebp - 0xa4]
push ecx
push esi
call fcn.005a1a10
add esp, 8
mov dword [ebp - 4], eax
jmp 0x593623
mov eax, dword [esi + 0x28]
lea edx, [ebp - 0xa4]
push edx
push eax
call fcn.005976f0
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 0x595773
mov al, byte [ebp - 0xa4]
mov byte [esi + 2], al
mov eax, dword [ebp - 0xa4]
test eax, eax
jne 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.005a2da0
jmp 0x59367c
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 0x5936ac
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.0x590150.11
cmp eax, 0x65
jne 0x595773
mov dword [ebp - 4], 0
mov byte [edi + 2], 1
jmp 0x594d57
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 0x5936e7
inc dword [esi + 0x2c]
test byte [ecx + 9], 0x40
je 0x593707
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0058a0e0
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov ecx, dword [ebp - 0x10]
cmp byte [ebx], 0x83
jne 0x593721
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push edx
push eax
call fcn.005a0d00
add esp, 8
mov dword [ebp - 4], eax
jmp 0x59378b
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 0x593764
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x20]
jmp 0x593766
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.005984a0
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.00597b40
add esp, 0x18
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov eax, dword [ebp - 0x114]
test eax, eax
jne 0x593828
mov ecx, dword [ebp - 0x24]
push 4
push ecx
call fcn.0059bd90
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
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 0x590135
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.0059dc90
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov ecx, dword [ebp - 0xc]
mov al, byte [ecx + 2]
test al, al
jne 0x593909
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.0059efa0
add esp, 0xc
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x595773
cmp byte [ebx], 0x86
jne 0x5938e0
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 0x590135
push ebx
push esi
call fcn.0059f470
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 0x590135
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
call fcn.00589af0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590135
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.0059f0c0
mov dword [ebp - 4], eax
mov al, byte [ebx]
and al, 1
add esp, 0x10
cmp al, 1
mov eax, dword [ebp - 0x80]
jne 0x593991
neg eax
jmp 0x593992
inc eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x80], eax
test ecx, ecx
jne 0x595773
test eax, eax
jg 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
push ebx
push esi
call fcn.0059f470
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 0x595681
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.0059c5b0
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 0x595773
mov eax, dword [ebp - 0xb0]
test eax, eax
je case.0x590150.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.005aa0e0
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 0x590135
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.0059c390
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
add esp, 0xc
test eax, eax
je 0x593acc
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 0x593acc
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 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x60]
mov eax, dword [ecx + eax*4]
cmp byte [eax], 1
jne 0x593b11
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.005a0970
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
add ebx, 0x18
jmp 0x590135
mov ecx, dword [eax + 0x28]
push ecx
call fcn.0059c590
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
push ebx
push esi
call fcn.0059f470
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.0059c110
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
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 0x590135
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.005acb10
mov dl, byte [esi + 0x5a]
add esp, 0x14
dec dl
mov dword [ebp - 4], eax
test eax, eax
mov byte [esi + 0x5a], dl
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebx + 4]
test ecx, ecx
jne 0x593c2f
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.005aa540
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.005add50
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 0x593cea
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.0058c020
mov edi, eax
add esp, 0x14
test edi, edi
je 0x595346
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.005ada60
push edi
push eax
mov byte [eax + 0xa5], 1
call fcn.005acb10
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x593cd6
mov eax, dword [ebp - 0x16c]
test eax, eax
mov dword [ebp - 4], eax
jne 0x593cd6
mov eax, dword [ebp - 0x164]
test eax, eax
jne 0x593cd6
push 0x15f51
call fcn.005e1860
add esp, 4
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp - 8]
push edi
call fcn.00578da0
add esp, 8
mov byte [edi + 0xa5], 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x59534d
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.005a8520
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push ecx
push edx
push eax
call fcn.005a9ce0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590135
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push ecx
push edx
push eax
call fcn.005a9660
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590135
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
push ecx
push edx
push eax
call fcn.005b1ad0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590135
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.0059c930
push edi
mov dword [ebp - 0x24], eax
call fcn.00589af0
mov eax, dword [ebp - 0x110]
add esp, 0x18
test eax, eax
je 0x593e1c
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x595719
mov esi, dword [ebp - 0x18]
dec eax
cdq
sub dword [esi], eax
mov eax, dword [esi + 4]
push fcn.00578d00
push 1
push 0xffffffffffffffff
push ecx
sbb eax, edx
push edi
mov dword [esi + 4], eax
call fcn.00589c60
add esp, 0x14
mov edx, dword [ebp - 0x38]
and edx, 0xff
push edx
push edi
call fcn.0058c8b0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
add ebx, 0x18
jmp 0x590135
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 0x593f3f
mov eax, ecx
push eax
call fcn.0059d9e0
add esp, 4
test eax, eax
jne 0x595719
jmp 0x593f3f
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 0x593ec9
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x180]
push eax
mov edx, dword [ecx + 0x10]
push edx
call fcn.00596090
add esp, 8
test eax, eax
je 0x593ec9
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.0058d730
add esp, 0xc
jmp 0x594d57
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00589af0
add esp, 4
jmp case.0x590150.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 0x593f11
push ecx
call fcn.0059d9e0
add esp, 4
test eax, eax
jne 0x595719
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x593f3f
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.00596260
add esp, 0x10
test eax, eax
jne 0x595291
mov eax, dword [ebp - 0x18]
test eax, eax
jl case.0x590150.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.00595fe0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0xc
add ebx, 0x18
jmp 0x590135
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 0x593f9f
mov eax, dword [esi + 0xc8]
mov edx, dword [ecx + 0x14]
test eax, eax
je 0x593f9f
cmp dword [eax + 0x1c], edx
je 0x593f97
mov eax, dword [eax + 4]
test eax, eax
jne 0x593f89
jmp 0x593f9f
test eax, eax
jne case.0x590150.86
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0xd0]
cmp eax, dword [edx + 0x94]
jge 0x595694
test byte [edi + 8], 0x10
jne 0x5940b0
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
add ecx, eax
test eax, eax
mov dword [ebp - 0x5c], ecx
jne 0x593fd1
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.00589bf0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x595719
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0058a150
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], 0x59dc70
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 0x5940b3
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 0x5940a0
jmp 0x5940b3
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 0x594d57
push ebx
push esi
call fcn.0059f470
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.0059dad0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 0x14
add ebx, 0x18
jmp 0x590135
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ecx + 0x20]
and eax, 0x80000
or eax, edx
je 0x5941ef
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 0x590135
mov eax, dword [ebx + 4]
test eax, eax
mov eax, dword [ebx + 8]
cdq
je 0x594224
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 0x590135
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 0x590135
mov eax, dword [ebx + 4]
test eax, eax
je 0x594287
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1d8]
mov edx, dword [eax + 0x1dc]
or ecx, edx
jne case.0x590150.86
mov edx, dword [eax + 0x1e0]
mov ecx, dword [eax + 0x1e4]
add eax, 0x1e0
or edx, ecx
je 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add esi, 0x40
or eax, ecx
jne case.0x590150.86
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1e0]
lea eax, [ecx + 0x1e0]
mov ecx, dword [ecx + 0x1e4]
or edx, ecx
je 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov esi, dword [esi + 0xc8]
test esi, esi
je 0x5942ed
mov ecx, esi
mov eax, dword [ecx + 4]
test eax, eax
je 0x5942df
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x5942d6
mov eax, dword [ebx + 4]
mov ecx, dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
jmp 0x5942f6
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
lea esi, [edi + edx*8]
push esi
call fcn.0059d7d0
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
push edi
call fcn.0059d7d0
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ecx, dword [esi + 4]
add esp, 8
cmp ecx, edi
jg case.0x590150.86
jl 0x59432a
mov edx, dword [esi]
cmp edx, eax
jae case.0x590150.86
mov dword [esi], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0x590150.86
jg 0x59435f
test esi, esi
jbe case.0x590150.86
mov eax, dword [ebx + 0xc]
cdq
sub esi, eax
sbb ecx, edx
mov dword [edi], esi
mov dword [edi + 4], ecx
jmp 0x595291
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.0059f470
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 0x5943f7
jg 0x5943b0
test ecx, ecx
jbe 0x5943f7
mov eax, dword [edi]
mov edi, dword [edi + 4]
test edi, edi
jl 0x5943bf
jg 0x5943c3
test eax, eax
ja 0x5943c3
xor eax, eax
xor edi, edi
push edi
lea ecx, [ebp - 0xec]
push eax
push ecx
call fcn.00595cd0
add esp, 0xc
test eax, eax
jne 0x5943f7
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 0x590135
mov edi, dword [ebp - 0x5c]
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov esi, dword [ebp + 8]
add ebx, 0x18
jmp 0x590135
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.0x590150.86
test ecx, ecx
jl 0x595291
jg 0x59443e
test eax, eax
jbe 0x595291
sub eax, 1
sbb ecx, 0
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x595291
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 0x594476
jg 0x59446b
test edx, edx
jbe 0x594476
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 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.005790b0
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je 0x595719
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.0059d9c0
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 0x59455f
xor ecx, ecx
mov dword [eax + 8], edx
mov cl, byte [eax + 0x19]
dec ecx
js 0x59455f
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 0x594546
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 0x594583
xor edx, edx
mov dl, byte [eax + 0x19]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x59458d
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.0x590150.86
jle 0x5945c3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call fcn.0058d3a0
push eax
push 0x753468
push esi
call fcn.0058c320
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 0x5945ee
mov eax, dword [ebx - 0x14]
test eax, eax
je 0x5945e7
lea eax, [eax + eax*4]
push 0
push 1
lea ecx, [edi + eax*8]
push ecx
call fcn.0058d730
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.0058a150
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 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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 0x594661
mov ecx, dword [ebp - 0xc]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
push eax
push ecx
call fcn.0059d740
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 0x594670
mov edi, dword [ebp - 0xc]
push edi
call fcn.00589b50
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x5956ae
jmp 0x595152
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.005e0540
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
je 0x5946dc
cmp eax, 5
jne 0x595773
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.0058d730
mov eax, dword [ebp - 0x18]
add esp, 0xc
add esi, 4
add edi, 0x28
dec eax
mov dword [ebp - 0x18], eax
jne 0x5946f2
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
push ebx
push esi
call fcn.0059f470
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.0057f150
push eax
mov dword [ebp - 0x20], eax
call fcn.00581860
add esp, 0x10
cmp edi, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x594759
mov edi, eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.005965c0
add esp, 4
test eax, eax
jne 0x59476c
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
push 1
push ecx
call fcn.0058c060
add esp, 8
cmp edi, 5
jne 0x5947a1
push eax
call fcn.0057ada0
add esp, 4
test eax, eax
je 0x59479c
mov edx, dword [ebp - 0x20]
push edx
call fcn.00586e10
add esp, 4
test eax, eax
jne 0x5947a1
mov edi, dword [ebp - 0x10]
jmp 0x59481f
mov eax, dword [ebp - 0x10]
cmp edi, eax
je 0x59481f
cmp eax, 5
je 0x5947b2
cmp edi, 5
jne 0x59481f
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x4f]
test dl, dl
je 0x5956c8
cmp dword [ecx + 0xb4], 1
jg 0x5956c8
cmp eax, 5
jne 0x5947ec
mov esi, dword [ebp - 0x20]
mov eax, ecx
push eax
push esi
call fcn.00596600
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x594826
push edi
push esi
jmp 0x5947f7
cmp eax, 4
jne 0x5947ff
mov ecx, dword [ebp - 0x20]
push 2
push ecx
call fcn.005964a0
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
jne 0x594826
mov eax, dword [ebp - 0x24]
xor edx, edx
cmp edi, 5
sete dl
inc edx
push edx
push eax
call fcn.005892b0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x594829
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
push edi
push ecx
call fcn.005964a0
mov esi, dword [ebp - 0x14]
push eax
mov word [esi + 8], 0xa02
call fcn.005ad440
push eax
mov dword [esi + 0x10], eax
call fcn.0057ada0
mov edx, dword [ebp - 0x38]
mov dword [esi + 0xc], eax
and edx, 0xff
mov byte [esi + 0xa], 1
push edx
push esi
call fcn.0058c8b0
mov eax, dword [ebp - 4]
add esp, 0x18
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov eax, dword [ebx + 8]
test eax, eax
je 0x59488d
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
jmp 0x59488f
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.005b1bc0
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.00597440
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je case.0x590150.86
cmp eax, 0x65
jne 0x595773
mov dword [ebp - 4], 0
jmp 0x595291
mov eax, dword [ebx + 4]
test eax, eax
jne 0x59491b
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
push eax
push ecx
call fcn.0059f160
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 8
add ebx, 0x18
jmp 0x590135
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 0x590135
mov al, byte [ebx + 0xc]
test al, al
mov byte [ebp - 0x120], al
jne 0x59496f
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
mov eax, 0
and ecx, 0x400
mov dword [ebp - 0x28], ecx
jne case.0x590150.86
test eax, eax
jne case.0x590150.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.0059d650
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x5956f2
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov edi, dword [ebx + 0x10]
mov eax, dword [ebp - 8]
push edi
push eax
call fcn.005b3100
add esp, 8
mov dword [ebp - 4], eax
test edi, edi
je 0x5949d0
mov ecx, dword [edi + 8]
push ecx
push esi
call fcn.0059f1a0
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0058d960
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 4], eax
push ecx
call fcn.0058d3a0
add esp, 0xc
test eax, eax
je 0x594a48
mov edx, dword [ebx + 4]
add esi, 0x7c
push esi
push eax
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.005b2bf0
add esp, 0x10
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.0058a150
mov eax, dword [ebp - 4]
add esp, 4
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.005b2f30
mov edx, dword [esi + 0xc0]
add esp, 0xc
dec edx
mov dword [ebp - 4], eax
test eax, eax
mov dword [esi + 0xc0], edx
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0xc], 0
mov edi, dword [ecx + 8]
test edi, edi
je 0x595878
mov eax, dword [edi]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x595878
lea edx, [ebp - 0xc]
push edx
push edi
call dword [eax + 0x18]
push edi
push esi
mov dword [ebp - 4], eax
call fcn.0059f1a0
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
jne 0x595773
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.0059f1f0
add esp, 0x14
test eax, eax
je 0x59570c
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 0x590135
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 0x594b8a
add eax, 0x50
mov dword [ebp - 0x18], ecx
jmp 0x594b73
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 0x594b70
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.0059f1a0
mov eax, dword [ebp - 4]
add esp, 0x1c
test eax, eax
jne 0x595773
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 0x595291
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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 0x594c13
push eax
call fcn.00589af0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add esp, 4
add ebx, 0x18
jmp 0x590135
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 0x594c5c
mov edi, eax
push edi
call fcn.00589af0
mov word [edi + 8], 0x4001
add esp, 4
mov dword [edi], 0
jmp 0x594c70
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.0059f1a0
mov eax, dword [ebp - 0x1fc]
add esp, 0x14
test eax, eax
jle 0x594cc0
push edi
call fcn.0058d3a0
push eax
push 0x753468
push esi
call fcn.0058c320
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.0058c8b0
push edi
call fcn.0059daa0
add esp, 0xc
test eax, eax
jne 0x595884
mov eax, dword [ebp - 4]
test eax, eax
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0x590150.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.0059f1a0
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x595773
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 0x594d57
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 0x595739
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jb case.0x590150.86
mov esi, edx
mov eax, dword [esi + 0x148]
test eax, eax
je case.0x590150.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 0x595765
cmp dword [ebp - 0x7c], edi
jae 0x594d78
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
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.0058c8b0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
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 0x594e36
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.0059f1a0
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 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x595719
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x595878
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x44], eax
je 0x595878
mov edx, dword [eax + 0x34]
mov ecx, dword [ebx + 8]
test edx, edx
je case.0x590150.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 0x594ed3
mov eax, edx
mov edx, ecx
mov dword [eax], edi
add edi, 0x28
add eax, 4
dec edx
jne 0x594ec5
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.0059f1a0
mov eax, dword [ebp - 4]
add esp, 0x18
test eax, eax
jne 0x594f25
mov eax, dword [ebx + 4]
test eax, eax
je 0x594f25
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 0x594f76
mov edx, dword [ebx + 0x10]
mov al, byte [edx + 0x10]
test al, al
je 0x594f76
mov ax, word [ebx + 2]
cmp ax, 4
jne 0x594f56
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 4], 0
add ebx, 0x18
jmp 0x590135
cmp ax, 5
jne 0x594f69
mov eax, 2
mov byte [esi + 0x92], al
jmp 0x594f79
and eax, 0xffff
mov byte [esi + 0x92], al
jmp 0x594f79
inc dword [esi + 0x2c]
test ecx, ecx
jne 0x595773
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
push ebx
push esi
call fcn.0059f470
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.00583590
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 0x590135
push ebx
push esi
call fcn.0059f470
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 0x594fff
push esi
call fcn.00583590
mov ecx, dword [ebx + 0xc]
add esp, 4
cmp eax, ecx
jae 0x594fff
mov eax, ecx
push eax
push esi
call fcn.005973f0
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 0x590135
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.005790b0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x595719
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 0x5950c6
mov dword [eax], ecx
xor ecx, ecx
mov cl, byte [eax + 0x19]
dec ecx
js 0x5950c6
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 0x5950b0
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 0x595145
jle 0x595118
mov edx, dword [ebp - 0x14]
push edx
call fcn.0058d3a0
push eax
push 0x753468
push esi
call fcn.0058c320
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.0058c3e0
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
mov dword [edi + 0x14], 0
jne 0x595773
mov edi, dword [ebp - 0x14]
test byte [edi + 8], 0x12
je case.0x590150.86
mov edx, dword [ebp - 0x38]
and edx, 0xff
push edx
push edi
call fcn.0058c8b0
push edi
call fcn.0059daa0
add esp, 0xc
test eax, eax
jne 0x595884
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x5c]
add ebx, 0x18
jmp 0x590135
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x58]
test cl, 0x41
je 0x59523a
test byte [esi + 0x98], 0x10
jne 0x59523a
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x5951b2
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x59523a
test cl, 0x40
je 0x5951e5
mov ecx, dword [ebp - 8]
push eax
push esi
mov edx, dword [ecx + 0xcc]
mov dword [ebp - 0x24], edx
call fcn.0058f9f0
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.00578d00
add esp, 0x14
jmp 0x59523a
mov edx, dword [ebp - 8]
push eax
cmp dword [edx + 0xbc], 1
jle 0x595224
mov eax, edx
push str.____s
push eax
call fcn.0058c020
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.00578d80
add esp, 0x24
jmp 0x59523a
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 [0x853630]
cmp edx, eax
jl 0x59527d
cmp byte [ebx], 0xa8
je case.0x590150.86
mov eax, dword [esi + 0x6c]
mov edx, 1
cmp eax, edx
jle 0x595278
mov ecx, 0x18
xor edi, edi
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax], 0x11
jne 0x59526b
mov dword [eax + 4], edi
mov eax, dword [esi + 0x6c]
inc edx
add ecx, 0x18
cmp edx, eax
jl 0x59525e
jmp 0x59527a
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 0x590135
push str.cannot_open_savepoint___SQL_statements_in_progress
push esi
call fcn.0058c320
add esp, 8
mov dword [ebp - 4], 5
jmp 0x595776
mov eax, dword [ebp - 0xc]
push eax
push str.no_such_savepoint:__s
push esi
call fcn.0058c320
add esp, 0xc
mov dword [ebp - 4], 1
jmp 0x595776
push str.cannot_release_savepoint___SQL_statements_in_progress
jmp 0x5952b1
mov ecx, dword [esi + 0x7c]
push ecx
push edi
call fcn.00578d80
push str.database_schema_has_changed
push edi
call fcn.0058dc10
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 0x595328
push eax
push edi
call fcn.005a9aa0
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 0x595776
mov dword [ebp - 4], 7
mov edx, dword [ebp - 8]
push edx
call fcn.005a9b20
mov eax, dword [ebp - 4]
add esp, 4
cmp eax, 7
je 0x595719
jmp 0x595776
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 0x5953fb
mov ax, word [ebx + 2]
test ax, ax
je 0x5953c9
and eax, 0xffff
mov edx, dword [eax*4 + 0x74a7cc]
push edx
push str._s_constraint_failed
push esi
call fcn.0058c320
mov eax, dword [ebx + 0x10]
add esp, 0xc
test eax, eax
je 0x5953db
mov ecx, dword [ebp - 8]
push eax
mov eax, dword [esi + 0x7c]
push eax
push str._z:__s
push ecx
call fcn.0058c020
add esp, 0x10
mov dword [esi + 0x7c], eax
jmp 0x5953db
mov edx, dword [ebx + 0x10]
push edx
push 0x753468
push esi
call fcn.0058c320
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.0057aad0
add esp, 0x14
push esi
call fcn.0058a720
add esp, 4
cmp eax, 5
mov dword [ebp - 4], eax
jne 0x5955ea
mov dword [esi + 0x28], eax
jmp 0x595835
push 0
push esi
call fcn.0058c2a0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595773
push 1
push esi
call fcn.0058c0e0
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 0x595490
test byte [edi + 9], 0x10
je 0x595476
push edi
call fcn.0058a030
add esp, 4
test eax, eax
jne 0x595719
push edi
call fcn.0058cd70
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 0x59545f
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x595719
test byte [eax + 0x58], 4
je 0x5954b9
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 0x595835
mov dword [ebp - 4], 0x14
jmp 0x595776
push 0x152d5
call fcn.005e1860
add esp, 4
mov dword [ebp - 4], eax
jmp 0x595776
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 0x595835
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 0x5955fe
test edi, edi
je 0x595565
mov edi, ecx
push 0x204
push edi
call fcn.005df9c0
add esp, 8
mov byte [edi + 0x4f], 1
jmp 0x59559e
test eax, eax
je 0x59557d
mov eax, dword [ecx + 0xb8]
test eax, eax
jle 0x59557d
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x5952b1
push 1
push esi
call fcn.0058c2a0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x595835
mov ecx, dword [ebp - 8]
mov al, byte [ebp + 8]
mov edi, ecx
mov byte [ecx + 0x4f], al
push esi
call fcn.0058a720
add esp, 4
cmp eax, 5
jne 0x5955e1
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 0x595835
push edi
call fcn.005df4a0
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 0x595835
test eax, eax
jne 0x595609
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x595617
test edi, edi
mov eax, str.cannot_rollback___no_transaction_is_active
jne 0x595617
mov eax, str.cannot_commit___no_transaction_is_active
push eax
push esi
call fcn.0058c320
add esp, 8
mov dword [ebp - 4], 1
jmp 0x595776
mov dword [ebp - 4], 8
jmp 0x595776
cmp byte [ebp - 4], 5
jne 0x595773
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 0x595835
mov dword [ebp - 4], 0x204
jmp 0x595776
mov dword [ebp - 4], 0xd
jmp 0x595776
mov dword [ebp - 4], 6
mov byte [esi + 0x92], 2
jmp 0x595776
push str.too_many_levels_of_trigger_recursion
push esi
mov dword [ebp - 4], 1
call fcn.0058c320
add esp, 8
jmp 0x595776
push edi
call fcn.0058d3a0
push eax
push 0x753468
push esi
call fcn.0058c320
add esp, 0x10
jmp 0x595776
cmp edi, 5
mov dword [ebp - 4], 1
mov eax, str.into
je 0x5956de
mov eax, str.out_of
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push esi
call fcn.0058c320
add esp, 0xc
jmp 0x595776
cmp byte [ebp - 4], 6
jne 0x595773
mov eax, dword [ebx + 0x10]
push eax
push str.database_table_is_locked:__s
push esi
call fcn.0058c320
add esp, 0xc
jmp 0x595776
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.005791a0
push str.out_of_memory
push esi
call fcn.0058c320
add esp, 0xc
mov dword [ebp - 4], 7
jmp 0x595776
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.005dfad0
push eax
push 0x753468
push esi
call fcn.0058c320
add esp, 0x10
jmp 0x595776
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 0x595787
mov dword [ebp - 4], 7
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x5957af
mov eax, dword [ebp - 4]
cmp eax, 0xc0a
je 0x5957af
mov edx, eax
push edx
call fcn.005dfad0
push eax
push 0x753468
push esi
call fcn.0058c320
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
push edi
mov dword [esi + 0x28], eax
call fcn.0057f2b0
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.0057aad0
push esi
call fcn.0058a720
mov eax, dword [ebp - 4]
add esp, 0x20
cmp eax, 0xc0a
jne 0x59580a
push edi
call fcn.005791a0
add esp, 4
mov al, byte [ebp - 0xb4]
mov dword [ebp - 4], 1
test al, al
jbe 0x595835
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 8]
and edx, 0xff
dec edx
push edx
push eax
call fcn.005a9aa0
add esp, 8
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x58]
cmp edx, ecx
jb 0x59589e
mov eax, dword [edi + 0x148]
test eax, eax
je 0x59589e
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 0x595838
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 4], 9
jmp 0x595776
mov dword [ebp - 4], 6
jmp 0x595776
push str.string_or_blob_too_big
push esi
call fcn.0058c320
add esp, 8
mov dword [ebp - 4], 0x12
jmp 0x595776
mov edi, dword [esi + 0xb4]
push esi
add edi, edx
mov dword [esi + 0xb4], edi
call fcn.0058aac0
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret