Function at 0x4026c6
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc44
push edi
mov dword [ebp - 0xc44], ecx
mov dword [ebp - 0x418], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x314], 0
mov byte [ebp - 0x310], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push 0x100
lea ecx, [ebp - 0x30c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x30c]
push edx
call fcn.0041c968
add esp, 4
mov byte [ebp - 0x310], al
jmp 0x402745
mov al, byte [ebp - 0x310]
sub al, 1
mov byte [ebp - 0x310], al
movsx ecx, byte [ebp - 0x310]
test ecx, ecx
jle 0x402778
movsx edx, byte [ebp - 0x310]
xor eax, eax
mov al, byte [ebp + edx - 0x30c]
cmp eax, 0x5c
jne 0x402776
movsx ecx, byte [ebp - 0x310]
mov byte [ebp + ecx - 0x30b], 0
jmp 0x402778
jmp 0x402737
lea edx, [ebp - 0x30c]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.0041c899
add esp, 8
mov cx, word [0x4520d4]
mov word [ebp - 0x414], cx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x412]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [ebp + 0x20], 0
je 0x4027df
lea edx, [ebp - 0x30c]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.0041c899
add esp, 8
push str.K95dial.exe
lea ecx, [ebp - 0x414]
push ecx
call fcn.0041c8ae
add esp, 8
jmp 0x4027e3
mov byte [ebp + 0x18], 0
movsx edx, byte [ebp + 0x1c]
test edx, edx
je 0x40280c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push str.notepad.exe__s_s
lea edx, [ebp - 0x30c]
push edx
call fcn.0041c750
add esp, 0x10
jmp 0x40281f
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x30c]
push ecx
call fcn.0041c8ae
add esp, 8
movsx edx, byte [ebp + 0x10]
test edx, edx
je 0x402948
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x41c], 0
lea eax, [ebp - 0x828]
push eax
push 0x20019
push 0
push 0x44a5b8
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402886
xor eax, eax
jmp 0x402ac5
mov dword [ebp - 0x824], 0x400
lea ecx, [ebp - 0x824]
push ecx
lea edx, [ebp - 0x820]
push edx
lea eax, [ebp - 0x420]
push eax
push 0
push str.Desktop
mov ecx, dword [ebp - 0x828]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4028d1
mov edx, dword [ebp - 0x828]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x402ac5
mov eax, dword [ebp - 0x828]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x44a604
lea ecx, [ebp - 0x820]
push ecx
call fcn.0041c8ae
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x820]
push eax
call fcn.0041c8ae
add esp, 8
push 0x44a608
lea ecx, [ebp - 0x820]
push ecx
call fcn.0041c8ae
add esp, 8
mov dl, byte [ebp + 0x18]
push edx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x820]
push eax
lea ecx, [ebp - 0x30c]
push ecx
mov ecx, dword [ebp - 0xc44]
call fcn.00401546
movsx edx, byte [ebp + 0x14]
test edx, edx
je 0x402ac0
mov dword [ebp - 0x83c], 0
mov dword [ebp - 0xc40], 0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x830], 0
lea eax, [ebp - 0x83c]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4029af
xor eax, eax
jmp 0x402ac5
mov dword [ebp - 0x838], 0x400
lea ecx, [ebp - 0x838]
push ecx
lea edx, [ebp - 0xc3c]
push edx
lea eax, [ebp - 0x834]
push eax
push 0
push str.Programs
mov ecx, dword [ebp - 0x83c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4029fa
mov edx, dword [ebp - 0x83c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x402ac5
mov eax, dword [ebp - 0x83c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.C_Kermit
lea ecx, [ebp - 0xc3c]
push ecx
call fcn.0041c8ae
add esp, 8
lea edx, [ebp - 0xc3c]
push edx
call fcn.00443d30
add esp, 4
movsx eax, byte [ebp + 0x14]
cmp eax, 2
jne 0x402a56
push str.Documentation
lea ecx, [ebp - 0xc3c]
push ecx
call fcn.0041c8ae
add esp, 8
lea edx, [ebp - 0xc3c]
push edx
call fcn.00443d30
add esp, 4
push 0x44a67c
lea eax, [ebp - 0xc3c]
push eax
call fcn.0041c8ae
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc3c]
push edx
call fcn.0041c8ae
add esp, 8
push str..lnk
lea eax, [ebp - 0xc3c]
push eax
call fcn.0041c8ae
add esp, 8
mov cl, byte [ebp + 0x18]
push ecx
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc3c]
push edx
lea eax, [ebp - 0x30c]
push eax
mov ecx, dword [ebp - 0xc44]
call fcn.00401546
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0x1c