Function at 0x476f90
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 [0x4d8c08]
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.00476ee0
add esp, 4
cmp dword [ebx + 0x160], 0
je 0x47700c
mov ecx, dword [ebx + 0x168]
mov eax, dword [edi + 0xb4]
xor edx, edx
div ecx
sub ecx, edx
xor eax, eax
jmp 0x477012
or ecx, 0xffffffff
or eax, 0xffffffff
cmp dword [edi + 0x28], 7
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x68], ecx
je 0x47c96b
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 0x47c949
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.0x477096.86
jmp dword [edx*4 + 0x47cb94]
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 0x47706d
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 0x47706d
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 0x4770d2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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 0x477110
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 0x47706d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
je 0x4770e7
jmp 0x477205
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 0x47c429
mov ecx, dword [edi + 0xc8]
test ecx, ecx
je 0x47c429
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.0047d6e0
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp dword [ecx + 8], 4
jne 0x477269
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 0x47706d
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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 0x47706d
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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 0x47706d
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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 0x47706d
push dword [ebp - 0x14]
push edi
call fcn.0043e110
mov esi, eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0x10]
push edi
call fcn.00471c90
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp byte [ebp - 0x60], 1
mov dword [ecx + 4], eax
je 0x4773c5
push 0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push esi
call fcn.0047f110
mov edi, eax
add esp, 0x18
mov dword [ebp - 0x20], edi
test edi, edi
jne 0x47c766
movzx ecx, byte [ebp - 0x60]
push ecx
push esi
call fcn.00476340
add esp, 8
test eax, eax
jne 0x47c985
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [ecx + 1], 0xf9
jne 0x4773b5
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4773b5
push eax
push ebx
call fcn.00454e30
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 0x47c769
mov byte [ecx], 0x47
jmp 0x4773dc
mov ecx, dword [ebp - 0x14]
push ecx
push edi
call fcn.0043e110
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 0x4791fa
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 0x47c314
cmp dword [ebx + ecx*8 + 4], edx
jne 0x4791fa
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 0x47706d
mov ebx, dword [ebp - 0x14]
push ebx
push edi
call fcn.0043e110
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 0x4791f7
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.0047f080
dec edi
add esp, 4
mov word [esi - 4], bx
mov dword [esi], 0
test edi, edi
jg 0x477491
mov ecx, dword [ebp - 0x14]
jmp 0x4770e1
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 0x477118
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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.0047f110
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 0x47706d
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.0047f4d0
add esp, 4
test eax, eax
jne 0x47c766
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 0x47755d
push esi
call fcn.0047f080
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 0x4770e1
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.0047edc0
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x4775d6
push esi
call fcn.0047ed60
add esp, 4
test eax, eax
jne 0x47c985
add edi, 0x28
add esi, 0x28
dec dword [ebp - 0x40]
jne 0x4775b0
mov ecx, dword [ebp - 0x14]
jmp 0x4770e1
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.0047f3d0
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x47762c
push esi
call fcn.0047ed60
add esp, 4
test eax, eax
jne 0x47c982
mov eax, ebx
dec ebx
test eax, eax
je 0x4791f7
add esi, 0x28
add edi, 0x28
jmp 0x477601
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.0047f3d0
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 0x47706d
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.0047f040
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 0x47706d
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 0x4776f8
push edi
call fcn.0047f080
mov ecx, dword [ebp - 0x14]
add esp, 4
jmp 0x4770e1
test dl, 0x12
jne 0x47772a
push 0
push dword [ebp - 0x60]
push ecx
call fcn.0047f430
add esp, 0xc
test eax, eax
jne 0x47c985
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 0x477758
test edx, 0x4000
je 0x477758
push ecx
call fcn.0047e870
add esp, 4
test eax, eax
jne 0x47c985
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 0x477773
push 0
push dword [ebp - 0x60]
push esi
call fcn.0047f430
add esp, 0xc
jmp 0x477783
test eax, 0x4000
je 0x47779d
push esi
call fcn.0047e870
add esp, 4
test eax, eax
jne 0x47c985
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 0x47c766
mov ecx, dword [ebp - 0x28]
jl 0x4777c5
cmp ecx, eax
ja 0x47c766
xor eax, eax
cmp edi, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push edi
call fcn.0047ead0
add esp, 0xc
test eax, eax
jne 0x47c985
mov ax, word [edi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [edi + 8], ax
cmp edi, esi
je 0x477812
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 0x4770e1
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.0043d980
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.0043d980
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 0x4779c9
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.0x4778ee
jmp dword [eax*4 + 0x47ce50]
push edx
push ecx
lea eax, [ebp - 0x94]
push eax
call fcn.0044a690
add esp, 0xc
test eax, eax
je 0x477999
mov esi, dword [ebp - 0x54]
jmp 0x4779e3
push edx
push ecx
lea eax, [ebp - 0x94]
push eax
call fcn.00471cb0
add esp, 0xc
test eax, eax
jne 0x47790e
jmp 0x477999
push edx
push ecx
lea eax, [ebp - 0x94]
push eax
call fcn.004657b0
add esp, 0xc
test eax, eax
jne 0x47790e
jmp 0x477999
mov eax, ecx
or eax, edx
je 0x4779cd
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x477963
test esi, esi
jne 0x477963
cmp edi, 0x80000000
je 0x47790e
push edx
push ecx
push edi
push esi
call fcn.004a7e40
jmp 0x47798d
mov eax, ecx
or eax, edx
je 0x4779cd
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x477984
mov ecx, 1
xor edx, edx
push edx
push ecx
push edi
push esi
call fcn.004a8010
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 0x4770e1
test al, 1
je 0x4779e0
push dword [ebp - 0x44]
call fcn.0047f080
mov ecx, dword [ebp - 0x14]
add esp, 4
jmp 0x4770e1
mov ebx, dword [ebp - 0x30]
push esi
call fcn.0047fdc0
fstp qword [ebp - 0x38]
push ebx
call fcn.0047fdc0
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.0x477a06
jmp dword [eax*4 + 0x47ce60]
movsd xmm0, qword [ebp - 0x4c]
addsd xmm0, qword [ebp - 0x38]
jmp 0x477ab3
movsd xmm0, qword [ebp - 0x4c]
subsd xmm0, qword [ebp - 0x38]
jmp 0x477ab3
movsd xmm0, qword [ebp - 0x4c]
mulsd xmm0, qword [ebp - 0x38]
jmp 0x477ab3
movsd xmm1, qword [ebp - 0x38]
xorps xmm0, xmm0
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jnp 0x4779cd
movsd xmm0, qword [ebp - 0x4c]
divsd xmm0, xmm1
jmp 0x477ab3
push esi
call fcn.0047de10
push ebx
mov esi, eax
mov edi, edx
call fcn.0047de10
mov ecx, esi
add esp, 8
or ecx, edi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
je 0x4779cd
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x477a90
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.004a8010
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.00463b90
add esp, 8
test eax, eax
jne 0x4779cd
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 0x4770e1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4770e7
lea eax, [eax + eax*4]
push 0
lea eax, [esi + eax*8]
push 0
push eax
call fcn.0047f040
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 0x47706d
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 0x477b74
push edx
call fcn.0047f080
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 0x47706d
push ecx
call fcn.0047de10
mov ebx, eax
mov esi, edx
push edi
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], esi
call fcn.0047de10
mov edi, eax
mov eax, dword [ebp - 0x14]
add esp, 8
mov cl, byte [eax]
cmp cl, 0x66
jne 0x477ba8
and ebx, edi
and esi, edx
jmp 0x477c39
cmp cl, 0x67
jne 0x477bb6
or ebx, edi
or esi, edx
jmp 0x477c39
mov eax, edi
or eax, edx
je 0x477c39
test edx, edx
jg 0x477bee
jl 0x477bca
test edi, edi
jae 0x477be3
mov al, 0xd1
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x477bee
jg 0x477bdc
cmp edi, 0xffffffc0
jbe 0x477bee
neg edi
adc edx, 0
neg edx
test edx, edx
jl 0x477c10
jg 0x477bee
cmp edi, 0x40
jb 0x477c10
test esi, esi
jg 0x477c07
jl 0x477bf8
test ebx, ebx
jae 0x477c07
cmp cl, 0x68
je 0x477c07
or eax, 0xffffffff
cdq
mov ebx, eax
mov esi, edx
jmp 0x477c39
xor eax, eax
cdq
mov ebx, eax
mov esi, edx
jmp 0x477c39
movq xmm1, qword [ebp - 0x104]
movd xmm0, edi
cmp cl, 0x68
jne 0x477c5d
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 0x4770e1
psrlq xmm1, xmm0
movq qword [ebp - 0x88], xmm1
test esi, esi
jg 0x477c2d
jl 0x477c73
test ebx, ebx
jae 0x477c2d
mov ecx, 0x40
sub ecx, edi
or eax, 0xffffffff
or edx, 0xffffffff
call fcn.004a80d0
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x84]
or ebx, eax
or esi, edx
jmp 0x477c39
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
call fcn.0047ece0
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 0x47706d
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 0x477d26
test al, 8
jne 0x477cfb
test al, 2
je 0x477d07
push 1
push esi
call fcn.004252e0
add esp, 8
jmp 0x477d04
push esi
call fcn.0047de60
add esp, 4
mov ecx, dword [ebp - 0x14]
movzx eax, word [esi + 8]
test al, 4
jne 0x477d26
cmp dword [ecx + 8], 0
jne 0x4770d2
mov edx, 0x14
mov dword [ebp - 0x20], edx
jmp 0x47c4f7
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 0x47706d
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 0x4770e7
push eax
call fcn.0047ef30
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 0x47706d
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 0x477dad
push esi
call fcn.0047e870
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x60]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.0047e6d0
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
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 0x47706d
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 0x477e8c
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [edi]
cmp ebx, esi
jl 0x477e50
jg 0x477e28
cmp ecx, eax
jbe 0x477e46
mov eax, dword [0x4d7be8]
mov dword [ebp - 0x64], 1
cmp byte [edx + eax], 0
jne 0x4770cf
mov ecx, dword [ebp - 0x14]
jmp 0x4770e1
cmp ebx, esi
jg 0x477e6e
jl 0x477e50
cmp ecx, eax
jae 0x477e6e
mov eax, dword [0x4d7be0]
mov ecx, dword [ebp - 0x14]
cmp byte [edx + eax], 0
mov dword [ebp - 0x64], 0xffffffff
jne 0x4770d2
jmp 0x4770e1
mov eax, dword [0x4d7be4]
mov ecx, dword [ebp - 0x14]
cmp byte [edx + eax], 0
mov dword [ebp - 0x64], 0
jne 0x4770d2
jmp 0x4770e1
movzx edx, word [edi + 8]
mov ecx, eax
or ecx, edx
test cl, 1
je 0x477ef7
mov ecx, dword [ebp - 0x14]
movzx ecx, word [ecx + 2]
test cl, cl
jns 0x477edf
test bl, 1
je 0x477ec7
test eax, 0x100
jne 0x477ec7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x64], 0
movzx ecx, byte [eax]
mov eax, dword [0x4d7be4]
jmp 0x477fec
test byte [ebp - 0x2c], 1
mov edx, 0
sete dl
lea edx, [edx*2 - 1]
jmp 0x477fbe
test cl, 0x10
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x64], 1
jne 0x4770d2
jmp 0x4770e1
mov ebx, dword [ebp - 0x14]
mov al, byte [ebx + 2]
and al, 0x47
cmp al, 0x43
jl 0x477f41
test cl, 2
je 0x477faf
mov al, byte [ebp - 0x28]
and al, 0x2e
cmp al, 2
jne 0x477f27
push 0
push edi
call fcn.004252e0
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 0x477faf
push 0
push esi
call fcn.004252e0
add esp, 8
jmp 0x477faf
cmp al, 0x42
jne 0x477faf
mov al, byte [ebp - 0x28]
test al, 2
jne 0x477f82
test al, 0x2c
je 0x477f82
push 1
push dword [ebp - 0x60]
push edi
call fcn.0047f430
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 0x477f82
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 0x477faf
test al, 0x2c
je 0x477faf
push 1
push dword [ebp - 0x60]
push esi
call fcn.0047f430
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.00465530
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x64], edx
test edx, edx
jns 0x477fd2
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x4d7be0]
jmp 0x477fec
jne 0x477fe1
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x4d7be4]
jmp 0x477fec
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x4d7be8]
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 0x4770d2
jmp 0x4770e1
cmp dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x14]
je 0x4770d2
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
mov ebx, dword [ebp - 0x14]
test byte [ebx + 2], 1
jne 0x47803b
xor eax, eax
jmp 0x478041
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 0x47743b
lea ebx, [edx + 0x14]
lea esp, [esp]
test eax, eax
je 0x478079
mov edi, dword [eax + esi*4]
jmp 0x47807b
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.00465530
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x64], ecx
test ecx, ecx
jne 0x4780cd
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
inc esi
add ebx, 4
cmp esi, dword [ebp - 0x34]
jl 0x478070
mov ecx, dword [ebp - 0x14]
jmp 0x4770e1
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
test byte [esi + eax], 2
mov esi, dword [ebp - 0x24]
je 0x4780ff
mov eax, dword [ebp - 0x44]
add eax, edi
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
jne 0x4780fa
mov eax, dword [ebp - 0x54]
add eax, edi
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
je 0x4780ff
neg ecx
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x50], 0
mov edi, dword [ebp - 0x18]
je 0x4791fa
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 0x47706d
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
test eax, eax
jns 0x478155
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 0x47706d
jne 0x47817a
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 0x47706d
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 0x47706d
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.004762e0
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.004762e0
mov ecx, ebx
add esp, 0x10
cmp byte [ecx], 0x2c
lea eax, [eax + esi*2]
jne 0x4781de
movzx edx, byte [esi + eax + 0x4c0a84]
jmp 0x4781e6
movzx edx, byte [esi + eax + 0x4c0acc]
mov eax, dword [ecx + 0xc]
mov esi, dword [ebp - 0x24]
lea ecx, [eax + eax*4]
cmp edx, 2
jne 0x47820a
mov ax, word [esi + ecx*8 + 8]
mov edx, 0x3e40
and ax, dx
or ax, 1
jmp 0x477118
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 0x477118
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.004762e0
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.0047f040
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 0x47706d
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 0x4782c0
push 0
push ecx
call fcn.004762e0
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
push esi
call fcn.0047f040
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 0x47706d
push esi
call fcn.0047f080
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 0x47706d
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.0047f080
add esp, 4
test byte [edi + 8], 1
jne 0x4791f7
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.0047de10
mov ecx, dword [ebp - 0x14]
not eax
not edx
mov dword [esi], eax
mov dword [esi + 4], edx
add esp, 4
jmp 0x4770e1
mov esi, dword [edi + 0xc8]
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x478398
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 0x4770cf
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 0x47706d
mov eax, dword [edi + 0x68]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 4]
je 0x4770d2
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 0x47706d
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.004762e0
mov ecx, dword [ebp - 0x14]
add esp, 8
test eax, eax
jne 0x4770d2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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.004762e0
mov ecx, dword [ebp - 0x14]
add esp, 8
test eax, eax
je 0x4770d2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
jne 0x4770d2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
jne 0x478489
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
jne 0x478489
push 0
push 0
jmp 0x47768a
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.0047f080
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 0x47706d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 1
je 0x4770d2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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 0x47711d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.0047f080
add esp, 4
jmp 0x4770cf
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.004768e0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
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 0x478652
cmp byte [edi + 2], 0
je 0x4785ba
cmp byte [edi], 3
jne 0x478595
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 0x4785eb
push ecx
call fcn.0047f080
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 0x47706d
mov esi, dword [edi + 0x30]
push esi
call fcn.00437b90
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x58], eax
lea eax, [edi + 0x5c]
push eax
push esi
call fcn.00450400
mov dword [edi + 0x54], eax
mov eax, dword [edi + 0x58]
add esp, 0xc
cmp eax, dword [ebx + 0x70]
ja 0x47c766
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 0x478609
movzx eax, al
mov dword [edx], eax
mov eax, 1
jmp 0x478619
push edx
push ecx
call fcn.00461a40
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 0x4786d3
mov dword [edi + 0x54], 0
mov dword [esi], 0
mov eax, dword [edx]
cmp eax, 0x18003
ja 0x47882f
cmp eax, dword [edi + 0x58]
ja 0x47882f
movzx eax, word [edi + 0x42]
mov esi, dword [ebp - 0x98]
cmp eax, esi
ja 0x478868
mov eax, dword [edi + 0x38]
cmp eax, dword [edx]
jae 0x47884b
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x4786db
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.0047ea70
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
mov ebx, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
jmp 0x4786dd
mov ebx, dword [edi + 0x54]
mov dword [ebp - 0x30], ebx
jmp 0x4786dd
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 0x478710
movzx ebx, byte [esi]
mov dword [ebp - 0x9c], ebx
mov dword [eax], ebx
cmp ebx, 0x80
jae 0x478733
movzx eax, byte [ebx + 0x4c08f0]
cdq
inc esi
add edi, eax
adc dword [ebp - 0x54], edx
jmp 0x478767
lea eax, [ebp - 0x9c]
push eax
push esi
call fcn.00461a40
mov ebx, dword [ebp - 0x9c]
movzx eax, al
add esi, eax
mov eax, dword [ebp - 0x40]
push ebx
mov dword [eax], ebx
call fcn.00480860
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 0x47878f
cmp esi, dword [ebp - 0x44]
jb 0x478710
mov eax, dword [ebp - 0x44]
jmp 0x478796
mov eax, dword [ebp - 0x44]
cmp esi, eax
jb 0x4787a8
cmp esi, eax
mov eax, dword [ebp - 0x78]
ja 0x4787b6
cmp edi, dword [eax + 0x58]
jne 0x4787b6
test edx, edx
jne 0x4787b6
jmp 0x4787ab
mov eax, dword [ebp - 0x78]
test edx, edx
jb 0x4787c3
ja 0x4787b6
cmp edi, dword [eax + 0x58]
jbe 0x4787c3
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 0
jne 0x478817
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 0x4787e5
lea eax, [ebp - 0x25c]
push eax
call fcn.0047efa0
add esp, 4
mov esi, dword [ebp - 0x98]
movzx eax, word [edi + 0x42]
cmp eax, esi
ja 0x478872
mov eax, dword [ebp - 0x14]
cmp byte [eax + 1], 0xf5
jne 0x478855
push 0x800
push dword [eax + 0x10]
push dword [ebp - 0x28]
call fcn.0047f3d0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x4770e1
cmp dword [eax + 0x54], 0
jne 0x47882c
lea eax, [ebp - 0x25c]
push eax
call fcn.0047efa0
add esp, 4
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x47c4e2
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea ecx, [edx + eax*4]
jmp 0x4770e1
xor ebx, ebx
mov dword [ebp - 0x9c], ebx
jmp 0x4787eb
push dword [ebp - 0x28]
call fcn.0047f080
mov ecx, dword [ebp - 0x14]
add esp, 4
jmp 0x4770e1
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 0x47888c
push edx
call fcn.0047f080
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 0x47892e
mov edi, dword [edi + 0x54]
add edi, dword [ecx + esi*4]
cmp ebx, 0xc
jae 0x4788ba
push edx
push ebx
push edi
call fcn.00480630
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x4770e1
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 0x4788f2
push 0
push eax
mov ecx, 1
push edx
mov word [edx + 8], cx
call fcn.0047ead0
add esp, 0xc
test eax, eax
jne 0x47c982
mov edx, dword [ebp - 0x28]
jmp 0x4788f8
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 + 0x4c0b8c]
mov word [ecx + 8], ax
mov ecx, dword [ebp - 0x14]
jmp 0x4770e1
mov al, byte [ebp - 0x60]
mov byte [edx + 0xa], al
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x47894d
cmp ebx, 0xc
jb 0x478949
test bl, 1
je 0x47895a
test al, al
js 0x47895a
push ebx
call fcn.00480860
add esp, 4
test eax, eax
jne 0x478971
push edx
push ebx
push 0x4c1c20
call fcn.00480630
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x4770e1
push edx
push eax
push dword [ecx + esi*4]
push dword [edi + 0x30]
call fcn.0047e990
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47a17d
mov esi, dword [ebp - 0x28]
push esi
push ebx
push dword [esi + 0x10]
call fcn.00480630
mov ecx, dword [ebp - 0x14]
mov eax, 0xefff
add esp, 0xc
and word [esi + 8], ax
jmp 0x4770e1
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.00425270
add esp, 0xc
cmp byte [edi], 0x45
jne 0x478a29
movzx eax, word [esi + 8]
test al, 4
je 0x478a29
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], ecx
cmp ecx, 0x7fff
jg 0x478a15
jl 0x4789fd
cmp edx, 0xffffffff
ja 0x478a15
cmp ecx, 0xffff8000
jl 0x478a15
jg 0x478a0b
test edx, edx
jb 0x478a15
and eax, 0xfffb
or eax, 0x20
jmp 0x478a25
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 0x4791f7
add esi, 0x28
jmp 0x4789c0
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 0x478ac7
lea esi, [ecx + 8]
movzx eax, byte [edi]
push dword [ebp - 0x60]
push eax
lea eax, [esi - 8]
push eax
call fcn.00425270
add esp, 0xc
cmp byte [edi], 0x45
jne 0x478abb
movzx eax, word [esi]
test al, 4
je 0x478abb
and eax, 0xfffb
or eax, 0x20
mov word [esi], ax
inc edi
add esi, 0x28
cmp byte [edi], 0
jne 0x478a91
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 0x478af0
movzx ecx, word [esi - 0x14]
test cl, 1
je 0x478b0e
and ecx, 0x4000
neg ecx
sbb ecx, ecx
and ecx, 0xa
mov dword [esi], ecx
inc edx
jmp 0x478cde
test cl, 0x24
je 0x478c58
mov edx, dword [esi - 0x18]
mov eax, dword [esi - 0x1c]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
test edx, edx
jg 0x478b3e
jl 0x478b33
test eax, eax
jae 0x478b3e
mov edx, eax
mov eax, dword [esi - 0x18]
not edx
not eax
jmp 0x478b43
mov edx, eax
mov eax, dword [esi - 0x18]
inc dword [ebp - 0x2c]
test eax, eax
ja 0x478bfc
jb 0x478b55
cmp edx, 0x7f
ja 0x478b96
mov eax, dword [esi - 0x1c]
and eax, 1
mov dword [ebp - 0x50], 0
cmp eax, dword [esi - 0x1c]
jne 0x478b82
mov eax, dword [ebp - 0x50]
cmp eax, dword [esi - 0x18]
jne 0x478b82
cmp dword [ebp - 0x48], 4
jl 0x478b82
lea eax, [edx + 8]
mov edx, dword [ebp - 0x2c]
mov dword [esi], eax
jmp 0x478ce1
mov edx, dword [ebp - 0x2c]
add ebx, 1
adc edi, 0
mov dword [esi], 1
jmp 0x478ce1
test eax, eax
ja 0x478bfc
jb 0x478ba4
cmp edx, 0x7fff
ja 0x478bb8
mov edx, dword [ebp - 0x2c]
add ebx, 2
adc edi, 0
mov dword [esi], 2
jmp 0x478ce1
test eax, eax
ja 0x478bfc
jb 0x478bc6
cmp edx, 0x7fffff
ja 0x478bda
mov edx, dword [ebp - 0x2c]
add ebx, 3
adc edi, 0
mov dword [esi], 3
jmp 0x478ce1
test eax, eax
ja 0x478bfc
jb 0x478be8
cmp edx, 0x7fffffff
ja 0x478bfc
mov edx, dword [ebp - 0x2c]
add ebx, 4
adc edi, 0
mov dword [esi], 4
jmp 0x478ce1
cmp eax, 0x7fff
ja 0x478c1e
jb 0x478c0a
cmp edx, 0xffffffff
ja 0x478c1e
mov edx, dword [ebp - 0x2c]
add ebx, 6
adc edi, 0
mov dword [esi], 5
jmp 0x478ce1
mov edx, dword [ebp - 0x2c]
add ebx, 8
adc edi, 0
test cl, 0x20
je 0x478c4d
fild qword [ebp - 0x138]
and ecx, 0xffdf
or ecx, 8
mov word [esi - 0x14], cx
fstp qword [esi - 0x1c]
mov dword [esi], 7
jmp 0x478ce1
mov dword [esi], 6
jmp 0x478ce1
test cl, 8
je 0x478c6c
inc edx
add ebx, 8
adc edi, 0
mov dword [esi], 7
jmp 0x478cde
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 0x478cc4
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 0x478cb5
push ecx
call fcn.0047e870
add esp, 4
test eax, eax
jne 0x47c982
mov edx, dword [ebp - 0x50]
add edx, dword [esi - 0x1c]
jmp 0x478cc1
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.00475da0
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 0x478cf1
sub esi, 0x28
jmp 0x478af0
cmp edx, 0x7e
jle 0x478d1c
mov eax, edx
cdq
push edx
push eax
call fcn.00475da0
mov esi, eax
mov eax, dword [ebp - 0x2c]
add eax, esi
mov dword [ebp - 0x2c], eax
cdq
push edx
push eax
call fcn.00475da0
mov edx, dword [ebp - 0x2c]
add esp, 0x10
cmp esi, eax
jge 0x478d20
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 0x478d57
jl 0x478d4c
cmp ecx, eax
ja 0x478d57
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
jmp 0x478d87
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x70]
cdq
cmp edi, edx
jg 0x47c763
jl 0x478d70
cmp ecx, eax
ja 0x47c763
push ebx
push dword [ebp - 0x44]
call fcn.0047e7c0
add esp, 8
test eax, eax
jne 0x47c982
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 0x478da5
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 0x478dbe
mov byte [esi], al
mov eax, 1
jmp 0x478dcd
push dword [ebp - 0x48]
push dword [ebp - 0x50]
push esi
call fcn.0046b7f0
add esp, 0xc
mov ebx, dword [ebp - 0x28]
movzx eax, al
add esi, eax
mov ebx, dword [ebx + 0x1c]
cmp ebx, 0x80
jae 0x478de9
mov byte [esi], bl
mov eax, 1
jmp 0x478df5
push 0
push ebx
push esi
call fcn.0046b7f0
add esp, 0xc
push ebx
mov ebx, dword [ebp - 0x28]
movzx eax, al
push ebx
push edi
add esi, eax
call fcn.004807f0
add ebx, 0x28
add esp, 0xc
add edi, eax
mov dword [ebp - 0x28], ebx
cmp ebx, dword [ebp - 0x34]
jbe 0x478dd5
mov ecx, dword [ebp - 0x14]
jmp 0x4770e1
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 0x478e4d
push eax
call fcn.00450610
mov esi, eax
mov edi, edx
add esp, 4
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe0], edi
jmp 0x478e82
lea ecx, [ebp - 0xe4]
push ecx
push eax
xorps xmm0, xmm0
push ebx
movlpd qword [ebp - 0xe4], xmm0
call fcn.0044e2d0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
mov edi, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xe4]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0043e110
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 0x47c95e
mov edx, dword [ebp - 0x74]
cmp dword [ebp - 0x8c], edx
jb 0x4770e7
mov ecx, dword [ebp - 0x68]
ja 0x478ed0
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
jb case.0x477096.86
lea ebx, [ebx]
mov eax, dword [ebx + 0x160]
test eax, eax
je 0x47c317
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 0x47c740
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x8c], edx
ja 0x478ed0
mov eax, dword [ebp - 0x1c]
jb case.0x477096.86
cmp eax, ecx
jae 0x478ed0
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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 0x478ffd
cmp dword [ebx + 0xbc], ecx
jg 0x47c50e
push eax
call fcn.00471c90
mov ecx, dword [ebx + 0x1e8]
add ecx, dword [ebx + 0x1e4]
mov edi, eax
push ecx
push 0
push ebx
call fcn.00482380
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
push edx
lea eax, [edi + 0x21]
push eax
push ebx
call fcn.00454ea0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4791f7
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 0x478fbc
mov byte [ebx + 0x51], 0
mov byte [ebx + 0x59], 1
jmp 0x478fc2
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 0x4770e1
mov esi, dword [ebx + 0x1d8]
xor edi, edi
push eax
test esi, esi
je 0x47c55e
push dword [esi]
call fcn.00471bf0
add esp, 8
test eax, eax
je 0x479025
mov esi, dword [esi + 0x18]
mov eax, dword [ebp - 0x40]
inc edi
jmp 0x479005
cmp dword [ebx + 0xbc], 0
mov ecx, dword [ebp - 0x28]
jle 0x47903a
cmp ecx, 1
je 0x47c526
cmp dword [esi + 0x18], 0
jne 0x4790a2
cmp byte [ebx + 0x59], 0
je 0x4790a2
mov dword [ebp - 0x40], 1
cmp ecx, 1
jne 0x4790a9
push ecx
push dword [ebp - 0x18]
call fcn.004764e0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x47cb06
push dword [ebp - 0x18]
mov byte [ebx + 0x51], 1
call fcn.0047d8c0
add esp, 4
cmp eax, 5
je 0x47c530
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x20], edx
test edx, edx
je 0x479099
mov byte [ebx + 0x51], 0
jmp 0x479194
mov byte [ebx + 0x59], 0
jmp 0x47919c
mov dword [ebp - 0x40], 0
mov eax, dword [ebx + 0x1e4]
sub eax, edi
dec eax
mov dword [ebp - 0x30], eax
cmp ecx, 2
jne 0x479119
mov ecx, dword [ebx + 0x18]
and ecx, 1
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], 0
jle 0x479125
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.00451120
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
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 0x4790e0
mov eax, dword [ebp - 0x30]
jmp 0x479128
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x50], 0
jmp 0x47912b
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x34], 0
jle 0x479173
xor edi, edi
lea ebx, [ebx]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push dword [edi + eax + 4]
call fcn.00450680
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
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 0x479140
cmp dword [ebp - 0x50], 0
je 0x479191
push 0
push ebx
call fcn.00457200
push ebx
call fcn.0046c3b0
mov edx, dword [ebp - 0x20]
add esp, 0xc
or dword [ebx + 0x18], 1
mov edi, dword [ebp - 0x30]
test edx, edx
jne 0x47c4f4
cmp dword [ebx + 0x1d8], esi
je 0x4791cb
mov ecx, dword [ebx + 0x1d8]
push ecx
mov eax, dword [ecx + 0x18]
push ebx
mov dword [ebx + 0x1d8], eax
call fcn.00454e30
dec dword [ebx + 0x1e4]
add esp, 8
cmp dword [ebx + 0x1d8], esi
jne 0x4791a4
mov ecx, dword [ebp - 0x28]
cmp ecx, 1
jne 0x479214
mov eax, dword [esi + 0x18]
push esi
push ebx
mov dword [ebx + 0x1d8], eax
call fcn.00454e30
add esp, 8
cmp dword [ebp - 0x40], 0
jne 0x4791f7
dec dword [ebx + 0x1e4]
mov ecx, dword [ebp - 0x28]
jmp 0x479247
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 0x47706d
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 0x479247
cmp ecx, 2
jne 0x4774af
push edi
push ecx
push ebx
call fcn.00482380
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x20], edx
mov edi, dword [ebp - 0x18]
test edx, edx
jne 0x47c4f7
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 0x47706d
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xac], 0
mov edx, dword [ecx + 8]
test edx, edx
je 0x4792a1
mov eax, dword [ebx + 0x20]
and eax, 0x100000
or eax, 0
jne 0x47c57c
mov ecx, dword [ecx + 4]
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
test esi, esi
je 0x479365
lea eax, [ebp - 0xac]
push eax
push edx
push esi
call fcn.0044da60
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c589
test byte [edi + 0x98], 0x40
mov ecx, dword [ebp - 0x14]
je 0x47936b
cmp dword [ecx + 8], eax
je 0x47936b
cmp byte [ebx + 0x51], al
je 0x4792fa
cmp dword [ebx + 0xb8], 1
jle 0x47936b
cmp dword [edi + 0x30], 0
jne 0x479315
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.00482380
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47933f
push dword [edi + 0x30]
push esi
call fcn.0044da00
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 0x479368
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + 2], 0
je 0x47939f
mov eax, dword [ebp - 0xac]
cmp eax, dword [ecx + 0xc]
jne 0x47c5b7
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 0x47c5b7
test edx, edx
jne 0x47c4f7
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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.0044e9d0
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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 0x47706d
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.00451280
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 0x479454
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 0x479465
cmp eax, 2
jne 0x479465
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 0x479486
push 0
push ebx
call fcn.00457200
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
add esp, 8
and dword [edi + 0x98], 0xfffffffc
test edx, edx
jne 0x47c4f7
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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 0x4794c1
mov eax, dword [esi + 0x3c]
cmp eax, dword [edx + 8]
je 0x4795d6
mov cl, byte [ebp - 0x39]
jmp 0x4794c9
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x98]
and al, 3
cmp al, 1
je 0x47c61d
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 0x479538
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 0x47953a
mov ebx, dword [ebp - 0x18]
mov byte [ebx + 0x93], al
mov ebx, dword [ebp - 0x5c]
jmp 0x47953a
xor edi, edi
test byte [ecx + 2], 0x10
je 0x47955d
mov ecx, dword [ebp - 0x24]
lea eax, [edx + edx*4]
lea esi, [ecx + eax*8]
push esi
call fcn.0047ece0
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 0x479570
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x40], eax
movzx eax, word [eax + 8]
jmp 0x47957c
cmp al, 0xfd
jne 0x479579
mov eax, dword [ecx + 0x10]
jmp 0x47957c
mov eax, dword [ebp - 0x50]
push 0
push esi
push eax
push dword [ecx + 4]
push dword [ebp - 0x18]
call fcn.00423f70
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47c985
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.0044e4b0
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 0x4795d9
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 0x47c4f7
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 0x47706d
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.00423f70
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47c985
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.0044e4b0
mov ecx, dword [ebp - 0x14]
add esp, 0x14
mov dword [ebp - 0x20], eax
jmp 0x4770e1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x4796af
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], 0x4ada1c
mov ecx, dword [edx + 4]
mov eax, dword [edi + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4796f1
test byte [esi + 8], 8
jne 0x4796f1
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.0044dd60
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
jmp 0x4797f3
push 0
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push edi
call fcn.00423f70
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47c988
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.0044fca0
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
push eax
push 1
push dword [edi]
call fcn.0044da60
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4797c6
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x48], eax
mov dword [esi + 0x34], eax
test eax, eax
je 0x4797a3
movzx eax, word [edx + 2]
or eax, 2
push eax
lea ecx, [esi + 0x3c]
push ecx
push dword [edi]
call fcn.0044e460
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47979d
push dword [esi + 0x30]
push dword [ebp - 0x48]
push 4
push dword [esi + 0x3c]
push dword [edi]
call fcn.0044e4b0
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x20], edx
mov byte [esi + 4], 0
jmp 0x4797c6
push dword [esi + 0x30]
mov dword [esi + 0x3c], 1
push 0
push 4
push 1
push dword [edi]
call fcn.0044e4b0
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 0x4797fe
push dword [edi]
call fcn.0044de20
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
add esp, 4
test edx, edx
jne 0x47c4f7
mov ecx, dword [ebp - 0x14]
mov byte [esi + 2], 1
jmp 0x4770e1
mov ecx, dword [ebp - 0x14]
push 1
push 0xffffffffffffffff
push dword [ecx + 8]
push dword [ecx + 4]
push edi
call fcn.00423f70
add esp, 0x14
test eax, eax
je 0x47c988
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.00480b40
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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 0x4770e1
jmp 0x4770d2
mov ecx, dword [ebp - 0x14]
push 3
push 0xffffffffffffffff
push dword [ecx + 0xc]
push dword [ecx + 4]
push edi
call fcn.00423f70
add esp, 0x14
test eax, eax
je 0x47c988
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], 0x4d8d04
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x47706d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
push dword [eax + ecx*4]
push edi
call fcn.0047d760
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 0x47706d
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 0x479a33
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 0x479963
push 0
push edi
call fcn.004252e0
add esp, 8
push edi
call fcn.0047de10
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 0x4799fa
test cl, 8
jne 0x4799c1
test cl, 1
jne 0x4770cf
cmp dword [ebp - 0x28], 0x18
jge 0x4770cf
lea eax, [ebp - 0x6c]
push eax
push dword [esi + 0x30]
call fcn.0044f5c0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
jmp 0x479b44
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 0x4799e9
mov eax, dword [ebp - 0x28]
test al, 1
je 0x4799fa
dec eax
jmp 0x4799f7
comisd xmm1, xmm0
jbe 0x4799fa
mov eax, dword [ebp - 0x28]
test al, 1
jne 0x4799fa
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.0044f720
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 0x47c4f4
jmp 0x479ac1
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.0044f720
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
test edi, edi
je 0x479ac1
cmp byte [ebp - 0x112], al
je 0x479b44
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x6c]
cmp eax, 0x18
jl 0x479b2c
test ecx, ecx
js 0x479af3
jne 0x479ad7
cmp eax, 0x19
je 0x479af3
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x14]
je 0x4770e1
add ecx, 0x14
jmp 0x4770e1
push 0
push dword [esi + 0x30]
mov dword [ebp - 0x6c], 0
call fcn.0044fc50
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
je 0x479ade
cmp edx, 0x65
jne 0x47c4f4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x6c], 1
jmp 0x4770cf
test ecx, ecx
jg 0x479b50
jne 0x479b37
cmp eax, 0x16
je 0x479b50
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 0x4770cf
jmp 0x479ade
push 0
push dword [esi + 0x30]
mov dword [ebp - 0x6c], 0
call fcn.00450440
jmp 0x479b04
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 0x477b5d
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 0x479bc0
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x1b4]
push eax
push edi
push ebx
call fcn.0047dbf0
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
mov eax, dword [ebp - 0xdc]
test eax, eax
jg 0x479c23
je 0x4770cf
test esi, esi
jle 0x4774af
push edx
push dword [edi + 0x30]
dec esi
call fcn.0044fc50
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
je 0x479bc0
cmp edx, 0x65
jne 0x47c4f4
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
jmp 0x4770d2
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 0x479c66
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 0x47706d
cmp eax, dword [edx + 0xc]
jle 0x47711d
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 0x47706d
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
cmp dword [eax + ecx*4], 0
je case.0x477096.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 0x47706d
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 0x4770e7
jmp 0x479cdc
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 0x479d24
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 0x479d70
mov eax, 0x4000
test word [esi + 8], ax
je 0x479d40
push esi
call fcn.0047e870
add esp, 4
test eax, eax
jne 0x47c985
push dword [edi + 0x34]
call fcn.00476240
mov edi, eax
add esp, 4
mov dword [ebp - 0x50], edi
test edi, edi
je 0x47c985
push edi
push dword [esi + 0x10]
push dword [esi + 0xc]
mov esi, dword [ebp - 0x34]
push dword [esi + 0x34]
call fcn.00480410
mov ecx, dword [ebp - 0x14]
add esp, 0x10
mov byte [edi + 0xa], 0
cmp byte [ecx], 0x1c
mov dword [ebp - 0x34], 0
jne 0x479da6
movzx edx, word [edi + 8]
xor ecx, ecx
test edx, edx
jle 0x479da6
mov eax, dword [edi + 4]
add eax, 8
test byte [eax], 1
jne 0x479d9f
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x479d90
jmp 0x479da6
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.0044f720
mov edx, eax
mov eax, dword [ebp - 0x50]
add esp, 0x18
mov dword [ebp - 0x20], edx
test eax, eax
je 0x479dd8
push eax
push ebx
call fcn.00454e30
mov edx, dword [ebp - 0x20]
add esp, 8
test edx, edx
jne 0x47c4f4
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 0x479e16
test ecx, ecx
mov ecx, dword [ebp - 0x14]
jne 0x4770d2
jmp 0x4770e1
cmp dword [ebp - 0x34], 0
jne 0x4770cf
test ecx, ecx
je 0x4770cf
mov ecx, dword [ebp - 0x14]
cmp al, 0x1b
jne 0x4770e1
mov eax, ecx
mov ax, word [eax + 0x10]
mov word [esi + 0xc], ax
jmp 0x4770e1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
test byte [esi + eax*8 + 8], 0x24
jne 0x479ef1
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 0x479ee0
test al, 8
jne 0x479ec0
test al, 2
je 0x479ed8
lea eax, [ebp - 0x1dc]
push 1
push eax
call fcn.004252e0
add esp, 8
jmp 0x479ecf
lea eax, [ebp - 0x1dc]
push eax
call fcn.0047de60
add esp, 4
mov ecx, dword [ebp - 0x14]
mov al, byte [ebp - 0x1d4]
test al, 4
je 0x4770d2
mov edi, dword [ebp - 0x1dc]
mov edx, dword [ebp - 0x1d8]
jmp 0x479efe
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.0044f720
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 0x479257
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0
jne 0x4770d2
push 0x16504
call fcn.00453480
add esp, 4
jmp 0x479252
mov ebx, dword [ebp - 0x14]
push ebx
push edi
call fcn.0043e110
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 0x47706d
push dword [ebp - 0x14]
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0xa0], 0
call fcn.0043e110
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 0x47a071
lea ecx, [ebp - 0xa0]
push ecx
push dword [eax + 0x30]
call fcn.0044f5c0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
cmp dword [ebp - 0xa0], eax
je 0x47a033
mov edi, 1
xor esi, esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
jmp 0x47a077
mov eax, dword [ebp - 0x28]
push dword [eax + 0x30]
call fcn.0044f010
mov esi, edx
add esp, 4
mov edi, eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
cmp esi, 0x7fffffff
jl 0x47a063
jg 0x47a05a
cmp edi, 0xffffffff
jb 0x47a063
mov eax, dword [ebp - 0x28]
or dword [eax + 8], 2
jmp 0x47a077
add edi, 1
adc esi, 0
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
jmp 0x47a077
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x47a111
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x47a0b4
mov eax, dword [edx + 4]
test eax, eax
je 0x47a0a9
lea esp, [esp]
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x47a0a0
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
jmp 0x47a0bd
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax*8]
push eax
mov dword [ebp - 0x34], eax
call fcn.0047ece0
mov eax, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x47a0e2
cmp edx, 0x7fffffff
je 0x47c62a
mov ebx, dword [ebp - 0x28]
test byte [ebx + 8], 2
mov ebx, dword [ebp - 0x5c]
jne 0x47c62a
add ecx, 1
adc edx, 0
cmp esi, edx
jg 0x47a10c
jl 0x47a102
cmp edi, ecx
jae 0x47a10c
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 0x47a188
xor ebx, ebx
lea esp, [esp]
lea eax, [ebp - 0x80]
push eax
push 8
call fcn.00418fe0
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.0044f720
mov edx, eax
add esp, 0x20
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47a17d
cmp dword [ebp - 0xa0], eax
jne 0x47a185
inc ebx
cmp ebx, 0x64
jl 0x47a120
mov edx, 0xd
mov dword [ebp - 0x20], edx
mov ebx, dword [ebp - 0x5c]
jmp 0x47c4f4
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 0x4770e1
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 0x47a209
cmp dword [ebx + 0xf4], 0
je 0x47a209
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 0x47a217
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x50], 0
test byte [ecx + 2], 1
je 0x47a226
mov ebx, dword [ebp - 0x18]
inc dword [ebx + 0x2c]
mov ebx, dword [ebp - 0x5c]
test byte [ecx + 2], 0x20
je 0x47a232
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 0x47a257
mov edi, dword [esi + 0x28]
jmp 0x47a259
xor edi, edi
mov eax, dword [ebp - 0x24]
mov ebx, 0x4000
test word [eax + edx*8 + 8], bx
mov ebx, dword [ebp - 0x5c]
je 0x47a276
mov eax, dword [eax + edx*8]
mov dword [ebp - 0x214], eax
jmp 0x47a280
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.0044eb80
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 0x47c4f4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4774af
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 0x4770e1
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 0x47a33a
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 0x47a351
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.00450d40
add esp, 0x10
jmp 0x477dc1
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 0x47a3bb
cmp dword [ebx + 0xf4], 0
je 0x47a3bb
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 0x47a3c4
cmp byte [esi + 4], 0
je 0x47a3c4
push dword [esi + 0x30]
call fcn.0044f010
mov dword [esi + 0x4c], edx
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [esi + 0x48], eax
jmp 0x47a3c4
mov dword [ebp - 0x34], 0
xor edi, edi
movzx eax, byte [edx + 2]
push eax
push dword [esi + 0x30]
call fcn.0044e520
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 0x47c4f4
test byte [ebp - 0x48], 1
je 0x4774af
mov eax, dword [ebp - 0x18]
inc dword [eax + 0x2c]
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4774af
test byte [edi + 0x24], 0x80
jne 0x4774af
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 0x4770e1
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 0x47706d
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.00480a60
mov edi, dword [ebp - 0x18]
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
cmp dword [ebp - 0xd8], 0
mov ecx, dword [ebp - 0x14]
jne 0x4770d2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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.00481010
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
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 0x47706d
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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.00437b90
mov eax, dword [edi + 0x2c]
add esp, 0xc
cmp eax, dword [ebx + 0x70]
ja 0x47c766
push esi
push eax
push edi
call fcn.0047ea70
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xc], eax
jne 0x4770e1
mov eax, 0x1000
test word [esi + 8], ax
je 0x4770e1
push esi
call fcn.0047ed60
mov edi, dword [ebp - 0x18]
add esp, 4
test eax, eax
jne 0x47c988
jmp 0x47743b
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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 0x47a5c5
mov ecx, dword [ebp - 0x14]
mov eax, 1
mov word [edi + 8], ax
jmp 0x4770e1
cmp byte [esi + 3], 0
je 0x47a5f0
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 0x4770e1
cmp byte [esi], 2
jne 0x47a63c
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.00482160
mov edx, dword [ebp - 0x20]
add esp, 0x10
test edx, edx
jne 0x47c4f4
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 0x4770e1
push esi
call fcn.00476940
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
cmp byte [esi + 2], al
je 0x47a668
mov ecx, dword [ebp - 0x14]
mov eax, 1
mov word [edi + 8], ax
jmp 0x4770e1
push dword [esi + 0x30]
call fcn.0044f010
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 0x4770e1
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 0x47711d
push dword [eax + 0x30]
call fcn.0044dd40
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 0x47706d
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 0x47a705
mov dword [esi + 0x28], 0xffffffff
cmp byte [eax], 0
je 0x47743b
lea ecx, [ebp - 0xbc]
push ecx
push eax
call fcn.0044f5c0
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 0x47c4f7
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], edx
jle 0x4770e4
test eax, eax
jne 0x4770d2
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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.0044e920
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
cmp dword [ebp - 0xc0], eax
jne 0x4770cf
push esi
call fcn.00450610
add esp, 4
test edx, edx
jl 0x47c314
jg 0x47a7b4
test eax, eax
jb 0x47743b
push edx
push eax
call fcn.00464fe0
mov ecx, dword [ebp - 0x14]
cwde
add esp, 8
cmp eax, dword [ecx + 0xc]
jge 0x4770e4
mov dword [ebp - 0xc0], 1
jmp 0x4770d2
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 0x47a80a
push esi
call fcn.00480fa0
jmp 0x47a81d
push dword [esi + 0x30]
call fcn.0044e920
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 0x47c4f7
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 2], al
test eax, eax
jne 0x4770d2
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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.00480d30
jmp 0x47a884
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 0x47a8ad
mov byte [esi + 2], al
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
inc dword [edi + eax*4 + 0xa4]
jmp 0x47c006
cmp edx, 0x65
jne 0x47c4f7
mov dword [ebp - 0x20], 0
mov byte [esi + 2], 1
jmp 0x478e98
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 0x47a8ea
mov eax, dword [ebp - 0x18]
inc dword [eax + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x47a90e
push esi
call fcn.0047e870
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
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 0x47a951
mov ecx, dword [edi + 0x28]
jmp 0x47a953
xor ecx, ecx
push ecx
and eax, 0x8a
push eax
lea eax, [ebp - 0x2d4]
push eax
push dword [edi + 0x30]
call fcn.0044eb80
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 0x47c4f7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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 0x47a9d0
push esi
call fcn.0047e870
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
push esi
push edi
call fcn.004810c0
mov edi, dword [ebp - 0x18]
add esp, 8
jmp 0x477dc1
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.0044f720
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
cmp dword [ebp - 0x110], eax
jne 0x47aa76
push 4
push edi
call fcn.0044e520
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
jmp 0x4770e1
mov ecx, dword [ebp - 0x14]
cmp word [ecx + 2], 0
jne 0x47c634
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
jmp 0x4770e1
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.00476940
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
cmp byte [esi + 2], al
jne 0x47ab47
lea eax, [ebp - 0xd0]
push eax
push dword [esi + 0x30]
xorps xmm0, xmm0
push ebx
movlpd qword [ebp - 0xd0], xmm0
call fcn.0047dcb0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x89
jne 0x47ab27
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 0x47743b
push eax
push edi
call fcn.0043e110
mov ecx, dword [ebp - 0xd0]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xcc]
add esp, 8
mov dword [eax + 4], ecx
jmp 0x47743b
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.0047f080
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 0x47706d
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 0x47711d
push eax
call fcn.0047d4d0
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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.00437b90
mov eax, dword [esi + 0x2c]
add esp, 4
xor ecx, ecx
jl 0x47c65f
jg 0x47ac15
test eax, eax
je 0x47c65f
test ecx, ecx
jg 0x47c65f
jl 0x47ac2a
cmp eax, 0x7fffffff
ja 0x47c65f
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.0047ea70
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
push eax
lea eax, [ebp - 0x1a4]
push eax
push dword [ebp - 0x29c]
push dword [ebp - 0x2a0]
call fcn.0047fe30
mov esi, eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.0047efa0
mov ecx, dword [ebp - 0x14]
add esp, 0x14
test byte [ecx], 1
jne 0x47ac93
neg esi
jmp 0x47ac94
inc esi
test esi, esi
jg 0x4770d2
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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 0x47c676
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.0044e8b0
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 0x47c4f7
test ecx, ecx
je 0x47743b
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
push ecx
push dword [ebp - 0x34]
push ebx
call fcn.0046cbb0
mov al, byte [ebp - 0x34]
add esp, 0x10
inc al
mov byte [ebp - 0x6d], al
jmp 0x47743b
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.0044dd60
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp dword [ecx + 0xc], 0
mov edx, eax
mov dword [ebp - 0x20], edx
je 0x47adb4
mov eax, dword [ebp - 0xd4]
add dword [edi + 0x2c], eax
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jle 0x47adb1
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 0x47c4f7
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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 0x47ae04
push dword [eax + 0x30]
push ebx
call fcn.00480dc0
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 0x47706d
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.0044dd60
jmp 0x479838
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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.0044e460
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
mov eax, dword [ebp - 0xb8]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x47743b
mov ecx, dword [ebp - 0x14]
inc byte [ebx + 0x5c]
push 0
push 0
push 0
push dword [ecx + 0x10]
push ebx
call fcn.004140c0
add esp, 0x14
dec byte [ebx + 0x5c]
jmp 0x47983b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 4]
test edx, edx
jne 0x47aed8
mov eax, dword [ebx + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.0046d9f0
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.004625d0
or dword [ebx + 0x18], 1
mov edx, eax
add esp, 0x14
and dword [edi + 0x98], 0xfffffffc
mov dword [ebp - 0x20], edx
jmp 0x47afa0
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.00465180
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47c68a
push 0
lea eax, [ebp - 0x184]
push eax
push fcn.004623d0
push esi
push ebx
mov byte [ebx + 0xa9], 1
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x170], 0
call fcn.004140c0
add esp, 0x14
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x47af8c
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x47af8c
cmp dword [ebp - 0x170], eax
jne 0x47af8c
push 0x16ae6
call fcn.00453480
add esp, 4
mov dword [ebp - 0x20], eax
push esi
push ebx
call fcn.00454e30
mov edx, dword [ebp - 0x20]
add esp, 8
mov byte [ebx + 0xa9], 0
test edx, edx
jne 0x47c691
jmp 0x47743b
mov ecx, dword [ebp - 0x14]
push dword [ecx + 4]
push ebx
call fcn.0044bb50
add esp, 8
jmp 0x47983b
mov ecx, dword [ebp - 0x14]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.00472c10
jmp 0x477699
mov ecx, dword [ebp - 0x14]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.00472b70
jmp 0x477699
mov ecx, dword [ebp - 0x14]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.00472c80
jmp 0x477699
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.0044f030
push edi
mov dword [ebp - 0x48], eax
call fcn.0047f080
mov eax, dword [ebp - 0x108]
add esp, 0x1c
test eax, eax
je 0x47b085
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x47c985
mov ebx, dword [ebp - 0x24]
push fcn.00418ac0
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.0047f110
mov ebx, dword [ebp - 0x5c]
add esp, 0x18
movzx eax, byte [ebp - 0x60]
push eax
push edi
call fcn.00476340
add esp, 8
jmp 0x478e95
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 0x47b0c2
push esi
call fcn.0047f0b0
add esp, 4
test eax, eax
jne 0x47c985
mov eax, dword [ebp - 0x24]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
push dword [esi + 0x10]
call fcn.0046cde0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x4770e1
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 0x47b131
lea eax, [ebp - 0x150]
push eax
push dword [esi + 0x10]
call fcn.0046ce80
add esp, 8
test eax, eax
je 0x47b131
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.0047f040
add esp, 0xc
jmp 0x478e9b
push esi
call fcn.0047f080
add esp, 4
jmp 0x47c006
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 0x47b172
push esi
call fcn.0047f0b0
add esp, 4
test eax, eax
jne 0x47c985
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
test eax, eax
je 0x47b199
push dword [ebx + edi*8 + 4]
push dword [ebx + edi*8]
push eax
push dword [esi + 0x10]
call fcn.0046cee0
add esp, 0x10
test eax, eax
jne 0x4770cf
mov eax, dword [ebp - 0x34]
test eax, eax
js 0x4774af
push dword [ebx + edi*8 + 4]
push dword [ebx + edi*8]
push dword [esi + 0x10]
call fcn.0046cde0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x4770e1
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 0x47b203
mov eax, dword [edi + 0xc8]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x47b200
jmp 0x47b1f0
cmp dword [eax + 0x1c], ecx
je 0x47743b
mov eax, dword [eax + 4]
test eax, eax
jne 0x47b1f0
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0xd0]
cmp eax, dword [ebx + 0x98]
jge 0x47c6ab
test byte [ecx + 8], 0x10
jne 0x47b3bf
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 8]
add esi, ecx
test ecx, ecx
jne 0x47b22c
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.00454fe0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x47c985
push dword [ebp - 0x30]
call fcn.0047efa0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x58]
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x24], 0x47d6c0
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 0x47b30e
mov esi, 0x80
jmp 0x47b300
mov word [eax + 8], si
mov dword [eax + 0x20], ebx
add eax, 0x28
cmp eax, ecx
jne 0x47b300
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 0x478e9e
mov edi, dword [ecx + 0x10]
mov edx, dword [ebp - 0x18]
jmp 0x47b311
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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.0047f3d0
add esp, 0x14
jmp 0x47743b
mov eax, dword [ebx + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [ebp - 0x14]
je 0x47b442
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 0x47706d
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x14]
cdq
je 0x47b46f
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 0x47706d
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 0x47706d
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0
je 0x47b4ca
mov eax, dword [ebx + 0x1f0]
or eax, dword [ebx + 0x1f4]
jne 0x4770e7
mov eax, dword [ebx + 0x1f8]
or eax, dword [ebx + 0x1fc]
je 0x4770d2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
mov eax, dword [edi + 0x40]
or eax, dword [edi + 0x44]
jmp 0x47b49e
mov edx, dword [edi + 0xc8]
test edx, edx
je 0x47b4fd
mov eax, dword [edx + 4]
test eax, eax
je 0x47b4ec
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x47b4e3
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 0x47b509
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
push edi
call fcn.0047ece0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
call fcn.0047ece0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
add esp, 8
cmp dword [edi + 4], ecx
jg 0x4774af
jl 0x47b53c
cmp dword [edi], eax
jae 0x4774af
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi], eax
jmp 0x4770e1
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 0x4774af
jg 0x47b56e
test ecx, ecx
je 0x4774af
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 0x4770cf
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.0043e110
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 0x47b62b
jg 0x47b5c0
test eax, eax
je 0x47b62b
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + ebx*8 + 4]
mov eax, dword [esi + ebx*8]
test ecx, ecx
jl 0x47b5d4
jg 0x47b5eb
test eax, eax
jne 0x47b5eb
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.0044a690
add esp, 0xc
test eax, eax
jne 0x47b62e
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 0x47706d
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 0x47706d
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 0x47743b
test edx, edx
jl 0x4770cf
jg 0x47b684
test ecx, ecx
je 0x4770cf
sub ecx, 1
sbb edx, 0
mov dword [ebx + esi*8], ecx
jmp 0x4770cb
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 0x47b6bd
jg 0x47b6b0
test eax, eax
je 0x47b6bd
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 0x4770d2
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
add ecx, 0x14
jmp 0x47706d
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.00454ea0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47c988
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.0047ecc0
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 0x47b76a
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 0x47b7b4
movzx ecx, byte [esi + 0x19]
dec ecx
mov dword [esi + 8], edi
js 0x47b7b4
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 0x47b797
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 0x47b7cf
mov eax, dword [ecx + 0x1c]
jmp 0x47b7d2
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x47c311
jle 0x47b802
push dword [esi]
call fcn.004113c0
push eax
push 0x4c71bc
push dword [ebp - 0x18]
call fcn.00476f60
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp byte [esi + 0x18], 0
je 0x47b82c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0x10]
test eax, eax
je 0x47b828
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
push 0
lea eax, [ecx + eax*8]
push 1
push eax
call fcn.0047f040
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.0047efa0
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 0x477dc6
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 0x47b88f
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
push esi
call fcn.0047e660
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 0x47b89a
push esi
call fcn.0047e8d0
add esp, 8
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
jne 0x47c6ca
movzx eax, byte [ebp - 0x60]
push eax
push esi
call fcn.00476340
push esi
call fcn.0047f4d0
mov edi, dword [ebp - 0x18]
add esp, 0xc
test eax, eax
jne 0x47c769
jmp 0x47743b
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.004514b0
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x20], edx
test edx, edx
je 0x47b918
cmp edx, 5
jne 0x47c4f7
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.0047f040
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x47b930
mov ecx, dword [ebp - 0x14]
jmp 0x4770e1
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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.00466cd0
add esp, 0xc
test eax, eax
cmove esi, edx
cmp byte [edi + 0xf], 0
mov eax, 0x4c26b4
jne 0x47b9a3
mov eax, dword [edi + 0xa8]
cmp esi, 5
jne 0x47b9cc
push eax
call fcn.00471c90
add esp, 4
test eax, eax
je 0x47b9c2
push edi
call fcn.00467b10
add esp, 4
test eax, eax
jne 0x47b9c9
mov eax, dword [ebp - 0x28]
mov esi, eax
jmp 0x47ba44
mov edx, dword [ebp - 0x28]
cmp esi, edx
je 0x47ba41
cmp edx, 5
je 0x47b9da
cmp esi, 5
jne 0x47ba41
cmp byte [ebx + 0x51], 0
je 0x47c6ea
cmp dword [ebx + 0xb8], 1
jg 0x47c6ea
cmp edx, 5
jne 0x47ba13
push ebx
push edi
call fcn.004666b0
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x47ba4c
push esi
push edi
call fcn.004675b0
add esp, 8
jmp 0x47ba29
cmp edx, 4
jne 0x47ba23
push 2
push edi
call fcn.004675b0
add esp, 8
cmp dword [ebp - 0x20], 0
jne 0x47ba4c
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [ebp - 0x48]
call fcn.00450b40
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x20], 0
je 0x47ba51
jmp 0x47ba4f
mov eax, dword [ebp - 0x28]
mov esi, eax
push esi
push edi
call fcn.004675b0
mov esi, dword [ebp - 0x34]
mov ecx, 0xa02
push eax
mov word [esi + 8], cx
call fcn.00463e10
push eax
mov dword [esi + 0x10], eax
call fcn.00471c90
mov dword [esi + 0xc], eax
movzx eax, byte [ebp - 0x60]
push eax
push esi
mov byte [esi + 0xa], 1
call fcn.00476340
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
add esp, 0x18
jmp 0x477dc6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
test eax, eax
je 0x47baa5
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
jmp 0x47baa7
xor eax, eax
push eax
push dword [ecx + 4]
lea eax, [edi + 0x7c]
push ebx
push eax
call fcn.0046d4e0
add esp, 0x10
jmp 0x47983b
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.0044ea80
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
je 0x47c317
cmp edx, 0x65
jne 0x47c4f7
mov dword [ebp - 0x20], 0
jmp 0x4770cf
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0
jne 0x47bb22
push dword [ecx + 8]
push ebx
call fcn.00457200
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 0x47706d
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 0x47706d
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 0x47706d
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 0x47706d
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx + 0xc]
mov byte [ebp - 0x10c], al
test al, al
jne 0x47bbcb
mov eax, dword [ebx + 0x20]
and eax, 0x400
mov dword [ebp - 0x4c], eax
mov eax, 0
jne 0x4770e7
test eax, eax
jne 0x4770e7
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.0044f650
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
je 0x47711d
mov esi, dword [ebp - 0x14]
cmp dl, 6
jne 0x47c4fa
push dword [esi + 0x10]
push str.database_table_is_locked:__s
push edi
call fcn.00476f60
mov edx, dword [ebp - 0x20]
add esp, 0xc
jmp 0x47c4fa
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + 0x10]
push esi
push ebx
call fcn.004817b0
add esp, 8
mov edx, eax
mov dword [ebp - 0x20], edx
test esi, esi
je 0x477dc6
push dword [esi + 8]
push edi
call fcn.00482160
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x477dc6
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.0047e7f0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x284]
push eax
call fcn.004113c0
add esp, 0xc
test eax, eax
je 0x47bcc5
lea ecx, [edi + 0x7c]
push ecx
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
push ebx
call fcn.00481a60
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x284]
push eax
call fcn.0047efa0
mov edx, dword [ebp - 0x20]
add esp, 4
jmp 0x479840
mov ecx, dword [ebp - 0x14]
inc dword [ebx + 0xc4]
push dword [ecx + 0x10]
push dword [ecx + 4]
push ebx
call fcn.00481b40
add esp, 0xc
dec dword [ebx + 0xc4]
jmp 0x47983b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa4], 0
mov eax, dword [ecx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x47c733
mov edi, dword [esi]
test edi, edi
je 0x47c730
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.00482160
mov edx, dword [ebp - 0x20]
add esp, 0x10
test edx, edx
jne 0x47c4f4
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.00423f70
add esp, 0x14
test eax, eax
je 0x47c71d
mov ecx, dword [ebp - 0xa4]
mov dword [eax + 0x30], ecx
inc dword [esi + 4]
mov ecx, dword [ebp - 0x14]
jmp 0x4770e1
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 0x47be53
cmp esi, 4
jb 0x47be38
cmp dword [0x4d9350], 2
jl 0x47be38
movd xmm0, dword [ebp - 0x34]
movdqa xmm2, xmmword [0x4cb950]
mov eax, esi
pshufd xmm1, xmm0, 0
and eax, 0x80000003
jns 0x47bdf9
dec eax
or eax, 0xfffffffc
inc eax
movdqa xmm4, xmmword [0x4cb960]
movdqa xmm3, xmmword [0x4cb940]
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 0x47be10
cmp ecx, esi
jge 0x47be53
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 0x47be48
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.00482160
mov edx, dword [ebp - 0x20]
add esp, 0x1c
test edx, edx
jne 0x47c4f4
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 0x4770e1
jmp 0x4770d2
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 0x47bed2
push esi
call fcn.0047f080
mov ecx, dword [ebp - 0x14]
add esp, 4
jmp 0x4770e1
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 0x47bf27
push esi
call fcn.0047f080
mov edx, dword [ebp - 0x14]
add esp, 4
mov eax, 0x4001
mov dword [esi], 0
jmp 0x47bf37
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.00482160
add esp, 0x14
cmp dword [ebp - 0x1f8], 0
jle 0x47bf89
push esi
call fcn.004113c0
push eax
push 0x4c71bc
push edi
call fcn.00476f60
mov eax, dword [ebp - 0x1f8]
add esp, 0x10
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x60]
push eax
push esi
call fcn.00476340
push esi
call fcn.0047f4d0
add esp, 0xc
test eax, eax
jne 0x47c769
mov edx, dword [ebp - 0x20]
jmp 0x477dc6
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 0x477b5a
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.00482160
mov edx, dword [ebp - 0x20]
add esp, 0xc
test edx, edx
jne 0x47c4f4
mov eax, dword [ebp - 0x48]
push dword [edi + 0x30]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x478e95
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 0x478e9e
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.00476340
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f4
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 0x47c08e
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.00482160
mov edx, dword [ebp - 0x20]
add esp, 8
and dword [edi + 0x98], 0xfffffffc
jmp 0x477dc6
cmp byte [ebx + 0x53], 0
jne 0x47c988
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov edi, dword [eax + 8]
test edi, edi
je 0x47c759
mov eax, dword [edi]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x47c759
cmp dword [eax + 0x34], 0
mov edx, dword [edx + 8]
je 0x477b5a
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 0x47c10b
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x47c100
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.00482160
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add esp, 0x18
test edx, edx
jne 0x47c160
cmp dword [eax + 4], edx
je 0x47c160
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 0x47c19b
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x10], 0
je 0x47c19b
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
cmp eax, 4
jne 0x47c186
mov dword [ebp - 0x20], 0
jmp 0x47743b
cmp eax, 5
jne 0x47c190
mov eax, 2
mov byte [edi + 0x92], al
jmp 0x477dc6
inc dword [edi + 0x2c]
jmp 0x477dc6
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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 0x47706d
push dword [ebp - 0x14]
push edi
call fcn.0043e110
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 0x47c215
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x30]
cmp ecx, edx
cmovb ecx, edx
push ecx
push esi
call fcn.0044f6c0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [edi], eax
mov dword [edi + 4], 0
jmp 0x4770e1
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 0x47c27e
movzx ecx, byte [esi + 0x19]
dec ecx
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xc], eax
mov dword [esi], edi
js 0x47c27e
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 0x47c264
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 0x47c2fa
jle 0x47c2cd
push edi
call fcn.004113c0
push eax
push 0x4c71bc
push dword [ebp - 0x18]
call fcn.00476f60
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.004769b0
mov edx, dword [ebp - 0x20]
add esp, 0x10
mov dword [esi + 0x14], 0
test edx, edx
jne 0x47c4f4
test byte [edi + 8], 0x12
je 0x47c311
movzx eax, byte [ebp - 0x60]
push eax
push edi
call fcn.00476340
push edi
jmp 0x47b8b1
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 0x47706d
mov cl, byte [ebx + 0x5a]
test cl, 0x41
je 0x47c3d1
cmp byte [edi + 0x95], 0
jne 0x47c3d1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x47c35b
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x47c3d1
push eax
test cl, 0x40
je 0x47c386
push edi
call fcn.0047ce70
mov ecx, dword [ebx + 0xd0]
mov esi, eax
push esi
push dword [ebx + 0xd4]
call ecx
push esi
call fcn.00418ac0
mov esi, dword [ebp - 0x24]
add esp, 0x14
jmp 0x47c3d1
cmp dword [ebx + 0xc0], 1
jle 0x47c3bd
push str.____s
push ebx
call fcn.00465180
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.00454e10
mov esi, dword [ebp - 0x24]
add esp, 0x24
jmp 0x47c3d1
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 [0x4d7cf8]
jl 0x47c41b
cmp byte [ecx], 0xae
je 0x4770e7
mov edx, 1
cmp dword [edi + 0x6c], edx
jle 0x47c414
mov eax, 0x14
mov ecx, dword [edi + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x47c408
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [edi + 0x6c]
jl 0x47c3f7
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], 0
inc dword [ecx + 4]
inc dword [edi + 0xbc]
jmp 0x4770d2
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 0x47c4ae
movzx eax, word [edx + 2]
test ax, ax
je 0x47c480
push dword [eax*4 + 0x4c0074]
push str._s_constraint_failed
push edi
call fcn.00476f60
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x47c491
push eax
push dword [edi + 0x7c]
push str._z:__s
push ebx
call fcn.00465180
add esp, 0x10
mov dword [edi + 0x7c], eax
jmp 0x47c491
push dword [edx + 0x10]
push 0x4c71bc
push edi
call fcn.00476f60
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.00422760
add esp, 0x14
push edi
call fcn.0047d8c0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x20], ecx
cmp ecx, 5
jne 0x47c4c9
mov dword [edi + 0x28], eax
jmp 0x47cb09
cmp dword [edi + 0x28], 0
mov ecx, 0x65
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x47cb09
push 0x15d18
call fcn.00453480
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 0x47c9a9
mov edx, 7
jmp 0x47c9d4
push str.cannot_open_savepoint___SQL_statements_in_progress
push edi
call fcn.00476f60
mov edx, 5
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x47c4f7
mov edi, dword [ebp - 0x18]
push str.cannot_release_savepoint___SQL_statements_in_progress
jmp 0x47c513
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 0x47cb10
mov edi, dword [ebp - 0x18]
push str.no_such_savepoint:__s
push edi
call fcn.00476f60
mov edx, 1
add esp, 0xc
mov dword [ebp - 0x20], edx
jmp 0x47c4f7
mov edx, 8
mov dword [ebp - 0x20], edx
jmp 0x47c4f7
cmp dl, 5
jne 0x47c4f7
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 0x47cb10
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x47c5c8
push eax
push ebx
call fcn.00454e30
add esp, 8
push str.database_schema_has_changed
push ebx
call fcn.00455170
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 0x47c5fe
push edx
push ebx
call fcn.0046c430
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 0x47c4f7
mov edx, 0x204
mov dword [ebp - 0x20], edx
jmp 0x47c4f7
mov edx, 0xd
jmp 0x47c4f1
push 0x4cb7c4
push 0x1691e
push str.index_corruption
push str._s_at_line__d_of___.10s_
push 0x30b
call fcn.00422760
add esp, 0x14
mov edx, 0x30b
jmp 0x47c4f1
push 0x169ea
call fcn.00453480
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
jmp 0x47c4f7
mov edx, 6
mov dword [ebp - 0x20], edx
mov byte [edi + 0x92], 2
jmp 0x47c4f7
mov dword [ebp - 0x20], 7
push ebx
call fcn.0046c3b0
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 7
je 0x47c988
jmp 0x47c4f7
push str.too_many_levels_of_trigger_recursion
push edi
mov dword [ebp - 0x20], 1
call fcn.00476f60
add esp, 8
mov edx, 1
jmp 0x47c4f7
push esi
call fcn.004113c0
mov edi, dword [ebp - 0x18]
push eax
push 0x4c71bc
push edi
call fcn.00476f60
mov edx, dword [ebp - 0x20]
add esp, 0x10
jmp 0x47c4f7
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.00476f60
add esp, 0xc
mov edx, 1
jmp 0x47c4f7
push dword [ebp - 0xa4]
mov eax, dword [edi + 0x1c]
call eax
add esp, 4
jmp 0x47c985
mov edi, dword [ebp - 0x18]
mov edx, 6
mov dword [ebp - 0x20], edx
jmp 0x47c4f7
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 0x47c4f7
mov edx, 6
jmp 0x47c4f1
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x18]
push str.string_or_blob_too_big
push edi
call fcn.00476f60
mov edx, 0x12
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x47c4f7
push 0
push edi
call fcn.004764e0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x47c4f7
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 0x47c7f1
mov edi, edi
mov eax, 0x1000
test word [esi + 8], ax
je 0x47c7dc
push esi
call fcn.0047ed60
add esp, 4
test eax, eax
jne 0x47c985
push esi
call fcn.0047ee30
mov eax, dword [ebp - 0x14]
inc edi
add esp, 4
add esi, 0x28
cmp edi, dword [eax + 8]
jl 0x47c7c0
cmp byte [ebx + 0x53], 0
jne 0x47c985
test byte [ebx + 0x5a], 4
mov edi, dword [ebp - 0x18]
je 0x47c81a
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 0x47cb10
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 0x47c903
test edx, edx
je 0x47c86f
push 0x204
push ebx
call fcn.0046ca70
add esp, 8
mov byte [ebx + 0x51], 1
jmp 0x47c8a4
test ecx, ecx
je 0x47c886
cmp dword [ebx + 0xbc], 0
jle 0x47c886
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x47c513
push 1
push edi
call fcn.004764e0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x47cb09
mov eax, dword [ebp - 0x34]
mov byte [ebx + 0x51], al
push edi
call fcn.0047d8c0
add esp, 4
cmp eax, 5
jne 0x47c8e1
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 0x47cb10
push ebx
call fcn.00451b50
add esp, 4
cmp dword [edi + 0x28], 0
mov ecx, 1
mov eax, 0x65
cmove ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x47cb09
test ecx, ecx
jne 0x47c923
mov eax, str.cannot_start_a_transaction_within_a_transaction
push eax
push edi
call fcn.00476f60
mov edx, 1
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x47c4f7
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.00476f60
mov edx, 1
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x47c4f7
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 0x47c4f7
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x1c], eax
jmp 0x47c988
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x18]
push ebx
call fcn.00465b40
push str.out_of_memory
push edi
call fcn.00476f60
mov edx, 7
add esp, 0xc
mov dword [ebp - 0x20], edx
jmp 0x47c4f7
cmp edx, 0x210a
jne 0x47c9d7
push 0x4cb7c4
push 0x17213
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422760
add esp, 0x14
mov edx, 0xb
mov dword [ebp - 0x20], edx
cmp dword [edi + 0x7c], 0
jne 0x47ca34
cmp edx, 0xc0a
je 0x47ca34
mov eax, edx
mov ecx, str.unknown_error
sub eax, 0x64
je 0x47ca20
dec eax
je 0x47ca19
sub eax, 0x19f
je 0x47ca12
movzx eax, dl
cmp eax, 0x1c
ja 0x47ca25
mov eax, dword [eax*4 + 0x4c1ba8]
test eax, eax
je 0x47ca25
mov ecx, eax
jmp 0x47ca25
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x47ca25
mov ecx, str.no_more_rows_available
jmp 0x47ca25
mov ecx, str.another_row_available
push ecx
push 0x4c71bc
push edi
call fcn.00476f60
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x28], eax
cmp eax, 0xc0a
je 0x47ca68
movzx eax, al
cmp eax, 0xe
je 0x47ca4e
cmp eax, 0xa
jne 0x47ca68
mov eax, dword [ebx]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x47ca63
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x47ca65
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.00422760
push edi
call fcn.0047d8c0
add esp, 0x18
cmp esi, 0xc0a
jne 0x47caea
cmp byte [ebx + 0x53], 0
jne 0x47caea
cmp byte [ebx + 0x54], 0
jne 0x47caea
cmp dword [ebx + 0xc0], 0
mov byte [ebx + 0x53], 1
jle 0x47caca
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 0x47caea
mov dword [eax + 0xc], 7
mov al, byte [ebp - 0x6d]
mov esi, 1
test al, al
je 0x47cb10
movzx eax, al
dec eax
push eax
push ebx
call fcn.0046c430
add esp, 8
jmp 0x47cb10
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
lea esp, [esp]
mov edx, dword [ebp - 0x74]
cmp dword [ebp - 0x8c], edx
jb 0x47cb66
mov ecx, dword [ebp - 0x68]
ja 0x47cb25
cmp dword [ebp - 0x1c], ecx
jb 0x47cb66
mov eax, dword [ebx + 0x160]
test eax, eax
je 0x47cb66
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 0x47cb10
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 0x47c4f7
mov ecx, dword [ebp - 0x1c]
add dword [edi + 0xb4], ecx
cmp dword [edi + 0xa0], 0
je 0x47cb81
push edi
call fcn.00490620
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret