Function at 0x5111e0
Capabilities:
Accept command line arguments
Delete registry key

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [0x5d0514]
push edi
lea eax, [esp + 0x18]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x11c]
push 0x104
lea eax, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0x220]
push 0x104
push ecx
lea edx, [esp + 0x124]
push 0xffffffffffffffff
push edx
push 0
push 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x220]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
test eax, eax
jl 0x511270
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x220]
push 0
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_QueryPathOfRegTypeLib]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x51127e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dx, word [0x5c64dc]
mov cl, byte [0x5c64de]
mov word [esp + 0x10], dx
mov byte [esp + 0x12], cl
mov cl, byte [eax]
mov esi, eax
test cl, cl
je 0x5112cb
mov edi, dword [sym.imp.USER32.dll_CharNextA]
mov cl, dl
test cl, cl
lea eax, [esp + 0x10]
je 0x5112c3
cmp byte [esi], cl
je 0x5112d8
push eax
call edi
mov cl, byte [eax]
test cl, cl
jne 0x5112b2
mov cl, byte [esp + 0x10]
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x5112aa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
push esi
call edi
mov esi, eax
test esi, esi
je 0x5112cb
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.UnRegister
push esi
call ebx
test eax, eax
je 0x511343
push str.Register
push esi
call ebx
test eax, eax
je 0x5113ee
cmp byte [esi], 0
je 0x5112cb
mov cl, byte [esp + 0x10]
test cl, cl
lea eax, [esp + 0x10]
je 0x511325
cmp byte [esi], cl
je 0x51132f
push eax
call edi
mov cl, byte [eax]
test cl, cl
jne 0x511314
mov cl, byte [esp + 0x10]
mov al, byte [esi + 1]
inc esi
test al, al
je 0x5112cb
jmp 0x51130c
push esi
call edi
mov esi, eax
test esi, esi
jne 0x5112e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x418
ret
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov dword [0x5d0580], 0x5c5f50
push eax
push 0x5d05b0
push 0x5d0510
mov dword [0x5d05e8], 0x5d0510
mov dword [0x5d0510], 0x84
mov dword [0x5d0574], 0x300
call fcn.00512160
push 0
push 0
push 0
push 0x67
push 0x5d0510
call fcn.005123b0
push 0
mov ecx, ebp
call fcn.0050cee0
mov edx, dword [ebp + 0x6c]
mov ecx, ebp
push edx
call fcn.00511480
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push str.StormBox
push SysReAllocStringLen
call esi
push 0x5b48b0
push SysReAllocStringLen
call esi
test eax, eax
jne 0x5113d7
push str.SoftwareMicrosoftInternet_ExplorerProtocolExecuteStorm
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, ebp
call fcn.00511740
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov dword [0x5d0580], 0x5c5f50
push eax
push 0x5d05b0
push 0x5d0510
mov dword [0x5d05e8], 0x5d0510
mov dword [0x5d0510], 0x84
mov dword [0x5d0574], 0x300
call fcn.00512160
push 0
push 0
push 1
push 0x67
push 0x5d0510
call fcn.005123b0
push 1
mov ecx, ebp
call fcn.0050cee0
call fcn.005118a0
call fcn.00511aa0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret