Function at 0x41c8e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469417
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x310]
mov dword fs:[0], eax
mov edi, ecx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], edi
call fcn.0041a210
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x1f]
push ecx
xor esi, esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x320], esi
call fcn.0041b230
mov ecx, dword [edi + 0xc]
mov byte [esp + 0x318], 1
call fcn.00433ef0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push ecx
push eax
call edx
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x41cb66
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 4]
call eax
test eax, eax
je 0x41cb66
lea eax, [esp + 0x6c]
shr eax, 0x10
mov dword [esp + 0x48], eax
jmp 0x41c9a4
mov eax, dword [esp + 0x48]
mov edi, dword [0x485064]
mov dword [esp + 0x14], edi
test ax, ax
jne 0x41ca47
lea ecx, [esp + 0x6c]
movzx eax, cx
push eax
lea ecx, [esp + 0x18]
call fcn.00418760
mov edi, dword [esp + 0x14]
push 4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x320], 2
call fcn.0041a280
mov eax, dword [eax]
push 0x4707f8
push eax
call fcn.0044fde8
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x24]
lea ecx, [eax - 0xc]
sete bl
cmp ecx, dword [0x485060]
je 0x41ca28
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41ca28
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.0044fbd4
add esp, 4
test bl, bl
je 0x41cb15
mov esi, dword [edi - 8]
push 0x5c
push edi
call fcn.0044f03a
add esp, 8
test eax, eax
jne 0x41ca94
or eax, 0xffffffff
jmp 0x41ca98
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x41c9cc
push esi
lea ecx, [esp + 0x18]
call fcn.004160d0
test eax, eax
je 0x41c9c8
lea eax, [esi + esi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x41c9c8
mov edi, dword [esp + 0x14]
push eax
lea edx, [esp + 0x70]
push edx
push edi
call fcn.0044f690
add esp, 0xc
jmp 0x41c9cc
sub eax, edi
sar eax, 1
sub esi, eax
dec esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.0041a280
mov eax, dword [esp + 0x1c]
cmp dword [eax - 8], 0
mov byte [esp + 0x318], 3
je 0x41cae8
lea ecx, [esp + 0x1c]
call fcn.00416700
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x50]
call fcn.0041bff0
mov dword [eax], 1
mov eax, dword [esp + 0x1c]
lea edx, [eax - 0xc]
mov byte [esp + 0x318], 2
cmp edx, dword [0x485060]
je 0x41cb15
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41cb15
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.0044fbd4
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [edi - 0xc]
mov byte [esp + 0x318], 1
cmp eax, dword [0x485060]
je 0x41cb47
lea esi, [edi - 0xc]
push esi
call ebp
test eax, eax
jg 0x41cb47
push esi
call fcn.0044fbd4
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 4]
call eax
test eax, eax
jne 0x41c9a0
mov edi, dword [esp + 0x2c]
xor esi, esi
lea ecx, [esp + 0x30]
call fcn.00427370
mov ebp, dword [esp + 0x28]
cmp dword [ebp - 0xc], esi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push edx
push ecx
lea ebx, [ebp - 0xc]
mov byte [esp + 0x324], 4
mov dword [esp + 0x38], esp
mov ecx, esp
jl 0x41cb9f
push ebx
mov dword [ecx], ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41cbac
mov eax, dword [0x485064]
push ebp
mov dword [ecx], eax
call fcn.004182b0
mov ecx, edi
call fcn.0041c540
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, edx
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x41cbed
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ecx + esi*4]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, edx
sub eax, ecx
inc esi
sar eax, 2
cmp esi, eax
jb 0x41cbcc
xor esi, esi
cmp ecx, esi
je 0x41cc0f
mov eax, dword [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push edx
push ecx
call fcn.00419f60
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00446570
add esp, 0x14
mov edx, dword [esp + 0x30]
push edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.00446570
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x318], 0
call fcn.0041bb90
add ebp, 0xfffffff4
cmp ebp, dword [0x485060]
je 0x41cc58
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41cc58
push ebx
call fcn.0044fbd4
add esp, 4
mov ecx, dword [esp + 0x310]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.0044efac
add esp, 0x308
ret