joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404bd0
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x431dfc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404c7b
cmp dword [ebp + 0x10], 0
push edi
je 0x404c69
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
push esi
mov dword [ebp - 0x30], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
call edi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x404c64
cmp eax, 6
je 0x404c64
cmp eax, 2
je 0x404c64
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004138ed
mov esp, ebp
pop ebp
ret
push 9
push esi
call edi
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004138ed
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004138ed
mov esp, ebp
pop ebp
ret

Function at 0x404c90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
mov dword [ebp - 0x234], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x230]
push eax
mov ebx, 0x22c
push esi
mov dword [ebp - 0x230], ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x404ce6
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004138ed
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x230]
push ecx
push esi
mov dword [ebp - 0x230], ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x404d63
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x20c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404d36
test dx, dx
je 0x404d32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404d36
add eax, 4
add ecx, 4
test dx, dx
jne 0x404d10
xor eax, eax
jmp 0x404d3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404d58
lea edx, [ebp - 0x230]
push edx
push esi
mov dword [ebp - 0x230], ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x404d01
jmp 0x404d62
mov dword [ebp - 0x234], 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
pop esi
xor ecx, ebp
pop ebx
call fcn.004138ed
mov esp, ebp
pop ebp
ret
Function at 0x404d80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.healthdw.exe
call fcn.00404c90
add esp, 4
test eax, eax
jne 0x404e39
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call fcn.004146f0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x108]
push 0x5c
push edx
call fcn.00414f60
mov byte [eax], 0
lea eax, [ebp - 0x108]
add esp, 8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404df2
mov ecx, dword [0x428a8c]
mov edx, dword [0x428a90]
mov dword [eax], ecx
mov ecx, dword [0x428a94]
push 0
mov dword [eax + 4], edx
mov dx, word [0x428a98]
push 0
mov dword [eax + 8], ecx
push 0
mov word [eax + 0xc], dx
lea eax, [ebp - 0x108]
push eax
push 0x428a84
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004138ed
mov esp, ebp
pop ebp
ret
Function at 0x405c20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push edi
or ecx, 0x2001f
push ecx
xor ebx, ebx
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], ebx
call fcn.004054f0
mov edi, eax
cmp edi, ebx
je 0x405c9a
mov eax, dword [ebp - 0x210]
cmp eax, ebx
je 0x405c85
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004138ed
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
mov dword [ebp - 0x214], pe_nt_image_headers32
call ebx
test eax, eax
jne 0x405d18
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00405c20
mov edi, eax
test edi, edi
jne 0x405d51
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push eax
push eax
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push edi
push edx
mov dword [ebp - 0x214], pe_nt_image_headers32
call ebx
test eax, eax
je 0x405cd0
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp eax, edi
je 0x405d33
push eax
call ebx
mov dword [ebp - 0x210], edi
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x20c], edi
push eax
cmp ecx, edi
je 0x405d7b
mov edx, dword [esi]
push edx
call fcn.004052c0
jmp 0x405d84
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x405c85
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004138ed
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [ebp - 0x210]
cmp eax, edi
je 0x405d93
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004138ed
mov esp, ebp
pop ebp
ret 4
Function at 0x4073a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x40c], ecx
xor ecx, ecx
push 2
push ecx
push eax
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x408], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4073ef
call fcn.00405200
mov esi, eax
jmp 0x407496
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x407408
call fcn.00405200
jmp 0x40748d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x40741d
call fcn.00405200
jmp 0x40748d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x407435
mov esi, 0x8007000e
jmp 0x40748f
push eax
lea ecx, [ebp - 0x408]
call fcn.004063d0
mov eax, dword [ebp - 0x408]
test eax, eax
jne 0x407452
mov esi, 0x8007000e
jmp 0x40748f
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x40746b
call fcn.00405200
jmp 0x40748d
mov edx, dword [ebp - 0x408]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x408]
push eax
push ecx
lea ecx, [ebp - 0x410]
call fcn.004071a0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x404]
cmp dword [ebp - 0x408], edx
je 0x4074b0
lea ecx, [ebp - 0x408]
call fcn.00405bc0
nop
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004138ed
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407ad0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x59c
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x594]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 1
test eax, eax
je 0x407b01
call fcn.004161eb
push str.HealthAide
push str.HealthAide_Mutex
call fcn.00404bd0
add esp, 0xc
test eax, eax
je 0x407ba9
call fcn.00404d80
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [ebp - 0x59c]
push ecx
mov dword [ebp - 0x59c], 8
mov dword [ebp - 0x598], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push esi
push 0
mov ecx, 0x431e04
call fcn.00404fb0
lea ecx, [ebp - 0x404]
call fcn.004117a0
push 0
push esi
lea ecx, [ebp - 0x404]
call fcn.00411d40
test eax, eax
je 0x407b8e
lea ecx, [ebp - 0x404]
call fcn.00411910
mov ecx, 0x431e04
call fcn.00407340
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x404]
call fcn.004117c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004138ed
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a8a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
lea eax, [ebp - 0x28]
push eax
push 1
push 0
push str.SoftwareTime
push 0x80000001
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a923
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0
push str.Value
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x24]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40a930
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a940
mov ecx, dword [ebp - 4]
sub eax, edx
mov eax, 0
setne al
xor ecx, ebp
call fcn.004138ed
mov esp, ebp
pop ebp
ret

Function at 0x40a960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
test eax, eax
je 0x40aa00
cmp byte [eax], 0
je 0x40aa00
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a980
push ebx
push esi
sub eax, edx
push edi
mov esi, eax
lea eax, [ebp - 4]
push eax
push str.SoftWareTime
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40a9cc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push esi
push ecx
push 1
push 0
push str.Value
push edx
call edi
mov eax, dword [ebp - 4]
push eax
call ebx
lea ecx, [ebp - 8]
push ecx
push str.SoftWareTime
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40a9fd
mov edx, dword [ebp + 8]
push esi
push edx
push 1
push eax
mov eax, dword [ebp - 8]
push str.Value
push eax
call edi
mov ecx, dword [ebp - 8]
push ecx
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ad20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x114], 4
mov byte [ebp - 0x108], bl
call fcn.004146f0
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 0x101
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ae06
mov ecx, dword [ebp - 0x10c]
push edi
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
push str.InstallDate
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x10c]
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
jne 0x40ae06
mov eax, dword [ebp - 0x110]
push eax
lea ecx, [ebp - 0x108]
push 0x42d408
push ecx
call fcn.00414004
lea eax, [ebp - 0x108]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
add esp, 0xc
mov byte [esi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40adf3
sub eax, edx
push eax
lea edx, [ebp - 0x108]
push edx
jmp 0x40ae19
push 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
push 0x426580
mov ecx, esi
call fcn.004016b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004138ed
mov esp, ebp
pop ebp
ret

Function at 0x40ae40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004146f0
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push str.SoftwareDaerwen
push 0x80000002
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x110], 0x103
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40af1a
lea edx, [ebp - 0x110]
push edx
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0
push str.ChannelID
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x108]
push eax
push str.channel:_s_n
call fcn.0041529d
mov ecx, dword [ebp - 0x10c]
add esp, 8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x108]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40af07
sub eax, edx
push eax
lea edx, [ebp - 0x108]
push edx
jmp 0x40af32
push 7
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
push str.default
mov ecx, esi
call fcn.004016b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.004138ed
mov esp, ebp
pop ebp
ret
Function at 0x40af50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x3f
lea eax, [ebp - 0x43]
push ebx
push eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x44], bl
call fcn.004146f0
add esp, 0xc
push ebx
push edi
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x60], bl
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
jne 0x40afd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_GetFileVersionInfoSize:__d_n
call fcn.0041529d
add esp, 8
push 7
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push str.default
mov ecx, esi
mov byte [esi], bl
call fcn.004016b0
jmp 0x40b0a2
push edi
call fcn.00414f98
mov edx, dword [ebp - 0x6c]
add esp, 4
push eax
push edi
push ebx
push edx
mov dword [ebp - 0x68], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x40b00e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_GetFileVersionInfo:__d_n
call fcn.0041529d
mov eax, dword [ebp - 0x68]
push eax
call fcn.00414f8d
add esp, 0xc
jmp 0x40afb4
mov edi, dword [ebp - 0x68]
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x64]
push eax
push 0x4290ac
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x40b047
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_VerQueryValue:__d_n
call fcn.0041529d
push edi
call fcn.00414f8d
add esp, 0xc
jmp 0x40afb4
mov eax, dword [ebp - 0x64]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
lea ecx, [ebp - 0x44]
push 0x429084
push ecx
call fcn.00414004
lea eax, [ebp - 0x44]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40b075
sub eax, edx
push eax
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x60]
call fcn.004016b0
lea eax, [ebp - 0x60]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.00401630
cmp dword [ebp - 0x4c], 0x10
jb 0x40b0b4
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00413551
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004138ed
mov esp, ebp
pop ebp
ret
Function at 0x40b1b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [edi + 0x14], eax
mov byte [edi], bl
mov dword [edi + 0x30], eax
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x1c], bl
mov dword [edi + 0x4c], eax
mov dword [edi + 0x48], ebx
mov byte [edi + 0x38], bl
mov dword [edi + 0x68], eax
push 0x103
lea eax, [ebp - 0x107]
push ebx
mov dword [edi + 0x64], ebx
mov byte [edi + 0x54], bl
push eax
mov byte [ebp - 0x108], bl
call fcn.004146f0
add esp, 0xc
lea ecx, [ebp - 0x240]
push ecx
push 0x2b
push ebx
mov dword [ebp - 0x240], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40b29d
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x108]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [ebp - 0x240]
push ecx
mov dword [ebp - 0x23c], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x23c], ebx
je 0x40b29d
lea eax, [ebp - 0x108]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x40b260
mov edx, dword [str.__Daerwen__healthkm.dll]
mov ecx, dword [0x429100]
mov dword [eax], edx
mov edx, dword [0x429104]
mov dword [eax + 4], ecx
mov ecx, dword [0x429108]
mov dword [eax + 8], edx
mov edx, dword [0x42910c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x429110]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
lea edx, [ebp - 0x124]
push edx
call fcn.0040aa90
add esp, 4
push eax
mov ecx, edi
call fcn.00401630
cmp dword [ebp - 0x110], 0x10
jb 0x40b2cc
mov eax, dword [ebp - 0x124]
push eax
call fcn.00413551
add esp, 4
sub esp, 0x1c
mov ecx, esp
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
mov byte [ecx], bl
mov dword [ebp - 0x23c], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40b2f0
sub eax, dword [ebp - 0x23c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004016b0
lea ecx, [ebp - 0x124]
push ecx
call fcn.0040b0d0
add esp, 0x20
push eax
lea ecx, [edi + 0x1c]
call fcn.00401630
mov ebx, 0x10
cmp dword [ebp - 0x110], ebx
jb 0x40b33e
mov edx, dword [ebp - 0x124]
push edx
call fcn.00413551
add esp, 4
lea esi, [ebp - 0x124]
call fcn.0040ae40
push eax
lea ecx, [edi + 0x38]
call fcn.00401630
cmp dword [ebp - 0x110], ebx
jb 0x40b369
mov eax, dword [ebp - 0x124]
push eax
call fcn.00413551
add esp, 4
lea ecx, [ebp - 0x238]
push ecx
mov dword [ebp - 0x238], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 0x124]
push eax
mov dword [edi + 0x70], edx
call fcn.0040ad20
add esp, 4
push eax
lea ecx, [edi + 0x54]
call fcn.00401630
cmp dword [ebp - 0x110], ebx
jb 0x40b3b8
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.00413551
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004138ed
mov esp, ebp
pop ebp
ret
Function at 0x40b4d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x208
lea ecx, [ebp - 0x20c]
push ecx
push 0
mov dword [ebp - 0x214], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x40b5b1
push esi
push edi
push ebx
push 2
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x218]
mov edi, eax
push edi
push ebx
push ecx
lea edx, [ebp - 0x20c]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0x4290ac
push edi
call sub.VERSION.dll_VerQueryValueW
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x210]
movzx edx, word [eax + 0x10]
movzx ecx, word [eax + 0x12]
movzx edi, word [eax + 0x16]
movzx eax, word [eax + 0x14]
push eax
push edi
push edx
mov edx, dword [ebp - 0x214]
push ecx
push str._d._d._d._d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004138ed
mov esp, ebp
pop ebp
ret

Function at 0x40b680
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret
Function at 0x40bb20
Capabilities:
Enumerate processes
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x270], 0x22c
mov dword [ebp - 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x278], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x274], eax
fild qword [ebp - 0x278]
and ecx, 0x80000000
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x278], 0
fild qword [ebp - 0x278]
push 0
push 2
fchs
faddp st(1)
fmul qword [0x429248]
fstp dword [ebp - 0x274]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x40bbbf
fld dword [0x429250]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004138ed
mov esp, ebp
pop ebp
ret
push ebx
lea edx, [ebp - 0x270]
push edx
push edi
call sub.KERNEL32.dll_Process32FirstW
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40bc1a
push esi
jmp 0x40bbe0
mov eax, dword [ebp - 0x268]
push eax
push 0
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40bc08
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
push esi
call ebx
lea ecx, [ebp - 0x270]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40bbe0
pop esi
push edi
call ebx
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x280], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x27c], eax
fild qword [ebp - 0x280]
and ecx, 0x80000000
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x280], 0
fild qword [ebp - 0x280]
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
fchs
pop edi
faddp st(1)
fld qword [0x429248]
fmul st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x27c]
fld dword [ebp - 0x27c]
fsub dword [ebp - 0x274]
fstp dword [ebp - 0x274]
fld dword [ebp - 0x274]
fabs
fstp dword [ebp - 0x274]
fmul dword [ebp - 0x274]
fstp dword [ebp - 0x274]
fld dword [ebp - 0x274]
call fcn.004138ed
mov esp, ebp
pop ebp
ret