joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push 0x208
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.00537020
add esp, 0xc
mov dword [ebp - 8], 1
mov dword [ebp - 0x10], 0x104
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 8]
push eax
push 0x5f6b44
push 0x5f6b5c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x42c28f
mov eax, 2
jmp 0x42c347
mov dword [ebp - 8], 4
mov dword [ebp - 0x14], 0x104
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 8]
push eax
push 0x5f6b8c
push 0x5f6b9c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x18], 1
je 0x42c2cb
mov eax, 3
jmp 0x42c347
push str.uninst.dll
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42c301
mov eax, 4
jmp 0x42c347
push 0x5f6be4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42c32a
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 5
jmp 0x42c347
call fcn.0042b5e0
push eax
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 4

Function at 0x42c480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 4
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0x5f6bf8
push 0x5f6c08
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0xc], 1
jne 0x42c4bf
mov al, 1
jmp 0x42c4c1
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x42c4d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x104
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00537020
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 8]
push eax
push 0x5f6c38
push 0x5f6c50
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42c529
mov al, 1
jmp 0x42c52b
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x42f240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x104
push 0x208
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.00537020
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 8]
push eax
push 0x5f71c8
push 0x5f71e0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42f29c
mov al, 1
jmp 0x42f29e
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x42f3b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 4
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push str.em_lds
push 0x5f71e0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0xc], 1
jne 0x42f3f2
mov al, 1
jmp 0x42f3f4
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x42fcf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov dword [ebp - 8], ecx
push 0
lea ecx, [ebp - 0x18]
call fcn.00415870
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00417160
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42fd44
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x18]
call fcn.00415cd0
mov eax, dword [ebp - 0x1c]
jmp 0x42fdc6
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42fda4
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042fcf0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42fd9b
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x18]
call fcn.00415cd0
mov eax, dword [ebp - 0x20]
jmp 0x42fdc6
mov dword [ebp - 0xc], 0x100
jmp 0x42fd4b
lea ecx, [ebp - 0x18]
call fcn.00416750
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0042e8f0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x18]
call fcn.00415cd0
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret 4
Function at 0x42fe90
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x42feef
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42febc
mov eax, 1
jmp 0x42ff0d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42feed
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x42ff0d
jmp 0x42ff08
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x42ff08
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x42ff0d
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x4300a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov dword [ebp - 0x20], ecx
call fcn.004176f0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x28]
call fcn.0042c660
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.0042ca60
lea ecx, [ebp - 0x43c]
call fcn.0042c7b0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042f840
add esp, 8
mov dword [ebp - 0x14], eax
push 0x60
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43010f
push 2
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x430122
call fcn.00416620
mov dword [ebp - 8], eax
jmp 0x43022e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43014a
call fcn.00416620
mov dword [ebp - 8], eax
jmp 0x43022e
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43016e
call fcn.00416620
mov dword [ebp - 8], eax
jmp 0x43022e
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xc]
add eax, 1
cmp eax, dword [ebp - 0xc]
jae 0x43019c
mov dword [ebp - 8], 0x8007000e
jmp 0x43022e
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
lea ecx, [ebp - 0x43c]
call fcn.0042df70
lea ecx, [ebp - 0x43c]
call fcn.0042cf30
test eax, eax
jne 0x4301c6
mov dword [ebp - 8], 0x8007000e
jmp 0x43022e
mov edx, dword [ebp - 0xc]
push edx
lea ecx, [ebp - 0x43c]
call fcn.0042cf30
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0
call fcn.004176f0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4301ff
call fcn.00416620
mov dword [ebp - 8], eax
jmp 0x43022e
lea ecx, [ebp - 0x43c]
call fcn.0042cf30
xor edx, edx
mov ecx, dword [ebp - 0x1c]
mov word [eax + ecx*2], dx
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x43c]
call fcn.0042cf30
push eax
lea ecx, [ebp - 0x38]
call fcn.0042ff20
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x43023e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x43c]
call fcn.0042cc40
lea ecx, [ebp - 0x28]
call fcn.0042cb40
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430ff0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
xor eax, eax
jne 0x430ff9
cmp dword [ebp + 0xc], 0
je 0x43100c
mov dword [ebp - 0x10], 1
jmp 0x431013
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x431026
mov eax, 0xd
jmp 0x431083
xor edx, edx
jne 0x430ffd
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00553b5f
add esp, 4
add eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*2]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 1
jne 0x431037
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x431090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x431099
cmp dword [ebp + 0xc], 0
je 0x4310ac
mov dword [ebp - 4], 1
jmp 0x4310b3
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x4310c6
mov eax, 0xd
jmp 0x4310f5
xor edx, edx
jne 0x43109d
mov eax, dword [ebp + 0xc]
push eax
call fcn.00553b5f
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x431d70
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0xc], ecx
push 0x208
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.00537020
add esp, 0xc
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x104
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 8]
push eax
push str.Setup_Path
push str.SOFTWARESuperBookmark
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x431dca
jmp 0x431e0d
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431ddd
jmp 0x431e0d
push 0x5f728c
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push str.three_end
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor ecx, ecx
jne 0x431d7c
mov esp, ebp
pop ebp
ret
Function at 0x432b90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push 0x208
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.00537020
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x214]
push eax
call fcn.00553b5f
add esp, 4
test eax, eax
jne 0x432be6
push 0
push 0
push 0x465
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [ebp - 0x214]
push edx
call fcn.00553b5f
add esp, 4
cmp eax, 2
jb 0x432c81
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x214]
cmp ecx, 0x3a
jne 0x432c81
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov eax, 2
imul ecx, eax, 0
mov edx, 2
imul eax, edx, 0
mov cx, word [ebp + ecx - 0x214]
mov word [ebp + eax - 8], cx
mov edx, 2
shl edx, 0
mov eax, 0x3a
mov word [ebp + edx - 8], ax
mov ecx, 2
shl ecx, 1
mov edx, 0x5c
mov word [ebp + ecx - 8], dx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
je 0x432c81
push 0
push 0
push 0x465
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret

Function at 0x435960
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
call fcn.0041cd30
mov ecx, eax
call fcn.00419b70
movzx eax, al
test eax, eax
je 0x4359b2
xor ecx, ecx
mov byte [ebp - 1], cl
push 1
push 0
push 0
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 1]
call fcn.00436ed0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f7908
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.00407ac0
jmp 0x435a2f
call fcn.0041cd30
mov ecx, eax
call fcn.00419b90
movzx eax, al
test eax, eax
je 0x4359fb
xor ecx, ecx
mov byte [ebp - 2], cl
push 1
push 0
push 0
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 2]
call fcn.004371d0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f7914
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.00407ac0
jmp 0x435a2f
xor eax, eax
mov byte [ebp - 3], al
push 1
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 3]
call fcn.004377f0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f7920
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call fcn.00407ac0
mov esp, ebp
pop ebp
ret
Function at 0x436330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
call fcn.0041cd30
mov ecx, eax
call fcn.00419b70
movzx eax, al
test eax, eax
je 0x436382
xor ecx, ecx
mov byte [ebp - 1], cl
push 1
push 0
push 0
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 1]
call fcn.00436ce0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f7c78
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.00407ac0
jmp 0x4363ff
call fcn.0041cd30
mov ecx, eax
call fcn.00419b90
movzx eax, al
test eax, eax
je 0x4363cb
xor ecx, ecx
mov byte [ebp - 2], cl
push 1
push 0
push 0
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 2]
call fcn.004375c0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f7c84
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.00407ac0
jmp 0x4363ff
xor eax, eax
mov byte [ebp - 3], al
push 1
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 3]
call fcn.004373d0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f7c90
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call fcn.00407ac0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x436470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
mov byte [ebp - 1], al
push 1
push 0
push 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 1]
call fcn.00437060
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f7c9c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.00407ac0
sub esp, 0x28
mov ecx, esp
push 0
call fcn.0042c850
push 0
push 0
push 1
push 0
push str.click_feedgroup
call fcn.00416c00
mov ecx, eax
call fcn.0045b600
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x438990
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00437cd0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x40]
call edx
cmp dword [ebp - 0xc], 1
jne 0x438b2d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x438b2d
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00429160
mov ecx, dword [ebp - 4]
call fcn.004382d0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf4]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x438a25
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x84]
call edx
test eax, eax
je 0x438b2d
mov dword [ebp - 0xc], 2
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
je 0x438a45
mov dword [ebp - 0x14], 1
jmp 0x438a4c
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x438a85
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
jne 0x438a85
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0
push 1
push 0
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00422030
jmp 0x438aab
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
je 0x438aab
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5c], 0
jne 0x438aab
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
je 0x438ac7
mov dword [ebp - 0x18], 1
jmp 0x438ace
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x438b07
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
jne 0x438b07
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], 0
push 1
push 1
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00422030
jmp 0x438b2d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
je 0x438b2d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5c], 0
jne 0x438b2d
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x4400b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x65c428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4c0], ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x44018b
test ecx, ecx
je 0x44018b
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x44018b
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x44018b
xor ecx, ecx
movzx edx, ax
nop dword [eax + eax]
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x440176
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [ebp - 0xd4]
push ebx
push eax
push dword [ebp - 0x4c4]
call fcn.00556bcd
add esp, 0xc
test eax, eax
je 0x44019e
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x440120
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472636
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 0x4c0]
call fcn.00440ed0
xor ecx, ecx
test edi, edi
je 0x4401bc
cmp edi, 0x7fffffff
jbe 0x4401c1
mov ecx, 0x80070057
test ecx, ecx
js 0x4401f7
mov eax, dword [ebp - 0x4c0]
mov esi, edi
test edi, edi
je 0x4401df
cmp word [eax], 0
je 0x4401df
add eax, 2
sub esi, 1
jne 0x4401d1
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x4401f9
xor esi, esi
test ecx, ecx
js 0x44024a
mov eax, dword [ebp - 0x4c0]
mov edx, edi
lea ecx, [eax + esi*2]
sub edx, esi
je 0x44023d
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7ffffffe
add esi, eax
lea eax, [ebx + ebx]
sub eax, ecx
add edi, eax
test esi, esi
je 0x44023d
movzx eax, word [edi + ecx]
test ax, ax
je 0x44023d
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x440224
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472636
mov esp, ebp
pop ebp
ret
Function at 0x440260
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x65c428]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4402d8
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472636
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00472636
mov esp, ebp
pop ebp
ret

Function at 0x440390
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00472110
mov eax, dword [0x65c428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
je 0x4404ca
mov edi, dword [ebp + 0x10]
cmp edi, 0x64
jl 0x4404ca
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4404ca
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00537020
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x44049f
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00537020
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.00538202
add esp, 0x14
test eax, eax
je 0x440464
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x440464
mov ecx, 1
jmp 0x440466
xor ecx, ecx
test ecx, ecx
lea edx, [ebp - 0x1004]
lea eax, [ebp - 0x804]
cmovne eax, edx
push eax
push edi
push ebx
call fcn.00440ed0
mov edi, dword [ebp - 0x1008]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472636
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x44047f
push edi
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.004400b0
add esp, 0xc
mov edi, eax
jmp 0x440485
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472636
mov esp, ebp
pop ebp
ret