Function at 0x41c450
Capabilities:
Access peb ldr_data
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4684a7
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
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.00419e10
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.0041ad20
mov ecx, dword [edi + 0xc]
mov byte [esp + 0x318], 1
call fcn.00433380
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 0x41c6d6
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 4]
call eax
test eax, eax
je 0x41c6d6
lea eax, [esp + 0x6c]
shr eax, 0x10
mov dword [esp + 0x48], eax
jmp 0x41c514
mov eax, dword [esp + 0x48]
mov edi, dword [0x484064]
mov dword [esp + 0x14], edi
test ax, ax
jne 0x41c5b7
lea ecx, [esp + 0x6c]
movzx eax, cx
push eax
lea ecx, [esp + 0x18]
call fcn.00418410
mov edi, dword [esp + 0x14]
push 4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x320], 2
call fcn.00419e80
mov eax, dword [eax]
push 0x46f670
push eax
call fcn.0044ee88
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 [0x484060]
je 0x41c598
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41c598
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
test bl, bl
je 0x41c685
mov esi, dword [edi - 8]
push 0x5c
push edi
call fcn.0044e0da
add esp, 8
test eax, eax
jne 0x41c604
or eax, 0xffffffff
jmp 0x41c608
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x41c53c
push esi
lea ecx, [esp + 0x18]
call fcn.00415c10
test eax, eax
je 0x41c538
lea eax, [esi + esi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x41c538
mov edi, dword [esp + 0x14]
push eax
lea edx, [esp + 0x70]
push edx
push edi
call fcn.0044e730
add esp, 0xc
jmp 0x41c53c
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.00419e80
mov eax, dword [esp + 0x1c]
cmp dword [eax - 8], 0
mov byte [esp + 0x318], 3
je 0x41c658
lea ecx, [esp + 0x1c]
call fcn.004164d0
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.0041bb60
mov dword [eax], 1
mov eax, dword [esp + 0x1c]
lea edx, [eax - 0xc]
mov byte [esp + 0x318], 2
cmp edx, dword [0x484060]
je 0x41c685
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41c685
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
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 [0x484060]
je 0x41c6b7
lea esi, [edi - 0xc]
push esi
call ebp
test eax, eax
jg 0x41c6b7
push esi
call fcn.0044ec74
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 0x41c510
mov edi, dword [esp + 0x2c]
xor esi, esi
lea ecx, [esp + 0x30]
call fcn.00426b80
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 0x41c70f
push ebx
mov dword [ecx], ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41c71c
mov eax, dword [0x484064]
push ebp
mov dword [ecx], eax
call fcn.00417f60
mov ecx, edi
call fcn.0041c0b0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, edx
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x41c75d
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 0x41c73c
xor esi, esi
cmp ecx, esi
je 0x41c77f
mov eax, dword [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push edx
push ecx
call fcn.00419b70
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00445620
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.00445620
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x318], 0
call fcn.0041b700
add ebp, 0xfffffff4
cmp ebp, dword [0x484060]
je 0x41c7c8
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41c7c8
push ebx
call fcn.0044ec74
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.0044e04c
add esp, 0x308
ret