Function at 0x407e70
Capabilities:
Accept command line arguments
Delete registry value

Disassembly:
mov eax, dword [0x4256e8]
sub esp, 0x11c
cmp eax, 0xb7
push ebx
push ebp
push esi
push edi
jne 0x407e95
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x130]
push 0x41fe20
push esi
push 0x4229c0
mov ecx, 0x425438
mov ebx, eax
call fcn.00408450
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push pe_nt_image_headers32
push 0x4254bc
mov ebp, 1
push 0x65
push esi
mov dword [0x4256e0], ebp
call edi
push pe_nt_image_headers32
push 0x4255bc
push 0x67
push esi
call edi
mov ax, word [0x422b08]
mov cl, byte [0x422b0a]
lea edx, [esp + 0x1c]
xor edi, edi
push edx
push ebx
mov dword [0x4256bc], edi
mov dword [0x4256c0], 0x10
mov dword [0x4256c4], ebp
mov dword [0x4256c8], ebp
mov dword [0x4256cc], edi
mov dword [0x4256d0], edi
mov dword [0x4256d4], edi
mov dword [0x4256d8], edi
mov dword [0x4256e0], ebp
mov word [esp + 0x24], ax
mov byte [esp + 0x26], cl
call fcn.00407900
mov esi, eax
add esp, 8
cmp esi, edi
je 0x407f97
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x422afc
push esi
call ebx
test eax, eax
je 0x408056
push 0x422af0
push esi
call ebx
test eax, eax
je 0x40809b
push 0x422ae8
push esi
call ebx
test eax, eax
je 0x408147
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00407900
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x407f53
lea edx, [esp + 0x10]
mov dword [esp + 0x18], edi
push edx
push 0x20019
push edi
push 0x422ae0
push SysReAllocString
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x40803e
lea ecx, [esp + 0x18]
call fcn.004093c0
mov esi, eax
mov eax, dword [esp + 0x10]
cmp esi, edi
mov dword [esp + 0x18], eax
jne 0x40803e
push 0x20019
push 0x422ab8
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], edi
call fcn.004093e0
mov esi, eax
cmp esi, edi
jne 0x408035
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
push 0x422aa8
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 0x104
call fcn.00409430
cmp eax, edi
mov dword [0x4256e0], edi
jne 0x408025
mov dword [0x4256e0], ebp
mov ecx, 0x425438
call fcn.004083f0
mov esi, dword [0x4256cc]
lea ecx, [esp + 0x20]
call fcn.004093c0
lea ecx, [esp + 0x18]
call fcn.004093c0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret 0x10
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, edi
jl 0x408049
push edi
push edi
push edi
push 0x64
push 0x425438
call fcn.00409710
mov ecx, 0x425438
call fcn.00408310
push edi
push ebp
push 0x425438
call fcn.00409680
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c
ret 0x10
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, edi
jl 0x408049
mov ecx, 0x425438
call fcn.00408310
push edi
push ebp
push 0x64
push 0x425438
call fcn.00408a10
push 0x20006
push 0x422ae0
push SysReAllocString
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
call fcn.004093e0
mov esi, eax
cmp esi, edi
jne 0x40812f
mov ecx, dword [esp + 0x14]
push 0x20006
push 0x422ab8
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004093e0
mov esi, eax
cmp esi, edi
jne 0x408126
mov edx, dword [esp + 0x10]
push 0x422aa8
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push edi
push ebp
push 0x425438
call fcn.00409490
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x10]
call fcn.004093c0
lea ecx, [esp + 0x14]
call fcn.004093c0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret 0x10
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, edi
jl 0x408049
mov ecx, 0x425438
call fcn.00408310
push edi
push ebp
push 0x64
push 0x425438
call fcn.00408a10
push 0x20006
push 0x422ae0
push SysReAllocString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004093e0
mov esi, eax
cmp esi, edi
jne 0x40820f
mov eax, dword [esp + 0x10]
push 0x20006
push 0x422ab8
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
call fcn.004093e0
mov esi, eax
cmp esi, edi
jne 0x408206
mov ecx, dword [esp + 0x14]
push 0x422aa8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x422aa8
push 0x422a9c
lea ecx, [esp + 0x1c]
call fcn.00409460
push 0x422a88
push 0x422a7c
lea ecx, [esp + 0x1c]
call fcn.00409460
mov ecx, 0x425438
call fcn.00408230
push edi
push ebp
push 0x425438
call fcn.00409490
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x14]
call fcn.004093c0
lea ecx, [esp + 0x10]
call fcn.004093c0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret 0x10