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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, dword [ebp + 8]
mov eax, dword [0x808040]
xor eax, ebp
mov dword [esp + 0xb8], eax
cmp byte [ecx + 0xc], 6
je 0x6c4119
mov ecx, esi
push 0x1f
push str.manifest_is_not_a_dictionary.
call fcn.00549690
xor ebx, ebx
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.005c6b46
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
push 0x1d
push str.Missing_version_for_manifest.
jmp 0x6c40ef
mov edi, edx
call fcn.00550280
mov ebx, eax
mov ecx, eax
push 7
push 0x7943f4
call fcn.004b1890
test eax, eax
je 0x6c410e
lea esi, [edi + 0x3c]
mov ecx, esi
push eax
call fcn.00535380
movsx eax, byte [edi + 0x47]
mov edx, esi
test eax, eax
jns 0x6c4157
mov eax, dword [edi + 0x40]
test eax, eax
js 0x6c4223
mov edx, dword [edi + 0x3c]
test eax, eax
sete cl
test edx, edx
setne ch
or ch, cl
je 0x6c4223
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
lea edi, [esp + 0x60]
mov ecx, edi
push eax
push edx
call fcn.004b0a00
mov ecx, edi
call fcn.004b0d10
mov ebx, eax
mov ecx, edi
call fcn.004b09d0
test bl, bl
jne 0x6c4225
mov dword [esp + 0x60], str.Invalid_version:_
mov dword [esp + 0x64], 0x12
mov ecx, dword [esp + 0xc]
movsx eax, byte [ecx + 0x47]
test eax, eax
js 0x6c4211
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
test eax, eax
sete al
test esi, esi
setne cl
or cl, al
je 0x6c4223
mov dword [esp + 0x70], 0x77e456
mov dword [esp + 0x74], 2
lea eax, [esp + 0x30]
push 3
push edi
push eax
call fcn.00559e60
add esp, 0xc
mov esi, dword [ebp + 8]
cmp byte [esi + 0xb], 0
jns 0x6c41fb
push dword [esi]
call fcn.005c57c0
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esi + 8], eax
movq xmm0, qword [esp + 0x30]
movq qword [esi], xmm0
jmp 0x6c40f4
mov esi, dword [ecx + 0x3c]
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
test eax, eax
jns 0x6c41ba
ud2
mov ecx, dword [esp + 8]
push 0xe
push str.prodversionmin
call fcn.004b1890
test eax, eax
mov ebx, dword [esp + 0xc]
je 0x6c42b6
lea esi, [ebx + 0x48]
mov ecx, esi
push eax
call fcn.00535380
movsx eax, byte [ebx + 0x53]
mov edx, esi
test eax, eax
jns 0x6c425c
mov eax, dword [ebx + 0x4c]
test eax, eax
js 0x6c4223
mov edx, dword [ebx + 0x48]
test eax, eax
sete cl
test edx, edx
setne ch
or ch, cl
je 0x6c4223
lea edi, [esp + 0x60]
mov ecx, edi
push eax
push edx
call fcn.004b0a00
mov ecx, edi
call fcn.004b0d10
mov ebx, eax
mov ecx, edi
call fcn.004b09d0
test bl, bl
mov ebx, dword [esp + 0xc]
jne 0x6c42b6
mov dword [esp + 0x60], str.Invalid_prodversionmin:_
mov dword [esp + 0x64], 0x19
movsx eax, byte [ebx + 0x53]
test eax, eax
jns 0x6c41b2
mov esi, dword [ebx + 0x48]
mov eax, dword [ebx + 0x4c]
jmp 0x6c4217
lea ecx, [esp + 0x60]
mov edx, dword [esp + 8]
push 0x798623
call fcn.006c3eb0
add esp, 4
lea esi, [ebx + 0x60]
cmp byte [ebx + 0x6b], 0
jns 0x6c42de
push dword [esi]
call fcn.005c57c0
add esp, 4
lea ecx, [esp + 0x60]
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
movsd xmm0, qword [ecx]
movsd qword [esi], xmm0
mov edx, dword [esp + 8]
push str.arguments
call fcn.006c3eb0
add esp, 4
lea esi, [ebx + 0x6c]
cmp byte [ebx + 0x77], 0
mov edi, dword [ebp + 8]
jns 0x6c4317
push dword [esi]
call fcn.005c57c0
add esp, 4
mov eax, dword [esp + 0x68]
mov dword [esi + 8], eax
movq xmm0, qword [esp + 0x60]
movq qword [esi], xmm0
mov ecx, dword [esp + 8]
push 8
push str.packages
call fcn.004b1a00
test eax, eax
je 0x6c43a1
mov ecx, eax
push 7
push str.package
call fcn.004b1a30
test eax, eax
je 0x6c43af
mov esi, eax
xor ebx, ebx
dec ebx
lea eax, [esp + 0x54]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov ecx, esi
push eax
call fcn.004b24e0
lea edi, [esp + 0x48]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ebx, dword [esp + 0xc]
mov ecx, esi
push edi
call fcn.004b2500
lea eax, [esp + 0x54]
mov eax, dword [eax]
cmp eax, dword [edi]
lea esi, [esp + 0x60]
jne 0x6c46c3
lea eax, [ebx + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
jmp 0x6c443d
mov ecx, edi
push 0x3f
push str.Missing_packages_in_manifest_or_packages_is_not_a_dictionary.
jmp 0x6c40ef
mov ecx, edi
push 0x1c
push str.Missing_package_in_packages.
jmp 0x6c40ef
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
fisttp qword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x58]
cmp esi, dword [eax + 0x5c]
jae 0x6c4694
test esi, esi
je 0x6c4223
mov ecx, esi
lea edi, [esp + 0x60]
push edi
call fcn.00663160
add esi, 0x50
mov eax, dword [esp + 0xc]
mov dword [eax + 0x58], esi
mov ecx, edi
call fcn.00663260
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
cmp ecx, eax
je 0x6c46c6
mov esi, edi
add ecx, 0x10
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x48]
jne 0x6c46c3
cmp eax, dword [esp + 0x50]
jne 0x6c46bd
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x4c]
sete bl
je 0x6c40f6
cmp ecx, eax
je 0x6c46c0
cmp byte [ecx + 0xc], 6
jne 0x6c46a9
call fcn.00550280
mov edi, eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov ecx, esi
call fcn.00663130
mov ecx, edi
push 4
push str.name
call fcn.004b1890
test eax, eax
je 0x6c4677
lea ebx, [esp + 0x6c]
mov ecx, ebx
push eax
call fcn.00535380
lea esi, [esp + 0x30]
mov ecx, esi
mov edx, edi
push str.namediff
call fcn.006c3eb0
add esp, 4
cmp byte [esp + 0x9b], 0
jns 0x6c44f3
push dword [esp + 0x90]
call fcn.005c57c0
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x2c], eax
movsd xmm0, qword [esp + 0x30]
movsd qword [ebx + 0x24], xmm0
mov ecx, esi
mov esi, edi
mov edx, edi
push 0x781d10
call fcn.006c3eb0
add esp, 4
cmp byte [esp + 0x6b], 0
jns 0x6c452b
push dword [esp + 0x60]
call fcn.005c57c0
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x60], xmm0
lea ecx, [esp + 0x30]
mov edx, esi
push str.hash_sha256
call fcn.006c3eb0
add esp, 4
cmp byte [esp + 0x83], 0
jns 0x6c4568
push dword [esp + 0x78]
call fcn.005c57c0
add esp, 4
mov eax, dword [esp + 0x38]
lea ebx, [esp + 0x6c]
mov dword [ebx + 0x14], eax
movsd xmm0, qword [esp + 0x30]
movsd qword [ebx + 0xc], xmm0
lea ecx, [esp + 0x30]
mov edi, esi
mov edx, esi
push str.hashdiff_sha256
call fcn.006c3eb0
add esp, 4
cmp byte [esp + 0xa7], 0
jns 0x6c45ac
push dword [esp + 0x9c]
call fcn.005c57c0
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x38], eax
movq xmm0, qword [esp + 0x30]
movq qword [ebx + 0x30], xmm0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
mov ecx, edi
push 4
push 0x7825a0
lea eax, [esp + 0x38]
push eax
call fcn.004b1820
cmp byte [esp + 0x38], 1
jne 0x6c4624
movsd xmm0, qword [esp + 0x30]
ucomisd xmm0, qword [0x768980]
jb 0x6c4624
movsd xmm1, qword [0x798390]
ucomisd xmm1, xmm0
jbe 0x6c4624
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fisttp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
mov ecx, esi
push 8
push str.sizediff
lea eax, [esp + 0x28]
push eax
call fcn.004b1820
cmp byte [esp + 0x28], 1
jne 0x6c43e1
movsd xmm0, qword [esp + 0x20]
ucomisd xmm0, qword [0x768980]
jb 0x6c43e1
movsd xmm1, qword [0x798390]
ucomisd xmm1, xmm0
ja 0x6c43bd
jmp 0x6c43e1
mov ecx, dword [ebp + 8]
push 0x19
push str.Missing_name_for_package.
call fcn.00549690
lea ecx, [esp + 0x60]
call fcn.00663260
jmp 0x6c40f6
mov ecx, dword [esp + 8]
lea edi, [esp + 0x60]
push edi
call fcn.006c46d0
mov esi, eax
jmp 0x6c4408
mov ecx, dword [ebp + 8]
push 0x1e
push str.package_is_not_a_dictionary.
call fcn.00549690
jmp 0x6c40f6
int3
int3
int3
int3