joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4173e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59efc0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5e632c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x58]
call fcn.00405540
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00405540
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
call fcn.00416d40
add esp, 4
test eax, eax
je 0x41755b
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.00416be0
add esp, 8
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00401b80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0042f130
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.004019a0
add esp, 8
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x74]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401b80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0042f130
push 0x3c
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.004bbbe0
add esp, 0xc
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x540
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x5cbbb0
lea ecx, [ebp - 0x58]
call fcn.004287b0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x14]
call fcn.004287b0
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp + 0x10], 0
je 0x4174fc
mov dword [ebp - 0x34], 5
jmp 0x417503
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41755b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41755b
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x417536
jmp 0x417551
cmp dword [ebp + 0x14], 0
je 0x41754a
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x54], 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0042f130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0042f130
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x417640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e50b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.004bbbe0
add esp, 0xc
push 1
push 0x23
lea ecx, [ebp - 0x224]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x228]
call fcn.004053f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405470
mov ecx, dword [ebp - 0x22c]
or ecx, 1
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.0042f130
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret

Function at 0x417930
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x417984
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x417890
push 0
push 0
call fcn.004bc4ee
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
jmp 0x417995
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
je 0x417995
mov ecx, dword [ebp - 4]
call fcn.00417a10
mov esp, ebp
pop ebp
ret

Function at 0x4179c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x4179ff
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
jae 0x4179ff
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x10], ecx
mov esp, ebp
pop ebp
ret

Function at 0x417a10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x417a42
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x417a42
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0
mov esp, ebp
pop ebp
ret
Function at 0x417a80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0x25c], 0
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x417b11
mov edx, dword [ebp - 0x258]
and edx, 0x10
jne 0x417af2
mov eax, dword [ebp - 0x23c]
xor edx, edx
mov cl, 0x20
call fcn.004d2190
mov ecx, dword [ebp - 0x238]
xor esi, esi
or eax, ecx
or edx, esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ebp - 0x25c], 1
jmp 0x417b07
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417ab8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x25c]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret
Function at 0x417b30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e4d8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5e632c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x14]
call fcn.00405540
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jbe 0x417c72
mov edx, dword [ebp - 0x34]
add edx, 1
push edx
call fcn.004bb2ee
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x417c60
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x5cbba8
mov eax, dword [ebp - 0x24]
push eax
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push str._d._d._d._d
lea edx, [ebp - 0x14]
push edx
call fcn.004059c0
add esp, 0x18
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004b9c69
add esp, 4
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405470
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042f130
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x417cb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x417cfd
jmp 0x417d88
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004bb2ee
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x417d34
jmp 0x417d88
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x5cbba8
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x417d67
cmp dword [ebp - 8], 0
jne 0x417d6b
jmp 0x417d88
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov dword [ebp - 0x18], 1
cmp dword [ebp - 4], 0
je 0x417da0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.004b9c69
add esp, 4
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret

Function at 0x41be40
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
call fcn.004141d0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x9c0], 1
jmp 0x41be82
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x9c0]
add edx, 1
mov eax, dword [ebp - 8]
mov dword [eax + 0x9c0], edx
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x9c0], 0x270
jae 0x41bed7
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x9c0]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x9c0]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4 - 4]
shr edx, 0x1e
mov ecx, dword [ebp - 8]
xor edx, dword [ecx + eax*4 - 4]
imul edx, edx, 0x6c078965
mov eax, dword [ebp - 8]
add edx, dword [eax + 0x9c0]
and edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x9c0]
mov ecx, dword [ebp - 8]
mov dword [ecx + eax*4], edx
jmp 0x41be6d
mov ecx, dword [ebp - 8]
call fcn.0041bf30
mov esp, ebp
pop ebp
ret 4
Function at 0x41bf30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], SysStringLen
mov dword [ebp - 0xc], SysReAllocString
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x630]
xor edx, dword [ecx + 0x9bc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
and eax, 0x80000000
je 0x41bf79
mov ecx, dword [ebp - 4]
xor ecx, 0x9908b0df
shl ecx, 1
or ecx, 1
mov dword [ebp - 4], ecx
jmp 0x41bf81
mov edx, dword [ebp - 4]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
and ecx, 0x80000000
mov edx, dword [ebp - 4]
and edx, 0x7fffffff
or ecx, edx
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [ebp - 0x10], 0
jmp 0x41bfae
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x270
jae 0x41bfc7
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx*4], 0
je 0x41bfc5
jmp 0x41bfd0
jmp 0x41bfa5
mov ecx, dword [ebp - 0x14]
mov dword [ecx], SysReAllocString
mov esp, ebp
pop ebp
ret

Function at 0x4269c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x9c0], 0x270
jne 0x4269e0
mov ecx, dword [ebp - 8]
call fcn.0042a400
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x9c0]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x9c0]
add eax, 1
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x9c0], eax
mov edx, dword [ebp - 4]
shr edx, 0xb
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 0x12
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x431e50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ec19
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea eax, [ebp - 0x11b]
push eax
call fcn.004bbbe0
add esp, 0xc
mov byte [ebp - 0x11c], 0x28
mov byte [ebp - 0x11b], 0x44
mov byte [ebp - 0x11a], 0x72
mov byte [ebp - 0x119], 0x69
mov byte [ebp - 0x118], 0x7b
mov byte [ebp - 0x117], 0x28
mov byte [ebp - 0x116], 0x44
mov byte [ebp - 0x115], 0x72
mov byte [ebp - 0x10d], 0x29
mov byte [ebp - 0x10e], 0x34
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x110], 0x55
mov byte [ebp - 0x111], 0x43
mov byte [ebp - 0x112], 0x30
mov byte [ebp - 0x113], 0x35
mov byte [ebp - 0x114], 0x66
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.00419e30
mov dword [ebp - 0x2b0], eax
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], edx
mov dword [ebp - 4], 0
push 0x10
mov ecx, dword [ebp - 0x2b4]
call fcn.004287b0
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.005960d0
add esp, 0xc
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2bc]
call fcn.004287b0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0042f150
mov dword [ebp - 0x2c0], eax
mov edx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c4]
call fcn.004287b0
push eax
lea ecx, [ebp - 0x10]
call fcn.0042f0b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a0]
call fcn.00419e60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a8]
call fcn.0042f130
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2a4]
call fcn.00419e60
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.004321d0
mov ecx, dword [ebp - 0x2ac]
or ecx, 1
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042f130
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret

Function at 0x43d9a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004bbbe0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x43da20
cmp dword [ebp - 0x11c], 5
jae 0x43da14
cmp dword [ebp - 0x11c], 4
jne 0x43da20
cmp dword [ebp - 0x118], 0x5a
jb 0x43da20
mov dword [ebp - 0x128], 0
jmp 0x43da2a
mov dword [ebp - 0x128], 1
mov al, byte [ebp - 0x128]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret
Function at 0x44fcb0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x44fcea
or eax, 0xffffffff
jmp 0x44fe2b
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 8
call fcn.004bc10f
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x44fd13
or eax, 0xffffffff
jmp 0x44fe2b
push 0
lea ecx, [ebp - 0x20]
push ecx
push 8
mov edx, dword [ebp - 0x2c]
push edx
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x44fd78
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IOCTL_STORAGE_QUERY_PROPERTY_Error:__ld_n
call fcn.004b930c
add eax, 0x40
push eax
call fcn.004be0a3
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004bb2f3
add esp, 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x44fe2b
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bc10f
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x44fdaa
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bb2f3
add esp, 4
or eax, 0xffffffff
jmp 0x44fe2b
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0xc
lea edx, [ebp - 0x1c]
push edx
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x44fdfd
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bb2f3
add esp, 4
mov edx, dword [ebp - 0x24]
push edx
call fcn.004bb2f3
add esp, 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x44fe2b
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004bb2f3
add esp, 4
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004bb2f3
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret
Function at 0x44fe40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [str..C:]
mov dword [ebp - 0x210], eax
mov ecx, dword [0x5cdc90]
mov dword [ebp - 0x20c], ecx
mov edx, dword [0x5cdc94]
mov dword [ebp - 0x208], edx
mov ax, word [0x5cdc98]
mov word [ebp - 0x204], ax
push 0x1fa
push 0
lea ecx, [ebp - 0x202]
push ecx
call fcn.004bbbe0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 2
je 0x44fec3
cmp dword [ebp - 0x218], 3
je 0x44feca
jmp 0x44fefc
mov eax, 1
jmp 0x44fefe
mov ecx, dword [ebp + 8]
mov dx, word [ecx]
mov word [ebp - 0x208], dx
lea eax, [ebp - 0x210]
push eax
call fcn.0044fcb0
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 7
jne 0x44fefc
mov eax, 1
jmp 0x44fefe
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret
Function at 0x451ba0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x74
call fcn.00401b60
movzx eax, al
test eax, eax
je 0x451bbd
xor eax, eax
jmp 0x451c45
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x98]
test edx, edx
je 0x451c19
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
mov ecx, dword [ebp + 8]
add ecx, 0x74
call fcn.004053d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x451c19
mov eax, dword [ebp + 8]
add eax, 0x9c
push eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x90]
test ecx, ecx
je 0x451c43
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x94]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x74
call fcn.004053d0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x454700
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
push 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x24], eax
push 1
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4547de
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4547de
cmp dword [ebp - 0x1c], 0x10
jne 0x4547aa
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 4]
jne 0x4547aa
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x20]
push edx
call fcn.0045b350
add esp, 4
movzx eax, al
test eax, eax
jne 0x4547d1
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
jne 0x4547d9
jmp 0x4547de
jmp 0x454758
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x1c], 0x12
jne 0x454804
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4561d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x4561f3
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x45620b
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x456223
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x45623b
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x456253
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret