joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e498
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40e54f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040e0e8
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403848
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x40e535
xor eax, eax
push ebp
push 0x40e52e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00403848
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e539
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e556
lea eax, [ebp - 0x14]
call fcn.0040342c
ret

Function at 0x40e5cc
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40e655
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040e0e8
lea eax, [ebp - 0x18]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 0x10]
call fcn.00403848
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40e63f
mov eax, dword [ebp - 8]
call fcn.00403848
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete byte [ebp - 9]
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e65c
lea eax, [ebp - 0x10]
call fcn.0040342c
ret
Function at 0x40e664
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40e7db
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
mov dl, 1
mov eax, dword [0x409798]
call fcn.00402adc
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x40e7ac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x40e70f
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0040e34c
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x40e70f
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0040f724
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.0040368c
mov eax, dword [ebp - 0x28]
mov dl, 1
call fcn.0040e664
inc dword [ebp - 0x20]
dec dword [ebp - 0x24]
jne 0x40e6d7
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040f7ac
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00406834
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00406800
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040f7ac
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
call fcn.004034c4
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040e0e8
lea eax, [ebp - 0x18]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403848
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40e796
mov eax, dword [ebp - 0x10]
call fcn.00403848
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete byte [ebp - 6]
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e7b3
mov eax, dword [ebp - 0x1c]
call fcn.00402b04
ret

Function at 0x40ec40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x40ec99
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 8]
mov ecx, 0x40ecb0
call fcn.004036d0
mov eax, dword [ebp - 8]
call fcn.00403848
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
setge byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eca0
lea eax, [ebp - 8]
call fcn.0040342c
ret
Function at 0x40ef54
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
xor edx, edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1dc], edx
mov byte [ebp - 0x1cd], al
xor eax, eax
push ebp
push 0x40f1dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x238]
call fcn.004109ec
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.00406800
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x1d8]
call fcn.0040f7ac
lea edx, [ebp - 0x1dc]
mov eax, dword [ebp - 0x1d8]
call fcn.00406800
push 1
lea eax, [ebp - 0x234]
push eax
mov ecx, 0x40f1f0
xor edx, edx
mov eax, dword [ebp - 0x1dc]
call fcn.0040f4a8
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x1d4]
mov edx, dword [ebp - 0x1dc]
call fcn.004036d0
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1cc]
call fcn.00404a2e
lea eax, [ebp - 0x1cc]
call fcn.00404cb6
call fcn.00402620
push ebp
mov eax, 0x40f200
call fcn.0040eee4
pop ecx
push ebp
push 0x40f210
lea eax, [ebp - 0x238]
call fcn.004109ec
push dword [ebp - 0x238]
push 0x40f220
lea eax, [ebp - 0x234]
mov edx, 3
call fcn.00403744
mov eax, dword [ebp - 0x234]
call fcn.0040eee4
pop ecx
push ebp
push 0x40f22c
lea eax, [ebp - 0x238]
call fcn.004109ec
push dword [ebp - 0x238]
push 0x40f220
push 0x40f240
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.00403744
mov eax, dword [ebp - 0x234]
call fcn.0040eee4
pop ecx
cmp byte [ebp - 0x1cd], 0
je 0x40f0d9
push ebp
push 0x40f254
push dword [ebp - 0x1d8]
push 0x40f220
lea eax, [ebp - 0x234]
mov edx, 3
call fcn.00403744
mov eax, dword [ebp - 0x234]
call fcn.0040eee4
pop ecx
push ebp
push 0x40f210
push dword [ebp - 0x1d4]
push 0x40f220
lea eax, [ebp - 0x234]
mov edx, 3
call fcn.00403744
mov eax, dword [ebp - 0x234]
call fcn.0040eee4
pop ecx
lea eax, [ebp - 0x1cc]
call fcn.00404ad0
call fcn.00402620
lea eax, [ebp - 0x230]
xor ecx, ecx
mov edx, 0x44
call fcn.004028bc
mov dword [ebp - 0x204], 1
mov word [ebp - 0x200], 0
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x1dc]
call fcn.00403848
push eax
push 0
push 0x40
push 0
push 0
push 0
push 0x40f220
push dword [ebp - 0x1d4]
push 0x40f220
lea eax, [ebp - 0x234]
mov edx, 3
call fcn.00403744
mov eax, dword [ebp - 0x234]
call fcn.00403848
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x40f1ae
mov eax, dword [ebp - 0x1e8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1ec]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f1e3
lea eax, [ebp - 0x238]
mov edx, 2
call fcn.00403450
lea eax, [ebp - 0x1dc]
mov edx, 3
call fcn.00403450
ret

Function at 0x40f314
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040f2f0
mov ebx, eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
cmp ebx, eax
jge 0x40f33d
mov byte [ebp - 5], 0
jmp 0x40f341
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x40f6b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403838
xor eax, eax
push ebp
push 0x40f713
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403848
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x40f6f4
test byte [ebp - 0xc], 0x10
jne 0x40f6f8
xor eax, eax
jmp 0x40f6fa
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f71a
lea eax, [ebp - 4]
call fcn.0040342c
ret

Function at 0x40f964
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
push 0x80
mov eax, dword [ebp - 4]
call fcn.00403848
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 4]
call fcn.004066b0
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x4130c4
Capabilities:
Create process on windows

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
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x413260
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x413270
mov edx, dword [ebp - 4]
mov eax, 1
call fcn.0040c318
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
mov dl, 0x22
call fcn.0040c0e8
mov eax, dword [ebp - 0x10]
call fcn.004066a0
test al, al
je 0x413245
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x413270
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.0040c318
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x413270
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.0040c318
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x413270
mov edx, dword [ebp - 4]
mov eax, 4
call fcn.0040c318
mov eax, dword [ebp - 0x20]
mov edx, 1
call fcn.004064d0
sub eax, 1
jb 0x413178
je 0x41317f
dec eax
je 0x413188
dec eax
je 0x413191
jmp 0x41319a
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4131a1
mov dword [ebp - 0xc], 1
jmp 0x4131a1
mov dword [ebp - 0xc], 3
jmp 0x4131a1
mov dword [ebp - 0xc], 7
jmp 0x4131a1
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x413270
mov edx, dword [ebp - 4]
mov eax, 5
call fcn.0040c318
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov dl, 0x22
call fcn.0040c0e8
cmp dword [ebp - 0x1c], 0
je 0x4131d2
mov eax, dword [ebp - 0x1c]
call fcn.004120e0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x413270
mov edx, dword [ebp - 4]
mov eax, 6
call fcn.0040c318
mov eax, dword [ebp - 0x20]
mov edx, 1
call fcn.004064d0
test al, al
je 0x413216
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x416668]
call fcn.004119f0
mov dword [ebp - 8], eax
jmp 0x413245
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00403848
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403848
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403848
push eax
push 0
mov eax, dword [0x416668]
push eax
call sub.shell32.dll_ShellExecuteA
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413267
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00403450
ret
Function at 0x413e4c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x414065
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.comctl32.dll_InitCommonControls
mov eax, dword [0x4153a0]
mov dword [eax], 0x10000
mov eax, dword [0x415354]
mov edx, 0x414078
call fcn.00403480
push 0
call sub.kernel32.dll_GetModuleHandleA_1
mov dword [0x416660], eax
lea eax, [ebp - 8]
call fcn.004109ec
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00406800
mov edx, dword [ebp - 4]
mov eax, 0x416680
call fcn.00403480
mov eax, dword [0x416680]
call fcn.004068f0
mov dl, 1
mov eax, dword [0x409798]
call fcn.00402adc
mov dword [0x41666c], eax
mov dl, 1
mov eax, dword [0x409798]
call fcn.00402adc
mov dword [0x416670], eax
xor eax, eax
push ebp
push 0x414043
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004026fc
test eax, eax
jne 0x413f0d
mov eax, 0x416664
mov ecx, 0x414094
mov edx, dword [0x416680]
call fcn.004036d0
jmp 0x413f1c
mov edx, 0x416664
mov eax, 1
call fcn.0040275c
mov eax, dword [0x416664]
call fcn.004066a0
test al, al
jne 0x413f68
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
mov eax, 3
call fcn.00411e2c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x416664]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x10]
xor ecx, ecx
pop eax
call fcn.00406ee0
mov eax, dword [ebp - 4]
call fcn.00410274
call fcn.00402fe4
jmp 0x41404a
lea edx, [ebp - 4]
mov eax, 4
call fcn.00411e2c
mov eax, dword [ebp - 4]
call fcn.00410344
cmp eax, 6
jne 0x414021
push 0x416678
push 4
push 0
push 0x413420
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x416674], eax
xor eax, eax
push ebp
push 0x41401a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x413cd8
mov edx, 0x4140a0
xor ecx, ecx
mov eax, dword [0x416660]
call fcn.00405738
inc eax
jne 0x413fdf
mov eax, 0x4140b8
call fcn.00410274
call fcn.00402fe4
call fcn.00402fe4
jmp 0x41404a
lea eax, [ebp - 4]
mov ecx, 0x4140e4
mov edx, dword [0x416680]
call fcn.004036d0
mov eax, dword [ebp - 4]
call fcn.0040f964
mov al, 1
call fcn.0040ef54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414021
mov eax, dword [0x416674]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41404a
mov eax, dword [0x416670]
call fcn.00402b04
mov eax, dword [0x41666c]
call fcn.00402b04
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41406c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403450
ret
Function at 0x4015f7
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0041f596
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041f596
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x40168d
mov dword [ebp - 0x18], esp
mov eax, 5
call fcn.0041f5a8
cmp dword [ebp - 0x18], esp
je 0x40168a
push 6
call fcn.0041f5a2
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 4
call fcn.0041f5a8
cmp dword [ebp - 0x18], esp
je 0x4016b9
push 6
call fcn.0041f5a2
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 6
call fcn.0041f5a8
cmp dword [ebp - 0x18], esp
je 0x4016e7
push 6
call fcn.0041f5a2
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 7
call fcn.0041f5a8
cmp dword [ebp - 0x18], esp
je 0x401713
push 6
call fcn.0041f5a2
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 8
call fcn.0041f5a8
cmp dword [ebp - 0x18], esp
je 0x4017a2
push 6
call fcn.0041f5a2
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 1
call fcn.0041f5a8
cmp dword [ebp - 0x18], esp
je 0x4017c7
push 6
call fcn.0041f5a2
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x4017cf
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041f590
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041f590
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x429af0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a5dbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00499ede
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x429b72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004972d4
mov eax, dword [eax]
push 0x4cd1f4
push eax
call fcn.00489e44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049a169
test bl, bl
je 0x429b72
push 0x4cd1f4
lea ecx, [esp + 0xc]
call fcn.0049a4f9
push 0x4d0d78
lea ecx, [esp + 0xc]
call fcn.0049a4f9
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x429bae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049a169
jmp 0x429c79
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x429c32
lea edx, [esp + 0x7c]
push 0x4d0d74
push edx
call fcn.00489e44
add esp, 8
test eax, eax
je 0x429c32
lea eax, [esp + 0x7c]
push 0x4d0d70
push eax
call fcn.00489e44
add esp, 8
test eax, eax
je 0x429c32
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x429bc2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049a169
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x42a470
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42a4d2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x42a4e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a5e3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d81b4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x42a618
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42a546
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049a169
xor eax, eax
jmp 0x42a68f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049a2a6
push esi
lea ecx, [esp + 0xc]
call fcn.0049a535
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42a66d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0042a470
test eax, eax
jne 0x42a66d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0042a470
test eax, eax
jne 0x42a66d
lea eax, [esp + 0x14]
push 0x4d0d8c
push eax
call fcn.0048ae80
mov esi, eax
add esp, 8
test esi, esi
jne 0x42a64c
lea ecx, [esp + 0x14]
push 0x4d0d88
push ecx
call fcn.0048ae00
mov esi, eax
add esp, 8
test esi, esi
jne 0x42a64c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42a64f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049a256
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42a55e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049a169
xor eax, eax
jmp 0x42a68f
mov byte [esi], 0
push 0x4d0d84
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0049a169
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x43e8e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43e94e
cmp si, 0x69
ja 0x43e94e
add esi, 0xffd0
cmp si, 0x11
je 0x43e91e
push 0x11
call edi
test ax, ax
jge 0x43e91e
or esi, 0x2000
cmp si, 0x10
je 0x43e933
push 0x10
call edi
test ax, ax
jge 0x43e933
or esi, 0x4000
cmp si, 0x12
je 0x43e948
push 0x12
call edi
test ax, ax
jge 0x43e948
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43e95b
mov esi, 0xbd
jmp 0x43e90f
cmp si, 0x6e
jne 0x43e968
mov esi, 0xbe
jmp 0x43e90f
cmp si, 0x6f
jne 0x43e909
mov esi, 0xbf
jmp 0x43e90f

Function at 0x440110
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e8958]
xor edx, edx
cmp eax, edx
jne 0x440136
xor eax, eax
mov byte [eax + 0x4e8858], al
inc eax
cmp eax, 0x100
jl 0x44011e
mov dword [0x4e8958], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e8858
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4401c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x44019a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x440168
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x440240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x440293
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x44027a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret