joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d2570
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x698b9c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x4d2590
xor eax, eax
jmp 0x4d2662
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.005bfd50
add esp, 0xc
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x4d25e8
mov eax, dword [ebp - 4]
jmp 0x4d2662
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4d2652
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.005c0ce9
add esp, 8
test eax, eax
jne 0x4d263b
mov edx, dword [ebp - 0x230]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x4d2662
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4d2609
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret

Function at 0x4d2700
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0x6131fc
call fcn.004d2670
add esp, 4
pop ebp
ret

Function at 0x4d2920
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608974
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x698b9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x80
lea ecx, [ebp - 0x10]
call fcn.00402f80
mov dword [ebp - 4], 0
push str._C_start
lea ecx, [ebp - 0x10]
call fcn.00403d00
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406b90
push 0x613314
push 0x26
lea ecx, [ebp - 0x10]
call fcn.004d3290
call fcn.004195a0
movzx ecx, al
test ecx, ecx
je 0x4d29a9
push 1
lea ecx, [ebp - 0x10]
call fcn.00403cf0
push eax
push 0x613318
call fcn.004d2a10
add esp, 0xc
test eax, eax
jne 0x4d29e2
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x613320
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x20
cmp ecx, eax
sbb edx, edx
neg edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402fe0
mov eax, dword [ebp - 0x14]
jmp 0x4d29fb
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402fe0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d2a10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6089a5
mov eax, dword fs:[0]
push eax
sub esp, 0x890
mov eax, dword [0x698b9c]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x884]
call fcn.004c6da0
mov dword [ebp - 0x890], eax
mov ecx, dword [ebp - 0x890]
mov dword [ebp - 0x894], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x894]
call fcn.004efe20
push eax
lea edx, [ebp - 0x82c]
push edx
call fcn.005c24e5
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x884]
call fcn.004b4e90
cmp dword [ebp + 0xc], 0
je 0x4d2aff
push 0x613328
lea eax, [ebp - 0x82c]
push eax
call fcn.005c24b7
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x88c]
call fcn.004c6da0
mov dword [ebp - 0x898], eax
mov edx, dword [ebp - 0x898]
mov dword [ebp - 0x89c], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x89c]
call fcn.004efe20
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.005c24b7
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88c]
call fcn.004b4e90
call fcn.004d2c60
mov dword [ebp - 0x14], eax
call fcn.004d2700
push 0x44
push 0
lea ecx, [ebp - 0x87c]
push ecx
call fcn.005bfd50
add esp, 0xc
mov dword [ebp - 0x87c], 0x44
cmp dword [ebp + 0x10], 0
je 0x4d2b42
mov dword [ebp - 0x850], 1
xor edx, edx
mov word [ebp - 0x84c], dx
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push 0x10
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.005bfd50
add esp, 0xc
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x10], 0x20
push 1
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x4d2b8e
jmp 0x4d2b9a
mov ecx, dword [ebp - 0x10]
or ecx, 0x400
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x87c]
push eax
push 0
mov ecx, dword [ebp - 0x830]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x82c]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x4d2c06
cmp dword [0x69aaa4], 3
jg 0x4d2bf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x61332c
push 0x7dd
push 0x613344
push 3
call fcn.00401310
add esp, 0x14
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4d2c3f
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x830], 0
je 0x4d2c26
mov ecx, dword [ebp - 0x830]
push ecx
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret
Function at 0x4d2f10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2001f
push 0
push 0x610a70
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4d2f58
jmp 0x4d2f97
mov dword [ebp - 8], 4
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4d2f86
jmp 0x4d2f97
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4d2fa9
cmp dword [ebp - 4], 0
je 0x4d2fa7
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4d2fb0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d3006
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4d3008
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4d3e20
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x698b9c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x464], 1
mov eax, dword [ebp + 8]
push eax
push 0x613970
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.005c4a89
add esp, 0x10
lea edx, [ebp - 0x460]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4d3f76
mov ecx, 1
test ecx, ecx
je 0x4d3f58
mov edx, dword [ebp - 0x460]
and edx, 0x10
je 0x4d3f03
push 0x613980
lea eax, [ebp - 0x434]
push eax
call fcn.005c209e
add esp, 8
test eax, eax
je 0x4d3f01
push 0x613984
lea ecx, [ebp - 0x434]
push ecx
call fcn.005c209e
add esp, 8
test eax, eax
je 0x4d3f01
lea edx, [ebp - 0x434]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x61398c
push 0x104
lea ecx, [ebp - 0x670]
push ecx
call fcn.005c4a89
add esp, 0x14
lea edx, [ebp - 0x670]
push edx
call fcn.004d3e20
add esp, 4
test eax, eax
jne 0x4d3f01
xor eax, eax
jmp 0x4d3f8d
jmp 0x4d3f3c
lea eax, [ebp - 0x434]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_s
push 0x104
lea edx, [ebp - 0x670]
push edx
call fcn.005c4a89
add esp, 0x14
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4d3f3c
xor eax, eax
jmp 0x4d3f8d
lea ecx, [ebp - 0x460]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4d3f53
jmp 0x4d3f58
jmp 0x4d3e7b
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4d3f74
xor eax, eax
jmp 0x4d3f8d
jmp 0x4d3f88
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4d3f88
xor eax, eax
jmp 0x4d3f8d
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret

Function at 0x4d3fa0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x698b9c]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4d3ffe
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x258]
and eax, 0x10
je 0x4d3ff2
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d3e20
add esp, 4
jmp 0x4d4000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4d4000
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret
Function at 0x4d4310
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x698b9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1c]
call fcn.004d5070
mov dword [ebp - 4], 0
mov ecx, 0x69c148
call fcn.00401050
mov dword [ebp - 0x20], 0
jmp 0x4d4360
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, 0x69c138
call fcn.004cf040
cmp dword [ebp - 0x20], eax
jae 0x4d43b1
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, 0x69c138
call fcn.004ed520
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebp + 8]
je 0x4d439c
cmp dword [ebp + 8], 0
jne 0x4d43af
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x1c], 0x64
jae 0x4d43af
push 0
mov eax, dword [ebp - 0x24]
add eax, 0x10
push eax
lea ecx, [ebp - 0x1c]
call fcn.004d50d0
jmp 0x4d43b1
jmp 0x4d4357
mov ecx, 0x69c148
call fcn.00401060
mov dword [ebp - 0x28], 0
jmp 0x4d43cd
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x1c]
call fcn.004cf040
cmp dword [ebp - 0x28], eax
jae 0x4d444e
push 0
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004ed520
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x2c], eax
cmp dword [0x69aaa4], 3
jg 0x4d441e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push str.terminalte_ret_d__err_d
push 0x22
push 0x613cbc
push 3
call fcn.00401310
add esp, 0x18
cmp dword [ebp + 8], 0
jne 0x4d4449
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004ed520
mov eax, dword [eax]
push eax
call fcn.004d4470
add esp, 4
test eax, eax
je 0x4d4449
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4d441e
jmp 0x4d43c4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004d50b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d44f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608b0b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x698b9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
jne 0x4d4522
xor eax, eax
jmp 0x4d466c
push 0x69c148
lea ecx, [ebp - 0x10]
call fcn.00404090
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x4d4548
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, 0x69c138
call fcn.004cf040
cmp dword [ebp - 0x14], eax
jae 0x4d4653
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x69c138
call fcn.004ed520
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebp + 8]
jne 0x4d464e
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005c0140
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4d464c
cmp dword [ebp - 0x20], 1
jne 0x4d45c9
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
cmp eax, 0x7f
jne 0x4d45c9
push 0
lea ecx, [ebp - 0x24]
push ecx
push 3
push 0x613ccc
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4d45e1
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp + 0x10], 0
je 0x4d4624
cmp dword [ebp - 0x20], 0
je 0x4d460b
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x20]
movsx edx, byte [ecx - 1]
cmp edx, 0xa
je 0x4d4622
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax - 1]
cmp ecx, 3
je 0x4d4622
push 0
lea edx, [ebp - 0x24]
push edx
push 2
push 0x613cd0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4d464c
cmp dword [ebp - 0x20], 1
jne 0x4d464c
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
cmp edx, 0xd
jne 0x4d464c
push 0
lea eax, [ebp - 0x24]
push eax
push 1
push 0x613cd4
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4d4653
jmp 0x4d453f
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004040b0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d48b0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x698b9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x1c]
push ecx
push str..pipegotohttp_u
lea edx, [ebp - 0x24]
push edx
call fcn.005c1f0c
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push 0
push 0x400
push 0x400
push 2
push 0
push 3
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0xffffffff
jne 0x4d4921
xor eax, eax
jmp 0x4d497f
push 0
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
jne 0x4d4941
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4d497f
push 0
push 0x40000080
push 3
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
jne 0x4d497a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4d497f
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 8
Function at 0x4d5920
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.005c01cb
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4d59b6
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4d597f
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.005bfdd0
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d59ac
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edx, dword [ebp - 4]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
jmp 0x4d59b8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4d8770
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
mov dx, word [ebp + 0xc]
mov word [ebp - 0x16], dx
mov ax, word [ebp + 8]
mov word [ebp - 0x18], ax
cmp dword [ebp + 0xc], 0
jne 0x4d883a
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [ebp - 0x16], ax
movzx edx, word [ebp - 0x16]
test edx, edx
je 0x4d883a
mov eax, dword [ebp - 0x14]
or eax, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0x5b
je 0x4d8831
cmp dword [ebp + 8], 0x5c
je 0x4d8831
cmp dword [ebp + 8], 0x5d
je 0x4d8831
cmp dword [ebp + 8], 0x25
je 0x4d8831
cmp dword [ebp + 8], 0x27
je 0x4d8831
cmp dword [ebp + 8], 0x26
je 0x4d8831
cmp dword [ebp + 8], 0x28
je 0x4d8831
cmp dword [ebp + 8], 0x24
je 0x4d8831
cmp dword [ebp + 8], 0x23
je 0x4d8831
cmp dword [ebp + 8], 0x2e
je 0x4d8831
cmp dword [ebp + 8], 0x2d
je 0x4d8831
cmp dword [ebp + 8], 0x21
je 0x4d8831
cmp dword [ebp + 8], 0x22
je 0x4d8831
cmp dword [ebp + 8], 0xa5
je 0x4d8831
cmp dword [ebp + 8], 0xa3
je 0x4d8831
cmp dword [ebp + 8], 0x13
jne 0x4d883a
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
push 0x1c
lea edx, [ebp - 0x1c]
push edx
push 1
call dword [sym.imp.USER32.dll_SendInput]
cmp eax, 1
je 0x4d8876
cmp dword [0x69aaa4], 3
jg 0x4d8876
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Injection_failed._err_d
push 0x583
push 0x614348
push 3
call fcn.00401310
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x4d9150
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
jmp 0x4d916b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x2e8
call fcn.004cf040
cmp dword [ebp - 4], eax
jae 0x4d91da
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x2e8
call fcn.004db1c0
movzx edx, word [eax]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d90e0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x4d91d8
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.004d8770
add esp, 0x10
push 0
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004d8770
add esp, 0x10
jmp 0x4d9162
mov ecx, dword [ebp - 0xc]
add ecx, 0x2e8
call fcn.004d5170
mov esp, ebp
pop ebp
ret

Function at 0x4d91f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x24], 0x14
mov dword [ebp - 0x20], 0xa2
mov dword [ebp - 0x1c], 0xa0
mov dword [ebp - 0x18], 0xa4
mov dword [ebp - 0x14], 0xa3
mov dword [ebp - 0x10], 0xa1
mov dword [ebp - 0xc], 0xa5
mov dword [ebp - 8], 0x5b
push 0x11
call fcn.004199e0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4d934c
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00459250
push eax
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004158c0
push eax
lea ecx, [ebp - 0x30]
call fcn.004c73f0
push 0x11
lea ecx, [ebp - 0x30]
call fcn.004d4280
mov dword [ebp - 0x34], 0
jmp 0x4d9284
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 8
jae 0x4d9306
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + ecx*4 - 0x24]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004d90e0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x3c], 0x14
jne 0x4d92cd
mov edx, dword [ebp - 0x38]
and edx, 1
je 0x4d92c4
mov dword [ebp - 0x38], 1
jmp 0x4d92cb
mov dword [ebp - 0x38], 0
jmp 0x4d92e7
mov eax, dword [ebp - 0x38]
and eax, 0x8000
jne 0x4d92e0
mov dword [ebp - 0x38], 0
jmp 0x4d92e7
mov dword [ebp - 0x38], 1
movzx ecx, byte [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004d4280
movzx edx, byte [ebp - 0x38]
push edx
lea ecx, [ebp - 0x30]
call fcn.004d4280
jmp 0x4d927b
cmp dword [ebp + 8], 0
jne 0x4d931a
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x2c8]
mov dword [ebp - 0x44], ecx
jmp 0x4d9320
mov edx, dword [ebp + 8]
mov dword [ebp - 0x44], edx
push 0
push 3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 4]
call eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4da5d0
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0x7e
je 0x4da5eb
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x68], 0
je 0x4da606
push 0x80000
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x50
call fcn.004010c0
neg eax
sbb eax, eax
add eax, 1
jmp 0x4da671
mov edx, dword [ebp - 8]
mov dword [edx + 8], 0
mov dword [ebp - 4], 0
jmp 0x4da622
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10
jge 0x4da657
push 0x20
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
test eax, eax
je 0x4da655
mov ecx, dword [ebp - 8]
call fcn.004da680
mov eax, 1
jmp 0x4da671
jmp 0x4da619
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x60]
push ecx
call dword [sym.imp.WINMM.dll_waveInStart]
test eax, eax
je 0x4da66f
mov eax, 2
jmp 0x4da671
xor eax, eax
mov esp, ebp
pop ebp
ret