joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487b14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x487b4c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x487b2d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x487b3c
or bl, 4
test esi, 0x20000000
je 0x487b47
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x487b9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00487b50
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x48e214
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x48e226
add esp, 0xfffffff0
call fcn.004037a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425c18
mov eax, dword [0x53a720]
mov dword [eax + 4], ebx
mov dword [eax], 0x48e5b8
mov eax, dword [0x53a734]
mov dword [eax + 4], ebx
mov dword [eax], 0x48e5c4
mov eax, ebx
call fcn.0048e5d0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419e54]
call fcn.00403414
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419e54]
call fcn.00403414
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419e54]
call fcn.00403414
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419e54]
call fcn.00403414
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419e54]
call fcn.00403414
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x48a9ec
push eax
push 0
push 0
mov eax, dword [0x53aa00]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427d0c]
call fcn.00429520
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427d0c]
call fcn.00429520
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427d0c]
call fcn.00429520
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0048ea38
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48e914
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48e914
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48e914
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48e363
call fcn.00403800
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48e6f8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48e8a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48e884
mov dl, 1
mov eax, dword [0x41a4b8]
call fcn.00403414
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404278
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48e873
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0047be48
test al, al
je 0x48e866
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x48e8b4
lea eax, [ebp - 0x254]
call fcn.00409d64
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48e866
xor eax, eax
push ebp
push 0x48e85f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x48e8ec
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48e848
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044e8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x48e848
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e866
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x48e769
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f40c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e8aa
lea eax, [ebp - 0x260]
call fcn.00404278
ret

Function at 0x48f1d8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x53bc18]
cmp byte [eax + 0xa5], 0
jne 0x48f249
cmp dword [0x53bc30], 0
jne 0x48f20a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48f194
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x53bc30], eax
cmp dword [0x53bc2c], 0
jne 0x48f225
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x53bc2c], eax
cmp dword [0x53bc34], 0
jne 0x48f249
push esp
push 0
push 0
push 0x48f138
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x53bc34], eax
pop edx
ret
Function at 0x48f39c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48f3b3
add esp, 0xfffffff0
call fcn.004037a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425c18
mov eax, dword [0x53a9d8]
cmp word [eax + 2], 0
jne 0x48f3db
mov eax, dword [0x53a9d8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00490b1c
mov eax, dword [0x53ab58]
cmp word [eax + 2], 0
jne 0x48f3f5
mov eax, dword [0x53ab58]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00490d14
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419e54]
call fcn.00403414
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419e54]
call fcn.00403414
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42888c]
call fcn.00430914
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x48f57c
mov eax, dword [0x53a808]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00430ce4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4912c4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x53a808]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d810
test eax, eax
je 0x48f4ea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409744
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d838
test eax, eax
je 0x48f4fe
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004044e8
mov eax, dword [0x53a534]
cmp byte [eax], 0
jne 0x48f532
mov eax, ebx
call fcn.0048f6a4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004914a0
mov eax, ebx
call fcn.00491e64
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48f572
call fcn.00403800
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48f924
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x53bc18]
cmp dword [eax + 0x30], 0
je 0x48f9ce
cmp dword [ebx + 0x94], 0
jne 0x48f9c8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48f8b4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48f9c8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x48f98e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48f9c8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c91c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48f99d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x490530
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x490565
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404368
jmp 0x490572
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042cc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x49167c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4916bd
mov eax, esi
call fcn.004773cc
test al, al
je 0x4916bd
mov eax, dword [ebx + 0x84]
call fcn.004770c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4916bd
push 0
mov eax, dword [ebx + 0x84]
call fcn.004770c8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x496778
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4967a6
mov eax, ebx
call fcn.0049722c
cmp dword [ebx + 0x40], 0
je 0x49679f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x496817
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x496809
cmp dword [ebx + 8], 0
je 0x4967c8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4967da
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x496809
cmp dword [ebx + 8], 0
je 0x4967bb
cmp eax, 3
je 0x4967ed
dec eax
jne 0x4967bb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4967bb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4967bb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x496835
cmp dword [ebx + 0x14], 0xcc
je 0x496835
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00496840
pop ebx
ret
Function at 0x4a75ec
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4193f4]
call fcn.00404c30
xor eax, eax
push ebp
push 0x4a7730
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x537d9c], 0
jne 0x4a763f
mov ecx, dword [0x53a56c]
mov dl, 1
mov eax, dword [0x407a24]
call fcn.0040c9fc
call fcn.00403c10
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402df4
mov eax, ebx
call fcn.00404ae0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a7740
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405e88
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404af0
test eax, eax
jle 0x4a76d7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4a76d0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404500
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004044e8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408954
test eax, eax
jne 0x4a76d0
mov ebx, 0x15
jmp 0x4a76dc
mov ebx, 0x10
jmp 0x4a76dc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x537d9c]
call fcn.004a74e8
mov eax, dword [ebp - 8]
call fcn.004a74e8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7737
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040429c
lea eax, [ebp - 0x10]
mov edx, dword [0x4193f4]
call fcn.00404d00
ret

Function at 0x4a8cc4
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004073b8
ret
Function at 0x4a9018
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0xc]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x538294]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x538294]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x538294]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x538294]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x537e18]
mov dword [edx + eax*4 + 0x10], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x14], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x18], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x1c], ecx
add eax, 4
cmp eax, 0x28
jl 0x4a9043
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4ac41c
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaac
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x554], eax
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x550], eax
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4ac618
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x540]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov ecx, eax
lea edx, [ebp - 0x540]
lea eax, [ebp - 0x10]
call fcn.00404368
lea edx, [ebp - 0x544]
mov eax, dword [ebp - 0x10]
call fcn.004087b0
mov edx, dword [ebp - 0x544]
lea eax, [ebp - 0x10]
mov ecx, 0x4ac630
call fcn.00404584
xor edx, edx
mov eax, 0xf
call fcn.004a7070
mov edi, eax
mov dword [ebp - 0x140], 0x128
lea edx, [ebp - 0x140]
mov eax, edi
call fcn.004a7090
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4ac5c6
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.004044e8
lea edx, [ebp - 0x548]
xor eax, eax
call fcn.00402b0c
mov eax, dword [ebp - 0x548]
lea edx, [ebp - 0x18]
call fcn.00409524
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404684
jne 0x4ac539
mov eax, dword [ebp - 0x128]
mov esi, eax
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 4], eax
jmp 0x4ac57b
lea eax, [ebp - 0x550]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.004044e8
mov eax, dword [ebp - 0x550]
lea edx, [ebp - 0x54c]
call fcn.004087b0
mov eax, dword [ebp - 0x54c]
mov edx, 0x4ac648
call fcn.00404684
jne 0x4ac57b
mov eax, dword [ebp - 0x138]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x554]
mov eax, dword [ebp - 0x14]
call fcn.004087b0
mov eax, dword [ebp - 0x554]
mov edx, 0x4ac660
call fcn.00404684
jne 0x4ac5b3
mov bl, 1
mov eax, dword [ebp - 0x138]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x140]
mov eax, edi
call fcn.004a70b0
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4ac4e4
test bl, bl
je 0x4ac5dd
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
cmp esi, dword [ebp - 8]
je 0x4ac5ed
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac61f
lea eax, [ebp - 0x554]
mov edx, 5
call fcn.0040429c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040429c
ret
Function at 0x4acacc
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4acc53
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x440eac]
call fcn.00440fac
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4acc31
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [ebp - 8]
mov edx, 0x4acc68
call fcn.00404310
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.0044104c
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004410b4
test al, al
je 0x4acb93
mov edx, dword [0x4ac1d4]
mov eax, 0x10
call fcn.00405174
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 8]
call fcn.004042cc
lea eax, [ebx + 8]
mov edx, 0x4accb4
call fcn.004042cc
lea ecx, [ebp - 0xc]
mov edx, 0x4accb4
mov eax, dword [ebp - 4]
call fcn.00441630
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004042cc
mov edx, ebx
mov eax, esi
call fcn.0041c7c0
lea eax, [ebp - 8]
mov edx, 0x4acc68
call fcn.00404310
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.0044104c
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004410b4
test al, al
je 0x4acc1b
mov edx, dword [0x4ac1d4]
mov eax, 0x10
call fcn.00405174
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 8]
call fcn.004042cc
lea eax, [ebx + 8]
mov edx, 0x4acccc
call fcn.004042cc
lea ecx, [ebp - 0x10]
mov edx, 0x4acccc
mov eax, dword [ebp - 4]
call fcn.00441630
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0xc]
call fcn.004042cc
mov edx, ebx
mov eax, esi
call fcn.0041c7c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acc38
mov eax, dword [ebp - 4]
call fcn.00403444
ret
Function at 0x4ad274
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ad41e
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x43
cmp byte [0x53bcc8], 3
je 0x4ad403
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404460
lea eax, [ebp - 8]
mov edx, 0x4ad434
call fcn.00404540
mov eax, dword [ebp - 8]
call fcn.00404738
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 2
je 0x4ad2e5
sub eax, 2
je 0x4ad32c
dec eax
je 0x4ad373
dec eax
je 0x4ad3b7
jmp 0x4ad3f9
lea eax, [ebp - 4]
call fcn.00404278
lea eax, [ebp - 0xc]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.00402cd8
mov edx, 0x4ad438
lea eax, [ebp - 0x10]
mov cl, 2
call fcn.00402ca8
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004044dc
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4ad3f9
lea eax, [ebp - 4]
call fcn.00404278
lea eax, [ebp - 0xc]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.00402cd8
mov edx, 0x4ad438
lea eax, [ebp - 0x10]
mov cl, 2
call fcn.00402ca8
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004044dc
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4ad3f9
lea eax, [ebp - 4]
call fcn.00404278
lea eax, [ebp - 0xc]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.00402cd8
mov edx, 0x4ad438
lea eax, [ebp - 0x10]
mov cl, 2
call fcn.00402ca8
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004044dc
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4ad3f9
lea eax, [ebp - 4]
call fcn.00404278
lea eax, [ebp - 0xc]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.00402cd8
mov edx, 0x4ad438
lea eax, [ebp - 0x10]
mov cl, 2
call fcn.00402ca8
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004044dc
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp bl, 0x5b
jne 0x4ad296
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad425
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040429c
ret