Function at 0x418510
Capabilities:
Accept command line arguments
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48ccd2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1684
call fcn.0048a1d0
mov eax, dword [0x4c6018]
xor eax, esp
mov dword [esp + 0x1680], eax
push ebx
push esi
push edi
mov eax, dword [0x4c6018]
xor eax, esp
push eax
lea eax, [esp + 0x1698]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, eax
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
lea esi, [ecx + 1]
jmp 0x418580
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x418580
sub ecx, esi
mov edi, ecx
lea esi, [esp + 0x48]
call fcn.00402610
xor edi, edi
mov dword [esp + 0x16a0], edi
cmp dword [esp + 0x58], edi
jne 0x4185be
cmp dword [esp + 0x5c], 0x10
jb 0x418a31
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jmp 0x418a2e
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16a4], 1
call fcn.004180f0
add esp, 4
test al, al
jne 0x41861d
mov esi, dword [esp + 0x18]
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp esi, edi
je 0x418606
mov edi, dword [esp + 0x1c]
mov eax, esi
call fcn.004190f0
push esi
call ebx
add esp, 4
cmp dword [esp + 0x5c], 0x10
jb 0x418a31
mov edx, dword [esp + 0x48]
push edx
call ebx
jmp 0x418a2e
push str.ft_detect_tools_single_msgid
lea ecx, [esp + 0x14]
mov dword [ebx + 0x100], edi
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0x4bb750
lea ecx, [esp + 0x14]
mov byte [esp + 0x16a4], 2
call dword [sym.imp.mfc100.dll_Ordinal_1483]
push str.ABC_Assistant
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [ebx + 0x100], eax
cmp eax, edi
jne 0x4186bb
push edi
push 0x10
push str.Can_not_initialize.
call dword [sym.imp.mfc100.dll_Ordinal_1982]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov esi, dword [esp + 0x18]
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp esi, edi
je 0x4186a4
mov edi, dword [esp + 0x1c]
mov eax, esi
call fcn.004190f0
push esi
call ebx
add esp, 4
cmp dword [esp + 0x5c], 0x10
jb 0x418a31
mov ecx, dword [esp + 0x48]
push ecx
call ebx
jmp 0x418a2e
lea edx, [esp + 0x64]
push edx
call fcn.00427f90
mov byte [esp + 0x16a0], 3
mov eax, dword [esp + 0x108]
cmp eax, 0xb
je 0x4186de
cmp eax, 0xc
jl 0x4186ea
mov eax, dword [ebx + 0x100]
push eax
call fcn.004183e0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [esp + 0x28], 1
cmp ebx, 1
jbe 0x418831
lea edi, [esi + 0x2c]
mov dword [esp + 0x30], edi
jmp 0x418725
mov edi, dword [esp + 0x30]
mov esi, dword [edi]
mov eax, esi
cmp eax, esi
jae 0x41872d
mov eax, esi
cmp esi, 2
jb 0x418739
mov eax, 2
cmp dword [edi + 4], 0x10
jb 0x418747
mov edx, dword [edi - 0x10]
add edi, 0xfffffff0
jmp 0x41874c
add edi, 0xfffffff0
mov edx, edi
mov ecx, 0x4bb348
call fcn.00401d30
test eax, eax
jne 0x41876e
cmp esi, 2
jae 0x418764
or eax, 0xffffffff
jmp 0x41876c
xor eax, eax
cmp esi, 2
setne al
test eax, eax
sete al
test al, al
jne 0x4188a6
mov ecx, str._new
call fcn.00402c80
test al, al
je 0x41881b
push str.SoftwareEnterSafeWebUI_
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0x4bb750
lea ecx, [esp + 0x30]
mov byte [esp + 0x16a4], 4
call dword [sym.imp.mfc100.dll_Ordinal_1483]
push str.FirstAfterUpdate
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
push ecx
push 2
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4187ff
mov ecx, dword [esp + 0x3c]
push 1
push 0x49dfec
push 1
push eax
mov eax, dword [esp + 0x48]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x16a0], 3
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [esp + 0x28]
add dword [esp + 0x30], 0x1c
inc eax
mov dword [esp + 0x28], eax
cmp eax, ebx
jb 0x418721
push str.ft_detect_tools_single
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov bl, 5
push 0x4bb750
lea ecx, [esp + 0x18]
mov byte [esp + 0x16a4], bl
call dword [sym.imp.mfc100.dll_Ordinal_1483]
push str.ABC_Assistant
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ft_detect_tools_single
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov edi, dword [esp + 0x38]
mov esi, edi
call fcn.00418440
test eax, eax
jne 0x418918
mov ecx, dword [edi + 0x100]
push eax
push 2
push ecx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4189e1
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x4188bb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 0x100]
push 0
push 1
push edx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x64]
call fcn.004280b0
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ebx, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
test ebx, ebx
je 0x418903
mov edi, dword [esp + 0x1c]
mov eax, ebx
call fcn.004190f0
push ebx
call esi
add esp, 4
cmp dword [esp + 0x5c], 0x10
jb 0x418a31
mov eax, dword [esp + 0x48]
push eax
jmp 0x418a2c
call dword [sym.imp.mfc100.dll_Ordinal_1985]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 8
mov dword [esp + 0x48], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_7141]
push 4
call dword [sym.imp.mfc100.dll_Ordinal_1295]
test eax, eax
je 0x418957
mov dword [eax], vtable.CXUICustomOccManager.0
mov esi, eax
jmp 0x418959
xor esi, esi
push 8
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x418977
mov dword [eax], vtable.CXUIImpIDispatch.0
mov dword [eax + 4], 0
jmp 0x418979
xor eax, eax
push esi
mov dword [edi + 0x108], eax
call dword [sym.imp.mfc100.dll_Ordinal_1890]
add esp, 4
push str.Local_AppWizard_Generated_Applications
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_12672]
lea ecx, [esp + 0x144]
push ecx
call fcn.00419450
lea edx, [esp + 0x144]
mov byte [esp + 0x16a0], 6
mov eax, edx
mov ecx, edx
mov dword [edi + 0x20], edx
mov dword [edi + 0x104], eax
call dword [sym.imp.mfc100.dll_Ordinal_3620]
push 0
call dword [sym.imp.mfc100.dll_Ordinal_2000]
lea ecx, [esp + 0x144]
push ecx
mov byte [esp + 0x16a4], bl
call fcn.00418a60
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esp + 0x64]
call fcn.004280b0
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [esp + 0x18], 0
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
je 0x418a20
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, ebx
call fcn.004190f0
push ebx
call esi
add esp, 4
cmp dword [esp + 0x5c], 0x10
jb 0x418a31
mov edx, dword [esp + 0x48]
push edx
call esi
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1698]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1680]
xor ecx, esp
call fcn.00449013
mov esp, ebp
pop ebp
ret