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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 1
push 0x4949ec
push SysReAllocString
push 0x4949e0
push eax
mov dword [0x4af3d0], eax
call fcn.0045f21a
add esp, 0x14
push 0x4949c0
call fcn.00460268
push eax
call fcn.00449d9a
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor ebx, ebx
mov dword [ebp + 0x10], eax
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, 0x4949bc
lea edi, [ebp - 4]
lea eax, [ebp - 4]
movsw word es:[edi], word [esi]
push eax
push dword [ebp + 0x10]
movsb byte es:[edi], byte [esi]
call fcn.00448d91
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x4490cb
mov esi, eax
mov al, byte [esi]
cmp al, 0x6d
je 0x4490b8
cmp al, 0x4d
je 0x4490b8
push 6
push 0x4949b4
push esi
call fcn.004670e8
add esp, 0xc
test eax, eax
jne 0x4490cb
push esi
call fcn.00448dd2
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x449854
push dword [ebp + 8]
mov esi, 0x4af3d8
mov dword [0x4af448], 0x494660
mov dword [0x4af680], esi
push 0x4944f0
push esi
mov dword [0x4af3d8], 0x84
mov dword [0x4af43c], 0x300
call fcn.00449e05
mov edi, 0x47c470
mov eax, edi
test eax, eax
je 0x44911d
push 0x10
push edi
push 0x49b2a8
call fcn.00465f90
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 8], ebx
mov dword [0x4af45c], eax
mov dword [ebp - 0x10], ebx
je 0x4491d4
push 0x4949a8
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x44921f
push 0x49499c
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4492df
mov eax, dword [ebp - 8]
mov cl, byte [eax]
cmp cl, 0x73
je 0x44916f
cmp cl, 0x53
jne 0x449188
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_CharNextA]
push eax
push 0x4af470
call fcn.00448d69
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov cl, byte [eax]
cmp cl, 0x64
je 0x449194
cmp cl, 0x44
jne 0x44919b
mov byte [0x4af574], 1
mov al, byte [eax]
cmp al, 0x75
je 0x4491a5
cmp al, 0x55
jne 0x4491bb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_CharNextA]
push eax
push 0x4af578
call fcn.00448d69
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00448d91
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
jne 0x449134
mov ecx, esi
call fcn.00448d1e
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 0x64
push eax
push dword [ebp + 0x10]
call fcn.00448d91
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x449621
push 8
push 0x494990
push eax
call fcn.004670e8
add esp, 0xc
test eax, eax
jne 0x449621
mov dword [ebp + 0x10], 1
jmp 0x449626
push esi
call fcn.00449f59
push dword [ebp + 8]
mov dword [0x4af448], 0x494660
mov dword [0x4af680], esi
mov dword [0x4af3d8], 0x84
push 0x494560
push esi
mov dword [0x4af43c], 0x300
call fcn.00449e05
mov eax, edi
test eax, eax
je 0x44926d
push 0x10
push edi
push 0x49b2a8
call fcn.00465f90
add esp, 0xc
push ebx
push 1
push esi
call fcn.0044a182
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
push eax
push 0xf003f
push ebx
push 0x494988
push SysReAllocString
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4492ab
lea ecx, [ebp + 0x10]
call fcn.004036d7
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
push 0x494960
lea ecx, [ebp + 0x10]
call fcn.004282e8
push 0x494954
lea ecx, [ebp + 0x10]
call fcn.004282e8
push 0x49492c
lea ecx, [ebp + 0x10]
call fcn.004282e8
lea ecx, [ebp + 0x10]
call fcn.004036d7
jmp 0x44982a
push esi
call fcn.00449f59
push dword [ebp + 8]
mov dword [0x4af448], 0x494660
mov dword [0x4af680], esi
mov dword [0x4af3d8], 0x84
push 0x494560
push esi
mov dword [0x4af43c], 0x300
call fcn.00449e05
mov eax, edi
test eax, eax
je 0x44932d
push 0x10
push edi
push 0x49b2a8
call fcn.00465f90
add esp, 0xc
push ebx
push 1
push esi
call fcn.0044a009
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
push eax
push 0xf003f
push ebx
push 0x4948fc
push SysReAllocString
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44936b
lea ecx, [ebp + 0x10]
call fcn.004036d7
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, 0x494960
push edi
call esi
inc eax
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push ebx
push 0x494988
push dword [ebp + 0x10]
call edi
cmp dword [ebp + 0x10], ebx
je 0x4493a0
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x10], ebx
lea eax, [ebp - 0x24]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x4948cc
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4493d6
lea ecx, [ebp + 0x10]
call fcn.004036d7
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
push 0x4948b0
call esi
inc eax
push eax
push 0x4948b0
push 1
push ebx
push ebx
push dword [ebp + 0x10]
call edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x44940e
cmp al, 4
jne 0x44940e
push 0x4948a8
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x449429
push 0x494894
call esi
inc eax
push eax
push 0x494894
push 1
push ebx
push 0x4948a8
push dword [ebp + 0x10]
call edi
cmp dword [ebp + 0x10], ebx
je 0x44943a
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x10], ebx
lea eax, [ebp - 0x24]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x494864
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x449470
lea ecx, [ebp + 0x10]
call fcn.004036d7
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
push 0x49492c
call esi
inc eax
push eax
push 0x49492c
push 1
push ebx
push 0x494988
push dword [ebp + 0x10]
call edi
cmp dword [ebp + 0x10], ebx
je 0x44949c
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x10], ebx
lea eax, [ebp - 0x24]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x494850
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4494d2
lea ecx, [ebp + 0x10]
call fcn.004036d7
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
push 0x49492c
call esi
inc eax
push eax
push 0x49492c
push 1
push ebx
push 0x494988
push dword [ebp + 0x10]
call edi
cmp dword [ebp + 0x10], ebx
je 0x4494fe
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x10], ebx
lea eax, [ebp - 0x24]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x494820
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x449534
lea ecx, [ebp + 0x10]
call fcn.004036d7
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
push 0x4948b0
call esi
inc eax
push eax
push 0x4948b0
push 1
push ebx
push ebx
push dword [ebp + 0x10]
call edi
push 0x4948a8
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp + 0x10], ebx
je 0x44956a
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x10], ebx
lea eax, [ebp - 0x24]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x4948cc
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4495a0
lea ecx, [ebp + 0x10]
call fcn.004036d7
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
push 0x4948b0
call esi
inc eax
push eax
push 0x4948b0
push 1
push ebx
push ebx
push dword [ebp + 0x10]
call edi
lea eax, [ebp - 0x24]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x49480c
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4495ed
lea ecx, [ebp + 0x10]
call fcn.004036d7
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
push 0x494960
call esi
inc eax
push eax
push 0x494960
push 1
push ebx
push 0x494988
push dword [ebp + 0x10]
call edi
cmp dword [ebp + 0x10], ebx
je 0x449619
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x10], ebx
lea ecx, [ebp + 0x10]
jmp 0x4492d5
mov dword [ebp + 0x10], ebx
jmp 0x449674
push esi
call fcn.00449f59
push dword [ebp + 8]
mov dword [0x4af448], 0x494660
mov dword [0x4af680], esi
mov dword [0x4af3d8], 0x84
push 0x4945f0
push esi
mov dword [0x4af43c], 0x300
call fcn.00449e05
mov eax, edi
test eax, eax
je 0x449674
push 0x10
push edi
push 0x49b2a8
call fcn.00465f90
add esp, 0xc
mov eax, dword [ebp - 0xc]
dec dword [ebp - 0xc]
test eax, eax
je 0x449698
push ebx
push 4
push esi
call fcn.00449e88
push 0x12c
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, ebx
jl 0x449674
cmp dword [ebp + 0x10], ebx
je 0x44985b
lea eax, [ebp - 0x14]
push eax
call fcn.0044c29c
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 4]
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
je 0x4496c4
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [ebp - 0xc], 0x64
mov edi, 0x80004005
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 0xc]
dec dword [ebp - 0xc]
test eax, eax
je 0x4497c4
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
push 0xffffffffffffffff
mov dword [ebp + 0x10], ebx
lea esi, [eax + 8]
push esi
call fcn.0040de3c
pop ecx
mov dword [ebp - 0x1c], eax
pop ecx
lea ecx, [ebp + 0x10]
push ecx
push eax
push 0x491cd8
call dword [sym.imp.ole32.dll_CreateItemMoniker]
push dword [ebp - 0x1c]
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp edi, ebx
jge 0x449732
push edi
push esi
push 0x4947dc
call fcn.00448fa5
add esp, 0xc
jmp 0x449760
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x449742
mov dword [ebp + 8], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 8]
push eax
push ebx
call dword [sym.imp.ole32.dll_GetRunningObjectTable]
mov edi, eax
cmp edi, ebx
jge 0x449776
push edi
push 0x4947b8
call fcn.00448fa5
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4496d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4496d3
mov esi, dword [0x47d88c]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x14]
push dword [ebp + 0x10]
add esi, edx
push esi
push ebx
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jge 0x4497a1
push edi
push 0x494794
jmp 0x449759
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4497b2
mov ecx, dword [eax]
push eax
xor esi, esi
call dword [ecx + 8]
jmp 0x4497b5
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4497c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4497c7
mov esi, dword [ebp - 0x18]
cmp edi, ebx
jl 0x4497fd
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea eax, [ebp - 0x40]
push ebx
push eax
call edi
test eax, eax
je 0x4497f1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp - 0x40]
push ebx
push eax
jmp 0x4497d8
mov eax, dword [ebp + 8]
push dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x44980a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
je 0x449814
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0x4af3d8
call fcn.00449f1d
push dword [0x4af46c]
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4af3d8
call fcn.00449f59
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x494778
call fcn.00460268
push eax
call fcn.00449d9a
pop ecx
pop ecx
call fcn.00460246
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x10
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea eax, [ebp - 0x40]
push ebx
push eax
call esi
test eax, eax
je 0x449814
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp - 0x40]
push ebx
push eax
jmp 0x449868