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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x5868f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x68]
mov edi, dword [esi]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x14], eax
xor al, al
mov byte [ebp - 0x69], al
mov al, byte [edi + 0x50]
mov byte [ebp - 0x54], al
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], eax
call fcn.004b8d40
add esp, 4
cmp dword [edi + 0x160], ebx
je 0x4b8e6b
mov ecx, dword [edi + 0x168]
xor edx, edx
mov eax, dword [esi + 0xb4]
div ecx
sub ecx, edx
xor eax, eax
jmp 0x4b8e71
or ecx, 0xffffffff
or eax, 0xffffffff
cmp dword [esi + 0x28], 7
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ecx
je 0x4be67a
mov dword [esi + 0x28], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x78], ebx
mov dword [edi + 0x1b4], ebx
cmp dword [edi + 0x118], ebx
jne 0x4be667
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x48]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
xor eax, eax
mov dl, byte [ecx]
add ebx, 1
mov dword [ebp - 0x84], ebx
adc eax, 0
movzx ebx, dl
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
cmp ebx, 0xae
ja case.0x4b8ed0.86
jmp dword [ebx*4 + 0x4be838]
mov edx, dword [ebp - 0x14]
mov ecx, edx
mov edi, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, 4
mov word [edi + esi*8 + 8], ax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [edi + esi*8], eax
mov dword [edi + esi*8 + 4], edx
jmp 0x4bb885
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
mov eax, 0x80
mov dword [ebp - 0x14], esi
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
dec eax
cdq
mov dword [ebx + ecx*8], eax
mov eax, 4
mov dword [ebx + ecx*8 + 4], edx
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0
jne 0x4bb888
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
jmp 0x4b8f25
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x48]
mov eax, dword [edx + 4]
sub edx, edi
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]
lea ecx, [edi + eax*4]
mov dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 0x18]
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
je 0x4b9beb
sub ecx, dword [ebp - 0x48]
mov eax, 0x66666667
mov ebx, dword [ebp - 0x18]
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 0x4be10b
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
je 0x4be10b
mov eax, dword [ecx + 4]
mov esi, ebx
push ecx
dec dword [esi + 0xd0]
mov dword [esi + 0xc8], eax
mov eax, dword [esi + 0x2c]
add dword [edi + 0x6c], eax
mov dword [edi + 0x68], eax
call fcn.004bf3a0
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp dword [ecx + 8], 4
jne 0x4b9087
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + ecx*4 + 8]
dec eax
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
mov ecx, dword [esi + 0x58]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
mov dword [ebp - 0x24], ecx
lea ecx, [edx + eax*4]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov dword [ebp - 0x48], edx
jmp 0x4b8ead
push dword [ebp - 0x14]
push esi
call fcn.00480ef0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
push dword [ebp - 0x14]
push esi
call fcn.00480ef0
mov edi, dword [ebp - 0x50]
mov edx, eax
mov eax, dword [ebp - 0x14]
add esp, 8
mov ebx, dword [ebp - 0x84]
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
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
push dword [ebp - 0x14]
push esi
call fcn.00480ef0
mov edi, dword [ebp - 0x50]
mov ecx, eax
mov ebx, dword [ebp - 0x84]
mov eax, 8
add esp, 8
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
fld qword [eax]
mov eax, dword [ebp - 0x1c]
fstp qword [ecx]
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
jmp 0x4b8ead
mov ebx, dword [ebp - 0x14]
push ebx
push esi
call fcn.00480ef0
mov ebx, dword [ebx + 0x10]
mov esi, eax
push ebx
call fcn.004b3b70
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp byte [ebp - 0x54], 1
mov dword [edx + 4], eax
je 0x4b91db
push 0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push esi
call fcn.004c0d10
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4be416
movzx ecx, byte [ebp - 0x54]
push ecx
push esi
call fcn.004b8190
add esp, 8
test eax, eax
jne 0x4be677
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [edx + 1], 0xf9
jne 0x4b91cb
mov eax, dword [edx + 0x10]
test eax, eax
je 0x4b91cb
push eax
push edi
call fcn.00497080
mov edx, dword [ebp - 0x14]
add esp, 8
mov byte [edx + 1], 0xf9
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
mov eax, dword [edx + 4]
mov esi, dword [ebp - 0x18]
cmp eax, dword [edi + 0x70]
jg 0x4be419
mov byte [edx], 0x47
jmp 0x4b91f2
mov edx, dword [ebp - 0x14]
push edx
push esi
call fcn.00480ef0
mov esi, eax
add esp, 8
mov eax, 0xa02
mov word [esi + 8], ax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov cl, byte [ebp - 0x54]
mov byte [esi + 0xa], cl
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x4b8f35
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 0x4bdfce
cmp dword [ebx + ecx*8 + 4], edx
jne 0x4b8f35
mov eax, 0xa10
mov word [esi + 8], ax
jmp 0x4b8f35
mov ebx, dword [ebp - 0x14]
push ebx
push esi
call fcn.00480ef0
mov ecx, dword [ebx + 4]
add esp, 8
mov edi, dword [ebx + 0xc]
neg ecx
mov edx, dword [ebx + 8]
sbb ecx, ecx
mov dword [eax + 0xc], 0
and ecx, 0x100
lea esi, [eax + 0xc]
inc ecx
sub edi, edx
movzx ebx, cx
mov word [eax + 8], bx
test edi, edi
jle 0x4b8f35
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.004c0c80
dec edi
mov word [esi - 4], bx
add esp, 4
mov dword [esi], 0
test edi, edi
jg 0x4b9292
jmp 0x4b8f35
mov eax, dword [ecx + 4]
mov edx, 0xff41
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x50]
lea ecx, [eax + eax*4]
mov ax, word [ebx + ecx*8 + 8]
and ax, dx
or ax, 1
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
push dword [ebp - 0x14]
push esi
call fcn.00480ef0
mov ecx, dword [ebp - 0x14]
mov esi, eax
push 0
push 0
mov eax, dword [ecx + 4]
cdq
push edx
push eax
push dword [ecx + 0x10]
push esi
call fcn.004c0d10
mov al, byte [ebp - 0x54]
add esp, 0x20
mov byte [esi + 0xa], al
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x64]
lea ecx, [ecx - 5]
lea ebx, [eax + ecx*8]
push ebx
call fcn.004c10d0
add esp, 4
test eax, eax
jne 0x4be419
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x2400
test word [esi + 8], ax
je 0x4b9360
push esi
call fcn.004c0c80
add esp, 4
mov eax, dword [ebx]
mov ecx, 0xebff
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
and ax, cx
mov ecx, 0x840
or ax, cx
mov word [esi + 8], ax
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push ebx
push esi
call fcn.004c0a10
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x4b93dd
push esi
call fcn.004c09b0
add esp, 4
test eax, eax
jne 0x4be677
add ebx, 0x28
add esi, 0x28
sub dword [ebp - 0x38], 1
jne 0x4b93b7
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
lea esp, [esp]
push 0x1000
push ebx
push esi
call fcn.004c0fd0
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x4b943b
push esi
call fcn.004c09b0
add esp, 4
test eax, eax
jne 0x4be677
mov ecx, dword [ebp - 0x38]
mov eax, ecx
dec ecx
mov dword [ebp - 0x38], ecx
test eax, eax
je 0x4b8f35
add esi, 0x28
add ebx, 0x28
jmp 0x4b9410
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
push 0x1000
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.004c0fd0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
push dword [ebx + eax*8 + 4]
push dword [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.004c0c40
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x3c], ecx
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov eax, dword [edx + 0xc]
movzx edx, word [ecx + 8]
mov dword [ebp - 0x4c], edx
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
mov al, byte [esi + 8]
or al, dl
test al, 1
je 0x4b9510
push ebx
call fcn.004c0c80
add esp, 4
jmp 0x4b8f35
test dl, 0x12
jne 0x4b9542
push 0
push dword [ebp - 0x54]
push ecx
call fcn.004c1030
add esp, 0xc
test eax, eax
jne 0x4be677
mov eax, dword [ebp - 0x3c]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx ecx, ax
mov dword [ebp - 0x4c], ecx
jmp 0x4b9570
test edx, 0x4000
je 0x4b9570
push ecx
call fcn.004c0520
add esp, 4
test eax, eax
jne 0x4be677
mov eax, dword [ebp - 0x3c]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx eax, ax
mov dword [ebp - 0x4c], eax
movzx eax, word [esi + 8]
mov dword [ebp - 0x2c], eax
test al, 0x12
jne 0x4b958b
push 0
push dword [ebp - 0x54]
push esi
call fcn.004c1030
add esp, 0xc
jmp 0x4b959b
test eax, 0x4000
je 0x4b95b5
push esi
call fcn.004c0520
add esp, 4
test eax, eax
jne 0x4be677
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
add eax, dword [esi + 0xc]
cdq
mov dword [ebp - 0x34], eax
mov ecx, edx
mov eax, dword [edi + 0x70]
cdq
cmp ecx, edx
jg 0x4be416
mov ecx, dword [ebp - 0x34]
jl 0x4b95dd
cmp ecx, eax
ja 0x4be416
xor eax, eax
cmp ebx, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push ebx
call fcn.004c0750
add esp, 0xc
test eax, eax
jne 0x4be677
mov ax, word [ebx + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [ebx + 8], ax
cmp ebx, esi
je 0x4b962a
push dword [esi + 0xc]
push dword [esi + 0x10]
push dword [ebx + 0x10]
call fcn.005167a0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov word [esi + 8], ax
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x10]
add eax, dword [esi + 0xc]
push dword [edi + 0xc]
push dword [edi + 0x10]
push eax
call fcn.005167a0
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov word [edi + 8], ax
mov eax, dword [ebx + 0x10]
mov byte [ecx + eax], 0
mov eax, dword [ebx + 0x10]
mov byte [ecx + eax + 1], 0
mov eax, dword [ebx + 0x10]
mov byte [ecx + eax + 2], 0
mov eax, 0x200
or word [ebx + 8], ax
mov al, byte [ebp - 0x54]
mov dword [ebx + 0xc], ecx
mov byte [ebx + 0xa], al
jmp 0x4b8f35
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
mov dword [ebp - 0x3c], esi
call fcn.004807c0
movzx ebx, ax
mov eax, dword [edi + 8]
mov edi, dword [ebp - 0x24]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
push eax
mov dword [ebp - 0x2c], eax
call fcn.004807c0
movzx ecx, ax
add esp, 8
mov eax, dword [ebp - 0x14]
and cl, bl
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + 8]
or ax, word [esi + 8]
movzx eax, ax
test cl, 4
je 0x4b97df
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
movzx eax, byte [eax]
mov esi, dword [ebx]
add eax, 0xffffff96
mov edi, dword [ebx + 4]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], edi
cmp eax, 3
ja case.default.0x4b9703
jmp dword [eax*4 + 0x4beaf4]
push edx
push ecx
lea eax, [ebp - 0x8c]
push eax
call fcn.0048cf30
add esp, 0xc
test eax, eax
je 0x4b97b2
mov esi, dword [ebp - 0x3c]
jmp 0x4b97ea
push edx
push ecx
lea eax, [ebp - 0x8c]
push eax
call fcn.004b3b90
add esp, 0xc
test eax, eax
jne 0x4b9723
jmp 0x4b97b2
push edx
push ecx
lea eax, [ebp - 0x8c]
push eax
call fcn.004a78c0
add esp, 0xc
test eax, eax
jne 0x4b9723
jmp 0x4b97b2
mov eax, ecx
or eax, edx
je 0x4b98bc
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x4b9778
test esi, esi
jne 0x4b9778
cmp edi, 0x80000000
je 0x4b9723
push edx
push ecx
push edi
push esi
call fcn.004fe980
jmp 0x4b97a6
mov eax, ecx
or eax, edx
je 0x4b98bc
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x4b979d
mov ecx, 1
xor edx, edx
push edx
push ecx
push edi
push esi
call fcn.004feb50
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, 0x3e40
mov eax, dword [ebp - 0x8c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x88]
mov dword [ecx + 4], eax
mov ax, word [ecx + 8]
and ax, dx
or ax, 4
mov word [ecx + 8], ax
jmp 0x4b8f35
test al, 1
jne 0x4b98bc
mov ebx, dword [ebp - 0x2c]
push esi
call fcn.004c1980
fstp qword [ebp - 0x44]
push ebx
call fcn.004c1980
mov eax, dword [ebp - 0x14]
add esp, 8
movzx eax, byte [eax]
add eax, 0xffffff96
cmp eax, 3
ja case.default.0x4b980a
jmp dword [eax*4 + 0x4beb04]
fadd qword [ebp - 0x44]
jmp 0x4b9888
fsub qword [ebp - 0x44]
jmp 0x4b9888
fmul qword [ebp - 0x44]
jmp 0x4b9888
fld qword [ebp - 0x44]
fldz
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x4b98b8
fdivp st(1)
jmp 0x4b9888
push esi
fstp st(0)
call fcn.004bfae0
push ebx
mov esi, eax
mov edi, edx
call fcn.004bfae0
mov ecx, esi
mov dword [ebp - 0x8c], eax
add esp, 8
mov dword [ebp - 0x88], edx
or ecx, edi
je 0x4b98bc
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x4b986d
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.004feb50
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], edx
fild qword [ebp - 0x114]
sub esp, 8
fst qword [esp]
call fcn.004a5a00
add esp, 8
test eax, eax
jne 0x4b98ba
mov ecx, dword [ebp - 0x4c]
mov edx, 0x3e40
mov ax, word [ecx + 8]
and ax, dx
or ax, 8
fstp qword [ecx]
mov word [ecx + 8], ax
jmp 0x4b8f35
fstp st(1)
fstp st(0)
push dword [ebp - 0x4c]
call fcn.004c0c80
add esp, 4
jmp 0x4b8f35
mov eax, dword [ecx + 4]
test eax, eax
je 0x4b9beb
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
push 0
push 0
lea eax, [ecx + eax*8]
push eax
call fcn.004c0c40
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edx, [ebx + eax*8]
mov al, byte [ecx + 8]
or al, byte [esi + 8]
mov dword [ebp - 0x58], edx
test al, 1
je 0x4b9940
push edx
call fcn.004c0c80
add esp, 4
jmp 0x4b8f35
push ecx
call fcn.004bfae0
push esi
mov ebx, eax
mov edi, edx
call fcn.004bfae0
mov esi, eax
add esp, 8
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
cmp cl, 0x66
jne 0x4b9968
and ebx, esi
and edi, edx
jmp 0x4b9a19
cmp cl, 0x67
jne 0x4b9976
or ebx, esi
or edi, edx
jmp 0x4b9a19
mov eax, esi
or eax, edx
je 0x4b9a19
test edx, edx
jg 0x4b99ae
jl 0x4b998a
test esi, esi
jae 0x4b99a3
mov al, 0xd1
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x4b99ae
jg 0x4b999c
cmp esi, 0xffffffc0
jbe 0x4b99ae
neg esi
adc edx, 0
neg edx
test edx, edx
jl 0x4b99ca
jg 0x4b99ae
cmp esi, 0x40
jb 0x4b99ca
test edi, edi
jg 0x4b99c4
jl 0x4b99b8
test ebx, ebx
jae 0x4b99c4
cmp cl, 0x68
je 0x4b99c4
or ebx, 0xffffffff
or edi, ebx
jmp 0x4b9a19
xor ebx, ebx
xor edi, edi
jmp 0x4b9a19
cmp cl, 0x68
mov eax, ebx
mov edx, edi
mov ecx, esi
jne 0x4b99e0
call fcn.004fec10
mov ecx, eax
mov eax, edx
jmp 0x4b9a15
call fcn.004fedc0
mov ecx, eax
mov eax, edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], eax
test edi, edi
jg 0x4b9a15
jl 0x4b99f9
test ebx, ebx
jae 0x4b9a15
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, esi
or edx, 0xffffffff
call fcn.004fec10
mov ecx, dword [ebp - 0x28]
or ecx, eax
mov eax, dword [ebp - 0x38]
or eax, edx
mov ebx, ecx
mov edi, eax
mov ecx, dword [ebp - 0x58]
mov edx, 0x3e40
mov ax, word [ecx + 8]
and ax, dx
mov dword [ecx], ebx
or ax, 4
mov dword [ecx + 4], edi
mov word [ecx + 8], ax
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.004c0940
mov eax, dword [ebp - 0x14]
add esp, 4
mov eax, dword [eax + 8]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
jmp 0x4b8f35
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x4b9ab7
test al, 8
jne 0x4b9a8c
test al, 2
je 0x4b9a98
push 1
push esi
call fcn.00465e60
add esp, 8
jmp 0x4b9a95
push esi
call fcn.004bfb30
add esp, 4
mov ecx, dword [ebp - 0x14]
movzx eax, word [esi + 8]
test al, 4
jne 0x4b9ab7
cmp dword [ecx + 8], 0
jne 0x4bb888
mov edx, 0x14
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
mov edi, dword [ebp - 0x50]
and eax, 0x3e40
mov ebx, dword [ebp - 0x84]
or eax, 4
mov word [esi + 8], ax
add ecx, 0x14
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 0x24
lea eax, [edx + eax*8]
je 0x4b9beb
push eax
call fcn.004c0b50
mov ecx, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x4b9b41
push esi
call fcn.004c0520
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x54]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.004c0380
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx ecx, word [edi + 8]
movzx eax, word [esi + 8]
mov edx, eax
mov dword [ebp - 0x34], ecx
and edx, ecx
mov dword [ebp - 0x30], eax
test dl, 4
je 0x4b9c0d
mov ecx, dword [esi]
mov esi, dword [esi + 4]
mov edx, dword [edi + 4]
mov eax, dword [edi]
cmp esi, edx
jl 0x4b9bcf
jg 0x4b9baa
cmp ecx, eax
jbe 0x4b9bc5
mov eax, dword [0x5867d8]
mov dword [ebp - 0x60], 1
cmp byte [ebx + eax], 0
jne 0x4bb885
jmp 0x4b8f35
cmp esi, edx
jg 0x4b9bff
jl 0x4b9bcf
cmp ecx, eax
jae 0x4b9bff
mov eax, dword [0x5867d0]
mov dword [ebp - 0x60], 0xffffffff
cmp byte [ebx + eax], 0
mov ecx, dword [ebp - 0x14]
jne 0x4bb888
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x50]
add ecx, 0x14
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov eax, dword [0x5867d4]
mov dword [ebp - 0x60], 0
jmp 0x4b9bdb
movzx ebx, word [edi + 8]
mov ecx, eax
or ecx, ebx
test cl, 1
je 0x4b9c6f
mov ecx, dword [ebp - 0x14]
movzx ecx, word [ecx + 2]
test cl, cl
jns 0x4b9c60
test dl, 1
je 0x4b9c48
test eax, 0x100
jne 0x4b9c48
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
movzx ecx, byte [eax]
mov eax, dword [0x5867d4]
jmp 0x4b9d60
test byte [ebp - 0x30], 1
mov edx, 0
sete dl
lea edx, [edx*2 - 1]
jmp 0x4b9d32
mov dword [ebp - 0x60], 1
test cl, 0x10
jmp 0x4b9bdf
mov ebx, dword [ebp - 0x14]
mov al, byte [ebx + 2]
and al, 0x47
cmp al, 0x43
jb 0x4b9cb5
test cl, 2
je 0x4b9d23
mov al, byte [ebp - 0x34]
and al, 0x2e
cmp al, 2
jne 0x4b9c9f
push 0
push edi
call fcn.00465e60
movzx eax, word [esi + 8]
add esp, 8
mov dword [ebp - 0x30], eax
mov al, byte [ebp - 0x30]
and al, 0x2e
cmp al, 2
jne 0x4b9d23
push 0
push esi
call fcn.00465e60
add esp, 8
jmp 0x4b9d23
cmp al, 0x42
jne 0x4b9d23
mov al, byte [ebp - 0x34]
test al, 2
jne 0x4b9cf6
test al, 0x2c
je 0x4b9cf6
push 1
push dword [ebp - 0x54]
push edi
call fcn.004c1030
mov ax, word [edi + 8]
mov ecx, 0x3e40
xor ax, word [ebp - 0x34]
add esp, 0xc
and ax, cx
xor word [ebp - 0x34], ax
cmp edi, esi
jne 0x4b9cf6
mov eax, dword [ebp - 0x34]
or eax, 2
movzx eax, ax
mov dword [ebp - 0x30], eax
mov al, byte [ebp - 0x30]
test al, 2
jne 0x4b9d23
test al, 0x2c
je 0x4b9d23
push 1
push dword [ebp - 0x54]
push esi
call fcn.004c1030
mov ax, word [esi + 8]
mov ecx, 0x3e40
xor ax, word [ebp - 0x30]
add esp, 0xc
and ax, cx
xor word [ebp - 0x30], ax
push dword [ebx + 0x10]
push edi
push esi
call fcn.004a7650
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x60], edx
test edx, edx
jns 0x4b9d46
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x5867d0]
jmp 0x4b9d60
jne 0x4b9d55
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x5867d4]
jmp 0x4b9d60
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov eax, dword [0x5867d8]
mov cl, byte [ecx + eax]
movzx eax, word [ebp - 0x30]
test cl, cl
mov word [esi + 8], ax
movzx eax, word [ebp - 0x34]
mov word [edi + 8], ax
jmp 0x4b9bdf
cmp dword [ebp - 0x60], 0
je 0x4bb888
mov edi, dword [ebp - 0x50]
add ecx, 0x14
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov ebx, dword [ebp - 0x14]
test byte [ebx + 2], 1
jne 0x4b9da2
xor eax, eax
jmp 0x4b9da8
mov eax, dword [ebx - 4]
add eax, 4
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebp - 0x14]
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [esi + 8]
xor esi, esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x3c], ebx
test ecx, ecx
jle 0x4b8f35
lea ebx, [edx + 0x14]
test eax, eax
je 0x4b9ddc
mov edi, dword [eax + esi*4]
jmp 0x4b9dde
mov edi, esi
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x24]
push dword [ebx]
movzx eax, byte [esi + eax]
and eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov eax, dword [ebp - 0x2c]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004a7650
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x60], ecx
test ecx, ecx
jne 0x4b9e2d
mov eax, dword [ebp - 0x38]
inc esi
mov edx, dword [ebp - 0x58]
add ebx, 4
cmp esi, dword [ebp - 0x28]
jl 0x4b9dd3
jmp 0x4b8f35
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x10]
test byte [esi + eax], 2
je 0x4b9e5f
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
jne 0x4b9e5a
mov eax, dword [ebp - 0x3c]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
je 0x4b9e5f
neg ecx
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x4c], 0
je 0x4b8f35
neg ecx
mov dword [ebp - 0x60], ecx
jmp 0x4b8f35
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x48]
test eax, eax
jns 0x4b9ea0
mov eax, dword [edx + 4]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x4b8ead
jne 0x4b9ec2
mov eax, dword [edx + 8]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x4b8ead
mov eax, dword [edx + 0xc]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x4b8ead
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
push 2
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004b8140
mov ecx, dword [ebx + 8]
mov esi, eax
mov ebx, dword [ebp - 0x24]
push 2
lea ecx, [ecx + ecx*4]
lea ecx, [ebx + ecx*8]
push ecx
call fcn.004b8140
mov ecx, dword [ebp - 0x14]
add esp, 0x10
lea eax, [eax + esi*2]
cmp byte [ecx], 0x2c
jne 0x4b9f26
mov al, byte [esi + eax + 0x54a204]
jmp 0x4b9f2d
mov al, byte [esi + eax + 0x54a260]
mov esi, dword [ebp - 0x18]
movzx edx, al
mov eax, dword [ecx + 0xc]
lea ecx, [eax + eax*4]
mov ax, word [ebx + ecx*8 + 8]
cmp edx, 2
jne 0x4b9f6b
mov edi, dword [ebp - 0x50]
mov edx, 0x3e40
and ax, dx
or ax, 1
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edi, dword [ebp - 0x50]
mov dword [ebx + ecx*8], edx
mov edx, 0x3e40
and ax, dx
mov dword [ebx + ecx*8 + 4], 0
or ax, 4
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.004b8140
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, [ebx + eax*8]
push eax
call fcn.004c0c40
mov ecx, dword [ebp - 0x14]
add esp, 0x14
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
jne 0x4bdb4f
push 0
push ecx
call fcn.004b8140
neg eax
push 0
sbb eax, eax
inc eax
push eax
push esi
call fcn.004c0c40
add esp, 0x14
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.004c0c80
add esp, 4
test byte [edi + 8], 1
jne 0x4b8f35
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.004bfae0
not eax
not edx
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4b8f35
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x4ba0dc
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
sub ecx, dword [esi + 0x68]
mov edi, dword [edi + 0x18]
imul ecx
mov eax, 1
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, ecx
and ecx, 7
shr esi, 3
shl eax, cl
movzx edx, byte [esi + edi]
test edx, eax
jne 0x4bb885
mov ebx, dword [ebp - 0x84]
bts edx, ecx
mov ecx, dword [ebp - 0x14]
mov byte [esi + edi], dl
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x50]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 4]
je 0x4bb888
mov eax, dword [esi + 0x68]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004b8140
mov ecx, dword [ebp - 0x14]
add esp, 8
test eax, eax
jne 0x4bb888
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0x24]
cmp dword [edx + 0xc], eax
sete al
push eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004b8140
mov ecx, dword [ebp - 0x14]
add esp, 8
test eax, eax
je 0x4bb888
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
jne 0x4bb888
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
jne 0x4ba1d3
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
jne 0x4ba1d3
push 0
push 0
jmp 0x4b94a5
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.004c0c80
mov ecx, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
je 0x4bb888
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 2], 0
je 0x4b90c7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004c0c80
add esp, 4
jmp 0x4bb885
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x64], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004b8730
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x50]
mov dword [ebp - 0x34], edx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x30], ecx
cmp eax, dword [esi + 0x20]
je 0x4ba391
cmp byte [ebx + 2], 0
je 0x4ba2f9
cmp byte [ebx], 3
jne 0x4ba2d9
mov eax, dword [ebx + 0x28]
lea esi, [ebx + 0x5c]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [esi], eax
mov dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ecx*8 + 0x10]
mov dword [ebx + 0x54], eax
jmp 0x4ba32a
push ecx
call fcn.004c0c80
mov ecx, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov esi, dword [ebx + 0x30]
push esi
call fcn.004783e0
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x58], eax
lea eax, [ebx + 0x5c]
push eax
push esi
call fcn.00492bc0
mov dword [ebx + 0x54], eax
add esp, 0xc
mov eax, dword [ebx + 0x58]
cmp eax, dword [edi + 0x70]
ja 0x4be416
mov edx, dword [ebp - 0x34]
lea esi, [ebx + 0x5c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x24], eax
mov ecx, dword [ebx + 0x54]
mov al, byte [ecx]
cmp al, 0x80
jae 0x4ba348
movzx eax, al
mov dword [edx], eax
mov eax, 1
jmp 0x4ba358
push edx
push ecx
call fcn.004a3a20
mov edx, dword [ebp - 0x34]
add esp, 8
movzx eax, al
movzx eax, al
mov dword [ebx + 0x38], eax
xor eax, eax
mov word [ebx + 0x42], ax
mov eax, dword [esi]
cmp eax, dword [edx]
jae 0x4ba477
mov dword [ebx + 0x54], 0
mov dword [esi], 0
mov eax, dword [edx]
cmp eax, 0x18003
ja 0x4ba55b
cmp eax, dword [ebx + 0x58]
ja 0x4ba55b
movzx eax, word [ebx + 0x42]
mov esi, dword [ebp - 0x78]
cmp eax, esi
ja 0x4ba5ce
mov eax, dword [ebx + 0x38]
cmp eax, dword [edx]
jae 0x4ba589
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4ba41b
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x198]
push eax
push dword [edx]
push dword [ebx + 0x30]
call fcn.004c06f0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x3c], eax
movzx edx, word [ebx + 0x42]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebx + 0x38]
add esi, dword [ebp - 0x3c]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + edx*4]
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x58], ecx
mov eax, dword [eax]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
lea eax, [ebx + 0x60]
lea eax, [eax + edx*4]
mov dword [ebp - 0x38], eax
lea ebx, [ebx]
movzx ebx, byte [esi]
mov dword [ebp - 0x90], ebx
mov dword [eax], ebx
cmp ebx, 0x80
jae 0x4ba47c
movzx eax, byte [ebx + 0x54a180]
cdq
add ecx, eax
adc dword [ebp - 0x4c], edx
mov edx, 1
jmp 0x4ba4a9
mov eax, dword [ebx + 0x54]
jmp 0x4ba418
lea eax, [ebp - 0x90]
push eax
push esi
call fcn.004a3a20
mov ebx, dword [ebp - 0x90]
movzx edx, al
mov eax, dword [ebp - 0x38]
push ebx
mov dword [eax], ebx
call fcn.004c23d0
mov ecx, dword [ebp - 0x58]
add esp, 0xc
add ecx, eax
adc dword [ebp - 0x4c], 0
mov edi, dword [ebp - 0x34]
add esi, edx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
inc edx
add eax, 4
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x38], eax
mov dword [edi + edx*4], ecx
mov edi, dword [ebp - 0x50]
cmp edx, dword [ebp - 0x78]
ja 0x4ba4da
cmp esi, dword [ebp - 0x2c]
jb 0x4ba450
mov eax, dword [ebp - 0x2c]
jmp 0x4ba4e1
mov eax, dword [ebp - 0x2c]
cmp esi, eax
jb 0x4ba4f6
cmp esi, eax
mov eax, dword [ebp - 0x64]
ja 0x4ba513
cmp ecx, dword [eax + 0x58]
jne 0x4ba513
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4ba510
jmp 0x4ba4f9
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x64]
mov edi, dword [edi + 0x58]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x50]
test eax, eax
jb 0x4ba520
ja 0x4ba510
cmp ecx, dword [ebp - 0x28]
jbe 0x4ba520
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x34]
cmp dword [ecx], 0
jne 0x4ba546
mov esi, dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x64]
sub esi, dword [ebp - 0x3c]
mov word [eax + 0x42], dx
mov dword [eax + 0x38], esi
mov esi, eax
cmp dword [esi + 0x54], 0
jne 0x4ba594
lea eax, [ebp - 0x198]
push eax
call fcn.004c0ba0
add esp, 4
jmp 0x4ba594
cmp dword [eax + 0x54], 0
jne 0x4ba55b
lea eax, [ebp - 0x198]
push eax
call fcn.004c0ba0
add esp, 4
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x4be1bd
mov esi, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edi, dword [ebp - 0x50]
lea eax, [eax - 5]
mov ebx, dword [ebp - 0x84]
lea ecx, [edx + eax*4]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x4b8ead
mov esi, dword [ebp - 0x64]
xor ebx, ebx
mov dword [ebp - 0x90], ebx
movzx eax, word [esi + 0x42]
cmp eax, dword [ebp - 0x78]
ja 0x4ba5db
mov eax, dword [ebp - 0x14]
cmp byte [eax + 1], 0xf5
jne 0x4ba5be
push 0x800
push dword [eax + 0x10]
push dword [ebp - 0x30]
call fcn.004c0fd0
add esp, 0xc
jmp 0x4b8f35
push dword [ebp - 0x30]
call fcn.004c0c80
add esp, 4
jmp 0x4b8f35
mov ebx, dword [ebx + esi*4 + 0x60]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x90], ebx
mov edx, dword [ebp - 0x30]
mov eax, 0x2400
test word [edx + 8], ax
je 0x4ba5f5
push edx
call fcn.004c0c80
mov edx, dword [ebp - 0x30]
add esp, 4
mov edi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x34]
mov eax, dword [esi + 0x5c]
cmp eax, dword [ecx + edi*4 + 4]
mov edi, dword [ebp - 0x50]
jb 0x4ba69f
mov eax, dword [esi + 0x54]
mov esi, dword [ebp - 0x78]
add eax, dword [ecx + esi*4]
mov dword [ebp - 0x28], eax
cmp ebx, 0xc
jae 0x4ba62c
push edx
push ebx
push eax
call fcn.004c2190
add esp, 0xc
jmp 0x4b8f35
mov al, byte [ebp - 0x54]
lea esi, [ebx - 0xc]
shr esi, 1
mov byte [edx + 0xa], al
mov dword [edx + 0xc], esi
lea eax, [esi + 2]
cmp dword [edx + 0x18], eax
jge 0x4ba664
push 0
push eax
mov ecx, 1
push edx
mov word [edx + 8], cx
call fcn.004c0750
add esp, 0xc
test eax, eax
jne 0x4be677
mov edx, dword [ebp - 0x30]
jmp 0x4ba66a
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
push esi
push dword [ebp - 0x28]
push dword [edx + 0x10]
call fcn.005167a0
mov ecx, dword [ebp - 0x30]
add esp, 0xc
and ebx, 1
mov eax, dword [ecx + 0x10]
mov byte [esi + eax], 0
mov eax, dword [ecx + 0x10]
mov byte [esi + eax + 1], 0
mov ax, word [ebx*2 + 0x54a26c]
mov word [ecx + 8], ax
jmp 0x4b8f35
mov al, byte [ebp - 0x54]
mov byte [edx + 0xa], al
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x4ba6be
cmp ebx, 0xc
jb 0x4ba6ba
test bl, 1
je 0x4ba6cb
test al, al
js 0x4ba6cb
push ebx
call fcn.004c23d0
add esp, 4
test eax, eax
jne 0x4ba6df
push edx
push ebx
push 0x549040
call fcn.004c2190
add esp, 0xc
jmp 0x4b8f35
push edx
push eax
mov eax, dword [ebp - 0x78]
push dword [ecx + eax*4]
push dword [esi + 0x30]
call fcn.004c0610
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov esi, dword [ebp - 0x30]
push esi
push ebx
push dword [esi + 0x10]
call fcn.004c2190
mov eax, 0xefff
add esp, 0xc
and word [esi + 8], ax
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
nop
push dword [ebp - 0x54]
movzx eax, byte [edi]
push eax
push esi
call fcn.00465df0
add esp, 0xc
cmp byte [edi], 0x45
jne 0x4ba799
movzx eax, word [esi + 8]
test al, 4
je 0x4ba799
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], ecx
cmp ecx, 0x7fff
jg 0x4ba785
jl 0x4ba76d
cmp edx, 0xffffffff
ja 0x4ba785
cmp ecx, 0xffff8000
jl 0x4ba785
jg 0x4ba77b
test edx, edx
jb 0x4ba785
and eax, 0xfffb
or eax, 0x20
jmp 0x4ba795
fild qword [ebp - 0x11c]
and eax, 0xfffb
or eax, 8
fstp qword [esi]
mov word [esi + 8], ax
inc edi
cmp byte [edi], 0
je 0x4b8f35
add esi, 0x28
jmp 0x4ba730
xor esi, esi
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x38], esi
xor edx, edx
mov esi, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x30], edx
xor edi, edi
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], esi
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [esi + eax*8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x93]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
test ecx, ecx
je 0x4ba848
add esi, 8
mov ebx, ecx
mov edi, edi
push dword [ebp - 0x54]
movzx eax, byte [ebx]
push eax
lea eax, [esi - 8]
push eax
call fcn.00465df0
add esp, 0xc
cmp byte [ebx], 0x45
jne 0x4ba83a
movzx eax, word [esi]
test al, 4
je 0x4ba83a
and eax, 0xfffb
or eax, 0x20
mov word [esi], ax
inc ebx
add esi, 0x28
cmp byte [ebx], 0
jne 0x4ba810
mov edx, dword [ebp - 0x30]
mov ebx, edi
mov esi, dword [ebp - 0x58]
add esi, 0x1c
mov edi, edi
movzx ecx, word [esi - 0x14]
test cl, 1
je 0x4ba86e
and ecx, 0x4000
neg ecx
sbb ecx, ecx
and ecx, 0xa
inc edx
mov dword [esi], ecx
jmp 0x4baa3e
test cl, 0x24
je 0x4ba9b8
mov edx, dword [esi - 0x18]
mov eax, dword [esi - 0x1c]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
test edx, edx
jg 0x4ba89e
jl 0x4ba893
test eax, eax
jae 0x4ba89e
mov edx, eax
mov eax, dword [esi - 0x18]
not edx
not eax
jmp 0x4ba8a3
mov edx, eax
mov eax, dword [esi - 0x18]
inc dword [ebp - 0x30]
test eax, eax
ja 0x4ba95c
jb 0x4ba8b5
cmp edx, 0x7f
ja 0x4ba8f6
mov eax, dword [esi - 0x1c]
and eax, 1
mov dword [ebp - 0x28], 0
cmp eax, dword [esi - 0x1c]
jne 0x4ba8e2
mov eax, dword [ebp - 0x28]
cmp eax, dword [esi - 0x18]
jne 0x4ba8e2
cmp dword [ebp - 0x40], 4
jb 0x4ba8e2
lea eax, [edx + 8]
mov edx, dword [ebp - 0x30]
mov dword [esi], eax
jmp 0x4baa41
mov edx, dword [ebp - 0x30]
add ebx, 1
mov dword [esi], 1
adc edi, 0
jmp 0x4baa41
test eax, eax
ja 0x4ba95c
jb 0x4ba904
cmp edx, 0x7fff
ja 0x4ba918
mov edx, dword [ebp - 0x30]
add ebx, 2
mov dword [esi], 2
adc edi, 0
jmp 0x4baa41
test eax, eax
ja 0x4ba95c
jb 0x4ba926
cmp edx, 0x7fffff
ja 0x4ba93a
mov edx, dword [ebp - 0x30]
add ebx, 3
mov dword [esi], 3
adc edi, 0
jmp 0x4baa41
test eax, eax
ja 0x4ba95c
jb 0x4ba948
cmp edx, 0x7fffffff
ja 0x4ba95c
mov edx, dword [ebp - 0x30]
add ebx, 4
mov dword [esi], 4
adc edi, 0
jmp 0x4baa41
cmp eax, 0x7fff
ja 0x4ba97e
jb 0x4ba96a
cmp edx, 0xffffffff
ja 0x4ba97e
mov edx, dword [ebp - 0x30]
add ebx, 6
mov dword [esi], 5
adc edi, 0
jmp 0x4baa41
mov edx, dword [ebp - 0x30]
add ebx, 8
adc edi, 0
test cl, 0x20
je 0x4ba9ad
fild qword [ebp - 0x124]
and ecx, 0xffdf
mov dword [esi], 7
or ecx, 8
mov word [esi - 0x14], cx
fstp qword [esi - 0x1c]
jmp 0x4baa41
mov dword [esi], 6
jmp 0x4baa41
test cl, 8
je 0x4ba9cc
inc edx
mov dword [esi], 7
add ebx, 8
adc edi, 0
jmp 0x4baa3e
mov edx, dword [esi - 0x10]
mov eax, ecx
shr eax, 1
and eax, 1
mov dword [ebp - 0x28], edx
lea eax, [eax + edx*2]
add eax, 0xc
mov dword [ebp - 0x2c], eax
test ecx, 0x4000
je 0x4baa24
mov edx, dword [esi - 0x1c]
lea ecx, [esi - 0x1c]
lea eax, [eax + edx*2]
mov dword [ebp - 0x2c], eax
mov eax, ebx
or eax, edi
je 0x4baa15
push ecx
call fcn.004c0520
add esp, 4
test eax, eax
jne 0x4be674
mov edx, dword [ebp - 0x28]
add edx, dword [esi - 0x1c]
jmp 0x4baa21
mov eax, edx
cdq
add dword [ebp - 0x38], eax
adc dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
add ebx, edx
push 0
push eax
adc edi, 0
call fcn.004b7bf0
mov edx, dword [ebp - 0x30]
add esp, 8
add edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
mov dword [ebp - 0x30], edx
lea eax, [esi - 0x1c]
cmp eax, dword [ebp - 0x34]
je 0x4baa51
sub esi, 0x28
jmp 0x4ba850
cmp edx, 0x7e
jle 0x4baa7c
mov eax, edx
cdq
push edx
push eax
call fcn.004b7bf0
mov esi, eax
mov eax, dword [ebp - 0x30]
add eax, esi
mov dword [ebp - 0x30], eax
cdq
push edx
push eax
call fcn.004b7bf0
mov edx, dword [ebp - 0x30]
add esp, 0x10
cmp esi, eax
jge 0x4baa80
inc edx
mov dword [ebp - 0x30], edx
mov esi, dword [ebp - 0x38]
mov eax, edx
cdq
mov ecx, eax
mov eax, edx
add ebx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], ecx
mov ecx, ebx
adc edi, eax
mov eax, dword [ebp - 0x3c]
add ecx, esi
adc edi, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
cdq
cmp edi, edx
jg 0x4baab7
jl 0x4baaac
cmp ecx, eax
ja 0x4baab7
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
jmp 0x4baae7
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x70]
cdq
cmp edi, edx
jg 0x4be413
jl 0x4baad0
cmp ecx, eax
ja 0x4be413
push ebx
push dword [ebp - 0x3c]
call fcn.004c0470
add esp, 8
test eax, eax
jne 0x4be674
mov ecx, dword [ebp - 0x3c]
mov eax, 0x10
mov dword [ecx + 0xc], ebx
mov word [ecx + 8], ax
mov eax, esi
or eax, dword [ebp - 0x4c]
je 0x4bab05
mov eax, 0x4010
mov dword [ecx], esi
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x30]
mov esi, dword [ecx + 0x10]
lea edi, [esi + eax]
cmp eax, 0x80
jae 0x4bab1e
mov byte [esi], al
mov eax, 1
jmp 0x4bab2d
push dword [ebp - 0x40]
push dword [ebp - 0x28]
push esi
call fcn.004ad840
add esp, 0xc
mov ebx, dword [ebp - 0x34]
movzx eax, al
add esi, eax
mov ebx, dword [ebx + 0x1c]
cmp ebx, 0x80
jae 0x4bab49
mov byte [esi], bl
mov eax, 1
jmp 0x4bab55
push 0
push ebx
push esi
call fcn.004ad840
add esp, 0xc
push ebx
mov ebx, dword [ebp - 0x34]
movzx eax, al
push ebx
push edi
add esi, eax
call fcn.004c2360
add ebx, 0x28
add esp, 0xc
add edi, eax
mov dword [ebp - 0x34], ebx
cmp ebx, dword [ebp - 0x58]
jbe 0x4bab35
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
cmp dword [edx + 0xc], 0
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x30]
je 0x4babaa
push eax
call fcn.00492de0
mov esi, eax
mov ebx, edx
add esp, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa4], ebx
jmp 0x4babe8
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
push ecx
push eax
push edi
mov dword [ebp - 0xa4], 0
call fcn.00490aa0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov ebx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xa8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00480ef0
add esp, 8
mov dword [eax], esi
mov dword [eax + 4], ebx
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp dword [edi + 0x118], 0
jne 0x4be667
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x1c]
cmp eax, edx
jb case.0x4b8ed0.86
mov ebx, dword [ebp - 0x70]
ja 0x4bac30
cmp dword [ebp - 0x84], ebx
jb 0x4bdfd4
lea ecx, [ecx]
mov eax, dword [edi + 0x160]
test eax, eax
je 0x4bdfd1
add ebx, dword [edi + 0x168]
push dword [edi + 0x164]
adc edx, 0
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edx
call eax
add esp, 4
test eax, eax
jne 0x4be609
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x1c]
cmp eax, edx
ja 0x4bac30
jb 0x4bac74
cmp dword [ebp - 0x84], ebx
jae 0x4bac30
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x50]
add ecx, 0x14
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
test ecx, ecx
jne 0x4bad53
cmp dword [edi + 0xbc], ecx
jg 0x4be1d4
push eax
call fcn.004b3b70
mov ecx, dword [edi + 0x1e8]
mov ebx, eax
add ecx, dword [edi + 0x1e4]
push ecx
push 0
push edi
call fcn.004c3ea0
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
push edx
lea eax, [ebx + 0x21]
push eax
push edi
call fcn.004970f0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4b8f35
lea ecx, [ebx + 1]
push ecx
push dword [ebp - 0x38]
lea edx, [esi + 0x20]
push edx
mov dword [esi], edx
call fcn.005167a0
add esp, 0xc
cmp byte [edi + 0x51], 0
je 0x4bad15
mov byte [edi + 0x51], 0
mov byte [edi + 0x59], 1
jmp 0x4bad1b
inc dword [edi + 0x1e4]
mov eax, dword [edi + 0x1d8]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1f0]
mov dword [edi + 0x1d8], esi
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1f4]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x1f8]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x1fc]
mov dword [esi + 0x14], eax
jmp 0x4b8f35
mov esi, dword [edi + 0x1d8]
xor ebx, ebx
push eax
test esi, esi
je 0x4be23b
push dword [esi]
call fcn.004b3ad0
add esp, 8
test eax, eax
je 0x4bad7b
mov esi, dword [esi + 0x18]
inc ebx
mov eax, dword [ebp - 0x38]
jmp 0x4bad5b
cmp dword [edi + 0xbc], 0
mov ecx, dword [ebp - 0x34]
jle 0x4bad90
cmp ecx, 1
je 0x4be1ef
cmp dword [esi + 0x18], 0
jne 0x4badf8
cmp byte [edi + 0x59], 0
je 0x4badf8
mov dword [ebp - 0x38], 1
cmp ecx, 1
jne 0x4badff
push ecx
push dword [ebp - 0x18]
call fcn.004b8330
mov ecx, eax
add esp, 8
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x4be5af
push dword [ebp - 0x18]
mov byte [edi + 0x51], 1
call fcn.004bf590
add esp, 4
cmp eax, 5
je 0x4be20d
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x20], edx
test edx, edx
je 0x4badef
mov byte [edi + 0x51], 0
jmp 0x4baee4
mov byte [edi + 0x59], 0
jmp 0x4baeec
mov dword [ebp - 0x38], 0
mov eax, dword [edi + 0x1e4]
sub eax, ebx
dec eax
mov dword [ebp - 0x2c], eax
cmp ecx, 2
jne 0x4bae69
mov ecx, dword [edi + 0x18]
and ecx, 1
mov dword [ebp - 0x28], 0
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x58], ecx
jle 0x4bae75
mov eax, ecx
xor eax, 1
xor ebx, ebx
mov dword [ebp - 0x40], eax
push eax
mov eax, dword [edi + 0x10]
push 0x204
push dword [ebx + eax + 4]
call fcn.00493770
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x28]
add ebx, 0x10
inc eax
cmp eax, dword [edi + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
jl 0x4bae30
mov eax, dword [ebp - 0x2c]
jmp 0x4bae78
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x58], 0
jmp 0x4bae7b
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x28], 0
jle 0x4baec3
xor ebx, ebx
lea ebx, [ebx]
push eax
mov eax, dword [edi + 0x10]
push ecx
push dword [ebx + eax + 4]
call fcn.00492e50
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x28]
add ebx, 0x10
mov ecx, dword [ebp - 0x34]
inc eax
cmp eax, dword [edi + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
jl 0x4bae90
cmp dword [ebp - 0x58], 0
je 0x4baee1
push 0
push edi
call fcn.00499440
push edi
call fcn.004ae3d0
mov edx, dword [ebp - 0x20]
add esp, 0xc
or dword [edi + 0x18], 1
mov ebx, dword [ebp - 0x2c]
test edx, edx
jne 0x4bbe97
cmp dword [edi + 0x1d8], esi
je 0x4baf1b
mov ecx, dword [edi + 0x1d8]
push ecx
push edi
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1d8], eax
call fcn.00497080
dec dword [edi + 0x1e4]
add esp, 8
cmp dword [edi + 0x1d8], esi
jne 0x4baef4
mov ecx, dword [ebp - 0x34]
cmp ecx, 1
jne 0x4baf56
mov eax, dword [esi + 0x18]
push esi
push edi
mov dword [edi + 0x1d8], eax
call fcn.00497080
add esp, 8
cmp dword [ebp - 0x38], 0
jne 0x4b8f35
mov ecx, dword [ebp - 0x34]
dec dword [edi + 0x1e4]
push ebx
push ecx
push edi
call fcn.004c3ea0
jmp 0x4b9b52
cmp dword [ebp - 0x38], 0
mov eax, dword [esi + 8]
mov dword [edi + 0x1f0], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1f4], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x1f8], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x1fc], eax
je 0x4baf89
cmp ecx, 2
jne 0x4b8f35
push ebx
push ecx
push edi
call fcn.004c3ea0
jmp 0x4b9b52
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xa0], 0
mov edx, dword [edx + 8]
test edx, edx
je 0x4bafbb
mov eax, dword [edi + 0x20]
and eax, 0x100000
or eax, 0
jne 0x4be259
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
test esi, esi
je 0x4bb08e
lea eax, [ebp - 0xa0]
push eax
push edx
push esi
call fcn.00490220
mov ebx, dword [ebp - 0x18]
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4be266
test byte [ebx + 0x98], 0x40
mov ecx, dword [ebp - 0x14]
je 0x4bb099
cmp dword [ecx + 8], eax
je 0x4bb099
cmp byte [edi + 0x51], al
je 0x4bb01e
cmp dword [edi + 0xb8], 1
jle 0x4bb099
cmp dword [ebx + 0x30], 0
jne 0x4bb039
mov eax, dword [edi + 0x1e4]
inc dword [edi + 0x1e8]
add eax, dword [edi + 0x1e8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x30]
dec eax
push eax
push 0
push edi
call fcn.004c3ea0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bb063
push dword [ebx + 0x30]
push esi
call fcn.004901c0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
mov eax, dword [edi + 0x1f0]
mov esi, ebx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x1f4]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x1f8]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x1fc]
mov dword [esi + 0x54], eax
jmp 0x4bb09b
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
jmp 0x4bb09b
mov esi, ebx
cmp word [ecx + 2], 0
je 0x4bb0cf
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ecx + 0xc]
jne 0x4be294
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 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 0x4be294
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
push dword [edx + 0xc]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.00491190
push dword [ebp - 0x14]
push esi
call fcn.00480ef0
mov edi, dword [ebp - 0x50]
mov ecx, eax
mov eax, dword [ebp - 0xf8]
add esp, 0x14
mov ebx, dword [ebp - 0x84]
cdq
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 4]
push dword [edx + 0xc]
shl esi, 4
add esi, dword [edi + 0x10]
push dword [edx + 8]
push dword [esi + 4]
call fcn.004938d0
mov edx, eax
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x4bb181
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 [edi + 0x18], 1
jmp 0x4bb192
cmp eax, 2
jne 0x4bb192
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 0x4bb1b8
push 0
push edi
call fcn.00499440
mov esi, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
and dword [esi + 0x98], 0xfffffffc
jmp 0x4bb1bb
mov esi, dword [ebp - 0x18]
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [ebx + 4]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4bb1f3
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebx + 8]
je 0x4bb30c
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x98]
and al, 3
cmp al, 1
je 0x4be2fa
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov eax, esi
shl eax, 4
add eax, dword [edi + 0x10]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x40], esi
mov ebx, dword [eax + 4]
mov dword [ebp - 0x2c], ebx
cmp dl, 0x63
jne 0x4bb25c
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
movzx ebx, word [edx + 2]
mov edx, dword [ebp - 0x18]
and ebx, 8
mov al, byte [eax + 0x4c]
or ebx, 4
cmp al, byte [edx + 0x93]
jae 0x4bb25e
mov byte [edx + 0x93], al
jmp 0x4bb25e
xor ebx, ebx
mov eax, dword [ebp - 0x14]
test byte [eax + 2], 0x10
je 0x4bb281
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x24]
lea esi, [ecx + eax*8]
push esi
call fcn.004c0940
mov eax, dword [esi]
add esp, 4
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx + 1]
cmp al, 0xf7
jne 0x4bb297
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x38], eax
movzx eax, word [eax + 8]
jmp 0x4bb2a3
cmp al, 0xfd
jne 0x4bb2a0
mov eax, dword [ecx + 0x10]
jmp 0x4bb2a3
mov eax, dword [ebp - 0x58]
push 0
push esi
push eax
push dword [ecx + 4]
push dword [ebp - 0x18]
call fcn.00464b00
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4be677
push dword [esi + 0x30]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x38]
or dword [esi + 8], 4
push ebx
push eax
push dword [ebp - 0x2c]
mov byte [esi + 2], 1
mov dword [esi + 0x3c], eax
call fcn.00490c70
mov edx, eax
add esp, 0x14
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
cmp byte [eax + 1], 0xf7
setne al
mov byte [esi + 4], al
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 2]
mov eax, dword [esi + 0x30]
and cl, 3
mov byte [eax + 3], cl
jmp 0x4b9b5a
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
jmp 0x4b9b5a
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
push 0
push 0xffffffffffffffff
mov ecx, dword [edx + 8]
mov ebx, dword [eax + ecx*4]
movsx eax, word [ebx + 0x40]
push eax
push dword [edx + 4]
push esi
call fcn.00464b00
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4be677
or dword [esi + 8], 1
mov edx, dword [esi + 8]
mov byte [esi + 2], 1
mov ecx, dword [ebx + 0x34]
mov dword [esi + 0x34], ecx
mov al, byte [ebx + 4]
mov byte [esi + 4], al
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 8]
xor eax, edx
and eax, 4
xor eax, edx
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x10]
or dword [esi + 8], 8
mov dword [esi + 0x10], eax
or dword [ebx + 8], 8
push dword [esi + 0x30]
push dword [esi + 0x34]
push 4
push dword [esi + 0x3c]
push dword [esi + 0x10]
call fcn.00490c70
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0x20], ebx
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x4bb3cc
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 0xc], 0
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 0x10], 0x564cf6
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4bb40e
test byte [esi + 8], 8
jne 0x4bb40e
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.00490530
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
jmp 0x4bb512
push 0
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push dword [ebp - 0x18]
call fcn.00464b00
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4be677
mov eax, dword [ebp - 0x14]
lea ebx, [esi + 0x10]
or dword [esi + 8], 1
push 0x41e
movzx ecx, word [eax + 2]
or ecx, 5
push ecx
push ebx
push edi
push 0
push dword [edi]
call fcn.00492410
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
push eax
push 1
push dword [ebx]
call fcn.00490220
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bb4e5
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x40], eax
mov dword [esi + 0x34], eax
test eax, eax
je 0x4bb4c2
movzx eax, word [edx + 2]
lea ecx, [esi + 0x3c]
or eax, 2
push eax
push ecx
push dword [ebx]
call fcn.00490c20
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bb4bc
push dword [esi + 0x30]
push dword [ebp - 0x40]
push 4
push dword [esi + 0x3c]
push dword [ebx]
call fcn.00490c70
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x20], edx
mov byte [esi + 4], 0
jmp 0x4bb4e5
push dword [esi + 0x30]
mov dword [esi + 0x3c], 1
push 0
push 4
push 1
push dword [ebx]
call fcn.00490c70
mov edx, eax
mov byte [esi + 4], 1
add esp, 0x14
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp word [eax + 2], 8
mov eax, dword [esi + 8]
sete cl
and eax, 0xfffffffb
dec ecx
and ecx, 4
or ecx, eax
mov dword [esi + 8], ecx
test edx, edx
je 0x4bb51a
push dword [ebx]
call fcn.004905f0
mov edx, dword [ebp - 0x20]
add esp, 4
test edx, edx
jne 0x4bbe97
mov byte [esi + 2], 1
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
push 1
push 0xffffffffffffffff
push dword [edx + 8]
push dword [edx + 4]
push esi
call fcn.00464b00
add esp, 0x14
test eax, eax
je 0x4be67a
mov edx, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x34], ecx
push dword [edx + 0xc]
push edi
call fcn.004c26a0
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 4]
mov edx, dword [eax + ecx*4]
mov edi, dword [edx + 0x18]
mov ecx, edi
mov esi, dword [edx + 0x1c]
add ecx, 1
mov eax, esi
mov dword [edx + 0x18], ecx
mov ecx, dword [ebp - 0x14]
adc eax, 0
or edi, esi
mov dword [edx + 0x1c], eax
jne 0x4b9be8
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
push 3
push 0xffffffffffffffff
push dword [edx + 0xc]
push dword [edx + 4]
push esi
call fcn.00464b00
add esp, 0x14
test eax, eax
je 0x4be67a
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
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
add ecx, 0x14
mov dword [eax + 0x30], 0x589d54
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 4]
push dword [eax + ecx*4]
push esi
call fcn.004bf420
mov eax, dword [ebp - 0x14]
add esp, 8
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x60]
mov dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x2c], 0
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x24]
cmp byte [esi + 4], 0
mov word [esi + 2], 0
mov dword [esi + 0x24], 0
je 0x4bb779
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
movzx eax, word [ecx + 8]
mov dword [ebp - 0x40], eax
and al, 0x2e
mov dword [ebp - 0x28], ecx
cmp al, 2
jne 0x4bb6ab
push 0
push ecx
call fcn.00465e60
mov ecx, dword [ebp - 0x28]
add esp, 8
push ecx
call fcn.004bfae0
mov ecx, dword [ebp - 0x28]
add esp, 4
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
mov edx, dword [ebp - 0x40]
movzx eax, word [ecx + 8]
mov word [ecx + 8], dx
test al, 0x24
jne 0x4bb736
test al, 8
jne 0x4bb708
test al, 1
jne 0x4bb885
cmp ebx, 0x18
jae 0x4bb885
lea eax, [ebp - 0x68]
push eax
push dword [esi + 0x30]
call fcn.00491da0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
jmp 0x4bb8c6
fild qword [ebp - 0xb0]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fcom qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x4bb727
fstp st(0)
test bl, 1
je 0x4bb736
dec ebx
jmp 0x4bb736
fcomp qword [ecx]
fnstsw ax
test ah, 5
jp 0x4bb736
test bl, 1
jne 0x4bb736
inc ebx
lea eax, [ebp - 0x68]
push eax
push 0
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push 0
push dword [esi + 0x30]
call fcn.00491f00
mov edx, eax
add esp, 0x18
mov eax, dword [ebp - 0xb0]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x20], edx
mov dword [esi + 0x4c], eax
test edx, edx
jne 0x4bbe97
jmp 0x4bb80c
mov eax, dword [esi + 0x30]
mov al, byte [eax + 3]
and al, 2
mov byte [ebp - 0x59], al
mov eax, 0
setne al
test bl, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x10c], eax
mov ax, word [edx + 0x10]
mov word [ebp - 0x104], ax
sete al
mov byte [ebp - 0xfe], 0
lea eax, [eax*2 - 1]
mov byte [ebp - 0x102], al
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push dword [esi + 0x30]
call fcn.00491f00
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
cmp byte [ebp - 0x59], al
je 0x4bb80c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
cmp byte [ebp - 0xfe], dl
je 0x4bb8c6
mov eax, dword [ebp - 0x68]
cmp ebx, 0x18
jl 0x4bb8ae
test eax, eax
js 0x4bb851
jne 0x4bb823
cmp ebx, 0x19
je 0x4bb851
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x14]
je 0x4b9be8
mov esi, dword [ebp - 0x18]
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
push 0
push dword [esi + 0x30]
mov dword [ebp - 0x68], 0
call fcn.004923c0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
je 0x4bb82a
cmp edx, 0x65
jne 0x4bbe97
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
add ecx, 0xffffffec
add ecx, 0x14
jmp 0x4b8ead
test eax, eax
jg 0x4bb8d1
jne 0x4bb8b9
cmp ebx, 0x16
je 0x4bb8d1
mov eax, dword [esi + 0x30]
xor ecx, ecx
cmp byte [eax], cl
setne cl
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 0
jne 0x4bb885
jmp 0x4bb82a
push 0
push dword [esi + 0x30]
mov dword [ebp - 0x68], 0
call fcn.00492bf0
jmp 0x4bb862
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [ebx + 0x18]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x30]
cmp byte [eax], 0
jne 0x4b9beb
mov eax, dword [ebx + 0x34]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x1d0], eax
mov ax, word [ecx + 0x24]
mov word [ebp - 0x1c8], ax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x1c6], 0
mov dword [ebp - 0xc4], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x1cc], eax
lea esp, [esp]
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x1d0]
push eax
push ebx
push edi
call fcn.004bf8c0
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0xc4]
test eax, eax
jg 0x4bb9a3
je 0x4bb885
test esi, esi
jle 0x4b8f35
push edx
push dword [ebx + 0x30]
dec esi
call fcn.004923c0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
je 0x4bb940
cmp edx, 0x65
jne 0x4bbe97
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
jmp 0x4bb888
mov eax, dword [esi + 0x60]
mov ecx, dword [ecx + 4]
mov esi, dword [ebp - 0x14]
mov ecx, dword [eax + ecx*4]
movzx eax, word [ecx + 0xc]
cmp eax, dword [esi + 8]
jge 0x4bb9d2
mov eax, esi
mov ax, word [eax + 8]
mov word [ecx + 0xc], ax
jmp 0x4b8f35
cmp eax, dword [esi + 0xc]
mov esi, dword [ebp - 0x18]
jle 0x4b90c7
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
mov ax, word [eax + 0xc]
mov word [ecx + 0xc], ax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x4b8ead
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x60]
cmp dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0x14]
je case.0x4b8ed0.11
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
movzx eax, word [eax + 0xc]
cmp eax, dword [ecx + 0x10]
jge 0x4b9beb
mov eax, dword [esi + 0x60]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x24]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ebx
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
jle 0x4bba8b
mov eax, dword [ebx + 0x34]
lea ebx, [ebp - 0x200]
mov dword [ebp - 0x200], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0x1f8], ax
xor eax, eax
mov dword [ebp - 0x1fc], esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
jmp 0x4bbad7
mov eax, 0x4000
test word [esi + 8], ax
je 0x4bbaa7
push esi
call fcn.004c0520
add esp, 4
test eax, eax
jne 0x4be677
push dword [ebx + 0x34]
call fcn.004b80a0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x4be677
push ebx
push dword [esi + 0x10]
push dword [esi + 0xc]
mov esi, dword [ebp - 0x28]
push dword [esi + 0x34]
call fcn.004c1f30
mov ecx, dword [ebp - 0x14]
add esp, 0x10
mov byte [ebx + 0xa], 0
cmp byte [ecx], 0x1c
mov dword [ebp - 0x28], 0
jne 0x4bbb0d
movzx edx, word [ebx + 8]
xor ecx, ecx
test edx, edx
je 0x4bbb0d
mov eax, dword [ebx + 4]
add eax, 8
test byte [eax], 1
jne 0x4bbb06
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x4bbaf7
jmp 0x4bbb0d
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0xfc]
push eax
push 0
push 0
push 0
push ebx
push dword [esi + 0x30]
call fcn.00491f00
mov edx, eax
add esp, 0x18
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], edx
test eax, eax
je 0x4bbb3f
push eax
push edi
call fcn.00497080
mov edx, dword [ebp - 0x20]
add esp, 8
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0xfc]
xor ecx, ecx
test eax, eax
mov dword [esi + 0x28], eax
mov al, 1
mov byte [esi + 3], dl
sete cl
mov dword [esi + 0x24], edx
sub al, cl
mov byte [esi + 2], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
cmp al, 0x1e
jne 0x4bbb74
test ecx, ecx
jmp 0x4b9bdf
cmp dword [ebp - 0x28], 0
jne 0x4bb885
test ecx, ecx
je 0x4bb885
mov ecx, dword [ebp - 0x14]
cmp al, 0x1b
jne 0x4b9be8
mov edi, dword [ebp - 0x50]
mov eax, ecx
mov ebx, dword [ebp - 0x84]
add ecx, 0x14
mov ax, word [eax + 0x10]
mov word [esi + 0xc], ax
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
mov eax, dword [ecx + 0xc]
mov ebx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x24
lea esi, [ebx + eax*8]
jne 0x4bbc2a
mov ecx, 0xa
lea edi, [ebp - 0x250]
rep movsd dword es:[edi], dword [esi]
mov ax, word [ebp - 0x248]
test al, 4
jne 0x4bbc16
test al, 8
jne 0x4bbbf8
test al, 2
je 0x4bbc0e
lea eax, [ebp - 0x250]
push 1
push eax
call fcn.00465e60
add esp, 8
jmp 0x4bbc07
lea eax, [ebp - 0x250]
push eax
call fcn.004bfb30
add esp, 4
mov ax, word [ebp - 0x248]
test al, 4
je 0x4bb885
mov ebx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x50]
jmp 0x4bbc3a
mov ebx, dword [ebp - 0x24]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
mov ebx, dword [ebx + eax*8]
mov edx, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc8], 0
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0xc8]
push eax
push 0
push edx
push ebx
push 0
push dword [esi + 0x30]
call fcn.00491f00
mov edx, eax
mov dword [esi + 0x48], ebx
mov eax, dword [ebp - 0x28]
add esp, 0x18
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x20], edx
mov word [esi + 2], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], eax
test eax, eax
je 0x4b9b5a
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0
jne 0x4bb888
push 0x16504
call fcn.00495a30
add esp, 4
jmp 0x4b9b55
mov ebx, dword [ebp - 0x14]
push ebx
push esi
call fcn.00480ef0
mov edx, dword [ebx + 4]
add esp, 8
mov ecx, dword [esi + 0x60]
mov edi, dword [ebp - 0x50]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0x18]
mov dword [eax], ecx
mov ecx, dword [edx + 0x1c]
mov dword [eax + 4], ecx
mov eax, ebx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, ebx
mov ebx, dword [ebp - 0x84]
add dword [eax + 0x18], 1
adc dword [eax + 0x1c], 0
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
mov ebx, dword [ebp - 0x14]
xor esi, esi
push ebx
push dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x94], esi
call fcn.00480ef0
mov edx, dword [ebx + 4]
add esp, 8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x60]
mov ebx, dword [ecx + edx*4]
mov dword [ebp - 0x2c], ebx
test byte [ebx + 8], 2
jne 0x4bbd9c
lea eax, [ebp - 0x94]
push eax
push dword [ebx + 0x30]
call fcn.00491da0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe94
cmp dword [ebp - 0x94], esi
je 0x4bbd66
lea edi, [esi + 1]
jmp 0x4bbd96
push dword [ebx + 0x30]
call fcn.004917d0
mov esi, edx
add esp, 4
mov dword [ebp - 0x7c], esi
mov edi, eax
mov dword [ebp - 0x80], edi
cmp esi, 0x7fffffff
jl 0x4bbd90
jg 0x4bbd8a
cmp edi, 0xffffffff
jb 0x4bbd90
or dword [ebx + 8], 2
jmp 0x4bbd9c
add edi, 1
adc esi, 0
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4bbe2b
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x4bbdd4
mov eax, dword [edx + 4]
test eax, eax
je 0x4bbdc9
mov edi, edi
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x4bbdc0
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*8]
jmp 0x4bbddd
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x24]
lea ebx, [ecx + eax*8]
push ebx
call fcn.004c0940
mov eax, dword [ebx]
add esp, 4
mov ecx, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x4bbdfc
cmp ecx, 0x7fffffff
je 0x4bbe8c
mov edx, dword [ebp - 0x2c]
test byte [edx + 8], 2
jne 0x4bbe8c
add eax, 1
adc ecx, 0
cmp esi, ecx
jg 0x4bbe23
jl 0x4bbe19
cmp edi, eax
jae 0x4bbe23
mov edi, eax
mov esi, ecx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov ebx, dword [ebp - 0x2c]
test byte [ebx + 8], 2
je 0x4bbeb4
xor ebx, ebx
lea eax, [ebp - 0x80]
push eax
push 8
call fcn.0045d960
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x94]
mov edi, dword [ebp - 0x80]
and esi, 0x3fffffff
push eax
mov eax, dword [ebp - 0x2c]
add edi, 1
push 0
adc esi, 0
mov dword [ebp - 0x80], edi
push esi
push edi
push 0
push dword [eax + 0x30]
mov dword [ebp - 0x7c], esi
call fcn.00491f00
mov edx, eax
add esp, 0x20
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe94
cmp dword [ebp - 0x94], eax
jne 0x4bbeb1
inc ebx
cmp ebx, 0x64
jl 0x4bbe37
mov edx, 0xd
mov dword [ebp - 0x20], edx
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
cmp byte [edi + 0x53], 0
je 0x4be69b
mov edx, 7
jmp 0x4be6c6
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
mov byte [ebx + 3], 0
mov dword [ebx + 0x24], 0
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x4b8f35
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, ebx
mov ebx, dword [ebp - 0x24]
cmp byte [ecx + 1], 0xfa
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov ebx, dword [ebx + eax*8]
mov dword [ebp - 0x220], ebx
mov eax, dword [edi + eax*8 + 4]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x21c], eax
jne 0x4bbf31
cmp dword [edi + 0xf4], 0
je 0x4bbf31
movsx ecx, byte [esi + 1]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov ecx, dword [eax + ecx*8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
jmp 0x4bbf3f
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x38], 0
test byte [ecx + 2], 1
je 0x4bbf4e
mov edi, dword [ebp - 0x18]
inc dword [edi + 0x2c]
mov edi, dword [ebp - 0x50]
test byte [ecx + 2], 0x20
je 0x4bbf5a
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], eax
mov ebx, dword [ebp - 0x24]
movzx ecx, word [ecx + 2]
mov eax, dword [ebx + edx*8 + 0x10]
mov dword [ebp - 0x218], eax
mov eax, dword [ebx + edx*8 + 0xc]
mov dword [ebp - 0x20c], eax
test cl, 0x10
je 0x4bbf7f
mov ebx, dword [esi + 0x28]
jmp 0x4bbf81
xor ebx, ebx
mov eax, dword [ebp - 0x24]
mov edi, 0x4000
test word [eax + edx*8 + 8], di
mov edi, dword [ebp - 0x50]
je 0x4bbf9e
mov eax, dword [eax + edx*8]
mov dword [ebp - 0x208], eax
jmp 0x4bbfa8
mov dword [ebp - 0x208], 0
push ebx
and ecx, 0x8a
mov dword [ebp - 0x228], 0
push ecx
lea eax, [ebp - 0x228]
push eax
push dword [esi + 0x30]
call fcn.00491340
mov edx, eax
mov byte [esi + 3], 0
add esp, 0x10
mov dword [ebp - 0x20], edx
mov dword [esi + 0x24], 0
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4b8f35
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [eax]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x38]
mov al, byte [eax + 2]
and al, 4
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
add eax, 0x12
push eax
push dword [edi + 0xf0]
mov eax, dword [edi + 0xf4]
call eax
add esp, 0x18
jmp 0x4b8f35
mov ebx, dword [ebp - 0x14]
mov ecx, dword [esi + 0x60]
mov eax, dword [ebx + 4]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebx + 8]
mov esi, dword [ecx + eax*4]
mov eax, ebx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4bc056
mov ebx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8]
mov eax, dword [ebx + eax*8 + 4]
jmp 0x4bc05a
xor ecx, ecx
xor eax, eax
push eax
push ecx
push dword [esi + 0x30]
push dword [edx + 0x30]
call fcn.004933a0
add esp, 0x10
jmp 0x4b9b55
mov edx, dword [ebp - 0x14]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x60]
mov esi, dword [eax + ecx*4]
jne 0x4bc0c4
cmp dword [edi + 0xf4], 0
je 0x4bc0c4
movsx ecx, byte [esi + 1]
mov eax, dword [edi + 0x10]
add ecx, ecx
test byte [edx + 2], 2
mov ebx, dword [edx + 0x10]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x28], eax
je 0x4bc0cd
cmp byte [esi + 4], 0
je 0x4bc0cd
push dword [esi + 0x30]
call fcn.004917d0
mov dword [esi + 0x4c], edx
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x48], eax
jmp 0x4bc0cd
mov dword [ebp - 0x28], 0
xor ebx, ebx
movzx eax, byte [edx + 2]
push eax
push dword [esi + 0x30]
call fcn.00490ce0
mov edx, eax
mov dword [esi + 0x24], 0
add esp, 8
mov dword [ebp - 0x20], edx
mov dword [esi + 0x28], 0
test edx, edx
jne 0x4bbe97
test byte [ebp - 0x40], 1
je 0x4b8f35
mov eax, dword [ebp - 0x18]
inc dword [eax + 0x2c]
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x4b8f35
test byte [ebx + 0x24], 0x80
jne 0x4b8f35
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [ebx]
push dword [ebp - 0x28]
push 9
push dword [edi + 0xf0]
call eax
add esp, 0x18
jmp 0x4b8f35
mov eax, dword [esi + 0x2c]
add dword [edi + 0x6c], eax
add ecx, 0x14
mov ebx, dword [ebp - 0x84]
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x50]
mov dword [esi + 0x2c], 0
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0xcc], 0
mov ecx, dword [edx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
lea ebx, [ebp - 0xcc]
push ebx
push dword [edx + 0x10]
push eax
push ecx
call fcn.004c25d0
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov ecx, dword [ebp - 0x14]
cmp dword [ebp - 0xcc], eax
jne 0x4bb888
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov ecx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
push edx
push dword [eax + ecx*4]
call fcn.004c2b70
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov edi, dword [ebp - 0x50]
mov eax, ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, ebx
mov ebx, dword [ebp - 0x84]
add ecx, 0x14
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
mov ebx, dword [ebp - 0x14]
push ebx
push esi
call fcn.00480ef0
mov edx, dword [ebx + 4]
mov esi, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x60]
mov ecx, dword [ecx + edx*4]
mov ebx, dword [ecx + 0x30]
push ebx
call fcn.004783e0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
cmp eax, dword [edi + 0x70]
ja 0x4be416
push esi
push eax
push ebx
call fcn.004c06f0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xc], eax
jne 0x4b9be8
mov eax, 0x1000
test word [esi + 8], ax
je 0x4b9be8
push esi
call fcn.004c09b0
mov esi, dword [ebp - 0x18]
add esp, 4
test eax, eax
jne 0x4be67a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
push dword [ebp - 0x14]
push esi
call fcn.00480ef0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov ebx, eax
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x60]
mov esi, dword [ecx + edx*4]
cmp byte [esi + 2], 0
je 0x4bc2d5
mov eax, 1
mov word [ebx + 8], ax
jmp 0x4b8f35
cmp byte [esi + 3], 0
je 0x4bc312
mov ecx, dword [esi + 0x48]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0xb8], ecx
mov eax, dword [esi + 0x4c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0xb4], eax
mov dword [ebx], ecx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 4], eax
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
cmp byte [esi], 2
jne 0x4bc36e
mov ecx, dword [esi + 0x30]
lea edx, [ebp - 0xb8]
push edx
push ecx
mov esi, dword [ecx]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
push esi
mov esi, dword [ebp - 0x18]
push esi
mov dword [ebp - 0x20], eax
call fcn.004c3cb0
mov edx, dword [ebp - 0x20]
add esp, 0x10
test edx, edx
jne 0x4bbe97
mov ecx, dword [ebp - 0xb8]
mov edi, dword [ebp - 0x50]
mov dword [ebx], ecx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 4], eax
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
push esi
call fcn.004b8790
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
cmp byte [esi + 2], al
je 0x4bc397
mov eax, 1
mov word [ebx + 8], ax
jmp 0x4b8f35
push dword [esi + 0x30]
call fcn.004917d0
mov esi, dword [ebp - 0x18]
mov ecx, eax
mov edi, dword [ebp - 0x50]
add esp, 4
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], edx
mov dword [ebx], ecx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 4], eax
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 0
mov byte [eax + 2], 1
mov dword [eax + 0x24], 0
jne 0x4b90c7
push dword [eax + 0x30]
call fcn.00490510
mov ecx, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov eax, dword [esi + 0x60]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xd0], 0
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x30]
cmp dl, 0x85
jne 0x4bc43f
mov dword [esi + 0x28], 0xffffffff
cmp byte [eax], 0
je 0x4b8f35
lea ecx, [ebp - 0xd0]
push ecx
push eax
call fcn.00491da0
mov edx, eax
mov byte [esi + 3], 0
mov eax, dword [ebp - 0xd0]
add esp, 8
mov dword [ebp - 0x20], edx
mov byte [esi + 2], al
mov dword [esi + 0x24], 0
test edx, edx
jne 0x4bbe97
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], edx
jle 0x4b9be8
test eax, eax
jmp 0x4b9be2
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x30]
lea eax, [ebp - 0xd4]
push eax
push esi
call fcn.004910e0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
cmp dword [ebp - 0xd4], eax
jne 0x4bb885
push esi
call fcn.00492de0
add esp, 4
test edx, edx
jl 0x4bdfce
jg 0x4bc4d6
test eax, eax
jb 0x4b8f35
push edx
push eax
call fcn.004a7030
mov ecx, dword [ebp - 0x14]
add esp, 8
cwde
cmp eax, dword [ecx + 0xc]
jge 0x4b9be8
mov dword [ebp - 0xd4], 1
jmp 0x4bb888
inc dword [esi + 0xac]
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x9c], 1
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0x9c]
push eax
cmp byte [esi], 1
jne 0x4bc52c
push esi
call fcn.004c2b00
jmp 0x4bc53f
push dword [esi + 0x30]
call fcn.004910e0
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 0x4bbe97
mov eax, dword [ebp - 0x9c]
test eax, eax
mov byte [esi + 2], al
jmp 0x4b9bdf
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
push esi
push edi
call fcn.004c2890
jmp 0x4bc58b
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 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 0x4bc5b7
mov byte [esi + 2], al
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
movzx eax, word [eax + 2]
inc dword [esi + eax*4 + 0xa4]
jmp 0x4bdcb4
cmp edx, 0x65
jne 0x4bbe97
mov dword [ebp - 0x20], 0
mov byte [esi + 2], 1
jmp 0x4babfb
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 4]
mov ebx, dword [eax + ecx*4]
mov ecx, edx
mov edx, dword [ebp - 0x24]
test byte [ecx + 2], 1
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
je 0x4bc5f6
mov eax, dword [ebp - 0x18]
inc dword [eax + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x4bc61a
push esi
call fcn.004c0520
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
cdq
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], edx
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0x28c], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0x288], ax
movzx eax, word [ecx + 2]
test al, 0x10
je 0x4bc65d
mov ecx, dword [ebx + 0x28]
jmp 0x4bc65f
xor ecx, ecx
push ecx
and eax, 0x8a
push eax
lea eax, [ebp - 0x2a0]
push eax
push dword [ebx + 0x30]
call fcn.00491340
add esp, 0x10
mov dword [ebx + 0x24], 0
jmp 0x4b9b55
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 4]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x4bc6bd
push esi
call fcn.004c0520
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
push esi
push ebx
call fcn.004c2c20
add esp, 8
jmp 0x4b9b55
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x34]
mov ebx, dword [esi + 0x30]
mov dword [ebp - 0x1e0], eax
mov ax, word [edx + 0xc]
mov word [ebp - 0x1d8], ax
mov eax, dword [edx + 8]
mov byte [ebp - 0x1d6], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0xec]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1e0]
push eax
push ebx
call fcn.00491f00
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
cmp dword [ebp - 0xec], eax
jne 0x4bc772
push 4
push ebx
call fcn.00490ce0
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x50]
add ecx, 0x14
mov ebx, dword [ebp - 0x84]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
mov ecx, dword [ebp - 0x14]
cmp word [ecx + 2], 0
jne 0x4be307
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov esi, dword [ebp - 0x18]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 4]
mov esi, dword [eax + ecx*4]
push esi
call fcn.004b8790
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
cmp byte [esi + 2], al
jne 0x4bc86e
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xc0]
push eax
push dword [esi + 0x30]
push edi
call fcn.004bf980
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x89
jne 0x4bc839
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0xbc]
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 0x4b8f35
mov esi, dword [ebp - 0x18]
push eax
push esi
call fcn.00480ef0
mov ecx, dword [ebp - 0xc0]
add esp, 8
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
jmp 0x4b8ead
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004c0c80
add esp, 4
jmp 0x4b8f35
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 3], 0
je 0x4b90c7
push eax
call fcn.004bf190
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov ebx, dword [ebp - 0x14]
cmp dl, 0x28
mov eax, dword [esi + 0x60]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x34]
mov esi, dword [ecx + 0x30]
mov dword [ebp - 0x1f0], eax
mov ax, word [ebx + 0x10]
mov word [ebp - 0x1e8], ax
sbb al, al
mov byte [ebp - 0x1e6], al
mov eax, ebx
push esi
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0x1ec], eax
call fcn.004783e0
mov eax, dword [esi + 0x2c]
add esp, 4
xor ecx, ecx
jl 0x4be335
jg 0x4bc92b
test eax, eax
je 0x4be335
test ecx, ecx
jg 0x4be335
jl 0x4bc940
cmp eax, 0x7fffffff
ja 0x4be335
xor ecx, ecx
mov dword [ebp - 0x258], edi
mov word [ebp - 0x270], cx
mov dword [ebp - 0x260], ecx
lea ecx, [ebp - 0x278]
push ecx
push eax
push esi
call fcn.004c06f0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
push eax
lea eax, [ebp - 0x1f0]
push eax
push dword [ebp - 0x268]
push dword [ebp - 0x26c]
call fcn.004c19f0
mov esi, eax
lea eax, [ebp - 0x278]
push eax
call fcn.004c0ba0
mov ecx, dword [ebp - 0x14]
add esp, 0x14
test byte [ecx], 1
jne 0x4bc9a9
neg esi
jmp 0x4bc9aa
inc esi
test esi, esi
jg 0x4bb888
mov esi, dword [ebp - 0x18]
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
push dword [ebp - 0x14]
push esi
call fcn.00480ef0
mov esi, eax
add esp, 8
mov eax, 1
mov word [esi + 8], ax
mov ecx, dword [edi + 0xc4]
inc ecx
cmp dword [edi + 0xb8], ecx
jg 0x4be34c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xd8]
push ecx
mov dword [ebp - 0xd8], 0
mov ebx, dword [eax + 0xc]
mov ecx, ebx
push dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.00491070
mov ecx, dword [ebp - 0xd8]
add esp, 0xc
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]
mov dword [esi], eax
test edx, edx
jne 0x4bbe97
test ecx, ecx
je 0x4b8f35
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
push ecx
push ebx
push edi
call fcn.004aebe0
mov al, bl
add esp, 0x10
inc al
mov byte [ebp - 0x69], al
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xdc], 0
mov ecx, dword [edx + 8]
push dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.00490530
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, eax
mov dword [ebp - 0x20], edx
cmp dword [ecx + 0xc], 0
je 0x4bcac7
mov eax, dword [ebp - 0xdc]
add dword [esi + 0x2c], eax
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jle 0x4bcac4
mov ebx, dword [ebp - 0x24]
lea ecx, [ecx + ecx*4]
cdq
add dword [ebx + ecx*8], eax
adc dword [ebx + ecx*8 + 4], edx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 1
jne 0x4bcb17
push dword [eax + 0x30]
push edi
call fcn.004c2920
mov ecx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.00490530
jmp 0x4bb554
push dword [ebp - 0x14]
push esi
call fcn.00480ef0
mov esi, eax
mov dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push dword [eax + 0xc]
shl ecx, 4
lea eax, [ebp - 0xe0]
add ecx, dword [edi + 0x10]
push eax
push dword [ecx + 4]
call fcn.00490c20
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0xe0]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
inc byte [edi + 0x5c]
push 0
push 0
push 0
push dword [edx + 0x10]
push edi
call fcn.004574b0
add esp, 0x14
dec byte [edi + 0x5c]
jmp 0x4bb557
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 4]
mov edx, dword [edx + 0x10]
test edx, edx
jne 0x4bcbf1
mov eax, dword [edi + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.004afa20
mov eax, dword [ebp - 0x14]
and dword [edi + 0x18], 0xffffffef
movzx eax, word [eax + 2]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x7c
push eax
push esi
push edi
call fcn.004a45b0
mov esi, dword [ebp - 0x18]
mov edx, eax
or dword [edi + 0x18], 1
add esp, 0x14
mov dword [ebp - 0x20], edx
and dword [esi + 0x98], 0xfffffffc
jmp 0x4bccbf
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x168], esi
add eax, 0x7c
add esi, esi
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x160], 0
push edx
mov eax, dword [ecx + esi*8 + 4]
push str.sqlite_master
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x158], eax
push dword [ecx + esi*8]
push str.SELECTFROM__w_._s_WHERE__s_ORDER_BY_rowid
push edi
call fcn.004a7270
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4be363
push 0
lea eax, [ebp - 0x170]
mov byte [edi + 0xa9], 1
push eax
push fcn.004a43b0
push esi
push edi
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x15c], 0
call fcn.004574b0
add esp, 0x14
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4bcca8
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4bcca8
cmp dword [ebp - 0x15c], eax
jne 0x4bcca8
push 0x16ae6
call fcn.00495a30
add esp, 4
mov dword [ebp - 0x20], eax
push esi
push edi
call fcn.00497080
mov edx, dword [ebp - 0x20]
add esp, 8
mov esi, dword [ebp - 0x18]
mov byte [edi + 0xa9], 0
test edx, edx
jne 0x4be36a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
push dword [edx + 4]
push edi
call fcn.0048e3d0
add esp, 8
jmp 0x4bb557
mov edx, dword [ebp - 0x14]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.004b4af0
jmp 0x4b94b4
mov edx, dword [ebp - 0x14]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.004b4a50
jmp 0x4b94b4
mov edx, dword [ebp - 0x14]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.004b4b60
jmp 0x4b94b4
mov edx, dword [ebp - 0x14]
mov ebx, 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 ebx, [ebx + eax*8]
lea eax, [ebp - 0xf0]
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 [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
push edi
call fcn.004917f0
push ebx
mov dword [ebp - 0x40], eax
call fcn.004c0c80
mov eax, dword [ebp - 0xf0]
add esp, 0x1c
test eax, eax
je 0x4bcdb6
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x4be677
mov edi, dword [ebp - 0x24]
dec eax
push fcn.0045d440
push 1
cdq
sub dword [edi + esi*8], eax
mov eax, edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
sbb dword [eax + esi*8 + 4], edx
push ebx
call fcn.004c0d10
mov edi, dword [ebp - 0x50]
add esp, 0x18
movzx eax, byte [ebp - 0x54]
push eax
push ebx
call fcn.004b8190
add esp, 8
jmp 0x4babfb
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea ebx, [eax + eax*4]
jne 0x4bcdf6
push esi
call fcn.004c0cb0
add esp, 4
test eax, eax
jne 0x4be677
mov edi, dword [ebp - 0x24]
push dword [edi + ebx*8 + 4]
push dword [edi + ebx*8]
push dword [esi + 0x10]
call fcn.004aee10
add esp, 0xc
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x10
lea esi, [ebx + eax*8]
je 0x4bce62
lea eax, [ebp - 0x12c]
push eax
push dword [esi + 0x10]
call fcn.004aeeb0
add esp, 8
test eax, eax
je 0x4bce62
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.004c0c40
add esp, 0xc
jmp 0x4babfb
push esi
call fcn.004c0c80
mov esi, dword [ebp - 0x18]
add esp, 4
jmp 0x4bdcb4
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea ebx, [eax + eax*4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x28], eax
jne 0x4bcea9
push esi
call fcn.004c0cb0
add esp, 4
test eax, eax
jne 0x4be677
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
test eax, eax
je 0x4bced0
push dword [edi + ebx*8 + 4]
push dword [edi + ebx*8]
push eax
push dword [esi + 0x10]
call fcn.004aef10
add esp, 0x10
test eax, eax
jne 0x4bb885
mov eax, dword [ebp - 0x28]
test eax, eax
js 0x4b8f35
jmp 0x4bcdf9
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
mov dword [ebp - 0x3c], esi
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
cmp word [eax + 2], 0
je 0x4bcf23
mov eax, dword [edx + 0xc8]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x4bcf20
lea esp, [esp]
cmp dword [eax + 0x1c], ecx
je 0x4be0f2
mov eax, dword [eax + 4]
test eax, eax
jne 0x4bcf10
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xd0]
cmp eax, dword [edi + 0x98]
jge 0x4be384
test byte [ecx + 8], 0x10
jne 0x4bd0df
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 8]
add esi, ecx
test ecx, ecx
jne 0x4bcf4c
inc esi
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
add eax, 7
mov eax, eax
test eax, eax
jns 0x4bcf67
add eax, 7
sar eax, 3
lea eax, [eax + ecx*4]
mov dword [ebp - 0x40], eax
cdq
push edx
push eax
push edi
call fcn.00497230
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4be677
push dword [ebp - 0x2c]
call fcn.004c0ba0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x410
mov edx, dword [ebp - 0x14]
add esp, 4
sub edx, dword [ebp - 0x48]
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x24], 0x4bf380
mov ecx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov dword [ebx + 0x3c], esi
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x40], eax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov eax, dword [edx + 0x58]
mov dword [ebx + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x38], eax
mov eax, dword [edx + 0x60]
mov dword [ebx + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edx + 0x68]
mov dword [ebx + 8], eax
mov eax, dword [edx + 0x6c]
mov dword [ebx + 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x1c], eax
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
lea eax, [ebx + 0x50]
cmp eax, ecx
je 0x4bd02e
mov esi, 0x80
lea ebx, [ebx]
mov word [eax + 8], si
mov dword [eax + 0x20], edi
add eax, 0x28
cmp eax, ecx
jne 0x4bd020
mov esi, dword [ebp - 0x3c]
inc dword [edx + 0xd0]
lea ecx, [ebx + 0x50]
mov eax, dword [edx + 0xc8]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x24], eax
mov eax, dword [edx + 0x2c]
mov dword [ebx + 0x44], eax
mov eax, dword [edx]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x68]
mov dword [ebx + 0x48], eax
mov eax, dword [edx + 0xdc]
mov dword [ebx + 0x28], eax
mov dword [edx + 0x58], ecx
mov dword [edx + 0xdc], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0xc8], ebx
mov eax, dword [ebx + 0x3c]
mov dword [edx + 0x18], eax
movzx eax, word [ebx + 0x40]
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0x18]
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 [ebx + 0x18], ecx
mov eax, dword [esi + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call fcn.00516d20
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [esi]
mov dword [ebp - 0x48], ecx
mov dword [eax + 0x68], ecx
add ecx, 0xffffffec
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov dword [esi + 0x6c], eax
jmp 0x4bac01
mov ebx, dword [ecx + 0x10]
jmp 0x4bd031
push dword [ebp - 0x14]
push esi
call fcn.00480ef0
mov esi, eax
mov eax, dword [ebp - 0x18]
push 0x1000
mov eax, dword [eax + 0xc8]
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.004c0fd0
add esp, 0x14
jmp 0x4b8f35
mov eax, dword [edi + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [ebp - 0x14]
je 0x4bd162
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x84]
cdq
add dword [edi + 0x1f8], eax
mov eax, dword [ebp - 0x1c]
adc dword [edi + 0x1fc], edx
add ecx, 0x14
mov edi, dword [ebp - 0x50]
jmp 0x4b8ead
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x14]
cdq
je 0x4bd18f
add dword [edi + 0x1f0], eax
mov eax, dword [ebp - 0x1c]
adc dword [edi + 0x1f4], edx
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
add dword [esi + 0x40], eax
mov eax, dword [ebp - 0x1c]
adc dword [esi + 0x44], edx
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
cmp dword [ecx + 4], 0
je 0x4bd1e7
mov eax, dword [edi + 0x1f0]
or eax, dword [edi + 0x1f4]
jne 0x4b9beb
mov eax, dword [edi + 0x1f8]
or eax, dword [edi + 0x1fc]
je 0x4bb888
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov eax, dword [esi + 0x40]
or eax, dword [esi + 0x44]
jmp 0x4bd1bb
mov edx, dword [esi + 0xc8]
test edx, edx
je 0x4bd21d
mov eax, dword [edx + 4]
test eax, eax
je 0x4bd209
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x4bd200
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea edi, [eax + ecx*8]
jmp 0x4bd22c
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
push edi
call fcn.004c0940
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.004c0940
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x4b8f35
jl 0x4bd25f
cmp dword [edi], eax
jae 0x4b8f35
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x4b8f35
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edi + 4]
lea esi, [eax + eax*4]
mov edi, dword [ebx + esi*8 + 4]
mov ecx, dword [ebx + esi*8]
test edi, edi
jl 0x4b8f35
jg 0x4bd28e
test ecx, ecx
je 0x4b8f35
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
cdq
sub ecx, eax
mov dword [ebx + esi*8], ecx
sbb edi, edx
mov dword [ebx + esi*8 + 4], edi
jmp 0x4bb885
mov edx, dword [ebp - 0x14]
push edx
push dword [ebp - 0x18]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, dword [edx + 0xc]
lea ebx, [eax + eax*4]
call fcn.00480ef0
mov edx, dword [ebp - 0x24]
add esp, 8
mov edi, eax
mov ecx, dword [edx + esi*8 + 4]
mov eax, dword [edx + esi*8]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], ecx
test ecx, ecx
jl 0x4bd322
jg 0x4bd2e2
test eax, eax
je 0x4bd322
mov ecx, dword [edx + ebx*8 + 4]
mov eax, dword [edx + ebx*8]
test ecx, ecx
jl 0x4bd2f3
jg 0x4bd2f7
test eax, eax
jne 0x4bd2f7
xor eax, eax
xor ecx, ecx
push ecx
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.0048cf30
add esp, 0xc
test eax, eax
jne 0x4bd322
mov eax, dword [ebp - 0xe8]
mov dword [edi], eax
mov eax, dword [ebp - 0xe4]
mov dword [edi + 4], eax
jmp 0x4b8f35
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov ecx, dword [ebx + esi*8]
mov eax, ecx
mov edx, dword [ebx + esi*8 + 4]
or eax, edx
je 0x4b8f35
test edx, edx
jl 0x4bb885
jg 0x4bd363
test ecx, ecx
je 0x4bb885
sub ecx, 1
mov dword [ebx + esi*8], ecx
sbb edx, 0
mov dword [ebx + esi*8 + 4], edx
jmp 0x4bb885
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov edx, dword [ebx + ecx*8 + 4]
mov eax, dword [ebx + ecx*8]
cmp edx, 0x80000000
jl 0x4bd3a3
jg 0x4bd396
test eax, eax
je 0x4bd3a3
sub eax, 1
mov dword [ebx + ecx*8], eax
sbb edx, 0
mov dword [ebx + ecx*8 + 4], edx
mov eax, dword [ebx + ecx*8]
or eax, dword [ebx + ecx*8 + 4]
mov ecx, dword [ebp - 0x14]
je 0x4bb888
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x44]
push eax
push edi
call fcn.004970f0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4be677
mov dword [esi + 8], 0
lea ecx, [ebx + 7]
lea ecx, [esi + ecx*4]
mov eax, 1
mov dword [esi], ecx
mov word [ecx + 8], ax
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x18], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
sub ecx, dword [ebp - 0x48]
mov dword [esi + 4], eax
mov eax, 0x66666667
imul ecx
mov byte [esi + 0x18], 0
sar edx, 3
mov eax, edx
mov dword [esi + 0x14], 0
shr eax, 0x1f
add eax, edx
mov byte [esi + 0x19], bl
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xc], eax
mov word [edx], 0xf09f
mov dword [edx + 0x10], esi
jmp 0x4bd451
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 ebx, [ecx + eax*8]
mov dword [ebp - 0x40], ebx
cmp dword [esi + 8], ebx
je 0x4bd49f
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 8], ebx
js 0x4bd49f
mov edi, dword [ebp - 0x14]
lea edx, [ecx + 7]
mov ebx, dword [ebp - 0x24]
lea edx, [esi + edx*4]
mov eax, dword [edi + 8]
lea edx, [edx - 4]
add eax, ecx
sub ecx, 1
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx + 4], eax
jns 0x4bd480
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
inc dword [ebx + 0xc]
lea eax, [esi + 0x1c]
cmp dword [edx + 4], 0
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
push esi
je 0x4bd4ba
mov eax, dword [ecx + 0x1c]
jmp 0x4bd4bd
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x4bdfce
jle 0x4bd4ed
push dword [esi]
call fcn.00453280
push eax
push 0x54ea38
push dword [ebp - 0x18]
call fcn.004b8dc0
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp byte [esi + 0x18], 0
je 0x4bd517
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0x10]
test eax, eax
je 0x4bd513
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
push 0
push 1
lea eax, [ecx + eax*8]
push eax
call fcn.004c0c40
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.004c0ba0
mov eax, dword [esi]
mov ecx, 1
mov edx, dword [ebp - 0x20]
add esp, 4
mov word [eax + 8], cx
mov dword [esi + 0x14], 0
jmp 0x4b9b5a
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push dword [edx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4bd577
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
push esi
call fcn.004c0310
mov ecx, dword [ebp - 0x24]
mov ebx, 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 0x4bd582
push esi
call fcn.004c0580
add esp, 8
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x4be3a3
movzx eax, byte [ebp - 0x54]
push eax
push esi
call fcn.004b8190
push esi
call fcn.004c10d0
mov esi, dword [ebp - 0x18]
add esp, 0xc
test eax, eax
jne 0x4be419
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0
push eax
push dword [edx + 8]
mov dword [ebp - 8], 0xffffffff
push dword [edx + 4]
mov dword [ebp - 0xc], 0xffffffff
push edi
call fcn.00493b00
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x20], edx
test edx, edx
je 0x4bd612
cmp edx, 5
jne 0x4bbe97
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x14]
xor esi, esi
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [ebp + esi*4 - 0x10]
cdq
push edx
push eax
push edi
call fcn.004c0c40
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x4bd623
jmp 0x4b8f35
mov ebx, dword [ebp - 0x14]
push ebx
push esi
call fcn.00480ef0
mov edx, dword [ebx + 4]
add esp, 8
mov ecx, dword [edi + 0x10]
add edx, edx
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + edx*8 + 4]
mov dword [ebp - 0x40], eax
mov ecx, dword [eax + 4]
mov ebx, dword [ecx]
movzx ecx, byte [ebx + 5]
mov dword [ebp - 0x34], ecx
cmp esi, 0xffffffff
jne 0x4bd676
mov esi, ecx
cmp byte [ebx + 0x10], 3
jae 0x4bd692
mov eax, dword [ebx + 0x40]
cmp dword [eax], 0
je 0x4bd694
cmp dword [ebx + 0x4c], 0
jl 0x4bd694
jg 0x4bd692
cmp dword [ebx + 0x48], 0
jbe 0x4bd694
mov esi, ecx
cmp byte [ebx + 0xf], 0
mov eax, 0x549bec
jne 0x4bd6a5
mov eax, dword [ebx + 0xa8]
cmp esi, 5
jne 0x4bd6d1
push eax
call fcn.004b3b70
add esp, 4
test eax, eax
je 0x4bd6c4
push ebx
call fcn.004a9bf0
add esp, 4
test eax, eax
jne 0x4bd6ce
mov eax, dword [ebp - 0x34]
mov esi, eax
jmp 0x4bd74d
mov ecx, dword [ebp - 0x34]
cmp esi, ecx
je 0x4bd74a
cmp ecx, 5
je 0x4bd6e3
cmp esi, 5
jne 0x4bd74a
cmp byte [edi + 0x51], 0
je 0x4be3c3
cmp dword [edi + 0xb8], 1
jg 0x4be3c3
cmp ecx, 5
jne 0x4bd71c
push edi
push ebx
call fcn.004a87c0
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4bd755
push esi
push ebx
call fcn.004a9690
add esp, 8
jmp 0x4bd732
cmp ecx, 4
jne 0x4bd72c
push 2
push ebx
call fcn.004a9690
add esp, 8
cmp dword [ebp - 0x20], 0
jne 0x4bd755
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00493310
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x20], 0
je 0x4bd75a
jmp 0x4bd758
mov eax, dword [ebp - 0x34]
mov esi, eax
push esi
push ebx
call fcn.004a9690
mov ebx, dword [ebp - 0x28]
mov ecx, 0xa02
push eax
mov word [ebx + 8], cx
call fcn.004a5cb0
push eax
mov dword [ebx + 0x10], eax
call fcn.004b3b70
mov dword [ebx + 0xc], eax
movzx eax, byte [ebp - 0x54]
push eax
push ebx
mov byte [ebx + 0xa], 1
call fcn.004b8190
mov edx, dword [ebp - 0x20]
add esp, 0x18
jmp 0x4b9b5a
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
test eax, eax
je 0x4bd7ae
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
jmp 0x4bd7b0
xor eax, eax
push eax
push dword [edx + 4]
lea eax, [esi + 0x7c]
push edi
push eax
call fcn.004af510
add esp, 0x10
jmp 0x4bb557
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.00491240
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
je 0x4bdfd1
cmp edx, 0x65
jne 0x4bbe97
jmp 0x4bb87e
cmp dword [ecx + 4], 0
jne 0x4bd821
push dword [ecx + 8]
push edi
call fcn.00499440
mov ecx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov eax, dword [ecx + 8]
mov edi, dword [ebp - 0x50]
inc eax
xor eax, dword [esi + 0x98]
mov ebx, dword [ebp - 0x84]
and eax, 3
xor dword [esi + 0x98], eax
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x60]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
or byte [eax + 1], 0x40
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 0x60]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
and byte [eax + 1], 0xbf
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
mov al, byte [ecx + 0xc]
mov byte [ebp - 0xf4], al
test al, al
jne 0x4bd8c1
mov eax, dword [edi + 0x20]
and eax, 0x400
mov dword [ebp - 0x44], eax
mov eax, 0
jne 0x4b9beb
test eax, eax
jne 0x4b9beb
mov eax, dword [ebp - 0x14]
push dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
push dword [eax + 8]
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.00491e30
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
je 0x4b94b7
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
cmp dl, 6
jne 0x4bbe9d
push dword [esi + 0x10]
push str.database_table_is_locked:__s
push ebx
call fcn.004b8dc0
mov edx, dword [ebp - 0x20]
add esp, 0xc
jmp 0x4bbe9d
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x10]
push esi
push edi
call fcn.004c3300
add esp, 8
mov edx, eax
mov dword [ebp - 0x20], edx
test esi, esi
je 0x4bd946
push dword [esi + 8]
mov esi, dword [ebp - 0x18]
push esi
call fcn.004c3cb0
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x4bb55c
mov esi, dword [ebp - 0x18]
jmp 0x4bb55c
mov edx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x19c], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x1a0], edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.004c04a0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.00453280
add esp, 0xc
test eax, eax
je 0x4bd9d5
lea ecx, [esi + 0x7c]
push ecx
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
push edi
call fcn.004c35b0
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.004c0ba0
mov edx, dword [ebp - 0x20]
add esp, 4
jmp 0x4bb55c
mov edx, dword [ebp - 0x14]
inc dword [edi + 0xc4]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.004c3690
add esp, 0xc
dec dword [edi + 0xc4]
jmp 0x4bb557
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x98], 0
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x4be406
mov ebx, dword [esi]
test ebx, ebx
je 0x4be406
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebx + 0x18]
push esi
call eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.004c3cb0
mov edx, dword [ebp - 0x20]
add esp, 0x10
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x98]
push 2
push 0xffffffffffffffff
push edx
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
push dword [ebp - 0x18]
call fcn.00464b00
add esp, 0x14
test eax, eax
je 0x4be3f3
mov ecx, dword [ebp - 0x98]
mov dword [eax + 0x30], ecx
inc dword [esi + 4]
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
lea ebx, [eax + eax*4]
mov eax, dword [esi + 0x60]
mov esi, dword [esi + 0x5c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax + 0x30]
mov edx, dword [ecx + ebx*8 + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + ebx*8]
mov dword [ebp - 0x40], eax
xor eax, eax
test edx, edx
jle 0x4bdade
lea ecx, [ecx + ebx*8]
add ecx, 0x50
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x4bdad3
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
push esi
mov esi, dword [ebp - 0x28]
push edx
push dword [eax + 0x10]
mov eax, dword [ebx + 0x20]
push dword [ebp - 0x40]
push esi
call eax
push dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x18]
call fcn.004c3cb0
mov edx, dword [ebp - 0x20]
add esp, 0x1c
test edx, edx
jne 0x4bbe97
mov eax, dword [ebx + 0x28]
push esi
call eax
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov byte [ecx + 2], 0
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x4b9be8
jmp 0x4bb888
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 4]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x24]
cmp byte [ebx + 2], 0
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
je 0x4bdb5d
push esi
call fcn.004c0c80
add esp, 4
jmp 0x4b8f35
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
xor eax, eax
test byte [edx + 2], 1
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x154], esi
je 0x4bdbbb
push esi
call fcn.004c0c80
mov edx, dword [ebp - 0x14]
add esp, 4
mov eax, 0x4001
mov dword [esi], 0
jmp 0x4bdbcb
mov ax, word [esi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [esi + 8], ax
lea eax, [ebp - 0x154]
push dword [edx + 8]
push eax
mov eax, dword [ebp - 0x40]
push dword [ebx + 0x30]
mov eax, dword [eax + 0x2c]
call eax
push dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
push ebx
mov dword [ebp - 0x20], eax
call fcn.004c3cb0
add esp, 0x14
cmp dword [ebp - 0x140], 0
jle 0x4bdc1d
push esi
call fcn.00453280
push eax
push 0x54ea38
push ebx
call fcn.004b8dc0
mov eax, dword [ebp - 0x140]
add esp, 0x10
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x54]
push eax
push esi
call fcn.004b8190
push esi
call fcn.004c10d0
add esp, 0xc
test eax, eax
jne 0x4be434
mov edx, dword [ebp - 0x20]
test edx, edx
jne 0x4bbe9a
mov ecx, dword [ebp - 0x14]
mov esi, ebx
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [ebx + 4]
mov ebx, dword [eax + ecx*4]
cmp byte [ebx + 2], 0
jne 0x4b90c7
mov eax, dword [ebx + 0x30]
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp - 0x40], ecx
mov eax, dword [ecx + 0x24]
call eax
push esi
mov esi, dword [ebp - 0x18]
push esi
mov dword [ebp - 0x20], eax
call fcn.004c3cb0
mov edx, dword [ebp - 0x20]
add esp, 0xc
test edx, edx
jne 0x4bbe97
mov eax, dword [ebp - 0x40]
push dword [ebx + 0x30]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x4babfe
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x48]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
mov dword [ebp - 0x14], ecx
jmp 0x4bac01
mov edx, dword [ebp - 0x14]
mov ebx, dword [edi + 0x20]
or dword [edi + 0x20], 0x4000000
and ebx, 0x4000000
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [edx + 0x10]
push 1
mov esi, dword [eax + 8]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov dword [ebp - 0x40], eax
call fcn.004b8190
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov ecx, dword [ebp - 0x40]
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 ebx, ebx
jne 0x4bdd39
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfbffffff
mov dword [edi + 0x24], eax
push esi
mov esi, dword [ebp - 0x18]
push esi
call fcn.004c3cb0
mov edx, dword [ebp - 0x20]
add esp, 8
and dword [esi + 0x98], 0xfffffffc
jmp 0x4bb55c
cmp byte [edi + 0x53], 0
jne 0x4be67a
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x4be406
mov eax, dword [ebx]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4be406
cmp dword [eax + 0x34], 0
mov edx, dword [edx + 8]
je 0x4b90c7
mov al, byte [edi + 0x58]
mov ecx, dword [ebp - 0x24]
mov esi, dword [esi + 0x5c]
mov byte [ebp - 0x59], al
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 0x4bddb3
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x4bdda8
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 2]
mov byte [edi + 0x58], al
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x40]
push esi
push edx
push ebx
mov eax, dword [eax + 0x34]
call eax
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov al, byte [ebp - 0x59]
push ebx
push esi
mov byte [edi + 0x58], al
call fcn.004c3cb0
mov edx, dword [ebp - 0x20]
add esp, 0x18
mov eax, dword [ebp - 0x14]
test edx, edx
jne 0x4bde08
cmp dword [eax + 4], edx
je 0x4bde08
mov eax, dword [ebp - 0x134]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x130]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x14]
cmp dl, 0x13
jne 0x4bde55
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x10], 0
je 0x4bde55
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
cmp eax, 4
jne 0x4bde40
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
mov dword [ebp - 0x20], 0
jmp 0x4b8ead
cmp eax, 5
jne 0x4bde4a
mov eax, 2
mov byte [esi + 0x92], al
jmp 0x4bb55c
inc dword [esi + 0x2c]
jmp 0x4bb55c
push dword [ebp - 0x14]
push esi
call fcn.00480ef0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov ebx, dword [ebp - 0x84]
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0x10]
mov edi, dword [ebp - 0x50]
shl edx, 4
mov ecx, dword [edx + ecx + 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x30]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], 0
add ecx, 0x14
mov eax, dword [ebp - 0x1c]
jmp 0x4b8ead
push dword [ebp - 0x14]
push esi
call fcn.00480ef0
mov ecx, dword [edi + 0x10]
mov ebx, eax
mov eax, dword [ebp - 0x14]
add esp, 8
mov edx, dword [eax + 4]
add edx, edx
mov esi, dword [ecx + edx*8 + 4]
xor ecx, ecx
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4bded1
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x30]
cmp ecx, edx
jae 0x4bded1
mov ecx, edx
push ecx
push esi
call fcn.00491ea0
add esp, 8
mov dword [ebx], eax
mov dword [ebx + 4], 0
jmp 0x4b8f35
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov dword [ebp - 0x40], ebx
cmp dword [esi], ebx
je 0x4bdf3b
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xc], eax
mov dword [esi], ebx
js 0x4bdf3b
mov edi, dword [ebp - 0x14]
lea edx, [esi + 0x1c]
mov ebx, dword [ebp - 0x24]
lea edx, [edx + ecx*4]
nop
mov eax, dword [edi + 8]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx], eax
sub edx, 4
sub ecx, 1
jns 0x4bdf20
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x40]
mov ax, word [ebx + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [ebx + 8], ax
lea eax, [esi + 0x1c]
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
mov eax, dword [ecx + 0x10]
push esi
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x4bdfb7
jle 0x4bdf8a
push ebx
call fcn.00453280
push eax
push 0x54ea38
push dword [ebp - 0x18]
call fcn.004b8dc0
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 edi
call fcn.004b8800
mov edx, dword [ebp - 0x20]
add esp, 0x10
mov dword [esi + 0x14], 0
test edx, edx
jne 0x4bbe97
test byte [ebx + 8], 0x12
je 0x4bdfce
movzx eax, byte [ebp - 0x54]
push eax
push ebx
call fcn.004b8190
push ebx
jmp 0x4bd599
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x50]
add ecx, 0x14
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov cl, byte [edi + 0x5a]
test cl, 0x41
je 0x4be094
cmp byte [esi + 0x95], 0
jne 0x4be094
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x4be01c
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4be094
push eax
test cl, 0x40
je 0x4be047
push esi
call fcn.004beb20
mov ecx, dword [edi + 0xd0]
mov esi, eax
push esi
push dword [edi + 0xd4]
call ecx
push esi
call fcn.0045d440
mov esi, dword [ebp - 0x18]
add esp, 0x14
jmp 0x4be094
cmp dword [edi + 0xc0], 1
jle 0x4be080
push str.____s
push edi
call fcn.004a7270
mov ecx, dword [edi + 0xd0]
mov esi, eax
push esi
push dword [ebp - 0x18]
push dword [edi + 0xd4]
push 1
call ecx
push esi
push edi
call fcn.00497060
mov esi, dword [ebp - 0x18]
add esp, 0x24
jmp 0x4be094
mov eax, dword [edi + 0xd0]
push esi
push dword [edi + 0xd4]
push 1
call eax
add esp, 0x10
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
cmp eax, dword [0x5857e8]
jl 0x4be0e4
cmp byte [ecx], 0xae
je 0x4b9beb
mov edx, 1
cmp dword [esi + 0x6c], edx
jle 0x4be0dd
mov eax, 0x14
lea ebx, [ebx]
mov ecx, dword [esi + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x4be0d1
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [esi + 0x6c]
jl 0x4be0c0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], 0
inc dword [ecx + 4]
inc dword [esi + 0xbc]
jmp 0x4bb888
mov ecx, dword [ebp - 0x14]
mov esi, edx
mov eax, dword [ebp - 0x1c]
add ecx, 0x14
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x84]
jmp 0x4b8ead
mov ecx, dword [edx + 4]
mov dword [ebx + 0x28], ecx
mov al, byte [edx + 8]
mov byte [ebx + 0x92], al
mov dword [ebx + 0x24], esi
test ecx, ecx
je 0x4be18e
movzx eax, word [edx + 2]
test ax, ax
je 0x4be160
push dword [eax*4 + 0x54a24c]
push str._s_constraint_failed
push ebx
call fcn.004b8dc0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4be171
push eax
push dword [ebx + 0x7c]
push str._z:__s
push edi
call fcn.004a7270
add esp, 0x10
mov dword [ebx + 0x7c], eax
jmp 0x4be171
push dword [edx + 0x10]
push 0x54ea38
push ebx
call fcn.004b8dc0
add esp, 0xc
push dword [ebx + 0x7c]
mov eax, dword [ebp - 0x14]
push dword [ebx + 0xc0]
push esi
push str.abort_at__d_in___s_:__s
push dword [eax + 4]
call fcn.00450070
add esp, 0x14
push ebx
call fcn.004bf590
mov esi, eax
add esp, 4
cmp esi, 5
jne 0x4be1a6
mov dword [ebx + 0x28], eax
jmp 0x4be5c0
mov ecx, dword [ebx + 0x28]
neg ecx
sbb ecx, ecx
and ecx, 0xffffff9c
add ecx, 0x65
mov dword [ebp - 0x20], ecx
mov esi, ecx
jmp 0x4be5c0
push 0x15d18
call fcn.00495a30
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
push str.cannot_open_savepoint___SQL_statements_in_progress
push esi
call fcn.004b8dc0
mov edx, 5
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
mov ebx, dword [ebp - 0x18]
push str.cannot_release_savepoint___SQL_statements_in_progress
push ebx
call fcn.004b8dc0
mov edx, 5
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x4bbe9a
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x48]
mov esi, 5
mov ebx, dword [ebp - 0x18]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x24], eax
mov byte [edi + 0x51], 0
mov dword [ebx + 0x28], esi
jmp 0x4be5c0
mov ebx, dword [ebp - 0x18]
push str.no_such_savepoint:__s
push ebx
call fcn.004b8dc0
mov edx, 1
add esp, 0xc
mov dword [ebp - 0x20], edx
jmp 0x4bbe9a
mov edx, 8
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
cmp dl, 5
jne 0x4bbe9a
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x20]
imul ecx
mov dword [ebx + 0x28], esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x24], eax
jmp 0x4be5c0
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4be2a5
push eax
push edi
call fcn.00497080
add esp, 8
push str.database_schema_has_changed
push edi
call fcn.004973c0
mov dword [esi + 0x7c], eax
add esp, 8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov ecx, edx
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xa0]
je 0x4be2db
push edx
push edi
call fcn.004ae450
add esp, 8
mov eax, dword [esi + 0x98]
mov edx, 0x11
and eax, 0xfffffffd
mov dword [ebp - 0x20], edx
or eax, 1
mov dword [esi + 0x98], eax
jmp 0x4bbe97
mov edx, 0x204
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
push 0x55404c
push 0x1691e
push str.index_corruption
push str._s_at_line__d_of___.10s_
push 0x30b
call fcn.00450070
mov edx, 0x30b
add esp, 0x14
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
push 0x169ea
call fcn.00495a30
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
mov ebx, dword [ebp - 0x18]
mov edx, 6
mov dword [ebp - 0x20], edx
mov byte [ebx + 0x92], 2
jmp 0x4bbe9a
mov dword [ebp - 0x20], 7
push edi
call fcn.004ae3d0
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 7
je 0x4be677
jmp 0x4bbe97
push str.too_many_levels_of_trigger_recursion
push edx
mov dword [ebp - 0x20], 1
call fcn.004b8dc0
add esp, 8
mov edx, 1
jmp 0x4bbe97
push esi
call fcn.00453280
mov ebx, dword [ebp - 0x18]
push eax
push 0x54ea38
push ebx
call fcn.004b8dc0
mov edx, dword [ebp - 0x20]
add esp, 0x10
jmp 0x4bbe9a
mov dword [ebp - 0x20], 1
mov eax, str.into
cmp esi, 5
je 0x4be3d9
mov eax, str.out_of
mov ebx, dword [ebp - 0x18]
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push ebx
call fcn.004b8dc0
mov edx, dword [ebp - 0x20]
add esp, 0xc
jmp 0x4bbe9a
push dword [ebp - 0x98]
mov eax, dword [ebx + 0x1c]
call eax
add esp, 4
jmp 0x4be677
mov edx, 6
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x18]
push str.string_or_blob_too_big
push esi
call fcn.004b8dc0
mov edx, 0x12
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
mov esi, ebx
jmp 0x4be419
push 0
push esi
call fcn.004b8330
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4bbe97
mov eax, dword [esi + 0x20]
xor ebx, ebx
mov edx, dword [ebp - 0x14]
add eax, 2
mov ecx, dword [ebp - 0x24]
or eax, 1
mov dword [esi + 0x20], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x78], esi
cmp dword [edx + 8], ebx
jle 0x4be4b1
jmp 0x4be480
mov eax, 0x1000
test word [esi + 8], ax
je 0x4be49c
push esi
call fcn.004c09b0
add esp, 4
test eax, eax
jne 0x4be677
push esi
call fcn.004c0a60
mov eax, dword [ebp - 0x14]
inc ebx
add esp, 4
add esi, 0x28
cmp ebx, dword [eax + 8]
jl 0x4be480
cmp byte [edi + 0x53], 0
jne 0x4be677
test byte [edi + 0x5a], 4
mov ebx, dword [ebp - 0x18]
je 0x4be4da
mov eax, dword [edi + 0xd0]
push 0
push ebx
push dword [edi + 0xd4]
push 4
call eax
add esp, 0x10
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x48]
mov esi, 0x64
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [ebx + 0x24], eax
jmp 0x4be5c0
mov edx, dword [ebp - 0x14]
movzx eax, byte [edi + 0x51]
mov ebx, dword [edx + 4]
mov ecx, dword [edx + 8]
cmp ebx, eax
je 0x4be622
test ecx, ecx
je 0x4be52c
push 0x204
push edi
call fcn.004aeaa0
add esp, 8
mov byte [edi + 0x51], 1
jmp 0x4be55a
test ebx, ebx
je 0x4be543
cmp dword [edi + 0xbc], 0
jle 0x4be543
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x4be1d9
push 1
push esi
call fcn.004b8330
mov esi, eax
add esp, 8
test esi, esi
jne 0x4be5b2
mov esi, dword [ebp - 0x18]
mov byte [edi + 0x51], bl
push esi
call fcn.004bf590
add esp, 4
cmp eax, 5
jne 0x4be596
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x48]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x24], eax
mov al, 1
sub al, bl
mov esi, 5
mov ebx, dword [ebp - 0x18]
mov byte [edi + 0x51], al
mov dword [ebx + 0x28], esi
jmp 0x4be5c0
push edi
call fcn.004941a0
mov ecx, dword [esi + 0x28]
add esp, 4
neg ecx
sbb ecx, ecx
and ecx, 0xffffff9c
add ecx, 0x65
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x18]
jmp 0x4be5c0
mov edx, dword [ebp - 0x74]
cmp dword [ebp - 0x1c], edx
jb 0x4be807
mov ecx, dword [ebp - 0x70]
ja 0x4be5dd
cmp dword [ebp - 0x84], ecx
jb 0x4be807
mov eax, dword [edi + 0x160]
test eax, eax
je 0x4be807
add ecx, dword [edi + 0x168]
push dword [edi + 0x164]
adc edx, 0
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], edx
call eax
add esp, 4
test eax, eax
je 0x4be5c0
or ecx, 0xffffffff
mov edx, 9
or eax, 0xffffffff
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
test ebx, ebx
jne 0x4be642
mov eax, str.cannot_start_a_transaction_within_a_transaction
push eax
push esi
call fcn.004b8dc0
mov edx, 1
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
mov eax, str.cannot_rollback___no_transaction_is_active
test ecx, ecx
jne 0x4be650
mov eax, str.cannot_commit___no_transaction_is_active
push eax
push esi
call fcn.004b8dc0
mov edx, 1
add esp, 8
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
mov edx, 9
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x18]
push edi
call fcn.004a7c70
push str.out_of_memory
push esi
call fcn.004b8dc0
mov edx, 7
add esp, 0xc
mov dword [ebp - 0x20], edx
jmp 0x4bbe97
cmp edx, 0x210a
jne 0x4be6c9
push 0x55404c
push 0x17213
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00450070
add esp, 0x14
mov edx, 0xb
mov dword [ebp - 0x20], edx
cmp dword [ebx + 0x7c], 0
jne 0x4be728
cmp edx, 0xc0a
je 0x4be728
mov eax, edx
mov ecx, str.unknown_error
sub eax, 0x64
je 0x4be714
sub eax, 1
je 0x4be70d
sub eax, 0x19f
je 0x4be706
movzx eax, dl
cmp eax, 0x1d
jae 0x4be719
mov eax, dword [eax*4 + 0x54db40]
test eax, eax
je 0x4be719
mov ecx, eax
jmp 0x4be719
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x4be719
mov ecx, str.no_more_rows_available
jmp 0x4be719
mov ecx, str.another_row_available
push ecx
push 0x54ea38
push ebx
call fcn.004b8dc0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
mov dword [edx + 0x28], ebx
cmp ebx, 0xc0a
je 0x4be763
movzx eax, bl
cmp eax, 0xe
je 0x4be746
cmp eax, 0xa
jne 0x4be763
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4be75e
push 0
push 0
push eax
call ecx
mov edx, dword [ebp - 0x18]
add esp, 0xc
jmp 0x4be760
xor eax, eax
mov dword [edi + 0x48], eax
push dword [edx + 0x7c]
mov ecx, esi
mov eax, 0x66666667
push dword [edx + 0xc0]
sub ecx, dword [ebp - 0x48]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.statement_aborts_at__d:___s___s
push ebx
call fcn.00450070
push dword [ebp - 0x18]
call fcn.004bf590
add esp, 0x18
cmp ebx, 0xc0a
jne 0x4be7e4
cmp byte [edi + 0x53], 0
jne 0x4be7e4
cmp byte [edi + 0x54], 0
jne 0x4be7e4
cmp dword [edi + 0xc0], 0
mov byte [edi + 0x53], 1
jle 0x4be7c4
mov dword [edi + 0x118], 1
inc dword [edi + 0x120]
xor eax, eax
mov word [edi + 0x124], ax
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x4be7e4
mov dword [eax + 0xc], 7
mov al, byte [ebp - 0x69]
mov esi, 1
test al, al
je 0x4be5b2
movzx eax, al
dec eax
push eax
push edi
call fcn.004ae450
add esp, 8
jmp 0x4be5b2
mov ecx, dword [ebp - 0x84]
add dword [ebx + 0xb4], ecx
cmp dword [ebx + 0xa0], 0
je 0x4be825
push ebx
call fcn.004d0770
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fdf3d
mov esp, ebp
pop ebp
ret