joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d57c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004254ef
xor ebx, ebx
cmp dword [0x447258], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x42d651
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42d5bc
xor eax, eax
jmp 0x42d715
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4391a0
push edi
call esi
cmp eax, ebx
je 0x42d5b5
push eax
call fcn.0042548c
mov dword [esp], 0x439190
push edi
mov dword [0x447258], eax
call esi
push eax
call fcn.0042548c
mov dword [esp], 0x43917c
push edi
mov dword [0x44725c], eax
call esi
push eax
call fcn.0042548c
mov dword [0x447260], eax
lea eax, [ebp - 8]
push eax
call fcn.00421391
test eax, eax
pop ecx
pop ecx
je 0x42d61f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041f618
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x42d651
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042548c
cmp eax, ebx
pop ecx
mov dword [0x447268], eax
je 0x42d651
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042548c
pop ecx
mov dword [0x447264], eax
mov eax, dword [0x447264]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x42d6ca
cmp dword [0x447268], esi
je 0x42d6ca
push eax
call fcn.004254f8
pop ecx
call eax
cmp eax, ebx
je 0x42d697
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x447268]
call fcn.004254f8
pop ecx
call eax
test eax, eax
je 0x42d697
test byte [ebp - 0x18], 1
jne 0x42d6ca
lea eax, [ebp - 0xc]
push eax
call fcn.004213c8
test eax, eax
pop ecx
je 0x42d6b2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041f618
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x42d6c1
or dword [ebp + 0x10], 0x200000
jmp 0x42d6fb
or dword [ebp + 0x10], 0x40000
jmp 0x42d6fb
mov eax, dword [0x44725c]
cmp eax, esi
je 0x42d6fb
push eax
call fcn.004254f8
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42d6fb
mov eax, dword [0x447260]
cmp eax, esi
je 0x42d6fb
push dword [ebp - 4]
push eax
call fcn.004254f8
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x447258]
call fcn.004254f8
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4329f4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x443430]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00432989
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00420b80
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x432a43
cmp dword [ebp - 0x1c], 5
jb 0x432a5b
jmp 0x432a57
cmp dword [ebp - 0x10], 1
jne 0x432a5b
cmp dword [ebp - 0x1c], 4
ja 0x432a57
jne 0x432a5b
cmp dword [ebp - 0x18], 0
jbe 0x432a5b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x43a358
call fcn.0043285d
test eax, eax
jge 0x432a7c
mov byte [0x4475bc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041f2bf
add ebp, 0x78
leave
ret
Function at 0x401150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c9da
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x428760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0040725c
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4011f6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004078c3
push 0x426b9c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.0040925b
push edi
push esi
call fcn.004060ad
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004076e0
mov esp, ebp
pop ebp
ret 4

Function at 0x401840
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41ca68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x428760]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00402fe0
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00401770
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x4018b1
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004078c3
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x4018da
push dword [esp + 0xc]
call fcn.00408219
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401d00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ca98
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x428760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x140], esi
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x13c], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x13c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x401dde
lea eax, [ebp - 0x13c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x401dde
mov dword [ebp - 0x144], 1
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004077b0
add esp, 8
test eax, eax
jne 0x401dcc
mov edx, dword [ebp + 0xc]
xor al, al
mov esi, dword [ebp + 8]
xor ecx, ecx
mov edi, dword [ebp - 0x134]
sub edx, esi
sar edx, 2
test edx, edx
je 0x401e15
mov edi, edi
cmp dword [esi + ecx*4], edi
movzx eax, al
cmove eax, dword [ebp - 0x144]
inc ecx
cmp ecx, edx
jb 0x401db0
test al, al
je 0x401e15
mov esi, dword [ebp - 0x140]
lea eax, [ebp - 0x13c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x401d81
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x401df7
push eax
call fcn.00408219
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004076e0
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x401de7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, 0x424b2c
mov ecx, 0x429af8
call fcn.00405150
add esp, 4
mov ecx, eax
call fcn.00402a30
mov edx, 0x424b28
mov ecx, eax
call fcn.00405150
or esi, 0xffffffff
jmp 0x401de7
Function at 0x41888b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040bdc8
mov dword [ebp - 0x14], eax
cmp dword [0x42ab50], esi
jne 0x41897e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41890b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x418a5e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x418a5e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418a5e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42ab50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42ab54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42ab58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42ab60], eax
test eax, eax
je 0x41897b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42ab5c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4189a3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x418996
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4189b8
push 4
pop eax
jmp 0x418a60
cmp dword [ebp - 0x14], esi
je 0x4189b8
push dword [0x42ab50]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41899d
mov eax, dword [0x42ab5c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x418a16
cmp dword [0x42ab60], edi
je 0x418a16
push eax
call ebx
push dword [0x42ab60]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x418a16
test eax, eax
je 0x418a16
call ecx
test eax, eax
je 0x418a0b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x418a0b
test byte [ebp - 8], 1
jne 0x418a16
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x418a46
mov eax, dword [0x42ab54]
cmp eax, edi
je 0x418a43
push eax
call ebx
test eax, eax
je 0x418a43
call eax
mov esi, eax
test esi, esi
je 0x418a43
mov eax, dword [0x42ab58]
cmp eax, edi
je 0x418a43
push eax
call ebx
test eax, eax
je 0x418a43
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42ab50]
call ebx
test eax, eax
je 0x418a5e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x418a60
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004076e0
mov esp, ebp
pop ebp
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..00cfg
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x400c1d6a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x3da3017a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x6ada45da
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x5fe56061
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4619ca
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4785d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0042ee5d
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x401306
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], str.bad_locale_name
call fcn.004192a8
push 0x4742a0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], vtable.std::runtime_error.0
call fcn.004208e3
push edi
push esi
call fcn.0042eada
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419056
mov esp, ebp
pop ebp
ret 4
Function at 0x403460
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4785d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
lea eax, [ebp - 0x14]
push eax
push 0x464390
push 1
push 0
mov dword [ebp - 4], 0
push 0x4643b0
mov dword [ebp - 0x14], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4035a7
mov edx, ebx
lea ecx, [ebp - 0x30]
call fcn.00410f40
mov ecx, eax
mov byte [ebp - 4], 2
cmp dword [ecx + 0x14], 0x10
jb 0x4034e1
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x50]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0x10
jb 0x4034fd
push dword [ebp - 0x30]
call fcn.0041a4c1
add esp, 4
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x40350e
push 0x80004003
call fcn.00444100
mov edx, ebx
lea ecx, [ebp - 0x30]
call fcn.00410f40
mov ecx, eax
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 0x10
jb 0x403526
mov ecx, dword [ecx]
mov eax, dword [esi]
push 0
push ecx
push esi
call dword [eax + 0x44]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0x10
jb 0x403544
push dword [ebp - 0x30]
call fcn.0041a4c1
add esp, 4
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
test esi, esi
jne 0x403567
push 0x80004003
call fcn.00444100
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403574
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], 0
mov eax, dword [esi]
push 0x4643c0
push esi
call dword [eax]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4035a4
cmp dword [edi + 0x14], 8
jb 0x403598
mov edi, dword [edi]
mov eax, dword [ecx]
push 1
push edi
push ecx
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
test eax, eax
setns bl
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4035bd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4035ce
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419056
mov esp, ebp
pop ebp
ret
Function at 0x4037d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x4785d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ecx
lea eax, [ebp - 0x148]
push str._c_taskkill__f__im__s
push eax
call fcn.00419166
lea eax, [ebp - 0x148]
add esp, 0xc
mov dword [ebp - 0x174], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x188]
push eax
or esi, 0xffffffff
mov dword [ebp - 0x188], 0x3c
mov dword [ebp - 0x184], 0x8540
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], str.open
mov dword [ebp - 0x178], str.cmd.exe
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 7
mov dword [ebp - 0x168], 0
movq qword [ebp - 0x164], xmm0
movq qword [ebp - 0x15c], xmm0
movq qword [ebp - 0x154], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x4038c7
push 0xbb8
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4038c7
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x150]
test eax, eax
cmovne esi, dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00419056
mov esp, ebp
pop ebp
ret
Function at 0x407720
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x462018
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4785d0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4785d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x407874
cmp byte [ebx + 0x45], 0
je 0x407874
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x407780
xor al, al
jmp 0x407876
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x4077c0
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, dword [esp + 0x1c]
lea esi, [esp + 0x1c]
cmovae esi, dword [esp + 0x1c]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x407801
dec eax
je 0x407805
sub eax, 2
je 0x40785b
xor bl, bl
jmp 0x40785d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x40783c
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.0041a69c
add esp, 0x10
cmp esi, eax
jne 0x4077fd
cmp byte [ebx + 0x45], 0
je 0x40785b
test esi, esi
jne 0x4077c0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00406fb0
jmp 0x4077c0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x407870
push dword [esp + 0x18]
call fcn.0041a4c1
add esp, 4
mov al, bl
jmp 0x407876
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00419056
mov esp, ebp
pop ebp
ret
Function at 0x4098f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x47f734], 0
push ebx
push esi
xorps xmm0, xmm0
push edi
mov ebx, ecx
movlpd qword [ebp - 8], xmm0
jne 0x409a08
mov dword [0x47f734], 1
xor edi, edi
lea esp, [esp]
mov eax, edi
cdq
mov esi, eax
mov ecx, esi
and ecx, 1
or ecx, 0
je 0x409938
xor esi, 1
xor edx, 0xb0000000
shrd esi, edx, 1
mov eax, esi
and eax, 1
sar edx, 1
or eax, 0
je 0x409951
xor esi, 1
xor edx, 0xb0000000
shrd esi, edx, 1
mov eax, esi
and eax, 1
sar edx, 1
or eax, 0
je 0x40996a
xor esi, 1
xor edx, 0xb0000000
shrd esi, edx, 1
mov eax, esi
and eax, 1
sar edx, 1
or eax, 0
je 0x409983
xor esi, 1
xor edx, 0xb0000000
shrd esi, edx, 1
mov eax, esi
and eax, 1
sar edx, 1
or eax, 0
je 0x40999c
xor esi, 1
xor edx, 0xb0000000
shrd esi, edx, 1
mov eax, esi
and eax, 1
sar edx, 1
or eax, 0
je 0x4099b5
xor esi, 1
xor edx, 0xb0000000
shrd esi, edx, 1
mov eax, esi
and eax, 1
sar edx, 1
or eax, 0
je 0x4099ce
xor esi, 1
xor edx, 0xb0000000
shrd esi, edx, 1
mov eax, esi
and eax, 1
sar edx, 1
or eax, 0
je 0x4099e7
xor esi, 1
xor edx, 0xb0000000
shrd esi, edx, 1
sar edx, 1
mov dword [edi*8 + 0x47f788], esi
mov dword [edi*8 + 0x47f78c], edx
inc edi
cmp edi, 0xff
jle 0x409920
mov cl, byte [ebx]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
test cl, cl
je 0x409a3e
movsx ecx, cl
xor ecx, eax
shrd eax, edx, 8
and ecx, 0xff
sar edx, 8
xor eax, dword [ecx*8 + 0x47f788]
xor edx, dword [ecx*8 + 0x47f78c]
mov cl, byte [ebx + 1]
lea ebx, [ebx + 1]
test cl, cl
jne 0x409a14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409a50
Capabilities:
Get cpu information
Get disk information
Get hostname
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x4785d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x63
lea eax, [ebp - 0x67]
push 0
push eax
mov ebx, edx
mov dword [ebp - 0x1ac], ecx
mov byte [ebp - 0x68], 0
call fcn.00420820
add esp, 0xc
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x1a8], 0x64
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
push 0
push 0
push 0x46cfac
mov dword [ebp - 0x1a4], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x63
lea eax, [ebp - 0xcb]
push 0
push eax
mov byte [ebp - 0xcc], 0
call fcn.00420820
add esp, 0xc
lea eax, [ebp - 0x198]
push eax
push str.HARDWAREDESCRIPTIONSystemBIOS
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x198], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x19c]
push eax
push 0
push str.BaseBoardProduct
push dword [ebp - 0x198]
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1a0], 0x64
call edi
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x409b4e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x63
lea eax, [ebp - 0x12f]
push 0
push eax
mov byte [ebp - 0x130], 0
call fcn.00420820
push 0x63
lea eax, [ebp - 0x193]
push 0
push eax
mov byte [ebp - 0x194], 0
call fcn.00420820
add esp, 0x18
lea eax, [ebp - 0x198]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x198], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x1a0]
push eax
push 0
push str.Identifier
push dword [ebp - 0x198]
mov dword [ebp - 0x19c], 0x64
mov dword [ebp - 0x1a0], 0
call edi
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x1a0]
push eax
push 0
push str.ProcessorNameString
push dword [ebp - 0x198]
mov dword [ebp - 0x19c], 0x64
mov dword [ebp - 0x1a0], 0
call edi
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x409c21
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x1a4]
push str._x_s_s_s_s
push ebx
push dword [ebp - 0x1ac]
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop ebx
call fcn.00419056
mov esp, ebp
pop ebp
ret