joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41edba
Capabilities:
Enumerate processes
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4c
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xb44], edx
push 0x124
lea eax, [ebp - 0xb34]
mov dword [ebp - 0xb48], ecx
push edi
push eax
mov dword [ebp - 0xb3c], edi
call fcn.0049ef70
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x41efbc
lea eax, [ebp - 0xb38]
mov dword [ebp - 0xb38], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41efb9
push dword [ebp - 0xb30]
push 0
push 0x100418
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x41ef93
lea edx, [ebp - 0x610]
mov byte [ebp - 0x610], 0
mov ecx, edi
call fcn.0041ea6e
push edi
call ebx
cmp byte [ebp - 0x610], 0
je 0x41ef93
push dword [ebp - 0xb44]
mov edx, dword [ebp - 0xb48]
lea ecx, [ebp - 0x610]
call fcn.0040c6fe
pop ecx
test eax, eax
je 0x41ef93
push dword [ebp - 0xb30]
and dword [ebp - 0xb40], 0
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x41eedf
push 0xdeaddead
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xb40], eax
test eax, eax
je 0x41eedc
push 0x7530
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or dword [ebp - 0xb3c], 1
push edi
call ebx
cmp byte [0x51e6c9], 0
je 0x41ef16
push dword [ebp - 0xb40]
lea eax, [ebp - 0xa10]
push dword [ebp - 0xb30]
push str.K7ARW_Extra_Matching_PID:_d_bTerminated:_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0xa10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0049ef70
add esp, 0xc
lea eax, [ebp - 0x610]
push 0x104
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004c9d56
add esp, 0xc
lea ecx, [ebp - 0x210]
xor edx, edx
push 4
call fcn.0041ec49
cmp byte [0x51e6c9], 0
pop ecx
je 0x41ef93
movzx eax, al
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0xb30]
lea eax, [ebp - 0xa10]
push str.K7ARW_AddnFileRunPID__d_:_S_CleanStatus_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0xa10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0xb38]
mov dword [ebp - 0xb38], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x41ee32
mov edi, dword [ebp - 0xb3c]
push esi
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d307
leave
ret
Function at 0x41f0b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
xor edi, edi
cmp byte [esi], 0
je 0x41f0fc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41f0fc
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.00499d60
cmp eax, 1
jne 0x41f0fc
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.0041cfe1
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d307
leave
ret

Function at 0x41f10d
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x124], edx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 0x120], eax
cmp byte [eax], 0
push edi
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x11c], esi
je 0x41f2af
lea ecx, [ebp - 0x110]
call fcn.00404436
lea eax, [ebp - 0x110]
push str.K7WebEvents.db
push eax
call fcn.004c99e0
push esi
push 1
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0047c88f
mov edi, dword [ebp - 0x118]
add esp, 0x18
test eax, eax
jne 0x41f2a4
push esi
push esi
push esi
push esi
push esi
push str.catids
push str.tblDownloads
push esi
push edi
call fcn.0047cad7
add esp, 0x24
test eax, eax
jne 0x41f1cb
mov dword [ebp - 0x11c], 1
mov eax, str.SELECT_url__ip__catids_FROM_tblDownloads_WHERE_md5____LIMIT_1
jmp 0x41f1d0
mov eax, str.SELECT_url__ip_FROM_tblDownloads_WHERE_md5____LIMIT_1
push esi
lea ecx, [ebp - 0x114]
push ecx
push 0xffffffffffffffff
push eax
push edi
call fcn.004663b0
add esp, 0x14
test eax, eax
jne 0x41f2a4
push esi
push 0xffffffffffffffff
push dword [ebp - 0x120]
push 1
push dword [ebp - 0x114]
call fcn.004475d3
add esp, 0x14
test eax, eax
jne 0x41f2a4
push dword [ebp - 0x114]
call fcn.00446d52
pop ecx
cmp eax, 0x64
jne 0x41f28c
push esi
push dword [ebp - 0x114]
call fcn.004471b9
push eax
mov esi, 0x50811c
push esi
push dword [ebp - 0x124]
call fcn.00402a6e
add esp, 0x14
push 1
push dword [ebp - 0x114]
call fcn.004471b9
push eax
push esi
push dword [ebp - 0x128]
call fcn.00402a6e
add esp, 0x14
cmp dword [ebp - 0x11c], 0
je 0x41f27f
push 2
push dword [ebp - 0x114]
call fcn.004471b9
push eax
push esi
push ebx
call fcn.00402a6e
add esp, 0x14
jmp 0x41f28c
push str.0_0_0_0_0
push ebx
call fcn.004c99d0
pop ecx
pop ecx
cmp dword [ebp - 0x114], 0
je 0x41f2a1
push dword [ebp - 0x114]
call fcn.004465d3
pop ecx
xor esi, esi
inc esi
test edi, edi
je 0x41f2af
push edi
call fcn.0047b2a7
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d307
leave
ret
Function at 0x41f2c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov ebx, edx
cmp byte [edi], 0
je 0x41f341
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41f341
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 2
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], esi
push eax
push edi
mov dword [ebp - 0x1c], 0x50c814
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x50c368
call fcn.00499980
add esp, 0x14
cmp byte [ebx], 0
jne 0x41f33e
mov ecx, dword [ebp - 8]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
push str._d._d._d._d
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x41f348
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x140], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push 0x124
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x12c]
push esi
push eax
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], ecx
call fcn.0049ef70
add esp, 0xc
mov edi, esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x13c], ebx
test ebx, ebx
je 0x41f478
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x41f471
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x128]
je 0x41f489
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x41f3ce
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x41f43b
cmp dword [ebp - 0x138], esi
je 0x41f43b
push eax
push esi
push 0x100418
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x41f435
mov edx, dword [ebp - 0x138]
mov ecx, ebx
call fcn.0041ea6e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x13c]
test edi, edi
je 0x41f46e
cmp dword [ebp - 0x140], esi
je 0x41f46e
push edi
push esi
push 0x100418
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41f46e
mov edx, dword [ebp - 0x140]
mov ecx, esi
call fcn.0041ea6e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d307
leave
ret
mov ecx, dword [ebp - 0x144]
mov edi, dword [ebp - 0x118]
test ecx, ecx
je 0x41f402
mov dword [ecx], edi
jmp 0x41f402
Function at 0x41f8a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push 0x3a
pop ecx
push 0x5c
movzx eax, word [esi + 2]
pop edx
cmp cx, ax
jne 0x41f97a
cmp dx, word [esi + 4]
jne 0x41f97a
cmp dword [0x51e854], 0
je 0x41f9c9
xor eax, eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
lea eax, [ebp - 0x20c]
push ebx
push eax
push esi
call fcn.004d8169
add esp, 0xc
test eax, eax
jne 0x41f9c9
push 0x5c
lea ebx, [esi + ebx*2]
pop eax
cmp ax, word [ebx]
jne 0x41f9c9
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea eax, [ebp - 0x20c]
push str.SYSTEM32
push eax
call fcn.004a1f09
pop ecx
pop ecx
test eax, eax
je 0x41f962
push str.Sysnative
push eax
call fcn.004cb981
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x507c84
push edi
call fcn.0040cf04
add esp, 0x10
jmp 0x41f9d1
cmp dx, word [esi]
jne 0x41f9c9
cmp dx, ax
jne 0x41f9c9
push 0x3b
pop eax
cmp ax, word [esi + 4]
jne 0x41f9c9
push 0x12
lea ebx, [esi + 6]
push str.LanmanRedirector_
push ebx
call fcn.004d8169
add esp, 0xc
test eax, eax
jne 0x41f9a7
add ebx, 0x22
push 0x5c
pop eax
push eax
push ebx
call fcn.004a1bfd
pop ecx
pop ecx
test eax, eax
je 0x41f9c9
push eax
push 0x50c8b0
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x41f9d1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0049d307
leave
ret
Function at 0x41fb11
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x20], ecx
push 0x2000
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x41fca8
lea ebx, [edi + 0x400]
mov byte [edi], 0
mov esi, ebx
mov ecx, 0x400
add ebx, ecx
mov dword [ebp - 8], esi
mov eax, 0x104
mov dword [ebp - 0x10], ebx
add ebx, eax
mov dword [ebp - 0x14], ebx
add ebx, eax
mov dword [ebp - 0x18], ebx
add ebx, ecx
mov ecx, edi
lea eax, [ebx + 0x400]
mov dword [ebp - 0x24], eax
call fcn.0048cba0
push str.K7ClnEng.dat
push edi
push 0x506968
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00483b70
mov esi, dword [ebp - 0xc]
add esp, 0x14
cmp eax, 1
jne 0x41fc8d
test esi, esi
je 0x41fc8d
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push ecx
push dword [ebp - 0x20]
mov dword [ebp - 4], 0x400
mov byte [ecx], 0
mov ecx, esi
mov eax, dword [esi]
push str.MalwareName
call dword [eax + 0x14]
mov ecx, dword [ebp - 8]
cmp byte [ecx], 0
je 0x41fc8d
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], 0x104
push edx
mov byte [edx], 0
mov eax, dword [esi]
push str.File
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x41fc8d
push eax
push edi
push 0x506968
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41fc8d
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 4]
push edx
push ecx
mov dword [ebp - 4], 0x104
mov byte [ecx], 0
mov eax, dword [esi]
mov ecx, dword [ebp - 8]
push str.Param
push ecx
mov ecx, esi
call dword [eax + 0x14]
push str.K7TSHlpr.exe
push edi
push 0x506968
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
push str.__s___ExecDisinfectTool__File__s___Param__s_
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
lea eax, [ebp - 4]
mov edx, ebx
push eax
push ecx
mov ecx, edi
call fcn.00403e1b
pop ecx
pop ecx
mov dword [ebp - 0x1c], 1
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
je 0x41fca8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x40]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420fd7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x238], edx
push ebx
push ebx
push 3
push ebx
xor edi, edi
mov dword [ebp - 0x228], ebx
inc edi
mov dword [ebp - 0x224], ebx
push edi
mov eax, ecx
mov dword [ebp - 0x22c], 8
mov ecx, 0x104
mov dword [ebp - 0x21c], eax
push SysReAllocString
push eax
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x220], esi
cmp esi, 0xffffffff
je 0x42117e
call fcn.0049aae0
test al, al
je 0x4210d1
lea eax, [ebp - 0x224]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
test eax, eax
je 0x421078
push 2
jmp 0x42117d
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x228]
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
test eax, eax
jne 0x4210b3
push 3
jmp 0x42117d
lea eax, [ebp - 0x110]
push str.TrustedInstaller
push eax
call fcn.004c8c14
pop ecx
pop ecx
test eax, eax
jne 0x4210d1
push 4
jmp 0x42117d
mov eax, dword [ebp - 0x21c]
push 9
inc eax
push 0x50caa0
push eax
call fcn.004d0ef7
add esp, 0xc
test eax, eax
jne 0x421107
mov eax, dword [ebp - 0x21c]
push 0xf
inc eax
push str.:WINDOWSTEMP_
push eax
call fcn.004d0ef7
add esp, 0xc
test eax, eax
jne 0x421126
mov eax, dword [ebp - 0x21c]
push 0xf
inc eax
push 0x50cabc
push eax
call fcn.004d0ef7
add esp, 0xc
test eax, eax
jne 0x4211b0
lea eax, [ebp - 0x248]
push eax
push ebx
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x421144
push 5
jmp 0x42117d
lea ecx, [ebp - 0x240]
call fcn.00420fc4
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.00420fc4
mov ecx, dword [ebp - 0x238]
cmp esi, eax
cmova eax, esi
mov esi, dword [ebp - 0x220]
cmp ecx, eax
jb 0x4211b0
sub ecx, eax
cmp ecx, 0x5460
jbe 0x4211b0
push 6
pop edi
cmp byte [0x51e6c9], bl
je 0x4211b2
push dword [ebp - 0x21c]
lea eax, [ebp - 0x110]
push edi
push str.K7ARW_NotQtReason:_d_FN:_.200s_n
push eax
call fcn.00402a6e
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4211b2
mov ebx, edi
cmp dword [ebp - 0x224], 0
je 0x4211c7
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 0xffffffff
je 0x4211d3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d307
leave
ret
Function at 0x4227a3
Capabilities:
Get disk information

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x116c]
cmp dword [eax], 0xcae77e01
je 0x4227c4
push 0xfcc
push 0
push eax
call fcn.0049ef70
add esp, 0xc
xor edx, edx
mov ecx, esi
inc edx
pop esi
jmp fcn.0041fcb1

Function at 0x4227cf
Capabilities:
Get disk information

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x116c]
cmp dword [eax], 0xcae77e01
je 0x4227f0
push 0xfcc
push 0
push eax
call fcn.0049ef70
add esp, 0xc
mov ecx, esi
pop esi
jmp fcn.00420185

Function at 0x4227f8
Capabilities:
Get disk information

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x1f0]
cmp dword [eax], 0xcae77e01
je 0x422819
push 0x1f48
push 0
push eax
call fcn.0049ef70
add esp, 0xc
push 5
pop edx
mov ecx, esi
pop esi
jmp fcn.0041fcb1

Function at 0x422824
Capabilities:
Get disk information

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x1f0]
cmp dword [eax], 0xcae77e01
je 0x422845
push 0x1f48
push 0
push eax
call fcn.0049ef70
add esp, 0xc
push 4
pop edx
mov ecx, esi
pop esi
jmp fcn.0041fcb1

Function at 0x42286a
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
lea eax, [esi + 0xba0]
cmp dword [eax], 0xcae77e01
je 0x42288e
push 0x1598
push 0
push eax
call fcn.0049ef70
add esp, 0xc
mov edx, edi
mov ecx, esi
pop edi
pop esi
jmp fcn.004206ee
Function at 0x422dcc
Capabilities:
Print debug messages

Disassembly:
cmp byte [0x51e6c9], 0
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
je 0x422de7
push str.K7RTScan:_RemoveMalwareFileStartupReferences_Invoked.._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.0041e527
cmp dword [0x52e6dc], 0
je 0x422e2f
push 0x1000
call fcn.004c8d06
mov edi, eax
pop ecx
test edi, edi
je 0x422e2f
push 0x1000
push ebx
push edi
mov byte [edi], 0
call fcn.004cb853
add esp, 0xc
push 0
push esi
push edi
call dword [0x52e6dc]
push edi
mov esi, eax
call fcn.004c8ceb
pop ecx
mov eax, esi
jmp 0x422e31
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x422e61
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xc], ecx
cmp byte [0x51e6c9], 0
mov ebx, edx
push edi
je 0x422e85
push str.K7RTScan:_RemoveMalwareCleanSystem_Invoked.._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.K7ClnEng.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422ece
push str.K7ScnEng_CleanSystem
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422ec7
lea ecx, [ebp - 8]
mov dword [ebp - 8], esi
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
push ecx
push esi
push esi
call eax
mov ecx, dword [ebp - 4]
mov esi, eax
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
mov cl, byte [ebp - 8]
mov byte [ebx], cl
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x426922
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea ecx, [ebp - 0x11c]
xor ebx, ebx
call fcn.0041d045
cmp eax, 1
je 0x42696c
lea ecx, [ebp - 0x11c]
call fcn.0041d2d2
cmp eax, 1
jne 0x4269e7
lea ecx, [ebp - 0x11c]
call fcn.0041d045
cmp eax, 1
jne 0x4269e7
push edi
lea eax, [ebp - 0x108]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x109], 0x5c
jne 0x4269a3
dec eax
cmp eax, edi
jae 0x4269f6
mov byte [ebp + eax - 0x108], bl
lea ecx, [ebp - 0x108]
call fcn.0041d73c
push 0xe
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.0049ef70
add esp, 0xc
lea ecx, [ebp - 0x118]
call fcn.0041dada
movzx eax, byte [ebp - 0x118]
xor ebx, ebx
mov dword [0x51e814], eax
inc ebx
movzx eax, byte [ebp - 0x117]
mov dword [0x51e810], eax
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0049d307
leave
ret
call fcn.0049d83b
int3

Function at 0x426e2e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov eax, esi
or dword [eax + 0x52e74c], 0xffffffff
mov dword [eax + 0x52e750], esi
add eax, 0x14
cmp eax, 0x208
jb 0x426e37
cmp dword [0x51e8b4], esi
je 0x426e77
lea eax, [ebp - 4]
push eax
push esi
push ecx
push 0x426e09
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x426e77
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
mov eax, esi
pop esi
leave
ret

Function at 0x4275b4
Capabilities:
Create thread

Disassembly:
cmp ecx, 0x12345678
je 0x4275bf
xor eax, eax
ret
jmp fcn.004192bb
Function at 0x427f21
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0x5c3a41
cmp dword [edi], 0x8000
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
jne 0x42806e
cmp dword [edi + 0x10], 2
jne 0x42806e
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov dword [ebp - 8], ecx
xor eax, eax
inc eax
shl eax, cl
test dword [edi + 0x18], eax
je 0x427f7a
lea eax, [ebp - 4]
add cl, 0x41
push eax
mov byte [ebp - 4], cl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edx, eax
cmp edx, 5
je 0x427f8c
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, 0x20
jb 0x427f56
cmp edx, 5
jne 0x42806e
push 0x118
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x42806e
xor edx, edx
mov dword [esi], 2
inc edx
mov dword [esi + 4], edx
mov eax, edx
movsx ecx, byte [ebp - 4]
sub ecx, 0x41
mov dword [esi + 0x110], edx
shl eax, cl
mov dword [esi + 0x10c], eax
lea eax, [esi + 8]
push dword [0x51e950]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [0x51e954], 0
jne 0x42806e
cmp dword [0x51e968], 0
jne 0x427ffc
cmp dword [0x51e974], 0
je 0x42806e
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
push esi
push 0x4283c4
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42801e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42802e
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x51e978], 0
je 0x42804a
cmp dword [0x51e8dc], 0
jne 0x42804a
mov dl, byte [ebp - 4]
push ecx
call fcn.00425f5c
pop ecx
cmp dword [0x51e97c], 0
je 0x42806e
cmp dword [0x51e8dc], 0
jne 0x42806e
push dword [ebp - 0xc]
mov edx, dword [edi + 0x18]
mov ecx, dword [0x51e950]
call fcn.00426142
pop ecx
xor eax, eax
pop edi
inc eax
pop esi
leave
ret

Function at 0x4280c4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], 1
call fcn.00405dd4
cmp dword [ebp - 4], 0
je 0x428151
push esi
push 0x1000
call fcn.0049da2e
mov esi, eax
pop ecx
test esi, esi
je 0x428150
push edi
mov ecx, esi
mov byte [esi], 0
lea edi, [esi + 0x400]
call fcn.00404436
push str.K7Tlmtry.exe
push esi
push 0x506968
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x428145
push str._rtscan
push str.K7Tlmtry.exe
push esi
push str.__s_s___s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0
push 0
push edi
call fcn.0049a770
push 1
push esi
call fcn.0049da37
pop ecx
pop ecx
pop edi
pop esi
leave
ret