Function at 0x40c000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c5848
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
xor esi, esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], esi
call fcn.00410520
mov dword [esp + 0x84], esi
mov eax, dword [0x4fc0d8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc0d8
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
push str.Microsoft.MicrosoftEdge_8wekyb3d8bbwe
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppModelRepositoryFamilies
lea eax, [esp + 0x28]
push str._s_s
push eax
mov byte [esp + 0x94], 1
call fcn.004048a0
add esp, 0x10
lea ecx, [esp + 0x60]
push ecx
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4d67f4
call fcn.00404050
push ecx
mov byte [esp + 0x94], 2
mov esi, dword [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
push esi
call fcn.00404050
push SysReAllocStringLen
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 1
call fcn.0040b9b0
push eax
mov byte [esp + 0x8c], 3
call fcn.0040baa0
add esp, 8
test eax, eax
mov byte [esp + 0x84], 1
mov eax, dword [esp + 0x48]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c0fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c11b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40c12f
mov byte [esp + 0x84], 0
lea eax, [esi - 0x10]
jmp 0x40c3ce
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppModelRepositoryFamilies
lea ecx, [esp + 0x1c]
call fcn.00404050
mov ebx, 1
push ebx
push 0x4d689c
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 4
call fcn.004062f0
push 0x25
push str.Microsoft.MicrosoftEdge_8wekyb3d8bbwe
lea ecx, [esp + 0x20]
call fcn.004062f0
push ebx
push 0x4d689c
lea ecx, [esp + 0x20]
call fcn.004062f0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov esi, eax
cmp eax, ecx
jbe 0x40c193
call fcn.00497857
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], ecx
cmp eax, ecx
jbe 0x40c1ac
call fcn.00497857
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x40], ecx
test ebp, ebp
je 0x40c1be
cmp ebp, dword [esp + 0x40]
je 0x40c1c3
call fcn.00497857
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x3c], edx
je 0x40c397
lea esi, [esp + 0x38]
call fcn.00413ea0
mov edi, eax
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00410450
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push 0
push ecx
mov byte [esp + 0x90], 5
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.Flags
mov dword [esp + 0x38], 0
call fcn.00404050
mov byte [esp + 0x90], 6
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x44], esp
mov esi, esp
push eax
call fcn.00404760
add esp, 4
add eax, 0x10
mov dword [esi], eax
push SysReAllocStringLen
lea ecx, [esp + 0x64]
mov byte [esp + 0x98], 5
call fcn.0040b9b0
or dword [esp + 0x20], ebx
push eax
call fcn.0040beb0
add esp, 8
test eax, eax
je 0x40c26c
cmp dword [esp + 0x28], ebx
jne 0x40c26c
mov bl, 1
jmp 0x40c26e
xor bl, bl
test byte [esp + 0x1c], 1
je 0x40c283
and dword [esp + 0x1c], 0xfffffffe
lea ecx, [esp + 0x50]
call fcn.0040c410
test bl, bl
jne 0x40c2dc
mov byte [esp + 0x84], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c2af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x40c2d7
call fcn.00497857
xor eax, eax
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [eax + 0x10]
jb 0x40c2c8
call fcn.00497857
add dword [esp + 0x3c], 4
mov ebx, 1
jmp 0x40c1b4
mov eax, dword [ebp]
jmp 0x40c2ba
mov edi, dword [edi]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c2e3
mov ecx, dword [esp + 0x8c]
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.004054b0
mov byte [esp + 0x84], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c328
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x84], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c350
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x84], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c378
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x60]
call fcn.00410580
mov al, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov byte [esp + 0x84], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c3bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x84], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c3e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x60]
call fcn.00410580
xor al, al
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret