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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00405ee4
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x4b4c22
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040608c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b4c28
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
pop ebx
pop ebp
ret

Function at 0x4b8624
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b8795
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b8770
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.004058c4
lea eax, [ebp - 0x118]
mov edx, 0x4b87ac
call fcn.004059a8
mov eax, dword [ebp - 0x118]
call fcn.00405b6c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4b86e2
lea eax, [ebp - 0x111]
call fcn.0040b494
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004057cc
jmp 0x4b86e9
mov eax, esi
call fcn.004056dc
cmp bl, 0x61
jae 0x4b870a
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040f990
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00405730
jmp 0x4b8724
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040f8fc
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00405730
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4b87b8
call fcn.0040bbec
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00405730
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8777
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4bb5a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 1
xor eax, eax
push ebp
push 0x4bb65d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebx + 4]
mov edx, 0x4bb680
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x40]
mov ecx, dword [ebx + 8]
mov edx, 0x4bb680
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x4c]
mov ecx, dword [ebx + 0xc]
mov edx, 0x4bb698
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x40]
mov ecx, dword [ebx + 0x10]
mov edx, 0x4bb698
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x4c]
mov ecx, dword [ebx + 0x1c]
mov edx, 0x4bb6b0
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x40]
mov ecx, dword [ebx + 0x20]
mov edx, 0x4bb6b0
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x4c]
mov ecx, dword [ebx + 0x24]
mov edx, 0x4bb6c0
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x40]
mov ecx, dword [ebx + 0x28]
mov edx, 0x4bb6c0
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x4c]
mov ecx, dword [ebx + 0x2c]
mov edx, 0x4bb6d0
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x40]
mov ecx, dword [ebx + 0x30]
mov edx, 0x4bb6d0
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x4c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bb66b
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4bd0a8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4bd0e6
cmp dword [ebp - 0x90], 6
jb 0x4bd0e6
call fcn.00465a50
call fcn.00465b58
test al, al
je 0x4bd0e6
mov al, 1
jmp 0x4bd0e8
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4bdc90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
push 0
push 0
call sub.kernel32.dll_GetTempPathA
mov ebx, eax
mov eax, ebx
call fcn.00402ef8
mov dword [ebp - 4], eax
mov eax, 0x104
call fcn.00402ef8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bdd16
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_GetTempPathA
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, esi
call fcn.00405b6c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.004058d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdd1d
mov eax, dword [ebp - 4]
call fcn.00402f14
mov eax, dword [ebp - 8]
call fcn.00402f14
ret
Function at 0x4be100
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040af30
test al, al
je 0x4be1b1
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.00405b6c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4be1b1
mov eax, ebx
call fcn.00402ef8
mov dword [ebp - 0xc], eax
push ebp
push 0x4be1aa
push dword fs:[0]
mov dword fs:[0], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4be194
mov edx, dword [ebp - 0xc]
mov eax, edx
mov ecx, ebx
sub ecx, 0x34
test ecx, ecx
jle 0x4be185
mov eax, edx
cmp dword [eax], 0xfeef04bd
je 0x4be185
inc edx
dec ecx
jne 0x4be177
cmp dword [eax], 0xfeef04bd
jne 0x4be194
movzx eax, word [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be1b1
mov eax, dword [ebp - 0xc]
call fcn.00402f14
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4be430
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4be530
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax]
mov edx, 0x4be548
call fcn.004bdd24
mov eax, dword [ebp + 8]
cmp byte [eax - 0xd], 1
jne 0x4be480
mov eax, dword [ebp + 8]
mov dword [eax - 4], 0xc
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 8], edx
jmp 0x4be4eb
mov eax, dword [ebp + 8]
cmp byte [eax - 0xd], 2
jne 0x4be49d
mov eax, dword [ebp + 8]
mov dword [eax - 4], 0x12c
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 8], edx
jmp 0x4be4eb
push 0x12d
lea eax, [ebp - 0x262]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 8]
push eax
push 0x12d
lea eax, [ebp - 0x135]
push eax
mov eax, dword [ebp - 4]
call fcn.00405b6c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x4be4eb
mov eax, dword [ebp + 8]
mov dword [eax - 4], 0xc
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 8], edx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0xc
ja 0x4be508
mov eax, dword [ebp + 8]
lea edi, [eax - 0x2d]
mov esi, 0x4be54c
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
jmp 0x4be51a
mov eax, dword [ebp + 8]
lea edi, [eax - 0x2d]
mov esi, 0x4be56c
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be537
lea eax, [ebp - 4]
call fcn.004056dc
ret
Function at 0x4bf25c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4bf41f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetUserDefaultLangID
mov edi, 0x19
xor ebx, ebx
jmp 0x4bf294
cmp ax, word [ebx*8 + 0x4f5040]
je 0x4bf29b
inc ebx
mov edx, edi
dec edx
cmp ebx, edx
jl 0x4bf289
mov edx, edi
dec edx
cmp ebx, edx
jne 0x4bf2d3
xor ebx, ebx
cmp edi, ebx
jle 0x4bf2d3
movzx edx, word [ebx*8 + 0x4f5040]
mov ecx, edx
and cx, 0x3ff
mov esi, eax
and si, 0x3ff
cmp cx, si
jne 0x4bf2ce
movzx edx, dx
shr edx, 0xa
cmp edx, 1
je 0x4bf2d3
inc ebx
cmp edi, ebx
jg 0x4bf2a8
mov eax, edi
dec eax
cmp ebx, eax
jne 0x4bf2dc
xor ebx, ebx
cmp eax, ebx
jle 0x4bf2f6
lea eax, [ebp - 4]
lea edx, [ebx*8 + 0x4f5043]
call fcn.00405940
mov dword [ebp - 0xc], 1
mov eax, 0x4bf438
call fcn.004bf138
mov esi, eax
test esi, esi
jl 0x4bf362
lea edx, [ebp - 8]
mov eax, esi
call fcn.00403464
mov edx, dword [ebp - 8]
mov eax, 0x4bf448
call fcn.00405cb8
mov esi, eax
test esi, esi
je 0x4bf362
lea eax, [ebp - 8]
push eax
lea edx, [esi + 1]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 8]
call fcn.00405bd4
or edx, 0xffffffff
mov eax, dword [ebp - 8]
call fcn.0040abd0
mov ebx, eax
test ebx, ebx
jl 0x4bf362
cmp edi, ebx
jle 0x4bf362
lea eax, [ebp - 4]
lea edx, [ebx*8 + 0x4f5043]
call fcn.00405940
mov dword [ebp - 0xc], 2
cmp ebx, 0xffffffff
jne 0x4bf395
or esi, 0xffffffff
inc esi
lea eax, [ebp - 0x10]
lea edx, [esi*8 + 0x4f5043]
call fcn.00405940
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00405b04
jne 0x4bf390
mov ebx, esi
mov dword [ebp - 0xc], 3
cmp esi, 0x18
jl 0x4bf36a
cmp ebx, 0xffffffff
je 0x4bf39f
cmp ebx, 0x19
jl 0x4bf3a1
xor ebx, ebx
mov dword [0x4fb260], ebx
movzx eax, byte [ebx*8 + 0x4f5042]
mov dword [0x4fb25c], eax
mov eax, dword [0x4f5434]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.00480f48
test al, al
jne 0x4bf3dc
mov eax, dword [0x4f5434]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.00480f54
cmp dword [ebp - 0xc], 0
jle 0x4bf3fc
movzx edx, byte [ebx*8 + 0x4f5042]
mov eax, dword [0x4f5434]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.0047fbf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf426
lea eax, [ebp - 0x10]
call fcn.004056dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405700
ret
Function at 0x4c075c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405b5c
lea eax, [ebp - 0x168]
mov edx, dword [0x4090e4]
call fcn.0040649c
xor eax, eax
push ebp
push 0x4c08e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x169], 0
mov byte [ebp - 0x16a], 1
mov eax, dword [ebp - 4]
call fcn.0040af54
test al, al
je 0x4c08b0
lea ecx, [ebp - 0x170]
mov edx, 0x4c0904
mov eax, dword [ebp - 4]
call fcn.004bdd24
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x168]
mov edx, 0x2f
call fcn.0040b038
mov edi, eax
xor eax, eax
push ebp
push 0x4c0891
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
jne 0x4c0878
lea ecx, [ebp - 0x174]
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 4]
call fcn.004bdd24
mov eax, dword [ebp - 0x174]
mov edx, 0x20
call fcn.0040af8c
lea ecx, [ebp - 0x178]
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 4]
call fcn.004bdd24
mov esi, dword [ebp - 0x178]
mov dword [ebp - 0x17c], esi
mov eax, dword [ebp - 0x17c]
call fcn.00405b6c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4c0867
mov byte [ebp - 0x16a], 0
lea eax, [ebp - 0x168]
call fcn.0040b088
mov edi, eax
test edi, edi
je 0x4c0801
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0898
lea eax, [ebp - 0x168]
call fcn.0040b0ac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c08ee
lea eax, [ebp - 0x178]
mov edx, 3
call fcn.00405700
lea eax, [ebp - 0x168]
mov edx, dword [0x4090e4]
call fcn.0040656c
lea eax, [ebp - 4]
call fcn.004056dc
ret

Function at 0x4c0a80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x2c]
xor eax, eax
push ebp
push 0x4c0aff
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_CreateProcessA
mov esi, eax
test esi, esi
jne 0x4c0ad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c0b0b
push 0x7d
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebx + 8]
call fcn.004c09d4
test al, al
jne 0x4c0ad1
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c0b0b
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x28
Function at 0x4c0b14
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x30]
xor eax, eax
push ebp
push 0x4c0b97
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_CreateProcessAsUserA
mov esi, eax
test esi, esi
jne 0x4c0b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c0ba3
push 0x7d
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebx + 8]
call fcn.004c09d4
test al, al
jne 0x4c0b69
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c0ba3
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x2c
Function at 0x4c2de4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405b5c
lea eax, [ebp - 0x10]
mov edx, dword [0x4c2d30]
call fcn.0040649c
xor eax, eax
push ebp
push 0x4c2ea9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405774
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00405774
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x4c2d50
call sub.user32.dll_EnumWindows
cmp dword [ebp - 0xc], 0
je 0x4c2e7e
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
push 1
movzx eax, word [0x4c2eb8]
push eax
mov ecx, 0x4c2ec4
mov dl, 1
mov eax, dword [0x4bd2b0]
call fcn.004bd318
call fcn.004bd604
cmp ax, 5
jne 0x4c2e80
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2eb0
lea eax, [ebp - 0x10]
mov edx, dword [0x4c2d30]
call fcn.0040656c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405700
ret
Function at 0x4c3fec
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4c403e
lea eax, [ebp - 0x14]
push eax
push 0x4c4058
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
lea eax, [ebp - 0x18]
lea edx, [ebp - 8]
push edx
push eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push 2
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x4c4054
push 0
push 0
call sub.user32.dll_ExitWindowsEx
mov esp, ebp
pop ebp
ret
Function at 0x4cf284
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4cf477
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x4cf45e
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4cf2c2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cf2e2
mov eax, dword [edi + 0x34]
test eax, eax
je 0x4cf2d2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cf2e2
mov eax, edi
call fcn.004cf518
jmp 0x4cf45e
cmp dword [edi + 0xa0], 0
jne 0x4cf319
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.0040b554
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4fb2b0]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x4cf350
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.0040b554
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4fb2b0]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.004cf558
mov ebx, eax
test bl, bl
jne 0x4cf413
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4cf379
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cf393
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x4cf38c
sub eax, 4
mov eax, dword [eax]
test eax, eax
sete al
jmp 0x4cf395
xor eax, eax
test al, al
jne 0x4cf413
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x4cf3a8
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x4cf3bf
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.0040b554
jmp 0x4cf3eb
push dword [edi + 0x30]
push 0x4cf494
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00405a70
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.0040b554
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x4cf413
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.004cf558
mov ebx, eax
test bl, bl
jne 0x4cf420
mov eax, edi
call fcn.004cf518
jmp 0x4cf45e
mov eax, dword [edi + 0x58]
test eax, eax
je 0x4cf42f
mov dword [edi + 0xa8], eax
jmp 0x4cf439
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.004cf5d0
test al, al
je 0x4cf45e
mov eax, edi
mov si, 0xffee
call fcn.0040499c
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.004cf830
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf47e
lea eax, [ebp - 0x108]
call fcn.004056dc
ret
Function at 0x4da8a4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405b5c
mov eax, dword [ebp - 8]
call fcn.00405b5c
xor eax, eax
push ebp
push 0x4daa1a
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
push ebx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x4daa34
call fcn.004059f4
mov eax, dword [ebp - 0x10]
call fcn.00405b6c
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004bdd24
mov eax, dword [ebp - 0x14]
call fcn.00405b6c
push eax
call sub.kernel32.dll_CopyFileA
mov dl, 1
mov eax, dword [0x42add8]
call fcn.0042af54
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.0042b000
mov byte [ebx + 0xc], 0
call fcn.004bd828
cmp al, 2
jne 0x4da947
xor ecx, ecx
mov edx, 0x4daa50
mov eax, ebx
call fcn.0042b070
jmp 0x4da955
xor ecx, ecx
mov edx, 0x4daa88
mov eax, ebx
call fcn.0042b070
lea ecx, [ebp - 0x18]
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00443f94
mov eax, dword [ebp - 0x18]
mov edx, 0x4daac4
call fcn.0040a104
test eax, eax
jne 0x4da985
lea eax, [ebp - 0xc]
mov edx, 0x4daad0
call fcn.00405774
jmp 0x4da98d
lea eax, [ebp - 0xc]
call fcn.004056dc
mov esi, dword [ebp - 4]
test esi, esi
je 0x4da999
sub esi, 4
mov esi, dword [esi]
lea ecx, [ebp - 0x1c]
mov edx, esi
sub edx, 4
mov eax, dword [ebp - 4]
call fcn.00443f78
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004059a8
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov eax, ebx
call fcn.0042b6c0
mov eax, ebx
call fcn.0042afcc
mov eax, ebx
call fcn.004047a0
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, 0x4daa34
call fcn.004059f4
mov eax, dword [ebp - 0x20]
call fcn.00405b6c
push eax
call sub.gdi32.dll_AddFontResourceA
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_PostMessageA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4daa21
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00405700
ret
Function at 0x4daff8
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405b5c
xor eax, eax
push ebp
push 0x4db0f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0xc]
mov edx, 0x4db110
call fcn.00405774
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405774
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.004be204
test al, al
jne 0x4db05a
xor ebx, ebx
jmp 0x4db0dc
lea eax, [ebp - 0x265]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405b6c
push eax
mov eax, dword [ebp - 4]
call fcn.00405b6c
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
jne 0x4db082
xor ebx, ebx
jmp 0x4db0dc
lea eax, [ebp - 4]
lea edx, [ebp - 0x265]
mov ecx, 0x105
call fcn.0040594c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x160]
call fcn.0040384c
mov edx, 1
lea eax, [ebp - 0x160]
call fcn.00403f18
call fcn.004031e8
test eax, eax
jne 0x4db0ce
xor ebx, ebx
lea eax, [ebp - 0x160]
call fcn.00403914
call fcn.00403054
mov eax, dword [ebp - 4]
call fcn.00405b6c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db0fe
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405700
ret