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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x443ab8
mov eax, esi
call fcn.0042b914
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x443ab8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x443ab8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x443bf7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x443af8
cmp eax, 0x108
ja 0x443af8
mov eax, esi
call fcn.0042b914
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x443bee
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x443bf7
jmp 0x443bee
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x443bd7
cmp eax, 0x20a
ja 0x443bd7
test byte [esi + 0x50], 0x80
jne 0x443b2a
sub eax, 0x203
je 0x443b27
sub eax, 3
je 0x443b27
sub eax, 3
jne 0x443b2a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x443b3e
dec eax
je 0x443b53
dec eax
je 0x443b70
dec eax
je 0x443b53
jmp 0x443b77
mov ecx, ebx
mov eax, dword [0x450fc0]
mov eax, dword [eax]
mov edx, esi
call fcn.00435058
jmp 0x443bee
cmp byte [esi + 0x5d], 1
jne 0x443b69
mov eax, esi
mov si, 0xffed
call fcn.0040383c
jmp 0x443bf7
or word [esi + 0x54], 1
jmp 0x443bee
and word [esi + 0x54], 0xfffe
jmp 0x443bee
mov eax, dword [0x452ba8]
cmp byte [eax + 0x20], 0
je 0x443bee
mov eax, dword [0x452ba8]
cmp dword [eax + 0x1c], 0
je 0x443bee
mov eax, dword [ebx]
mov edx, dword [0x452ba8]
cmp eax, dword [edx + 0x1c]
jne 0x443bee
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0042b858
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040383c
jmp 0x443bf7
cmp eax, 0xb00b
jne 0x443bee
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004423c8
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44708c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4470a8
cmp dword [esi + 4], 0
je 0x4470d5
test byte [ebx + 0x55], 1
jne 0x4470c7
mov eax, ebx
call fcn.00445c98
test eax, eax
jne 0x4470c7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4471e5
mov edx, esi
mov eax, ebx
call fcn.00446bb0
jmp 0x4471e5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4471de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00448efc
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004439a0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044708c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00448efc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4471e5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d644
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45111c]
cmp byte [eax + 0xc], 0
je 0x44d7b1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d7aa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x452bfc], 0
jne 0x44d698
push 0x44d7b8
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x44d7c0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452bfc], eax
cmp dword [0x450d34], 0
jne 0x44d793
push 0x44d7d0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x450d34], eax
cmp dword [0x450d34], 0
je 0x44d793
push 0x44d7dc
mov eax, dword [0x450d34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452c00], eax
push 0x44d7ec
mov eax, dword [0x450d34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452c04], eax
push 0x44d800
mov eax, dword [0x450d34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452c08], eax
push 0x44d818
mov eax, dword [0x450d34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452c0c], eax
push 0x44d830
mov eax, dword [0x450d34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452c10], eax
push 0x44d844
mov eax, dword [0x450d34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452c14], eax
push 0x44d85c
mov eax, dword [0x450d34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452c18], eax
push 0x44d874
mov eax, dword [0x450d34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452c1c], eax
push 0x44d890
mov eax, dword [0x450d34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452c20], eax
push 0x44d89c
mov eax, dword [0x450d34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452c24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d7b1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44dd04
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, edx
mov ebx, eax
push 0
push 0
mov eax, esi
call fcn.00415ec8
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, ebx
call fcn.00404910
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
setne bl
test bl, bl
je 0x44dd9b
push 0
push edi
call sub.kernel32.dll_GetFileSize
mov dword [esp], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 4]
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
mov eax, dword [esi + 4]
push eax
push edi
call sub.kernel32.dll_ReadFile
push edi
call sub.kernel32.dll_CloseHandle
mov eax, esi
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [esp + 8]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x44dd8a
cmp eax, dword [esp]
pop edx
pop eax
je 0x44dda4
xor ebx, ebx
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x44dda4
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x44ddac
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebx
push esi
push ecx
mov esi, edx
mov ebx, eax
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov eax, ebx
call fcn.00404910
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
setne al
test al, al
je 0x44de26
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov dword [esp], eax
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
mov eax, dword [esi + 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_SetEndOfFile
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, esi
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [esp + 8]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x44de20
cmp eax, dword [esp]
sete al
add esp, 8
pop edx
pop esi
pop ebx
ret

Function at 0x44de2c
Capabilities:
Create directory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x44df6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfffffffe
push 0
mov eax, dword [ebp - 4]
call fcn.00404910
push eax
call sub.kernel32.dll_CreateDirectoryA
mov dl, 1
mov eax, dword [0x412578]
call fcn.00403604
mov ebx, eax
mov dl, 1
mov eax, dword [0x412578]
call fcn.00403604
mov esi, eax
mov edx, ebx
mov eax, edi
call fcn.0044dd04
jmp 0x44def0
lea edx, [ebp - 0x2c]
mov ecx, 0x24
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov edx, ebx
mov eax, esi
call fcn.00416144
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x2c]
mov ecx, 0x20
call fcn.004046c0
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
call fcn.0040475c
mov eax, dword [ebp - 0x30]
mov edx, esi
call fcn.0044ddac
test al, al
jne 0x44dee9
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_OutputDebugStringA
mov dword [ebp - 8], 5
mov eax, esi
call fcn.00416628
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, ebx
call fcn.00415ea8
cmp edx, dword [esp + 4]
jne 0x44df0e
cmp eax, dword [esp]
pop edx
pop eax
jb 0x44de8e
jmp 0x44df16
pop edx
pop eax
jl 0x44de8e
cmp dword [ebp - 8], 5
je 0x44df41
mov eax, ebx
call fcn.00415ea8
cmp edx, 0
jne 0x44df2f
cmp eax, 0
jbe 0x44df3a
jmp 0x44df31
jle 0x44df3a
mov dword [ebp - 8], 7
jmp 0x44df41
mov dword [ebp - 8], 8
mov eax, esi
call fcn.00403634
mov eax, ebx
call fcn.00403634
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44df71
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00404474
ret
Function at 0x44df7c
Capabilities:
Set registry value

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
push esp
push 0x20006
push 0
push 0x44e0a4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
cmp dword [esp], 0
jne 0x44dfcc
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x44e0a4
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
cmp dword [esp], 0
je 0x44e0a0
mov dword [esp + 4], 0x7fb
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push 0x44e0bc
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [esp + 4], 1
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push 0x44e0c4
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [esp + 4], 0x51
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push 0x44e0d0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [esp + 4], 0x58d372
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push 0x44e0dc
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
xor eax, eax
mov dword [esp + 4], eax
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push 0x44e0e4
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, ebx
call fcn.00404710
push eax
mov eax, ebx
call fcn.00404910
push eax
push 1
push 0
push 0x44e0ec
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop ecx
pop edx
pop ebx
ret
Function at 0x44e0f8
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44e289
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x108]
call fcn.004089ec
cmp byte [ebp + eax - 0x108], 0x5c
je 0x44e16d
mov edx, 0x44e29c
lea eax, [ebp - 0x108]
call fcn.00408ad8
lea edx, [ebp - 0x110]
xor eax, eax
call fcn.00402dec
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.004088c4
lea eax, [ebp - 0x10c]
mov edx, 0x44e2a8
call fcn.00404718
mov eax, dword [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004046c0
mov edx, dword [ebp - 0x114]
pop eax
call fcn.0044de2c
push 0
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004046c0
lea eax, [ebp - 0x118]
mov edx, 0x44e2b8
call fcn.00404718
mov eax, dword [ebp - 0x118]
call fcn.00404910
push eax
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004046c0
lea eax, [ebp - 0x11c]
mov edx, 0x44e2d8
call fcn.00404718
mov eax, dword [ebp - 0x11c]
call fcn.00404910
push eax
call sub.kernel32.dll_CopyFileA
mov eax, ebx
call fcn.0044df7c
push 0x44e2e8
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
test ebx, ebx
jne 0x44e252
push 0x44e2e8
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
push 0x44e2f8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x44e26b
call dword [ebp - 4]
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e290
lea eax, [ebp - 0x11c]
mov edx, 5
call fcn.00404474
ret
Function at 0x44e4f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x44e5bc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040304c
mov dword [ebp - 0x3c], 0x3c
test bl, bl
je 0x44e540
mov dword [ebp - 0x38], 0x4000040
jmp 0x44e547
mov dword [ebp - 0x38], 0xc
call sub.user32.dll_GetDesktopWindow
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x44]
mov edx, esi
call fcn.00404648
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.004088c4
mov eax, dword [ebp - 0x40]
call fcn.00404910
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [0x452660]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x44e59e
test bl, bl
je 0x44e59e
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, dword [ebp - 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e5c3
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404474
ret
Function at 0x44ee88
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44f051
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x44f01f
push dword fs:[edx]
mov dword fs:[edx], esp
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
mov dword [ebp - 0x14], edi
xor eax, eax
mov dword [ebp - 0x10], eax
fild qword [ebp - 0x14]
fldln2
fxch st(1)
fyl2x
fstp xword [ebp - 0x20]
wait
fld xword [0x44f060]
fldln2
fxch st(1)
fyl2x
fld xword [ebp - 0x20]
fdivrp st(1)
call fcn.00402e68
mov esi, eax
test esi, esi
jl 0x44f015
inc esi
xor ebx, ebx
push 0x4000
push 0x80000000
push 0
mov eax, ebx
call fcn.0044ee58
call fcn.00402e68
push edx
push eax
mov eax, edi
xor edx, edx
and eax, dword [esp]
and edx, dword [esp + 4]
add esp, 8
cmp edx, 0
jne 0x44ef33
cmp eax, 0
je 0x44f00d
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x41]
call fcn.00404638
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00407ff8
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov eax, 0x44f074
call fcn.00407ff8
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.0040485c
je 0x44f00d
lea eax, [ebp - 0x30]
lea edx, [ebx + 0x41]
call fcn.00404638
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
mov ecx, 0x44f080
call fcn.0040475c
mov eax, dword [ebp - 8]
call fcn.00404910
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 2
je 0x44efd7
dec eax
je 0x44efaa
sub eax, 2
je 0x44efb9
dec eax
je 0x44efc8
jmp 0x44efe6
lea eax, [ebp - 0xc]
mov edx, 0x44f08c
call fcn.004044e8
jmp 0x44eff3
lea eax, [ebp - 0xc]
mov edx, 0x44f0a0
call fcn.004044e8
jmp 0x44eff3
lea eax, [ebp - 0xc]
mov edx, 0x44f0b0
call fcn.004044e8
jmp 0x44eff3
lea eax, [ebp - 0xc]
mov edx, 0x44f0c0
call fcn.004044e8
jmp 0x44eff3
lea eax, [ebp - 0xc]
mov edx, 0x44f0d4
call fcn.004044e8
mov eax, dword [ebp - 0xc]
mov edx, 0x44f0a0
call fcn.0040485c
je 0x44f00d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec esi
jne 0x44ef03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f029
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f058
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404474
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404474
ret
Function at 0x5791b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00579140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00579140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00579140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00579140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x579bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x579c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x58b87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x579c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x579c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x94a41f
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 5], dh
push word [esp + 1]
jne 0x94a45c
je 0x94a446
ljmp 0xc042:0x798aef7f
pop word [esp + 5]
mov dword [esp + 0xc], edi
lea esp, [esp + 0xc]

Function at 0x94a695
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap eax
lea esp, [esp + 3]
setne dh
mov ax, si
jmp 0x94a6a7
lea eax, [esp + ebp]
lea esp, [esp + 1]
rol edi, 0
adc cl, bl
jnp 0x94a6ed
mov ecx, ebp
mov ch, 0x8d
xchg dl, dh
bsf edx, edx
neg cx
jmp 0x94a6f5
mov ecx, ebp
mov ch, 0x8d
xchg dl, dh
jmp 0x94a6ef
jmp 0x94a6d7
bsf edx, edx
neg cx
xchg cl, ch
jmp 0x94a736
neg ax
jns 0x94a71c
mov al, byte [esp]
xchg dx, cx
setg ch
btr eax, ebx
sub esp, 3
jmp 0x94a743
mov al, byte [esp]
xchg dx, cx
jmp 0x94a759
inc edi
mov ecx, dword [esp]
xchg cx, dx
mov ax, bp
dec edi
jmp 0x94a6f9
ror cx, 0xc
mov eax, 0x4875d809
lea esp, [esp + 3]
jmp 0x94a77a
setg ch
btr eax, ebx
sub esp, 3
jmp 0x94a743
lea esp, [esp + 3]
mov eax, dword [esp]
adc edx, ecx
jge 0x94a8c0
jl 0x94a81f
inc edx
xor edi, 0x785bac4
mov eax, dword [esp]
mov al, bh
mov ax, dx
push edx
jmp 0x94a764
bsf ecx, esi
lea esp, [esp + 1]
call 0x94a7d3
mov cx, 0x5c8a
rdtsc
xchg ch, ah
jmp 0x94a895
jle 0x94a82b
mov cx, 0x5c8a
rdtsc
jmp 0x94a861
neg ax
mov ecx, 0xcd171275
jmp 0x94a88d
xchg ch, ah
jmp 0x94a895
neg ax
mov ecx, 0xcd171275
add edi, dword [ebp]
btr ecx, ebx
jmp 0x94a841
bsf ecx, esi
lea esp, [esp + 1]
xor edi, 0x25c37c65
neg ch
jg 0x94a885
jle 0x94a857
Function at 0xa38652
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0xa3867b
lea esp, [esp + 2]
mov dword [esp + 4], ebp
mov dword [esp], esi
push esp
lea esp, [esp + 1]
jmp 0xa386a2
pop word [esp]
mov word [esp + 1], ax
pop word [esp + 2]
jmp 0xa38654
Function at 0x402af8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040428c
test esi, esi
jne 0x402b2e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040437c
jmp 0x402b4c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a0c
mov edi, eax
test esi, esi
je 0x402b4c
cmp dword [ebx], 0
je 0x402b4c
dec esi
jmp 0x402b35
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40328c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4f0020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403324
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403304
xor eax, eax
push ebp
push 0x4032fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403340
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403304
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4f0020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4f0020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404110
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f304c], 0
je 0x404171
cmp word [0x4f3220], 0xd7b2
jne 0x404139
cmp dword [0x4f3228], 0
jbe 0x404139
mov eax, 0x4f321c
call dword [0x4f3238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f006c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404198
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f0030], 0
jne 0x40418d
push 0
push 0x4f0064
push 0x4f006c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret