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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x2b4
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push esi
mov dword [esp + 0x20], 0
mov eax, dword [esi + 0x70]
mov edi, dword [esi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], eax
xor al, al
mov byte [esp + 0x6b], al
mov al, byte [edi + 0x54]
mov byte [esp + 0x54], al
mov eax, dword [esi + 0x60]
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], eax
call fcn.00513ed0
add esp, 4
cmp dword [edi + 0x170], ebx
je 0x513ffb
mov ecx, dword [edi + 0x178]
xor edx, edx
mov eax, dword [esi + 0xbc]
div ecx
sub ecx, edx
xor eax, eax
jmp 0x514001
or ecx, 0xffffffff
or eax, 0xffffffff
cmp dword [esi + 0x28], 7
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
je 0x51a247
mov dword [esi + 0x28], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x80], ebx
mov dword [edi + 0x1c4], ebx
cmp dword [edi + 0x128], ebx
jne 0x51a232
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x44]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
xor eax, eax
mov dl, byte [ecx]
add ebx, 1
mov dword [esp + 0x84], ebx
adc eax, 0
movzx ebx, dl
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp ebx, 0xb3
ja case.0x514069.88
jmp dword [ebx*4 + 0x51a430]
mov edx, dword [esp + 0x14]
mov ecx, edx
mov ebx, dword [esp + 0x20]
sub ecx, dword [esp + 0x44]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, 4
mov word [ebx + esi*8 + 8], ax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8], eax
mov dword [ebx + esi*8 + 4], edx
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x514043
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x44]
lea ecx, [eax + eax*4]
mov eax, dword [edi + ecx*8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
mov eax, pe_nt_image_headers32
mov dword [esp + 0x14], esi
mov word [edi + ecx*8 + 8], ax
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
dec eax
cdq
mov dword [ebx + ecx*8], eax
mov eax, 4
mov dword [ebx + ecx*8 + 4], edx
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 8], 0
jne 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x44]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, pe_nt_image_headers32
mov dword [esp + 0x14], esi
mov word [ebx + ecx*8 + 8], ax
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x54]
mov eax, dword [edx + 4]
sub edx, dword [esp + 0x44]
lea esi, [eax + eax*4]
mov eax, 4
mov ecx, dword [ebx + esi*8]
mov word [ebx + esi*8 + 8], ax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x44]
mov dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x84]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
add ecx, 0x14
jmp 0x514043
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
je 0x5177ad
sub ecx, dword [esp + 0x44]
mov eax, 0x66666667
mov ebx, dword [ebp + 8]
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [esp + 0x14]
cmp dword [edx + 4], 0
jne 0x519cb7
mov edx, dword [ebx + 0xd8]
test edx, edx
je 0x519cb3
mov eax, dword [edx + 4]
mov esi, ebx
push edx
dec dword [esi + 0xe0]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0x30]
add dword [edi + 0x70], eax
mov dword [edi + 0x68], eax
adc dword [edi + 0x74], ecx
mov dword [edi + 0x6c], ecx
call fcn.0051af70
mov ecx, dword [esp + 0x18]
add esp, 4
cmp dword [ecx + 8], 4
jne 0x51426a
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + ecx*4 + 8]
dec eax
mov edx, dword [esi + 0x70]
lea eax, [eax + eax*4]
mov ecx, dword [esi + 0x60]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x20], ecx
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov dword [esp + 0x44], edx
jmp 0x514043
push dword [esp + 0x14]
push esi
call fcn.004d0c40
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
push dword [esp + 0x14]
push esi
call fcn.004d0c40
mov edi, dword [esp + 0x5c]
mov edx, eax
mov eax, dword [esp + 0x1c]
add esp, 8
mov ebx, dword [esp + 0x84]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x14]
mov dword [edx + 4], eax
add ecx, 0x14
mov eax, dword [esp + 0x18]
jmp 0x514043
push dword [esp + 0x14]
push esi
call fcn.004d0c40
mov edi, dword [esp + 0x5c]
mov ecx, eax
mov ebx, dword [esp + 0x8c]
mov eax, 8
add esp, 8
mov word [ecx + 8], ax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
fld qword [eax]
mov eax, dword [esp + 0x18]
fstp qword [ecx]
mov ecx, dword [esp + 0x14]
add ecx, 0x14
jmp 0x514043
mov ebx, dword [esp + 0x14]
push ebx
push esi
call fcn.004d0c40
mov ebx, dword [ebx + 0x10]
mov esi, eax
push ebx
call fcn.0050e4d0
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp byte [esp + 0x50], 1
mov dword [edx + 4], eax
je 0x5143dc
push 0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push esi
call fcn.0051c990
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x519fec
movzx ecx, byte [esp + 0x50]
push ecx
push esi
call fcn.00513190
add esp, 8
test eax, eax
jne 0x51a244
mov edx, dword [esp + 0x14]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [edx + 1], 0xf9
jne 0x5143cc
mov eax, dword [edx + 0x10]
test eax, eax
je 0x5143cc
push eax
push edi
call fcn.004e9770
mov edx, dword [esp + 0x1c]
add esp, 8
mov byte [edx + 1], 0xf9
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
mov eax, dword [edx + 4]
mov esi, dword [ebp + 8]
cmp eax, dword [edi + 0x78]
jg 0x519fef
mov byte [edx], 0x49
jmp 0x5143f4
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.004d0c40
mov esi, eax
add esp, 8
mov eax, 0xa02
mov word [esi + 8], ax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov cl, byte [esp + 0x50]
mov byte [esi + 0xa], cl
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x5177a6
mov ebx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 2]
cdq
cmp dword [ebx + ecx*8], eax
jne 0x519aa2
cmp dword [ebx + ecx*8 + 4], edx
jne 0x5177a6
mov eax, 0xa10
mov word [esi + 8], ax
jmp 0x5177a6
mov ebx, dword [esp + 0x14]
push ebx
push esi
call fcn.004d0c40
mov edi, dword [ebx + 0xc]
add esp, 8
sub edi, dword [ebx + 8]
mov ecx, dword [ebx + 4]
neg ecx
mov dword [eax + 0xc], 0
lea esi, [eax + 0xc]
sbb ecx, ecx
and ecx, 0x100
inc ecx
movzx ebx, cx
mov word [eax + 8], bx
test edi, edi
jle 0x5177a6
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.0051c8c0
dec edi
mov word [esi - 4], bx
add esp, 4
mov dword [esi], 0
test edi, edi
jg 0x514497
jmp 0x5177a6
mov eax, dword [ecx + 4]
mov edx, 0xff41
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x54]
lea ecx, [eax + eax*4]
mov ax, word [ebx + ecx*8 + 8]
and ax, dx
or ax, 1
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov ebx, dword [esp + 0x84]
jmp 0x514043
push dword [esp + 0x14]
push esi
call fcn.004d0c40
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x514535
push dword [eax + 4]
push esi
call fcn.0051cc40
push esi
call fcn.0051c160
add esp, 0xc
test eax, eax
jne 0x51a244
mov al, byte [esp + 0x50]
mov byte [esi + 0xa], al
jmp 0x5177a6
mov eax, dword [eax + 4]
push 0
push 0
cdq
push edx
push eax
push ecx
push esi
call fcn.0051c990
mov al, byte [esp + 0x68]
add esp, 0x18
mov byte [esi + 0xa], al
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
lea ebx, [eax + eax*4]
mov eax, dword [esi + 0x6c]
lea ebx, [ebx - 5]
lea ebx, [eax + ebx*8]
push ebx
call fcn.0051cd90
add esp, 4
test eax, eax
jne 0x519fef
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x2400
test word [esi + 8], ax
je 0x51459e
push esi
call fcn.0051c8c0
add esp, 4
mov eax, dword [ebx]
mov ecx, 0xebff
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
and ax, cx
mov ecx, 0x840
or ax, cx
mov word [esi + 8], ax
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push ebx
push esi
call fcn.0051c670
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x51461e
push esi
call fcn.0051c620
add esp, 4
test eax, eax
jne 0x51a244
add ebx, 0x28
add esi, 0x28
dec dword [esp + 0x28]
jne 0x5145f8
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push 0x1000
push ebx
push esi
call fcn.0051cc90
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x51467b
push esi
call fcn.0051c620
add esp, 4
test eax, eax
jne 0x51a244
mov ecx, dword [esp + 0x28]
mov eax, ecx
dec ecx
mov dword [esp + 0x28], ecx
test eax, eax
je 0x5177a6
add esi, 0x28
add ebx, 0x28
jmp 0x514650
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push 0x1000
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.0051cc90
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
push dword [ebx + eax*8 + 4]
push dword [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.0051c880
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
push 0
push esi
call fcn.005133b0
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 8]
mov dword [esp + 0x38], ecx
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov eax, dword [edx + 0xc]
movzx edx, word [ecx + 8]
mov dword [esp + 0x3c], edx
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
mov al, byte [esi + 8]
or al, dl
test al, 1
je 0x514796
push ebx
call fcn.0051c8c0
add esp, 4
jmp 0x5177a6
test dl, 0x12
jne 0x5147cb
push 0
push dword [esp + 0x54]
push ecx
call fcn.0051ccf0
add esp, 0xc
test eax, eax
jne 0x51a244
mov eax, dword [esp + 0x38]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx ecx, ax
mov dword [esp + 0x3c], ecx
jmp 0x5147fb
test edx, 0x4000
je 0x5147fb
push ecx
call fcn.0051c160
add esp, 4
test eax, eax
jne 0x51a244
mov eax, dword [esp + 0x38]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx eax, ax
mov dword [esp + 0x3c], eax
movzx eax, word [esi + 8]
mov dword [esp + 0x2c], eax
test al, 0x12
jne 0x514818
push 0
push dword [esp + 0x54]
push esi
call fcn.0051ccf0
add esp, 0xc
jmp 0x514828
test eax, 0x4000
je 0x514843
push esi
call fcn.0051c160
add esp, 4
test eax, eax
jne 0x51a244
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx eax, ax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
add eax, dword [esi + 0xc]
cdq
mov dword [esp + 0x34], eax
mov ecx, edx
mov eax, dword [edi + 0x78]
cdq
cmp ecx, edx
jg 0x519fec
mov ecx, dword [esp + 0x34]
jl 0x51486e
cmp ecx, eax
ja 0x519fec
xor eax, eax
cmp ebx, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push ebx
call fcn.0051c3b0
add esp, 0xc
test eax, eax
jne 0x51a244
mov ax, word [ebx + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [ebx + 8], ax
cmp ebx, esi
je 0x5148bc
push dword [esi + 0xc]
push dword [esi + 0x10]
push dword [ebx + 0x10]
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x38]
add esp, 0xc
mov word [esi + 8], ax
mov edi, dword [esp + 0x38]
mov eax, dword [ebx + 0x10]
add eax, dword [esi + 0xc]
push dword [edi + 0xc]
push dword [edi + 0x10]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x48]
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov word [edi + 8], ax
mov eax, dword [ebx + 0x10]
mov byte [ecx + eax], 0
mov eax, dword [ebx + 0x10]
mov byte [ecx + eax + 1], 0
mov eax, dword [ebx + 0x10]
mov byte [ecx + eax + 2], 0
mov eax, 0x200
or word [ebx + 8], ax
mov al, byte [esp + 0x50]
mov dword [ebx + 0xc], ecx
mov byte [ebx + 0xa], al
jmp 0x5177a6
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.004d03e0
mov ecx, dword [esp + 0x24]
movzx ebx, ax
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
push edi
mov dword [esp + 0x2c], edi
call fcn.004d03e0
mov edx, dword [esp + 0x28]
add esp, 8
movzx ecx, ax
mov eax, dword [esp + 0x14]
and cl, bl
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esp + 0x38], eax
mov ax, word [edi + 8]
or ax, word [esi + 8]
movzx eax, ax
test cl, 4
je 0x514aa6
mov eax, dword [edi + 4]
mov ebx, dword [edi]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x88], ebx
movzx eax, byte [eax]
add eax, 0xffffff96
cmp eax, 3
ja case.default.0x5149a1
jmp dword [eax*4 + 0x51a700]
push edx
push ecx
lea eax, [esp + 0x90]
push eax
call fcn.004de300
add esp, 0xc
test eax, eax
jne 0x514aae
jmp 0x514a76
push edx
push ecx
lea eax, [esp + 0x90]
push eax
call fcn.0050e4f0
add esp, 0xc
test eax, eax
jne 0x514aae
jmp 0x514a76
push edx
push ecx
lea eax, [esp + 0x90]
push eax
call fcn.00500880
add esp, 0xc
test eax, eax
jne 0x514aae
jmp 0x514a76
mov eax, ecx
or eax, edx
je 0x514b8f
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x514a32
test ebx, ebx
jne 0x514a32
mov eax, dword [edi + 4]
cmp eax, 0x80000000
je 0x514aae
push edx
push ecx
push eax
push ebx
call fcn.0041e9e0
jmp 0x514a68
mov eax, dword [esp + 0x2c]
push edx
push ecx
push eax
push ebx
call fcn.0041e9e0
jmp 0x514a68
mov eax, ecx
or eax, edx
je 0x514b8f
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x514a5b
mov ecx, 1
xor edx, edx
mov eax, dword [esp + 0x2c]
push edx
push ecx
push eax
push ebx
call fcn.0041eb30
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x38]
mov edx, 0x3e40
mov eax, dword [esp + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x8c]
mov dword [ecx + 4], eax
mov ax, word [ecx + 8]
and ax, dx
or ax, 4
mov word [ecx + 8], ax
jmp 0x5177a6
test al, 1
jne 0x514b8f
push esi
call fcn.0051d6d0
fstp qword [esp + 0x4c]
push edi
call fcn.0051d6d0
mov eax, dword [esp + 0x1c]
add esp, 8
movzx eax, byte [eax]
add eax, 0xffffff96
cmp eax, 3
ja case.default.0x514ad0
jmp dword [eax*4 + 0x51a710]
fadd qword [esp + 0x48]
jmp 0x514b5a
fsub qword [esp + 0x48]
jmp 0x514b5a
fmul qword [esp + 0x48]
jmp 0x514b5a
fld qword [esp + 0x48]
fldz
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x514b8b
fdivp st(1)
jmp 0x514b5a
push esi
fstp st(0)
call fcn.0051b700
push dword [esp + 0x28]
mov esi, eax
mov edi, edx
call fcn.0051b700
mov ecx, esi
mov dword [esp + 0x90], eax
add esp, 8
mov dword [esp + 0x8c], edx
or ecx, edi
je 0x514b8f
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x514b3c
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.0041eb30
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], edx
fild qword [esp + 0x130]
sub esp, 8
fst qword [esp]
call fcn.004fe5f0
add esp, 8
test eax, eax
jne 0x514b8d
mov ecx, dword [esp + 0x38]
mov edx, 0x3e40
mov ax, word [ecx + 8]
and ax, dx
or ax, 8
fstp qword [ecx]
mov word [ecx + 8], ax
jmp 0x5177a6
fstp st(1)
fstp st(0)
push dword [esp + 0x38]
call fcn.0051c8c0
add esp, 4
jmp 0x5177a6
mov eax, dword [ecx + 4]
test eax, eax
je 0x5177ad
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
push 0
push 0
lea eax, [ecx + eax*8]
push eax
call fcn.0051c880
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edx, [ebx + eax*8]
mov al, byte [ecx + 8]
or al, byte [esi + 8]
mov dword [esp + 0x40], edx
test al, 1
je 0x514c1c
push edx
call fcn.0051c8c0
add esp, 4
jmp 0x5177a6
push ecx
call fcn.0051b700
push esi
mov ebx, eax
mov edi, edx
call fcn.0051b700
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov cl, byte [eax]
cmp cl, 0x66
jne 0x514c45
and ebx, esi
and edi, edx
jmp 0x514d00
cmp cl, 0x67
jne 0x514c53
or ebx, esi
or edi, edx
jmp 0x514d00
mov eax, esi
or eax, edx
je 0x514d00
test edx, edx
jg 0x514c8b
jl 0x514c67
test esi, esi
jae 0x514c80
mov al, 0xd1
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x514c8b
jg 0x514c79
cmp esi, 0xffffffc0
jbe 0x514c8b
neg esi
adc edx, 0
neg edx
test edx, edx
jl 0x514cad
jg 0x514c8b
cmp esi, 0x40
jb 0x514cad
test edi, edi
jg 0x514ca4
jl 0x514c95
test ebx, ebx
jae 0x514ca4
cmp cl, 0x68
je 0x514ca4
or eax, 0xffffffff
cdq
mov ebx, eax
mov edi, edx
jmp 0x514d00
xor eax, eax
cdq
mov ebx, eax
mov edi, edx
jmp 0x514d00
cmp cl, 0x68
mov eax, ebx
mov edx, edi
mov ecx, esi
jne 0x514cc3
call fcn.0041ee30
mov ecx, eax
mov eax, edx
jmp 0x514cfc
call fcn.0041ef60
mov ecx, eax
mov eax, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
test edi, edi
jg 0x514cfc
jl 0x514cde
test ebx, ebx
jae 0x514cfc
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, esi
or edx, 0xffffffff
call fcn.0041ee30
mov ecx, dword [esp + 0x24]
or ecx, eax
mov eax, dword [esp + 0x28]
or eax, edx
mov ebx, ecx
mov edi, eax
mov ecx, dword [esp + 0x40]
mov edx, 0x3e40
mov ax, word [ecx + 8]
and ax, dx
mov dword [ecx], ebx
or ax, 4
mov dword [ecx + 4], edi
mov word [ecx + 8], ax
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.0051c5c0
mov eax, dword [esp + 0x18]
add esp, 4
mov eax, dword [eax + 8]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
jmp 0x5177a6
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x514da5
test al, 8
jne 0x514d78
test al, 2
je 0x514d85
push 1
push esi
call fcn.004a28d0
add esp, 8
jmp 0x514d81
push esi
call fcn.0051b740
add esp, 4
mov ecx, dword [esp + 0x14]
movzx eax, word [esi + 8]
test al, 4
jne 0x514da5
cmp dword [ecx + 8], 0
jne 0x5140ab
mov edx, 0x14
mov dword [esp + 0x1c], edx
jmp 0x5175f5
mov edi, dword [esp + 0x54]
and eax, 0x3e40
mov ebx, dword [esp + 0x84]
or eax, 4
mov word [esi + 8], ax
add ecx, 0x14
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x18]
jmp 0x514043
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 0x24
lea eax, [edx + eax*8]
je 0x5177ad
push eax
call fcn.0051c7a0
mov ecx, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x514e3a
push esi
call fcn.0051c160
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0x14]
push dword [esp + 0x50]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.0051bfd0
add esp, 0xc
mov edx, eax
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx ecx, word [edi + 8]
movzx eax, word [esi + 8]
mov edx, eax
mov dword [esp + 0x34], ecx
and edx, ecx
mov dword [esp + 0x30], eax
test dl, 4
je 0x514f14
mov ecx, dword [esi]
mov esi, dword [esi + 4]
mov edx, dword [edi + 4]
mov eax, dword [edi]
cmp esi, edx
jl 0x514ed0
jg 0x514eaa
cmp ecx, eax
jbe 0x514ec6
mov eax, dword [0x606150]
mov dword [esp + 0x5c], 1
cmp byte [ebx + eax], 0
jne 0x5140a7
jmp 0x5177a6
cmp esi, edx
jg 0x514f05
jl 0x514ed0
cmp ecx, eax
jae 0x514f05
mov eax, dword [0x606148]
mov dword [esp + 0x5c], 0xffffffff
cmp byte [ebx + eax], 0
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
jne 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov eax, dword [0x60614c]
mov dword [esp + 0x5c], 0
jmp 0x514edd
movzx ebx, word [edi + 8]
mov ecx, eax
or ecx, ebx
test cl, 1
je 0x514f9a
mov ecx, dword [esp + 0x14]
movzx ecx, word [ecx + 2]
test cl, cl
jns 0x514f6b
test dl, 1
je 0x514f52
test eax, 0x100
jne 0x514f52
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], 0
movzx ecx, byte [eax]
mov eax, dword [0x60614c]
jmp 0x5150a1
test byte [esp + 0x30], 1
mov edx, 0
sete dl
lea edx, [edx*2 - 1]
jmp 0x51506f
mov esi, dword [ebp + 8]
test cl, 0x10
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], 1
jne 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov ebx, dword [esp + 0x14]
mov al, byte [ebx + 2]
and al, 0x47
cmp al, 0x43
jl 0x514fe8
test cl, 2
je 0x515060
mov al, byte [esp + 0x34]
and al, 0x2e
cmp al, 2
jne 0x514fcd
push 0
push edi
call fcn.004a28d0
movzx eax, word [esi + 8]
add esp, 8
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x30]
and al, 0x2e
cmp al, 2
jne 0x515060
push 0
push esi
call fcn.004a28d0
add esp, 8
jmp 0x515060
cmp al, 0x42
jne 0x515060
mov al, byte [esp + 0x34]
test al, 2
jne 0x51502f
test al, 0x2c
je 0x51502f
push 1
push dword [esp + 0x54]
push edi
call fcn.0051ccf0
mov ax, word [edi + 8]
mov ecx, 0x3e40
xor ax, word [esp + 0x40]
add esp, 0xc
and ax, cx
xor word [esp + 0x34], ax
cmp edi, esi
jne 0x51502f
mov eax, dword [esp + 0x34]
or eax, 2
movzx eax, ax
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x30]
test al, 2
jne 0x515060
test al, 0x2c
je 0x515060
push 1
push dword [esp + 0x54]
push esi
call fcn.0051ccf0
mov ax, word [esi + 8]
mov ecx, 0x3e40
xor ax, word [esp + 0x3c]
add esp, 0xc
and ax, cx
xor word [esp + 0x30], ax
push dword [ebx + 0x10]
push edi
push esi
call fcn.005005e0
add esp, 0xc
mov edx, eax
mov dword [esp + 0x5c], edx
test edx, edx
jns 0x515085
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x606148]
jmp 0x5150a1
jne 0x515095
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x60614c]
jmp 0x5150a1
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x606150]
movzx ecx, byte [ecx + eax]
movzx eax, word [esp + 0x30]
test ecx, ecx
mov ecx, dword [esp + 0x14]
mov word [esi + 8], ax
movzx eax, word [esp + 0x34]
mov esi, dword [ebp + 8]
mov word [edi + 8], ax
jne 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
cmp dword [esp + 0x5c], 0
je 0x5140ae
mov edi, dword [esp + 0x54]
add ecx, 0x14
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov ebx, dword [esp + 0x14]
test byte [ebx + 2], 1
jne 0x515109
xor eax, eax
jmp 0x51510f
mov eax, dword [ebx - 4]
add eax, 4
mov ecx, dword [ebx + 0xc]
mov esi, dword [esp + 0x14]
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esi + 8]
xor esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], ebx
test ecx, ecx
jle 0x5177a6
lea ebx, [edx + 0x14]
test eax, eax
je 0x515149
mov edi, dword [eax + esi*4]
jmp 0x51514b
mov edi, esi
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x20]
push dword [ebx]
movzx eax, byte [eax + esi]
and eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov eax, dword [esp + 0x34]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.005005e0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x5c], ecx
test ecx, ecx
jne 0x5151a2
mov eax, dword [esp + 0x28]
inc esi
mov edx, dword [esp + 0x40]
add ebx, 4
cmp esi, dword [esp + 0x24]
jl 0x515140
jmp 0x5177a6
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x10]
test byte [esi + eax], 2
je 0x5151d9
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
jne 0x5151d3
mov eax, dword [esp + 0x38]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
je 0x5151d9
neg ecx
mov dword [esp + 0x5c], ecx
cmp dword [esp + 0x3c], 0
je 0x5177a6
neg ecx
mov dword [esp + 0x5c], ecx
jmp 0x5177a6
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
test eax, eax
jns 0x515222
mov eax, dword [edx + 4]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x514043
jne 0x515247
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x514043
mov eax, dword [edx + 0xc]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x514043
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push 2
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.00513140
mov ecx, dword [ebx + 8]
mov esi, eax
mov ebx, dword [esp + 0x28]
push 2
lea ecx, [ecx + ecx*4]
lea ecx, [ebx + ecx*8]
push ecx
call fcn.00513140
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea eax, [eax + esi*2]
cmp byte [ecx], 0x2c
jne 0x5152b3
movzx edx, byte [esi + eax + 0x56ae1c]
jmp 0x5152bb
movzx edx, byte [esi + eax + 0x56ae6c]
mov eax, dword [ecx + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [eax + eax*4]
cmp edx, 2
jne 0x5152fa
mov ax, word [ebx + ecx*8 + 8]
mov edx, 0x3e40
mov edi, dword [esp + 0x54]
and ax, dx
or ax, 1
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edi, dword [esp + 0x54]
mov eax, edx
cdq
mov dword [ebx + ecx*8], eax
mov ax, word [ebx + ecx*8 + 8]
mov dword [ebx + ecx*8 + 4], edx
mov edx, 0x3e40
and ax, dx
or ax, 4
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.00513140
mov ecx, dword [esp + 0x1c]
xor eax, dword [ecx + 0x10]
cdq
push edx
push eax
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.0051c880
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
jne 0x5195b2
push 0
push ecx
call fcn.00513140
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
push esi
call fcn.0051c880
add esp, 0x14
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.0051c8c0
add esp, 4
test byte [edi + 8], 1
jne 0x5177a6
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.0051b700
not eax
not edx
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x5177a6
mov esi, dword [esi + 0xd8]
test esi, esi
je 0x515488
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x18]
sub ecx, dword [eax + 0x70]
mov eax, 0x66666667
imul ecx
mov eax, 1
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
and ecx, 7
shr edx, 3
shl eax, cl
mov bl, byte [edx + esi]
test bl, al
jne 0x5140a7
mov edi, dword [esp + 0x54]
mov al, 1
shl al, cl
mov ecx, dword [esp + 0x14]
or al, bl
mov ebx, dword [esp + 0x84]
mov byte [edx + esi], al
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
add ecx, 0x14
mov eax, dword [esp + 0x18]
jmp 0x514043
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 4]
je 0x5140ae
mov eax, dword [esi + 0x70]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
add ecx, 0x14
mov eax, dword [esp + 0x18]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.00513140
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp dword [edx + 0xc], eax
sete al
push eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.00513140
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
jne 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
movzx eax, word [edx + eax*8 + 8]
test al, 1
jne 0x5140ae
and eax, 0x3f
movzx eax, byte [eax + 0x56c0f8]
cmp eax, dword [ecx + 0xc]
jne 0x5177ad
jmp 0x5140ae
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
jne 0x5155c6
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
jne 0x5155c6
push 0
push 0
jmp 0x5146ef
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.0051c8c0
mov ecx, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
je 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 2], 0
je 0x5142b1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.0051c8c0
mov ecx, dword [esp + 0x18]
add esp, 4
jmp 0x5140ae
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00513890
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x58]
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x48]
mov dword [esp + 0x3c], edx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x34], ecx
cmp eax, dword [esi + 0x20]
je 0x5157a5
cmp byte [ebx + 2], 0
je 0x51570b
cmp byte [ebx], 3
jne 0x5156e7
mov eax, dword [ebx + 0x24]
lea esi, [ebx + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [esi], eax
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + ecx*8 + 0x10]
mov dword [ebx + 0x4c], eax
jmp 0x51573d
push ecx
call fcn.0051c8c0
mov ecx, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov esi, dword [ebx + 0x2c]
push esi
call fcn.004c6650
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x54]
push eax
push esi
call fcn.004e4360
mov dword [ebx + 0x4c], eax
add esp, 0xc
mov eax, dword [ebx + 0x50]
cmp eax, dword [edi + 0x78]
ja 0x519fec
mov edx, dword [esp + 0x3c]
lea esi, [ebx + 0x54]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x20], eax
mov ecx, dword [ebx + 0x4c]
mov al, byte [ecx]
cmp al, 0x80
jae 0x51575b
movzx eax, al
mov dword [edx], eax
mov eax, 1
jmp 0x51576c
push edx
push ecx
call fcn.004fc100
mov edx, dword [esp + 0x44]
add esp, 8
movzx eax, al
movzx eax, al
mov dword [ebx + 0x34], eax
xor eax, eax
mov word [ebx + 0x3e], ax
mov eax, dword [esi]
cmp eax, dword [edx]
jae 0x5158a5
mov dword [ebx + 0x4c], 0
mov dword [esi], 0
mov eax, dword [edx]
cmp eax, 0x18003
ja 0x5159a7
cmp eax, dword [ebx + 0x50]
ja 0x5159a7
movzx eax, word [ebx + 0x3e]
mov esi, dword [esp + 0x70]
cmp eax, esi
ja 0x515a24
mov eax, dword [ebx + 0x34]
cmp eax, dword [edx]
jae 0x5159d9
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x515843
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], eax
mov dword [esp + 0x1dc], eax
lea eax, [esp + 0x1b8]
push eax
push dword [edx]
push dword [ebx + 0x2c]
call fcn.0051c350
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0x1c8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
movzx eax, word [ebx + 0x3e]
mov esi, dword [ebx + 0x34]
add esi, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov ecx, dword [edx + eax*4]
mov edx, dword [edx]
add edx, dword [esp + 0x38]
add eax, 0x16
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], edx
lea eax, [ebx + eax*4]
mov dword [esp + 0x28], eax
jmp 0x515880
movzx ebx, byte [esi]
mov dword [esp + 0x9c], ebx
mov dword [eax], ebx
cmp ebx, 0x80
jae 0x5158aa
movzx eax, byte [ebx + 0x56cb40]
inc esi
cdq
add ecx, eax
adc dword [esp + 0x30], edx
jmp 0x5158de
mov eax, dword [ebx + 0x4c]
jmp 0x51583f
lea eax, [esp + 0x9c]
push eax
push esi
call fcn.004fc100
mov ebx, dword [esp + 0xa4]
movzx eax, al
add esi, eax
mov eax, dword [esp + 0x30]
push ebx
mov dword [eax], ebx
call fcn.0051e160
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, eax
adc dword [esp + 0x30], 0
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
inc edx
mov eax, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], edx
mov dword [edi + edx*4], ecx
mov edi, dword [esp + 0x54]
mov dword [esp + 0x28], eax
cmp edx, dword [esp + 0x70]
ja 0x515917
cmp esi, dword [esp + 0x2c]
jb 0x515880
mov eax, dword [esp + 0x2c]
jmp 0x51591f
mov eax, dword [esp + 0x2c]
cmp esi, eax
jb 0x515936
cmp esi, eax
mov eax, dword [esp + 0x58]
ja 0x515959
cmp ecx, dword [eax + 0x50]
jne 0x515959
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x515955
jmp 0x51593a
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x58]
mov edi, dword [edi + 0x50]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x54]
test eax, eax
jb 0x515968
ja 0x515955
cmp ecx, dword [esp + 0x24]
jbe 0x515968
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
cmp dword [ecx], 0
jne 0x515991
mov esi, dword [esp + 0x2c]
xor edx, edx
mov eax, dword [esp + 0x58]
sub esi, dword [esp + 0x38]
mov word [eax + 0x3e], dx
mov dword [eax + 0x34], esi
mov esi, eax
cmp dword [esi + 0x4c], 0
jne 0x5159e6
lea eax, [esp + 0x1b8]
push eax
call fcn.0051c7f0
add esp, 4
jmp 0x5159e6
cmp dword [eax + 0x4c], 0
jne 0x5159a7
lea eax, [esp + 0x1b8]
push eax
call fcn.0051c7f0
add esp, 4
mov ebx, dword [esp + 0x44]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x519d75
mov esi, dword [ebp + 8]
lea eax, [eax + eax*4]
mov edi, dword [esp + 0x54]
lea eax, [eax - 5]
lea ecx, [ebx + eax*4]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
add ecx, 0x14
jmp 0x514043
mov esi, dword [esp + 0x58]
xor ebx, ebx
mov dword [esp + 0x9c], ebx
movzx eax, word [esi + 0x3e]
cmp eax, dword [esp + 0x70]
ja 0x515a33
mov eax, dword [esp + 0x14]
cmp byte [eax + 1], 0xf5
jne 0x515a13
push 0x800
push dword [eax + 0x10]
push dword [esp + 0x3c]
call fcn.0051cc90
add esp, 0xc
jmp 0x5177a6
push dword [esp + 0x34]
call fcn.0051c8c0
add esp, 4
jmp 0x5177a6
mov ebx, dword [ebx + esi*4 + 0x58]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x9c], ebx
mov edx, dword [esp + 0x34]
mov eax, 0x2400
test word [edx + 8], ax
je 0x515a4f
push edx
call fcn.0051c8c0
mov edx, dword [esp + 0x38]
add esp, 4
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x54]
cmp eax, dword [ecx + edi*4 + 4]
mov edi, dword [esp + 0x54]
jb 0x515b02
mov eax, dword [esi + 0x4c]
mov esi, dword [esp + 0x70]
add eax, dword [ecx + esi*4]
mov dword [esp + 0x24], eax
cmp ebx, 0xc
jae 0x515a8b
push edx
push ebx
push eax
call fcn.0051df80
add esp, 0xc
jmp 0x5177a6
mov al, byte [esp + 0x50]
lea esi, [ebx - 0xc]
shr esi, 1
mov byte [edx + 0xa], al
mov dword [edx + 0xc], esi
lea eax, [esi + 2]
cmp dword [edx + 0x18], eax
jge 0x515ac5
push 0
push eax
mov ecx, 1
push edx
mov word [edx + 8], cx
call fcn.0051c3b0
add esp, 0xc
test eax, eax
jne 0x51a244
mov edx, dword [esp + 0x34]
jmp 0x515acb
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
push esi
push dword [esp + 0x28]
push dword [edx + 0x10]
call sub.MSVCRT.dll_memcpy
mov ecx, dword [esp + 0x40]
add esp, 0xc
and ebx, 1
mov eax, dword [ecx + 0x10]
mov byte [esi + eax], 0
mov eax, dword [ecx + 0x10]
mov byte [esi + eax + 1], 0
mov ax, word [ebx*2 + 0x56b3bc]
mov word [ecx + 8], ax
jmp 0x5177a6
mov al, byte [esp + 0x50]
mov byte [edx + 0xa], al
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x515b23
cmp ebx, 0xc
jb 0x515b1f
test bl, 1
je 0x515b30
test al, al
js 0x515b30
push ebx
call fcn.0051e160
add esp, 4
test eax, eax
jne 0x515b44
push edx
push ebx
push 0x56b0f0
call fcn.0051df80
add esp, 0xc
jmp 0x5177a6
push edx
push eax
mov eax, dword [esp + 0x78]
push dword [ecx + eax*4]
push dword [esi + 0x2c]
call fcn.0051c270
mov edx, eax
add esp, 0x10
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov esi, dword [esp + 0x34]
push esi
push ebx
push dword [esi + 0x10]
call fcn.0051df80
mov eax, 0xefff
add esp, 0xc
and word [esi + 8], ax
jmp 0x5177a6
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x24], edx
lea eax, [eax + eax*4]
mov ebx, dword [edx + 4]
lea esi, [ecx + eax*8]
xor ecx, ecx
mov dword [esp + 0x48], ebx
xor eax, eax
mov dword [esp + 0x28], ecx
cmp ax, word [edx + 0x22]
jge 0x5177a6
add ebx, 0xe
lea ecx, [ecx]
movzx eax, word [ebx]
test al, 0x60
je 0x515bdd
test al, 0x20
jne 0x515c91
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xc], 0
jne 0x515c8e
push dword [esp + 0x50]
movzx eax, byte [ebx - 6]
push eax
push esi
call fcn.004a2860
movzx ecx, word [esi + 8]
add esp, 0xc
test cl, 1
jne case.default.0x515c0d
mov eax, dword [ebx - 0xa]
shr eax, 4
and eax, 0xf
add eax, 0xfffffffe
cmp eax, 4
ja case.default.0x515c0d
jmp dword [eax*4 + 0x51a720]
test cl, 0x10
jmp 0x515c80
test cl, 4
jmp 0x515c80
test cl, 2
jmp 0x515c80
test cl, 4
je 0x515c7d
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], eax
cmp eax, 0x7fff
jg 0x515c65
jl 0x515c49
cmp edx, 0xffffffff
ja 0x515c65
cmp eax, 0xffff8000
jl 0x515c65
jg 0x515c56
test edx, edx
jb 0x515c65
and ecx, 0xfffb
or ecx, 0x20
mov word [esi + 8], cx
jmp case.default.0x515c0d
fild qword [esp + 0x168]
and ecx, 0xfffb
or ecx, 8
mov word [esi + 8], cx
fstp qword [esi]
jmp case.default.0x515c0d
test cl, 0x28
je 0x519d8d
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add esi, 0x28
movsx eax, word [edx + 0x22]
inc ecx
add ebx, 0x10
mov dword [esp + 0x28], ecx
cmp ecx, eax
jl 0x515bc0
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov edi, edi
push dword [esp + 0x50]
movzx eax, byte [edi]
push eax
push esi
call fcn.004a2860
add esp, 0xc
cmp byte [edi], 0x45
jne 0x515d2d
movzx eax, word [esi + 8]
test al, 4
je 0x515d2d
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], ecx
cmp ecx, 0x7fff
jg 0x515d18
jl 0x515d00
cmp edx, 0xffffffff
ja 0x515d18
cmp ecx, 0xffff8000
jl 0x515d18
jg 0x515d0e
test edx, edx
jb 0x515d18
and eax, 0xfffb
or eax, 0x20
jmp 0x515d29
fild qword [esp + 0x128]
and eax, 0xfffb
or eax, 8
fstp qword [esi]
mov word [esi + 8], ax
inc edi
cmp byte [edi], 0
je 0x5177a6
add esi, 0x28
jmp 0x515cc0
xor esi, esi
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x28], esi
xor edx, edx
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x30], edx
xor edi, edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], esi
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [esi + eax*8]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x9b]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x515dea
add esi, 8
mov ebx, ecx
push dword [esp + 0x50]
movzx eax, byte [ebx]
push eax
lea eax, [esi - 8]
push eax
call fcn.004a2860
add esp, 0xc
cmp byte [ebx], 0x45
jne 0x515ddb
movzx eax, word [esi]
test al, 4
je 0x515ddb
and eax, 0xfffb
or eax, 0x20
mov word [esi], ax
inc ebx
add esi, 0x28
cmp byte [ebx], 0
jne 0x515db0
mov edx, dword [esp + 0x30]
mov ebx, edi
mov esi, dword [esp + 0x40]
add esi, 0x1c
movzx ecx, word [esi - 0x14]
test cl, 1
je 0x515e0f
and ecx, 0x4000
neg ecx
sbb ecx, ecx
and ecx, 0xa
inc edx
mov dword [esi], ecx
jmp 0x515ff7
test cl, 0x24
je 0x515f67
mov edx, dword [esi - 0x18]
mov eax, dword [esi - 0x1c]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], edx
test edx, edx
jg 0x515e41
jl 0x515e36
test eax, eax
jae 0x515e41
mov edx, eax
mov eax, dword [esi - 0x18]
not edx
not eax
jmp 0x515e46
mov edx, eax
mov eax, dword [esi - 0x18]
inc dword [esp + 0x30]
test eax, eax
ja 0x515f08
jb 0x515e59
cmp edx, 0x7f
ja 0x515e9f
mov eax, dword [esi - 0x1c]
and eax, 1
mov dword [esp + 0x24], 0
cmp eax, dword [esi - 0x1c]
jne 0x515e8a
mov eax, dword [esp + 0x24]
cmp eax, dword [esi - 0x18]
jne 0x515e8a
cmp dword [esp + 0x48], 4
jl 0x515e8a
lea eax, [edx + 8]
mov edx, dword [esp + 0x30]
mov dword [esi], eax
jmp 0x515ffb
mov edx, dword [esp + 0x30]
add ebx, 1
mov dword [esi], 1
adc edi, 0
jmp 0x515ffb
test eax, eax
ja 0x515f08
jb 0x515ead
cmp edx, 0x7fff
ja 0x515ec2
mov edx, dword [esp + 0x30]
add ebx, 2
mov dword [esi], 2
adc edi, 0
jmp 0x515ffb
test eax, eax
ja 0x515f08
jb 0x515ed0
cmp edx, 0x7fffff
ja 0x515ee5
mov edx, dword [esp + 0x30]
add ebx, 3
mov dword [esi], 3
adc edi, 0
jmp 0x515ffb
test eax, eax
ja 0x515f08
jb 0x515ef3
cmp edx, 0x7fffffff
ja 0x515f08
mov edx, dword [esp + 0x30]
add ebx, 4
mov dword [esi], 4
adc edi, 0
jmp 0x515ffb
cmp eax, 0x7fff
ja 0x515f2b
jb 0x515f16
cmp edx, 0xffffffff
ja 0x515f2b
mov edx, dword [esp + 0x30]
add ebx, 6
mov dword [esi], 5
adc edi, 0
jmp 0x515ffb
mov edx, dword [esp + 0x30]
add ebx, 8
adc edi, 0
test cl, 0x20
je 0x515f5c
fild qword [esp + 0x160]
and ecx, 0xffdf
mov dword [esi], 7
or ecx, 8
mov word [esi - 0x14], cx
fstp qword [esi - 0x1c]
jmp 0x515ffb
mov dword [esi], 6
jmp 0x515ffb
test cl, 8
je 0x515f7b
inc edx
mov dword [esi], 7
add ebx, 8
adc edi, 0
jmp 0x515ff7
mov edx, dword [esi - 0x10]
mov eax, ecx
shr eax, 1
and eax, 1
mov dword [esp + 0x24], edx
lea eax, [eax + edx*2]
add eax, 0xc
mov dword [esp + 0x2c], eax
test ecx, 0x4000
je 0x515fdb
mov edx, dword [esi - 0x1c]
lea ecx, [esi - 0x1c]
lea eax, [eax + edx*2]
mov dword [esp + 0x2c], eax
mov eax, ebx
or eax, edi
je 0x515fc8
push ecx
call fcn.0051c160
add esp, 4
test eax, eax
jne 0x51a240
mov edx, dword [esp + 0x24]
add edx, dword [esi - 0x1c]
jmp 0x515fd7
mov eax, edx
cdq
add dword [esp + 0x28], eax
adc dword [esp + 0x3c], edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
add ebx, edx
push 0
push eax
adc edi, 0
call fcn.00512ba0
mov edx, dword [esp + 0x38]
add esp, 8
add edx, eax
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
mov dword [esp + 0x30], edx
lea eax, [esi - 0x1c]
cmp eax, dword [esp + 0x34]
je 0x51600c
sub esi, 0x28
jmp 0x515df1
cmp edx, 0x7e
jle 0x51603a
mov eax, edx
cdq
push edx
push eax
call fcn.00512ba0
mov esi, eax
mov eax, dword [esp + 0x38]
add eax, esi
mov dword [esp + 0x38], eax
cdq
push edx
push eax
call fcn.00512ba0
mov edx, dword [esp + 0x40]
add esp, 0x10
cmp esi, eax
jge 0x51603f
inc edx
mov dword [esp + 0x30], edx
mov esi, dword [esp + 0x28]
mov eax, edx
cdq
mov ecx, eax
mov eax, edx
add ebx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], ecx
mov ecx, ebx
adc edi, eax
mov eax, dword [esp + 0x38]
add ecx, esi
adc edi, dword [esp + 0x3c]
mov eax, dword [eax + 0x18]
cdq
cmp edi, edx
jg 0x51607c
jl 0x516070
cmp ecx, eax
ja 0x51607c
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
jmp 0x5160af
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x78]
cdq
cmp edi, edx
jg 0x519fe8
jl 0x516096
cmp ecx, eax
ja 0x519fe8
push ebx
push dword [esp + 0x3c]
call fcn.0051c0b0
add esp, 8
test eax, eax
jne 0x51a240
mov ecx, dword [esp + 0x38]
mov eax, 0x10
mov dword [ecx + 0xc], ebx
mov word [ecx + 8], ax
mov eax, esi
or eax, dword [esp + 0x3c]
je 0x5160ce
mov eax, 0x4010
mov dword [ecx], esi
mov word [ecx + 8], ax
mov eax, dword [esp + 0x30]
mov esi, dword [ecx + 0x10]
lea edi, [esi + eax]
cmp eax, 0x80
jae 0x5160e8
mov byte [esi], al
mov eax, 1
jmp 0x5160f9
push dword [esp + 0x48]
push dword [esp + 0x28]
push esi
call fcn.00507620
add esp, 0xc
mov ebx, dword [esp + 0x34]
movzx eax, al
add esi, eax
mov ebx, dword [ebx + 0x1c]
cmp ebx, 0x80
jae 0x516116
mov byte [esi], bl
mov eax, 1
jmp 0x516122
push 0
push ebx
push esi
call fcn.00507620
add esp, 0xc
push ebx
mov ebx, dword [esp + 0x38]
movzx eax, al
push ebx
push edi
add esi, eax
call fcn.0051e100
add ebx, 0x28
add esp, 0xc
add edi, eax
mov dword [esp + 0x34], ebx
cmp ebx, dword [esp + 0x40]
jbe 0x516102
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
cmp dword [edx + 0xc], 0
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x2c]
je 0x51617d
push eax
call fcn.004e4580
mov esi, eax
mov ebx, edx
add esp, 4
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], ebx
jmp 0x5161c1
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], 0
push ecx
push eax
push edi
mov dword [esp + 0xb8], 0
call fcn.004e2030
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.004d0c40
add esp, 8
mov dword [eax], esi
mov dword [eax + 4], ebx
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
cmp dword [edi + 0x128], 0
jne 0x51a232
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
cmp eax, edx
jb case.0x514069.88
mov ebx, dword [esp + 0x68]
ja 0x516210
cmp dword [esp + 0x84], ebx
jb 0x519aa9
lea esp, [esp]
mov eax, dword [edi + 0x170]
test eax, eax
je 0x519aa5
add ebx, dword [edi + 0x178]
push dword [edi + 0x174]
adc edx, 0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edx
call eax
add esp, 4
test eax, eax
jne 0x51a1cf
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
cmp eax, edx
ja 0x516210
jb 0x516259
cmp dword [esp + 0x84], ebx
jae 0x516210
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x54]
add ecx, 0x14
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
test ecx, ecx
jne 0x516340
cmp dword [edi + 0xc4], ecx
jg 0x519de5
push eax
call fcn.0050e4d0
mov ecx, dword [edi + 0x1f8]
mov ebx, eax
add ecx, dword [edi + 0x1f4]
push ecx
push 0
push edi
call fcn.0051fd80
mov edx, eax
add esp, 0x10
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
push edx
lea eax, [ebx + 0x21]
push eax
push edi
call fcn.004e9850
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5177a6
lea ecx, [ebx + 1]
push ecx
push dword [esp + 0x2c]
lea edx, [esi + 0x20]
push edx
mov dword [esi], edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp byte [edi + 0x55], 0
je 0x516302
mov byte [edi + 0x55], 0
mov byte [edi + 0x5d], 1
jmp 0x516308
inc dword [edi + 0x1f4]
mov eax, dword [edi + 0x1e8]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x200]
mov dword [edi + 0x1e8], esi
mov dword [esi + 8], eax
mov eax, dword [edi + 0x204]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x208]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x20c]
mov dword [esi + 0x14], eax
jmp 0x5177a6
mov esi, dword [edi + 0x1e8]
xor ebx, ebx
push eax
test esi, esi
je 0x519e50
push dword [esi]
call fcn.0050e440
add esp, 8
test eax, eax
je 0x516369
mov esi, dword [esi + 0x18]
inc ebx
mov eax, dword [esp + 0x28]
jmp 0x516348
cmp dword [edi + 0xc4], 0
mov ecx, dword [esp + 0x3c]
jle 0x51637f
cmp ecx, 1
je 0x519e01
cmp dword [esi + 0x18], 0
jne 0x5163ea
cmp byte [edi + 0x5d], 0
je 0x5163ea
mov dword [esp + 0x28], 1
cmp ecx, 1
jne 0x5163f2
push ecx
push dword [ebp + 8]
call fcn.005133b0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x51a176
push dword [ebp + 8]
mov byte [edi + 0x55], 1
call fcn.0051b130
add esp, 4
cmp eax, 5
je 0x519e20
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x5163e1
mov byte [edi + 0x55], 0
jmp 0x5164ec
mov byte [edi + 0x5d], 0
jmp 0x5164f4
mov dword [esp + 0x28], 0
mov eax, dword [edi + 0x1f4]
sub eax, ebx
dec eax
mov dword [esp + 0x2c], eax
cmp ecx, 2
jne 0x516472
mov edx, dword [edi + 0x18]
and edx, 1
mov dword [esp + 0x24], 0
cmp dword [edi + 0x14], 0
mov dword [esp + 0x40], edx
jle 0x51647a
xor eax, eax
test edx, edx
sete al
xor ebx, ebx
mov dword [esp + 0x48], eax
lea esp, [esp]
push eax
mov eax, dword [edi + 0x10]
push 0x204
push dword [ebx + eax + 4]
call fcn.004e5270
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0x24]
add ebx, 0x10
inc eax
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
jl 0x516430
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
jmp 0x51647e
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x1c]
cmp dword [edi + 0x14], 0
mov dword [esp + 0x24], 0
jle 0x5164c8
xor ebx, ebx
mov edi, edi
push eax
mov eax, dword [edi + 0x10]
push ecx
push dword [ebx + eax + 4]
call fcn.004e45e0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0x24]
add ebx, 0x10
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
jl 0x516490
cmp dword [esp + 0x40], 0
je 0x5164e8
push 0
push edi
call fcn.004ec0c0
push edi
call fcn.005086f0
mov edx, dword [esp + 0x28]
add esp, 0xc
or dword [edi + 0x18], 1
mov ebx, dword [esp + 0x2c]
test edx, edx
jne 0x5175f5
cmp dword [edi + 0x1e8], esi
je 0x516527
lea esp, [esp]
mov ecx, dword [edi + 0x1e8]
push ecx
push edi
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1e8], eax
call fcn.004e9770
dec dword [edi + 0x1f4]
add esp, 8
cmp dword [edi + 0x1e8], esi
jne 0x516500
mov ecx, dword [esp + 0x3c]
cmp ecx, 1
jne 0x516565
mov eax, dword [esi + 0x18]
push esi
push edi
mov dword [edi + 0x1e8], eax
call fcn.004e9770
add esp, 8
cmp dword [esp + 0x28], 0
jne 0x5177a6
mov ecx, dword [esp + 0x3c]
dec dword [edi + 0x1f4]
push ebx
push ecx
push edi
call fcn.0051fd80
jmp 0x514e4d
cmp dword [esp + 0x28], 0
mov eax, dword [esi + 8]
mov dword [edi + 0x200], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x204], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x208], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x20c], eax
je 0x516599
cmp ecx, 2
jne 0x5177a6
push ebx
push ecx
push edi
call fcn.0051fd80
jmp 0x514e4d
mov edx, dword [esp + 0x14]
mov dword [esp + 0xa4], 0
mov edx, dword [edx + 8]
test edx, edx
je 0x5165d3
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
and ecx, 0x100000
and eax, 2
or ecx, eax
jne 0x519e6f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
test esi, esi
je 0x5166a1
lea eax, [esp + 0xa4]
push eax
push edx
push esi
call fcn.004e1730
mov ebx, dword [ebp + 8]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x519e9f
test byte [ebx + 0xa0], 0x40
je 0x5166b0
mov eax, dword [esp + 0x14]
cmp dword [eax + 8], edx
je 0x5166b0
cmp byte [edi + 0x55], dl
je 0x516636
cmp dword [edi + 0xc0], 1
jle 0x5166b0
cmp dword [ebx + 0x38], 0
jne 0x516651
mov eax, dword [edi + 0x1f4]
inc dword [edi + 0x1f8]
add eax, dword [edi + 0x1f8]
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x38]
dec eax
push eax
push 0
push edi
call fcn.0051fd80
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x51667b
push dword [ebx + 0x38]
push esi
call fcn.004e16d0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0x200]
mov dword [ebx + 0x50], eax
mov eax, dword [edi + 0x204]
mov dword [ebx + 0x54], eax
mov eax, dword [edi + 0x208]
mov dword [ebx + 0x58], eax
mov eax, dword [edi + 0x20c]
mov dword [ebx + 0x5c], eax
jmp 0x5166a4
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x14]
cmp word [ecx + 2], 0
je 0x5177aa
mov eax, dword [esp + 0xa4]
cmp eax, dword [ecx + 0xc]
jne 0x5166e9
mov eax, ecx
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 0x10]
je 0x5177aa
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x5166fd
push eax
push edi
call fcn.004e9770
add esp, 8
push str.database_schema_has_changed
push edi
call fcn.004e9b20
mov dword [ebx + 0x84], eax
add esp, 8
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
mov ecx, edx
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax]
cmp eax, dword [esp + 0xa4]
je 0x516738
push edx
push edi
call fcn.00508770
add esp, 8
mov eax, dword [ebx + 0xa0]
mov edx, 0x11
and eax, 0xfffffffd
mov dword [esp + 0x1c], edx
or eax, 1
mov dword [ebx + 0xa0], eax
jmp 0x5175f5
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x104]
push eax
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
push dword [edx + 0xc]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004e28f0
push dword [esp + 0x20]
push esi
call fcn.004d0c40
mov edi, dword [esp + 0x68]
mov ecx, eax
mov eax, dword [esp + 0x118]
add esp, 0x14
mov ebx, dword [esp + 0x84]
cdq
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x14]
add ecx, 0x14
jmp 0x514043
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 4]
push dword [edx + 0xc]
shl esi, 4
add esi, dword [edi + 0x10]
push dword [edx + 8]
push dword [esi + 4]
call fcn.004e53d0
mov edx, dword [esp + 0x20]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 8]
cmp eax, 1
jne 0x516803
movzx eax, word [edx + 2]
mov ecx, dword [edx + 0xc]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [eax], ecx
or dword [edi + 0x18], 1
push dword [edx + 4]
push edi
call fcn.004f2db0
mov edx, dword [esp + 0x1c]
add esp, 8
jmp 0x516811
cmp eax, 2
jne 0x516811
mov ecx, dword [esi + 0xc]
mov al, byte [edx + 0xc]
mov byte [ecx + 0x4c], al
cmp dword [edx + 4], 1
jne 0x51682e
push 0
push edi
call fcn.004ec0c0
mov esi, dword [ebp + 8]
add esp, 8
and dword [esi + 0xa0], 0xfffffffc
jmp 0x516831
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [ebx + 4]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je case.0x514069.101
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x38]
cmp eax, dword [ecx + 8]
jne case.0x514069.101
push dword [ebx + 0x2c]
add ebx, 0x2c
call fcn.004e1a80
mov edx, dword [esp + 0x20]
add esp, 4
jmp 0x5169b2
mov eax, dword [esi + 0xa0]
and al, 3
cmp al, 1
je 0x519ed0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], 0
mov dword [esp + 0x28], 0
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
shl eax, 4
add eax, dword [edi + 0x10]
mov dword [esp + 0x40], ebx
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
cmp dl, 0x70
jne 0x5168f8
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
movzx ecx, word [ecx + 2]
mov al, byte [eax + 0x4c]
and ecx, 8
or ecx, 4
mov dword [esp + 0x24], ecx
cmp al, byte [esi + 0x9b]
jae 0x516900
mov byte [esi + 0x9b], al
jmp 0x516900
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test byte [ecx + 2], 0x10
je 0x51692a
mov ecx, dword [esp + 0x20]
lea eax, [ebx + ebx*4]
lea esi, [ecx + eax*8]
push esi
call fcn.0051c5c0
mov ebx, dword [esi]
add esp, 4
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov dword [esp + 0x40], ebx
mov al, byte [ecx + 1]
cmp al, 0xf7
jne 0x51693e
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x28], eax
movzx eax, word [eax + 8]
jmp 0x51694b
cmp al, 0xfd
jne 0x516947
mov eax, dword [ecx + 0x10]
jmp 0x51694b
mov eax, dword [esp + 0x48]
push 0
push eax
push dword [ecx + 4]
push esi
call fcn.004a1250
mov esi, eax
add esp, 0x10
test esi, esi
je 0x51a244
push dword [esi + 0x2c]
mov eax, dword [esp + 0x30]
push dword [esp + 0x2c]
or dword [esi + 8], 4
push dword [esp + 0x2c]
mov dword [esi + 0x38], ebx
lea ebx, [esi + 0x2c]
push dword [esp + 0x4c]
mov byte [esi + 1], al
push dword [esp + 0x48]
mov byte [esi + 2], 1
call fcn.004e2200
mov edx, eax
add esp, 0x14
mov eax, dword [esp + 0x28]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
cmp byte [eax + 1], 0xf7
setne al
mov byte [esi + 4], al
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 2]
mov eax, dword [ebx]
and cl, 3
mov byte [eax + 3], cl
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
push 0
mov ecx, dword [edx + 8]
mov ebx, dword [eax + ecx*4]
movsx eax, word [ebx + 0x3c]
push eax
push dword [edx + 4]
push esi
call fcn.004a1250
mov esi, eax
add esp, 0x10
test esi, esi
je 0x51a244
or dword [esi + 8], 1
mov edx, dword [esi + 8]
mov byte [esi + 2], 1
mov ecx, dword [ebx + 0x30]
mov dword [esi + 0x30], ecx
mov al, byte [ebx + 4]
mov byte [esi + 4], al
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 8]
xor eax, edx
and eax, 4
xor eax, edx
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x10]
or dword [esi + 8], 8
mov dword [esi + 0x10], eax
or dword [ebx + 8], 8
push dword [esi + 0x2c]
push dword [esi + 0x30]
push 4
push dword [esi + 0x38]
push dword [esi + 0x10]
call fcn.004e2200
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x1c], ebx
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x516a8f
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 0xc], 0
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 0x10], 0x5653d3
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x68]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x516adb
test byte [esi + 8], 8
jne 0x516adb
movsx eax, word [esi + 0x3c]
cmp dword [edx + 8], eax
jg 0x516adb
push 0
push dword [esi + 0x38]
mov dword [esi + 0x18], 0
push dword [esi + 0x10]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call fcn.004e1aa0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
jmp 0x516be5
push 0
push dword [edx + 8]
push ecx
push dword [ebp + 8]
call fcn.004a1250
mov esi, eax
add esp, 0x10
test esi, esi
je 0x51a244
mov eax, dword [esp + 0x14]
lea ebx, [esi + 0x10]
or dword [esi + 8], 1
push 0x41e
movzx ecx, word [eax + 2]
or ecx, 5
push ecx
push ebx
push edi
push 0
push dword [edi]
call fcn.004e3b80
mov edx, eax
add esp, 0x18
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
push eax
push 1
push dword [ebx]
call fcn.004e1730
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x516bb9
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x48], eax
mov dword [esi + 0x30], eax
test eax, eax
je 0x516b95
movzx eax, word [edx + 2]
lea ecx, [esi + 0x38]
or eax, 2
push eax
push ecx
push dword [ebx]
call fcn.004e21b0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x516b8f
push dword [esi + 0x2c]
push dword [esp + 0x4c]
push 4
push dword [esi + 0x38]
push dword [ebx]
call fcn.004e2200
mov edx, eax
add esp, 0x14
mov dword [esp + 0x1c], edx
mov byte [esi + 4], 0
jmp 0x516bb9
push dword [esi + 0x2c]
mov dword [esi + 0x38], 1
push 0
push 4
push 1
push dword [ebx]
call fcn.004e2200
mov edx, eax
mov byte [esi + 4], 1
add esp, 0x14
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp word [ecx + 2], 8
setne al
shl eax, 2
xor eax, dword [esi + 8]
and eax, 4
xor dword [esi + 8], eax
test edx, edx
je 0x516bf1
push dword [ebx]
call fcn.004e1b60
mov edx, dword [esp + 0x20]
add esp, 4
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov byte [esi + 2], 1
mov esi, dword [ebp + 8]
jmp 0x514043
mov edx, dword [esp + 0x14]
push 1
push dword [edx + 8]
push dword [edx + 4]
push esi
call fcn.004a1250
add esp, 0x10
test eax, eax
je 0x51a247
mov edx, dword [esp + 0x14]
push eax
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x30], ecx
push dword [edx + 0xc]
push edi
call fcn.0051e470
add esp, 0xc
mov edx, eax
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
mov edx, dword [eax + ecx*4]
mov edi, dword [edx + 0x18]
mov ecx, edi
mov esi, dword [edx + 0x1c]
add ecx, 1
mov eax, esi
mov dword [edx + 0x18], ecx
mov ecx, dword [esp + 0x14]
adc eax, 0
or edi, esi
mov dword [edx + 0x1c], eax
mov esi, dword [ebp + 8]
jne 0x5177ad
jmp 0x5140ae
mov edx, dword [esp + 0x14]
push 3
push dword [edx + 0xc]
push dword [edx + 4]
push esi
call fcn.004a1250
add esp, 0x10
test eax, eax
je 0x51a247
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov byte [eax + 2], 1
mov ecx, dword [ecx + 8]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov byte [eax + 4], 1
add ecx, 0x14
mov dword [eax + 0x2c], 0x6107d8
mov eax, dword [esp + 0x18]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
push dword [eax + ecx*4]
push esi
call fcn.0051b000
mov eax, dword [esp + 0x1c]
add esp, 8
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
jmp 0x514043
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov dword [esp + 0x2c], 0
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 4], 0
mov word [esi + 2], 0
mov dword [esi + 0x20], 0
je 0x516e54
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
movzx eax, word [ecx + 8]
mov dword [esp + 0x48], eax
and al, 0x2e
mov dword [esp + 0x24], ecx
cmp al, 2
jne 0x516d90
push 0
push ecx
call fcn.004a28d0
mov ecx, dword [esp + 0x2c]
add esp, 8
push ecx
call fcn.0051b700
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
movzx eax, word [ecx + 8]
mov word [ecx + 8], dx
test al, 0x24
jne 0x516e19
test al, 8
jne 0x516ded
test al, 1
jne 0x5140a7
cmp ebx, 0x19
jge 0x5140a7
lea eax, [esp + 0x60]
push eax
push dword [esi + 0x2c]
call fcn.004e3930
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
jmp 0x516f84
fld qword [ecx]
sub esp, 8
fstp qword [esp]
push dword [esp + 0x48]
push dword [esp + 0x34]
call fcn.004fe420
add esp, 0x10
test eax, eax
jle 0x516e11
test bl, 1
jne 0x516e19
dec ebx
jmp 0x516e19
jns 0x516e19
test bl, 1
je 0x516e19
inc ebx
lea eax, [esp + 0x60]
push eax
push 0
push dword [esp + 0x48]
push dword [esp + 0x34]
push dword [esi + 0x2c]
call fcn.004e4b40
mov edx, eax
add esp, 0x14
mov eax, dword [esp + 0x28]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
mov dword [esi + 0x44], eax
test edx, edx
jne 0x5175f5
jmp 0x516ee6
mov eax, dword [esi + 0x2c]
test byte [eax + 3], 2
je 0x516e65
mov dword [esp + 0x2c], 1
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x118], eax
mov ax, word [edx + 0x10]
mov word [esp + 0x120], ax
lea eax, [ebx - 1]
test al, 1
mov byte [esp + 0x126], 0
sete al
lea eax, [eax*2 - 1]
mov byte [esp + 0x122], al
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x11c]
push eax
push dword [esi + 0x2c]
call fcn.004e2ad0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
cmp dword [esp + 0x2c], eax
je 0x516ee6
cmp byte [esp + 0x126], al
je 0x516f84
mov eax, dword [esp + 0x60]
cmp ebx, 0x19
jl 0x516f6b
test eax, eax
js 0x516f2e
jne 0x516efa
cmp ebx, 0x1a
je 0x516f2e
mov dword [esp + 0x60], 0
cmp dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x14]
je 0x5177aa
mov esi, dword [ebp + 8]
add ecx, 0x14
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
push 0
push dword [esi + 0x2c]
mov dword [esp + 0x68], 0
call fcn.004e3b30
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
je 0x516f02
cmp edx, 0x65
jne 0x5175f5
mov dword [esp + 0x1c], 0
mov dword [esp + 0x60], 1
jmp 0x5140a7
test eax, eax
jg 0x516f94
jne 0x516f76
cmp ebx, 0x17
je 0x516f94
mov eax, dword [esi + 0x2c]
xor ecx, ecx
cmp byte [eax], cl
setne cl
mov dword [esp + 0x60], ecx
cmp dword [esp + 0x60], 0
jne 0x5140a7
jmp 0x516f02
push 0
push dword [esi + 0x2c]
mov dword [esp + 0x68], 0
call fcn.004e43b0
jmp 0x516f40
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [ebx + 0x18]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x2c]
cmp byte [eax], 0
jne 0x5177ad
mov eax, dword [ebx + 0x30]
mov esi, dword [ecx + 4]
mov dword [esp + 0x1f0], eax
mov ax, word [ecx + 0x24]
mov word [esp + 0x1f8], ax
mov eax, dword [ecx + 0x20]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x1fa], 0
mov dword [esp + 0xe4], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x1f4], eax
jmp 0x517010
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x1f4]
push eax
push ebx
push edi
call fcn.0051b4c0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0xe4]
test eax, eax
jg 0x517079
je 0x5140a7
test esi, esi
jle 0x5177a6
push edx
push dword [ebx + 0x2c]
dec esi
call fcn.004e3b30
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
je 0x517010
cmp edx, 0x65
jne 0x5175f5
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x14]
add ecx, 0x14
jmp 0x5140ab
mov eax, dword [esi + 0x68]
mov ecx, dword [ecx + 4]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax + ecx*4]
movzx eax, word [ecx + 0xc]
cmp eax, dword [esi + 8]
jge 0x5170aa
mov eax, esi
mov ax, word [eax + 8]
mov word [ecx + 0xc], ax
jmp 0x5177a6
cmp eax, dword [esi + 0xc]
mov esi, dword [ebp + 8]
jle 0x5142b1
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov ax, word [eax + 0xc]
mov word [ecx + 0xc], ax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
jmp 0x514043
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x68]
cmp dword [eax + ecx*4], 0
mov ecx, dword [esp + 0x14]
je case.0x514069.11
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
movzx eax, word [eax + 0xc]
cmp eax, dword [ecx + 0x10]
jge 0x5177ad
mov eax, dword [esi + 0x68]
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x20]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
jle 0x517176
mov eax, dword [ebx + 0x30]
lea ebx, [esp + 0x210]
mov dword [esp + 0x210], eax
mov ax, word [ecx + 0x10]
mov word [esp + 0x218], ax
xor eax, eax
mov dword [esp + 0x214], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x28], eax
jmp 0x5171c5
mov eax, 0x4000
test word [esi + 8], ax
je 0x517192
push esi
call fcn.0051c160
add esp, 4
test eax, eax
jne 0x51a244
push dword [ebx + 0x30]
call fcn.005130b0
mov ebx, eax
add esp, 4
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x51a244
push ebx
push dword [esi + 0x10]
push dword [esi + 0xc]
mov esi, dword [esp + 0x30]
push dword [esi + 0x30]
call fcn.0051dcc0
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov byte [ebx + 0xa], 0
cmp byte [ecx], 0x1d
mov dword [esp + 0x24], 0
jne 0x5171fd
movzx edx, word [ebx + 8]
xor ecx, ecx
test edx, edx
jle 0x5171fd
mov eax, dword [ebx + 4]
add eax, 8
test byte [eax], 1
jne 0x5171f5
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x5171e6
jmp 0x5171fd
mov dword [esp + 0x24], 1
lea eax, [esp + 0x108]
push eax
push ebx
push dword [esi + 0x2c]
call fcn.004e2ad0
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
test eax, eax
je 0x51722d
push eax
push edi
call fcn.004e9770
mov edx, dword [esp + 0x24]
add esp, 8
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0x108]
xor ecx, ecx
test eax, eax
mov dword [esi + 0x24], eax
mov al, 1
mov byte [esi + 3], dl
sete cl
mov dword [esi + 0x20], edx
sub al, cl
mov byte [esi + 2], al
mov eax, dword [esp + 0x14]
mov al, byte [eax]
cmp al, 0x1f
jne 0x517283
mov esi, dword [ebp + 8]
test ecx, ecx
mov ecx, dword [esp + 0x14]
jne 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
cmp dword [esp + 0x24], 0
jne 0x5140a7
test ecx, ecx
je 0x5140a7
mov ecx, dword [esp + 0x14]
cmp al, 0x1c
jne 0x5177aa
mov edi, dword [esp + 0x54]
mov eax, ecx
mov ebx, dword [esp + 0x84]
add ecx, 0x14
mov ax, word [eax + 0x10]
mov word [esi + 0xc], ax
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x18]
jmp 0x514043
mov eax, dword [ecx + 0xc]
mov ebx, dword [esp + 0x20]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x24
lea esi, [ebx + eax*8]
jne 0x517348
mov ecx, 0xa
lea edi, [esp + 0x248]
rep movsd dword es:[edi], dword [esi]
mov ax, word [esp + 0x250]
test al, 4
jne 0x517330
test al, 8
jne 0x517310
test al, 2
je 0x517328
lea eax, [esp + 0x248]
push 1
push eax
call fcn.004a28d0
add esp, 8
jmp 0x517320
lea eax, [esp + 0x248]
push eax
call fcn.0051b740
add esp, 4
mov ax, word [esp + 0x250]
test al, 4
je 0x5140a7
mov ebx, dword [esp + 0x248]
mov edx, dword [esp + 0x24c]
mov edi, dword [esp + 0x54]
jmp 0x517359
mov ebx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
mov ebx, dword [ebx + eax*8]
mov edx, dword [ecx + eax*8 + 4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov dword [esp + 0xe0], 0
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x68]
mov esi, dword [eax + ecx*4]
lea eax, [esp + 0xe0]
push eax
push 0
push edx
push ebx
push dword [esi + 0x2c]
call fcn.004e4b40
mov edx, eax
mov dword [esi + 0x40], ebx
mov eax, dword [esp + 0x38]
add esp, 0x14
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x1c], edx
mov word [esi + 2], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], eax
test eax, eax
je 0x514e56
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 8], 0
jne 0x5140ab
push 0x16952
call fcn.004e7f40
add esp, 4
jmp 0x514e50
mov ebx, dword [esp + 0x14]
push ebx
push esi
call fcn.004d0c40
mov edx, dword [ebx + 4]
add esp, 8
mov ecx, dword [esi + 0x68]
mov edi, dword [esp + 0x54]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0x18]
mov dword [eax], ecx
mov ecx, dword [edx + 0x1c]
mov dword [eax + 4], ecx
mov eax, ebx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + ecx*4]
mov ecx, ebx
mov ebx, dword [esp + 0x84]
add dword [eax + 0x18], 1
adc dword [eax + 0x1c], 0
add ecx, 0x14
mov eax, dword [esp + 0x18]
jmp 0x514043
mov ebx, dword [esp + 0x14]
xor esi, esi
push ebx
push dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x9c], esi
call fcn.004d0c40
mov edx, dword [ebx + 4]
add esp, 8
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov ebx, dword [ecx + edx*4]
mov dword [esp + 0x2c], ebx
test byte [ebx + 8], 2
jne 0x5174d8
lea eax, [esp + 0x94]
push eax
push dword [ebx + 0x2c]
call fcn.004e3930
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f1
cmp dword [esp + 0x94], esi
je 0x51749e
lea edi, [esi + 1]
jmp 0x5174d0
push dword [ebx + 0x2c]
call fcn.004e33e0
mov esi, edx
add esp, 4
mov dword [esp + 0x7c], esi
mov edi, eax
mov dword [esp + 0x78], edi
cmp esi, 0x7fffffff
jl 0x5174ca
jg 0x5174c4
cmp edi, 0xffffffff
jb 0x5174ca
or dword [ebx + 8], 2
jmp 0x5174d8
add edi, 1
adc esi, 0
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x517570
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xd8]
test edx, edx
je 0x517514
mov eax, dword [edx + 4]
test eax, eax
je 0x517509
jmp 0x517500
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x517500
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*8]
jmp 0x51751e
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x20]
lea ebx, [ecx + eax*8]
push ebx
call fcn.0051c5c0
mov eax, dword [ebx]
add esp, 4
mov ecx, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x51753d
cmp ecx, 0x7fffffff
je 0x5175e8
mov edx, dword [esp + 0x2c]
test byte [edx + 8], 2
jne 0x5175e8
add eax, 1
adc ecx, 0
cmp esi, ecx
jg 0x517567
jl 0x51755b
cmp edi, eax
jae 0x517567
mov edi, eax
mov esi, ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], esi
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov ebx, dword [esp + 0x2c]
test byte [ebx + 8], 2
je 0x517614
xor ebx, ebx
lea esp, [esp]
lea eax, [esp + 0x78]
push eax
push 8
call fcn.00492070
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x9c]
mov edi, dword [esp + 0x80]
and esi, 0x3fffffff
push eax
mov eax, dword [esp + 0x38]
add edi, 1
push 0
adc esi, 0
mov dword [esp + 0x88], edi
push esi
push edi
push dword [eax + 0x2c]
mov dword [esp + 0x98], esi
call fcn.004e4b40
mov edx, eax
add esp, 0x1c
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f1
cmp dword [esp + 0x94], eax
jne 0x517610
inc ebx
cmp ebx, 0x64
jl 0x517580
mov edx, 0xd
mov dword [esp + 0x1c], edx
mov edi, dword [esp + 0x54]
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x14]
cmp byte [edi + 0x57], 0
je 0x51a269
mov edx, 7
jmp 0x51a294
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
mov byte [ebx + 3], 0
mov dword [ebx + 0x20], 0
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x5177a6
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov esi, dword [eax + ecx*4]
mov ecx, ebx
mov ebx, dword [esp + 0x20]
cmp byte [ecx + 1], 0xfa
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov ebx, dword [ebx + eax*8]
mov dword [esp + 0x228], ebx
mov eax, dword [edi + eax*8 + 4]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov dword [esp + 0x22c], eax
jne 0x51769d
cmp dword [edi + 0xfc], 0
je 0x51769d
movsx ecx, byte [esi + 1]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov ecx, dword [eax + ecx*8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
jmp 0x5176ad
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test byte [ecx + 2], 1
je 0x5176c2
mov edi, dword [ebp + 8]
add dword [edi + 0x30], 1
adc dword [edi + 0x34], 0
mov edi, dword [esp + 0x54]
test byte [ecx + 2], 0x20
je 0x5176ce
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], eax
mov ebx, dword [esp + 0x20]
movzx ecx, word [ecx + 2]
mov eax, dword [ebx + edx*8 + 0x10]
mov dword [esp + 0x230], eax
mov eax, dword [ebx + edx*8 + 0xc]
mov dword [esp + 0x23c], eax
test cl, 0x10
je 0x5176f6
mov ebx, dword [esi + 0x24]
jmp 0x5176f8
xor ebx, ebx
mov eax, dword [esp + 0x20]
mov edi, 0x4000
test word [eax + edx*8 + 8], di
mov edi, dword [esp + 0x54]
je 0x517718
mov eax, dword [eax + edx*8]
mov dword [esp + 0x240], eax
jmp 0x517723
mov dword [esp + 0x240], 0
push ebx
and ecx, 0x8a
mov dword [esp + 0x224], 0
push ecx
lea eax, [esp + 0x228]
push eax
push dword [esi + 0x2c]
call fcn.004e2ea0
mov edx, eax
mov byte [esi + 3], 0
add esp, 0x10
mov dword [esp + 0x1c], edx
mov dword [esi + 0x20], 0
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5177a6
push dword [esp + 0x22c]
push dword [esp + 0x22c]
push dword [eax]
mov eax, dword [esp + 0x20]
push dword [esp + 0x34]
mov al, byte [eax + 2]
and al, 4
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
add eax, 0x12
push eax
push dword [edi + 0xf8]
mov eax, dword [edi + 0xfc]
call eax
add esp, 0x18
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
add ecx, 0x14
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 0x68]
mov eax, dword [ebx + 4]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebx + 8]
mov esi, dword [ecx + eax*4]
mov eax, ebx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5177f0
mov ebx, dword [esp + 0x20]
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8]
mov eax, dword [ebx + eax*8 + 4]
jmp 0x5177f4
xor ecx, ecx
xor eax, eax
push eax
push ecx
push dword [esi + 0x2c]
push dword [edx + 0x2c]
call fcn.004e4e40
add esp, 0x10
jmp 0x514e50
mov edx, dword [esp + 0x14]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x68]
mov esi, dword [eax + ecx*4]
jne 0x517862
cmp dword [edi + 0xfc], 0
je 0x517862
movsx ecx, byte [esi + 1]
mov eax, dword [edi + 0x10]
add ecx, ecx
test byte [edx + 2], 2
mov ebx, dword [edx + 0x10]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x24], eax
je 0x51786c
cmp byte [esi + 4], 0
je 0x51786c
push dword [esi + 0x2c]
call fcn.004e33e0
mov dword [esi + 0x44], edx
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [esi + 0x40], eax
jmp 0x51786c
mov dword [esp + 0x24], 0
xor ebx, ebx
movzx eax, byte [edx + 2]
push eax
push dword [esi + 0x2c]
call fcn.004e2350
mov edx, eax
mov dword [esi + 0x20], 0
add esp, 8
mov dword [esp + 0x1c], edx
mov dword [esi + 0x24], 0
test edx, edx
jne 0x5175f5
test byte [esp + 0x48], 1
je 0x5177a6
mov eax, dword [ebp + 8]
add dword [eax + 0x30], 1
adc dword [eax + 0x34], edx
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x5177a6
test ebx, ebx
je 0x5177a6
test byte [ebx + 0x1c], 0x80
jne 0x5177a6
push dword [esi + 0x44]
push dword [esi + 0x40]
push dword [ebx]
push dword [esp + 0x30]
push 9
push dword [edi + 0xf8]
jmp 0x5177a1
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
add dword [edi + 0x70], eax
mov ebx, dword [esp + 0x84]
adc dword [edi + 0x74], ecx
mov dword [edi + 0x6c], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x68], eax
add ecx, 0x14
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
jmp 0x514043
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xdc], 0
mov ecx, dword [edx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
lea ebx, [esp + 0xdc]
push ebx
push dword [edx + 0x10]
push eax
push ecx
call fcn.0051e3a0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0xdc], eax
jne 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov ecx, dword [ebx + 4]
mov eax, dword [esi + 0x68]
push edx
push dword [eax + ecx*4]
call fcn.0051e940
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov edi, dword [esp + 0x54]
mov eax, ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + ecx*4]
mov ecx, ebx
mov ebx, dword [esp + 0x84]
add ecx, 0x14
mov dword [eax + 0x20], edx
mov eax, dword [esp + 0x18]
jmp 0x514043
mov ebx, dword [esp + 0x14]
push ebx
push esi
call fcn.004d0c40
mov edx, dword [ebx + 4]
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov ecx, dword [ecx + edx*4]
mov ebx, dword [ecx + 0x2c]
push ebx
call fcn.004c6650
mov eax, dword [ebx + 0x2c]
add esp, 0xc
cmp eax, dword [edi + 0x78]
ja 0x519fec
push esi
push eax
push ebx
call fcn.0051c350
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xc], eax
jne 0x5177aa
mov eax, 0x1000
test word [esi + 8], ax
je 0x5177aa
push esi
call fcn.0051c620
mov esi, dword [ebp + 8]
add esp, 4
test eax, eax
jne 0x51a247
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
push dword [esp + 0x14]
push esi
call fcn.004d0c40
mov ecx, dword [esp + 0x1c]
add esp, 8
mov ebx, eax
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x68]
mov esi, dword [ecx + edx*4]
cmp byte [esi + 2], 0
je 0x517aae
mov eax, 1
mov word [ebx + 8], ax
jmp 0x5177a6
cmp byte [esi + 3], 0
je 0x517af2
mov ecx, dword [esi + 0x40]
mov edi, dword [esp + 0x54]
mov dword [esp + 0xb8], ecx
mov eax, dword [esi + 0x44]
mov esi, dword [ebp + 8]
mov dword [esp + 0xbc], eax
mov dword [ebx], ecx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 4], eax
add ecx, 0x14
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
jmp 0x514043
cmp byte [esi], 2
jne 0x517b57
mov ecx, dword [esi + 0x2c]
lea edx, [esp + 0xb8]
push edx
push ecx
mov esi, dword [ecx]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [esp + 0x2c], eax
call fcn.0051fb10
mov edx, dword [esp + 0x2c]
add esp, 0x10
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0xb8]
mov edi, dword [esp + 0x54]
mov dword [ebx], ecx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 4], eax
add ecx, 0x14
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
jmp 0x514043
push esi
call fcn.005138f0
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
cmp byte [esi + 2], al
je 0x517b81
mov eax, 1
mov word [ebx + 8], ax
jmp 0x5177a6
push dword [esi + 0x2c]
call fcn.004e33e0
mov esi, dword [ebp + 8]
mov ecx, eax
mov edi, dword [esp + 0x58]
add esp, 4
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [ebx], ecx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 4], eax
add ecx, 0x14
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 0
mov byte [eax + 2], 1
mov dword [eax + 0x20], 0
jne 0x5142b1
push dword [eax + 0x2c]
call fcn.004e1a80
mov ecx, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov eax, dword [esi + 0x68]
mov ecx, dword [ecx + 4]
mov dword [esp + 0xc4], 0
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x2c]
cmp dl, 0x88
jne 0x517c35
mov dword [esi + 0x24], 0xffffffff
cmp byte [eax], 0
je 0x5177a6
lea ecx, [esp + 0xc4]
push ecx
push eax
call fcn.004e3930
mov edx, eax
mov byte [esi + 3], 0
mov eax, dword [esp + 0xcc]
add esp, 8
mov dword [esp + 0x1c], edx
mov byte [esi + 2], al
mov dword [esi + 0x20], 0
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 8], edx
jle 0x5177aa
mov esi, dword [ebp + 8]
test eax, eax
jne 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x2c]
lea eax, [esp + 0xc8]
push eax
push esi
call fcn.004e2830
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
cmp dword [esp + 0xc8], eax
jne 0x5140a7
push esi
call fcn.004e4580
add esp, 4
test edx, edx
jl 0x519aa2
jg 0x517cef
test eax, eax
jb 0x5177a6
push edx
push eax
call fcn.004ffe50
mov ecx, dword [esp + 0x1c]
add esp, 8
cwde
cmp eax, dword [ecx + 0xc]
jge 0x5177aa
mov dword [esp + 0xc8], 1
jmp 0x5140ab
inc dword [esi + 0xb4]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov dword [esp + 0xa0], 1
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
lea eax, [esp + 0xa0]
push eax
cmp byte [esi], 1
jne 0x517d4a
push esi
call fcn.0051e8d0
jmp 0x517d5d
push dword [esi + 0x2c]
call fcn.004e2830
mov byte [esi + 3], 0
mov dword [esi + 0x20], 0
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x14]
mov byte [esi + 2], al
mov esi, dword [ebp + 8]
test eax, eax
jne 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
push esi
push edi
call fcn.0051e670
jmp 0x517dcc
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
push dword [edx + 0xc]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx + 0x10]
push dword [esi + 0x2c]
call eax
mov edx, eax
mov dword [esi + 0x20], 0
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x517dfa
mov byte [esi + 2], al
mov eax, dword [esp + 0x14]
mov esi, dword [ebp + 8]
movzx eax, word [eax + 2]
inc dword [esi + eax*4 + 0xac]
jmp 0x51973b
cmp edx, 0x65
jne 0x5175f5
mov dword [esp + 0x1c], 0
mov byte [esi + 2], 1
jmp 0x5161d5
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
mov ebx, dword [eax + ecx*4]
mov ecx, edx
mov edx, dword [esp + 0x20]
test byte [ecx + 2], 1
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
je 0x517e41
mov eax, dword [ebp + 8]
add dword [eax + 0x30], 1
adc dword [eax + 0x34], 0
mov eax, 0x4000
test word [esi + 8], ax
je 0x517e67
push esi
call fcn.0051c160
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
cdq
mov dword [esp + 0x2a0], eax
mov dword [esp + 0x2a4], edx
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x298], eax
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esp + 0x2ac], eax
mov ax, word [ecx + 0x10]
mov word [esp + 0x2b0], ax
movzx eax, word [ecx + 2]
test al, 0x10
je 0x517eb0
mov ecx, dword [ebx + 0x24]
jmp 0x517eb2
xor ecx, ecx
push ecx
and eax, 0x8a
push eax
lea eax, [esp + 0x2a0]
push eax
push dword [ebx + 0x2c]
call fcn.004e2ea0
add esp, 0x10
mov dword [ebx + 0x20], 0
jmp 0x514e50
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x517f14
push esi
call fcn.0051c160
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
push esi
push ebx
call fcn.0051e9f0
add esp, 8
jmp 0x514e50
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x30]
mov ebx, dword [esi + 0x2c]
mov dword [esp + 0x1e0], eax
mov ax, word [edx + 0xc]
mov word [esp + 0x1e8], ax
mov eax, dword [edx + 8]
mov byte [esp + 0x1ea], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x1e4], eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x1e4]
push eax
push ebx
call fcn.004e2ad0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
cmp dword [esp + 0x10c], eax
jne 0x517fb0
push 4
push ebx
call fcn.004e2350
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
jmp 0x517fcc
mov ecx, dword [esp + 0x14]
cmp word [ecx + 2], 0
je 0x517fd0
push edi
call fcn.00528730
add esp, 4
test eax, eax
je 0x519ede
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov esi, dword [ebp + 8]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
push esi
call fcn.005138f0
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
cmp byte [esi + 2], al
jne 0x5180d1
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xb0]
push eax
push dword [esi + 0x2c]
push edi
call fcn.0051b590
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0x14]
cmp byte [eax], 0x8c
jne 0x518096
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x68]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0xb0]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0xb4]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x14]
mov word [ecx + 2], 0x100
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x28], esi
jmp 0x5177a6
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.004d0c40
mov ecx, dword [esp + 0xb8]
add esp, 8
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
jmp 0x514043
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.0051c8c0
add esp, 4
jmp 0x5177a6
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 3], 0
je 0x5142b1
push eax
call fcn.0051ad80
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov ebx, dword [esp + 0x14]
cmp dl, 0x29
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x30]
mov esi, dword [ecx + 0x2c]
mov dword [esp + 0x200], eax
mov ax, word [ebx + 0x10]
mov word [esp + 0x208], ax
sbb al, al
mov byte [esp + 0x20a], al
mov eax, ebx
push esi
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esp + 0x208], eax
call fcn.004c6650
mov eax, dword [esi + 0x2c]
add esp, 4
xor ecx, ecx
jl 0x519f00
jg 0x51819b
test eax, eax
je 0x519f00
test ecx, ecx
jg 0x519f00
jl 0x5181b0
cmp eax, 0x7fffffff
ja 0x519f00
xor ecx, ecx
mov dword [esp + 0x290], edi
mov word [esp + 0x278], cx
mov dword [esp + 0x288], ecx
lea ecx, [esp + 0x270]
push ecx
push eax
push esi
call fcn.0051c350
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
push eax
lea eax, [esp + 0x204]
push eax
push dword [esp + 0x288]
push dword [esp + 0x288]
call fcn.0051d730
mov esi, eax
lea eax, [esp + 0x280]
push eax
call fcn.0051c7f0
mov ecx, dword [esp + 0x28]
add esp, 0x14
test byte [ecx], 1
je 0x518223
neg esi
jmp 0x518224
inc esi
test esi, esi
mov esi, dword [ebp + 8]
jg 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
push dword [esp + 0x14]
push esi
call fcn.004d0c40
mov esi, eax
add esp, 8
mov eax, 1
mov word [esi + 8], ax
mov ecx, dword [edi + 0xcc]
inc ecx
cmp dword [edi + 0xc0], ecx
jg 0x519f18
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0xc4], 0
mov ebx, dword [eax + 0xc]
mov ecx, ebx
push dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004e2760
mov ecx, dword [esp + 0xcc]
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, 4
mov word [esi + 8], ax
mov eax, ecx
cdq
mov dword [esi + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [esi], eax
test edx, edx
jne 0x5175f5
test ecx, ecx
je 0x5177a6
mov eax, dword [esp + 0x14]
push dword [eax + 4]
push ecx
push ebx
push edi
call fcn.00509020
mov al, bl
add esp, 0x10
inc al
mov byte [esp + 0x67], al
jmp 0x5177a6
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xd0]
push eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0xd4], 0
mov ecx, dword [edx + 8]
push dword [edx + 4]
add ecx, ecx
mov dword [esp + 0xdc], 0
push dword [eax + ecx*8 + 4]
call fcn.004e1aa0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, eax
mov dword [esp + 0x1c], edx
cmp dword [ecx + 0xc], 0
je 0x518373
mov edx, dword [esp + 0xd0]
add dword [esi + 0x30], edx
mov eax, dword [esp + 0xd4]
adc dword [esi + 0x34], eax
mov eax, ecx
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x51836b
mov ebx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
add dword [ebx + ecx*8], edx
mov eax, dword [esp + 0xd4]
adc dword [ebx + ecx*8 + 4], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 1
jne 0x5183cb
push dword [eax + 0x2c]
push edi
call fcn.0051e700
mov ecx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov eax, dword [eax + 0x2c]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.004e1aa0
jmp 0x516c40
push dword [esp + 0x14]
push esi
call fcn.004d0c40
mov esi, eax
mov dword [esp + 0xd4], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
push dword [eax + 0xc]
shl ecx, 4
lea eax, [esp + 0xd8]
add ecx, dword [edi + 0x10]
push eax
push dword [ecx + 4]
call fcn.004e21b0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0xcc]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x5177a6
mov edx, dword [esp + 0x14]
inc byte [edi + 0x60]
push 0
push 0
push 0
push dword [edx + 0x10]
push edi
call fcn.0048d190
add esp, 0x14
dec byte [edi + 0x60]
jmp 0x516c43
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 4]
mov edx, dword [edx + 0x10]
test edx, edx
jne 0x5184b1
mov eax, dword [edi + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.00509df0
mov eax, dword [esp + 0x18]
and dword [edi + 0x18], 0xffffffef
movzx eax, word [eax + 2]
push eax
mov eax, dword [ebp + 8]
add eax, 0x84
push eax
push esi
push edi
call fcn.004fcdc0
mov esi, dword [ebp + 8]
mov edx, eax
or dword [edi + 0x18], 1
add esp, 0x14
mov dword [esp + 0x1c], edx
and dword [esi + 0xa0], 0xfffffffc
jmp 0x51858f
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp + 8]
mov dword [esp + 0x17c], esi
add eax, 0x84
add esi, esi
mov dword [esp + 0x174], edi
mov dword [esp + 0x178], eax
mov dword [esp + 0x184], 0
push edx
mov eax, dword [ecx + esi*8 + 4]
push str.sqlite_master
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x194], eax
push dword [ecx + esi*8]
push str.SELECTFROM__w_._s_WHERE__s_ORDER_BY_rowid
push edi
call fcn.005000e0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x519f30
push 0
lea eax, [esp + 0x178]
mov byte [edi + 0xb1], 1
push eax
push fcn.004fcbc0
push esi
push edi
mov dword [esp + 0x194], 0
mov dword [esp + 0x19c], 0
call fcn.0048d190
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x518577
mov eax, dword [esp + 0x180]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x518577
cmp dword [esp + 0x188], eax
jne 0x518577
push 0x16f3a
call fcn.004e7f40
add esp, 4
mov dword [esp + 0x1c], eax
push esi
push edi
call fcn.004e9770
mov edx, dword [esp + 0x24]
add esp, 8
mov esi, dword [ebp + 8]
mov byte [edi + 0xb1], 0
test edx, edx
jne 0x519f38
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
push dword [edx + 4]
push edi
call fcn.004df7f0
add esp, 8
jmp 0x516c43
mov edx, dword [esp + 0x14]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.0050f550
jmp 0x5146fe
mov edx, dword [esp + 0x14]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.0050f4b0
jmp 0x5146fe
mov edx, dword [esp + 0x14]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.0050f5c0
jmp 0x5146fe
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
lea esi, [eax + eax*4]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
lea eax, [esp + 0x110]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + esi*8]
inc eax
push eax
push dword [edx + 8]
lea eax, [ecx + 4]
movzx ecx, word [edx + 2]
push eax
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
push edi
call fcn.004e3400
push ebx
mov dword [esp + 0x64], eax
call fcn.0051c8c0
mov eax, dword [esp + 0x12c]
add esp, 0x1c
test eax, eax
je 0x518697
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x51a244
mov edi, dword [esp + 0x20]
dec eax
push fcn.00491ac0
push 1
cdq
sub dword [edi + esi*8], eax
mov eax, edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
sbb dword [eax + esi*8 + 4], edx
push ebx
call fcn.0051c990
mov edi, dword [esp + 0x6c]
add esp, 0x18
movzx eax, byte [esp + 0x50]
push eax
push ebx
call fcn.00513190
add esp, 8
jmp 0x5161d5
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea ebx, [eax + eax*4]
jne 0x5186da
push esi
call fcn.0051c940
add esp, 4
test eax, eax
jne 0x51a244
mov edi, dword [esp + 0x20]
push dword [edi + ebx*8 + 4]
push dword [edi + ebx*8]
push dword [esi + 0x10]
call fcn.00509230
add esp, 0xc
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x10
lea esi, [ebx + eax*8]
je 0x51874d
lea eax, [esp + 0x138]
push eax
push dword [esi + 0x10]
call fcn.005092c0
add esp, 8
test eax, eax
je 0x51874d
mov eax, dword [esp + 0x14]
push dword [esp + 0x13c]
push dword [esp + 0x13c]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.0051c880
add esp, 0xc
jmp 0x5161d5
push esi
call fcn.0051c8c0
mov esi, dword [ebp + 8]
add esp, 4
jmp 0x51973b
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea ebx, [eax + eax*4]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x24], eax
jne 0x518798
push esi
call fcn.0051c940
add esp, 4
test eax, eax
jne 0x51a244
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
test eax, eax
je 0x5187c1
push dword [edi + ebx*8 + 4]
push dword [edi + ebx*8]
push eax
push dword [esi + 0x10]
call fcn.00509320
add esp, 0x10
test eax, eax
jne 0x5140a7
mov eax, dword [esp + 0x24]
test eax, eax
js 0x5177a6
jmp 0x5186de
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
mov dword [esp + 0x38], esi
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
cmp word [eax + 2], 0
je 0x518815
mov eax, dword [edx + 0xd8]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x518811
cmp dword [eax + 0x1c], ecx
je 0x519c96
mov eax, dword [eax + 4]
test eax, eax
jne 0x518801
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + 0xe0]
cmp eax, dword [edi + 0xa0]
jge 0x519f53
test byte [ecx + 8], 0x10
jne 0x5189ea
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 8]
add esi, ecx
test ecx, ecx
jne 0x51883e
inc esi
lea eax, [esi + esi*4]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx*4]
add eax, 0x58
mov dword [esp + 0x48], eax
cdq
push edx
push eax
push edi
call fcn.004e9970
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x51a244
push dword [esp + 0x2c]
call fcn.0051c7f0
mov ecx, dword [esp + 0x30]
mov eax, 0x410
mov edx, dword [esp + 0x18]
add esp, 4
sub edx, dword [esp + 0x44]
mov word [ecx + 8], ax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x24], 0x51af50
mov ecx, dword [esp + 0x38]
mov dword [ebx], eax
mov dword [ebx + 0x3c], esi
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x40], eax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov eax, dword [edx + 0x60]
mov dword [ebx + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x38], eax
mov eax, dword [edx + 0x68]
mov dword [ebx + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edx + 0x70]
mov dword [ebx + 8], eax
mov eax, dword [edx + 0x74]
mov dword [ebx + 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x1c], eax
lea eax, [esi*4 + 0xb]
add eax, esi
lea ecx, [ebx + eax*8]
lea eax, [ebx + 0x58]
cmp eax, ecx
je 0x518922
mov esi, pe_nt_image_headers32
mov word [eax + 8], si
mov dword [eax + 0x20], edi
add eax, 0x28
cmp eax, ecx
jne 0x518914
mov esi, dword [esp + 0x38]
inc dword [edx + 0xe0]
mov eax, dword [edx + 0xd8]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x24], eax
mov eax, dword [edx + 0x30]
mov dword [ebx + 0x48], eax
mov eax, dword [edx + 0x34]
mov dword [ebx + 0x4c], eax
mov ecx, dword [edx]
mov eax, dword [ecx + 0x68]
mov dword [ebx + 0x50], eax
mov eax, dword [ecx + 0x6c]
lea ecx, [ebx + 0x58]
mov dword [ebx + 0x54], eax
mov eax, dword [edx + 0xec]
mov dword [ebx + 0x28], eax
mov dword [edx + 0x60], ecx
mov dword [edx + 0xec], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0xd8], ebx
mov eax, dword [ebx + 0x3c]
mov dword [edx + 0x18], eax
movzx eax, word [ebx + 0x40]
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x20], ecx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov dword [edx + 0x68], ecx
mov eax, dword [esi + 0xc]
lea ecx, [ecx + eax*4]
mov dword [ebx + 0x18], ecx
mov eax, dword [esi + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov ebx, dword [esi]
mov dword [esp + 0x44], ebx
mov dword [eax + 0x70], ebx
mov eax, dword [esi + 4]
lea ecx, [ebx - 0x14]
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov dword [esi + 0x74], eax
jmp 0x5161dc
mov ebx, dword [ecx + 0x10]
jmp 0x518926
push dword [esp + 0x14]
push esi
call fcn.004d0c40
mov esi, eax
mov eax, dword [ebp + 8]
push 0x1000
mov eax, dword [eax + 0xd8]
mov ecx, dword [eax + 0x30]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [ecx + edx*4 + 4]
mov edx, dword [esp + 0x20]
add ecx, dword [edx + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
push eax
push esi
call fcn.0051cc90
add esp, 0x14
jmp 0x5177a6
mov eax, dword [edi + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [esp + 0x14]
je 0x518a74
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x84]
cdq
add dword [edi + 0x208], eax
mov eax, dword [esp + 0x18]
adc dword [edi + 0x20c], edx
add ecx, 0x14
mov edi, dword [esp + 0x54]
jmp 0x514043
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x14]
cdq
je 0x518aa5
add dword [edi + 0x200], eax
mov eax, dword [esp + 0x18]
adc dword [edi + 0x204], edx
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
add dword [esi + 0x48], eax
mov eax, dword [esp + 0x18]
adc dword [esi + 0x4c], edx
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
cmp dword [ecx + 4], 0
je 0x518b03
mov eax, dword [edi + 0x200]
or eax, dword [edi + 0x204]
jne 0x5177ad
mov eax, dword [edi + 0x208]
or eax, dword [edi + 0x20c]
je 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov eax, dword [esi + 0x48]
or eax, dword [esi + 0x4c]
jmp 0x518ad4
mov edx, dword [esi + 0xd8]
test edx, edx
je 0x518b3f
mov eax, dword [edx + 4]
test eax, eax
je 0x518b29
lea esp, [esp]
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x518b20
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea edi, [eax + ecx*8]
jmp 0x518b50
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
push edi
call fcn.0051c5c0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.0051c5c0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x5177a6
jl 0x518b84
cmp dword [edi], eax
jae 0x5177a6
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x5177a6
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edi + 4]
lea esi, [eax + eax*4]
mov edi, dword [ebx + esi*8 + 4]
mov ecx, dword [ebx + esi*8]
test edi, edi
jl 0x5177a6
jg 0x518bb5
test ecx, ecx
je 0x5177a6
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
cdq
sub ecx, eax
mov dword [ebx + esi*8], ecx
sbb edi, edx
mov dword [ebx + esi*8 + 4], edi
jmp 0x5140a7
mov edx, dword [esp + 0x14]
push edx
push dword [ebp + 8]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, dword [edx + 0xc]
lea ebx, [eax + eax*4]
call fcn.004d0c40
mov edx, dword [esp + 0x28]
add esp, 8
mov edi, eax
mov ecx, dword [edx + esi*8 + 4]
mov eax, dword [edx + esi*8]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
test ecx, ecx
jl 0x518c51
jg 0x518c0e
test eax, eax
je 0x518c51
mov ecx, dword [edx + ebx*8 + 4]
mov eax, dword [edx + ebx*8]
test ecx, ecx
jl 0x518c1f
jg 0x518c23
test eax, eax
jne 0x518c23
xor eax, eax
xor ecx, ecx
push ecx
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.004de300
add esp, 0xc
test eax, eax
jne 0x518c51
mov eax, dword [esp + 0xe8]
mov dword [edi], eax
mov eax, dword [esp + 0xec]
mov dword [edi + 4], eax
jmp 0x5177a6
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov ecx, dword [ebx + esi*8]
mov eax, ecx
mov edx, dword [ebx + esi*8 + 4]
or eax, edx
je 0x5177a6
test edx, edx
jl 0x5140a7
jg 0x518c94
test ecx, ecx
je 0x5140a7
sub ecx, 1
mov dword [ebx + esi*8], ecx
sbb edx, 0
jmp 0x5140a3
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov edx, dword [ebx + ecx*8 + 4]
mov eax, dword [ebx + ecx*8]
cmp edx, 0x80000000
jl 0x518cd2
jg 0x518cc5
test eax, eax
je 0x518cd2
sub eax, 1
mov dword [ebx + ecx*8], eax
sbb edx, 0
mov dword [ebx + ecx*8 + 4], edx
mov eax, dword [ebx + ecx*8]
or eax, dword [ebx + ecx*8 + 4]
mov ecx, dword [esp + 0x14]
je 0x5140ae
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x44]
push eax
push edi
call fcn.004e9850
mov esi, eax
add esp, 0xc
test esi, esi
je 0x51a244
mov dword [esi + 8], 0
lea ecx, [ebx + 7]
lea ecx, [esi + ecx*4]
mov eax, 1
mov dword [esi], ecx
mov word [ecx + 8], ax
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x18], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10]
sub ecx, dword [esp + 0x44]
mov dword [esi + 4], eax
mov eax, 0x66666667
imul ecx
mov byte [esi + 0x18], 0
sar edx, 3
mov eax, edx
mov dword [esi + 0x14], 0
shr eax, 0x1f
add eax, edx
mov byte [esi + 0x19], bl
mov edx, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov word [edx], 0xf0a2
mov dword [edx + 0x10], esi
jmp 0x518d89
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x20]
mov esi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov dword [esp + 0x48], ebx
cmp dword [esi + 8], ebx
je 0x518de0
movzx ecx, byte [esi + 0x19]
dec ecx
mov dword [esi + 8], ebx
js 0x518de0
mov edi, dword [esp + 0x14]
lea edx, [ecx + 7]
mov ebx, dword [esp + 0x20]
lea edx, [esi + edx*4]
lea ebx, [ebx]
mov eax, dword [edi + 8]
lea edx, [edx - 4]
add eax, ecx
dec ecx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx + 4], eax
jns 0x518dc0
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
inc dword [ebx + 0xc]
lea eax, [esi + 0x1c]
cmp dword [edx + 4], 0
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
push esi
je 0x518dfb
mov eax, dword [ecx + 0x1c]
jmp 0x518dfe
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x519aa2
jle 0x518e2f
push dword [esi]
call fcn.00488d40
push eax
push 0x5729a4
push dword [ebp + 8]
call fcn.00513f40
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [esp + 0x1c], eax
cmp byte [esi + 0x18], 0
je 0x518e5b
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0x10]
test eax, eax
je 0x518e57
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
push 0
push 1
lea eax, [ecx + eax*8]
push eax
call fcn.0051c880
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.0051c7f0
mov eax, dword [esi]
mov ecx, 1
mov edx, dword [esp + 0x20]
add esp, 4
mov word [eax + 8], cx
mov dword [esi + 0x14], 0
test edx, edx
jne 0x5175f5
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push dword [edx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x518ec8
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
push esi
call fcn.0051bf50
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
jmp 0x518ed3
push esi
call fcn.0051c1c0
add esp, 8
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x519f73
movzx eax, byte [esp + 0x50]
push eax
push esi
call fcn.00513190
push esi
call fcn.0051cd90
mov esi, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x519fef
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x100]
mov dword [esp + 0xfc], 0
push eax
push dword [edx + 8]
mov dword [esp + 0x10c], 0xffffffff
push dword [edx + 4]
mov dword [esp + 0x10c], 0xffffffff
push edi
call fcn.004e5630
mov edx, eax
add esp, 0x14
mov dword [esp + 0x1c], edx
test edx, edx
je 0x518f84
cmp edx, 5
jne 0x5175f5
mov dword [esp + 0x1c], 0
mov dword [esp + 0xf8], 1
mov eax, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [esp + esi*4 + 0xf8]
cdq
push edx
push eax
push edi
call fcn.0051c880
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x518f97
jmp 0x5177a6
mov ebx, dword [esp + 0x14]
push ebx
push esi
call fcn.004d0c40
mov edx, dword [ebx + 4]
add esp, 8
mov ecx, dword [edi + 0x10]
add edx, edx
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + edx*8 + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [eax + 4]
mov ebx, dword [ecx]
movzx ecx, byte [ebx + 5]
mov dword [esp + 0x34], ecx
cmp esi, 0xffffffff
jne 0x518ff1
mov esi, ecx
cmp byte [ebx + 0x11], 3
jae 0x51900d
mov eax, dword [ebx + 0x44]
cmp dword [eax], 0
je 0x51900f
cmp dword [ebx + 0x54], 0
jl 0x51900f
jg 0x51900d
cmp dword [ebx + 0x50], 0
jbe 0x51900f
mov esi, ecx
cmp byte [ebx + 0xf], 0
mov eax, 0x56be40
jne 0x519020
mov eax, dword [ebx + 0xb8]
cmp esi, 5
jne 0x51904e
push eax
call fcn.0050e4d0
add esp, 4
test eax, eax
je 0x51903f
push ebx
call fcn.005033c0
add esp, 4
test eax, eax
jne 0x51904a
mov eax, dword [esp + 0x34]
mov esi, eax
jmp 0x5190cc
mov ecx, dword [esp + 0x34]
cmp esi, ecx
je 0x5190c8
cmp ecx, 5
je 0x51905c
cmp esi, 5
jne 0x5190c8
cmp byte [edi + 0x55], 0
je 0x519f94
cmp dword [edi + 0xc0], 1
jg 0x519f94
cmp ecx, 5
jne 0x519096
push edi
push ebx
call fcn.00501b50
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x5190d6
push esi
push ebx
call fcn.00502d80
add esp, 8
jmp 0x5190ae
cmp ecx, 4
jne 0x5190a6
push 2
push ebx
call fcn.00502d80
add esp, 8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x5190d6
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [esp + 0x4c]
call fcn.004e4ab0
add esp, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5190dc
jmp 0x5190da
mov eax, dword [esp + 0x34]
mov esi, eax
push esi
push ebx
call fcn.00502d80
mov ebx, dword [esp + 0x2c]
add esp, 8
mov ecx, 0xa02
mov word [ebx + 8], cx
cmp eax, 6
jne 0x5190fc
xor eax, eax
jmp 0x519103
mov eax, dword [eax*4 + 0x56b524]
push eax
mov dword [ebx + 0x10], eax
call fcn.0050e4d0
mov dword [ebx + 0xc], eax
movzx eax, byte [esp + 0x54]
push eax
push ebx
mov byte [ebx + 0xa], 1
call fcn.00513190
mov edx, dword [esp + 0x28]
add esp, 0xc
test edx, edx
jne 0x5175f5
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
test eax, eax
je 0x51914a
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
jmp 0x51914c
xor eax, eax
push eax
push dword [edx + 4]
lea eax, [esi + 0x84]
push edi
push eax
call fcn.00509860
add esp, 0x10
jmp 0x516c43
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004e29c0
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
test edx, edx
je 0x519aa5
cmp edx, 0x65
jne 0x5175f5
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
jmp 0x5140ae
cmp dword [ecx + 4], 0
jne 0x5191d2
push dword [ecx + 8]
push edi
call fcn.004ec0c0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov eax, dword [ecx + 8]
mov edi, dword [esp + 0x54]
inc eax
xor eax, dword [esi + 0xa0]
mov ebx, dword [esp + 0x84]
and eax, 3
xor dword [esi + 0xa0], eax
add ecx, 0x14
mov eax, dword [esp + 0x18]
jmp 0x514043
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x2c]
or byte [eax + 1], 0x40
add ecx, 0x14
mov eax, dword [esp + 0x18]
jmp 0x514043
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x2c]
and byte [eax + 1], 0xbf
add ecx, 0x14
mov eax, dword [esp + 0x18]
jmp 0x514043
mov al, byte [ecx + 0xc]
mov byte [esp + 0x114], al
test al, al
jne 0x51927f
mov eax, dword [edi + 0x20]
and eax, 0x400
mov dword [esp + 0x48], eax
mov eax, 0
jne 0x5177ad
test eax, eax
jne 0x5177ad
mov eax, dword [esp + 0x14]
push dword [esp + 0x114]
mov ecx, dword [eax + 4]
push dword [eax + 8]
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004e3a10
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
je 0x514701
mov esi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
cmp dl, 6
jne 0x5175fc
push dword [esi + 0x10]
push str.database_table_is_locked:__s
push ebx
call fcn.00513f40
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x5175fc
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x10]
push esi
push edi
call fcn.0051f100
add esp, 8
mov edx, eax
mov dword [esp + 0x1c], edx
test esi, esi
je 0x51930c
push dword [esi + 8]
mov esi, dword [ebp + 8]
push esi
call fcn.0051fb10
mov edx, dword [esp + 0x24]
add esp, 8
jmp 0x516c49
mov esi, dword [ebp + 8]
jmp 0x516c49
mov edx, dword [esp + 0x14]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b4], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x1b0], edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
lea eax, [esp + 0x194]
push eax
call fcn.0051c0e0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x198]
push eax
call fcn.00488d40
add esp, 0xc
test eax, eax
je 0x5193b6
lea ecx, [esi + 0x84]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 4]
push edi
call fcn.0051f3a0
add esp, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x190]
push eax
call fcn.0051c7f0
mov edx, dword [esp + 0x20]
add esp, 4
jmp 0x516c49
mov edx, dword [esp + 0x14]
inc dword [edi + 0xcc]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.0051f480
add esp, 0xc
dec dword [edi + 0xcc]
jmp 0x516c43
mov edx, dword [esp + 0x14]
mov dword [esp + 0x98], 0
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x519fda
mov ebx, dword [esi]
test ebx, ebx
je 0x519fda
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x18]
push esi
call eax
push esi
push dword [ebp + 8]
mov dword [esp + 0x2c], eax
call fcn.0051fb10
mov edx, dword [esp + 0x2c]
add esp, 0x10
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0x98]
push 2
push edx
mov dword [eax], esi
mov eax, dword [esp + 0x1c]
push dword [eax + 4]
push dword [ebp + 8]
call fcn.004a1250
add esp, 0x10
test eax, eax
je 0x519fc6
mov ecx, dword [esp + 0x98]
mov dword [eax + 0x2c], ecx
inc dword [esi + 4]
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
push 0
push 8
mov ecx, dword [edx + 4]
mov ebx, dword [eax + ecx*4]
call fcn.00491960
mov esi, eax
add esp, 8
test esi, esi
je 0x51a244
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [eax + 0xc]
push eax
push dword [ebp + 8]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*8]
mov dword [esi + 4], ecx
call fcn.004d0c40
push fcn.00491ac0
push str.ValueList
mov ecx, 1
push esi
push eax
mov word [eax + 8], cx
call fcn.0051c8f0
jmp 0x5177a3
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
lea ebx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esi + 0x64]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x2c]
mov edx, dword [ecx + ebx*8 + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + ebx*8]
mov dword [esp + 0x48], eax
xor eax, eax
test edx, edx
jle 0x519533
lea ecx, [ecx + ebx*8]
add ecx, 0x50
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x519528
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x28]
push edx
push dword [eax + 0x10]
mov eax, dword [ebx + 0x20]
push dword [esp + 0x54]
push esi
call eax
push dword [esp + 0x54]
mov dword [esp + 0x34], eax
push dword [ebp + 8]
call fcn.0051fb10
mov edx, dword [esp + 0x38]
add esp, 0x1c
test edx, edx
jne 0x5175f5
mov eax, dword [ebx + 0x28]
push esi
call eax
mov ecx, dword [esp + 0x30]
add esp, 4
mov esi, dword [ebp + 8]
mov byte [ecx + 2], 0
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x5177ad
jmp 0x5140ae
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edx + 4]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x20]
cmp byte [ebx + 2], 0
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
je 0x5195c0
push esi
call fcn.0051c8c0
add esp, 4
jmp 0x5177a6
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x48], eax
xor eax, eax
test byte [edx + 2], 1
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x140], esi
je 0x519630
push esi
call fcn.0051c8c0
mov edx, dword [esp + 0x18]
add esp, 4
mov eax, 0x4001
mov dword [esi], 0
jmp 0x519640
mov ax, word [esi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [esi + 8], ax
lea eax, [esp + 0x140]
push dword [edx + 8]
push eax
mov eax, dword [esp + 0x50]
push dword [ebx + 0x2c]
mov eax, dword [eax + 0x2c]
call eax
push dword [esp + 0x30]
mov ebx, dword [ebp + 8]
push ebx
mov dword [esp + 0x30], eax
call fcn.0051fb10
add esp, 0x14
cmp dword [esp + 0x154], 0
jle 0x519699
push esi
call fcn.00488d40
push eax
push 0x5729a4
push ebx
call fcn.00513f40
mov eax, dword [esp + 0x164]
add esp, 0x10
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x50]
push eax
push esi
call fcn.00513190
push esi
call fcn.0051cd90
add esp, 0xc
test eax, eax
jne 0x51a00b
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x5175f8
mov ecx, dword [esp + 0x14]
mov esi, ebx
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [ebx + 4]
mov ebx, dword [eax + ecx*4]
cmp byte [ebx + 2], 0
jne 0x5142b1
mov eax, dword [ebx + 0x2c]
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [esp + 0x4c], ecx
mov eax, dword [ecx + 0x24]
call eax
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [esp + 0x28], eax
call fcn.0051fb10
mov edx, dword [esp + 0x28]
add esp, 0xc
test edx, edx
jne 0x5175f5
mov eax, dword [esp + 0x48]
push dword [ebx + 0x2c]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x5161d8
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x44]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
mov dword [esp + 0x14], ecx
jmp 0x5161dc
mov edx, dword [esp + 0x14]
mov ebx, dword [edi + 0x20]
or dword [edi + 0x20], 0x4000000
and ebx, 0x4000000
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x24], eax
mov eax, dword [edx + 0x10]
push 1
mov esi, dword [eax + 8]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov dword [esp + 0x50], eax
call fcn.00513190
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x5175f5
mov ecx, dword [esp + 0x48]
mov eax, dword [esi]
push dword [ecx + 0x10]
mov eax, dword [eax + 0x4c]
push esi
call eax
add esp, 8
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x5197c9
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfbffffff
mov dword [edi + 0x24], eax
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0051fb10
mov edx, dword [esp + 0x24]
add esp, 8
and dword [esi + 0xa0], 0xfffffffc
jmp 0x516c49
cmp byte [edi + 0x57], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
jne 0x51a247
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x519fda
mov eax, dword [ebx]
mov dword [esp + 0x48], eax
test eax, eax
je 0x519fda
cmp dword [eax + 0x34], 0
mov edx, dword [edx + 8]
je 0x5142b1
mov al, byte [edi + 0x5c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esi + 0x64]
mov byte [esp + 0x77], al
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
xor eax, eax
test edx, edx
jle 0x51985f
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x519854
mov eax, dword [esp + 0x14]
mov al, byte [eax + 2]
mov byte [edi + 0x5c], al
lea eax, [esp + 0xf0]
push eax
mov eax, dword [esp + 0x4c]
push esi
push edx
push ebx
mov eax, dword [eax + 0x34]
call eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x87]
push ebx
push esi
mov byte [edi + 0x5c], al
call fcn.0051fb10
mov edx, dword [esp + 0x34]
add esp, 0x18
mov eax, dword [esp + 0x14]
test edx, edx
jne 0x5198c1
cmp dword [eax + 4], edx
je 0x5198c1
mov eax, dword [esp + 0xf0]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0xf4]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x14]
cmp dl, 0x13
jne 0x519914
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x10], 0
je 0x519914
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 2]
cmp eax, 4
jne 0x5198ff
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x1c], 0
jmp 0x514043
cmp eax, 5
jne 0x519909
mov eax, 2
mov byte [esi + 0x9a], al
jmp 0x516c49
add dword [esi + 0x30], 1
adc dword [esi + 0x34], 0
jmp 0x516c49
push dword [esp + 0x14]
push esi
call fcn.004d0c40
mov ecx, dword [esp + 0x1c]
add esp, 8
mov ebx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0x10]
mov edi, dword [esp + 0x54]
shl edx, 4
mov ecx, dword [edx + ecx + 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], 0
add ecx, 0x14
mov eax, dword [esp + 0x18]
jmp 0x514043
push dword [esp + 0x14]
push esi
call fcn.004d0c40
mov ecx, dword [edi + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x1c]
add esp, 8
mov edx, dword [eax + 4]
add edx, edx
mov esi, dword [ecx + edx*8 + 4]
xor ecx, ecx
mov edx, dword [eax + 0xc]
test edx, edx
je 0x51999d
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x30]
cmp ecx, edx
jae 0x51999d
mov ecx, edx
push ecx
push esi
call fcn.004e3a80
add esp, 8
mov dword [ebx], eax
mov dword [ebx + 4], 0
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov dword [esp + 0x48], ebx
cmp dword [esi], ebx
je 0x519a0b
movzx ecx, byte [esi + 0x19]
dec ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov dword [esi], ebx
js 0x519a0b
mov edi, dword [esp + 0x14]
lea edx, [esi + 0x1c]
mov ebx, dword [esp + 0x20]
lea edx, [edx + ecx*4]
mov edi, edi
mov eax, dword [edi + 8]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx], eax
sub edx, 4
dec ecx
jns 0x5199f0
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
mov ax, word [ebx + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [ebx + 8], ax
lea eax, [esi + 0x1c]
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
mov eax, dword [ecx + 0x10]
push esi
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x519a8a
jle 0x519a5b
push ebx
call fcn.00488d40
push eax
push 0x5729a4
push dword [ebp + 8]
call fcn.00513f40
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 8]
push dword [esi + 0x10]
add eax, 0xec
push eax
push edi
call fcn.00513970
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov dword [esi + 0x14], 0
test edx, edx
jne 0x5175f5
test byte [ebx + 8], 0x12
je 0x519aa2
movzx eax, byte [esp + 0x50]
push eax
push ebx
call fcn.00513190
push ebx
jmp 0x518eec
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x54]
add ecx, 0x14
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push edx
push ebx
mov eax, dword [edx + 4]
lea edi, [eax + eax*4]
call fcn.004b1c60
add esp, 8
mov esi, eax
mov eax, dword [ebx + edi*8 + 0xc]
mov ecx, edx
cdq
push edx
push eax
push ecx
push esi
call fcn.0041ec30
mov ecx, eax
mov al, 1
mov esi, ecx
and ecx, 7
shrd esi, edx, 3
shl al, cl
shr edx, 3
mov edx, dword [ebx + edi*8 + 0x10]
or byte [esi + edx], al
jmp 0x5177a6
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
push edx
push edi
mov eax, dword [edx + 4]
lea ebx, [eax + eax*4]
call fcn.004b1c60
add esp, 8
mov esi, eax
mov eax, dword [edi + ebx*8 + 0xc]
mov ecx, edx
cdq
push edx
push eax
push ecx
push esi
call fcn.0041ec30
mov edi, eax
mov eax, dword [esp + 0x20]
mov esi, edi
and edi, 7
shrd esi, edx, 3
mov ecx, dword [eax + ebx*8 + 0x10]
mov eax, 1
shr edx, 3
movsx edx, byte [esi + ecx]
mov ecx, edi
mov esi, dword [ebp + 8]
shl eax, cl
mov ecx, dword [esp + 0x14]
test eax, edx
jne 0x519b6b
inc dword [esi + 0xcc]
jmp 0x5140ae
inc dword [esi + 0xc8]
add ecx, 0x14
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov cl, byte [edi + 0x5e]
test cl, 0x41
je 0x519c3c
cmp byte [esi + 0x9d], 0
jne 0x519c3c
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x519bbd
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x519c3c
push eax
test cl, 0x40
je 0x519be8
push esi
call fcn.0051a740
mov ecx, dword [edi + 0xd8]
mov esi, eax
push esi
push dword [edi + 0xdc]
call ecx
push esi
call fcn.00491ac0
mov esi, dword [ebp + 8]
add esp, 0x14
jmp 0x519c3c
cmp dword [edi + 0xc8], 1
jle 0x519c28
push str.____s
push edi
call fcn.005000e0
mov ecx, dword [edi + 0xd8]
mov esi, eax
push esi
push dword [ebp + 8]
push dword [edi + 0xdc]
push 1
call ecx
add esp, 0x1c
test esi, esi
je 0x519c23
push esi
push edi
call fcn.004e9770
add esp, 8
mov esi, dword [ebp + 8]
jmp 0x519c3c
mov eax, dword [edi + 0xd8]
push esi
push dword [edi + 0xdc]
push 1
call eax
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
cmp eax, dword [0x606264]
jl 0x519c88
cmp byte [ecx], 0xb3
je 0x5177ad
mov edx, 1
cmp dword [esi + 0x74], edx
jle 0x519c81
mov eax, 0x14
mov ecx, dword [esi + 0x70]
cmp byte [eax + ecx], 0x11
jne 0x519c74
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [esi + 0x74]
jl 0x519c63
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], 0
inc dword [ecx + 4]
inc dword [esi + 0xc4]
jmp 0x5140ae
mov ecx, dword [esp + 0x14]
mov esi, edx
mov eax, dword [esp + 0x18]
add ecx, 0x14
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
jmp 0x514043
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov dword [ebx + 0x28], ecx
mov al, byte [edx + 8]
mov byte [ebx + 0x9a], al
mov dword [ebx + 0x24], esi
test ecx, ecx
je 0x519d45
movzx eax, word [edx + 2]
test ax, ax
je 0x519d13
push dword [eax*4 + 0x56c5c0]
push str._s_constraint_failed
push ebx
call fcn.00513f40
mov eax, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x519d24
push eax
push dword [ebx + 0x84]
push str._z:__s
push edi
call fcn.005000e0
add esp, 0x10
mov dword [ebx + 0x84], eax
jmp 0x519d24
push dword [edx + 0x10]
push 0x5729a4
push ebx
call fcn.00513f40
add esp, 0xc
push dword [ebx + 0x84]
mov eax, dword [esp + 0x18]
push dword [ebx + 0xd0]
push esi
push str.abort_at__d_in___s_:__s
push dword [eax + 4]
call fcn.0049bde0
add esp, 0x14
push ebx
call fcn.0051b130
mov esi, eax
add esp, 4
cmp esi, 5
jne 0x519d5d
mov dword [ebx + 0x28], eax
jmp 0x51a180
mov ecx, dword [ebx + 0x28]
neg ecx
sbb ecx, ecx
and ecx, 0xffffff9c
add ecx, 0x65
mov dword [esp + 0x1c], ecx
mov esi, ecx
jmp 0x51a180
push 0x160ef
call fcn.004e7f40
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
jmp 0x5175f5
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
add eax, eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ebp + 8]
push dword [edx + eax*8]
mov eax, dword [edx + eax*8 + 4]
push dword [ecx]
shr eax, 4
and eax, 0xf
push dword [eax*4 + 0x60626c]
movzx eax, word [esi + 8]
and eax, 0x3f
movzx eax, byte [eax + 0x56c0f8]
push dword [eax*4 + 0x6068ac]
push str.cannot_store__s_value_in__s_column__s._s
push ebx
call fcn.00513f40
mov edx, 0xc13
add esp, 0x18
mov dword [esp + 0x1c], edx
jmp 0x5175f8
push str.cannot_open_savepoint___SQL_statements_in_progress
push esi
call fcn.00513f40
mov edx, 5
add esp, 8
mov dword [esp + 0x1c], edx
jmp 0x5175f5
mov ebx, dword [ebp + 8]
push str.cannot_release_savepoint___SQL_statements_in_progress
push ebx
call fcn.00513f40
mov edx, 5
add esp, 8
mov dword [esp + 0x1c], edx
jmp 0x5175f8
mov ecx, dword [esp + 0x14]
mov eax, 0x66666667
sub ecx, dword [esp + 0x44]
mov esi, 5
mov ebx, dword [ebp + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x24], eax
mov byte [edi + 0x55], 0
mov dword [ebx + 0x28], esi
jmp 0x51a180
mov ebx, dword [ebp + 8]
push str.no_such_savepoint:__s
push ebx
call fcn.00513f40
mov edx, 1
add esp, 0xc
mov dword [esp + 0x1c], edx
jmp 0x5175f8
mov eax, dword [edi + 0x20]
mov esi, dword [esp + 0x14]
and eax, 0x100000
or eax, 0
mov ebx, dword [ebp + 8]
je 0x519e91
mov edx, 8
mov dword [esp + 0x1c], edx
jmp 0x5175fc
mov edx, 0xb
mov dword [esp + 0x1c], edx
jmp 0x5175fc
cmp dl, 5
jne 0x5175f8
mov ecx, dword [esp + 0x14]
mov eax, 0x66666667
sub ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
imul ecx
mov dword [ebx + 0x28], esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x24], eax
jmp 0x51a180
mov edx, 0x204
mov dword [esp + 0x1c], edx
jmp 0x5175f5
push str.index_corruption
push 0x16d72
push 0x30b
call fcn.00508640
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
jmp 0x5175f5
push 0x16e3e
call fcn.004e7f40
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
jmp 0x5175f5
mov ebx, dword [ebp + 8]
mov edx, 6
mov dword [esp + 0x1c], edx
mov byte [ebx + 0x9a], 2
jmp 0x5175f8
mov dword [esp + 0x1c], 7
push edi
call fcn.005086f0
mov edx, dword [esp + 0x20]
add esp, 4
cmp edx, 7
je 0x51a244
jmp 0x5175f5
push str.too_many_levels_of_trigger_recursion
push edx
mov dword [esp + 0x24], 1
call fcn.00513f40
add esp, 8
mov edx, 1
jmp 0x5175f5
push esi
call fcn.00488d40
mov ebx, dword [ebp + 8]
push eax
push 0x5729a4
push ebx
call fcn.00513f40
mov edx, dword [esp + 0x2c]
add esp, 0x10
jmp 0x5175f8
mov dword [esp + 0x1c], 1
mov eax, str.into
cmp esi, 5
je 0x519fab
mov eax, str.out_of
mov ebx, dword [ebp + 8]
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push ebx
call fcn.00513f40
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x5175f8
push dword [esp + 0x98]
mov eax, dword [ebx + 0x1c]
call eax
add esp, 4
jmp 0x51a244
mov edx, 6
mov dword [esp + 0x1c], edx
jmp 0x5175f5
mov edi, dword [esp + 0x54]
mov esi, dword [ebp + 8]
push str.string_or_blob_too_big
push esi
call fcn.00513f40
mov edx, 0x12
add esp, 8
mov dword [esp + 0x1c], edx
jmp 0x5175f5
mov esi, ebx
jmp 0x519fef
mov eax, dword [esi + 0x20]
xor ebx, ebx
mov edx, dword [esp + 0x14]
add eax, 2
mov ecx, dword [esp + 0x20]
or eax, 1
mov dword [esi + 0x20], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x80], esi
cmp dword [edx + 8], ebx
jle 0x51a072
lea esp, [esp]
mov eax, 0x1000
test word [esi + 8], ax
je 0x51a05c
push esi
call fcn.0051c620
add esp, 4
test eax, eax
jne 0x51a244
push esi
call fcn.0051c6b0
mov eax, dword [esp + 0x18]
inc ebx
add esp, 4
add esi, 0x28
cmp ebx, dword [eax + 8]
jl 0x51a040
cmp byte [edi + 0x57], 0
jne 0x51a244
test byte [edi + 0x5e], 4
mov ebx, dword [ebp + 8]
je 0x51a09b
mov eax, dword [edi + 0xd8]
push 0
push ebx
push dword [edi + 0xdc]
push 4
call eax
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov eax, 0x66666667
sub ecx, dword [esp + 0x44]
mov esi, 0x64
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [ebx + 0x24], eax
jmp 0x51a180
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x55]
mov ebx, dword [edx + 4]
mov ecx, dword [edx + 8]
cmp ebx, eax
je 0x51a1eb
test ecx, ecx
je 0x51a0f0
push 0x204
push edi
call fcn.00508ee0
add esp, 8
mov byte [edi + 0x55], 1
jmp 0x51a11e
test ebx, ebx
je 0x51a107
cmp dword [edi + 0xc4], 0
jle 0x51a107
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x519dea
push 1
push esi
call fcn.005133b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x51a17a
mov esi, dword [ebp + 8]
mov byte [edi + 0x55], bl
push esi
call fcn.0051b130
add esp, 4
cmp eax, 5
jne 0x51a15c
mov ecx, dword [esp + 0x14]
mov eax, 0x66666667
sub ecx, dword [esp + 0x44]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x24], eax
mov al, 1
sub al, bl
mov esi, 5
mov ebx, dword [ebp + 8]
mov byte [edi + 0x55], al
mov dword [ebx + 0x28], esi
jmp 0x51a180
push edi
call fcn.004e5c90
mov ecx, dword [esi + 0x28]
add esp, 4
neg ecx
sbb ecx, ecx
and ecx, 0xffffff9c
add ecx, 0x65
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x1c]
mov ebx, dword [ebp + 8]
lea ecx, [ecx]
mov edx, dword [esp + 0x6c]
cmp dword [esp + 0x18], edx
jb 0x51a408
mov ecx, dword [esp + 0x68]
ja 0x51a1a1
cmp dword [esp + 0x84], ecx
jb 0x51a408
mov eax, dword [edi + 0x170]
test eax, eax
je 0x51a408
add ecx, dword [edi + 0x178]
push dword [edi + 0x174]
adc edx, 0
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
call eax
add esp, 4
test eax, eax
je 0x51a180
or ecx, 0xffffffff
mov edx, 9
or eax, 0xffffffff
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x1c], edx
jmp 0x5175f5
test ebx, ebx
jne 0x51a20c
mov eax, str.cannot_start_a_transaction_within_a_transaction
push eax
push esi
call fcn.00513f40
mov edx, 1
add esp, 8
mov dword [esp + 0x1c], edx
jmp 0x5175f5
mov eax, str.cannot_rollback___no_transaction_is_active
test ecx, ecx
jne 0x51a21a
mov eax, str.cannot_commit___no_transaction_is_active
push eax
push esi
call fcn.00513f40
mov edx, 1
add esp, 8
mov dword [esp + 0x1c], edx
jmp 0x5175f5
mov edx, 9
mov dword [esp + 0x1c], edx
jmp 0x5175f5
mov edi, dword [esp + 0x54]
mov esi, dword [ebp + 8]
push edi
call fcn.00500c80
push 0x567fcc
push esi
call fcn.00513f40
mov edx, 7
add esp, 0xc
mov dword [esp + 0x1c], edx
jmp 0x5175f5
cmp edx, 0x210a
jne 0x51a298
push 0x5787dc
push 0x176cb
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0049bde0
add esp, 0x14
mov edx, 0xb
mov dword [esp + 0x1c], edx
cmp dword [ebx + 0x84], 0
jne 0x51a2f8
cmp edx, 0xc0a
je 0x51a2f8
mov eax, edx
mov ecx, str.unknown_error
sub eax, 0x64
je 0x51a2e4
dec eax
je 0x51a2dd
sub eax, 0x19f
je 0x51a2d6
movzx eax, dl
cmp eax, 0x1c
ja 0x51a2e9
mov eax, dword [eax*4 + 0x56c018]
test eax, eax
je 0x51a2e9
mov ecx, eax
jmp 0x51a2e9
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x51a2e9
mov ecx, str.no_more_rows_available
jmp 0x51a2e9
mov ecx, str.another_row_available
push ecx
push 0x5729a4
push ebx
call fcn.00513f40
add esp, 0xc
mov edx, dword [ebp + 8]
mov ebx, dword [esp + 0x1c]
mov dword [edx + 0x28], ebx
cmp ebx, 0xc0a
je 0x51a334
movzx eax, bl
cmp eax, 0xe
je 0x51a317
cmp eax, 0xa
jne 0x51a334
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x51a32f
push 0
push 0
push eax
call ecx
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x51a331
xor eax, eax
mov dword [edi + 0x4c], eax
push dword [edx + 0x84]
mov ecx, esi
mov eax, 0x66666667
push dword [edx + 0xd0]
sub ecx, dword [esp + 0x4c]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.statement_aborts_at__d:___s___s
push ebx
call fcn.0049bde0
push dword [ebp + 8]
call fcn.0051b130
add esp, 0x18
cmp ebx, 0xc0a
jne 0x51a3cf
cmp byte [edi + 0x57], 0
jne 0x51a3e4
cmp byte [edi + 0x58], 0
jne 0x51a3e4
cmp dword [edi + 0xc8], 0
mov byte [edi + 0x57], 1
jle 0x51a399
mov dword [edi + 0x128], 1
inc dword [edi + 0x130]
xor eax, eax
mov word [edi + 0x134], ax
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x51a3e4
push 0x567fcc
push eax
call fcn.004ebb90
mov eax, dword [edi + 0x10c]
add esp, 8
mov dword [eax + 0xc], 7
jmp 0x51a3e4
cmp ebx, 0xb
jne 0x51a3e4
cmp byte [edi + 0x55], 0
jne 0x51a3e4
mov eax, dword [edi + 0x20]
or dword [edi + 0x24], 2
mov dword [edi + 0x20], eax
mov al, byte [esp + 0x67]
mov esi, 1
test al, al
je 0x51a17a
movzx eax, al
dec eax
push eax
push edi
call fcn.00508770
add esp, 8
jmp 0x51a17a
mov ecx, dword [esp + 0x84]
add dword [ebx + 0xbc], ecx
cmp dword [ebx + 0xa8], 0
je 0x51a427
push ebx
call fcn.0052d780
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret