joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70cdca
Capabilities:
Hash data with md5

Disassembly:
xlatb
invalid
call 0x70cdca
mov byte [esp + 4], bh
mov dword [esp + 1], ecx
mov cx, 0xdc4b
pop word [esp + 3]
lea ecx, [esi*4]
pop ecx
jmp 0x70cdb3
lea esp, [esp + 1]
xchg ch, cl
mov cx, word [esp]
call fcn.0070cd9d
adc al, 0x87
pop ss
jb 0x70cd48
dec ecx
mov edx, 0x8998eb95
cmp al, 0x24
lea edi, [eax + 0xa1]
mov di, word [esp]
mov di, word [esp]
bswap edi
lea edi, [eax + 0xd9]
jmp 0x70cf05
push edx
mov dl, byte [esp]
push edx
xchg byte [esp], cl
pop di
pop dx
jmp fcn.0070cedf

Function at 0x70ce7d
Capabilities:
Hash data with md5

Disassembly:
lea esp, [esp + 1]
jmp 0x70ceaa
lea esp, [esp + 4]
mov dword [eax + 4], 0
jmp 0x70cf88
mov word [esp + 4], sp
lea esp, [esp + 0x20]
mov dword [eax + 0x10], 0x98badcfe
jmp 0x70cf67
mov dword [eax + 8], reloc.iphlpapi.dll_GetAdaptersInfo
push esp
lea esp, [esp + 4]
mov dword [eax + 0xc], 0xefcdab89
pushal
jmp 0x70cf13
lea esp, [esp + 0x20]
ret
mov dword [eax + 0x14], reloc.iphlpapi.dll_GetAdaptersInfo
pushal
mov dword [esp + 0x1b], eax
jmp 0x70cf4a
mov dword [eax], 0
push esp
lea esp, [esp + 3]
lea esp, [esp + 1]
jmp 0x70cf34

Function at 0x70cec4
Capabilities:
Hash data with md5

Disassembly:
lea esp, [esp + 3]
call fcn.0070ce7d
mov ebp, 0x21d2b727
cdq
lds ebx, [eax - 0x32]
test eax, 0x2435e658
push edi
mov esi, 0xf9872889
xchg ecx, edi

Function at 0x81d1ad
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.0081d01e
mov dword [esp], esi
mov dword [esp], eax
mov word [esp], di
pop word [esp]
jmp 0x81d221
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x81d240
mov byte [esp], dh
lea esp, [esp + 1]
lea esp, [esp + 1]
mov dword [esp + 0x24], edi
lea esp, [esp + 0x24]
jmp 0x81d205
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x81d286
push eax
jmp 0x81d019

Function at 0x81d262
Capabilities:
Parse pe header

Disassembly:
push dword [esp + 3]
mov word [esp], bx
call fcn.0081d23e
Function at 0x40855b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4085a2
call fcn.0041068a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4085a2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4085be
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004080d3
mov esi, eax
test edi, edi
je 0x4085bc
test ebx, ebx
je 0x4085bc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x409a60
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x44cba5
call fcn.0042492c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x409a85
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x409acb
lea ecx, [ebp - 0x10]
call fcn.00401be0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004089e1
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401b80
mov eax, esi
call fcn.00424a04
ret 8

Function at 0x40b19a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40b1e2
call fcn.0041068a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40b1e2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40b225
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40b20e
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40b20e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40b222
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40c4cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x40c4f3
cmp dword [edi + 0x54], 0
jne 0x40c4f3
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041068a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040c490
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x422647
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46972c]
jne 0x422651
repz ret
jmp fcn.00429126

Function at 0x431aa5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00428b35
and dword [ebp - 4], 0
cmp dword [0x46dac4], 0
mov ebx, eax
jne 0x431b56
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x431c07
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x431c07
push eax
call fcn.00428ac3
mov dword [esp], 0x454db8
push edi
mov dword [0x46dac4], eax
call esi
push eax
call fcn.00428ac3
mov dword [esp], 0x454da4
push edi
mov dword [0x46dac8], eax
call esi
push eax
call fcn.00428ac3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46dacc], eax
call esi
push eax
call fcn.00428ac3
pop ecx
mov dword [0x46dad4], eax
test eax, eax
je 0x431b56
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00428ac3
pop ecx
mov dword [0x46dad0], eax
mov eax, dword [0x46dad0]
cmp eax, ebx
je 0x431bae
cmp dword [0x46dad4], ebx
je 0x431bae
push eax
call fcn.00428b3e
push dword [0x46dad4]
mov esi, eax
call fcn.00428b3e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x431bae
test edi, edi
je 0x431bae
call esi
test eax, eax
je 0x431ba5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x431ba5
test byte [ebp - 0xc], 1
jne 0x431bae
or dword [ebp + 0x10], 0x200000
jmp 0x431be7
mov eax, dword [0x46dac8]
cmp eax, ebx
je 0x431be7
push eax
call fcn.00428b3e
pop ecx
test eax, eax
je 0x431be7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x431be7
mov eax, dword [0x46dacc]
cmp eax, ebx
je 0x431be7
push eax
call fcn.00428b3e
pop ecx
test eax, eax
je 0x431be7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46dac4]
call fcn.00428b3e
pop ecx
test eax, eax
je 0x431c07
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x431c09
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x439310
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x46972c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x674], ecx
mov dword [ebp - 0x670], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00422660
add esp, 0xc
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00422660
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x457340
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x668]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x66c], eax
cmp dword [ebp - 0x66c], 0xffffffff
jne 0x4393be
xor al, al
jmp 0x439475
cmp dword [ebp - 0x670], 0
jne 0x43943a
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x45734c
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x668]
push eax
mov ecx, dword [ebp - 0x66c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x439438
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x439438
mov dword [ebp - 0x670], 1
jmp 0x4393be
mov edx, dword [ebp - 0x66c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x104
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.00422660
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.00422660
add esp, 0xc
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422647
mov esp, ebp
pop ebp
ret 4

Function at 0x439500
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43954a
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x439598
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
shl ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
push 1
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], 0
sete al
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4395a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x46972c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x674], ecx
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00422660
add esp, 0xc
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x43961b
jmp 0x4396d5
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x439696
mov dword [ebp - 0x670], 0
push 0x424
push 0
lea eax, [ebp - 0x66c]
push eax
call fcn.00422660
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43967f
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x240], eax
jmp 0x439696
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43965c
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x240], 0
je 0x4396d5
mov ecx, dword [ebp - 0x240]
push ecx
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4396d5
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00422647
mov esp, ebp
pop ebp
ret 4
Function at 0x439860
Capabilities:
Check if file exists
Get file attributes
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dd0b
mov eax, dword fs:[0]
push eax
sub esp, 0x890
mov eax, dword [0x46972c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x89c], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x898], eax
xor ecx, ecx
mov word [ebp - 0x21c], cx
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.00422660
add esp, 0xc
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.00422660
add esp, 0xc
lea ecx, [ebp - 0x894]
call fcn.00449a20
mov dword [ebp - 4], 0
lea edx, [ebp - 0x424]
push edx
push 0x456ac0
push 0x456ae0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x894]
call fcn.00449690
push 0x456b68
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x10], 0
jmp 0x43992f
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 8]
jge 0x4399fe
mov eax, dword [ebp - 0x898]
movzx ecx, byte [eax + 0x83c]
test ecx, ecx
je 0x4399e7
mov edx, dword [ebp - 0x898]
movzx eax, byte [edx + 0x83f]
test eax, eax
jne 0x4399e7
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x898]
add eax, 0x814
push eax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x456a5c
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4399e7
mov ecx, dword [ebp - 0x898]
mov byte [ecx + 0x83f], 1
mov edx, dword [ebp - 0x898]
add edx, 0x20c
push edx
mov eax, dword [ebp - 0x898]
add eax, 4
push eax
mov ecx, dword [ebp - 0x89c]
call fcn.00439760
jmp 0x4399fe
mov ecx, dword [ebp - 0x898]
mov edx, dword [ecx + 0x844]
mov dword [ebp - 0x898], edx
jmp 0x439926
mov dword [ebp - 0x898], 0
push 0x104
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00422660
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x424]
push ecx
call fcn.00422660
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x894]
call fcn.00449a00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00422647
mov esp, ebp
pop ebp
ret 8
Function at 0x43bf10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x46972c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x448], ax
push 0x206
push 0
lea ecx, [ebp - 0x446]
push ecx
call fcn.00422660
add esp, 0xc
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x449], 0
mov dword [ebp - 0x23c], 1
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea edx, [ebp - 0x234]
push edx
call fcn.00422660
add esp, 0xc
cmp dword [0x46db80], 0
je 0x43c027
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov edx, dword [ebp - 0x230]
cmp edx, dword [0x46db80]
jne 0x43bfcd
mov byte [ebp - 0x449], 1
jmp 0x43c01a
movzx eax, byte [ebp - 0x449]
test eax, eax
jne 0x43c01a
cmp dword [ebp - 0x23c], 1
jne 0x43c01a
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x230]
cmp eax, dword [0x46db80]
jne 0x43c011
mov byte [ebp - 0x449], 1
jmp 0x43c018
mov byte [ebp - 0x449], 0
jmp 0x43bfcd
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x449]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422647
mov esp, ebp
pop ebp
ret

Function at 0x43c040
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x46972c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00422660
add esp, 0xc
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x43c0b7
xor al, al
jmp 0x43c155
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x43c137
mov dword [ebp - 0x670], 0
push 0x424
push 0
lea eax, [ebp - 0x66c]
push eax
call fcn.00422660
add esp, 0xc
push 0x1a
lea ecx, [ebp - 0x214]
push ecx
push 0x45b71c
call fcn.004233da
add esp, 0xc
test eax, eax
jne 0x43c120
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x240], edx
jmp 0x43c137
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43c0f8
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x240], 0
je 0x43c153
mov al, 1
jmp 0x43c155
xor al, al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00422647
mov esp, ebp
pop ebp
ret
Function at 0x43c810
Capabilities:
Check if file exists
Get file attributes
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dd71
mov eax, dword fs:[0]
push eax
sub esp, 0x890
mov eax, dword [0x46972c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x89c], ecx
mov byte [ebp - 0x895], 0
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.00422660
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00422660
add esp, 0xc
lea ecx, [ebp - 0x894]
call fcn.00449a20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x21c]
push ecx
push 0x45a0e4
push 0x45a108
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x894]
call fcn.00449690
push 0x45a190
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 0x89c]
mov ecx, dword [ebp - 0x89c]
mov edx, dword [ecx + 0x13c]
mov dword [eax + 0x138], edx
mov dword [ebp - 0x10], 0
jmp 0x43c8f5
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x89c]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x15c]
jge 0x43c9dc
mov eax, dword [ebp - 0x89c]
mov ecx, dword [eax + 0x138]
mov byte [ecx + 0x840], 0
mov edx, dword [ebp - 0x89c]
mov eax, dword [edx + 0x138]
mov byte [eax + 0x83d], 0
mov ecx, dword [ebp - 0x89c]
mov edx, dword [ecx + 0x138]
movzx eax, byte [edx + 0x83c]
test eax, eax
je 0x43c9b9
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x89c]
mov ecx, dword [eax + 0x138]
add ecx, 0x814
push ecx
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str..exe
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c9b9
mov edx, dword [ebp - 0x89c]
mov eax, dword [edx + 0x138]
mov byte [eax + 0x83f], 1
mov byte [ebp - 0x895], 1
mov ecx, dword [ebp - 0x89c]
mov edx, dword [ecx + 0x138]
mov eax, dword [ebp - 0x89c]
mov ecx, dword [edx + 0x844]
mov dword [eax + 0x138], ecx
jmp 0x43c8ec
push 0x104
push 0
lea edx, [ebp - 0x424]
push edx
call fcn.00422660
add esp, 0xc
mov al, byte [ebp - 0x895]
mov byte [ebp - 0x896], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x894]
call fcn.00449a00
mov al, byte [ebp - 0x896]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00422647
mov esp, ebp
pop ebp
ret
Function at 0x43d050
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x46972c]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x48c], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x48c]
call fcn.004026c0
push 0x45ac18
push 0x45ac3c
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43d0e9
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push 0x280
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.00402470
push eax
mov ecx, dword [ebp - 0x48c]
call fcn.00405092
push 5
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43d150
lea ecx, [ebp - 0x488]
call fcn.00449a20
mov ecx, dword [ebp - 0x48c]
mov edx, dword [ecx + 0x140]
push edx
push str.Cannot_find_HP_Software_Setup_title____CurrentPage___d
mov eax, dword [ebp - 0x48c]
add eax, 0x984
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x456cae
mov ecx, dword [ebp - 0x48c]
add ecx, 0x984
push ecx
mov edx, dword [ebp - 0x48c]
add edx, 0xb8c
push edx
lea ecx, [ebp - 0x488]
call fcn.0044a040
lea ecx, [ebp - 0x488]
call fcn.00449a00
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00422647
mov esp, ebp
pop ebp
ret 8
Function at 0x43dd50
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44df57
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x46972c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
movzx ecx, byte [eax + 0xe6fc]
test ecx, ecx
je 0x43deca
lea ecx, [ebp - 0x3c]
call fcn.00411789
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00411bb1
mov byte [ebp - 4], 1
push 0x459e74
mov edx, dword [ebp - 0x4c]
add edx, 0xe6f8
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00401ef0
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 2
push 0
mov ecx, dword [ebp - 0x54]
call fcn.004024c0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00411821
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00401a80
cmp dword [ebp - 0x24], 0
je 0x43de4d
lea ecx, [ebp - 0x3c]
call fcn.00411489
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x3c]
call fcn.004025c0
test eax, eax
jne 0x43de18
lea ecx, [ebp - 0x3c]
call fcn.0041174a
test eax, eax
je 0x43de1a
jmp 0x43ddef
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00411ad7
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00402590
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00401a80
jmp 0x43ddef
lea ecx, [ebp - 0x3c]
call fcn.004113a3
mov dword [ebp - 0x40], 0
jmp 0x43de67
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
lea ecx, [ebp - 0x20]
call fcn.00402570
cmp dword [ebp - 0x40], eax
jge 0x43de90
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402550
mov ecx, eax
call fcn.004024c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43de5e
mov ecx, dword [ebp - 0x4c]
add ecx, 0xe6f8
call fcn.004024c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 0xe6fc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00411d8e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004117b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret