Function at 0x4f0804
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
mov eax, dword [0x5d1e24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov eax, dword [ebx + 0x68]
mov edi, dword [ebx]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
xor al, al
mov byte [ebp - 0x69], al
mov al, byte [edi + 0x4e]
mov byte [ebp - 0x5c], al
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], eax
call fcn.004ed010
add esp, 4
cmp dword [edi + 0x148], 0
je 0x4ed179
mov esi, dword [edi + 0x150]
xor edx, edx
mov eax, dword [ebx + 0xb4]
div esi
sub esi, edx
jmp 0x4ed17c
or esi, 0xffffffff
mov edx, ebx
mov dword [ebp - 0x28], esi
cmp dword [edx + 0x28], 7
je 0x4f32c3
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x78], 0
cmp dword [edi + 0x110], 0
mov dword [edi + 0x19c], 0
jne 0x4f34f9
mov eax, dword [edx + 0x24]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x2c]
movsd qword [ebp - 0x1a0], xmm0
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
xor eax, eax
mov dl, byte [esi]
inc eax
movzx ebx, dl
mov ecx, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], eax
cmp ebx, 0xa8
ja case.0x4ed1ed.86
jmp dword [ebx*4 + 0x4f36b8]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, 0x66666667
mov word [ebx + esi*8 + 8], cx
mov ecx, edx
sub ecx, dword [ebp - 0x2c]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8], eax
mov dword [ebx + esi*8 + 4], edx
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea edi, [edx + eax*4]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x2c]
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 word [ebx + ecx*8 + 8], ax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x14]
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
cmp dword [esi + 8], 0
jne 0x4ed223
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, 0x80
mov word [ebx + ecx*8 + 8], ax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
sub edx, dword [ebp - 0x2c]
lea esi, [eax + eax*4]
mov eax, 0x66666667
imul edx
mov word [ebx + esi*8 + 8], cx
mov ecx, dword [ebx + esi*8]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8 + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [ebx + esi*8], eax
lea eax, [ecx + ecx*4]
lea esi, [edx + eax*4]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x4ed3df
mov ebx, dword [ebp - 0x18]
mov ecx, esi
sub ecx, dword [ebp - 0x2c]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x4f2fc6
mov edx, dword [ebx + 0xc8]
test edx, edx
je 0x4f2fc3
mov eax, dword [edx + 4]
dec dword [ebx + 0xd0]
mov dword [ebx + 0xc8], eax
mov eax, dword [ebx + 0x2c]
add dword [edi + 0x68], eax
push edx
mov dword [edi + 0x64], eax
call fcn.004f3ff0
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 0x14]
add esp, 4
mov ebx, dword [edx + 0x68]
cmp dword [eax + 8], 4
mov dword [ebp - 0x2c], ebx
jne 0x4ed3a9
lea eax, [ecx + ecx*4]
mov ecx, dword [ebx + eax*4 + 8]
dec ecx
mov eax, dword [edx + 0x58]
mov dword [ebp - 0x30], eax
lea eax, [ecx + ecx*4]
lea esi, [ebx + eax*4]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1710
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 esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1710
mov esi, dword [ebp - 0x14]
mov edx, eax
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1710
mov esi, dword [ebp - 0x14]
mov ecx, eax
mov eax, 8
add esp, 8
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
movsd xmm0, qword [eax]
mov eax, dword [ebp - 0x24]
movsd qword [ecx], xmm0
add esi, 0x14
jmp 0x4ed1d0
mov edi, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.004b1710
mov byte [edi], 0x48
mov esi, eax
mov edi, dword [edi + 0x10]
push edi
call fcn.004e98c0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov bl, byte [ebp - 0x5c]
mov dword [ecx + 4], eax
cmp bl, 1
je 0x4ed4db
push 0
push 1
push 0xffffffffffffffff
push edi
push esi
call fcn.004f5770
add esp, 0x14
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f1def
movzx eax, bl
push eax
push esi
call fcn.004ec900
add esp, 8
test eax, eax
jne 0x4f32ba
mov edi, dword [ebp - 0x14]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [edi + 1], 0xf9
jne 0x4ed4cb
push dword [edi + 0x10]
push dword [ebp - 0x1c]
call fcn.004c9260
add esp, 8
mov byte [edi + 1], 0xf9
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
cmp eax, dword [edi + 0x6c]
jg 0x4f1def
mov ebx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x18]
call fcn.004b1710
mov ecx, eax
add esp, 8
mov eax, 0xa02
mov word [ecx + 8], ax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 0xc], eax
mov al, byte [ebp - 0x5c]
mov byte [ecx + 0xa], al
mov eax, ebx
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x4ed3dc
lea esi, [eax + eax*4]
mov eax, ebx
mov ebx, dword [ebp - 0x30]
movzx eax, word [eax + 2]
cdq
cmp dword [ebx + esi*8], eax
jne 0x4ed3dc
cmp dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 0x14]
jne 0x4ed3df
mov eax, 0xa10
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov ebx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x18]
call fcn.004b1710
mov edi, dword [ebx + 0xc]
add esp, 8
cmp dword [ebx + 4], 0
mov ecx, 1
mov edx, dword [ebx + 8]
mov ebx, 0x101
cmovne ecx, ebx
mov dword [eax + 0xc], 0
sub edi, edx
movzx ebx, cx
mov word [eax + 8], bx
lea esi, [eax + 0xc]
test edi, edi
jle 0x4ed5b2
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.004f5670
dec edi
mov word [esi - 4], bx
add esp, 4
mov dword [esi], 0
test edi, edi
jg 0x4ed594
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [esi + 4]
mov edx, 0xff61
mov ebx, dword [ebp - 0x30]
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 eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1710
mov esi, eax
mov eax, dword [ebp - 0x14]
push 0
push 0
push dword [eax + 4]
push dword [eax + 0x10]
push esi
call fcn.004f5770
mov al, byte [ebp - 0x5c]
add esp, 0x1c
mov byte [esi + 0xa], al
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x18]
lea ecx, [ecx - 5]
mov eax, dword [eax + 0x64]
lea edi, [eax + ecx*8]
push edi
call fcn.004f5b10
add esp, 4
test eax, eax
jne 0x4f1def
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x2400
test word [esi + 8], ax
je 0x4ed66d
push esi
call fcn.004f5670
add esp, 4
movups xmm0, xmmword [edi]
mov ecx, 0xebff
movups xmmword [esi], xmm0
mov eax, dword [edi + 0x10]
mov edi, dword [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
and ax, cx
mov ecx, 0x820
or ax, cx
mov word [esi + 8], ax
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov ebx, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
nop dword [eax]
push edi
push esi
call fcn.004f5430
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x4ed6e6
push esi
call fcn.004f53d0
add esp, 4
test eax, eax
jne 0x4f32ba
add edi, 0x28
add esi, 0x28
sub ebx, 1
jne 0x4ed6c0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov ebx, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
nop dword [eax]
push 0x1000
push edi
push esi
call fcn.004f59f0
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x4ed74b
push esi
call fcn.004f53d0
add esp, 4
test eax, eax
jne 0x4f32ba
mov eax, ebx
dec ebx
test eax, eax
je 0x4ed5b2
add esi, 0x28
add edi, 0x28
jmp 0x4ed720
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
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.004f59f0
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
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.004f5630
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
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 edi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx ecx, word [ebx + 8]
mov al, byte [edi + 8]
or al, cl
test al, 1
je 0x4ed80e
push esi
call fcn.004f5670
mov edi, dword [ebp - 0x1c]
add esp, 4
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
test ecx, 0x4000
je 0x4ed827
push ebx
call fcn.004f5030
add esp, 4
test eax, eax
jne 0x4f32ba
mov eax, 0x4000
test word [edi + 8], ax
je 0x4ed843
push edi
call fcn.004f5030
add esp, 4
test eax, eax
jne 0x4f32ba
test byte [ebx + 8], 0x12
jne 0x4ed85f
push 0
push dword [ebp - 0x5c]
push ebx
call fcn.004f5a40
add esp, 0xc
test eax, eax
jne 0x4f32ba
test byte [edi + 8], 0x12
jne 0x4ed87b
push 0
push dword [ebp - 0x5c]
push edi
call fcn.004f5a40
add esp, 0xc
test eax, eax
jne 0x4f32ba
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0xc]
add ecx, dword [edi + 0xc]
mov dword [ebp - 0x4c], ecx
cmp ecx, dword [eax + 0x6c]
jg 0x4f1def
xor eax, eax
cmp esi, edi
sete al
push eax
lea eax, [ecx + 2]
push eax
push esi
call fcn.004f51d0
add esp, 0xc
test eax, eax
jne 0x4f32ba
mov ax, word [esi + 8]
mov ecx, 0x3e20
and ax, cx
or ax, 2
mov word [esi + 8], ax
cmp esi, edi
je 0x4ed8d6
push dword [edi + 0xc]
push dword [edi + 0x10]
push dword [esi + 0x10]
call fcn.0054eef0
add esp, 0xc
push dword [ebx + 0xc]
mov eax, dword [esi + 0x10]
push dword [ebx + 0x10]
add eax, dword [edi + 0xc]
push eax
call fcn.0054eef0
mov eax, dword [esi + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x1c]
mov byte [ecx + eax], 0
mov eax, dword [esi + 0x10]
mov byte [ecx + eax + 1], 0
mov eax, 0x200
or word [esi + 8], ax
mov al, byte [ebp - 0x5c]
mov byte [esi + 0xa], al
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xc], ecx
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
mov dword [ebp - 0x40], eax
call fcn.004b0e90
movzx ebx, ax
mov eax, dword [edi + 8]
mov dword [ebp - 0x58], ebx
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
mov dword [ebp - 0x54], esi
call fcn.004b0e90
mov ecx, dword [ebp - 0x30]
add esp, 8
movzx edx, ax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x60], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x34], eax
mov ax, word [esi + 8]
mov esi, dword [ebp - 0x40]
or ax, word [esi + 8]
movzx ecx, ax
mov al, dl
and al, bl
test al, 4
je 0x4edbba
mov eax, esi
mov byte [ebp - 0x35], 1
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ecx
movzx eax, byte [eax]
add eax, 0xffffff9c
cmp eax, 3
ja case.default.0x4ed9b0
jmp dword [eax*4 + 0x4f395c]
push esi
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.004c0280
add esp, 0xc
test eax, eax
je 0x4edb87
mov esi, dword [ebp - 0x40]
push esi
call fcn.004f61b0
mov ebx, dword [ebp - 0x54]
fstp qword [ebp - 0x48]
push ebx
call fcn.004f61b0
mov eax, dword [ebp - 0x14]
add esp, 8
fstp qword [ebp - 0x68]
movzx eax, byte [eax]
add eax, 0xffffff9c
cmp eax, 3
ja case.default.0x4ed9fa
jmp dword [eax*4 + 0x4f396c]
test edi, edi
jne 0x4eda2b
cmp esi, 0x80000000
jne 0x4eda2b
test ecx, ecx
jg 0x4ed9cd
jl 0x4eda17
test ebx, ebx
jae 0x4ed9cd
add ebx, 0
mov dword [ebp - 0x78], ebx
adc ecx, 0x80000000
mov dword [ebp - 0x74], ecx
jmp 0x4edb87
neg edi
adc esi, 0
neg esi
jmp case.0x4ed9b0.100
test esi, esi
jl 0x4eda9d
jg 0x4eda3e
test edi, edi
je 0x4eda8b
push esi
push edi
push 0x7fffffff
push 0xffffffffffffffff
call fcn.0046cf30
cmp dword [ebp - 0x3c], edx
jg 0x4ed9cd
jl 0x4eda5f
cmp ebx, eax
ja 0x4ed9cd
push esi
push edi
push 0x80000000
push 0
call fcn.0046cf30
mov ecx, dword [ebp - 0x3c]
cmp ecx, edx
jg 0x4edb25
jl 0x4ed9cd
cmp ebx, eax
jae 0x4edb25
jmp 0x4ed9cd
test esi, esi
jg 0x4edb25
jl 0x4eda9d
test edi, edi
jae 0x4edb25
test ecx, ecx
jl 0x4edad2
jg 0x4edaa7
test ebx, ebx
je 0x4edac8
push ecx
push ebx
push 0x80000000
push 0
call fcn.0046cf30
cmp esi, edx
jg 0x4edb22
jl 0x4ed9cd
cmp edi, eax
jae 0x4edb22
jmp 0x4ed9cd
test ecx, ecx
jg 0x4edb25
jl 0x4edad2
test ebx, ebx
jae 0x4edb25
test edi, edi
jne 0x4edae2
cmp esi, 0x80000000
je 0x4ed9cd
test ebx, ebx
jne 0x4edaf2
cmp ecx, 0x80000000
je 0x4ed9cd
push esi
push edi
push 0x80000000
push 1
call fcn.0046cf30
mov ecx, ebx
neg ecx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x3c]
adc ecx, 0
neg ecx
cmp ecx, edx
jg 0x4ed9cd
jl 0x4edb22
cmp dword [ebp - 0x4c], eax
ja 0x4ed9cd
mov ecx, dword [ebp - 0x3c]
push esi
push edi
push ecx
push ebx
call fcn.0046cef0
jmp 0x4edb81
mov eax, edi
or eax, esi
je 0x4edcbe
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x4edb53
test ebx, ebx
jne 0x4edb53
cmp ecx, 0x80000000
je 0x4ed9cd
push esi
push edi
push ecx
push ebx
call fcn.0046cf30
jmp 0x4edb81
mov eax, edi
or eax, esi
je 0x4edcbe
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x4edb78
mov edi, 1
xor esi, esi
push esi
push edi
push ecx
push ebx
call fcn.00581320
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x34]
mov edx, 0x3e20
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x74]
mov dword [ecx + 4], eax
mov ax, word [ecx + 8]
and ax, dx
or ax, 4
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
test cl, 1
jne 0x4edcbe
mov byte [ebp - 0x35], 0
jmp 0x4ed9d0
movsd xmm1, qword [ebp - 0x68]
addsd xmm1, qword [ebp - 0x48]
jmp 0x4edc5d
movsd xmm1, qword [ebp - 0x68]
subsd xmm1, qword [ebp - 0x48]
jmp 0x4edc5d
movsd xmm1, qword [ebp - 0x68]
mulsd xmm1, qword [ebp - 0x48]
jmp 0x4edc5d
movsd xmm0, qword [ebp - 0x48]
ucomisd xmm0, qword [ebp - 0x1a0]
lahf
test ah, 0x44
jnp 0x4edcbe
movsd xmm1, qword [ebp - 0x68]
divsd xmm1, xmm0
jmp 0x4edc5d
push esi
call fcn.004f4520
push ebx
mov esi, eax
mov edi, edx
call fcn.004f4520
mov ecx, eax
mov dword [ebp - 0x74], edx
mov eax, esi
mov dword [ebp - 0x78], ecx
add esp, 8
or eax, edi
je 0x4edcbe
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
jne 0x4edc4a
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push ecx
call fcn.00581320
mov ecx, eax
call fcn.0046ce20
movaps xmm1, xmm0
sub esp, 8
movsd qword [esp], xmm1
call fcn.004db730
add esp, 8
test eax, eax
jne 0x4edcbe
mov ecx, dword [ebp - 0x34]
mov edx, 0x3e20
mov ax, word [ecx + 8]
and ax, dx
movsd qword [ecx], xmm1
or ax, 8
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x60]
or al, byte [ebp - 0x58]
test al, 8
jne 0x4ed5b2
cmp byte [ebp - 0x35], 0
jne 0x4ed5b2
push ecx
call fcn.004f4570
mov edi, dword [ebp - 0x1c]
add esp, 4
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push dword [ebp - 0x34]
call fcn.004f5670
mov edi, dword [ebp - 0x1c]
add esp, 4
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [esi + 4]
test eax, eax
je 0x4ed3df
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
push 0
push 0
lea eax, [ecx + eax*8]
push eax
call fcn.004f5630
mov eax, dword [ebp - 0x24]
add esp, 0xc
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edx, [esi + eax*8]
mov al, byte [ecx + 8]
or al, byte [ebx + 8]
mov dword [ebp - 0x4c], edx
test al, 1
je 0x4edd4b
push edx
call fcn.004f5670
mov esi, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push ecx
call fcn.004f4520
mov edi, eax
mov esi, edx
push ebx
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf0], esi
call fcn.004f4520
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
cmp cl, 0x60
jne 0x4edd7c
and edi, ebx
and esi, edx
jmp 0x4edddf
cmp cl, 0x61
jne 0x4edd87
or edi, ebx
or esi, edx
jmp 0x4edddf
mov eax, ebx
or eax, edx
je 0x4edddf
test edx, edx
jg 0x4eddbb
jl 0x4edd97
test ebx, ebx
jae 0x4eddb0
mov al, 0xc5
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x4eddbb
jg 0x4edda9
cmp ebx, 0xffffffc0
jbe 0x4eddbb
neg ebx
adc edx, 0
neg edx
test edx, edx
jl 0x4ede0c
jg 0x4eddbb
cmp ebx, 0x40
jb 0x4ede0c
test esi, esi
jg 0x4eddd1
jl 0x4eddc5
test edi, edi
jae 0x4eddd1
cmp cl, 0x62
je 0x4eddd1
or edi, 0xffffffff
or esi, edi
jmp 0x4edddf
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov edx, 0x3e20
mov ax, word [ecx + 8]
and ax, dx
mov dword [ecx], edi
mov edi, dword [ebp - 0x1c]
or ax, 4
mov dword [ecx + 4], esi
mov esi, dword [ebp - 0x14]
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
movq xmm1, qword [ebp - 0xf4]
movd xmm0, ebx
cmp cl, 0x62
jne 0x4ede28
psllq xmm1, xmm0
movq qword [ebp - 0x48], xmm1
jmp 0x4eddd9
psrlq xmm1, xmm0
movq qword [ebp - 0x48], xmm1
test esi, esi
jg 0x4eddd9
jl 0x4ede3b
test edi, edi
jae 0x4eddd9
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, ebx
or edx, 0xffffffff
call fcn.005813e0
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
or edi, eax
or esi, edx
jmp 0x4edddf
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.004f5350
mov eax, dword [ebp - 0x14]
add esp, 4
mov eax, dword [eax + 8]
cdq
add dword [esi], eax
mov eax, dword [ebp - 0x24]
adc dword [esi + 4], edx
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx eax, word [esi + 8]
mov ecx, eax
test al, 4
jne 0x4edee0
test al, 8
jne 0x4edeb6
test al, 2
je 0x4edebf
push 1
push esi
call fcn.0048a280
add esp, 8
jmp 0x4edebf
push esi
call fcn.004f4570
add esp, 4
movzx eax, word [esi + 8]
mov ecx, eax
test al, 4
jne 0x4edee0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
jne 0x4ed223
mov eax, 0x14
jmp 0x4ef1b8
mov eax, dword [ebp - 0x24]
and ecx, 0x3e20
or ecx, 4
mov word [esi + 8], cx
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 4
lea eax, [ecx + eax*8]
je 0x4ed3df
push eax
call fcn.004f5590
mov eax, dword [ebp - 0x24]
add esp, 4
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x4edf4e
push esi
call fcn.004f5030
add esp, 4
mov dword [ebp - 0x20], eax
jmp 0x4edf55
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x5c]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.004f4ed0
mov eax, dword [ebp - 0x20]
add esp, 0xc
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
movzx esi, word [ecx + eax*8 + 8]
lea edi, [ecx + eax*8]
movzx eax, word [ebx + 8]
mov ecx, esi
mov edx, ecx
mov dword [ebp - 0x50], eax
or edx, eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x14]
test dl, 1
je 0x4ee047
movzx eax, word [eax + 2]
test al, al
jns 0x4edfed
mov al, byte [ebp - 0x3c]
and al, byte [ebp - 0x50]
test al, 1
je 0x4edfdc
test ecx, 0x100
jne 0x4edfdc
xor ecx, ecx
jmp 0x4ee13e
not ecx
and ecx, 1
lea ecx, [ecx*2 - 1]
jmp 0x4ee13e
test al, 0x20
je 0x4ee02e
mov eax, dword [ebp - 0x14]
mov edx, 0x3e20
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x84], 1
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 eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
test al, 0x10
jne 0x4ed223
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov al, byte [eax + 2]
and al, 0x47
cmp al, 0x43
jb 0x4ee0cf
mov ecx, esi
test dl, 2
je 0x4ee08e
mov al, byte [ebp - 0x50]
and al, 0xe
cmp al, 2
jne 0x4ee072
push 0
push ebx
call fcn.0048a280
movzx eax, word [edi + 8]
add esp, 8
mov dword [ebp - 0x3c], eax
mov al, byte [ebp - 0x3c]
movzx ecx, word [ebp - 0x3c]
and al, 0xe
cmp al, 2
jne 0x4ee08e
push 0
push edi
call fcn.0048a280
movzx ecx, word [edi + 8]
add esp, 8
and cl, byte [ebx + 8]
test cl, 4
je 0x4ee12c
mov esi, dword [edi + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
mov eax, dword [ebx]
cmp esi, edx
jl 0x4ee0ca
jg 0x4ee0ae
cmp ecx, eax
jbe 0x4ee0b8
mov ecx, 1
jmp 0x4ee13e
cmp esi, edx
jg 0x4edfd5
jl 0x4ee0ca
cmp ecx, eax
jae 0x4edfd5
or ecx, 0xffffffff
jmp 0x4ee13e
cmp al, 0x42
jne 0x4ee12c
mov al, byte [ebp - 0x50]
mov esi, dword [ebp - 0x5c]
test al, 2
jne 0x4ee101
test al, 0xc
je 0x4ee101
push 1
push esi
push ebx
call fcn.004f5a40
mov ax, word [ebx + 8]
mov ecx, 0x3e20
xor ax, word [ebp - 0x50]
add esp, 0xc
and ax, cx
xor word [ebp - 0x50], ax
mov al, byte [ebp - 0x3c]
test al, 2
jne 0x4ee12c
test al, 0xc
je 0x4ee12c
push 1
push esi
push edi
call fcn.004f5a40
mov ax, word [edi + 8]
mov ecx, 0x3e20
xor ax, word [ebp - 0x3c]
add esp, 0xc
and ax, cx
xor word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
push ebx
push edi
call fcn.004dd340
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test ecx, ecx
jns 0x4ee150
mov al, byte [eax + 0x59e784]
jmp 0x4ee160
jne 0x4ee15a
mov al, byte [eax + 0x59e78c]
jmp 0x4ee160
mov al, byte [eax + 0x59e794]
movzx edx, al
movzx eax, word [ebp - 0x50]
mov word [ebx + 8], ax
movzx eax, word [ebp - 0x3c]
mov word [edi + 8], ax
mov edi, dword [ebp - 0x14]
movzx eax, word [edi + 2]
test al, 0x20
je 0x4ee1d2
mov dword [ebp - 0x84], ecx
test al, 8
je 0x4ee198
xor eax, eax
cmp byte [edi], 0x35
sete al
cmp eax, edx
je 0x4ed5b2
mov eax, dword [edi + 8]
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x1c]
lea esi, [eax + eax*4]
mov eax, 0x3e20
mov cx, word [ebx + esi*8 + 8]
and cx, ax
mov eax, edx
cdq
or cx, 4
mov dword [ebx + esi*8], eax
mov eax, dword [ebp - 0x24]
mov word [ebx + esi*8 + 8], cx
mov dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
test edx, edx
jne 0x4ed223
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
cmp dword [ebp - 0x84], 0
jne 0x4ed223
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
test byte [edx + 2], 1
jne 0x4ee20d
xor ebx, ebx
jmp 0x4ee213
mov ebx, dword [edx - 4]
add ebx, 4
mov esi, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [ebp - 0x54], eax
mov ecx, dword [esi + 4]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 8]
xor esi, esi
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x4c], ecx
test eax, eax
jle 0x4ed3dc
lea edi, [edx + 0x14]
nop dword [eax + eax]
test ebx, ebx
je 0x4ee249
mov ecx, dword [ebx + esi*4]
jmp 0x4ee24b
mov ecx, esi
mov eax, dword [edx + 0x10]
mov edx, dword [ebp - 0x30]
push dword [edi]
mov al, byte [esi + eax]
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x4c]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
push eax
mov eax, dword [ebp - 0x34]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
push eax
call fcn.004dd340
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x84], ecx
test ecx, ecx
jne 0x4ee2a2
mov edx, dword [ebp - 0x60]
inc esi
add edi, 4
cmp esi, dword [ebp - 0x54]
jl 0x4ee240
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
cmp byte [ebp - 0x35], 0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
je 0x4ed3df
mov eax, dword [ebp - 0x24]
neg ecx
mov dword [ebp - 0x84], ecx
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x14]
test eax, eax
jns 0x4ee2ec
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
jne 0x4ee308
mov eax, dword [edx + 8]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
push 2
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004ec8a0
mov ecx, dword [ebx + 8]
mov esi, eax
mov ebx, dword [ebp - 0x30]
push 2
lea ecx, [ecx + ecx*4]
lea ecx, [ebx + ecx*8]
push ecx
call fcn.004ec8a0
mov ecx, dword [ebp - 0x14]
add esp, 0x10
lea eax, [eax + esi*2]
cmp byte [ecx], 0x2c
jne 0x4ee366
mov dl, byte [esi + eax + 0x59e7d0]
jmp 0x4ee36d
mov dl, byte [esi + eax + 0x59e7dc]
mov eax, dword [ecx + 0xc]
mov esi, 0x3e20
lea ecx, [eax + eax*4]
mov ax, word [ebx + ecx*8 + 8]
and ax, si
movzx esi, ax
cmp dl, 2
jne 0x4ee3a2
mov eax, 1
or esi, eax
mov eax, dword [ebp - 0x24]
mov word [ebx + ecx*8 + 8], si
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
movzx eax, dl
cdq
mov dword [ebx + ecx*8], eax
mov eax, 4
or esi, eax
mov dword [ebx + ecx*8 + 4], edx
mov eax, dword [ebp - 0x24]
mov word [ebx + ecx*8 + 8], si
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.004ec8a0
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.004f5630
mov esi, dword [ebp - 0x14]
add esp, 0x14
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
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 0x4ee44e
push 0
push ecx
call fcn.004ec8a0
neg eax
push 0
sbb eax, eax
inc eax
push eax
push esi
call fcn.004f5630
mov esi, dword [ebp - 0x14]
add esp, 0x14
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push esi
call fcn.004f5670
mov esi, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
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.004f5670
add esp, 4
test byte [edi + 8], 1
jne 0x4ed5b2
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.004f4520
mov edi, dword [ebp - 0x1c]
not eax
not edx
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
add esp, 4
mov dword [esi + 4], edx
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
mov esi, dword [ebp - 0x18]
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x4ee524
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 0x4ed223
mov eax, dword [ebp - 0x18]
bts edx, ecx
mov byte [esi + edi], dl
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov ecx, dword [esi + 0x68]
mov edi, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 4]
je 0x4ed226
mov esi, dword [ebp - 0x14]
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004ec8a0
add esp, 8
test eax, eax
jne 0x4ed223
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0x30]
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.004ec8a0
add esp, 8
test eax, eax
je 0x4ed223
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
jne 0x4ed223
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x4ed223
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 2], 0
je 0x4ed3df
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004f5670
add esp, 4
jmp 0x4ed223
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edx, dword [edx + 8]
mov dword [ebp - 0x54], edx
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x50], esi
cmp byte [esi + 3], 0
je 0x4ee6bd
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4ee6b5
mov eax, dword [eax + edx*4 + 4]
test eax, eax
jle 0x4ee6b5
mov esi, dword [esi + 0x24]
dec eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
mov edi, dword [esi + 0x48]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x3c], edi
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x58], ecx
cmp eax, dword [edx + 0x20]
je 0x4ee7ac
cmp byte [esi + 2], 0
je 0x4ee6fd
cmp byte [esi], 3
jne 0x4ee6e3
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8 + 0xc]
mov dword [edi], eax
mov dword [esi + 0x50], eax
mov eax, dword [ebx + ecx*8 + 0x10]
mov dword [esi + 0x4c], eax
jmp 0x4ee731
push esi
call fcn.004ab330
jmp 0x4ee6cb
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
je 0x4ee65e
push esi
call fcn.004ab3a0
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4ee665
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
jmp 0x4ef1c1
push ecx
call fcn.004f5670
mov edi, dword [ebp - 0x1c]
add esp, 4
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov esi, dword [esi + 0x28]
push esi
call fcn.004a9c80
mov ecx, dword [ebp - 0x50]
mov eax, dword [esi + 0x2c]
lea edi, [ecx + 0x54]
mov dword [ecx + 0x50], eax
push edi
push esi
call fcn.004c53d0
mov esi, dword [ebp - 0x50]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x50]
cmp eax, dword [edx + 0x6c]
ja 0x4f1def
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x4c]
mov cl, byte [eax]
cmp cl, 0x80
jae 0x4ee750
movzx eax, cl
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov al, 1
jmp 0x4ee75c
push dword [ebp - 0x3c]
push eax
call fcn.004d8e40
add esp, 8
movzx ecx, al
lea edx, [esi + 0x3a]
xor eax, eax
mov dword [esi + 0x30], ecx
mov word [edx], ax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov ebx, dword [eax]
cmp dword [edi], ebx
jae 0x4ee79f
mov dword [edi], 0
mov edi, eax
mov dword [esi + 0x4c], 0
mov eax, dword [edi]
cmp eax, 0x18003
ja 0x4ee94b
mov dword [ebp - 0x40], edx
cmp eax, dword [esi + 0x50]
jbe 0x4ee7b2
jmp 0x4ee94b
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x60], eax
xor eax, eax
jmp 0x4ee831
lea edx, [esi + 0x3a]
mov dword [ebp - 0x40], edx
movzx edx, word [edx]
mov ecx, dword [ebp - 0x54]
mov eax, edx
cmp eax, ecx
jg 0x4ee9d3
mov ecx, dword [esi + 0x30]
mov ebx, dword [edi]
cmp ecx, ebx
jae 0x4ee976
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x4ee829
xorps xmm0, xmm0
lea eax, [ebp - 0x268]
push eax
movups xmmword [ebp - 0x268], xmm0
movups xmmword [ebp - 0x258], xmm0
movq qword [ebp - 0x248], xmm0
push dword [edi]
push 0
push dword [esi + 0x28]
call fcn.004f5160
add esp, 0x10
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b5
mov eax, dword [ebp - 0x258]
mov ecx, dword [esi + 0x30]
mov ebx, dword [edi]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
movzx eax, word [eax]
jmp 0x4ee831
mov eax, edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x40], edx
mov esi, dword [ebp - 0x60]
xor edx, edx
add esi, ecx
movzx edi, ax
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x3c]
add ecx, ebx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x58
mov dword [ebp - 0x4c], edi
mov eax, dword [eax + edi*4]
lea edi, [ecx + edi*4]
movzx ebx, byte [esi]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x88], ebx
mov dword [edi], ebx
cmp ebx, 0x80
jae 0x4ee87d
movzx eax, byte [ebx + 0x59e708]
mov ecx, 1
cdq
jmp 0x4ee8a0
lea eax, [ebp - 0x88]
push eax
push esi
call fcn.004d8e40
mov ebx, dword [ebp - 0x88]
push ebx
movzx ecx, al
mov dword [edi], ebx
call fcn.004f6d70
add esp, 0xc
xor edx, edx
add eax, dword [ebp - 0x64]
adc edx, dword [ebp - 0x44]
add esi, ecx
mov ecx, dword [ebp - 0x4c]
add edi, 4
mov dword [ebp - 0x44], edx
inc ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], ecx
mov dword [edx + ecx*4], eax
mov edx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x54]
jg 0x4ee8cd
cmp esi, dword [ebp - 0x34]
jb 0x4ee855
mov edi, dword [ebp - 0x34]
jmp 0x4ee8d4
mov edi, dword [ebp - 0x34]
cmp esi, edi
jb 0x4ee8e6
cmp esi, edi
mov edi, dword [ebp - 0x50]
ja 0x4ee8f4
cmp eax, dword [edi + 0x50]
jne 0x4ee8f4
test edx, edx
jne 0x4ee8f4
jmp 0x4ee8e9
mov edi, dword [ebp - 0x50]
test edx, edx
jb 0x4ee901
ja 0x4ee8f4
cmp eax, dword [edi + 0x50]
jbe 0x4ee901
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
jne 0x4ee936
mov esi, dword [ebp - 0x34]
xor ecx, ecx
sub esi, dword [ebp - 0x60]
movzx eax, cx
mov ecx, dword [ebp - 0x40]
mov dword [edi + 0x30], esi
mov esi, dword [ebp - 0x50]
mov word [ecx], ax
cmp dword [esi + 0x4c], 0
jne 0x4ee92e
lea eax, [ebp - 0x268]
push eax
call fcn.004f5600
mov eax, dword [ebp - 0x40]
add esp, 4
movzx eax, word [eax]
mov edi, dword [ebp - 0x3c]
movzx eax, ax
jmp 0x4ee980
cmp dword [edi + 0x4c], 0
jne 0x4ee94b
lea eax, [ebp - 0x268]
push eax
call fcn.004f5600
add esp, 4
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x4f3085
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea edi, [ebx + eax*4]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
xor ebx, ebx
mov eax, edx
mov dword [ebp - 0x88], ebx
movzx eax, ax
cmp eax, dword [ebp - 0x54]
jg 0x4ee9dd
mov eax, dword [ebp - 0x14]
cmp byte [eax + 1], 0xf5
jne 0x4ee9b6
push 0x800
push dword [eax + 0x10]
mov eax, dword [ebp - 0x58]
push eax
call fcn.004f59f0
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [ebp - 0x58]
push eax
call fcn.004f5670
mov edi, dword [ebp - 0x1c]
add esp, 4
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov ebx, dword [esi + ecx*4 + 0x58]
mov dword [ebp - 0x88], ebx
mov ecx, dword [ebp - 0x58]
mov eax, 0x2400
test word [ecx + 8], ax
je 0x4ee9f7
push ecx
call fcn.004f5670
mov ecx, dword [ebp - 0x58]
add esp, 4
mov edx, dword [ebp - 0x54]
mov eax, dword [esi + 0x54]
cmp eax, dword [edi + edx*4 + 4]
jb 0x4eeaaf
mov eax, dword [ebp - 0x3c]
mov edi, dword [esi + 0x4c]
add edi, dword [eax + edx*4]
cmp ebx, 0xc
jae 0x4eea31
push ecx
push ebx
push edi
call fcn.004f6ba0
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov al, byte [ebp - 0x5c]
lea esi, [ebx - 0xc]
shr esi, 1
mov byte [ecx + 0xa], al
mov dword [ecx + 0xc], esi
lea eax, [esi + 2]
cmp dword [ecx + 0x18], eax
jge 0x4eea6c
push 0
push eax
mov edx, 1
push ecx
mov word [ecx + 8], dx
call fcn.004f51d0
add esp, 0xc
test eax, eax
jne 0x4f32ba
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x10]
jmp 0x4eea72
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
push esi
push edi
push eax
call fcn.0054eef0
mov ecx, dword [ebp - 0x58]
add esp, 0xc
mov edi, dword [ebp - 0x1c]
and ebx, 1
mov eax, dword [ecx + 0x10]
mov byte [esi + eax], 0
mov eax, dword [ecx + 0x10]
mov byte [eax + esi + 1], 0
mov ax, word [ebx*2 + 0x59e7e8]
mov esi, dword [ebp - 0x14]
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov al, byte [ebp - 0x5c]
mov byte [ecx + 0xa], al
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x4eeace
cmp ebx, 0xc
jb 0x4eeaca
test bl, 1
je 0x4eeadb
test al, al
js 0x4eeadb
push ebx
call fcn.004f6d70
add esp, 4
test eax, eax
jne 0x4eeafb
push ecx
push ebx
push 0x5de0f8
call fcn.004f6ba0
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push ecx
push eax
push dword [edi + edx*4]
push dword [esi + 0x28]
call fcn.004f5160
add esp, 0x10
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b5
mov esi, dword [ebp - 0x58]
push esi
push ebx
push dword [esi + 0x10]
call fcn.004f6ba0
mov edi, dword [ebp - 0x1c]
mov eax, 0xefff
add esp, 0xc
and word [esi + 8], ax
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov esi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov al, byte [esi]
mov byte [ebp - 0xbc], al
nop word [eax + eax]
push dword [ebp - 0x5c]
push dword [ebp - 0xbc]
push edi
call fcn.0048a210
mov al, byte [esi + 1]
lea esi, [esi + 1]
add esp, 0xc
mov byte [ebp - 0xbc], al
add edi, 0x28
test al, al
jne 0x4eeb60
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
xor eax, eax
mov edi, dword [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], eax
movlpd qword [ebp - 0x48], xmm0
mov eax, dword [edx + 4]
mov esi, dword [edx + 0x10]
movlpd qword [ebp - 0x68], xmm0
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x58], ecx
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea ebx, [ecx + eax*8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], ebx
mov al, byte [eax + 0x93]
mov byte [ebp - 0x35], al
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [ebp - 0x54], eax
test esi, esi
je 0x4eec1b
mov al, byte [esi]
mov edi, ecx
mov ebx, dword [ebp - 0x5c]
mov byte [ebp - 0xc0], al
push ebx
push dword [ebp - 0xc0]
push edi
call fcn.0048a210
mov al, byte [esi + 1]
lea esi, [esi + 1]
add esp, 0xc
mov byte [ebp - 0xc0], al
add edi, 0x28
test al, al
jne 0x4eebf5
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], eax
movzx eax, word [ebx + 8]
test al, 1
je 0x4eec44
xor esi, esi
xor edi, edi
jmp 0x4eed5c
test al, 4
je 0x4eed37
mov esi, dword [ebx + 4]
mov edx, dword [ebx]
test esi, esi
jg 0x4eec65
jl 0x4eec5b
test edx, edx
jae 0x4eec65
mov ecx, edx
mov eax, esi
not ecx
not eax
jmp 0x4eec69
mov ecx, edx
mov eax, esi
test eax, eax
ja 0x4eed09
jb 0x4eec78
cmp ecx, 0x7f
ja 0x4eecaf
mov eax, edx
xor edi, edi
and eax, 1
cmp eax, edx
jne 0x4eec9d
cmp edi, esi
jne 0x4eec9d
cmp byte [ebp - 0x35], 4
jb 0x4eec9d
mov edx, dword [ebp - 0x50]
lea edi, [ecx + 8]
mov ecx, dword [ebp - 0x40]
xor esi, esi
jmp 0x4eed5c
mov edx, dword [ebp - 0x50]
mov esi, 1
mov ecx, dword [ebp - 0x40]
mov edi, esi
jmp 0x4eed5c
test eax, eax
ja 0x4eed09
jb 0x4eecbd
cmp ecx, 0x7fff
ja 0x4eeccf
mov edx, dword [ebp - 0x50]
mov esi, 2
mov ecx, dword [ebp - 0x40]
mov edi, esi
jmp 0x4eed5c
test eax, eax
ja 0x4eed09
jb 0x4eecdd
cmp ecx, 0x7fffff
ja 0x4eecec
mov edx, dword [ebp - 0x50]
mov esi, 3
mov ecx, dword [ebp - 0x40]
mov edi, esi
jmp 0x4eed5c
test eax, eax
ja 0x4eed09
jb 0x4eecfa
cmp ecx, 0x7fffffff
ja 0x4eed09
mov edx, dword [ebp - 0x50]
mov esi, 4
mov ecx, dword [ebp - 0x40]
mov edi, esi
jmp 0x4eed5c
cmp eax, 0x7fff
ja 0x4eed27
jb 0x4eed17
cmp ecx, 0xffffffff
ja 0x4eed27
mov edx, dword [ebp - 0x50]
mov esi, 6
mov ecx, dword [ebp - 0x40]
lea edi, [esi - 1]
jmp 0x4eed5c
mov edx, dword [ebp - 0x50]
mov esi, 8
mov ecx, dword [ebp - 0x40]
lea edi, [esi - 2]
jmp 0x4eed5c
test al, 8
je 0x4eed45
mov esi, 8
lea edi, [esi - 1]
jmp 0x4eed5c
mov esi, dword [ebx + 0xc]
test eax, 0x4000
je 0x4eed51
add esi, dword [ebx]
shr eax, 1
lea edi, [esi + 6]
and eax, 1
lea edi, [eax + edi*2]
movzx eax, word [ebx + 8]
test eax, 0x4000
je 0x4eed99
test edi, edi
jne 0x4eed72
mov edi, 0xa
jmp 0x4eed99
mov eax, ecx
or eax, edx
je 0x4eed8b
push ebx
call fcn.004f5030
add esp, 4
test eax, eax
jne 0x4f32ba
jmp 0x4eed96
mov eax, dword [ebx]
cdq
add dword [ebp - 0x34], eax
adc dword [ebp - 0x60], edx
sub esi, dword [ebx]
mov edx, dword [ebp - 0x50]
add dword [ebp - 0x40], esi
adc edx, 0
mov dword [ebp - 0x50], edx
cmp edi, 0x7f
ja 0x4eedae
mov eax, 1
jmp 0x4eedbc
push 0
push edi
call fcn.004ec410
mov edx, dword [ebp - 0x50]
add esp, 8
mov esi, dword [ebp - 0x3c]
add esi, eax
mov dword [ebx + 0x1c], edi
mov dword [ebp - 0x3c], esi
cmp ebx, dword [ebp - 0x58]
je 0x4eedd7
mov ecx, dword [ebp - 0x40]
sub ebx, 0x28
jmp 0x4eec33
cmp esi, 0x7e
jle 0x4eee02
mov eax, esi
cdq
push edx
push eax
call fcn.004ec410
mov esi, eax
mov eax, dword [ebp - 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
cdq
push edx
push eax
call fcn.004ec410
add esp, 0x10
cmp esi, eax
mov esi, dword [ebp - 0x3c]
jge 0x4eee06
inc esi
mov dword [ebp - 0x3c], esi
mov ebx, dword [ebp - 0x50]
mov eax, esi
cdq
mov edi, eax
mov esi, edx
mov eax, dword [ebp - 0x40]
add eax, edi
mov ecx, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
adc ebx, esi
add ecx, dword [ebp - 0x34]
adc ebx, dword [ebp - 0x60]
mov eax, dword [eax + 0x18]
cdq
cmp ebx, edx
jg 0x4eee3e
jl 0x4eee33
cmp ecx, eax
ja 0x4eee3e
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
jmp 0x4eee70
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x6c]
cdq
cmp ebx, edx
jg 0x4f1def
jl 0x4eee57
cmp ecx, eax
ja 0x4f1def
push dword [ebp - 0x40]
push dword [ebp - 0x54]
call fcn.004f4f90
add esp, 8
test eax, eax
jne 0x4f32ba
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
cmp ecx, 0x80
jae 0x4eee8c
mov edi, eax
mov eax, 1
mov byte [edi], cl
jmp 0x4eee9a
push esi
push edi
mov edi, dword [ebp - 0x50]
push edi
call fcn.004e3120
add esp, 0xc
mov edx, dword [ebp - 0x58]
movzx esi, al
mov ebx, dword [edx + 0x1c]
lea eax, [esi + edi]
cmp ebx, 0x80
jae 0x4eeeb7
mov byte [eax], bl
mov eax, 1
jmp 0x4eeec6
push 0
push ebx
push eax
call fcn.004e3120
mov edx, dword [ebp - 0x58]
add esp, 0xc
add edi, dword [ebp - 0x3c]
movzx eax, al
add esi, eax
lea eax, [ebx - 1]
mov dword [ebp - 0x44], esi
cmp eax, 6
ja 0x4eeefb
mov ecx, dword [edx]
mov eax, dword [edx + 4]
movzx edx, byte [ebx + 0x59e708]
mov esi, edx
dec edx
mov byte [edx + edi], cl
shrd ecx, eax, 8
shr eax, 8
test edx, edx
jne 0x4eeee7
mov edx, dword [ebp - 0x58]
jmp 0x4eef1b
cmp ebx, 0xc
jb 0x4eef19
mov esi, dword [edx + 0xc]
test esi, esi
je 0x4eef1b
push esi
push dword [edx + 0x10]
push edi
call fcn.0054eef0
mov edx, dword [ebp - 0x58]
add esp, 0xc
jmp 0x4eef1b
xor esi, esi
add dword [ebp - 0x3c], esi
add edx, 0x28
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x58], edx
cmp edx, dword [ebp - 0x4c]
jbe 0x4eeea0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
mov eax, 0x10
mov word [edx + 8], ax
mov eax, ecx
or eax, dword [ebp - 0x60]
je 0x4ed3df
mov eax, 0x4010
mov dword [edx], ecx
mov word [edx + 8], ax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x68], xmm0
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x28]
push esi
call fcn.004ae860
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
cmp ebx, 0x10
jne 0x4eefbb
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movlpd qword [ebp - 0x48], xmm0
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
jmp 0x4ef081
test ebx, ebx
jne 0x4ef06d
mov eax, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 0x34], eax
nop dword [eax]
mov edi, dword [esi + 0x74]
mov cl, byte [edi + 8]
test cl, cl
jne 0x4eefdf
cmp byte [edi + 2], cl
jne 0x4ef011
movzx eax, word [edi + 0x18]
cdq
add dword [ebp - 0x34], eax
adc ebx, edx
test cl, cl
je 0x4ef011
nop dword [eax]
cmp byte [esi + 0x44], 0
push esi
je 0x4ef05d
call fcn.004ae720
mov edi, dword [esi + 0x74]
add esp, 4
movzx eax, word [esi + 0x46]
cmp ax, word [edi + 0x18]
jae 0x4eeff0
inc eax
mov word [esi + 0x46], ax
movzx ecx, word [esi + 0x46]
movzx eax, word [edi + 0x18]
cmp ecx, eax
jne 0x4ef02a
movzx ecx, byte [edi + 9]
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax + 8]
jmp 0x4ef044
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax]
bswap eax
push eax
push esi
call fcn.004ae5e0
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4eefd0
jmp 0x4ef070
call fcn.004ae860
mov esi, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0x20], eax
jmp 0x4ef076
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x1c]
test eax, eax
jne 0x4ef1b8
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1710
add esp, 8
mov dword [eax], esi
mov esi, dword [ebp - 0x14]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov esi, dword [edx + 0x10]
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x4ef175
cmp dword [edi + 0xb4], eax
jg 0x4f309a
push esi
call fcn.004e98c0
mov ecx, dword [edi + 0x1d0]
mov ebx, eax
add ecx, dword [edi + 0x1cc]
push ecx
push 0
push edi
call fcn.004f8000
add esp, 0x10
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
lea eax, [ebx + 0x21]
push 0
push eax
push edi
call fcn.004c9310
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4ed5b2
lea ecx, [ebx + 1]
push ecx
lea edx, [edi + 0x20]
push esi
push edx
mov dword [edi], edx
call fcn.0054eef0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
cmp byte [ecx + 0x4f], 0
je 0x4ef12c
mov byte [ecx + 0x4f], 0
mov byte [ecx + 0x57], 1
jmp 0x4ef132
inc dword [ecx + 0x1cc]
mov eax, dword [ecx + 0x1c4]
mov esi, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x1d8]
mov dword [ecx + 0x1c4], edi
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x1dc]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 0x1e0]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0x1e4]
mov dword [edi + 0x14], eax
mov edi, ecx
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov ebx, dword [eax + 0x1c4]
test ebx, ebx
je 0x4ef19f
push esi
push dword [ebx]
call fcn.004e9850
add esp, 8
test eax, eax
je 0x4ef22c
mov ebx, dword [ebx + 0x18]
inc edi
test ebx, ebx
jne 0x4ef184
push esi
push str.no_such_savepoint:__s
push dword [ebp - 0x18]
call fcn.004ed090
add esp, 0xc
mov eax, 1
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
cmp byte [edi + 0x51], 0
mov edx, 7
cmovne eax, edx
cmp dword [ecx + 0x7c], 0
mov dword [ebp - 0x20], eax
jne 0x4f356d
cmp eax, 0xc0a
je 0x4f356d
mov ecx, str.unknown_error
sub eax, 0x64
je 0x4f3551
sub eax, 1
je 0x4f354a
sub eax, 0x19f
je 0x4f3543
mov eax, dword [ebp - 0x20]
movzx eax, al
cmp eax, 0x1d
jae 0x4f3556
mov eax, dword [eax*4 + 0x5a2048]
test eax, eax
je 0x4f3556
mov ecx, eax
jmp 0x4f3556
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x58]
cmp dword [edx + 0xb4], 0
jle 0x4ef244
cmp esi, 1
je 0x4f30b4
cmp dword [ebx + 0x18], 0
jne 0x4ef2a5
cmp byte [edx + 0x57], 0
je 0x4ef2a5
mov dword [ebp - 0x60], 1
cmp esi, 1
jne 0x4ef2ac
push esi
push dword [ebp - 0x18]
call fcn.004ecae0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x4f363d
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov byte [eax + 0x4f], 1
call fcn.004f41f0
add esp, 4
cmp eax, 5
je 0x4f30ce
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov byte [edx + 0x57], 0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x20], eax
jmp 0x4ef389
mov dword [ebp - 0x60], 0
mov ecx, dword [edx + 0x1cc]
mov eax, dword [edx + 0x14]
sub ecx, edi
dec ecx
mov dword [ebp - 0x34], ecx
cmp esi, 2
jne 0x4ef31c
mov edx, dword [edx + 0x18]
xor edi, edi
and edx, 1
mov dword [ebp - 0x54], edx
test eax, eax
jle 0x4ef321
mov ecx, edx
xor ecx, 1
xor esi, esi
mov dword [ebp - 0x44], ecx
nop dword [eax]
mov eax, dword [ebp - 0x1c]
push ecx
push 0x204
mov eax, dword [eax + 0x10]
push dword [esi + eax + 4]
call fcn.004c5b20
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b5
mov eax, dword [ebp - 0x1c]
inc edi
mov ecx, dword [ebp - 0x44]
add esi, 0x10
mov eax, dword [eax + 0x14]
cmp edi, eax
jl 0x4ef2e0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x54]
jmp 0x4ef321
xor edx, edx
mov dword [ebp - 0x54], edx
xor edi, edi
test eax, eax
mov eax, dword [ebp - 0x1c]
jle 0x4ef360
xor esi, esi
nop dword [eax]
mov eax, dword [eax + 0x10]
push ecx
push dword [ebp - 0x58]
push dword [esi + eax + 4]
call fcn.004c55f0
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b5
mov eax, dword [ebp - 0x1c]
inc edi
mov ecx, dword [ebp - 0x34]
add esi, 0x10
cmp edi, dword [eax + 0x14]
jl 0x4ef330
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x4ef380
push 0
push eax
call fcn.004cb110
push dword [ebp - 0x1c]
call fcn.004e3c70
mov edx, dword [ebp - 0x1c]
add esp, 0xc
or dword [edx + 0x18], 1
jmp 0x4ef383
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x34]
mov ecx, dword [edx + 0x1c4]
cmp ecx, ebx
je 0x4ef3fd
mov esi, dword [ebp - 0x1c]
nop word [eax + eax]
cmp dword [esi + 0x1e8], 0
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x1c4], eax
je 0x4ef3be
push ecx
push esi
call fcn.004ae310
add esp, 8
jmp 0x4ef3e7
cmp ecx, dword [esi + 0x138]
jb 0x4ef3de
cmp ecx, dword [esi + 0x13c]
jae 0x4ef3de
mov eax, dword [esi + 0x134]
mov dword [ecx], eax
mov dword [esi + 0x134], ecx
jmp 0x4ef3e7
push ecx
call fcn.00478440
add esp, 4
dec dword [esi + 0x1cc]
mov ecx, dword [esi + 0x1c4]
cmp ecx, ebx
jne 0x4ef3a0
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x1c]
cmp esi, 1
jne 0x4ef44b
mov eax, dword [ebx + 0x18]
push ebx
push edx
mov dword [edx + 0x1c4], eax
call fcn.004c9260
add esp, 8
cmp dword [ebp - 0x60], 0
jne 0x4ef47a
mov eax, dword [ebp - 0x1c]
dec dword [eax + 0x1cc]
push edi
mov edi, dword [ebp - 0x1c]
push esi
push edi
call fcn.004f8000
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
cmp dword [ebp - 0x60], 0
mov eax, dword [ebx + 8]
mov dword [edx + 0x1d8], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 0x1dc], eax
mov eax, dword [ebx + 0x10]
mov dword [edx + 0x1e0], eax
mov eax, dword [ebx + 0x14]
mov dword [edx + 0x1e4], eax
je 0x4ef424
cmp esi, 2
je 0x4ef424
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x98], 0
mov edx, dword [edx + 8]
test edx, edx
je 0x4ef4bb
mov eax, dword [edi + 0x20]
and eax, 0x100000
or eax, 0
jne 0x4f3106
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 0x4ef5d1
lea eax, [ebp - 0x98]
push eax
push edx
push esi
call fcn.004c2c20
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f3110
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp dword [ebx + 8], eax
je 0x4ef5d7
test byte [edx + 0x98], 0x80
je 0x4ef5d7
cmp byte [edi + 0x4f], al
je 0x4ef51c
cmp dword [edi + 0xb0], 1
jle 0x4ef5d7
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x4ef538
mov eax, dword [edi + 0x1cc]
inc dword [edi + 0x1d0]
add eax, dword [edi + 0x1d0]
mov dword [edx + 0x30], eax
dec eax
push eax
push 0
push edi
call fcn.004f8000
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef5a8
cmp byte [esi + 9], 0
mov eax, dword [ebp - 0x18]
mov ebx, dword [esi + 4]
mov edi, dword [eax + 0x30]
je 0x4ef56d
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x4ef56d
push esi
call fcn.0048d760
add esp, 4
mov eax, dword [ebx]
cmp edi, dword [eax + 0x60]
jle 0x4ef589
cmp byte [eax + 6], 0
je 0x4ef589
push edi
push eax
call fcn.004b2150
add esp, 8
mov dword [ebp - 0x20], eax
jmp 0x4ef590
mov dword [ebp - 0x20], 0
cmp byte [esi + 9], 0
je 0x4ef5a5
add dword [esi + 0xc], 0xffffffff
jne 0x4ef5a5
push esi
call fcn.00501d50
add esp, 4
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [edi + 0x1d8]
mov dword [edx + 0x48], eax
mov eax, dword [edi + 0x1dc]
mov dword [edx + 0x4c], eax
mov eax, dword [edi + 0x1e0]
mov dword [edx + 0x50], eax
mov eax, dword [edi + 0x1e4]
mov dword [edx + 0x54], eax
jmp 0x4ef5d4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
cmp word [esi + 2], 0
je 0x4ef60d
mov eax, dword [ebp - 0x98]
cmp eax, dword [esi + 0xc]
jne 0x4f3145
mov eax, esi
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [esi + 0x10]
jne 0x4f3145
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4ef1b8
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xe0]
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.004c3c90
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1710
mov esi, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
add esp, 0x14
cdq
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], edx
add esi, 0x14
jmp 0x4ed1d0
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.004c5c60
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 8]
cmp eax, 1
jne 0x4ef6a1
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
or dword [edi + 0x18], 1
jmp 0x4ef6af
cmp eax, 2
jne 0x4ef6af
mov ecx, dword [esi + 0xc]
mov al, byte [edx + 0xc]
mov byte [ecx + 0x4c], al
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 1
jne 0x4ef6cd
push 0
push edi
call fcn.004cb110
mov edx, dword [ebp - 0x18]
add esp, 8
and dword [edx + 0x98], 0xfffffffc
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je case.0x4ed1ed.108
mov eax, dword [esi + 0x34]
cmp eax, dword [ebx + 8]
je 0x4ef7ff
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x98]
and al, 3
cmp al, 1
je 0x4f31c1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x34], 0
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov eax, ecx
shl eax, 4
add eax, dword [edi + 0x10]
cmp dl, 0x6d
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
mov esi, dword [eax + 4]
mov dword [ebp - 0x4c], esi
jne 0x4ef76b
mov eax, dword [eax + 0xc]
movzx edi, word [edx + 2]
mov esi, dword [ebp - 0x18]
and edi, 8
or edi, 4
mov al, byte [eax + 0x4c]
cmp al, byte [esi + 0x93]
jae 0x4ef76d
mov byte [esi + 0x93], al
jmp 0x4ef76d
xor edi, edi
test byte [edx + 2], 0x10
je 0x4ef78d
mov ecx, dword [ebp - 0x30]
lea eax, [ebx + ebx*4]
lea esi, [ecx + eax*8]
push esi
call fcn.004f5350
mov ebx, dword [esi]
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 1]
cmp al, 0xf7
jne 0x4ef7a0
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x34], eax
movzx eax, word [eax + 8]
jmp 0x4ef7ac
cmp al, 0xfd
jne 0x4ef7a9
mov eax, dword [edx + 0x10]
jmp 0x4ef7ac
mov eax, dword [ebp - 0x64]
push 0
push ecx
push eax
push dword [edx + 4]
push dword [ebp - 0x18]
call fcn.00489260
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4f32ba
push dword [esi + 0x28]
or dword [esi + 8], 4
push dword [ebp - 0x34]
mov byte [esi + 2], 1
push edi
push ebx
push dword [ebp - 0x4c]
mov dword [esi + 0x34], ebx
call fcn.004c3730
mov edi, dword [ebp - 0x1c]
add esp, 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x14]
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 + 0x28]
and cl, 3
mov byte [eax + 3], cl
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
push 0
push 0xffffffffffffffff
mov ecx, dword [edx + 8]
mov eax, dword [esi + 0x60]
mov ebx, dword [eax + ecx*4]
movsx eax, word [ebx + 0x38]
push eax
push dword [edx + 4]
push esi
call fcn.00489260
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4f3531
or dword [edi + 8], 1
push dword [edi + 0x28]
mov byte [edi + 2], 1
mov esi, dword [ebx + 0x2c]
mov dword [edi + 0x2c], esi
mov al, byte [ebx + 4]
mov byte [edi + 4], al
mov edx, dword [ebx + 0x34]
mov dword [edi + 0x34], edx
mov eax, dword [ebx + 8]
xor eax, dword [edi + 8]
push esi
push 4
and eax, 4
xor dword [edi + 8], eax
push edx
push dword [ebx + 0xc]
call fcn.004c3730
mov edi, dword [ebp - 0x1c]
mov ecx, eax
mov esi, dword [ebp - 0x14]
add esp, 0x14
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push 0
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4ef8ce
push dword [eax + 0x34]
push dword [eax + 0xc]
call fcn.004c2f40
add esp, 0xc
mov dword [ebp - 0x20], eax
jmp 0x4ef9c1
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push dword [ebp - 0x18]
call fcn.00489260
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4f32bd
mov eax, dword [ebp - 0x14]
lea edi, [esi + 0xc]
or dword [esi + 8], 1
mov byte [esi + 2], 1
push 0x41e
movzx eax, word [eax + 2]
or eax, 5
push eax
mov eax, dword [ebp - 0x1c]
push edi
push eax
push 0
push dword [eax]
call fcn.004c4c90
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef99e
push eax
push 1
push dword [edi]
call fcn.004c2c20
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef99e
mov ecx, dword [ebp - 0x14]
lea ebx, [esi + 0x34]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x44], eax
mov dword [esi + 0x2c], eax
test eax, eax
je 0x4ef97e
movzx eax, word [ecx + 2]
or eax, 2
push eax
push ebx
push dword [edi]
call fcn.004c36e0
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef978
push dword [esi + 0x28]
push dword [ebp - 0x44]
push 4
push dword [ebx]
push dword [edi]
call fcn.004c3730
add esp, 0x14
mov dword [ebp - 0x20], eax
mov byte [esi + 4], 0
jmp 0x4ef99e
push dword [esi + 0x28]
mov dword [ebx], 1
push 0
push 4
push 1
push dword [edi]
call fcn.004c3730
add esp, 0x14
mov dword [ebp - 0x20], eax
mov byte [esi + 4], 1
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edi, dword [ebp - 0x1c]
cmp word [eax + 2], 8
mov eax, 4
cmovne ecx, eax
mov eax, dword [esi + 8]
and eax, 0xfffffffb
or ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], ecx
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
push 1
push 0xffffffffffffffff
push dword [edx + 8]
push dword [edx + 4]
push dword [ebp - 0x18]
call fcn.00489260
add esp, 0x14
test eax, eax
je 0x4f32bd
mov edx, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x2c], ecx
push dword [edx + 0xc]
push edi
call fcn.004f6ee0
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edx, dword [eax + ecx*4]
mov edi, dword [edx + 0x10]
mov ecx, edi
mov esi, dword [edx + 0x14]
add ecx, 1
mov eax, esi
mov dword [edx + 0x10], ecx
adc eax, 0
or edi, esi
mov dword [edx + 0x14], eax
je 0x4ed223
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
push 3
push 0xffffffffffffffff
push dword [edx + 0xc]
push dword [edx + 4]
push dword [ebp - 0x18]
call fcn.00489260
add esp, 0x14
test eax, eax
je 0x4f32bd
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov byte [eax + 2], 1
mov ecx, dword [ecx + 8]
mov dword [eax + 0x20], ecx
mov byte [eax + 4], 1
mov dword [eax + 0x28], 0x5ddf63
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
push dword [eax + ecx*4]
push esi
call fcn.004f4070
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x60]
mov esi, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x30]
cmp byte [esi + 4], 0
mov byte [esi + 2], 0
je 0x4efbf2
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov al, byte [edi + 8]
and al, 0xe
cmp al, 2
jne 0x4efb24
push 0
push edi
call fcn.0048a280
add esp, 8
push edi
call fcn.004f4520
movzx ecx, word [edi + 8]
add esp, 4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], edx
test cl, 4
jne 0x4efb6f
test cl, 8
je 0x4ed223
mov ecx, eax
call fcn.0046ce20
movsd xmm1, qword [edi]
comisd xmm0, xmm1
jbe 0x4efb63
test bl, 1
lea eax, [ebx - 1]
cmove eax, ebx
mov ebx, eax
jmp 0x4efb6f
comisd xmm1, xmm0
jbe 0x4efb6f
test bl, 1
jne 0x4efb6f
inc ebx
mov edi, dword [ebp - 0x4c]
lea eax, [ebp - 0x70]
push eax
push 0
push dword [ebp - 0x54]
push edi
push 0
push dword [esi + 0x28]
call fcn.004c4710
mov dword [ebp - 0x20], eax
add esp, 0x18
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x40], edi
test eax, eax
jne 0x4ef1b5
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x70]
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
cmp ebx, 0x18
jl 0x4efcc4
test eax, eax
js 0x4efc89
jne 0x4efbcd
cmp ebx, 0x19
je 0x4efc89
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x14]
test edi, edi
mov edi, dword [ebp - 0x1c]
lea eax, [ecx + 0x14]
cmove eax, ecx
mov dword [ebp - 0x14], eax
mov esi, eax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [esi + 0x28]
mov al, byte [eax + 3]
and al, 2
mov byte [ebp - 0x35], al
mov eax, 0
setne al
test bl, 1
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x108], eax
mov ax, word [edx + 0x10]
mov word [ebp - 0x100], ax
sete al
mov byte [ebp - 0xfa], 0
lea eax, [eax*2 - 1]
mov byte [ebp - 0xfe], al
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push dword [esi + 0x28]
call fcn.004c4710
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
cmp byte [ebp - 0x35], al
je 0x4efba0
mov edi, dword [ebp - 0x34]
cmp byte [ebp - 0xfa], al
jne 0x4efba3
mov ecx, dword [ebp - 0x70]
jmp 0x4efcdc
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x70], 0
call fcn.004c4c30
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4efbd4
cmp eax, 0x65
jne 0x4ef1b5
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x70], 1
jmp 0x4ed223
test eax, eax
jg 0x4efce9
jne 0x4efccf
cmp ebx, 0x16
je 0x4efce9
mov eax, dword [esi + 0x28]
xor ecx, ecx
cmp byte [eax], cl
setne cl
mov dword [ebp - 0x70], ecx
test ecx, ecx
jne 0x4ed223
jmp 0x4efbd4
push 0
push dword [esi + 0x28]
mov dword [ebp - 0x70], 0
call fcn.004c5410
jmp 0x4efc9a
mov edx, dword [ebp - 0x14]
mov esi, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, edx
mov eax, dword [eax + 8]
shl eax, 3
xor eax, dword [ecx + 8]
and eax, 8
xor dword [ecx + 8], eax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
mov eax, dword [edx + 0x60]
mov eax, dword [eax + ecx*4]
test byte [eax + 8], 8
jne 0x4ed3df
jmp 0x4efd44
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
mov eax, dword [edx + 0x60]
mov edx, dword [ebp - 0x30]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
test ecx, ecx
jle 0x4efd83
mov eax, dword [ebx + 0x2c]
lea edi, [ebp - 0x1b0]
mov dword [ebp - 0x1ac], esi
xor esi, esi
mov dword [ebp - 0x1b0], eax
mov word [ebp - 0x1a8], cx
jmp 0x4efdcb
mov eax, 0x4000
test word [esi + 8], ax
je 0x4efd9f
push esi
call fcn.004f5030
add esp, 4
test eax, eax
jne 0x4f32bd
push dword [ebx + 0x2c]
call fcn.004ec7f0
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
test edi, edi
je 0x4f32ba
push edi
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [ebx + 0x2c]
call fcn.004f6980
add esp, 0x10
mov esi, edi
mov eax, dword [ebp - 0x14]
mov byte [edi + 0xa], 0
mov dword [ebp - 0x4c], 0
cmp byte [eax], 0x1b
jne 0x4efe06
movzx edx, word [edi + 8]
xor ecx, ecx
test edx, edx
je 0x4efe06
mov eax, dword [edi + 4]
add eax, 8
nop
test byte [eax], 1
jne 0x4efdff
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x4efdf0
jmp 0x4efe06
mov dword [ebp - 0x4c], 1
lea eax, [ebp - 0xe4]
push eax
push 0
push 0
push 0
push edi
push dword [ebx + 0x28]
call fcn.004c4710
mov edi, dword [ebp - 0x1c]
add esp, 0x18
mov dword [ebp - 0x20], eax
test esi, esi
je 0x4efe36
push esi
push edi
call fcn.004c92c0
mov eax, dword [ebp - 0x20]
add esp, 8
test eax, eax
jne 0x4ef1b8
mov eax, dword [ebp - 0xe4]
xor ecx, ecx
mov esi, dword [ebp - 0x14]
test eax, eax
mov dword [ebx + 0x20], eax
sete cl
mov byte [ebx + 3], 0
test eax, eax
mov dword [ebx + 0x1c], 0
setne al
mov byte [ebx + 2], al
cmp byte [esi], 0x1d
jne 0x4efe7c
test ecx, ecx
jne 0x4ed223
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
cmp dword [ebp - 0x4c], 0
jne 0x4ed223
test ecx, ecx
je 0x4ed223
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne case.0x4ed1ed.31
mov edi, eax
test al, 8
jne 0x4efec7
test al, 2
je 0x4efed0
push 1
push esi
call fcn.0048a280
add esp, 8
jmp 0x4efed0
push esi
call fcn.004f4570
add esp, 4
movzx eax, word [esi + 8]
shr eax, 2
not eax
mov word [esi + 8], di
test al, 1
jne 0x4ed223
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc4], 0
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
mov esi, dword [ecx + eax*8]
mov edi, dword [ecx + eax*8 + 4]
lea eax, [ebp - 0xc4]
push eax
push 0
push edi
push esi
push 0
push dword [ebx + 0x28]
call fcn.004c4710
mov dword [ebp - 0x20], eax
add esp, 0x18
mov eax, dword [ebp - 0xc4]
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], edi
mov word [ebx + 2], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], eax
test eax, eax
je 0x4ef47a
mov edi, dword [ebp - 0x14]
cmp dword [edi + 8], 0
jne 0x4ed226
push 0x157b5
call fcn.004c7d00
add esp, 4
mov dword [ebp - 0x20], eax
jmp 0x4ef47d
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
push ebx
push esi
call fcn.004b1710
mov ecx, dword [esi + 0x60]
add esp, 8
mov edx, dword [ebx + 4]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 4], ecx
mov eax, ebx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x60]
mov esi, ebx
mov eax, dword [eax + ecx*4]
add dword [eax + 0x10], 1
adc dword [eax + 0x14], 0
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov ebx, dword [ebp - 0x14]
xorps xmm0, xmm0
push ebx
push dword [ebp - 0x18]
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x8c], 0
call fcn.004b1710
mov edx, dword [ebx + 4]
add esp, 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x60]
mov ebx, dword [ecx + edx*4]
mov dword [ebp - 0x34], ebx
test byte [ebx + 8], 2
jne 0x4f005b
lea eax, [ebp - 0x8c]
push eax
push dword [ebx + 0x28]
call fcn.004c4690
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
cmp dword [ebp - 0x8c], eax
je 0x4f0020
mov edi, 1
xor esi, esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
jmp 0x4f0061
mov esi, dword [ebx + 0x28]
push esi
call fcn.004a9c80
mov edi, dword [esi + 0x20]
add esp, 4
mov esi, dword [esi + 0x24]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
cmp esi, 0x7fffffff
jl 0x4f004d
jg 0x4f0047
cmp edi, 0xffffffff
jb 0x4f004d
or dword [ebx + 8], 2
jmp 0x4f0061
add edi, 1
mov dword [ebp - 0x80], edi
adc esi, 0
mov dword [ebp - 0x7c], esi
jmp 0x4f0061
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4f00ee
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x4f0097
mov eax, dword [edx + 4]
test eax, eax
je 0x4f008c
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x4f0083
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*8]
jmp 0x4f00a0
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x30]
lea ebx, [ecx + eax*8]
push ebx
call fcn.004f5350
mov eax, dword [ebx]
add esp, 4
mov ecx, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x4f00bf
cmp ecx, 0x7fffffff
je 0x4f014d
mov edx, dword [ebp - 0x34]
test byte [edx + 8], 2
jne 0x4f014d
add eax, 1
adc ecx, 0
cmp esi, ecx
jg 0x4f00e6
jl 0x4f00dc
cmp edi, eax
jae 0x4f00e6
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 - 0x34]
test byte [ebx + 8], 2
je 0x4f015a
xor ebx, ebx
lea eax, [ebp - 0x80]
push eax
push 8
call fcn.00478a10
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x8c]
mov edi, dword [ebp - 0x80]
and esi, 0x3fffffff
push eax
mov eax, dword [ebp - 0x34]
add edi, 1
push 0
adc esi, 0
mov dword [ebp - 0x80], edi
push esi
push edi
push 0
push dword [eax + 0x28]
mov dword [ebp - 0x7c], esi
call fcn.004c4710
add esp, 0x20
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b5
cmp dword [ebp - 0x8c], eax
jne 0x4f0157
inc ebx
cmp ebx, 0x64
jl 0x4f00f6
mov eax, 0xd
jmp 0x4ef1b5
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x44]
mov byte [ebx + 3], 0
mov dword [ebx + 0x1c], 0
mov dword [eax], edi
mov edi, dword [ebp - 0x1c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
lea edi, [eax + eax*4]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x34], esi
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8]
mov dword [ebp - 0x1d0], ecx
mov eax, dword [ebx + eax*8 + 4]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x1cc], eax
jne 0x4f01de
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xec], 0
je 0x4f01de
movsx ecx, byte [esi + 1]
mov eax, dword [eax + 0x10]
add ecx, ecx
mov ebx, dword [edx + 0x10]
mov ecx, dword [eax + ecx*8]
mov dword [ebp - 0x4c], ecx
jmp 0x4f01e3
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
movzx eax, word [edx + 2]
mov edx, eax
test al, 1
je 0x4f01fa
mov eax, dword [ebp - 0x18]
inc dword [eax + 0x2c]
mov eax, dword [ebp - 0x14]
movzx edx, word [eax + 2]
movzx ecx, dx
test dl, 0x20
je 0x4f0218
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 2]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + edi*8 + 0x10]
mov dword [ebp - 0x1c8], eax
mov eax, dword [edx + edi*8 + 0xc]
mov dword [ebp - 0x1bc], eax
test cl, 0x10
je 0x4f0239
mov edx, dword [esi + 0x20]
jmp 0x4f023b
xor edx, edx
mov eax, dword [ebp - 0x30]
mov esi, 0x4000
test word [eax + edi*8 + 8], si
mov esi, dword [ebp - 0x34]
je 0x4f0258
mov eax, dword [eax + edi*8]
mov dword [ebp - 0x1b8], eax
jmp 0x4f0262
mov dword [ebp - 0x1b8], 0
push edx
and ecx, 0xa
mov dword [ebp - 0x1d8], 0
push ecx
lea eax, [ebp - 0x1d8]
push eax
push dword [esi + 0x28]
call fcn.004c3d40
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x4ef1b5
mov edi, dword [ebp - 0x1c]
test ebx, ebx
je 0x4ed3dc
push dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x14]
mov ecx, 0x17
push dword [ebp - 0x1d0]
push dword [ebx]
test byte [eax + 2], 4
mov eax, 0x12
push dword [ebp - 0x4c]
cmovne eax, ecx
push eax
push dword [edi + 0xe8]
mov eax, dword [edi + 0xec]
call eax
mov esi, dword [ebp - 0x14]
add esp, 0x18
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
jne 0x4f034e
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xec], 0
je 0x4f034e
movsx ecx, byte [edi + 1]
mov eax, dword [eax + 0x10]
add ecx, ecx
test byte [edx + 2], 2
mov ebx, dword [edx + 0x10]
mov esi, dword [eax + ecx*8]
mov dword [ebp - 0x44], esi
je 0x4f0352
cmp byte [edi + 4], 0
je 0x4f0352
mov esi, dword [edi + 0x28]
push esi
call fcn.004a9c80
mov eax, dword [esi + 0x20]
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x24]
mov esi, dword [ebp - 0x44]
mov dword [edi + 0x44], eax
jmp 0x4f0352
xor esi, esi
xor ebx, ebx
movzx eax, byte [edx + 2]
push eax
push dword [edi + 0x28]
call fcn.004c3840
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
test eax, eax
jne 0x4ef1b5
test byte [ebp - 0x64], 1
je 0x4ed5b2
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
inc dword [edx + 0x2c]
mov eax, dword [eax + 0xec]
test eax, eax
je 0x4ed5b2
test byte [ebx + 0x24], 0x20
jne 0x4ed5b2
push dword [edi + 0x44]
push dword [edi + 0x40]
mov edi, dword [ebp - 0x1c]
push dword [ebx]
push esi
push 9
push dword [edi + 0xe8]
call eax
mov esi, dword [ebp - 0x14]
add esp, 0x18
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x2c]
add dword [edi + 0x68], eax
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x2c], 0
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [edx + 0x10]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov edi, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x2c]
lea eax, [eax + eax*4]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x4f0431
push ebx
call fcn.004ec7f0
add esp, 4
mov dword [ebp - 0x4c], eax
mov dword [edi + 0x20], eax
test eax, eax
je 0x4f051b
mov word [eax + 8], si
lea eax, [ebp - 0xe8]
push eax
push edi
call fcn.00505e90
mov edi, dword [ebp - 0x4c]
push edi
push eax
push dword [ebp - 0xe8]
push ebx
call fcn.004f6980
add esp, 0x18
xor ecx, ecx
test esi, esi
jle 0x4f0471
mov eax, dword [edi + 4]
add eax, 8
nop
test byte [eax], 1
jne 0x4f2271
inc ecx
add eax, 0x28
cmp ecx, esi
jl 0x4f0460
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x30]
push 0
push edi
push dword [ebx + eax*8 + 0x10]
push dword [ebx + eax*8 + 0xc]
call fcn.004f6220
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 0x20], ecx
test eax, eax
jne 0x4ed223
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x28]
cmp byte [eax + 0x38], 0
je 0x4f04fe
cmp byte [eax + 0x39], 0
je 0x4f04dd
mov eax, dword [eax + 0x10]
mov ebx, dword [eax + 0x20]
lea edi, [eax + 0x14]
jmp 0x4f0504
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 0x20]
lea eax, [eax + ecx*8]
lea edi, [eax + 0x14]
jmp 0x4f0504
mov edi, dword [eax + 0x24]
lea ebx, [edi + 8]
mov edi, dword [edi]
cmp dword [esi + 0x18], edi
jge 0x4f0525
push 0
push edi
push esi
call fcn.004f51d0
add esp, 0xc
test eax, eax
je 0x4f0530
mov eax, 7
jmp 0x4ef1b5
mov eax, dword [esi + 0x14]
and word [esi + 8], 0xd
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
mov ecx, 0x3e20
push edi
and ax, cx
mov dword [esi + 0xc], edi
push ebx
push dword [esi + 0x10]
or ax, 0x10
mov word [esi + 8], ax
call fcn.0054eef0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edi, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.004b1710
mov edx, dword [edi + 4]
mov esi, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x60]
mov ecx, dword [ecx + edx*4]
mov edi, dword [ecx + 0x28]
push edi
call fcn.004a9c80
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [edi + 0x2c]
cmp eax, dword [edx + 0x6c]
ja 0x4f1def
push esi
push eax
push 0
push edi
call fcn.004f5160
add esp, 0x10
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b5
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0xc], eax
jne 0x4ed5b2
mov eax, 0x1000
test word [esi + 8], ax
je 0x4ed5b2
push esi
call fcn.004f53d0
mov edi, dword [ebp - 0x1c]
add esp, 4
test eax, eax
jne 0x4f32bd
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
push esi
call fcn.004b1710
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edi, eax
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x60]
mov esi, dword [ecx + edx*4]
cmp byte [esi + 2], 0
je 0x4f0649
mov esi, dword [ebp - 0x14]
mov eax, 1
mov word [edi + 8], ax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
cmp byte [esi + 3], 0
je 0x4f067d
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0xa4], ecx
mov eax, dword [esi + 0x44]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
mov dword [edi], ecx
mov eax, dword [ebp - 0xa0]
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
cmp byte [esi], 2
jne 0x4f06d2
mov ecx, dword [esi + 0x28]
lea edx, [ebp - 0xa4]
push edx
push ecx
mov esi, dword [ecx]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.004f7e00
mov eax, dword [ebp - 0x20]
add esp, 0x10
test eax, eax
jne 0x4ef1b5
mov ecx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x14]
mov dword [edi], ecx
mov eax, dword [ebp - 0xa0]
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push esi
call fcn.004ece30
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b5
cmp byte [esi + 2], al
je 0x4f0705
mov esi, dword [ebp - 0x14]
mov eax, 1
mov word [edi + 8], ax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov esi, dword [esi + 0x28]
push esi
call fcn.004a9c80
mov ecx, dword [esi + 0x20]
add esp, 4
mov dword [ebp - 0xa4], ecx
mov eax, dword [esi + 0x24]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
mov dword [edi], ecx
mov eax, dword [ebp - 0xa0]
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
cmp byte [esi], 0
mov byte [esi + 2], 1
mov dword [esi + 0x1c], 0
jne 0x4ed3dc
mov esi, dword [esi + 0x28]
push dword [esi + 0x10]
call fcn.00478440
mov eax, dword [ebp - 0x24]
add esp, 4
mov dword [esi + 0x10], 0
mov byte [esi], 1
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc8], 0
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x28]
cmp dl, 0x82
jne 0x4f07b3
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je 0x4ed3dc
lea ecx, [ebp - 0xc8]
push ecx
push eax
call fcn.004c4690
mov dword [ebp - 0x20], eax
add esp, 8
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc8]
mov byte [esi + 2], al
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
jne 0x4f3289
mov esi, dword [ebp - 0x14]
cmp dword [esi + 8], 0
jle 0x4ed3df
test eax, eax
jne 0x4ed223
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x28]
lea eax, [ebp - 0xcc]
push eax
push esi
mov dword [ebp - 0x4c], esi
call fcn.004c3be0
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
cmp dword [ebp - 0xcc], eax
jne 0x4ed223
cmp byte [esi], al
jne 0x4ed3dc
mov eax, dword [esi + 0x74]
cmp byte [eax + 8], 0
je 0x4ed3dc
movzx eax, word [eax + 0x18]
xor bl, bl
cdq
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax + 0x44]
mov dword [ebp - 0x44], ecx
test ecx, ecx
jle 0x4f0893
xor ecx, ecx
mov eax, dword [eax + ecx*4 + 0x78]
push edi
push esi
movzx eax, word [eax + 0x18]
cdq
push edx
push eax
call fcn.0046cef0
inc bl
mov esi, eax
mov eax, dword [ebp - 0x4c]
mov edi, edx
movzx ecx, bl
cmp ecx, dword [ebp - 0x44]
jl 0x4f0870
test edi, edi
jl 0x4ed5b2
jg 0x4f08a5
test esi, esi
jb 0x4ed5b2
push edi
push esi
call fcn.004dcdb0
mov edi, dword [ebp - 0x14]
add esp, 8
cwde
cmp eax, dword [edi + 0xc]
jge 0x4ed5b2
mov dword [ebp - 0xcc], 1
jmp 0x4ed226
mov eax, dword [ebp - 0x18]
inc dword [eax + 0xac]
jmp 0x4f08d9
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ebx, 1
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x90], ebx
mov ecx, dword [edx + 4]
mov edi, dword [eax + ecx*4]
mov esi, dword [edi + 0x28]
cmp byte [edi], bl
jne 0x4f094b
cmp byte [esi + 0x38], 0
mov dword [ebp - 0x20], 0
jne 0x4f0921
cmp dword [esi + 0x24], 0
lea eax, [esi + 0x24]
je 0x4f096f
push eax
lea eax, [esi + 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 0x90], ebx
call fcn.00506110
jmp 0x4f0969
push esi
call fcn.00505760
push eax
push esi
call fcn.00505880
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f096f
push esi
call fcn.00505ef0
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x90], ebx
jmp 0x4f096c
lea eax, [ebp - 0x90]
push eax
push esi
call fcn.004c3be0
mov ebx, dword [ebp - 0x90]
mov byte [edi + 3], 0
mov dword [edi + 0x1c], 0
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4ef1b5
mov byte [edi + 2], bl
test ebx, ebx
jne 0x4ed223
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
mov esi, dword [edi + 0x28]
cmp byte [esi + 0x38], 0
je 0x4f0a0f
cmp byte [esi + 0x39], 0
je 0x4f09dd
push dword [esi + 0x10]
call fcn.005049e0
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f0a65
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x18], 0
jne 0x4f0a40
mov eax, 0x65
jmp 0x4f0a62
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0
push eax
push dword [esi + 0x14]
call fcn.00504410
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f0a65
cmp dword [ebp - 0xd0], eax
je 0x4f0a65
mov eax, 0x65
jmp 0x4f0a62
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 4]
mov dword [esi + 0x24], eax
mov dword [ecx + 4], 0
cmp dword [esi + 0x28], 0
jne 0x4f0a31
push ecx
push dword [ebp - 0x1c]
call fcn.00505e30
add esp, 8
xor ecx, ecx
mov eax, 0x65
cmp dword [esi + 0x24], ecx
cmovne eax, ecx
jmp 0x4f0a62
mov eax, dword [ebp - 0x20]
jmp 0x4f0a65
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
push dword [edx + 0xc]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0x10]
push dword [edi + 0x28]
call eax
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [edi + 0x1c], 0
test eax, eax
jne 0x4f0a89
mov ecx, dword [ebp - 0x18]
mov byte [edi + 2], al
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
inc dword [ecx + eax*4 + 0xa4]
jmp 0x4f2aa4
cmp eax, 0x65
jne 0x4ef1b5
xor ecx, ecx
mov byte [edi + 2], 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 0x110], 0
jne 0x4f34f6
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
cmp esi, ebx
jb 0x4ed3dc
nop dword [eax]
mov eax, dword [edi + 0x148]
test eax, eax
je 0x4ed3dc
add ebx, dword [edi + 0x150]
push dword [edi + 0x14c]
mov dword [ebp - 0x28], ebx
call eax
add esp, 4
test eax, eax
jne 0x4f3676
cmp esi, ebx
jae 0x4f0ac0
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x60]
mov edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
test byte [ecx + 2], 1
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
je 0x4f0b23
inc dword [edx + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x4f0b42
push esi
call fcn.004f5030
add esp, 4
test eax, eax
jne 0x4ef1b5
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], 0x83
jne 0x4f0b53
push esi
push edi
call fcn.004f74a0
add esp, 8
jmp 0x4f0bb3
mov eax, dword [esi + 0xc]
cdq
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], edx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x290], eax
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [ebp - 0x27c], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0x278], ax
movzx eax, word [ecx + 2]
test al, 0x10
je 0x4f0b93
mov ecx, dword [edi + 0x20]
jmp 0x4f0b95
xor ecx, ecx
push ecx
and eax, 0xa
push eax
lea eax, [ebp - 0x290]
push eax
push dword [edi + 0x28]
call fcn.004c3d40
add esp, 0x10
mov dword [edi + 0x1c], 0
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
mov dword [ebp - 0x160], eax
mov ax, word [edx + 0xc]
mov word [ebp - 0x158], ax
mov eax, dword [edx + 8]
mov byte [ebp - 0x156], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0xec]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x160]
push eax
push edi
call fcn.004c4710
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b5
cmp dword [ebp - 0xec], eax
jne 0x4f0c54
push 4
push edi
call fcn.004c3840
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b5
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + ecx*4]
push ebx
mov dword [ebp - 0x44], ebx
call fcn.004ece30
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
cmp byte [ebx + 2], al
jne 0x4f0e59
mov edi, dword [ebx + 0x28]
push edi
call fcn.004a9c80
mov ebx, dword [edi + 0x28]
xor eax, eax
movzx ecx, word [edi + 0x30]
add esp, 4
mov esi, dword [edi + 0x2c]
mov word [ebp - 0x148], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x130], eax
mov eax, dword [edi + 0x74]
mov dword [ebp - 0x138], 0
mov eax, dword [eax + 0x3c]
sub eax, ebx
cmp ecx, eax
jle 0x4f0ce9
xor edx, edx
mov ecx, eax
test eax, eax
cmovs ecx, edx
cmp esi, ecx
ja 0x4f0d07
mov eax, 0x1010
mov dword [ebp - 0x140], ebx
mov word [ebp - 0x148], ax
mov dword [ebp - 0x144], esi
jmp 0x4f0d2e
lea eax, [ebp - 0x150]
push eax
push esi
push 0
push edi
call fcn.00503ed0
add esp, 0x10
test eax, eax
jne 0x4ef1b5
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebp - 0x144]
mov al, byte [ebx]
cmp al, 0x80
jae 0x4f0d3f
movzx edi, al
mov dword [ebp - 0xd4], edi
jmp 0x4f0d55
lea eax, [ebp - 0xd4]
push eax
push ebx
call fcn.004d8e40
mov edi, dword [ebp - 0xd4]
add esp, 8
cmp edi, 3
jb 0x4f31cb
cmp edi, esi
ja 0x4f31cb
lea eax, [ebx - 1]
add eax, edi
mov cl, byte [eax]
cmp cl, 0x80
jae 0x4f0d7d
movzx ecx, cl
mov dword [ebp - 0xa8], ecx
jmp 0x4f0d93
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.004d8e40
mov ecx, dword [ebp - 0xa8]
add esp, 8
lea eax, [ecx - 1]
cmp eax, 8
ja 0x4f31cb
cmp ecx, 7
je 0x4f31cb
movzx edx, byte [ecx + 0x59e708]
lea eax, [edx + edi]
cmp esi, eax
jb 0x4f31cb
lea eax, [ebp - 0x2b8]
sub esi, edx
push eax
push ecx
add esi, ebx
push esi
call fcn.004f6ba0
lea eax, [ebp - 0x150]
push eax
call fcn.004f5600
mov edi, dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x20], 0
cmp byte [edi], 0x86
jne 0x4f0e2b
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x2b8]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ecx + 0x44], eax
mov word [ecx + 2], 0x100
mov eax, dword [edi + 0x10]
mov edi, dword [ebp - 0x1c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push edi
push dword [ebp - 0x18]
call fcn.004b1710
mov ecx, dword [ebp - 0x2b8]
add esp, 8
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2b4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004f5670
mov esi, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edi, dword [ebp - 0x14]
cmp dl, 0x27
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x170], eax
mov ax, word [edi + 0x10]
mov word [ebp - 0x168], ax
sbb al, al
mov byte [ebp - 0x166], al
xor esi, esi
mov eax, dword [edi + 0xc]
mov edi, dword [ecx + 0x28]
push edi
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0x16c], eax
call fcn.004a9c80
mov edx, dword [edi + 0x2c]
xor eax, eax
add esp, 4
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x4f0f73
jb 0x4f0ef0
cmp ecx, 0x7ffffffe
ja 0x4f0f73
xor eax, eax
mov dword [ebp - 0x1e8], esi
mov word [ebp - 0x1f8], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1e0], eax
lea eax, [ebp - 0x200]
push eax
push edx
push 0
push edi
call fcn.004f5160
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x4f0f9a
push eax
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
call fcn.004f6220
add esp, 0x10
mov esi, eax
test dword [ebp - 0x1f8], 0x2400
jne 0x4f0f5b
cmp dword [ebp - 0x1e8], 0
je 0x4f0f6a
lea eax, [ebp - 0x200]
push eax
call fcn.00503de0
add esp, 4
mov dword [ebp - 0x20], 0
jmp 0x4f0f9a
push 0x5a9fcc
push 0x13cb5
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
xor esi, esi
call fcn.00481fc0
add esp, 0x14
mov dword [ebp - 0x20], 0xb
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov eax, dword [ebp - 0x20]
and cl, 1
test eax, eax
jne 0x4ef1b5
lea eax, [esi + 1]
neg esi
test cl, cl
cmove esi, eax
test esi, esi
jg 0x4ed223
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1710
mov edx, dword [ebp - 0x1c]
mov edi, eax
mov eax, 1
add esp, 8
mov word [edi + 8], ax
mov ecx, dword [edx + 0xbc]
inc ecx
cmp dword [edx + 0xb0], ecx
jg 0x4f3217
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xac], 0
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ecx, eax
shl ecx, 4
mov dword [ebp - 0x64], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x44], ecx
mov esi, dword [ecx + eax + 4]
cmp byte [esi + 9], 0
je 0x4f103c
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x4f103c
push esi
call fcn.0048d760
add esp, 4
lea eax, [ebp - 0xac]
push eax
push ebx
push esi
call fcn.0048d040
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp byte [esi + 9], 0
je 0x4f1065
add dword [esi + 0xc], 0xffffffff
jne 0x4f1065
push esi
call fcn.00501d50
add esp, 4
mov esi, dword [ebp - 0xac]
mov eax, 4
mov word [edi + 8], ax
mov eax, esi
cdq
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], edx
test eax, eax
jne 0x4ef1b5
test esi, esi
je 0x4ed5b2
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x44]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x10]
mov ecx, dword [edi + ebx + 0xc]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4f10c5
nop dword [eax]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], esi
jne 0x4f10bb
mov dword [ecx + 0x1c], edx
mov eax, dword [eax]
test eax, eax
jne 0x4f10b0
mov ecx, dword [edi + ebx + 0xc]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4f10e1
nop dword [eax]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x2c], esi
jne 0x4f10db
mov dword [ecx + 0x2c], edx
mov eax, dword [eax]
test eax, eax
jne 0x4f10d0
mov al, byte [ebp - 0x64]
mov edi, dword [ebp - 0x1c]
inc al
mov esi, dword [ebp - 0x14]
mov byte [ebp - 0x69], al
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xb0]
xor ecx, ecx
mov dword [ebp - 0xb0], 0
cmp dword [edx + 0xc], ecx
cmove eax, ecx
mov ecx, dword [edx + 8]
push eax
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [edx + 4]
push dword [eax + ecx*8 + 4]
call fcn.004c2f40
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [esi + 0xc], 0
je 0x4f115d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xb0]
add dword [edx + 0x2c], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x4f115a
mov ebx, dword [ebp - 0x30]
lea ecx, [ecx + ecx*4]
cdq
add dword [ebx + ecx*8], eax
adc dword [ebx + ecx*8 + 4], edx
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4ef1b8
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 1
jne 0x4f119e
push dword [eax + 0x28]
push edi
call fcn.004f70a0
mov esi, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [eax + 0x28]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.004c2f40
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1710
mov esi, eax
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push dword [eax + 0xc]
shl ecx, 4
lea eax, [ebp - 0xb4]
add ecx, dword [edi + 0x10]
push eax
push dword [ecx + 4]
call fcn.004c36e0
add esp, 0x14
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
mov eax, dword [ebp - 0xb4]
cdq
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], edx
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
inc byte [edi + 0x5a]
push 0
push 0
push 0
push dword [edx + 0x10]
push edi
call fcn.00476340
dec byte [edi + 0x5a]
add esp, 0x14
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x10]
mov esi, dword [edx + 4]
test ecx, ecx
jne 0x4f12a5
mov eax, dword [edi + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.004e5760
mov eax, dword [ebp - 0x18]
and dword [edi + 0x18], 0xffffffef
add eax, 0x7c
push 1
push eax
push esi
push edi
call fcn.004d9f80
mov edx, dword [ebp - 0x18]
add esp, 0x14
or dword [edi + 0x18], 1
mov dword [ebp - 0x20], eax
and dword [edx + 0x98], 0xfffffffc
jmp 0x4f1360
mov eax, dword [ebp - 0x18]
add eax, 0x7c
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], eax
add esi, esi
mov eax, dword [edi + 0x10]
push ecx
push str.sqlite_master
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x118], 0
push dword [eax + esi*8]
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s_ORDER_BY_rowid
push edi
call fcn.004dcf20
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4f3230
push 0
lea eax, [ebp - 0x128]
mov byte [edi + 0xa5], 1
push eax
push fcn.004d9d60
push esi
push edi
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x114], 0
call fcn.00476340
add esp, 0x14
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f134c
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f134c
cmp dword [ebp - 0x114], eax
jne 0x4f134c
push 0x15d36
call fcn.004c7d00
add esp, 4
mov dword [ebp - 0x20], eax
push esi
push edi
call fcn.004c92c0
mov eax, dword [ebp - 0x20]
add esp, 8
mov byte [edi + 0xa5], 0
test eax, eax
jne 0x4f3237
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
push dword [edx + 4]
push edi
call fcn.004c1090
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
push 0
mov eax, dword [edx + 4]
push dword [edx + 0x10]
shl eax, 4
add eax, dword [edi + 0x10]
mov eax, dword [eax + 0xc]
add eax, 8
push eax
call fcn.004d9030
add esp, 0xc
test eax, eax
je 0x4f13db
cmp dword [edi + 0x1e8], 0
jne 0x4f13d1
add dword [eax + 0x20], 0xffffffff
jne 0x4f13db
push eax
push edi
call fcn.00493f40
add esp, 8
or dword [edi + 0x18], 1
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x10]
push 0
mov ecx, dword [edx + 4]
push dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
add eax, 0x18
push eax
call fcn.004d9030
mov edx, eax
add esp, 0xc
test edx, edx
je 0x4f13db
mov esi, dword [edx + 0xc]
mov ecx, dword [esi + 8]
cmp ecx, edx
jne 0x4f143f
mov eax, dword [edx + 0x14]
push edx
push edi
mov dword [esi + 8], eax
call fcn.004d1b20
mov esi, dword [ebp - 0x14]
add esp, 8
or dword [edi + 0x18], 1
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
test ecx, ecx
je 0x4f1472
mov eax, dword [ecx + 0x14]
cmp eax, edx
je 0x4f146c
mov ecx, eax
test ecx, ecx
jne 0x4f1443
push edx
push edi
call fcn.004d1b20
mov esi, dword [ebp - 0x14]
add esp, 8
or dword [edi + 0x18], 1
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
push edx
push edi
call fcn.004d1b20
mov esi, dword [ebp - 0x14]
add esp, 8
or dword [edi + 0x18], 1
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.004ea0c0
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
lea esi, [eax + eax*4]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebx + esi*8]
inc eax
push eax
push dword [edx + 8]
lea eax, [ecx + 4]
movzx ecx, word [edx + 2]
push eax
mov eax, dword [ebp - 0x1c]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8 + 4]
call fcn.004c40f0
push edi
mov ebx, eax
call fcn.004f5670
mov eax, dword [ebp - 0xf8]
add esp, 0x18
test eax, eax
je 0x4f152a
test ebx, ebx
je 0x4f32ba
mov ecx, dword [ebp - 0x30]
dec eax
push fcn.00478440
push 1
cdq
sub dword [ecx + esi*8], eax
push 0xffffffffffffffff
sbb dword [ecx + esi*8 + 4], edx
push ebx
push edi
call fcn.004f5770
add esp, 0x14
movzx eax, byte [ebp - 0x5c]
push eax
push edi
call fcn.004ec900
mov edi, dword [ebp - 0x1c]
add esp, 8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x10
lea esi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea edi, [eax + eax*4]
jne 0x4f1576
push esi
call fcn.004f56a0
add esp, 4
test eax, eax
jne 0x4f32ba
push dword [ebx + edi*8 + 4]
push dword [ebx + edi*8]
push dword [esi + 0x10]
call fcn.004e4640
add esp, 0xc
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea edi, [ecx + eax*8]
je 0x4f1619
mov esi, dword [edi + 0x10]
movzx ecx, word [esi + 0x1a]
test cl, 2
jne 0x4f15db
mov eax, ecx
test cl, 1
jne 0x4f15d4
push dword [esi + 8]
call fcn.004ba770
mov dword [esi + 8], eax
add esp, 4
movzx eax, word [esi + 0x1a]
or eax, 3
mov word [esi + 0x1a], ax
mov eax, dword [esi + 8]
test eax, eax
je 0x4f1619
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
test eax, eax
jne 0x4f15fa
push esi
call fcn.004e4550
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
push ebx
push edi
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004f5630
add esp, 0xc
jmp 0x4f0a9b
push edi
call fcn.004f5670
add esp, 4
jmp 0x4f2aa4
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov ebx, dword [edx + 0x10]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea edi, [eax + eax*4]
jne 0x4f165a
push esi
call fcn.004f56a0
add esp, 4
test eax, eax
jne 0x4f32ba
mov ecx, dword [ebp - 0x30]
test ebx, ebx
je 0x4f167b
push dword [ecx + edi*8 + 4]
push dword [ecx + edi*8]
push ebx
push dword [esi + 0x10]
call fcn.004e46d0
add esp, 0x10
test eax, eax
jne 0x4ed223
test ebx, ebx
js 0x4ed5b2
mov ebx, dword [ebp - 0x30]
jmp 0x4f1576
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 0x44], ebx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
cmp word [eax + 2], 0
je 0x4f16d3
mov eax, dword [edx + 0xc8]
mov ecx, dword [ebx + 0x14]
test eax, eax
je 0x4f16d0
nop word [eax + eax]
cmp dword [eax + 0x1c], ecx
je 0x4ed3dc
mov eax, dword [eax + 4]
test eax, eax
jne 0x4f16c0
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0xd0]
cmp eax, dword [edi + 0x94]
jge 0x4f325a
test byte [ecx + 8], 0x10
jne 0x4f17e9
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
add eax, ecx
test ecx, ecx
lea esi, [eax + 1]
cmovne esi, eax
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, dword [ebx + 4]
add eax, 7
mov eax, eax
test eax, eax
jns 0x4f1717
add eax, 7
sar eax, 3
lea ebx, [eax + ecx*4]
mov eax, ebx
cdq
push edx
push eax
push edi
call fcn.004c93f0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4f32ba
push dword [ebp - 0x34]
call fcn.004f5600
mov eax, dword [ebp - 0x34]
mov ecx, 0x410
add esp, 4
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp - 0x44]
mov word [eax + 8], cx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x2c]
mov dword [eax + 0x10], edi
mov dword [eax + 0x24], 0x4f3fd0
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
mov dword [edi + 0x3c], esi
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x40], eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x18]
mov dword [edi + 0x30], eax
mov eax, dword [edx + 0x58]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x38], eax
mov eax, dword [edx + 0x60]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x2c], eax
mov eax, dword [edx + 0x68]
mov dword [edi + 8], eax
mov eax, dword [edx + 0x6c]
mov dword [edi + 0x34], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
lea eax, [edi + 0x50]
cmp eax, ecx
je 0x4f17e1
mov edx, dword [ebp - 0x1c]
mov esi, 0x80
nop dword [eax]
mov word [eax + 8], si
mov dword [eax + 0x20], edx
add eax, 0x28
cmp eax, ecx
jne 0x4f17d0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xd0]
jmp 0x4f17ec
mov edi, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x1c]
lea esi, [edi + 0x50]
inc eax
mov dword [ebp - 0x30], esi
mov dword [edx + 0xd0], eax
mov eax, dword [edx + 0xc8]
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x24], eax
mov eax, dword [edx + 0x2c]
mov dword [edi + 0x44], eax
mov eax, dword [edx]
mov eax, dword [eax + 0x64]
mov dword [edi + 0x48], eax
mov eax, dword [edx + 0xdc]
mov dword [edi + 0x28], eax
mov dword [edx + 0xdc], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0xc8], edi
mov dword [edx + 0x58], esi
mov ecx, dword [edi + 0x3c]
mov dword [edx + 0x18], ecx
movzx eax, word [edi + 0x40]
mov dword [edx + 0x1c], eax
lea eax, [ecx + ecx*4]
lea ecx, [esi + eax*8]
mov dword [edx + 0x60], ecx
mov eax, dword [ebx + 0xc]
lea ecx, [ecx + eax*4]
mov dword [edi + 0x18], ecx
mov eax, dword [ebx + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call fcn.0054f9f0
mov esi, dword [ebx]
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], esi
lea edi, [esi - 0x14]
mov dword [edx + 0x68], esi
mov eax, dword [ebx + 4]
mov dword [edx + 0x6c], eax
mov dword [ebp - 0x14], edi
jmp 0x4f0a9e
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1710
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.004f59f0
mov esi, dword [ebp - 0x14]
add esp, 0x14
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [edi + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [ebp - 0x14]
je 0x4f1915
mov eax, dword [eax + 8]
mov esi, dword [ebp - 0x14]
cdq
add dword [edi + 0x1e0], eax
mov eax, dword [ebp - 0x24]
adc dword [edi + 0x1e4], edx
add esi, 0x14
jmp 0x4ed1d0
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
cdq
je 0x4f1939
add dword [edi + 0x1d8], eax
mov esi, dword [ebp - 0x14]
adc dword [edi + 0x1dc], edx
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov esi, dword [ebp - 0x18]
add dword [esi + 0x40], eax
mov eax, dword [ebp - 0x24]
adc dword [esi + 0x44], edx
mov esi, dword [ebp - 0x14]
add esi, 0x14
jmp 0x4ed1d0
cmp dword [esi + 4], 0
je 0x4f1985
mov eax, dword [edi + 0x1d8]
or eax, dword [edi + 0x1dc]
jne 0x4ed3df
mov eax, dword [edi + 0x1e0]
or eax, dword [edi + 0x1e4]
je 0x4ed223
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x40]
or eax, dword [ecx + 0x44]
jmp 0x4f1962
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x4f19c1
mov eax, dword [edx + 4]
test eax, eax
je 0x4f19ad
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x4f19a4
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea edi, [eax + ecx*8]
jmp 0x4f19d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
push edi
call fcn.004f5350
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.004f5350
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x4ed5b2
jl 0x4f1a03
cmp dword [edi], eax
jae 0x4ed5b2
mov esi, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 4], ecx
mov edi, dword [ebp - 0x1c]
add esi, 0x14
jmp 0x4ed1d0
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
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 0x4ed5b2
jg 0x4f1a3e
test ecx, ecx
je 0x4ed5b2
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 0x4ed223
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.004b1710
mov edx, dword [ebp - 0x30]
add esp, 8
mov edi, eax
mov ecx, dword [edx + esi*8 + 4]
mov eax, dword [edx + esi*8]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], ecx
test ecx, ecx
jl 0x4f1ae8
jg 0x4f1a92
test eax, eax
je 0x4f1ae8
mov ecx, dword [edx + ebx*8 + 4]
mov eax, dword [edx + ebx*8]
test ecx, ecx
jl 0x4f1aa3
jg 0x4f1ab1
test eax, eax
jne 0x4f1ab1
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
push ecx
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.004c0280
add esp, 0xc
test eax, eax
jne 0x4f1ae8
mov eax, dword [ebp - 0xdc]
mov esi, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0xd8]
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov edi, dword [ebp - 0x1c]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
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 0x4ed3dc
test edx, edx
jl 0x4ed223
jg 0x4f1b35
test ecx, ecx
je 0x4ed223
sub ecx, 1
mov dword [ebx + esi*8], ecx
sbb edx, 0
jmp 0x4ed21f
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
lea edx, [eax + eax*4]
mov ecx, dword [ebx + edx*8 + 4]
mov eax, dword [ebx + edx*8]
cmp ecx, 0x80000000
jl 0x4f1b71
jg 0x4f1b64
test eax, eax
je 0x4f1b71
sub eax, 1
mov dword [ebx + edx*8], eax
sbb ecx, 0
mov dword [ebx + edx*8 + 4], ecx
or eax, ecx
je 0x4ed223
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x44]
push eax
push edi
call fcn.004c9310
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4f32bd
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 edi, dword [ebp - 0x14]
mov dword [ecx + 0x18], 0
mov ecx, edi
sub ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x10]
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 dword [esi + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xc], eax
mov word [edi], 0xf09b
mov dword [edi + 0x10], esi
jmp 0x4f1c10
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp - 0x30]
mov esi, dword [edi + 0x10]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov dword [ebp - 0x44], edi
cmp dword [esi + 8], edi
je 0x4f1c59
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 8], edi
js 0x4f1c59
mov edi, dword [ebp - 0x14]
lea edx, [ecx + 7]
lea edx, [esi + edx*4]
nop dword [eax]
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 0x4f1c40
mov edi, dword [ebp - 0x44]
inc dword [edi + 0xc]
lea eax, [esi + 0x1c]
mov edi, dword [ebp - 0x14]
movzx edx, byte [esi + 0x19]
mov ecx, dword [esi + 4]
push eax
cmp dword [edi + 4], 0
push edx
push esi
je 0x4f1c77
mov eax, dword [ecx + 0x1c]
jmp 0x4f1c7a
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x4ed5b2
jle 0x4f1caa
push dword [esi]
call fcn.0047c4d0
push eax
push 0x59a478
push dword [ebp - 0x18]
call fcn.004ed090
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp byte [esi + 0x18], 0
je 0x4f1cce
mov eax, dword [edi - 0x10]
test eax, eax
je 0x4f1cca
push 0
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push 1
push eax
call fcn.004f5630
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.004f5600
mov eax, dword [esi]
mov ecx, 1
mov edi, dword [ebp - 0x1c]
add esp, 4
mov word [eax + 8], cx
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x14], 0
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4f1dba
mov ebx, dword [edx + 0x10]
lea eax, [eax + eax*4]
xorps xmm0, xmm0
lea edi, [ecx + eax*8]
mov eax, dword [esi + 0x20]
mov ecx, 1
movq qword [ebp - 0x2c0], xmm0
mov dword [ebp - 0x2c0], eax
mov eax, 0x2400
movups xmmword [ebp - 0x2e0], xmm0
mov word [ebp - 0x2d8], cx
movups xmmword [ebp - 0x220], xmm0
movups xmmword [ebp - 0x210], xmm0
movups xmmword [ebp - 0x2d0], xmm0
test word [edi + 8], ax
je 0x4f1d7b
push edi
call fcn.00503e80
add esp, 4
jmp 0x4f1d7f
mov word [edi + 8], cx
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], edi
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], ebx
call eax
mov eax, dword [ebp - 0x14]
add esp, 4
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20c]
mov edi, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
jmp 0x4f1dc8
push dword [edx + 0x10]
push esi
call fcn.004f5090
add esp, 8
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x4f3272
movzx eax, byte [ebp - 0x5c]
push eax
push esi
call fcn.004ec900
push esi
call fcn.004f5b10
add esp, 0xc
test eax, eax
je 0x4ed3dc
push str.string_or_blob_too_big
push dword [ebp - 0x18]
call fcn.004ed090
add esp, 8
mov eax, 0x12
jmp 0x4ef1b5
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.004c5e60
add esp, 0x14
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4f1e56
cmp eax, 5
jne 0x4ef1b8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x14]
xor esi, esi
mov ecx, dword [ebp - 0x30]
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.004f5630
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x4f1e67
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov ebx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x18]
call fcn.004b1710
mov edx, dword [ebx + 4]
add esp, 8
mov ecx, dword [edi + 0x10]
mov esi, dword [ebx + 0xc]
shl edx, 4
cmp esi, 0xffffffff
mov dword [ebp - 0x64], eax
mov eax, dword [edx + ecx + 4]
mov dword [ebp - 0x44], eax
mov ecx, dword [eax + 4]
mov edi, dword [ecx]
movzx ebx, byte [edi + 5]
mov ecx, ebx
cmovne ecx, esi
cmp byte [edi + 0x10], 3
jb 0x4f1ed1
xor eax, eax
jmp 0x4f1ef0
mov eax, dword [edi + 0x40]
cmp dword [eax], 0
je 0x4f1eeb
cmp dword [edi + 0x4c], 0
jl 0x4f1eeb
jg 0x4f1ee7
cmp dword [edi + 0x48], 0
jbe 0x4f1eeb
xor eax, eax
jmp 0x4f1ef0
mov eax, 1
test eax, eax
mov esi, ebx
mov eax, 0x5907a8
cmovne esi, ecx
cmp byte [edi + 0xf], 0
jne 0x4f1f08
mov eax, dword [edi + 0xa8]
cmp esi, 5
jne 0x4f1f2e
push eax
call fcn.004e98c0
add esp, 4
test eax, eax
je 0x4f1f27
push edi
call fcn.004df4d0
add esp, 4
test eax, eax
jne 0x4f1f2e
mov eax, ebx
jmp 0x4f20b4
mov eax, esi
cmp esi, ebx
je 0x4f20b4
cmp ebx, 5
je 0x4f1f46
cmp esi, 5
jne 0x4f20b4
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x4f], 0
je 0x4f3291
cmp dword [eax + 0xb0], 1
jg 0x4f3291
cmp ebx, 5
jne 0x4f2081
cmp dword [edi + 0xe8], 0
mov dword [ebp - 0x20], 0
jne 0x4f2019
mov al, byte [edi + 0x11]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x20], 0
cmp al, 1
jb 0x4f1f99
cmp al, bl
jne 0x4f1fc9
cmp byte [edi + 0xd], 0
je 0x4f1fa8
mov dword [ebp - 0x20], 0
jmp 0x4f1fbf
mov eax, dword [edi + 0x3c]
push 1
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x1c]
call eax
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f1fc9
cmp byte [edi + 0x11], 5
je 0x4f1fc9
mov byte [edi + 0x11], 1
cmp dword [ebp - 0x20], 0
jne 0x4f2075
mov eax, dword [edi]
lea ecx, [ebp - 0xb8]
push ecx
push 0
push dword [edi + 0xec]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f2075
cmp dword [ebp - 0xb8], eax
je 0x4f2010
push edi
call fcn.004b2270
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f2075
cmp dword [edi + 0xe8], 0
je 0x4f2075
push edi
call fcn.004b1f60
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f2075
push dword [edi + 0xe0]
movzx eax, byte [edi + 0xb]
push dword [edi + 0x98]
push eax
push dword [ebp - 0x1c]
push dword [edi + 0xe8]
call fcn.004f86b0
push edi
mov dword [ebp - 0x20], eax
mov dword [edi + 0xe8], 0
call fcn.004b1fe0
add esp, 0x18
cmp dword [ebp - 0x20], 0
je 0x4f2075
cmp byte [edi + 4], 0
jne 0x4f2075
push 1
push edi
call fcn.004b2a90
add esp, 8
mov ecx, dword [ebp - 0x20]
mov eax, esi
test ecx, ecx
jne 0x4f20b9
push esi
jmp 0x4f2088
cmp ebx, 4
jne 0x4f2091
push 2
push edi
call fcn.004ded10
add esp, 8
mov ecx, dword [ebp - 0x20]
mov eax, esi
test ecx, ecx
jne 0x4f20b9
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [ebp - 0x44]
call fcn.004c5a90
mov dword [ebp - 0x20], eax
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0x20]
test ecx, ecx
cmove ebx, eax
push ebx
push edi
call fcn.004ded10
mov ebx, dword [ebp - 0x64]
add esp, 8
mov ecx, 0xa02
mov word [ebx + 8], cx
cmp eax, 6
jne 0x4f20db
xor eax, eax
jmp 0x4f20e2
mov eax, dword [eax*4 + 0x59e8c8]
push eax
mov dword [ebx + 0x10], eax
call fcn.004e98c0
mov dword [ebx + 0xc], eax
movzx eax, byte [ebp - 0x5c]
push eax
push ebx
mov byte [ebx + 0xa], 1
call fcn.004ec900
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov edi, dword [ebp - 0x1c]
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
test eax, eax
je 0x4f2131
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
jmp 0x4f2133
xor eax, eax
push eax
push dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x7c
push edi
push eax
call fcn.004e51f0
add esp, 0x10
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
add ecx, ecx
mov edi, dword [eax + ecx*8 + 4]
cmp byte [edi + 9], 0
mov ebx, dword [edi + 4]
je 0x4f218a
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x4f218a
push edi
call fcn.0048d760
add esp, 4
cmp byte [ebx + 0x11], 0
je 0x4f2241
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0x4c], ecx
mov eax, dword [eax + 0x38]
mov esi, dword [eax + 0x24]
bswap esi
push esi
push ecx
push ebx
call fcn.00497770
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x4c], eax
jae 0x4f21df
push 0x5a9fcc
push 0x105ff
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00481fc0
add esp, 0x14
mov dword [ebp - 0x20], 0xb
jmp 0x4f2248
test esi, esi
je 0x4f2241
mov eax, dword [ebx + 8]
test eax, eax
je 0x4f2200
push 0
push 0
push eax
call fcn.004bd280
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4f2248
push ebx
call fcn.004abf10
push 0
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
push ebx
call fcn.004ab900
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x4f2248
mov eax, dword [ebx + 0xc]
push dword [eax + 0x48]
call fcn.004df500
mov ecx, dword [ebx + 0x30]
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xc]
bswap ecx
mov eax, dword [eax + 0x38]
mov dword [eax + 0x1c], ecx
jmp 0x4f2248
mov dword [ebp - 0x20], 0x65
cmp byte [edi + 9], 0
je 0x4f225d
add dword [edi + 0xc], 0xffffffff
jne 0x4f225d
push edi
call fcn.00501d50
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4ed5b2
cmp eax, 0x65
jne 0x4ef1b5
mov dword [ebp - 0x20], 0
jmp 0x4ed223
cmp dword [esi + 4], 0
jne 0x4f229a
push dword [esi + 8]
push edi
call fcn.004cb110
mov eax, dword [ebp - 0x24]
add esp, 8
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 8]
inc eax
xor eax, dword [edx + 0x98]
and eax, 3
xor dword [edx + 0x98], eax
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov ebx, dword [ebp - 0x14]
mov bl, byte [ebx + 0xc]
test bl, bl
jne 0x4f22d6
mov eax, dword [edi + 0x20]
and eax, 0x400
mov dword [ebp - 0x48], eax
jne 0x4ed3dc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 8]
add ecx, ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + ecx*8 + 4]
xor eax, eax
mov dword [ebp - 0x20], eax
cmp byte [esi + 9], al
je 0x4f2399
inc dword [esi + 0xc]
inc bl
mov byte [ebp - 0x9c], bl
cmp byte [esi + 0xa], al
jne 0x4f2312
push esi
call fcn.0048d760
add esp, 4
push dword [ebp - 0x9c]
push edi
push esi
call fcn.004b6df0
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f2381
mov eax, dword [esi + 4]
mov dword [ebp - 0x44], eax
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x4f2346
cmp dword [ecx + 4], edi
jne 0x4f233f
cmp dword [ecx], esi
je 0x4f236f
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4f2336
push 0
push 0x10
call fcn.004dcf40
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4f23c7
mov edx, dword [ebp - 0x44]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 4], edi
mov dword [ecx], esi
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0xc], eax
mov dword [edx + 0x4c], ecx
cmp bl, byte [ecx + 8]
jbe 0x4f2377
mov byte [ecx + 8], bl
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
cmp byte [esi + 9], 0
je 0x4f2399
add dword [esi + 0xc], 0xffffffff
jne 0x4f2399
push esi
call fcn.00501d50
mov eax, dword [ebp - 0x20]
add esp, 4
test eax, eax
je 0x4f1588
cmp al, 6
jne 0x4ef1b5
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
push str.database_table_is_locked:__s
push dword [ebp - 0x18]
call fcn.004ed090
mov eax, dword [ebp - 0x20]
add esp, 0xc
jmp 0x4ef1b5
mov dword [ebp - 0x20], 7
mov eax, 7
jmp 0x4f2381
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov esi, dword [edx + 0x10]
mov edx, dword [edi + 0x154]
test edx, edx
jle 0x4f2401
cmp dword [edi + 0x16c], 0
jne 0x4f2401
mov dword [ebp - 0x20], 6
jmp 0x4f24ab
test esi, esi
jne 0x4f2415
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
add esi, 0x14
jmp 0x4ed1d0
mov eax, dword [esi + 8]
mov edi, dword [eax]
cmp dword [edi + 0x38], 0
je 0x4f24a8
mov ebx, dword [ebp - 0x1c]
xor ecx, ecx
test edx, edx
jle 0x4f2443
mov eax, dword [ebx + 0x16c]
cmp dword [eax], esi
je 0x4f24d6
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4f2433
push ebx
call fcn.004ab2b0
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f24a8
push dword [esi + 8]
mov eax, dword [edi + 0x38]
call eax
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f24a8
mov ecx, dword [ebx + 0x154]
mov eax, dword [ebx + 0x16c]
mov edx, dword [ebx + 0x1d0]
add edx, dword [ebx + 0x1cc]
mov dword [eax + ecx*4], esi
inc dword [ebx + 0x154]
inc dword [esi + 0xc]
test edx, edx
je 0x4f24a8
cmp dword [edi + 0x50], 0
je 0x4f24a8
lea eax, [edx - 1]
mov dword [esi + 0x14], edx
push eax
push dword [esi + 8]
mov eax, dword [edi + 0x50]
call eax
add esp, 8
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x1c]
test esi, esi
je 0x4f24bd
push dword [esi + 8]
push dword [ebp - 0x18]
call fcn.004f7e00
add esp, 8
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov dword [ebp - 0x20], 0
mov edi, ebx
jmp 0x4f24ab
mov edx, dword [ebp - 0x14]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x30]
movq qword [ebp - 0x178], xmm0
movups xmmword [ebp - 0x198], xmm0
mov eax, dword [edx + 8]
movups xmmword [ebp - 0x188], xmm0
mov dword [ebp - 0x178], edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004f4fc0
mov dword [ebp - 0x20], eax
add esp, 8
mov eax, dword [ebp - 0x190]
and eax, 0x202
cmp eax, 0x202
jne 0x4f2545
cmp byte [ebp - 0x18e], 1
jne 0x4f2545
mov edx, dword [ebp - 0x188]
jmp 0x4f2565
test byte [ebp - 0x190], 1
jne 0x4f2634
lea eax, [ebp - 0x198]
push 1
push eax
call fcn.00502eb0
add esp, 8
mov edx, eax
test edx, edx
je 0x4f2634
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
add esi, 0x7c
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8]
push edx
push edi
call fcn.004d0070
mov ebx, eax
push 0
mov ecx, dword [ebx + 0x3c]
mov edi, dword [ecx]
mov ecx, dword [ebp - 0x1c]
add ecx, 0x158
push edi
push ecx
call fcn.00497aa0
add esp, 0x18
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4f2619
mov eax, dword [ecx]
mov edx, dword [eax + 4]
test edx, edx
je 0x4f2619
cmp dword [eax + 0x14], 0
je 0x4f2619
mov edi, dword [ebp - 0x1c]
push esi
push edx
push ecx
push ebx
push edi
call fcn.005064a0
add esp, 0x14
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f2634
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4f2634
cmp dword [eax], edi
je 0x4f25e5
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4f25d8
jmp 0x4f2634
push edi
call fcn.004ab2b0
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f2634
push ebx
push edi
call fcn.004d8c90
mov edx, dword [edi + 0x154]
add esp, 8
mov ecx, dword [edi + 0x16c]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x154]
inc dword [eax + 0xc]
jmp 0x4f2634
push edi
mov edi, dword [ebp - 0x1c]
push str.no_such_module:__s
push edi
call fcn.004dcf20
add esp, 0xc
mov dword [esi], eax
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x198]
push eax
call fcn.004f5600
mov eax, dword [ebp - 0x20]
add esp, 4
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
inc dword [edi + 0xbc]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x20], 0
mov ecx, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
push dword [edx + 0x10]
push edi
call fcn.004d0070
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4f26ff
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x4f26f0
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
jg 0x4f26f5
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x4f2694
push edi
push dword [ebp - 0x1c]
call fcn.005069e0
mov esi, eax
mov ecx, dword [esi + 4]
push dword [esi + 8]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x14]
call ecx
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4f2701
mov dword [esi + 8], eax
mov dword [edi + 0x40], eax
add dword [esi + 0xc], 0xffffffff
mov edi, dword [esi]
jne 0x4f2701
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4f26e6
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 0x10]
call eax
add esp, 4
push esi
push edi
call fcn.004c9260
add esp, 8
mov eax, dword [ebp - 0x20]
jmp 0x4f2701
mov eax, 6
mov dword [ebp - 0x20], eax
jmp 0x4f2701
xor eax, eax
mov edi, dword [ebp - 0x1c]
dec dword [edi + 0xbc]
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x94], 0
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x4f32ea
mov edi, dword [esi]
test edi, edi
je 0x4f32e7
lea eax, [ebp - 0x94]
push eax
mov eax, dword [edi + 0x18]
push esi
call eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.004f7e00
mov eax, dword [ebp - 0x20]
add esp, 0x10
test eax, eax
jne 0x4ef1b5
mov eax, dword [ebp - 0x94]
push 2
push 0xffffffffffffffff
push 0
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
push dword [ebp - 0x18]
call fcn.00489260
add esp, 0x14
test eax, eax
je 0x4f32ac
mov ecx, dword [ebp - 0x94]
mov edi, dword [ebp - 0x1c]
mov dword [eax + 0x28], ecx
inc dword [esi + 4]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
add ebx, 0x28
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edi, dword [ebp - 0x18]
lea edx, [eax + eax*4]
mov esi, dword [ebx + edx*8]
lea ebx, [ebx + edx*8]
mov eax, dword [edi + 0x60]
mov edi, dword [edi + 0x5c]
movd xmm0, ebx
mov dword [ebp - 0x44], ebx
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x60], eax
pshufd xmm3, xmm0, 0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + edx*8]
mov dword [ebp - 0x64], edx
test esi, esi
jle 0x4f28ed
cmp esi, 0x10
jb 0x4f28d5
cmp dword [0x5dd954], 2
jl 0x4f28d5
movaps xmm2, xmmword [0x5aa130]
mov eax, esi
and eax, 0x8000000f
jns 0x4f2831
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm1, xmmword [str.____PPPP]
lea edx, [edi + 0x20]
mov ebx, esi
sub ebx, eax
nop
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
lea edx, [edx + 0x40]
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx - 0x60], xmm0
movd xmm0, eax
lea eax, [ecx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, eax
lea eax, [ecx + 0xc]
pshufd xmm0, xmm0, 0
add ecx, 0x10
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
cmp ecx, ebx
jl 0x4f2840
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x64]
cmp ecx, esi
jge 0x4f28ed
lea eax, [ecx + 1]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edi + ecx*4], eax
inc ecx
add eax, 0x28
cmp ecx, esi
jl 0x4f28e2
mov eax, dword [ebp - 0x14]
push edi
mov edi, dword [ebp - 0x34]
push esi
push dword [eax + 0x10]
mov esi, dword [ebp - 0x4c]
mov eax, dword [edi + 0x20]
push edx
push esi
call eax
push dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x18]
call fcn.004f7e00
mov eax, dword [ebp - 0x20]
add esp, 0x1c
test eax, eax
jne 0x4ef1b5
mov eax, dword [edi + 0x28]
push esi
call eax
mov ecx, dword [ebp - 0x60]
add esp, 4
mov byte [ecx + 2], 0
test eax, eax
je 0x4ed5b2
jmp 0x4ed223
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x30]
cmp byte [edi + 2], 0
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
je 0x4f2976
push esi
call fcn.004f5670
mov edi, dword [ebp - 0x1c]
add esp, 4
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
test byte [edx + 2], 1
xorps xmm0, xmm0
mov eax, dword [edi + 0x28]
mov ebx, dword [eax]
mov eax, dword [ebx]
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x44], eax
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x240], esi
je 0x4f29b6
push esi
call fcn.004f5670
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [esi], 0
mov eax, 0x4001
jmp 0x4f29c9
mov ax, word [esi + 8]
mov ecx, 0x3e20
and ax, cx
or ax, 1
movzx eax, ax
mov word [esi + 8], ax
lea eax, [ebp - 0x240]
push dword [edx + 8]
push eax
mov eax, dword [ebp - 0x44]
push dword [edi + 0x28]
mov eax, dword [eax + 0x2c]
call eax
mov edi, dword [ebp - 0x18]
push ebx
push edi
mov dword [ebp - 0x20], eax
call fcn.004f7e00
add esp, 0x14
cmp dword [ebp - 0x22c], 0
jle 0x4f2a19
push esi
call fcn.0047c4d0
push eax
push 0x59a478
push edi
call fcn.004ed090
mov eax, dword [ebp - 0x22c]
add esp, 0x10
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x5c]
push eax
push esi
call fcn.004ec900
push esi
call fcn.004f5b10
add esp, 0xc
test eax, eax
jne 0x4f1def
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
cmp byte [edi + 2], 0
jne 0x4ed5b2
mov eax, dword [edi + 0x28]
push eax
mov esi, dword [eax]
mov ebx, dword [esi]
mov eax, dword [ebx + 0x24]
call eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.004f7e00
mov eax, dword [ebp - 0x20]
add esp, 0xc
test eax, eax
jne 0x4ef1b5
push dword [edi + 0x28]
mov eax, dword [ebx + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x4f0a9b
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jmp 0x4f0aa1
mov ecx, dword [ebp - 0x1c]
mov edi, dword [edi + 0x20]
push 1
and edi, 0x4000000
or dword [ecx + 0x20], 0x4000000
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
mov esi, dword [eax + 8]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
push ebx
call fcn.004ec900
add esp, 8
test eax, eax
jne 0x4ef1b5
mov eax, dword [esi]
push dword [ebx + 0x10]
push esi
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
mov dword [ebp - 0x20], eax
test edi, edi
mov edi, dword [ebp - 0x1c]
jne 0x4f2b2a
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfbffffff
mov dword [edi + 0x24], eax
push esi
push dword [ebp - 0x18]
call fcn.004f7e00
mov eax, dword [ebp - 0x18]
add esp, 8
and dword [eax + 0x98], 0xfffffffc
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
cmp byte [edi + 0x51], 0
jne 0x4f32bd
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov edi, dword [eax + 8]
test edi, edi
je 0x4f32f4
mov ebx, dword [edi]
test ebx, ebx
je 0x4f32f4
cmp dword [ebx + 0x34], 0
mov edx, dword [edx + 8]
je 0x4ed5b2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov al, byte [eax + 0x56]
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x5c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
xor eax, eax
test edx, edx
jle 0x4f2bbb
nop
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x4f2bb0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov al, byte [eax + 2]
mov byte [ecx + 0x56], al
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebx + 0x34]
push esi
push edx
push edi
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov al, byte [ebp - 0x35]
push edi
push dword [ebp - 0x18]
mov byte [ecx + 0x56], al
call fcn.004f7e00
mov eax, dword [ebp - 0x20]
add esp, 0x18
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
test eax, eax
jne 0x4f2c15
cmp dword [ecx + 4], eax
je 0x4f2c15
mov eax, dword [ebp - 0x110]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x10c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x20]
cmp al, 0x13
jne 0x4f2c57
mov eax, dword [ecx + 0x10]
cmp byte [eax + 0x10], 0
je 0x4f2c57
movzx ecx, word [ecx + 2]
cmp ecx, 4
jne 0x4f2c3e
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
add esi, 0x14
jmp 0x4ed1d0
movzx eax, cl
cmp ecx, 5
mov ecx, 2
cmove eax, ecx
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x92], al
jmp 0x4f2c5d
mov eax, dword [ebp - 0x18]
inc dword [eax + 0x2c]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4ef1b8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1710
mov ecx, dword [ebp - 0x14]
add esp, 8
mov esi, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0x10]
shl edx, 4
mov ecx, dword [edx + ecx + 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x30]
mov dword [eax], ecx
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1710
mov ecx, dword [edi + 0x10]
mov ebx, eax
mov eax, dword [ebp - 0x14]
add esp, 8
xor edi, edi
mov edx, dword [eax + 4]
add edx, edx
mov esi, dword [ecx + edx*8 + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4f2ce4
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x30]
cmp edi, ecx
cmovb edi, ecx
cmp byte [esi + 9], 0
je 0x4f2cfc
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x4f2cfc
push esi
call fcn.0048d760
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax]
test edi, edi
jle 0x4f2d0d
mov dword [eax + 0x9c], edi
jmp 0x4f2d13
mov edi, dword [eax + 0x9c]
cmp byte [esi + 9], 0
je 0x4f2d28
add dword [esi + 0xc], 0xffffffff
jne 0x4f2d28
push esi
call fcn.00501d50
add esp, 4
mov esi, dword [ebp - 0x14]
mov eax, edi
mov edi, dword [ebp - 0x1c]
cdq
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], edx
add esi, 0x14
jmp 0x4ed1d0
mov edx, dword [ebp - 0x14]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x1c]
push eax
push edi
call fcn.004c9310
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4f32bd
mov edi, dword [ebp - 0x14]
mov eax, 0x66666667
mov dword [esi], 0
mov ecx, dword [edi + 0x10]
mov dword [esi + 4], ecx
mov ecx, edi
sub ecx, dword [ebp - 0x2c]
imul ecx
mov dword [esi + 0x14], 0
sar edx, 3
mov eax, edx
mov byte [esi + 0x19], bl
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xc], eax
add byte [edi], 2
mov byte [edi + 1], 0xf0
mov dword [edi + 0x10], esi
jmp 0x4f2dac
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp - 0x30]
mov esi, dword [edi + 0x10]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov dword [ebp - 0x44], edi
cmp dword [esi], edi
je 0x4f2dee
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi], edi
js 0x4f2dee
mov edi, dword [ebp - 0x14]
lea edx, [ecx + 7]
lea edx, [esi + edx*4]
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 0x4f2dd6
mov edi, dword [ebp - 0x44]
mov ax, word [edi + 8]
mov ecx, 0x3e20
and ax, cx
or ax, 1
mov word [edi + 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 0x4f2e6c
jle 0x4f2e3d
push edi
call fcn.0047c4d0
push eax
push 0x59a478
push dword [ebp - 0x18]
call fcn.004ed090
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 dword [ebp - 0x1c]
call fcn.004ecee0
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov dword [esi + 0x14], 0
test eax, eax
jne 0x4ef1b5
test byte [edi + 8], 0x12
je 0x4ed5b2
movzx eax, byte [ebp - 0x5c]
push eax
push edi
call fcn.004ec900
push edi
call fcn.004f5b10
add esp, 0xc
test eax, eax
jne 0x4f1def
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4ed1d0
mov cl, byte [edi + 0x58]
test cl, 0x41
je 0x4f2f52
mov edx, dword [ebp - 0x18]
test byte [edx + 0x98], 0x10
jne 0x4f2f52
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4f2ed4
mov eax, dword [edx + 0xc0]
test eax, eax
je 0x4f2f52
push eax
test cl, 0x40
je 0x4f2f05
mov edi, dword [edi + 0xc8]
push edx
call fcn.004f3980
mov esi, eax
mov eax, dword [ebp - 0x1c]
push esi
push dword [eax + 0xcc]
call edi
push esi
call fcn.00478440
mov edi, dword [ebp - 0x1c]
add esp, 0x14
mov esi, dword [ebp - 0x14]
jmp 0x4f2f52
cmp dword [edi + 0xb8], 1
jle 0x4f2f3e
push str.____s
push edi
call fcn.004dcf20
mov ecx, dword [edi + 0xc8]
mov esi, eax
push esi
push dword [ebp - 0x18]
push dword [edi + 0xcc]
push 1
call ecx
push esi
push edi
call fcn.004c9260
mov esi, dword [ebp - 0x14]
add esp, 0x24
jmp 0x4f2f52
mov eax, dword [edi + 0xc8]
push edx
push dword [edi + 0xcc]
push 1
call eax
add esp, 0x10
mov eax, dword [esi + 4]
cmp eax, dword [0x5d2450]
jl 0x4f2fae
cmp byte [esi], 0xa8
je 0x4ed3df
mov esi, dword [ebp - 0x18]
mov edx, 1
cmp dword [esi + 0x6c], edx
jle 0x4f2f9a
mov eax, 0x14
nop dword [eax + eax]
mov ecx, dword [esi + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x4f2f91
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [esi + 0x6c]
jl 0x4f2f80
mov edi, dword [ebp - 0x14]
xor eax, eax
inc eax
mov dword [edi + 4], eax
inc dword [esi + 0xbc]
jmp 0x4ed226
mov edi, dword [ebp - 0x14]
inc eax
mov esi, dword [ebp - 0x18]
mov dword [edi + 4], eax
inc dword [esi + 0xbc]
jmp 0x4ed226
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x28], ecx
mov al, byte [edx + 8]
mov byte [ebx + 0x92], al
mov dword [ebx + 0x24], esi
test ecx, ecx
je 0x4f304a
movzx eax, word [edx + 2]
test ax, ax
je 0x4f301c
push dword [eax*4 + 0x59e7a4]
push str._s_constraint_failed
push ebx
call fcn.004ed090
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4f302d
push eax
push dword [ebx + 0x7c]
push str._z:__s
push edi
call fcn.004dcf20
add esp, 0x10
mov dword [ebx + 0x7c], eax
jmp 0x4f302d
push dword [edx + 0x10]
push 0x59a478
push ebx
call fcn.004ed090
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.00481fc0
add esp, 0x14
push ebx
call fcn.004f41f0
mov esi, dword [ebp - 0x28]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x20], ecx
cmp ecx, 5
jne 0x4f306a
mov dword [ebx + 0x28], eax
mov ebx, eax
jmp 0x4f3650
cmp dword [ebx + 0x28], 0
mov ecx, 0x65
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x20], ecx
mov ebx, ecx
jmp 0x4f3650
push 0x15142
call fcn.004c7d00
mov edi, dword [ebp - 0x1c]
add esp, 4
jmp 0x4ef1bb
push str.cannot_open_savepoint___SQL_statements_in_progress
push dword [ebp - 0x18]
call fcn.004ed090
add esp, 8
mov eax, 5
jmp 0x4ef1b8
push str.cannot_release_savepoint___SQL_statements_in_progress
push dword [ebp - 0x18]
call fcn.004ed090
add esp, 8
mov eax, 5
jmp 0x4ef1b5
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x2c]
mov ebx, 5
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x24], eax
mov byte [edi + 0x4f], 0
mov dword [edx + 0x28], 5
jmp 0x4f3650
mov eax, 8
jmp 0x4ef1b8
mov esi, dword [ebp - 0x28]
cmp al, 5
jne 0x4ee6d8
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x2c]
imul ecx
mov ecx, dword [ebp - 0x20]
mov ebx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], ecx
jmp 0x4f3650
push dword [edx + 0x7c]
push edi
call fcn.004c9260
push 0
push 0x1c
push edi
call fcn.004c9310
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4f3171
push 0x1c
push str.database_schema_has_changed
push esi
call fcn.0054eef0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x7c], esi
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 - 0x98]
je 0x4f319c
push edx
push edi
call fcn.004e3cf0
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x98]
and eax, 0xfffffffd
or eax, 1
mov dword [ecx + 0x98], eax
mov eax, 0x11
jmp 0x4ef1be
mov eax, 0x204
jmp 0x4ef1b8
test dword [ebp - 0x148], 0x2400
jne 0x4f31e0
cmp dword [ebp - 0x138], 0
je 0x4f31ef
lea eax, [ebp - 0x150]
push eax
call fcn.00503de0
add esp, 4
push 0x5a9fcc
push 0x13c94
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00481fc0
add esp, 0x14
mov eax, 0xb
jmp 0x4ef1b5
mov ecx, dword [ebp - 0x18]
mov eax, 6
mov ebx, dword [ebp - 0x2c]
mov edi, edx
mov byte [ecx + 0x92], 2
jmp 0x4ef1be
mov dword [ebp - 0x20], 7
push edi
call fcn.004e3c70
mov eax, dword [ebp - 0x20]
add esp, 4
mov esi, dword [ebp - 0x28]
cmp eax, 7
je 0x4f353b
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
jmp 0x4ef1c1
push str.too_many_levels_of_trigger_recursion
push edx
call fcn.004ed090
add esp, 8
mov eax, 1
jmp 0x4ef1b8
push esi
call fcn.0047c4d0
push eax
push 0x59a478
push dword [ebp - 0x18]
call fcn.004ed090
add esp, 0x10
mov eax, dword [ebp - 0x20]
jmp 0x4ef1b8
cmp esi, 5
mov eax, str.into
mov ecx, str.out_of
cmovne eax, ecx
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
jmp 0x4ef1a5
push dword [ebp - 0x94]
mov eax, dword [edi + 0x1c]
call eax
add esp, 4
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
push edi
call fcn.004dd6d0
push str.out_of_memory
push edx
call fcn.004ed090
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
mov eax, 7
jmp 0x4ef1c1
mov edi, dword [ebp - 0x1c]
mov eax, 6
jmp 0x4ef1b8
mov eax, 6
jmp 0x4ef1b5
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x44], 0
jl 0x4f3335
jg 0x4f330f
cmp dword [eax + 0x40], 0
jbe 0x4f3335
push str.FOREIGN_KEY_constraint_failed
push eax
mov dword [eax + 0x28], 0x313
mov byte [eax + 0x92], 2
call fcn.004ed090
add esp, 8
mov eax, 1
jmp 0x4ef1b8
push 1
push eax
call fcn.004ecd40
mov edx, dword [ebp - 0x18]
xor edi, edi
mov ecx, dword [ebp - 0x14]
add esp, 8
mov esi, dword [ebp - 0x30]
mov ebx, ecx
mov eax, dword [edx + 0x20]
add eax, 2
or eax, 1
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
mov dword [edx + 0x78], esi
cmp dword [ecx + 8], edi
jle 0x4f33a1
nop word [eax + eax]
mov eax, 0x1000
test word [esi + 8], ax
je 0x4f338c
push esi
call fcn.004f53d0
add esp, 4
test eax, eax
jne 0x4f32ba
push esi
call fcn.004f5480
inc edi
add esp, 4
add esi, 0x28
cmp edi, dword [ebx + 8]
jl 0x4f3370
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
cmp byte [edi + 0x51], 0
jne 0x4f32c0
test byte [edi + 0x58], 4
je 0x4f33ca
mov eax, dword [edi + 0xc8]
push 0
push edx
push dword [edi + 0xcc]
push 4
call eax
add esp, 0x10
mov esi, dword [ebp - 0x28]
mov ecx, ebx
sub ecx, dword [ebp - 0x2c]
mov eax, 0x66666667
imul ecx
mov ecx, dword [ebp - 0x18]
mov ebx, 0x64
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [ecx + 0x24], eax
jmp 0x4f3650
mov edx, dword [ebp - 0x14]
movzx eax, byte [edi + 0x4f]
mov ebx, dword [edx + 4]
mov ecx, dword [edx + 8]
cmp ebx, eax
je 0x4f34c6
test ecx, ecx
je 0x4f341f
push 0x204
push edi
call fcn.004e4410
add esp, 8
mov al, 1
jmp 0x4f3454
test ebx, ebx
je 0x4f3436
cmp dword [edi + 0xb4], 0
jle 0x4f3436
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x4f309f
push 1
push dword [ebp - 0x18]
mov dword [ebp - 0x9c], ebx
call fcn.004ecae0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x4f34bb
mov eax, ebx
push dword [ebp - 0x18]
mov byte [edi + 0x4f], al
call fcn.004f41f0
add esp, 4
cmp eax, 5
jne 0x4f349b
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
imul ecx
mov ecx, dword [ebp - 0x18]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x24], eax
mov al, 1
sub al, bl
mov ebx, 5
mov byte [edi + 0x4f], al
mov dword [ecx + 0x28], ebx
jmp 0x4f3650
push edi
call fcn.004c6340
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, 0x65
cmp dword [eax + 0x28], 0
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
jmp 0x4f3650
test ebx, ebx
jne 0x4f34d1
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x4f34e0
test ecx, ecx
mov eax, str.cannot_rollback___no_transaction_is_active
mov edx, str.cannot_commit___no_transaction_is_active
cmove eax, edx
push eax
push dword [ebp - 0x18]
call fcn.004ed090
add esp, 8
mov eax, 1
jmp 0x4ef1b8
mov esi, dword [ebp - 0x28]
xor eax, eax
cmp byte [edi + 0x51], al
sete al
lea eax, [eax*2 + 7]
push eax
mov dword [ebp - 0x20], eax
mov dword [edx + 0x28], eax
call fcn.00479960
push eax
push 0x59a478
push edx
call fcn.004ed090
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
jmp 0x4ef1c1
mov edi, dword [ebp - 0x1c]
mov edx, esi
jmp 0x4f32c0
mov edx, dword [ebp - 0x18]
jmp 0x4f32c3
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x4f3556
mov ecx, str.no_more_rows_available
jmp 0x4f3556
mov ecx, str.another_row_available
push ecx
push 0x59a478
push dword [ebp - 0x18]
call fcn.004ed090
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x28], eax
cmp eax, 0xc0a
je 0x4f359e
movzx eax, al
cmp eax, 0xe
je 0x4f3584
cmp eax, 0xa
jne 0x4f359e
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4f3599
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x4f359b
xor eax, eax
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
sub ecx, ebx
push dword [eax + 0x7c]
push dword [eax + 0xc0]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.statement_aborts_at__d:___s___s
push dword [ebp - 0x20]
call fcn.00481fc0
push dword [ebp - 0x18]
call fcn.004f41f0
add esp, 0x18
cmp dword [ebp - 0x20], 0xc0a
jne 0x4f361c
cmp byte [edi + 0x51], 0
jne 0x4f361c
cmp byte [edi + 0x52], 0
jne 0x4f361c
cmp dword [edi + 0xb8], 0
mov byte [edi + 0x51], 1
jle 0x4f3605
mov dword [edi + 0x110], 1
inc dword [edi + 0x118]
mov eax, dword [edi + 0xf0]
test eax, eax
je 0x4f361c
mov dword [eax + 0xc], 7
mov al, byte [ebp - 0x69]
mov dword [ebp - 0x20], 1
test al, al
je 0x4f3648
movzx eax, al
dec eax
push eax
push edi
call fcn.004e3cf0
mov ebx, dword [ebp - 0x20]
add esp, 8
jmp 0x4f3650
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
jmp 0x4f3650
mov ebx, 1
nop dword [eax]
mov ecx, dword [ebp - 0x24]
cmp ecx, esi
jb 0x4f3689
mov eax, dword [edi + 0x148]
test eax, eax
je 0x4f3689
push dword [edi + 0x14c]
add esi, dword [edi + 0x150]
call eax
add esp, 4
test eax, eax
je 0x4f3650
mov ecx, dword [ebp - 0x18]
or esi, 0xffffffff
mov ebx, dword [ebp - 0x2c]
mov eax, 9
jmp 0x4ef1c1
mov edx, dword [ebp - 0x18]
add dword [edx + 0xb4], ecx
cmp dword [edx + 0xa0], 0
je 0x4f36a4
push edx
call fcn.00503d30
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ca4d
mov esp, ebp
pop ebp
ret