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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x4dac40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [edi + 0x68]
mov ebx, dword [edi]
mov esi, dword [edi + 0x58]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x14], eax
xor al, al
mov byte [ebp - 0x6d], al
mov al, byte [ebx + 0x50]
push edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x60], al
mov dword [ebp - 0x64], 0
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x24], esi
call fcn.00476bf0
add esp, 4
cmp dword [ebx + 0x160], 0
je 0x476d1c
mov ecx, dword [ebx + 0x168]
mov eax, dword [edi + 0xb4]
xor edx, edx
div ecx
sub ecx, edx
xor eax, eax
jmp 0x476d22
or ecx, 0xffffffff
or eax, 0xffffffff
cmp dword [edi + 0x28], 7
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x68], ecx
je 0x47c67b
mov dword [edi + 0x28], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x78], 0
cmp dword [ebx + 0x118], 0
mov dword [ebx + 0x1b4], 0
jne 0x47c659
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x84]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x88]
add eax, 1
adc edx, 0
mov dword [ebp - 0x14], ecx
mov cl, byte [ecx]
mov dword [ebp - 0x8c], edx
movzx edx, cl
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x39], cl
mov dword [ebp - 0x28], edx
cmp edx, 0xae
ja case.0x476da6.86
jmp dword [edx*4 + 0x47c8a4]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
sub ecx, dword [ebp - 0x58]
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 [ebp - 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x58]
mov eax, dword [ecx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + ecx*8]
lea eax, [eax + eax*4]
lea edx, [edx + eax*4]
mov dword [ebp - 0x14], edx
mov eax, 0x80
mov word [esi + ecx*8 + 8], ax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
dec eax
cdq
mov dword [esi + ecx*8], eax
mov eax, 4
mov dword [esi + ecx*8 + 4], edx
mov word [esi + ecx*8 + 8], ax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0
jne 0x476de2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x58]
mov eax, dword [ecx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + ecx*8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 8]
lea eax, [eax + eax*4]
lea edx, [edx + eax*4]
add edx, 0xffffffec
jmp 0x476e20
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
sub edx, dword [ebp - 0x58]
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 [ebp - 0x58]
mov dword [ebx + esi*8 + 4], edx
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
mov esi, ebx
mov ebx, dword [ebp - 0x5c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
je 0x476df7
jmp 0x476f15
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x58]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 4], 0
jne 0x47c139
mov ecx, dword [edi + 0xc8]
test ecx, ecx
je 0x47c139
mov eax, dword [ecx + 4]
dec dword [edi + 0xd0]
mov dword [edi + 0xc8], eax
mov eax, dword [edi + 0x2c]
add dword [ebx + 0x6c], eax
push ecx
mov dword [ebx + 0x68], eax
call fcn.0047d3f0
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp dword [ecx + 8], 4
jne 0x476f79
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov eax, dword [eax + ecx*4 + 8]
dec eax
mov edx, dword [edi + 0x68]
mov esi, dword [edi + 0x58]
mov ebx, dword [ebp - 0x5c]
lea eax, [eax + eax*4]
mov dword [ebp - 0x58], edx
lea ecx, [edx + eax*4]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x24], esi
add ecx, 0x14
jmp 0x476d7d
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov ebx, dword [ebp - 0x5c]
mov ecx, eax
mov eax, dword [ebp - 0x14]
add esp, 8
mov eax, dword [eax + 4]
cdq
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov ebx, dword [ebp - 0x5c]
mov edx, eax
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
mov ecx, eax
mov eax, 8
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x14]
add esp, 8
mov eax, dword [eax + 0x10]
movsd xmm0, qword [eax]
mov eax, dword [ebp - 0x1c]
movsd qword [ecx], xmm0
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
jmp 0x476d7d
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov esi, eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0x10]
push edi
call fcn.00471960
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp byte [ebp - 0x60], 1
mov dword [ecx + 4], eax
je 0x4770d5
push 0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push esi
call fcn.0047ee20
mov edi, eax
add esp, 0x18
mov dword [ebp - 0x20], edi
test edi, edi
jne 0x47c476
movzx ecx, byte [ebp - 0x60]
push ecx
push esi
call fcn.00476050
add esp, 8
test eax, eax
jne 0x47c695
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [ecx + 1], 0xf9
jne 0x4770c5
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4770c5
push eax
push ebx
call fcn.00454ac0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov byte [ecx + 1], 0xf9
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx + 4]
mov edi, dword [ebp - 0x18]
cmp eax, dword [ebx + 0x70]
jg 0x47c479
mov byte [ecx], 0x47
jmp 0x4770ec
mov ecx, dword [ebp - 0x14]
push ecx
push edi
call fcn.0043ddc0
mov esi, eax
mov eax, 0xa02
mov word [esi + 8], ax
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov cl, byte [ebp - 0x60]
mov byte [esi + 0xa], cl
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x478f0a
mov ebx, dword [ebp - 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
cdq
cmp dword [ebx + ecx*8], eax
jne 0x47c024
cmp dword [ebx + ecx*8 + 4], edx
jne 0x478f0a
mov eax, 0xa10
mov word [esi + 8], ax
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ebx, dword [ebp - 0x14]
push ebx
push edi
call fcn.0043ddc0
mov edi, dword [ebx + 0xc]
sub edi, dword [ebx + 8]
add esp, 8
cmp dword [ebx + 4], 0
mov ecx, 1
mov edx, 0x101
cmovne ecx, edx
movzx ebx, cx
lea esi, [eax + 0xc]
mov word [eax + 8], bx
mov dword [esi], 0
test edi, edi
jle 0x478f07
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.0047ed90
dec edi
add esp, 4
mov word [esi - 4], bx
mov dword [esi], 0
test edi, edi
jg 0x4771a1
mov ecx, dword [ebp - 0x14]
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov edx, 0xff41
mov eax, dword [ecx + 4]
lea ecx, [eax + eax*4]
mov ax, word [esi + ecx*8 + 8]
and ax, dx
or ax, 1
jmp 0x476e28
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov eax, dword [ecx + 4]
push 0
push 0
cdq
push edx
push eax
push dword [ecx + 0x10]
push esi
call fcn.0047ee20
mov al, byte [ebp - 0x60]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
mov byte [esi + 0xa], al
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add esp, 0x20
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x64]
lea edi, [ecx - 5]
lea edi, [eax + edi*8]
push edi
call fcn.0047f1e0
add esp, 4
test eax, eax
jne 0x47c476
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, 0x2400
test word [esi + 8], ax
je 0x47726d
push esi
call fcn.0047ed90
add esp, 4
movq xmm0, qword [edi]
movq qword [esi], xmm0
movq xmm0, qword [edi + 8]
movq qword [esi + 8], xmm0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
mov ecx, 0xebff
and ax, cx
mov ecx, 0x840
or ax, cx
mov ecx, dword [ebp - 0x14]
mov word [esi + 8], ax
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push edi
push esi
call fcn.0047ead0
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x4772e6
push esi
call fcn.0047ea70
add esp, 4
test eax, eax
jne 0x47c695
add edi, 0x28
add esi, 0x28
dec dword [ebp - 0x40]
jne 0x4772c0
mov ecx, dword [ebp - 0x14]
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov ebx, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push 0x1000
push edi
push esi
call fcn.0047f0e0
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x47733c
push esi
call fcn.0047ea70
add esp, 4
test eax, eax
jne 0x47c692
mov eax, ebx
dec ebx
test eax, eax
je 0x478f07
add esi, 0x28
add edi, 0x28
jmp 0x477311
mov ecx, dword [ebp - 0x14]
push 0x1000
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.0047f0e0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 0xc
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
push dword [esi + eax*8 + 4]
push dword [esi + eax*8]
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.0047ed50
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 0xc
add ecx, 0x14
jmp 0x476d7d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x54], ecx
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
lea edi, [edx + eax*8]
movzx edx, word [ecx + 8]
mov al, byte [esi + 8]
or al, dl
mov dword [ebp - 0x44], edx
test al, 1
je 0x477408
push edi
call fcn.0047ed90
mov ecx, dword [ebp - 0x14]
add esp, 4
jmp 0x476df1
test dl, 0x12
jne 0x47743a
push 0
push dword [ebp - 0x60]
push ecx
call fcn.0047f140
add esp, 0xc
test eax, eax
jne 0x47c695
mov eax, dword [ebp - 0x54]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx ecx, ax
mov dword [ebp - 0x44], ecx
jmp 0x477468
test edx, 0x4000
je 0x477468
push ecx
call fcn.0047e580
add esp, 4
test eax, eax
jne 0x47c695
mov eax, dword [ebp - 0x54]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx eax, ax
mov dword [ebp - 0x44], eax
movzx eax, word [esi + 8]
mov dword [ebp - 0x30], eax
test al, 0x12
jne 0x477483
push 0
push dword [ebp - 0x60]
push esi
call fcn.0047f140
add esp, 0xc
jmp 0x477493
test eax, 0x4000
je 0x4774ad
push esi
call fcn.0047e580
add esp, 4
test eax, eax
jne 0x47c695
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx eax, ax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
add eax, dword [esi + 0xc]
cdq
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x70]
mov ecx, edx
cdq
cmp ecx, edx
jg 0x47c476
mov ecx, dword [ebp - 0x28]
jl 0x4774d5
cmp ecx, eax
ja 0x47c476
xor eax, eax
cmp edi, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push edi
call fcn.0047e7e0
add esp, 0xc
test eax, eax
jne 0x47c695
mov ax, word [edi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [edi + 8], ax
cmp edi, esi
je 0x477522
push dword [esi + 0xc]
push dword [esi + 0x10]
push dword [edi + 0x10]
call sub.MSVCR110.dll_memcpy
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov word [esi + 8], ax
mov ebx, dword [ebp - 0x54]
mov eax, dword [edi + 0x10]
push dword [ebx + 0xc]
add eax, dword [esi + 0xc]
push dword [ebx + 0x10]
push eax
call sub.MSVCR110.dll_memcpy
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
mov word [ebx + 8], ax
mov eax, dword [edi + 0x10]
add esp, 0xc
mov byte [ecx + eax], 0
mov eax, dword [edi + 0x10]
mov byte [ecx + eax + 1], 0
mov eax, dword [edi + 0x10]
mov byte [ecx + eax + 2], 0
mov eax, 0x200
or word [edi + 8], ax
mov al, byte [ebp - 0x60]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov byte [edi + 0xa], al
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
mov dword [ebp - 0x54], esi
call fcn.0043d630
mov edi, dword [ebp - 0x24]
movzx ebx, ax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
push eax
mov dword [ebp - 0x30], eax
call fcn.0043d630
movzx ecx, ax
mov eax, dword [ebp - 0x14]
and cl, bl
mov eax, dword [eax + 0xc]
add esp, 8
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 8]
or ax, word [esi + 8]
movzx eax, ax
test cl, 4
je 0x4776d9
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
movzx eax, byte [eax]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
add eax, 0xffffff96
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], edi
cmp eax, 3
ja case.default.0x4775fe
jmp dword [eax*4 + 0x47cb60]
push edx
push ecx
lea eax, [ebp - 0x94]
push eax
call fcn.0044a340
add esp, 0xc
test eax, eax
je 0x4776a9
mov esi, dword [ebp - 0x54]
jmp 0x4776f3
push edx
push ecx
lea eax, [ebp - 0x94]
push eax
call fcn.00471980
add esp, 0xc
test eax, eax
jne 0x47761e
jmp 0x4776a9
push edx
push ecx
lea eax, [ebp - 0x94]
push eax
call fcn.00465490
add esp, 0xc
test eax, eax
jne 0x47761e
jmp 0x4776a9
mov eax, ecx
or eax, edx
je 0x4776dd
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x477673
test esi, esi
jne 0x477673
cmp edi, 0x80000000
je 0x47761e
push edx
push ecx
push edi
push esi
call fcn.004a9410
jmp 0x47769d
mov eax, ecx
or eax, edx
je 0x4776dd
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x477694
mov ecx, 1
xor edx, edx
push edx
push ecx
push edi
push esi
call fcn.004a95e0
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x94]
mov dword [ecx], eax
mov eax, dword [ebp - 0x90]
mov dword [ecx + 4], eax
mov ax, word [ecx + 8]
mov edx, 0x3e40
and ax, dx
or ax, 4
mov word [ecx + 8], ax
mov ecx, dword [ebp - 0x14]
jmp 0x476df1
test al, 1
je 0x4776f0
push dword [ebp - 0x44]
call fcn.0047ed90
mov ecx, dword [ebp - 0x14]
add esp, 4
jmp 0x476df1
mov ebx, dword [ebp - 0x30]
push esi
call fcn.0047fad0
fstp qword [ebp - 0x38]
push ebx
call fcn.0047fad0
fstp qword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
add esp, 8
movzx eax, byte [eax]
add eax, 0xffffff96
cmp eax, 3
ja case.default.0x477716
jmp dword [eax*4 + 0x47cb70]
movsd xmm0, qword [ebp - 0x4c]
addsd xmm0, qword [ebp - 0x38]
jmp 0x4777c3
movsd xmm0, qword [ebp - 0x4c]
subsd xmm0, qword [ebp - 0x38]
jmp 0x4777c3
movsd xmm0, qword [ebp - 0x4c]
mulsd xmm0, qword [ebp - 0x38]
jmp 0x4777c3
movsd xmm1, qword [ebp - 0x38]
xorps xmm0, xmm0
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jnp 0x4776dd
movsd xmm0, qword [ebp - 0x4c]
divsd xmm0, xmm1
jmp 0x4777c3
push esi
call fcn.0047db20
push ebx
mov esi, eax
mov edi, edx
call fcn.0047db20
mov ecx, esi
add esp, 8
or ecx, edi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
je 0x4776dd
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x4777a0
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.004a95e0
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
fild qword [ebp - 0x140]
fstp qword [ebp - 0x4c]
movsd xmm0, qword [ebp - 0x4c]
sub esp, 8
movsd qword [esp], xmm0
call fcn.00463870
add esp, 8
test eax, eax
jne 0x4776dd
mov ecx, dword [ebp - 0x44]
mov edx, 0x3e40
mov ax, word [ecx + 8]
and ax, dx
or ax, 8
movsd qword [ecx], xmm0
mov word [ecx + 8], ax
mov ecx, dword [ebp - 0x14]
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
test eax, eax
je 0x476df7
lea eax, [eax + eax*4]
push 0
lea eax, [esi + eax*8]
push 0
push eax
call fcn.0047ed50
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 0xc
add ecx, 0x14
jmp 0x476d7d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edx, [esi + eax*8]
mov al, byte [ecx + 8]
or al, byte [edi + 8]
mov dword [ebp - 0x34], edx
test al, 1
je 0x477884
push edx
call fcn.0047ed90
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
push ecx
call fcn.0047db20
mov ebx, eax
mov esi, edx
push edi
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], esi
call fcn.0047db20
mov edi, eax
mov eax, dword [ebp - 0x14]
add esp, 8
mov cl, byte [eax]
cmp cl, 0x66
jne 0x4778b8
and ebx, edi
and esi, edx
jmp 0x477949
cmp cl, 0x67
jne 0x4778c6
or ebx, edi
or esi, edx
jmp 0x477949
mov eax, edi
or eax, edx
je 0x477949
test edx, edx
jg 0x4778fe
jl 0x4778da
test edi, edi
jae 0x4778f3
mov al, 0xd1
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x4778fe
jg 0x4778ec
cmp edi, 0xffffffc0
jbe 0x4778fe
neg edi
adc edx, 0
neg edx
test edx, edx
jl 0x477920
jg 0x4778fe
cmp edi, 0x40
jb 0x477920
test esi, esi
jg 0x477917
jl 0x477908
test ebx, ebx
jae 0x477917
cmp cl, 0x68
je 0x477917
or eax, 0xffffffff
cdq
mov ebx, eax
mov esi, edx
jmp 0x477949
xor eax, eax
cdq
mov ebx, eax
mov esi, edx
jmp 0x477949
movq xmm1, qword [ebp - 0x104]
movd xmm0, edi
cmp cl, 0x68
jne 0x47796d
psllq xmm1, xmm0
movq qword [ebp - 0x88], xmm1
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x34]
mov edx, 0x3e40
mov ax, word [ecx + 8]
and ax, dx
or ax, 4
mov dword [ecx], ebx
mov dword [ecx + 4], esi
mov word [ecx + 8], ax
mov ecx, dword [ebp - 0x14]
jmp 0x476df1
psrlq xmm1, xmm0
movq qword [ebp - 0x88], xmm1
test esi, esi
jg 0x47793d
jl 0x477983
test ebx, ebx
jae 0x47793d
mov ecx, 0x40
sub ecx, edi
or eax, 0xffffffff
or edx, 0xffffffff
call fcn.004a96a0
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x84]
or ebx, eax
or esi, edx
jmp 0x477949
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
call fcn.0047e9f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov ebx, dword [ebp - 0x5c]
cdq
add esp, 4
add dword [esi], eax
mov eax, dword [ebp - 0x1c]
adc dword [esi + 4], edx
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x477a36
test al, 8
jne 0x477a0b
test al, 2
je 0x477a17
push 1
push esi
call fcn.00424f90
add esp, 8
jmp 0x477a14
push esi
call fcn.0047db70
add esp, 4
mov ecx, dword [ebp - 0x14]
movzx eax, word [esi + 8]
test al, 4
jne 0x477a36
cmp dword [ecx + 8], 0
jne 0x476de2
mov edx, 0x14
mov dword [ebp - 0x20], edx
jmp 0x47c207
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
and eax, 0x3e40
or eax, 4
mov word [esi + 8], ax
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 0x24
lea eax, [esi + eax*8]
je 0x476df7
push eax
call fcn.0047ec40
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 4
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x477abd
push esi
call fcn.0047e580
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x60]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.0047e3e0
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
mov eax, dword [ecx + 0xc]
movzx ecx, word [edi + 8]
lea eax, [eax + eax*4]
mov dword [ebp - 0x28], ecx
lea esi, [esi + eax*8]
movzx eax, word [esi + 8]
mov ebx, eax
and ebx, ecx
mov dword [ebp - 0x2c], eax
test bl, 4
je 0x477b9c
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [edi]
cmp ebx, esi
jl 0x477b60
jg 0x477b38
cmp ecx, eax
jbe 0x477b56
mov eax, dword [0x4d9c08]
mov dword [ebp - 0x64], 1
cmp byte [edx + eax], 0
jne 0x476ddf
mov ecx, dword [ebp - 0x14]
jmp 0x476df1
cmp ebx, esi
jg 0x477b7e
jl 0x477b60
cmp ecx, eax
jae 0x477b7e
mov eax, dword [0x4d9c00]
mov ecx, dword [ebp - 0x14]
cmp byte [edx + eax], 0
mov dword [ebp - 0x64], 0xffffffff
jne 0x476de2
jmp 0x476df1
mov eax, dword [0x4d9c04]
mov ecx, dword [ebp - 0x14]
cmp byte [edx + eax], 0
mov dword [ebp - 0x64], 0
jne 0x476de2
jmp 0x476df1
movzx edx, word [edi + 8]
mov ecx, eax
or ecx, edx
test cl, 1
je 0x477c07
mov ecx, dword [ebp - 0x14]
movzx ecx, word [ecx + 2]
test cl, cl
jns 0x477bef
test bl, 1
je 0x477bd7
test eax, 0x100
jne 0x477bd7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x64], 0
movzx ecx, byte [eax]
mov eax, dword [0x4d9c04]
jmp 0x477cfc
test byte [ebp - 0x2c], 1
mov edx, 0
sete dl
lea edx, [edx*2 - 1]
jmp 0x477cce
test cl, 0x10
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x64], 1
jne 0x476de2
jmp 0x476df1
mov ebx, dword [ebp - 0x14]
mov al, byte [ebx + 2]
and al, 0x47
cmp al, 0x43
jl 0x477c51
test cl, 2
je 0x477cbf
mov al, byte [ebp - 0x28]
and al, 0x2e
cmp al, 2
jne 0x477c37
push 0
push edi
call fcn.00424f90
movzx eax, word [esi + 8]
add esp, 8
mov dword [ebp - 0x2c], eax
mov al, byte [ebp - 0x2c]
and al, 0x2e
cmp al, 2
jne 0x477cbf
push 0
push esi
call fcn.00424f90
add esp, 8
jmp 0x477cbf
cmp al, 0x42
jne 0x477cbf
mov al, byte [ebp - 0x28]
test al, 2
jne 0x477c92
test al, 0x2c
je 0x477c92
push 1
push dword [ebp - 0x60]
push edi
call fcn.0047f140
mov ax, word [edi + 8]
xor ax, word [ebp - 0x28]
mov ecx, 0x3e40
and ax, cx
xor word [ebp - 0x28], ax
add esp, 0xc
cmp edi, esi
jne 0x477c92
mov eax, dword [ebp - 0x28]
or eax, 2
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov al, byte [ebp - 0x2c]
test al, 2
jne 0x477cbf
test al, 0x2c
je 0x477cbf
push 1
push dword [ebp - 0x60]
push esi
call fcn.0047f140
mov ax, word [esi + 8]
xor ax, word [ebp - 0x2c]
mov ecx, 0x3e40
and ax, cx
add esp, 0xc
xor word [ebp - 0x2c], ax
push dword [ebx + 0x10]
push edi
push esi
call fcn.00465210
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x64], edx
test edx, edx
jns 0x477ce2
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x4d9c00]
jmp 0x477cfc
jne 0x477cf1
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x4d9c04]
jmp 0x477cfc
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x4d9c08]
movzx ecx, byte [ecx + eax]
movzx eax, word [ebp - 0x2c]
mov word [esi + 8], ax
movzx eax, word [ebp - 0x28]
test ecx, ecx
mov ecx, dword [ebp - 0x14]
mov word [edi + 8], ax
jne 0x476de2
jmp 0x476df1
cmp dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x14]
je 0x476de2
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ebx, dword [ebp - 0x14]
test byte [ebx + 2], 1
jne 0x477d4b
xor eax, eax
jmp 0x477d51
mov eax, dword [ebx - 4]
add eax, 4
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx + 4]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x44], ebx
mov ebx, dword [esi + 8]
xor esi, esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x54], ebx
test ecx, ecx
jle 0x47714b
lea ebx, [edx + 0x14]
lea esp, [esp]
test eax, eax
je 0x477d89
mov edi, dword [eax + esi*4]
jmp 0x477d8b
mov edi, esi
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x24]
movzx eax, byte [esi + eax]
push dword [ebx]
and eax, 1
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov eax, dword [ebp - 0x44]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.00465210
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x64], ecx
test ecx, ecx
jne 0x477ddd
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
inc esi
add ebx, 4
cmp esi, dword [ebp - 0x34]
jl 0x477d80
mov ecx, dword [ebp - 0x14]
jmp 0x476df1
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
test byte [esi + eax], 2
mov esi, dword [ebp - 0x24]
je 0x477e0f
mov eax, dword [ebp - 0x44]
add eax, edi
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
jne 0x477e0a
mov eax, dword [ebp - 0x54]
add eax, edi
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
je 0x477e0f
neg ecx
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x50], 0
mov edi, dword [ebp - 0x18]
je 0x478f0a
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
neg ecx
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
jmp 0x476d7d
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
test eax, eax
jns 0x477e65
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x476d7d
jne 0x477e8a
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x476d7d
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x476d7d
mov ebx, dword [ebp - 0x14]
push 2
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.00475ff0
mov ecx, dword [ebx + 8]
mov esi, eax
mov eax, dword [ebp - 0x24]
lea ecx, [ecx + ecx*4]
push 2
lea ecx, [eax + ecx*8]
push ecx
call fcn.00475ff0
mov ecx, ebx
add esp, 0x10
cmp byte [ecx], 0x2c
lea eax, [eax + esi*2]
jne 0x477eee
movzx edx, byte [esi + eax + 0x4c1c0c]
jmp 0x477ef6
movzx edx, byte [esi + eax + 0x4c1c54]
mov eax, dword [ecx + 0xc]
mov esi, dword [ebp - 0x24]
lea ecx, [eax + eax*4]
cmp edx, 2
jne 0x477f1a
mov ax, word [esi + ecx*8 + 8]
mov edx, 0x3e40
and ax, dx
or ax, 1
jmp 0x476e28
mov eax, edx
cdq
mov dword [esi + ecx*8], eax
mov ax, word [esi + ecx*8 + 8]
mov dword [esi + ecx*8 + 4], edx
mov edx, 0x3e40
and ax, dx
or ax, 4
jmp 0x476e28
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
push dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.00475ff0
mov ecx, dword [ebp - 0x14]
xor eax, dword [ecx + 0x10]
cdq
push edx
push eax
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.0047ed50
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 0x14
add ecx, 0x14
jmp 0x476d7d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
lea ecx, [esi + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
jne 0x477fd0
push 0
push ecx
call fcn.00475ff0
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
push esi
call fcn.0047ed50
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 0x14
add ecx, 0x14
jmp 0x476d7d
push esi
call fcn.0047ed90
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 4
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
call fcn.0047ed90
add esp, 4
test byte [edi + 8], 1
jne 0x478f07
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.0047db20
mov ecx, dword [ebp - 0x14]
not eax
not edx
mov dword [esi], eax
mov dword [esi + 4], edx
add esp, 4
jmp 0x476df1
mov esi, dword [edi + 0xc8]
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x4780a8
sub ecx, dword [edi + 0x68]
mov esi, dword [esi + 0x18]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
and ecx, 7
mov eax, 1
shr edx, 3
shl eax, cl
mov bl, byte [edx + esi]
test bl, al
jne 0x476ddf
mov al, 1
shl al, cl
mov ecx, dword [ebp - 0x14]
or al, bl
mov ebx, dword [ebp - 0x5c]
mov byte [edx + esi], al
mov eax, dword [edi + 0x68]
mov esi, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x8c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x476d7d
mov eax, dword [edi + 0x68]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 4]
je 0x476de2
mov eax, dword [edi + 0x68]
mov esi, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
push dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.00475ff0
mov ecx, dword [ebp - 0x14]
add esp, 8
test eax, eax
jne 0x476de2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
xor eax, eax
cmp dword [ecx + 0xc], eax
sete al
push eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.00475ff0
mov ecx, dword [ebp - 0x14]
add esp, 8
test eax, eax
je 0x476de2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
jne 0x476de2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
jne 0x478199
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
jne 0x478199
push 0
push 0
jmp 0x47739a
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.0047ed90
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 4
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
je 0x476de2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 2], 0
je 0x476e2d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.0047ed90
add esp, 4
jmp 0x476ddf
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x78], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004765f0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
mov edx, dword [edi + 0x50]
lea eax, [eax + eax*4]
mov dword [ebp - 0x2c], edx
lea ecx, [esi + eax*8]
mov esi, dword [ebp - 0x18]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x28], ecx
cmp eax, dword [esi + 0x20]
je 0x478362
cmp byte [edi + 2], 0
je 0x4782ca
cmp byte [edi], 3
jne 0x4782a5
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x5c]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [esi], eax
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ecx*8 + 0x10]
mov dword [edi + 0x54], eax
jmp 0x4782fb
push ecx
call fcn.0047ed90
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 4
mov edi, esi
mov esi, dword [ebp - 0x24]
add ecx, 0x14
jmp 0x476d7d
mov esi, dword [edi + 0x30]
push esi
call fcn.00437840
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x58], eax
lea eax, [edi + 0x5c]
push eax
push esi
call fcn.004500b0
mov dword [edi + 0x54], eax
mov eax, dword [edi + 0x58]
add esp, 0xc
cmp eax, dword [ebx + 0x70]
ja 0x47c476
mov edx, dword [ebp - 0x2c]
lea esi, [edi + 0x5c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov dword [edi + 0x24], eax
mov ecx, dword [edi + 0x54]
mov al, byte [ecx]
cmp al, 0x80
jae 0x478319
movzx eax, al
mov dword [edx], eax
mov eax, 1
jmp 0x478329
push edx
push ecx
call fcn.00461720
mov edx, dword [ebp - 0x2c]
add esp, 8
movzx eax, al
movzx eax, al
mov dword [edi + 0x38], eax
xor eax, eax
mov word [edi + 0x42], ax
mov eax, dword [esi]
cmp eax, dword [edx]
jae 0x4783e3
mov dword [edi + 0x54], 0
mov dword [esi], 0
mov eax, dword [edx]
cmp eax, 0x18003
ja 0x47853f
cmp eax, dword [edi + 0x58]
ja 0x47853f
movzx eax, word [edi + 0x42]
mov esi, dword [ebp - 0x98]
cmp eax, esi
ja 0x478578
mov eax, dword [edi + 0x38]
cmp eax, dword [edx]
jae 0x47855b
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x4783eb
xorps xmm0, xmm0
lea eax, [ebp - 0x25c]
push eax
movq qword [ebp - 0x25c], xmm0
movq qword [ebp - 0x254], xmm0
movq qword [ebp - 0x24c], xmm0
movq qword [ebp - 0x244], xmm0
movq qword [ebp - 0x23c], xmm0
push dword [edx]
push dword [edi + 0x30]
call fcn.0047e780
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
mov ebx, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
jmp 0x4783ed
mov ebx, dword [edi + 0x54]
mov dword [ebp - 0x30], ebx
jmp 0x4783ed
mov ebx, eax
movzx ecx, word [edi + 0x42]
mov eax, dword [ebp - 0x78]
mov edi, dword [edx + ecx*4]
mov esi, dword [eax + 0x38]
mov edx, dword [edx]
add edx, ebx
lea eax, [eax + ecx*4]
add esi, ebx
add eax, 0x60
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
jmp 0x478420
movzx ebx, byte [esi]
mov dword [ebp - 0x9c], ebx
mov dword [eax], ebx
cmp ebx, 0x80
jae 0x478443
movzx eax, byte [ebx + 0x4c1a78]
cdq
inc esi
add edi, eax
adc dword [ebp - 0x54], edx
jmp 0x478477
lea eax, [ebp - 0x9c]
push eax
push esi
call fcn.00461720
mov ebx, dword [ebp - 0x9c]
movzx eax, al
add esi, eax
mov eax, dword [ebp - 0x40]
push ebx
mov dword [eax], ebx
call fcn.00480570
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
add esp, 0xc
add edi, eax
adc edx, 0
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
inc ecx
add eax, 4
mov dword [edx + ecx*4], edi
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x40], eax
cmp ecx, dword [ebp - 0x98]
ja 0x47849f
cmp esi, dword [ebp - 0x44]
jb 0x478420
mov eax, dword [ebp - 0x44]
jmp 0x4784a6
mov eax, dword [ebp - 0x44]
cmp esi, eax
jb 0x4784b8
cmp esi, eax
mov eax, dword [ebp - 0x78]
ja 0x4784c6
cmp edi, dword [eax + 0x58]
jne 0x4784c6
test edx, edx
jne 0x4784c6
jmp 0x4784bb
mov eax, dword [ebp - 0x78]
test edx, edx
jb 0x4784d3
ja 0x4784c6
cmp edi, dword [eax + 0x58]
jbe 0x4784d3
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 0
jne 0x478527
mov esi, dword [ebp - 0x44]
xor ecx, ecx
mov edi, dword [ebp - 0x78]
sub esi, dword [ebp - 0x30]
mov word [edi + 0x42], cx
mov dword [edi + 0x38], esi
cmp dword [edi + 0x54], 0
jne 0x4784f5
lea eax, [ebp - 0x25c]
push eax
call fcn.0047ecb0
add esp, 4
mov esi, dword [ebp - 0x98]
movzx eax, word [edi + 0x42]
cmp eax, esi
ja 0x478582
mov eax, dword [ebp - 0x14]
cmp byte [eax + 1], 0xf5
jne 0x478565
push 0x800
push dword [eax + 0x10]
push dword [ebp - 0x28]
call fcn.0047f0e0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x476df1
cmp dword [eax + 0x54], 0
jne 0x47853c
lea eax, [ebp - 0x25c]
push eax
call fcn.0047ecb0
add esp, 4
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x47c1f2
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea ecx, [edx + eax*4]
jmp 0x476df1
xor ebx, ebx
mov dword [ebp - 0x9c], ebx
jmp 0x4784fb
push dword [ebp - 0x28]
call fcn.0047ed90
mov ecx, dword [ebp - 0x14]
add esp, 4
jmp 0x476df1
mov ebx, dword [edi + esi*4 + 0x60]
mov dword [ebp - 0x9c], ebx
mov edx, dword [ebp - 0x28]
mov eax, 0x2400
test word [edx + 8], ax
je 0x47859c
push edx
call fcn.0047ed90
mov edx, dword [ebp - 0x28]
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x5c]
cmp eax, dword [ecx + esi*4 + 4]
jb 0x47863e
mov edi, dword [edi + 0x54]
add edi, dword [ecx + esi*4]
cmp ebx, 0xc
jae 0x4785ca
push edx
push ebx
push edi
call fcn.00480340
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x476df1
mov al, byte [ebp - 0x60]
lea esi, [ebx - 0xc]
shr esi, 1
mov byte [edx + 0xa], al
lea eax, [esi + 2]
mov dword [edx + 0xc], esi
cmp dword [edx + 0x18], eax
jge 0x478602
push 0
push eax
mov ecx, 1
push edx
mov word [edx + 8], cx
call fcn.0047e7e0
add esp, 0xc
test eax, eax
jne 0x47c692
mov edx, dword [ebp - 0x28]
jmp 0x478608
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
push esi
push edi
push dword [edx + 0x10]
call sub.MSVCR110.dll_memcpy
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov eax, dword [ecx + 0x10]
and ebx, 1
mov byte [esi + eax], 0
mov eax, dword [ecx + 0x10]
mov byte [eax + esi + 1], 0
mov ax, word [ebx*2 + 0x4c1d14]
mov word [ecx + 8], ax
mov ecx, dword [ebp - 0x14]
jmp 0x476df1
mov al, byte [ebp - 0x60]
mov byte [edx + 0xa], al
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x47865d
cmp ebx, 0xc
jb 0x478659
test bl, 1
je 0x47866a
test al, al
js 0x47866a
push ebx
call fcn.00480570
add esp, 4
test eax, eax
jne 0x478681
push edx
push ebx
push 0x4c2da8
call fcn.00480340
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x476df1
push edx
push eax
push dword [ecx + esi*4]
push dword [edi + 0x30]
call fcn.0047e6a0
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x479e8d
mov esi, dword [ebp - 0x28]
push esi
push ebx
push dword [esi + 0x10]
call fcn.00480340
mov ecx, dword [ebp - 0x14]
mov eax, 0xefff
add esp, 0xc
and word [esi + 8], ax
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov edi, dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov edi, edi
movzx eax, byte [edi]
push dword [ebp - 0x60]
push eax
push esi
call fcn.00424f20
add esp, 0xc
cmp byte [edi], 0x45
jne 0x478739
movzx eax, word [esi + 8]
test al, 4
je 0x478739
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], ecx
cmp ecx, 0x7fff
jg 0x478725
jl 0x47870d
cmp edx, 0xffffffff
ja 0x478725
cmp ecx, 0xffff8000
jl 0x478725
jg 0x47871b
test edx, edx
jb 0x478725
and eax, 0xfffb
or eax, 0x20
jmp 0x478735
fild qword [ebp - 0x158]
and eax, 0xfffb
or eax, 8
fstp qword [esi]
mov word [esi + 8], ax
inc edi
cmp byte [edi], 0
je 0x478f07
add esi, 0x28
jmp 0x4786d0
mov ebx, dword [ebp - 0x14]
xorps xmm0, xmm0
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 0x10]
lea eax, [eax + eax*4]
xor edx, edx
lea ecx, [esi + eax*8]
mov eax, dword [ebx + 8]
movlpd qword [ebp - 0x168], xmm0
lea eax, [eax + eax*4]
mov dword [ebp - 0x2c], edx
lea eax, [eax - 5]
movlpd qword [ebp - 0x128], xmm0
lea eax, [ecx + eax*8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
movzx eax, byte [eax + 0x93]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [ebp - 0x44], eax
test edi, edi
je 0x4787d7
lea esi, [ecx + 8]
movzx eax, byte [edi]
push dword [ebp - 0x60]
push eax
lea eax, [esi - 8]
push eax
call fcn.00424f20
add esp, 0xc
cmp byte [edi], 0x45
jne 0x4787cb
movzx eax, word [esi]
test al, 4
je 0x4787cb
and eax, 0xfffb
or eax, 0x20
mov word [esi], ax
inc edi
add esi, 0x28
cmp byte [edi], 0
jne 0x4787a1
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x124]
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x168]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x128]
add esi, 0x1c
mov dword [ebp - 0x40], eax
jmp 0x478800
movzx ecx, word [esi - 0x14]
test cl, 1
je 0x47881e
and ecx, 0x4000
neg ecx
sbb ecx, ecx
and ecx, 0xa
mov dword [esi], ecx
inc edx
jmp 0x4789ee
test cl, 0x24
je 0x478968
mov edx, dword [esi - 0x18]
mov eax, dword [esi - 0x1c]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
test edx, edx
jg 0x47884e
jl 0x478843
test eax, eax
jae 0x47884e
mov edx, eax
mov eax, dword [esi - 0x18]
not edx
not eax
jmp 0x478853
mov edx, eax
mov eax, dword [esi - 0x18]
inc dword [ebp - 0x2c]
test eax, eax
ja 0x47890c
jb 0x478865
cmp edx, 0x7f
ja 0x4788a6
mov eax, dword [esi - 0x1c]
and eax, 1
mov dword [ebp - 0x50], 0
cmp eax, dword [esi - 0x1c]
jne 0x478892
mov eax, dword [ebp - 0x50]
cmp eax, dword [esi - 0x18]
jne 0x478892
cmp dword [ebp - 0x48], 4
jl 0x478892
lea eax, [edx + 8]
mov edx, dword [ebp - 0x2c]
mov dword [esi], eax
jmp 0x4789f1
mov edx, dword [ebp - 0x2c]
add ebx, 1
adc edi, 0
mov dword [esi], 1
jmp 0x4789f1
test eax, eax
ja 0x47890c
jb 0x4788b4
cmp edx, 0x7fff
ja 0x4788c8
mov edx, dword [ebp - 0x2c]
add ebx, 2
adc edi, 0
mov dword [esi], 2
jmp 0x4789f1
test eax, eax
ja 0x47890c
jb 0x4788d6
cmp edx, 0x7fffff
ja 0x4788ea
mov edx, dword [ebp - 0x2c]
add ebx, 3
adc edi, 0
mov dword [esi], 3
jmp 0x4789f1
test eax, eax
ja 0x47890c
jb 0x4788f8
cmp edx, 0x7fffffff
ja 0x47890c
mov edx, dword [ebp - 0x2c]
add ebx, 4
adc edi, 0
mov dword [esi], 4
jmp 0x4789f1
cmp eax, 0x7fff
ja 0x47892e
jb 0x47891a
cmp edx, 0xffffffff
ja 0x47892e
mov edx, dword [ebp - 0x2c]
add ebx, 6
adc edi, 0
mov dword [esi], 5
jmp 0x4789f1
mov edx, dword [ebp - 0x2c]
add ebx, 8
adc edi, 0
test cl, 0x20
je 0x47895d
fild qword [ebp - 0x138]
and ecx, 0xffdf
or ecx, 8
mov word [esi - 0x14], cx
fstp qword [esi - 0x1c]
mov dword [esi], 7
jmp 0x4789f1
mov dword [esi], 6
jmp 0x4789f1
test cl, 8
je 0x47897c
inc edx
add ebx, 8
adc edi, 0
mov dword [esi], 7
jmp 0x4789ee
mov edx, dword [esi - 0x10]
mov eax, ecx
shr eax, 1
and eax, 1
mov dword [ebp - 0x50], edx
lea eax, [eax + edx*2]
add eax, 0xc
mov dword [ebp - 0x30], eax
test ecx, 0x4000
je 0x4789d4
mov edx, dword [esi - 0x1c]
lea ecx, [esi - 0x1c]
lea eax, [eax + edx*2]
mov dword [ebp - 0x30], eax
mov eax, ebx
or eax, edi
je 0x4789c5
push ecx
call fcn.0047e580
add esp, 4
test eax, eax
jne 0x47c692
mov edx, dword [ebp - 0x50]
add edx, dword [esi - 0x1c]
jmp 0x4789d1
mov eax, edx
cdq
add dword [ebp - 0x40], eax
adc dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x30]
add ebx, edx
push 0
push eax
adc edi, 0
call fcn.00475ab0
mov edx, dword [ebp - 0x2c]
add esp, 8
add edx, eax
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
mov dword [ebp - 0x2c], edx
lea eax, [esi - 0x1c]
cmp eax, dword [ebp - 0x28]
je 0x478a01
sub esi, 0x28
jmp 0x478800
cmp edx, 0x7e
jle 0x478a2c
mov eax, edx
cdq
push edx
push eax
call fcn.00475ab0
mov esi, eax
mov eax, dword [ebp - 0x2c]
add eax, esi
mov dword [ebp - 0x2c], eax
cdq
push edx
push eax
call fcn.00475ab0
mov edx, dword [ebp - 0x2c]
add esp, 0x10
cmp esi, eax
jge 0x478a30
inc edx
mov dword [ebp - 0x2c], edx
mov esi, dword [ebp - 0x40]
mov eax, edx
cdq
mov ecx, eax
mov eax, edx
add ebx, ecx
adc edi, eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], ecx
mov eax, dword [eax + 0x18]
mov ecx, ebx
add ecx, esi
adc edi, dword [ebp - 0x54]
cdq
cmp edi, edx
jg 0x478a67
jl 0x478a5c
cmp ecx, eax
ja 0x478a67
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
jmp 0x478a97
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x70]
cdq
cmp edi, edx
jg 0x47c473
jl 0x478a80
cmp ecx, eax
ja 0x47c473
push ebx
push dword [ebp - 0x44]
call fcn.0047e4d0
add esp, 8
test eax, eax
jne 0x47c692
mov ecx, dword [ebp - 0x44]
mov eax, 0x10
mov word [ecx + 8], ax
mov eax, esi
or eax, dword [ebp - 0x54]
mov dword [ecx + 0xc], ebx
je 0x478ab5
mov eax, 0x4010
mov dword [ecx], esi
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x2c]
mov esi, dword [ecx + 0x10]
lea edi, [esi + eax]
cmp eax, 0x80
jae 0x478ace
mov byte [esi], al
mov eax, 1
jmp 0x478add
push dword [ebp - 0x48]
push dword [ebp - 0x50]
push esi
call fcn.0046b4d0
add esp, 0xc
mov ebx, dword [ebp - 0x28]
movzx eax, al
add esi, eax
mov ebx, dword [ebx + 0x1c]
cmp ebx, 0x80
jae 0x478af9
mov byte [esi], bl
mov eax, 1
jmp 0x478b05
push 0
push ebx
push esi
call fcn.0046b4d0
add esp, 0xc
push ebx
mov ebx, dword [ebp - 0x28]
movzx eax, al
push ebx
push edi
add esi, eax
call fcn.00480500
add ebx, 0x28
add esp, 0xc
add edi, eax
mov dword [ebp - 0x28], ebx
cmp ebx, dword [ebp - 0x34]
jbe 0x478ae5
mov ecx, dword [ebp - 0x14]
jmp 0x476df1
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
cmp dword [edx + 0xc], 0
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x30]
je 0x478b5d
push eax
call fcn.004502c0
mov esi, eax
mov edi, edx
add esp, 4
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe0], edi
jmp 0x478b92
lea ecx, [ebp - 0xe4]
push ecx
push eax
xorps xmm0, xmm0
push ebx
movlpd qword [ebp - 0xe4], xmm0
call fcn.0044df80
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov edi, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xe4]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0043ddc0
add esp, 8
mov dword [eax], esi
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
cmp dword [ebx + 0x118], 0
jne 0x47c66e
mov edx, dword [ebp - 0x74]
cmp dword [ebp - 0x8c], edx
jb 0x476df7
mov ecx, dword [ebp - 0x68]
ja 0x478be0
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
jb case.0x476da6.86
lea ebx, [ebx]
mov eax, dword [ebx + 0x160]
test eax, eax
je 0x47c027
add ecx, dword [ebx + 0x168]
push dword [ebx + 0x164]
adc edx, 0
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x74], edx
call eax
add esp, 4
test eax, eax
jne 0x47c450
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x8c], edx
ja 0x478be0
mov eax, dword [ebp - 0x1c]
jb case.0x476da6.86
cmp eax, ecx
jae 0x478be0
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x40], eax
test ecx, ecx
jne 0x478d0d
cmp dword [ebx + 0xbc], ecx
jg 0x47c21e
push eax
call fcn.00471960
mov ecx, dword [ebx + 0x1e8]
add ecx, dword [ebx + 0x1e4]
mov edi, eax
push ecx
push 0
push ebx
call fcn.00482090
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
push edx
lea eax, [edi + 0x21]
push eax
push ebx
call fcn.00454b30
mov esi, eax
add esp, 0xc
test esi, esi
je 0x478f07
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x40]
lea edx, [esi + 0x20]
push edx
mov dword [esi], edx
call sub.MSVCR110.dll_memcpy
add esp, 0xc
cmp byte [ebx + 0x51], 0
je 0x478ccc
mov byte [ebx + 0x51], 0
mov byte [ebx + 0x59], 1
jmp 0x478cd2
inc dword [ebx + 0x1e4]
mov eax, dword [ebx + 0x1d8]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1f0]
mov dword [ebx + 0x1d8], esi
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x1f4]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x1f8]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x1fc]
mov dword [esi + 0x14], eax
jmp 0x476df1
mov esi, dword [ebx + 0x1d8]
xor edi, edi
push eax
test esi, esi
je 0x47c26e
push dword [esi]
call fcn.004718c0
add esp, 8
test eax, eax
je 0x478d35
mov esi, dword [esi + 0x18]
mov eax, dword [ebp - 0x40]
inc edi
jmp 0x478d15
cmp dword [ebx + 0xbc], 0
mov ecx, dword [ebp - 0x28]
jle 0x478d4a
cmp ecx, 1
je 0x47c236
cmp dword [esi + 0x18], 0
jne 0x478db2
cmp byte [ebx + 0x59], 0
je 0x478db2
mov dword [ebp - 0x40], 1
cmp ecx, 1
jne 0x478db9
push ecx
push dword [ebp - 0x18]
call fcn.004761f0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x47c816
push dword [ebp - 0x18]
mov byte [ebx + 0x51], 1
call fcn.0047d5d0
add esp, 4
cmp eax, 5
je 0x47c240
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x20], edx
test edx, edx
je 0x478da9
mov byte [ebx + 0x51], 0
jmp 0x478ea4
mov byte [ebx + 0x59], 0
jmp 0x478eac
mov dword [ebp - 0x40], 0
mov eax, dword [ebx + 0x1e4]
sub eax, edi
dec eax
mov dword [ebp - 0x30], eax
cmp ecx, 2
jne 0x478e29
mov ecx, dword [ebx + 0x18]
and ecx, 1
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], 0
jle 0x478e35
xor eax, eax
test ecx, ecx
sete al
xor edi, edi
mov dword [ebp - 0x48], eax
lea esp, [esp]
push eax
mov eax, dword [ebx + 0x10]
push 0x204
push dword [eax + edi + 4]
call fcn.00450dd0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
mov eax, dword [ebp - 0x34]
inc eax
add edi, 0x10
cmp eax, dword [ebx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
jl 0x478df0
mov eax, dword [ebp - 0x30]
jmp 0x478e38
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x50], 0
jmp 0x478e3b
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x34], 0
jle 0x478e83
xor edi, edi
lea ebx, [ebx]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push dword [edi + eax + 4]
call fcn.00450330
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
inc eax
add edi, 0x10
cmp eax, dword [ebx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
jl 0x478e50
cmp dword [ebp - 0x50], 0
je 0x478ea1
push 0
push ebx
call fcn.00456ee0
push ebx
call fcn.0046c090
mov edx, dword [ebp - 0x20]
add esp, 0xc
or dword [ebx + 0x18], 1
mov edi, dword [ebp - 0x30]
test edx, edx
jne 0x47c204
cmp dword [ebx + 0x1d8], esi
je 0x478edb
mov ecx, dword [ebx + 0x1d8]
push ecx
mov eax, dword [ecx + 0x18]
push ebx
mov dword [ebx + 0x1d8], eax
call fcn.00454ac0
dec dword [ebx + 0x1e4]
add esp, 8
cmp dword [ebx + 0x1d8], esi
jne 0x478eb4
mov ecx, dword [ebp - 0x28]
cmp ecx, 1
jne 0x478f24
mov eax, dword [esi + 0x18]
push esi
push ebx
mov dword [ebx + 0x1d8], eax
call fcn.00454ac0
add esp, 8
cmp dword [ebp - 0x40], 0
jne 0x478f07
dec dword [ebx + 0x1e4]
mov ecx, dword [ebp - 0x28]
jmp 0x478f57
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
cmp dword [ebp - 0x40], 0
mov eax, dword [esi + 8]
mov dword [ebx + 0x1f0], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x1f4], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x1f8], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x1fc], eax
je 0x478f57
cmp ecx, 2
jne 0x4771bf
push edi
push ecx
push ebx
call fcn.00482090
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x20], edx
mov edi, dword [ebp - 0x18]
test edx, edx
jne 0x47c207
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xac], 0
mov edx, dword [ecx + 8]
test edx, edx
je 0x478fb1
mov eax, dword [ebx + 0x20]
and eax, 0x100000
or eax, 0
jne 0x47c28c
mov ecx, dword [ecx + 4]
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
test esi, esi
je 0x479075
lea eax, [ebp - 0xac]
push eax
push edx
push esi
call fcn.0044d710
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c299
test byte [edi + 0x98], 0x40
mov ecx, dword [ebp - 0x14]
je 0x47907b
cmp dword [ecx + 8], eax
je 0x47907b
cmp byte [ebx + 0x51], al
je 0x47900a
cmp dword [ebx + 0xb8], 1
jle 0x47907b
cmp dword [edi + 0x30], 0
jne 0x479025
mov eax, dword [ebx + 0x1e4]
inc dword [ebx + 0x1e8]
add eax, dword [ebx + 0x1e8]
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x30]
dec eax
push eax
push 0
push ebx
call fcn.00482090
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47904f
push dword [edi + 0x30]
push esi
call fcn.0044d6b0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
mov eax, dword [ebx + 0x1f0]
mov dword [edi + 0x48], eax
mov eax, dword [ebx + 0x1f4]
mov dword [edi + 0x4c], eax
mov eax, dword [ebx + 0x1f8]
mov dword [edi + 0x50], eax
mov eax, dword [ebx + 0x1fc]
mov dword [edi + 0x54], eax
jmp 0x479078
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + 2], 0
je 0x4790af
mov eax, dword [ebp - 0xac]
cmp eax, dword [ecx + 0xc]
jne 0x47c2c7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 0x10]
jne 0x47c2c7
test edx, edx
jne 0x47c207
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xfc]
push eax
push dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
mov eax, dword [ebx + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.0044e680
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov ebx, dword [ebp - 0x5c]
mov ecx, eax
mov eax, dword [ebp - 0xfc]
cdq
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x8c]
add esp, 0x14
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + 4]
push dword [ecx + 0xc]
shl esi, 4
add esi, dword [ebx + 0x10]
push dword [ecx + 8]
push dword [esi + 4]
call fcn.00450f30
mov edx, eax
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], edx
cmp eax, 1
jne 0x479164
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
movzx eax, word [eax + 2]
mov ecx, dword [ecx + 0xc]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [eax], ecx
or dword [ebx + 0x18], 1
jmp 0x479175
cmp eax, 2
jne 0x479175
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0xc]
mov al, byte [eax + 0xc]
mov byte [ecx + 0x4c], al
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 1
jne 0x479196
push 0
push ebx
call fcn.00456ee0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
add esp, 8
and dword [edi + 0x98], 0xfffffffc
test edx, edx
jne 0x47c207
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4791d1
mov eax, dword [esi + 0x3c]
cmp eax, dword [edx + 8]
je 0x4792e6
mov cl, byte [ebp - 0x39]
jmp 0x4791d9
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x98]
and al, 3
cmp al, 1
je 0x47c32d
mov eax, dword [ebp - 0x14]
mov edx, dword [edx + 8]
mov esi, dword [eax + 0xc]
mov eax, esi
shl eax, 4
add eax, dword [ebx + 0x10]
cmp cl, 0x63
mov ecx, dword [ebp - 0x14]
mov edi, dword [eax + 4]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x30], edi
jne 0x479248
movzx edi, word [ecx + 2]
mov eax, dword [eax + 0xc]
mov ebx, dword [ebp - 0x18]
mov al, byte [eax + 0x4c]
and edi, 8
or edi, 4
cmp al, byte [ebx + 0x93]
mov ebx, dword [ebp - 0x5c]
jae 0x47924a
mov ebx, dword [ebp - 0x18]
mov byte [ebx + 0x93], al
mov ebx, dword [ebp - 0x5c]
jmp 0x47924a
xor edi, edi
test byte [ecx + 2], 0x10
je 0x47926d
mov ecx, dword [ebp - 0x24]
lea eax, [edx + edx*4]
lea esi, [ecx + eax*8]
push esi
call fcn.0047e9f0
mov eax, dword [esi]
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x34], eax
mov al, byte [ecx + 1]
cmp al, 0xf7
jne 0x479280
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x40], eax
movzx eax, word [eax + 8]
jmp 0x47928c
cmp al, 0xfd
jne 0x479289
mov eax, dword [ecx + 0x10]
jmp 0x47928c
mov eax, dword [ebp - 0x50]
push 0
push esi
push eax
push dword [ecx + 4]
push dword [ebp - 0x18]
call fcn.00423c20
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47c695
push dword [esi + 0x30]
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x40]
or dword [esi + 8], 4
push edi
push eax
push dword [ebp - 0x30]
mov byte [esi + 2], 1
mov dword [esi + 0x3c], eax
call fcn.0044e160
mov edi, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x14]
add esp, 0x14
cmp byte [eax + 1], 0xf7
mov dword [ebp - 0x20], edx
setne al
mov byte [esi + 4], al
jmp 0x4792e9
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 2]
mov eax, dword [esi + 0x30]
and cl, 3
mov byte [eax + 3], cl
test edx, edx
jne 0x47c207
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 8]
push 0
mov edi, dword [eax + ecx*4]
push 0xffffffffffffffff
movsx eax, word [edi + 0x40]
push eax
push dword [edx + 4]
push dword [ebp - 0x18]
call fcn.00423c20
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47c695
or dword [esi + 8], 1
mov byte [esi + 2], 1
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 8]
and eax, 4
xor dword [esi + 8], eax
mov eax, dword [edi + 0x10]
or dword [esi + 8], 8
mov dword [esi + 0x10], eax
or dword [edi + 8], 8
push dword [esi + 0x30]
push dword [esi + 0x34]
push 4
push dword [esi + 0x3c]
push dword [esi + 0x10]
call fcn.0044e160
mov ecx, dword [ebp - 0x14]
add esp, 0x14
mov dword [ebp - 0x20], eax
jmp 0x476df1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x4793bf
lea eax, [eax + eax*4]
mov dword [esi + eax*8 + 0xc], 0
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
mov dword [esi + eax*8 + 0x10], 0x4aeafc
mov ecx, dword [edx + 4]
mov eax, dword [edi + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x479401
test byte [esi + 8], 8
jne 0x479401
push 0
push dword [esi + 0x3c]
mov dword [esi + 0x18], 0
push dword [esi + 0x10]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
call fcn.0044da10
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
jmp 0x479503
push 0
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push edi
call fcn.00423c20
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47c698
mov eax, dword [ebp - 0x14]
or dword [esi + 8], 1
movzx ecx, word [eax + 2]
push 0x41e
or ecx, 5
push ecx
lea edi, [esi + 0x10]
push edi
push ebx
push 0
push dword [ebx]
call fcn.0044f950
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
push eax
push 1
push dword [edi]
call fcn.0044d710
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4794d6
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x48], eax
mov dword [esi + 0x34], eax
test eax, eax
je 0x4794b3
movzx eax, word [edx + 2]
or eax, 2
push eax
lea ecx, [esi + 0x3c]
push ecx
push dword [edi]
call fcn.0044e110
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4794ad
push dword [esi + 0x30]
push dword [ebp - 0x48]
push 4
push dword [esi + 0x3c]
push dword [edi]
call fcn.0044e160
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x20], edx
mov byte [esi + 4], 0
jmp 0x4794d6
push dword [esi + 0x30]
mov dword [esi + 0x3c], 1
push 0
push 4
push 1
push dword [edi]
call fcn.0044e160
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x20], edx
mov byte [esi + 4], 1
mov ecx, dword [ebp - 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 0x47950e
push dword [edi]
call fcn.0044dad0
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
add esp, 4
test edx, edx
jne 0x47c207
mov ecx, dword [ebp - 0x14]
mov byte [esi + 2], 1
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
push 1
push 0xffffffffffffffff
push dword [ecx + 8]
push dword [ecx + 4]
push edi
call fcn.00423c20
add esp, 0x14
test eax, eax
je 0x47c698
mov edx, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x34], ecx
push dword [edx + 0xc]
push ebx
call fcn.00480850
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov eax, dword [edi + 0x60]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + ecx*4]
mov edi, dword [edx + 0x18]
mov esi, dword [edx + 0x1c]
mov ecx, edi
add ecx, 1
mov eax, esi
adc eax, 0
or edi, esi
mov dword [edx + 0x18], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
jne 0x476df1
jmp 0x476de2
mov ecx, dword [ebp - 0x14]
push 3
push 0xffffffffffffffff
push dword [ecx + 0xc]
push dword [ecx + 4]
push edi
call fcn.00423c20
add esp, 0x14
test eax, eax
je 0x47c698
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
mov byte [eax + 2], 1
mov ecx, dword [ecx + 8]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x14]
mov byte [eax + 4], 1
mov dword [eax + 0x30], 0x4dad44
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
push dword [eax + ecx*4]
push edi
call fcn.0047d470
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x60]
mov edx, dword [ebp - 0x8c]
mov dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add esp, 8
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
xor edi, edi
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x34], edi
cmp byte [esi + 4], 0
mov word [esi + 2], di
mov dword [esi + 0x24], edi
je 0x479743
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
movzx eax, word [edi + 8]
mov dword [ebp - 0x48], eax
and al, 0x2e
cmp al, 2
jne 0x479673
push 0
push edi
call fcn.00424f90
add esp, 8
push edi
call fcn.0047db20
movzx ecx, word [edi + 8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x48]
add esp, 4
mov dword [ebp - 0xe8], edx
mov word [edi + 8], ax
test cl, 0x24
jne 0x47970a
test cl, 8
jne 0x4796d1
test cl, 1
jne 0x476ddf
cmp dword [ebp - 0x28], 0x18
jge 0x476ddf
lea eax, [ebp - 0x6c]
push eax
push dword [esi + 0x30]
call fcn.0044f270
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
jmp 0x479854
fild qword [ebp - 0xec]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
movsd xmm1, qword [edi]
fstp qword [ebp - 0x4c]
movsd xmm0, qword [ebp - 0x4c]
comisd xmm0, xmm1
jbe 0x4796f9
mov eax, dword [ebp - 0x28]
test al, 1
je 0x47970a
dec eax
jmp 0x479707
comisd xmm1, xmm0
jbe 0x47970a
mov eax, dword [ebp - 0x28]
test al, 1
jne 0x47970a
inc eax
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0xec]
lea eax, [ebp - 0x6c]
push eax
push 0
push edx
push edi
push 0
push dword [esi + 0x30]
call fcn.0044f3d0
mov edx, eax
mov eax, dword [ebp - 0xe8]
add esp, 0x18
mov dword [ebp - 0x20], edx
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], eax
test edx, edx
jne 0x47c204
jmp 0x4797d1
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x14]
test byte [eax + 3], 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x120], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0x118], ax
test dl, 1
sete al
mov byte [ebp - 0x112], 0
mov dword [ebp - 0x34], edi
lea eax, [eax*2 - 1]
mov byte [ebp - 0x116], al
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x120]
push eax
push dword [esi + 0x30]
call fcn.0044f3d0
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
test edi, edi
je 0x4797d1
cmp byte [ebp - 0x112], al
je 0x479854
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x6c]
cmp eax, 0x18
jl 0x47983c
test ecx, ecx
js 0x479803
jne 0x4797e7
cmp eax, 0x19
je 0x479803
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x14]
je 0x476df1
add ecx, 0x14
jmp 0x476df1
push 0
push dword [esi + 0x30]
mov dword [ebp - 0x6c], 0
call fcn.0044f900
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
je 0x4797ee
cmp edx, 0x65
jne 0x47c204
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x6c], 1
jmp 0x476ddf
test ecx, ecx
jg 0x479860
jne 0x479847
cmp eax, 0x16
je 0x479860
mov eax, dword [esi + 0x30]
xor ecx, ecx
cmp byte [eax], cl
setne cl
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0
jne 0x476ddf
jmp 0x4797ee
push 0
push dword [esi + 0x30]
mov dword [ebp - 0x6c], 0
call fcn.004500f0
jmp 0x479814
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 0x18]
mov edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x30]
cmp byte [eax], 0
jne 0x47786d
mov eax, dword [edi + 0x34]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x1b4], eax
mov ax, word [ecx + 0x24]
mov word [ebp - 0x1ac], ax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
mov byte [ebp - 0x1aa], 0
lea eax, [ecx + eax*8]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0xdc], 0
jmp 0x4798d0
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x1b4]
push eax
push edi
push ebx
call fcn.0047d900
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
mov eax, dword [ebp - 0xdc]
test eax, eax
jg 0x479933
je 0x476ddf
test esi, esi
jle 0x4771bf
push edx
push dword [edi + 0x30]
dec esi
call fcn.0044f900
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
je 0x4798d0
cmp edx, 0x65
jne 0x47c204
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
jmp 0x476de2
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + ecx*4]
movzx eax, word [ecx + 0xc]
cmp eax, dword [edx + 8]
jge 0x479976
mov ebx, dword [ebp - 0x5c]
mov eax, edx
mov ax, word [eax + 8]
mov word [ecx + 0xc], ax
mov eax, dword [ebp - 0x1c]
mov ecx, edx
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
cmp eax, dword [edx + 0xc]
jle 0x476e2d
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x5c]
mov ax, word [eax + 0xc]
mov edx, dword [ebp - 0x8c]
mov word [ecx + 0xc], ax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
cmp dword [eax + ecx*4], 0
je case.0x476da6.11
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
movzx eax, word [eax + 0xc]
cmp eax, dword [ecx + 0x10]
jge 0x476df7
jmp 0x4799ec
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 4]
mov eax, dword [edi + 0x60]
mov edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], edi
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
jle 0x479a34
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x1ec], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0x1e4], ax
xor eax, eax
mov dword [ebp - 0x1e8], esi
mov esi, dword [ebp - 0x34]
lea edi, [ebp - 0x1ec]
mov dword [ebp - 0x50], eax
jmp 0x479a80
mov eax, 0x4000
test word [esi + 8], ax
je 0x479a50
push esi
call fcn.0047e580
add esp, 4
test eax, eax
jne 0x47c695
push dword [edi + 0x34]
call fcn.00475f50
mov edi, eax
add esp, 4
mov dword [ebp - 0x50], edi
test edi, edi
je 0x47c695
push edi
push dword [esi + 0x10]
push dword [esi + 0xc]
mov esi, dword [ebp - 0x34]
push dword [esi + 0x34]
call fcn.00480120
mov ecx, dword [ebp - 0x14]
add esp, 0x10
mov byte [edi + 0xa], 0
cmp byte [ecx], 0x1c
mov dword [ebp - 0x34], 0
jne 0x479ab6
movzx edx, word [edi + 8]
xor ecx, ecx
test edx, edx
jle 0x479ab6
mov eax, dword [edi + 4]
add eax, 8
test byte [eax], 1
jne 0x479aaf
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x479aa0
jmp 0x479ab6
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0xf8]
push eax
push 0
push 0
push 0
push edi
push dword [esi + 0x30]
call fcn.0044f3d0
mov edx, eax
mov eax, dword [ebp - 0x50]
add esp, 0x18
mov dword [ebp - 0x20], edx
test eax, eax
je 0x479ae8
push eax
push ebx
call fcn.00454ac0
mov edx, dword [ebp - 0x20]
add esp, 8
test edx, edx
jne 0x47c204
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
test eax, eax
mov dword [esi + 0x28], eax
sete cl
mov al, 1
sub al, cl
mov byte [esi + 2], al
mov eax, dword [ebp - 0x14]
mov byte [esi + 3], dl
mov dword [esi + 0x24], edx
mov al, byte [eax]
cmp al, 0x1e
jne 0x479b26
test ecx, ecx
mov ecx, dword [ebp - 0x14]
jne 0x476de2
jmp 0x476df1
cmp dword [ebp - 0x34], 0
jne 0x476ddf
test ecx, ecx
je 0x476ddf
mov ecx, dword [ebp - 0x14]
cmp al, 0x1b
jne 0x476df1
mov eax, ecx
mov ax, word [eax + 0x10]
mov word [esi + 0xc], ax
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 0x24
jne 0x479c01
movq xmm0, qword [esi + eax*8]
movq qword [ebp - 0x1dc], xmm0
movq xmm0, qword [esi + eax*8 + 8]
movq qword [ebp - 0x1d4], xmm0
movq xmm0, qword [esi + eax*8 + 0x10]
movq qword [ebp - 0x1cc], xmm0
movq xmm0, qword [esi + eax*8 + 0x18]
movq qword [ebp - 0x1c4], xmm0
movq xmm0, qword [esi + eax*8 + 0x20]
mov al, byte [ebp - 0x1d4]
movq qword [ebp - 0x1bc], xmm0
test al, 4
jne 0x479bf0
test al, 8
jne 0x479bd0
test al, 2
je 0x479be8
lea eax, [ebp - 0x1dc]
push 1
push eax
call fcn.00424f90
add esp, 8
jmp 0x479bdf
lea eax, [ebp - 0x1dc]
push eax
call fcn.0047db70
add esp, 4
mov ecx, dword [ebp - 0x14]
mov al, byte [ebp - 0x1d4]
test al, 4
je 0x476de2
mov edi, dword [ebp - 0x1dc]
mov edx, dword [ebp - 0x1d8]
jmp 0x479c0e
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov edi, dword [esi + eax*8]
mov edx, dword [esi + eax*8 + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], edx
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0xc4], 0
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0xc4]
push eax
push 0
push edx
push edi
push 0
push dword [esi + 0x30]
call fcn.0044f3d0
mov edx, eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0xc4]
add esp, 0x18
mov dword [ebp - 0x20], edx
mov dword [esi + 0x48], edi
mov word [esi + 2], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], eax
test eax, eax
je 0x478f67
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0
jne 0x476de2
push 0x16504
call fcn.00453110
add esp, 4
jmp 0x478f62
mov ebx, dword [ebp - 0x14]
push ebx
push edi
call fcn.0043ddc0
mov edx, dword [ebx + 4]
mov ecx, dword [edi + 0x60]
add esp, 8
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0x18]
mov dword [eax], ecx
mov ecx, dword [edx + 0x1c]
mov edx, dword [ebp - 0x8c]
mov dword [eax + 4], ecx
mov eax, ebx
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, ebx
add dword [eax + 0x18], 1
mov ebx, dword [ebp - 0x5c]
adc dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x476d7d
push dword [ebp - 0x14]
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0xa0], 0
call fcn.0043ddc0
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
add esp, 8
mov edx, dword [eax + 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x28], eax
test byte [eax + 8], 2
jne 0x479d81
lea ecx, [ebp - 0xa0]
push ecx
push dword [eax + 0x30]
call fcn.0044f270
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
cmp dword [ebp - 0xa0], eax
je 0x479d43
mov edi, 1
xor esi, esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
jmp 0x479d87
mov eax, dword [ebp - 0x28]
push dword [eax + 0x30]
call fcn.0044ecc0
mov esi, edx
add esp, 4
mov edi, eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
cmp esi, 0x7fffffff
jl 0x479d73
jg 0x479d6a
cmp edi, 0xffffffff
jb 0x479d73
mov eax, dword [ebp - 0x28]
or dword [eax + 8], 2
jmp 0x479d87
add edi, 1
adc esi, 0
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
jmp 0x479d87
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x479e21
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x479dc4
mov eax, dword [edx + 4]
test eax, eax
je 0x479db9
lea esp, [esp]
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x479db0
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
jmp 0x479dcd
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax*8]
push eax
mov dword [ebp - 0x34], eax
call fcn.0047e9f0
mov eax, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x479df2
cmp edx, 0x7fffffff
je 0x47c33a
mov ebx, dword [ebp - 0x28]
test byte [ebx + 8], 2
mov ebx, dword [ebp - 0x5c]
jne 0x47c33a
add ecx, 1
adc edx, 0
cmp esi, edx
jg 0x479e1c
jl 0x479e12
cmp edi, ecx
jae 0x479e1c
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
mov dword [eax], edi
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x28]
test byte [eax + 8], 2
je 0x479e98
xor ebx, ebx
lea esp, [esp]
lea eax, [ebp - 0x80]
push eax
push 8
call fcn.00418cf0
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x28]
and esi, 0x3fffffff
add edi, 1
push 0
adc esi, 0
push esi
push edi
push 0
push dword [eax + 0x30]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
call fcn.0044f3d0
mov edx, eax
add esp, 0x20
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x479e8d
cmp dword [ebp - 0xa0], eax
jne 0x479e95
inc ebx
cmp ebx, 0x64
jl 0x479e30
mov edx, 0xd
mov dword [ebp - 0x20], edx
mov ebx, dword [ebp - 0x5c]
jmp 0x47c204
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov byte [eax + 3], 0
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x48]
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x60]
mov edi, dword [ebp - 0x24]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 1], 0xfa
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov edi, dword [edi + eax*8]
mov dword [ebp - 0x22c], edi
mov eax, dword [ebx + eax*8 + 4]
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x228], eax
jne 0x479f19
cmp dword [ebx + 0xf4], 0
je 0x479f19
movsx ecx, byte [esi + 1]
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov ecx, dword [eax + ecx*8]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
jmp 0x479f27
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x50], 0
test byte [ecx + 2], 1
je 0x479f36
mov ebx, dword [ebp - 0x18]
inc dword [ebx + 0x2c]
mov ebx, dword [ebp - 0x5c]
test byte [ecx + 2], 0x20
je 0x479f42
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], eax
mov edi, dword [ebp - 0x24]
movzx ecx, word [ecx + 2]
mov eax, dword [edi + edx*8 + 0x10]
mov dword [ebp - 0x224], eax
mov eax, dword [edi + edx*8 + 0xc]
mov dword [ebp - 0x218], eax
test cl, 0x10
je 0x479f67
mov edi, dword [esi + 0x28]
jmp 0x479f69
xor edi, edi
mov eax, dword [ebp - 0x24]
mov ebx, 0x4000
test word [eax + edx*8 + 8], bx
mov ebx, dword [ebp - 0x5c]
je 0x479f86
mov eax, dword [eax + edx*8]
mov dword [ebp - 0x214], eax
jmp 0x479f90
mov dword [ebp - 0x214], 0
push edi
and ecx, 0x8a
push ecx
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 0x234], 0
push dword [esi + 0x30]
call fcn.0044e830
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
mov byte [esi + 3], 0
mov dword [esi + 0x24], 0
test edx, edx
jne 0x47c204
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4771bf
push dword [ebp - 0x228]
mov ecx, 0x17
push dword [ebp - 0x22c]
push dword [eax]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x50]
test byte [eax + 2], 4
mov eax, 0x12
cmovne eax, ecx
push eax
push dword [ebx + 0xf0]
mov eax, dword [ebx + 0xf4]
call eax
mov ecx, dword [ebp - 0x14]
add esp, 0x18
jmp 0x476df1
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi + 0x60]
mov eax, dword [edx + 4]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov esi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x47a04a
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x24]
lea eax, [eax + eax*4]
mov ecx, dword [ecx + eax*8]
mov eax, dword [edi + eax*8 + 4]
mov edi, dword [ebp - 0x18]
jmp 0x47a061
xorps xmm0, xmm0
movlpd qword [ebp - 0x160], xmm0
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x160]
push eax
push ecx
push dword [esi + 0x30]
push dword [edx + 0x30]
call fcn.004509f0
add esp, 0x10
jmp 0x477ad1
mov edx, dword [ebp - 0x14]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x60]
mov esi, dword [eax + ecx*4]
jne 0x47a0cb
cmp dword [ebx + 0xf4], 0
je 0x47a0cb
movsx ecx, byte [esi + 1]
mov eax, dword [ebx + 0x10]
mov edi, dword [edx + 0x10]
add ecx, ecx
test byte [edx + 2], 2
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x34], eax
je 0x47a0d4
cmp byte [esi + 4], 0
je 0x47a0d4
push dword [esi + 0x30]
call fcn.0044ecc0
mov dword [esi + 0x4c], edx
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [esi + 0x48], eax
jmp 0x47a0d4
mov dword [ebp - 0x34], 0
xor edi, edi
movzx eax, byte [edx + 2]
push eax
push dword [esi + 0x30]
call fcn.0044e1d0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
test edx, edx
jne 0x47c204
test byte [ebp - 0x48], 1
je 0x4771bf
mov eax, dword [ebp - 0x18]
inc dword [eax + 0x2c]
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4771bf
test byte [edi + 0x24], 0x80
jne 0x4771bf
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [edi]
push dword [ebp - 0x34]
push 9
push dword [ebx + 0xf0]
call eax
mov ecx, dword [ebp - 0x14]
add esp, 0x18
jmp 0x476df1
mov eax, dword [edi + 0x2c]
add dword [ebx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x8c]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov dword [edi + 0x2c], 0
add ecx, 0x14
jmp 0x476d7d
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
lea edi, [ebp - 0xd8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
push edi
push dword [edx + 0x10]
lea eax, [eax + eax*4]
mov dword [ebp - 0xd8], 0
lea eax, [esi + eax*8]
push eax
push ecx
call fcn.00480770
mov edi, dword [ebp - 0x18]
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
cmp dword [ebp - 0xd8], 0
mov ecx, dword [ebp - 0x14]
jne 0x476de2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edx, [esi + eax*8]
mov eax, dword [edi + 0x60]
push edx
push dword [eax + ecx*4]
call fcn.00480d20
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov ecx, dword [edi + 0x60]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + edx*4]
mov edi, dword [ecx + 0x30]
push edi
call fcn.00437840
mov eax, dword [edi + 0x2c]
add esp, 0xc
cmp eax, dword [ebx + 0x70]
ja 0x47c476
push esi
push eax
push edi
call fcn.0047e780
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xc], eax
jne 0x476df1
mov eax, 0x1000
test word [esi + 8], ax
je 0x476df1
push esi
call fcn.0047ea70
mov edi, dword [ebp - 0x18]
add esp, 4
test eax, eax
jne 0x47c698
jmp 0x47714b
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x60]
add esp, 8
mov esi, dword [ecx + edx*4]
cmp byte [esi + 2], 0
je 0x47a2d5
mov ecx, dword [ebp - 0x14]
mov eax, 1
mov word [edi + 8], ax
jmp 0x476df1
cmp byte [esi + 3], 0
je 0x47a300
mov ecx, dword [esi + 0x48]
mov dword [ebp - 0xb4], ecx
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0xb0], eax
mov dword [edi], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 4], eax
jmp 0x476df1
cmp byte [esi], 2
jne 0x47a34c
mov ecx, dword [esi + 0x30]
lea edx, [ebp - 0xb4]
mov esi, dword [ecx]
push edx
mov eax, dword [esi]
push ecx
mov eax, dword [eax + 0x30]
call eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.00481e70
mov edx, dword [ebp - 0x20]
add esp, 0x10
test edx, edx
jne 0x47c204
mov ecx, dword [ebp - 0xb4]
mov dword [edi], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 4], eax
jmp 0x476df1
push esi
call fcn.00476650
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
cmp byte [esi + 2], al
je 0x47a378
mov ecx, dword [ebp - 0x14]
mov eax, 1
mov word [edi + 8], ax
jmp 0x476df1
push dword [esi + 0x30]
call fcn.0044ecc0
mov ecx, eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], edx
mov dword [edi], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [edi + 4], eax
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 0
mov byte [eax + 2], 1
mov dword [eax + 0x24], 0
jne 0x476e2d
push dword [eax + 0x30]
call fcn.0044d9f0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 4
add ecx, 0x14
jmp 0x476d7d
cmp byte [ebp - 0x39], 0x85
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xbc], 0
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x30]
jne 0x47a415
mov dword [esi + 0x28], 0xffffffff
cmp byte [eax], 0
je 0x47714b
lea ecx, [ebp - 0xbc]
push ecx
push eax
call fcn.0044f270
mov edx, eax
mov eax, dword [ebp - 0xbc]
add esp, 8
mov dword [ebp - 0x20], edx
mov byte [esi + 2], al
mov byte [esi + 3], 0
mov dword [esi + 0x24], 0
test edx, edx
jne 0x47c207
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], edx
jle 0x476df4
test eax, eax
jne 0x476de2
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x30]
lea eax, [ebp - 0xc0]
push eax
push esi
call fcn.0044e5d0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
cmp dword [ebp - 0xc0], eax
jne 0x476ddf
push esi
call fcn.004502c0
add esp, 4
test edx, edx
jl 0x47c024
jg 0x47a4c4
test eax, eax
jb 0x47714b
push edx
push eax
call fcn.00464cc0
mov ecx, dword [ebp - 0x14]
cwde
add esp, 8
cmp eax, dword [ecx + 0xc]
jge 0x476df4
mov dword [ebp - 0xc0], 1
jmp 0x476de2
inc dword [edi + 0xac]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xa8], 1
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0xa8]
cmp byte [esi], 1
push eax
jne 0x47a51a
push esi
call fcn.00480cb0
jmp 0x47a52d
push dword [esi + 0x30]
call fcn.0044e5d0
mov byte [esi + 3], 0
mov dword [esi + 0x24], 0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 2], al
test eax, eax
jne 0x476de2
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov esi, dword [eax + ecx*4]
push esi
push ebx
call fcn.00480a40
jmp 0x47a594
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
push dword [edx + 0xc]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx + 0x10]
push dword [esi + 0x30]
call eax
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
mov dword [esi + 0x24], 0
test edx, edx
jne 0x47a5bd
mov byte [esi + 2], al
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
inc dword [edi + eax*4 + 0xa4]
jmp 0x47bd16
cmp edx, 0x65
jne 0x47c207
mov dword [ebp - 0x20], 0
mov byte [esi + 2], 1
jmp 0x478ba8
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
test byte [ecx + 2], 1
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
je 0x47a5fa
mov eax, dword [ebp - 0x18]
inc dword [eax + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x47a61e
push esi
call fcn.0047e580
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
cdq
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2c8], edx
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [ebp - 0x2c0], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0x2bc], ax
movzx eax, word [ecx + 2]
test al, 0x10
je 0x47a661
mov ecx, dword [edi + 0x28]
jmp 0x47a663
xor ecx, ecx
push ecx
and eax, 0x8a
push eax
lea eax, [ebp - 0x2d4]
push eax
push dword [edi + 0x30]
call fcn.0044e830
mov edx, eax
add esp, 0x10
mov dword [edi + 0x24], 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x47a6e0
push esi
call fcn.0047e580
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
push esi
push edi
call fcn.00480dd0
mov edi, dword [ebp - 0x18]
add esp, 8
jmp 0x477ad1
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x34]
mov edi, dword [esi + 0x30]
mov dword [ebp - 0x194], eax
mov ax, word [edx + 0xc]
mov word [ebp - 0x18c], ax
mov eax, dword [edx + 8]
mov byte [ebp - 0x18a], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x194]
push eax
push edi
call fcn.0044f3d0
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
cmp dword [ebp - 0x110], eax
jne 0x47a786
push 4
push edi
call fcn.0044e1d0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
cmp word [ecx + 2], 0
jne 0x47c344
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov esi, dword [eax + ecx*4]
push esi
call fcn.00476650
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
cmp byte [esi + 2], al
jne 0x47a857
lea eax, [ebp - 0xd0]
push eax
push dword [esi + 0x30]
xorps xmm0, xmm0
push ebx
movlpd qword [ebp - 0xd0], xmm0
call fcn.0047d9c0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x89
jne 0x47a837
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0xd0]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0xcc]
mov dword [ecx + 0x4c], eax
mov eax, dword [ebp - 0x14]
mov word [ecx + 2], 0x100
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x2c], esi
jmp 0x47714b
push eax
push edi
call fcn.0043ddc0
mov ecx, dword [ebp - 0xd0]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xcc]
add esp, 8
mov dword [eax + 4], ecx
jmp 0x47714b
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.0047ed90
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 4
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 3], 0
je 0x476e2d
push eax
call fcn.0047d1e0
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
cmp byte [ebp - 0x39], 0x28
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x1a4], eax
mov ax, word [edx + 0x10]
mov word [ebp - 0x19c], ax
sbb al, al
mov byte [ebp - 0x19a], al
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov esi, dword [ecx + 0x30]
push esi
mov dword [ebp - 0x1a0], eax
call fcn.00437840
mov eax, dword [esi + 0x2c]
add esp, 4
xor ecx, ecx
jl 0x47c36f
jg 0x47a925
test eax, eax
je 0x47c36f
test ecx, ecx
jg 0x47c36f
jl 0x47a93a
cmp eax, 0x7fffffff
ja 0x47c36f
xor ecx, ecx
mov word [ebp - 0x2a4], cx
mov dword [ebp - 0x294], ecx
lea ecx, [ebp - 0x2ac]
push ecx
push eax
push esi
mov dword [ebp - 0x28c], ebx
call fcn.0047e780
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
push eax
lea eax, [ebp - 0x1a4]
push eax
push dword [ebp - 0x29c]
push dword [ebp - 0x2a0]
call fcn.0047fb40
mov esi, eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.0047ecb0
mov ecx, dword [ebp - 0x14]
add esp, 0x14
test byte [ecx], 1
jne 0x47a9a3
neg esi
jmp 0x47a9a4
inc esi
test esi, esi
jg 0x476de2
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov esi, eax
mov eax, 1
mov word [esi + 8], ax
mov ecx, dword [ebx + 0xc4]
inc ecx
add esp, 8
cmp dword [ebx + 0xb8], ecx
jg 0x47c386
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0xc8]
mov eax, dword [ecx + 0xc]
push edx
push dword [ecx + 4]
mov ecx, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov dword [ebp - 0xc8], 0
push dword [eax + ecx*8 + 4]
call fcn.0044e560
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x20], eax
mov eax, 4
mov word [esi + 8], ax
mov eax, ecx
cdq
mov dword [esi + 4], edx
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov dword [esi], eax
test edx, edx
jne 0x47c207
test ecx, ecx
je 0x47714b
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
push ecx
push dword [ebp - 0x34]
push ebx
call fcn.0046c890
mov al, byte [ebp - 0x34]
add esp, 0x10
inc al
mov byte [ebp - 0x6d], al
jmp 0x47714b
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xd4]
push eax
push dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov dword [ebp - 0xd4], 0
push dword [eax + ecx*8 + 4]
call fcn.0044da10
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp dword [ecx + 0xc], 0
mov edx, eax
mov dword [ebp - 0x20], edx
je 0x47aac4
mov eax, dword [ebp - 0xd4]
add dword [edi + 0x2c], eax
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jle 0x47aac1
cdq
lea ecx, [ecx + ecx*4]
add dword [esi + ecx*8], eax
adc dword [esi + ecx*8 + 4], edx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
test edx, edx
jne 0x47c207
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 1
jne 0x47ab14
push dword [eax + 0x30]
push ebx
call fcn.00480ad0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 8
add ecx, 0x14
jmp 0x476d7d
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.0044da10
jmp 0x479548
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov esi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb8], 0
mov ecx, dword [eax + 4]
push dword [eax + 0xc]
shl ecx, 4
add ecx, dword [ebx + 0x10]
lea eax, [ebp - 0xb8]
push eax
push dword [ecx + 4]
call fcn.0044e110
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov eax, dword [ebp - 0xb8]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x47714b
mov ecx, dword [ebp - 0x14]
inc byte [ebx + 0x5c]
push 0
push 0
push 0
push dword [ecx + 0x10]
push ebx
call fcn.00413dc0
add esp, 0x14
dec byte [ebx + 0x5c]
jmp 0x47954b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 4]
test edx, edx
jne 0x47abe8
mov eax, dword [ebx + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.0046d6d0
mov eax, dword [ebp - 0x14]
and dword [ebx + 0x18], 0xffffffef
movzx eax, word [eax + 2]
push eax
lea eax, [edi + 0x7c]
push eax
push esi
push ebx
call fcn.004622b0
or dword [ebx + 0x18], 1
mov edx, eax
add esp, 0x14
and dword [edi + 0x98], 0xfffffffc
mov dword [ebp - 0x20], edx
jmp 0x47acb0
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x174], 0
lea eax, [edi + 0x7c]
mov dword [ebp - 0x180], eax
add esi, esi
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 [ebp - 0x16c], eax
push dword [ecx + esi*8]
push str.SELECTFROM__w_._s_WHERE__s_ORDER_BY_rowid
push ebx
call fcn.00464e60
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47c39a
push 0
lea eax, [ebp - 0x184]
push eax
push fcn.004620b0
push esi
push ebx
mov byte [ebx + 0xa9], 1
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x170], 0
call fcn.00413dc0
add esp, 0x14
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x47ac9c
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x47ac9c
cmp dword [ebp - 0x170], eax
jne 0x47ac9c
push 0x16ae6
call fcn.00453110
add esp, 4
mov dword [ebp - 0x20], eax
push esi
push ebx
call fcn.00454ac0
mov edx, dword [ebp - 0x20]
add esp, 8
mov byte [ebx + 0xa9], 0
test edx, edx
jne 0x47c3a1
jmp 0x47714b
mov ecx, dword [ebp - 0x14]
push dword [ecx + 4]
push ebx
call fcn.0044b800
add esp, 8
jmp 0x47954b
mov ecx, dword [ebp - 0x14]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.004728e0
jmp 0x4773a9
mov ecx, dword [ebp - 0x14]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.00472840
jmp 0x4773a9
mov ecx, dword [ebp - 0x14]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.00472950
jmp 0x4773a9
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
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 edi, [edi + eax*8]
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 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 [ebx + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
push ebx
call fcn.0044ece0
push edi
mov dword [ebp - 0x48], eax
call fcn.0047ed90
mov eax, dword [ebp - 0x108]
add esp, 0x1c
test eax, eax
je 0x47ad95
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x47c695
mov ebx, dword [ebp - 0x24]
push fcn.004187d0
dec eax
push 1
cdq
sub dword [ebx + esi*8], eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, ebx
push ecx
sbb dword [eax + esi*8 + 4], edx
push edi
call fcn.0047ee20
mov ebx, dword [ebp - 0x5c]
add esp, 0x18
movzx eax, byte [ebp - 0x60]
push eax
push edi
call fcn.00476050
add esp, 8
jmp 0x478ba5
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 0x10
lea esi, [esi + eax*8]
mov eax, dword [ecx + 8]
lea edi, [eax + eax*4]
jne 0x47add2
push esi
call fcn.0047edc0
add esp, 4
test eax, eax
jne 0x47c695
mov eax, dword [ebp - 0x24]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
push dword [esi + 0x10]
call fcn.0046cac0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 0x10
lea esi, [esi + eax*8]
je 0x47ae41
lea eax, [ebp - 0x150]
push eax
push dword [esi + 0x10]
call fcn.0046cb60
add esp, 8
test eax, eax
je 0x47ae41
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x14c]
mov eax, dword [eax + 0xc]
mov esi, dword [ebp - 0x24]
push dword [ebp - 0x150]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.0047ed50
add esp, 0xc
jmp 0x478bab
push esi
call fcn.0047ed90
add esp, 4
jmp 0x47bd16
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 0x10
lea esi, [esi + eax*8]
mov eax, dword [ecx + 0xc]
lea edi, [eax + eax*4]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x34], eax
jne 0x47ae82
push esi
call fcn.0047edc0
add esp, 4
test eax, eax
jne 0x47c695
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
test eax, eax
je 0x47aea9
push dword [ebx + edi*8 + 4]
push dword [ebx + edi*8]
push eax
push dword [esi + 0x10]
call fcn.0046cbc0
add esp, 0x10
test eax, eax
jne 0x476ddf
mov eax, dword [ebp - 0x34]
test eax, eax
js 0x4771bf
push dword [ebx + edi*8 + 4]
push dword [ebx + edi*8]
push dword [esi + 0x10]
call fcn.0046cac0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
mov dword [ebp - 0x44], esi
lea ecx, [ecx + eax*8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
cmp word [eax + 2], 0
je 0x47af13
mov eax, dword [edi + 0xc8]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x47af10
jmp 0x47af00
cmp dword [eax + 0x1c], ecx
je 0x47714b
mov eax, dword [eax + 4]
test eax, eax
jne 0x47af00
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0xd0]
cmp eax, dword [ebx + 0x98]
jge 0x47c3bb
test byte [ecx + 8], 0x10
jne 0x47b0cf
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 8]
add esi, ecx
test ecx, ecx
jne 0x47af3c
inc esi
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx*4]
mov dword [ebp - 0x48], eax
cdq
push edx
push eax
push ebx
call fcn.00454c70
mov edi, eax
add esp, 0xc
test edi, edi
je 0x47c695
push dword [ebp - 0x30]
call fcn.0047ecb0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x58]
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x24], 0x47d3d0
mov eax, 0x410
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
mov dword [edi + 0x3c], esi
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x40], eax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x18]
mov dword [edi + 0x30], eax
mov eax, dword [edx + 0x58]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x38], eax
mov eax, dword [edx + 0x60]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x2c], eax
mov eax, dword [edx + 0x68]
mov dword [edi + 8], eax
mov eax, dword [edx + 0x6c]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [esi + 2]
add esp, 4
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
lea eax, [edi + 0x50]
cmp eax, ecx
je 0x47b01e
mov esi, 0x80
jmp 0x47b010
mov word [eax + 8], si
mov dword [eax + 0x20], ebx
add eax, 0x28
cmp eax, ecx
jne 0x47b010
mov esi, dword [ebp - 0x44]
inc dword [edx + 0xd0]
mov eax, dword [edx + 0xc8]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x24], eax
mov eax, dword [edx + 0x2c]
mov dword [edi + 0x44], eax
mov eax, dword [edx]
lea ecx, [edi + 0x50]
mov eax, dword [eax + 0x68]
mov dword [edi + 0x48], eax
mov eax, dword [edx + 0xdc]
mov dword [edi + 0x28], eax
mov dword [edx + 0x58], ecx
mov dword [edx + 0xdc], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0xc8], edi
mov eax, dword [edi + 0x3c]
mov dword [edx + 0x18], eax
movzx eax, word [edi + 0x40]
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x24], ecx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov dword [edx + 0x60], ecx
mov eax, dword [esi + 0xc]
lea ecx, [ecx + eax*4]
mov dword [edi + 0x18], ecx
mov eax, dword [esi + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call sub.MSVCR110.dll_memset
mov ecx, dword [esi]
mov edi, dword [ebp - 0x18]
add esp, 0xc
mov dword [edi + 0x68], ecx
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x58], ecx
add ecx, 0xffffffec
mov dword [edi + 0x6c], eax
mov dword [ebp - 0x14], ecx
jmp 0x478bae
mov edi, dword [ecx + 0x10]
mov edx, dword [ebp - 0x18]
jmp 0x47b021
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov esi, eax
mov eax, dword [edi + 0xc8]
push 0x1000
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 [ebp - 0x14]
add ecx, dword [edx + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
push eax
push esi
call fcn.0047f0e0
add esp, 0x14
jmp 0x47714b
mov eax, dword [ebx + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [ebp - 0x14]
je 0x47b152
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x14]
cdq
add dword [ebx + 0x1f8], eax
mov eax, dword [ebp - 0x1c]
adc dword [ebx + 0x1fc], edx
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x14]
cdq
je 0x47b17f
add dword [ebx + 0x1f0], eax
mov eax, dword [ebp - 0x1c]
adc dword [ebx + 0x1f4], edx
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
add dword [edi + 0x40], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
adc dword [edi + 0x44], edx
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0
je 0x47b1da
mov eax, dword [ebx + 0x1f0]
or eax, dword [ebx + 0x1f4]
jne 0x476df7
mov eax, dword [ebx + 0x1f8]
or eax, dword [ebx + 0x1fc]
je 0x476de2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov eax, dword [edi + 0x40]
or eax, dword [edi + 0x44]
jmp 0x47b1ae
mov edx, dword [edi + 0xc8]
test edx, edx
je 0x47b20d
mov eax, dword [edx + 4]
test eax, eax
je 0x47b1fc
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x47b1f3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea edi, [eax + ecx*8]
jmp 0x47b219
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
push edi
call fcn.0047e9f0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
call fcn.0047e9f0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
add esp, 8
cmp dword [edi + 4], ecx
jg 0x4771bf
jl 0x47b24c
cmp dword [edi], eax
jae 0x4771bf
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi], eax
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
lea esi, [eax + eax*4]
mov edi, dword [ebx + esi*8 + 4]
mov ecx, dword [ebx + esi*8]
test edi, edi
jl 0x4771bf
jg 0x47b27e
test ecx, ecx
je 0x4771bf
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
cdq
sub ecx, eax
sbb edi, edx
mov dword [ebx + esi*8], ecx
mov dword [ebx + esi*8 + 4], edi
jmp 0x476ddf
mov ecx, dword [ebp - 0x14]
push ecx
mov eax, dword [ecx + 4]
push edi
lea esi, [eax + eax*4]
mov eax, dword [ecx + 0xc]
lea ebx, [eax + eax*4]
call fcn.0043ddc0
mov ecx, dword [ebp - 0x24]
mov edi, eax
mov eax, dword [ecx + esi*8]
mov ecx, dword [ecx + esi*8 + 4]
add esp, 8
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], ecx
test ecx, ecx
jl 0x47b33b
jg 0x47b2d0
test eax, eax
je 0x47b33b
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + ebx*8 + 4]
mov eax, dword [esi + ebx*8]
test ecx, ecx
jl 0x47b2e4
jg 0x47b2fb
test eax, eax
jne 0x47b2fb
xorps xmm0, xmm0
movlpd qword [ebp - 0x130], xmm0
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x130]
push ecx
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.0044a340
add esp, 0xc
test eax, eax
jne 0x47b33e
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
mov dword [edi], eax
mov eax, dword [ebp - 0xf0]
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x476d7d
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov edi, dword [ebp - 0x18]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
lea esi, [eax + eax*4]
mov ecx, dword [ebx + esi*8]
mov edx, dword [ebx + esi*8 + 4]
mov eax, ecx
or eax, edx
je 0x47714b
test edx, edx
jl 0x476ddf
jg 0x47b394
test ecx, ecx
je 0x476ddf
sub ecx, 1
sbb edx, 0
mov dword [ebx + esi*8], ecx
jmp 0x476ddb
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea ecx, [eax + eax*4]
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [esi + ecx*8]
cmp edx, 0x80000000
jl 0x47b3cd
jg 0x47b3c0
test eax, eax
je 0x47b3cd
sub eax, 1
sbb edx, 0
mov dword [esi + ecx*8], eax
mov dword [esi + ecx*8 + 4], edx
mov eax, dword [esi + ecx*8]
or eax, dword [esi + ecx*8 + 4]
mov ecx, dword [ebp - 0x14]
je 0x476de2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
push 0
movzx eax, word [ecx + 2]
mov dword [ebp - 0x34], eax
lea eax, [eax*4 + 0x44]
push eax
push ebx
call fcn.00454b30
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47c698
mov eax, dword [ebp - 0x34]
add eax, 7
push 1
lea ecx, [esi + eax*4]
push ebx
push ecx
mov dword [esi + 8], 0
mov dword [esi], ecx
call fcn.0047e9d0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ecx + 0x10]
sub ecx, dword [ebp - 0x58]
mov dword [esi + 4], eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0xc], edi
mov byte [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x19], al
mov word [edx], 0xf09f
mov dword [edx + 0x10], esi
jmp 0x47b47a
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x24]
mov esi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov dword [ebp - 0x48], edi
cmp dword [esi + 8], edi
je 0x47b4c4
movzx ecx, byte [esi + 0x19]
dec ecx
mov dword [esi + 8], edi
js 0x47b4c4
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
lea edx, [ecx + 7]
lea edx, [esi + edx*4]
mov eax, dword [ebx + 8]
add eax, ecx
dec ecx
lea eax, [eax + eax*4]
lea edx, [edx - 4]
lea eax, [edi + eax*8]
mov dword [edx + 4], eax
jns 0x47b4a7
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
inc dword [edi + 0xc]
cmp dword [edx + 4], 0
mov ecx, dword [esi + 4]
lea eax, [esi + 0x1c]
push eax
movzx eax, byte [esi + 0x19]
push eax
push esi
je 0x47b4df
mov eax, dword [ecx + 0x1c]
jmp 0x47b4e2
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x47c021
jle 0x47b512
push dword [esi]
call fcn.00411100
push eax
push 0x4c8344
push dword [ebp - 0x18]
call fcn.00476c70
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp byte [esi + 0x18], 0
je 0x47b53c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0x10]
test eax, eax
je 0x47b538
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
push 0
lea eax, [ecx + eax*8]
push 1
push eax
call fcn.0047ed50
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.0047ecb0
mov eax, dword [esi]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov ecx, 1
mov word [eax + 8], cx
add esp, 4
mov dword [esi + 0x14], 0
jmp 0x477ad6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
push dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x47b59f
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
push esi
call fcn.0047e370
mov ecx, dword [ebp - 0x24]
mov edi, eax
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
jmp 0x47b5aa
push esi
call fcn.0047e5e0
add esp, 8
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
jne 0x47c3da
movzx eax, byte [ebp - 0x60]
push eax
push esi
call fcn.00476050
push esi
call fcn.0047f1e0
mov edi, dword [ebp - 0x18]
add esp, 0xc
test eax, eax
jne 0x47c479
jmp 0x47714b
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ecx + 8]
mov dword [ebp - 0x10], 0
push dword [ecx + 4]
mov dword [ebp - 8], 0xffffffff
push ebx
mov dword [ebp - 0xc], 0xffffffff
call fcn.00451160
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x20], edx
test edx, edx
je 0x47b628
cmp edx, 5
jne 0x47c207
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
xor esi, esi
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
lea esp, [esp]
mov eax, dword [ebp + esi*4 - 0x10]
cdq
push edx
push eax
push edi
call fcn.0047ed50
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x47b640
mov ecx, dword [ebp - 0x14]
jmp 0x476df1
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
add edx, edx
cmp esi, 0xffffffff
mov eax, dword [ecx + edx*8 + 4]
mov dword [ebp - 0x48], eax
mov ecx, dword [eax + 4]
mov edi, dword [ecx]
push edi
movzx edx, byte [edi + 5]
mov dword [ebp - 0x28], edx
cmove esi, edx
call fcn.004669b0
add esp, 0xc
test eax, eax
cmove esi, edx
cmp byte [edi + 0xf], 0
mov eax, 0x4c383c
jne 0x47b6b3
mov eax, dword [edi + 0xa8]
cmp esi, 5
jne 0x47b6dc
push eax
call fcn.00471960
add esp, 4
test eax, eax
je 0x47b6d2
push edi
call fcn.004677f0
add esp, 4
test eax, eax
jne 0x47b6d9
mov eax, dword [ebp - 0x28]
mov esi, eax
jmp 0x47b754
mov edx, dword [ebp - 0x28]
cmp esi, edx
je 0x47b751
cmp edx, 5
je 0x47b6ea
cmp esi, 5
jne 0x47b751
cmp byte [ebx + 0x51], 0
je 0x47c3fa
cmp dword [ebx + 0xb8], 1
jg 0x47c3fa
cmp edx, 5
jne 0x47b723
push ebx
push edi
call fcn.00466390
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x47b75c
push esi
push edi
call fcn.00467290
add esp, 8
jmp 0x47b739
cmp edx, 4
jne 0x47b733
push 2
push edi
call fcn.00467290
add esp, 8
cmp dword [ebp - 0x20], 0
jne 0x47b75c
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [ebp - 0x48]
call fcn.004507f0
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x20], 0
je 0x47b761
jmp 0x47b75f
mov eax, dword [ebp - 0x28]
mov esi, eax
push esi
push edi
call fcn.00467290
mov esi, dword [ebp - 0x34]
mov ecx, 0xa02
push eax
mov word [esi + 8], cx
call fcn.00463af0
push eax
mov dword [esi + 0x10], eax
call fcn.00471960
mov dword [esi + 0xc], eax
movzx eax, byte [ebp - 0x60]
push eax
push esi
mov byte [esi + 0xa], 1
call fcn.00476050
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
add esp, 0x18
jmp 0x477ad6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
test eax, eax
je 0x47b7b5
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
jmp 0x47b7b7
xor eax, eax
push eax
push dword [ecx + 4]
lea eax, [edi + 0x7c]
push ebx
push eax
call fcn.0046d1c0
add esp, 0x10
jmp 0x47954b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ecx + 4]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.0044e730
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
je 0x47c027
cmp edx, 0x65
jne 0x47c207
mov dword [ebp - 0x20], 0
jmp 0x476ddf
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0
jne 0x47b832
push dword [ecx + 8]
push ebx
call fcn.00456ee0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add esp, 8
add ecx, 0x14
jmp 0x476d7d
mov eax, dword [ecx + 8]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
inc eax
xor eax, dword [edi + 0x98]
and eax, 3
xor dword [edi + 0x98], eax
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov ebx, dword [ebp - 0x5c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x8c]
or byte [eax + 1], 0x40
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov ebx, dword [ebp - 0x5c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x8c]
and byte [eax + 1], 0xbf
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x476d7d
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx + 0xc]
mov byte [ebp - 0x10c], al
test al, al
jne 0x47b8db
mov eax, dword [ebx + 0x20]
and eax, 0x400
mov dword [ebp - 0x4c], eax
mov eax, 0
jne 0x476df7
test eax, eax
jne 0x476df7
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
push dword [eax + 8]
mov eax, dword [ebx + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.0044f300
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
je 0x476e2d
mov esi, dword [ebp - 0x14]
cmp dl, 6
jne 0x47c20a
push dword [esi + 0x10]
push str.database_table_is_locked:__s
push edi
call fcn.00476c70
mov edx, dword [ebp - 0x20]
add esp, 0xc
jmp 0x47c20a
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + 0x10]
push esi
push ebx
call fcn.004814c0
add esp, 8
mov edx, eax
mov dword [ebp - 0x20], edx
test esi, esi
je 0x477ad6
push dword [esi + 8]
push edi
call fcn.00481e70
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x477ad6
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
mov eax, dword [ecx + 8]
movq qword [ebp - 0x264], xmm0
lea eax, [eax + eax*4]
movq qword [ebp - 0x284], xmm0
lea eax, [esi + eax*8]
push eax
lea eax, [ebp - 0x284]
push eax
movq qword [ebp - 0x27c], xmm0
movq qword [ebp - 0x274], xmm0
movq qword [ebp - 0x26c], xmm0
mov dword [ebp - 0x264], ebx
call fcn.0047e500
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x284]
push eax
call fcn.00411100
add esp, 0xc
test eax, eax
je 0x47b9d5
lea ecx, [edi + 0x7c]
push ecx
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
push ebx
call fcn.00481770
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x284]
push eax
call fcn.0047ecb0
mov edx, dword [ebp - 0x20]
add esp, 4
jmp 0x479550
mov ecx, dword [ebp - 0x14]
inc dword [ebx + 0xc4]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.00481850
add esp, 0xc
dec dword [ebx + 0xc4]
jmp 0x47954b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa4], 0
mov eax, dword [ecx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x47c443
mov edi, dword [esi]
test edi, edi
je 0x47c440
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [edi + 0x18]
push esi
call eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.00481e70
mov edx, dword [ebp - 0x20]
add esp, 0x10
test edx, edx
jne 0x47c204
mov eax, dword [ebp - 0xa4]
push 2
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push edx
push dword [eax + 4]
push dword [ebp - 0x18]
call fcn.00423c20
add esp, 0x14
test eax, eax
je 0x47c42d
mov ecx, dword [ebp - 0xa4]
mov dword [eax + 0x30], ecx
inc dword [esi + 4]
mov ecx, dword [ebp - 0x14]
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x60]
mov edi, dword [edi + 0x5c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x44], eax
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x50], eax
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
lea esi, [esi + edx*8]
add esi, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], esi
mov esi, dword [esi]
mov eax, dword [eax + edx*8]
xor ecx, ecx
mov dword [ebp - 0x48], eax
test esi, esi
jle 0x47bb63
cmp esi, 4
jb 0x47bb48
cmp dword [0x4db390], 2
jl 0x47bb48
movd xmm0, dword [ebp - 0x34]
movdqa xmm2, xmmword [0x4ccae0]
mov eax, esi
pshufd xmm1, xmm0, 0
and eax, 0x80000003
jns 0x47bb09
dec eax
or eax, 0xfffffffc
inc eax
movdqa xmm4, xmmword [0x4ccaf0]
movdqa xmm3, xmmword [0x4ccad0]
mov edx, esi
sub edx, eax
mov eax, edi
nop
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
paddd xmm0, xmm3
pmulld xmm0, xmm4
paddd xmm0, xmm1
add ecx, 4
movdqu xmmword [eax], xmm0
lea eax, [eax + 0x10]
cmp ecx, edx
jl 0x47bb20
cmp ecx, esi
jge 0x47bb63
mov edx, dword [ebp - 0x34]
lea eax, [ecx + 1]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [edi + ecx*4], eax
inc ecx
add eax, 0x28
cmp ecx, esi
jl 0x47bb58
mov eax, dword [ebp - 0x14]
push edi
mov edi, dword [ebp - 0x40]
push esi
push dword [eax + 0x10]
mov esi, dword [ebp - 0x50]
push dword [ebp - 0x48]
mov eax, dword [edi + 0x20]
push esi
call eax
push dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x18]
call fcn.00481e70
mov edx, dword [ebp - 0x20]
add esp, 0x1c
test edx, edx
jne 0x47c204
mov eax, dword [edi + 0x28]
push esi
call eax
mov ecx, dword [ebp - 0x44]
add esp, 4
mov byte [ecx + 2], 0
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x476df1
jmp 0x476de2
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 4]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
cmp byte [edi + 2], 0
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
je 0x47bbe2
push esi
call fcn.0047ed90
mov ecx, dword [ebp - 0x14]
add esp, 4
jmp 0x476df1
test byte [edx + 2], 1
mov eax, dword [edi + 0x30]
xorps xmm0, xmm0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [eax]
movq qword [ebp - 0x20c], xmm0
mov dword [ebp - 0x48], eax
movq qword [ebp - 0x204], xmm0
movq qword [ebp - 0x1fc], xmm0
movq qword [ebp - 0x1f4], xmm0
mov dword [ebp - 0x20c], esi
je 0x47bc37
push esi
call fcn.0047ed90
mov edx, dword [ebp - 0x14]
add esp, 4
mov eax, 0x4001
mov dword [esi], 0
jmp 0x47bc47
mov ax, word [esi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [esi + 8], ax
push dword [edx + 8]
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x48]
push dword [edi + 0x30]
mov eax, dword [eax + 0x2c]
call eax
push dword [ebp - 0x34]
mov edi, dword [ebp - 0x18]
push edi
mov dword [ebp - 0x20], eax
call fcn.00481e70
add esp, 0x14
cmp dword [ebp - 0x1f8], 0
jle 0x47bc99
push esi
call fcn.00411100
push eax
push 0x4c8344
push edi
call fcn.00476c70
mov eax, dword [ebp - 0x1f8]
add esp, 0x10
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x60]
push eax
push esi
call fcn.00476050
push esi
call fcn.0047f1e0
add esp, 0xc
test eax, eax
jne 0x47c479
mov edx, dword [ebp - 0x20]
jmp 0x477ad6
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
mov edi, dword [eax + ecx*4]
cmp byte [edi + 2], 0
jne 0x47786a
mov eax, dword [edi + 0x30]
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp - 0x48], ecx
mov eax, dword [ecx + 0x24]
call eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.00481e70
mov edx, dword [ebp - 0x20]
add esp, 0xc
test edx, edx
jne 0x47c204
mov eax, dword [ebp - 0x48]
push dword [edi + 0x30]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x478ba5
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
mov dword [ebp - 0x14], ecx
jmp 0x478bae
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp - 0x14]
or dword [ebx + 0x20], 0x4000000
mov dword [ebx + 0x24], eax
mov eax, dword [ecx + 0x10]
push 1
mov esi, dword [eax + 8]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
and edi, 0x4000000
lea eax, [ecx + eax*8]
push eax
mov dword [ebp - 0x48], eax
call fcn.00476050
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c204
mov ecx, dword [ebp - 0x48]
mov eax, dword [esi]
push dword [ecx + 0x10]
mov eax, dword [eax + 0x4c]
push esi
call eax
add esp, 8
mov dword [ebp - 0x20], eax
test edi, edi
jne 0x47bd9e
mov eax, dword [ebx + 0x24]
and dword [ebx + 0x20], 0xfbffffff
mov dword [ebx + 0x24], eax
mov edi, dword [ebp - 0x18]
push esi
push edi
call fcn.00481e70
mov edx, dword [ebp - 0x20]
add esp, 8
and dword [edi + 0x98], 0xfffffffc
jmp 0x477ad6
cmp byte [ebx + 0x53], 0
jne 0x47c698
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov edi, dword [eax + 8]
test edi, edi
je 0x47c469
mov eax, dword [edi]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x47c469
cmp dword [eax + 0x34], 0
mov edx, dword [edx + 8]
je 0x47786a
mov al, byte [ebx + 0x58]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x5c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
xor eax, eax
test edx, edx
jle 0x47be1b
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x47be10
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 2]
mov byte [ebx + 0x58], al
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebp - 0x48]
push esi
mov eax, dword [eax + 0x34]
push edx
push edi
call eax
push edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov al, byte [ebp - 0x39]
push edi
mov byte [ebx + 0x58], al
call fcn.00481e70
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add esp, 0x18
test edx, edx
jne 0x47be70
cmp dword [eax + 4], edx
je 0x47be70
mov eax, dword [ebp - 0x148]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x144]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x14]
cmp dl, 0x13
jne 0x47beab
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x10], 0
je 0x47beab
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
cmp eax, 4
jne 0x47be96
mov dword [ebp - 0x20], 0
jmp 0x47714b
cmp eax, 5
jne 0x47bea0
mov eax, 2
mov byte [edi + 0x92], al
jmp 0x477ad6
inc dword [edi + 0x2c]
jmp 0x477ad6
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ecx + 4]
mov ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 0x5c]
add edx, edx
mov ecx, dword [ecx + edx*8 + 4]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x30]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x476d7d
push dword [ebp - 0x14]
push edi
call fcn.0043ddc0
mov ecx, dword [ebx + 0x10]
mov edi, eax
mov eax, dword [ebp - 0x14]
add esp, 8
mov edx, dword [eax + 4]
add edx, edx
mov esi, dword [ecx + edx*8 + 4]
mov edx, dword [eax + 0xc]
xor ecx, ecx
test edx, edx
je 0x47bf25
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x30]
cmp ecx, edx
cmovb ecx, edx
push ecx
push esi
call fcn.0044f370
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [edi], eax
mov dword [edi + 4], 0
jmp 0x476df1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov dword [ebp - 0x48], edi
cmp dword [esi], edi
je 0x47bf8e
movzx ecx, byte [esi + 0x19]
dec ecx
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xc], eax
mov dword [esi], edi
js 0x47bf8e
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
lea edx, [esi + 0x1c]
lea edx, [edx + ecx*4]
mov eax, dword [ebx + 8]
add eax, ecx
dec ecx
lea eax, [eax + eax*4]
lea edx, [edx - 4]
lea eax, [edi + eax*8]
mov dword [edx + 4], eax
jns 0x47bf74
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x48]
mov ax, word [edi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [edi + 8], ax
mov ecx, dword [esi + 4]
lea eax, [esi + 0x1c]
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 0x47c00a
jle 0x47bfdd
push edi
call fcn.00411100
push eax
push 0x4c8344
push dword [ebp - 0x18]
call fcn.00476c70
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp - 0x18]
push dword [esi + 0x10]
add eax, 0xdc
push eax
push ebx
call fcn.004766c0
mov edx, dword [ebp - 0x20]
add esp, 0x10
mov dword [esi + 0x14], 0
test edx, edx
jne 0x47c204
test byte [edi + 8], 0x12
je 0x47c021
movzx eax, byte [ebp - 0x60]
push eax
push edi
call fcn.00476050
push edi
jmp 0x47b5c1
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x476d7d
mov cl, byte [ebx + 0x5a]
test cl, 0x41
je 0x47c0e1
cmp byte [edi + 0x95], 0
jne 0x47c0e1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x47c06b
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x47c0e1
push eax
test cl, 0x40
je 0x47c096
push edi
call fcn.0047cb80
mov ecx, dword [ebx + 0xd0]
mov esi, eax
push esi
push dword [ebx + 0xd4]
call ecx
push esi
call fcn.004187d0
mov esi, dword [ebp - 0x24]
add esp, 0x14
jmp 0x47c0e1
cmp dword [ebx + 0xc0], 1
jle 0x47c0cd
push str.____s
push ebx
call fcn.00464e60
mov ecx, dword [ebx + 0xd0]
mov esi, eax
push esi
push edi
push dword [ebx + 0xd4]
push 1
call ecx
push esi
push ebx
call fcn.00454aa0
mov esi, dword [ebp - 0x24]
add esp, 0x24
jmp 0x47c0e1
mov eax, dword [ebx + 0xd0]
push edi
push dword [ebx + 0xd4]
push 1
call eax
add esp, 0x10
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
cmp eax, dword [0x4d9d18]
jl 0x47c12b
cmp byte [ecx], 0xae
je 0x476df7
mov edx, 1
cmp dword [edi + 0x6c], edx
jle 0x47c124
mov eax, 0x14
mov ecx, dword [edi + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x47c118
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [edi + 0x6c]
jl 0x47c107
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], 0
inc dword [ecx + 4]
inc dword [edi + 0xbc]
jmp 0x476de2
mov eax, dword [edx + 4]
mov dword [edi + 0x28], eax
cmp dword [edi + 0x28], 0
mov al, byte [edx + 8]
mov byte [edi + 0x92], al
mov dword [edi + 0x24], esi
je 0x47c1be
movzx eax, word [edx + 2]
test ax, ax
je 0x47c190
push dword [eax*4 + 0x4c11fc]
push str._s_constraint_failed
push edi
call fcn.00476c70
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x47c1a1
push eax
push dword [edi + 0x7c]
push str._z:__s
push ebx
call fcn.00464e60
add esp, 0x10
mov dword [edi + 0x7c], eax
jmp 0x47c1a1
push dword [edx + 0x10]
push 0x4c8344
push edi
call fcn.00476c70
add esp, 0xc
push dword [edi + 0x7c]
mov eax, dword [ebp - 0x14]
push dword [edi + 0xc0]
push esi
push str.abort_at__d_in___s_:__s
push dword [eax + 4]
call fcn.00422430
add esp, 0x14
push edi
call fcn.0047d5d0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x20], ecx
cmp ecx, 5
jne 0x47c1d9
mov dword [edi + 0x28], eax
jmp 0x47c819
cmp dword [edi + 0x28], 0
mov ecx, 0x65
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x47c819
push 0x15d18
call fcn.00453110
add esp, 4
mov edx, eax
mov dword [ebp - 0x20], edx
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
cmp byte [ebx + 0x53], 0
je 0x47c6b9
mov edx, 7
jmp 0x47c6e4
push str.cannot_open_savepoint___SQL_statements_in_progress
push edi
call fcn.00476c70
mov edx, 5
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x47c207
mov edi, dword [ebp - 0x18]
push str.cannot_release_savepoint___SQL_statements_in_progress
jmp 0x47c223
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x18]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x24], eax
mov esi, 5
mov byte [ebx + 0x51], 0
mov dword [edi + 0x28], esi
jmp 0x47c820
mov edi, dword [ebp - 0x18]
push str.no_such_savepoint:__s
push edi
call fcn.00476c70
mov edx, 1
add esp, 0xc
mov dword [ebp - 0x20], edx
jmp 0x47c207
mov edx, 8
mov dword [ebp - 0x20], edx
jmp 0x47c207
cmp dl, 5
jne 0x47c207
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x20]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], esi
jmp 0x47c820
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x47c2d8
push eax
push ebx
call fcn.00454ac0
add esp, 8
push str.database_schema_has_changed
push ebx
call fcn.00454e00
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 0x14]
add esp, 8
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0x10]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xac]
je 0x47c30e
push edx
push ebx
call fcn.0046c110
add esp, 8
mov eax, dword [edi + 0x98]
and eax, 0xfffffffd
or eax, 1
mov edx, 0x11
mov dword [edi + 0x98], eax
mov dword [ebp - 0x20], edx
jmp 0x47c207
mov edx, 0x204
mov dword [ebp - 0x20], edx
jmp 0x47c207
mov edx, 0xd
jmp 0x47c201
push 0x4cc94c
push 0x1691e
push str.index_corruption
push str._s_at_line__d_of___.10s_
push 0x30b
call fcn.00422430
add esp, 0x14
mov edx, 0x30b
jmp 0x47c201
push 0x169ea
call fcn.00453110
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
jmp 0x47c207
mov edx, 6
mov dword [ebp - 0x20], edx
mov byte [edi + 0x92], 2
jmp 0x47c207
mov dword [ebp - 0x20], 7
push ebx
call fcn.0046c090
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 7
je 0x47c698
jmp 0x47c207
push str.too_many_levels_of_trigger_recursion
push edi
mov dword [ebp - 0x20], 1
call fcn.00476c70
add esp, 8
mov edx, 1
jmp 0x47c207
push esi
call fcn.00411100
mov edi, dword [ebp - 0x18]
push eax
push 0x4c8344
push edi
call fcn.00476c70
mov edx, dword [ebp - 0x20]
add esp, 0x10
jmp 0x47c207
mov edi, dword [ebp - 0x18]
mov ecx, str.out_of
mov eax, str.into
cmp esi, 5
cmovne eax, ecx
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push edi
mov dword [ebp - 0x20], 1
call fcn.00476c70
add esp, 0xc
mov edx, 1
jmp 0x47c207
push dword [ebp - 0xa4]
mov eax, dword [edi + 0x1c]
call eax
add esp, 4
jmp 0x47c695
mov edi, dword [ebp - 0x18]
mov edx, 6
mov dword [ebp - 0x20], edx
jmp 0x47c207
or ecx, 0xffffffff
or eax, 0xffffffff
mov edx, 9
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x20], edx
jmp 0x47c207
mov edx, 6
jmp 0x47c201
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x18]
push str.string_or_blob_too_big
push edi
call fcn.00476c70
mov edx, 0x12
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x47c207
push 0
push edi
call fcn.004761f0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c207
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0x14]
add eax, 2
or eax, 1
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov dword [edi + 0x78], esi
xor edi, edi
cmp dword [ecx + 8], edi
jle 0x47c501
mov edi, edi
mov eax, 0x1000
test word [esi + 8], ax
je 0x47c4ec
push esi
call fcn.0047ea70
add esp, 4
test eax, eax
jne 0x47c695
push esi
call fcn.0047eb40
mov eax, dword [ebp - 0x14]
inc edi
add esp, 4
add esi, 0x28
cmp edi, dword [eax + 8]
jl 0x47c4d0
cmp byte [ebx + 0x53], 0
jne 0x47c695
test byte [ebx + 0x5a], 4
mov edi, dword [ebp - 0x18]
je 0x47c52a
mov eax, dword [ebx + 0xd0]
push 0
push edi
push dword [ebx + 0xd4]
push 4
call eax
add esp, 0x10
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x58]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [edi + 0x24], eax
mov esi, 0x64
jmp 0x47c820
mov edx, dword [ebp - 0x14]
movzx eax, byte [ebx + 0x51]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [ebp - 0x34], ecx
cmp ecx, eax
je 0x47c613
test edx, edx
je 0x47c57f
push 0x204
push ebx
call fcn.0046c750
add esp, 8
mov byte [ebx + 0x51], 1
jmp 0x47c5b4
test ecx, ecx
je 0x47c596
cmp dword [ebx + 0xbc], 0
jle 0x47c596
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x47c223
push 1
push edi
call fcn.004761f0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x47c819
mov eax, dword [ebp - 0x34]
mov byte [ebx + 0x51], al
push edi
call fcn.0047d5d0
add esp, 4
cmp eax, 5
jne 0x47c5f1
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x58]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x24], eax
mov al, 1
sub al, byte [ebp - 0x34]
mov esi, 5
mov byte [ebx + 0x51], al
mov dword [edi + 0x28], esi
jmp 0x47c820
push ebx
call fcn.00451800
add esp, 4
cmp dword [edi + 0x28], 0
mov ecx, 1
mov eax, 0x65
cmove ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x47c819
test ecx, ecx
jne 0x47c633
mov eax, str.cannot_start_a_transaction_within_a_transaction
push eax
push edi
call fcn.00476c70
mov edx, 1
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x47c207
mov ecx, str.cannot_commit___no_transaction_is_active
test edx, edx
mov eax, str.cannot_rollback___no_transaction_is_active
cmove eax, ecx
push eax
push edi
call fcn.00476c70
mov edx, 1
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x47c207
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x1c], eax
mov edx, 9
mov dword [ebp - 0x20], edx
jmp 0x47c207
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x1c], eax
jmp 0x47c698
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x18]
push ebx
call fcn.00465820
push str.out_of_memory
push edi
call fcn.00476c70
mov edx, 7
add esp, 0xc
mov dword [ebp - 0x20], edx
jmp 0x47c207
cmp edx, 0x210a
jne 0x47c6e7
push 0x4cc94c
push 0x17213
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422430
add esp, 0x14
mov edx, 0xb
mov dword [ebp - 0x20], edx
cmp dword [edi + 0x7c], 0
jne 0x47c744
cmp edx, 0xc0a
je 0x47c744
mov eax, edx
mov ecx, str.unknown_error
sub eax, 0x64
je 0x47c730
dec eax
je 0x47c729
sub eax, 0x19f
je 0x47c722
movzx eax, dl
cmp eax, 0x1c
ja 0x47c735
mov eax, dword [eax*4 + 0x4c2d30]
test eax, eax
je 0x47c735
mov ecx, eax
jmp 0x47c735
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x47c735
mov ecx, str.no_more_rows_available
jmp 0x47c735
mov ecx, str.another_row_available
push ecx
push 0x4c8344
push edi
call fcn.00476c70
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x28], eax
cmp eax, 0xc0a
je 0x47c778
movzx eax, al
cmp eax, 0xe
je 0x47c75e
cmp eax, 0xa
jne 0x47c778
mov eax, dword [ebx]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x47c773
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x47c775
xor eax, eax
mov dword [ebx + 0x48], eax
push dword [edi + 0x7c]
mov ecx, esi
sub ecx, dword [ebp - 0x58]
push dword [edi + 0xc0]
mov esi, dword [ebp - 0x20]
mov eax, 0x66666667
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 esi
call fcn.00422430
push edi
call fcn.0047d5d0
add esp, 0x18
cmp esi, 0xc0a
jne 0x47c7fa
cmp byte [ebx + 0x53], 0
jne 0x47c7fa
cmp byte [ebx + 0x54], 0
jne 0x47c7fa
cmp dword [ebx + 0xc0], 0
mov byte [ebx + 0x53], 1
jle 0x47c7da
mov dword [ebx + 0x118], 1
inc dword [ebx + 0x120]
xor eax, eax
mov word [ebx + 0x124], ax
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x47c7fa
mov dword [eax + 0xc], 7
mov al, byte [ebp - 0x6d]
mov esi, 1
test al, al
je 0x47c820
movzx eax, al
dec eax
push eax
push ebx
call fcn.0046c110
add esp, 8
jmp 0x47c820
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
lea esp, [esp]
mov edx, dword [ebp - 0x74]
cmp dword [ebp - 0x8c], edx
jb 0x47c876
mov ecx, dword [ebp - 0x68]
ja 0x47c835
cmp dword [ebp - 0x1c], ecx
jb 0x47c876
mov eax, dword [ebx + 0x160]
test eax, eax
je 0x47c876
add ecx, dword [ebx + 0x168]
push dword [ebx + 0x164]
adc edx, 0
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x74], edx
call eax
add esp, 4
test eax, eax
je 0x47c820
or ecx, 0xffffffff
or eax, 0xffffffff
mov edx, 9
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x20], edx
jmp 0x47c207
mov ecx, dword [ebp - 0x1c]
add dword [edi + 0xb4], ecx
cmp dword [edi + 0xa0], 0
je 0x47c891
push edi
call fcn.00490330
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a9190
mov esp, ebp
pop ebp
ret