joyce8/EMBER2024-capa huggingface dataset:
Function at 0x86a094
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x86a09c
push ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x86a21a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov al, 1
call fcn.004c3988
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [0x892e00]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
mov ecx, 0x86a230
call fcn.00405598
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 8]
pop eax
call fcn.004bdd94
lea edx, [ebp - 0x1c]
mov al, 1
call fcn.004c3988
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xc]
mov edx, 0x86a240
call fcn.004bdd94
mov eax, dword [ebp - 8]
call fcn.0040ad3c
test al, al
je 0x86a12d
push 8
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
push 0x86a248
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x86a1f2
mov eax, dword [ebp - 0xc]
call fcn.0040ad3c
test al, al
je 0x86a159
push 8
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040574c
push eax
push 0x86a248
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x86a1f2
lea edx, [ebp - 0x24]
mov al, 1
call fcn.004c3988
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov edx, 0x86a258
call fcn.004bdd94
mov eax, dword [ebp - 0x20]
call fcn.0040ad3c
test al, al
jne 0x86a1bd
push 0x10
lea edx, [ebp - 0x28]
mov eax, 1
call fcn.0062e7cc
mov eax, dword [ebp - 0x28]
call fcn.0040574c
push eax
lea edx, [ebp - 0x2c]
mov eax, 0x11d
call fcn.0062e7cc
mov eax, dword [ebp - 0x2c]
call fcn.0040574c
push eax
mov eax, dword [ebp - 4]
call fcn.0047a720
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x86a1f2
push 8
push 0
push 0
lea edx, [ebp - 0x34]
mov al, 1
call fcn.004c3988
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
mov edx, 0x86a258
call fcn.004bdd94
mov eax, dword [ebp - 0x30]
call fcn.0040574c
push eax
push 0x86a248
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x86a221
lea eax, [ebp - 0x34]
mov edx, 9
call fcn.004052b0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004052b0
ret
Function at 0x86f5a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x86f7b3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x118]
push eax
call sub.user32.dll_GetKeyboardState
mov al, byte [ebp - 0x107]
and al, 0x80
cmp al, 0x80
je 0x86f78d
mov al, byte [ebp - 0x106]
and al, 0x80
cmp al, 0x80
je 0x86f78d
mov al, byte [ebp - 0x108]
and al, 0x80
cmp al, 0x80
je 0x86f78d
lea edx, [ebp - 0x11c]
mov al, 1
call fcn.004c3988
mov eax, dword [ebp - 0x11c]
push eax
mov edx, dword [0x892e00]
mov edx, dword [edx]
lea eax, [ebp - 0x120]
mov ecx, 0x86f7c8
call fcn.00405598
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 8]
pop eax
call fcn.004bdd94
mov eax, dword [ebp - 8]
call fcn.0040ad3c
test al, al
jne 0x86f6d5
lea edx, [ebp - 0x124]
mov al, 1
call fcn.004c3988
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 8]
mov edx, 0x86f7d8
call fcn.004bdd94
mov eax, dword [ebp - 8]
call fcn.0040ad3c
test al, al
jne 0x86f6d5
push 0x10
lea edx, [ebp - 0x128]
mov eax, 1
call fcn.0062e7cc
mov eax, dword [ebp - 0x128]
call fcn.0040574c
push eax
lea edx, [ebp - 0x12c]
mov eax, 0x11d
call fcn.0062e7cc
mov eax, dword [ebp - 0x12c]
call fcn.0040574c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x86f78d
cmp dword [ebp - 4], 0
je 0x86f76b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x86f71b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x86f71b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x158]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], 0x3e8
jle 0x86f6f7
cmp dword [ebp - 0xc], 0x3e9
jge 0x86f72b
mov dword [ebp - 0xc], 0x3e9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040574c
mov edx, eax
mov ecx, 0xf
xor eax, eax
call fcn.006676e8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x86f789
push 0x3ec
mov eax, dword [ebp - 8]
call fcn.0040574c
mov edx, eax
mov ecx, 1
xor eax, eax
call fcn.006676e8
jmp 0x86f789
push 0x3ec
mov eax, dword [ebp - 8]
call fcn.0040574c
mov edx, eax
mov ecx, 1
xor eax, eax
call fcn.006676e8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x86f7ba
lea eax, [ebp - 0x12c]
mov edx, 5
call fcn.004052b0
lea eax, [ebp - 8]
call fcn.0040528c
ret
Function at 0x876ab8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x876b92
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004c9f28
test al, al
jne 0x876b74
lea edx, [ebp - 0x64]
mov al, 1
call fcn.004c3988
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0xc]
mov edx, 0x876ba8
call fcn.004bdd94
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00403464
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 0x81
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040574c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebp - 5], 0
je 0x876b6a
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0086a378
mov eax, dword [0x152a6d4]
call fcn.00490e88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x876b99
lea eax, [ebp - 0x64]
call fcn.0040528c
lea eax, [ebp - 0xc]
call fcn.0040528c
ret
Function at 0x87dafc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x87db04
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x87dcfd
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004c9f28
test al, al
jne 0x87dcda
cmp byte [0x8921e4], 0
je 0x87dcda
cmp byte [0x8921e8], 0
je 0x87dcda
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, 0x87dd10
call fcn.0049cb2c
test al, al
je 0x87dbc8
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.004c3988
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov edx, 0x87dd34
call fcn.004bdd94
mov eax, dword [ebp - 0x1c]
push eax
push 0x87dd44
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.0040a878
push dword [ebp - 0x28]
push 0x87dd68
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.0040a78c
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.0040560c
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
pop edx
call fcn.004c9098
jmp 0x87dcda
mov byte [ebp - 0x15], 0
lea eax, [ebp - 8]
push eax
mov eax, dword [0x892514]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x87dd74
call fcn.004bfaf8
cmp dword [ebp - 8], 0
jne 0x87dbef
mov byte [ebp - 0x15], 1
jmp 0x87dc38
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0040a934
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x87dc38
call fcn.0040d398
call fcn.00402d84
push edx
push eax
mov eax, dword [ebp - 0x10]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
test edx, edx
jge 0x87dc26
neg eax
adc edx, 0
neg edx
cmp edx, 0
jne 0x87dc32
cmp eax, 3
jb 0x87dc38
jmp 0x87dc34
jl 0x87dc38
mov byte [ebp - 0x15], 1
cmp byte [ebp - 0x15], 0
je 0x87dcda
push 1
call fcn.0040d398
call fcn.00402d84
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.0040a878
mov ecx, dword [ebp - 0x30]
mov eax, dword [0x892514]
mov eax, dword [eax]
mov edx, 0x87dd74
call fcn.004bf924
lea edx, [ebp - 0x34]
mov al, 1
call fcn.004c3988
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 8]
mov edx, 0x87dd88
call fcn.004bdd94
mov eax, dword [ebp - 8]
call fcn.0040ad3c
test al, al
je 0x87dcda
lea edx, [ebp - 0x3c]
xor eax, eax
call fcn.004c3988
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
mov edx, 0x87dd34
call fcn.004bdd94
mov edx, dword [ebp - 0x38]
or ecx, 0xffffffff
mov eax, 0x87dda0
call fcn.004c9098
push 8
push 0
push 0x87ddb4
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
push 0x87ddc0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x87dd04
lea eax, [ebp - 0x3c]
mov edx, 9
call fcn.004052b0
lea eax, [ebp - 8]
call fcn.0040528c
ret
Function at 0x403cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushal
push ebp
mov ebp, esp
sub esp, 0x108
invalid
inc ebp
in al, dx
push es
add byte [eax], al

Function at 0x403ce5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [ebp - 0x48], 0x2c99
mov dword [ebp - 0x18], 0xafd5b5f9
mov eax, 0x172
mul dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x6b4b
add dword [ebp - 0x10], 0x6b96
add dword [ebp - 0x10], 0x2e11f
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
sub eax, 0xa
mov dword [ebp - 0x3c], eax
add dword [ebp - 8], 0x238e
dec dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x121a
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 8], eax
mov dword [ebp - 0x24], 0x409cb0
mov eax, dword [ebp - 0x3c]
imul ecx, dword [ebp - 0xc], 1
xor edx, edx
div ecx
mov dword [ebp - 0x74], eax
mov edi, eax
mov dword [ebp - 0x28], edi
mov eax, 0x12
mov ecx, dword [ebp - 0x14]
cdq
idiv ecx
mov ebx, eax
add ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x1c]
cmp ebx, eax
jae 0x403d97
mov eax, dword [ebp - 8]
mov al, byte [eax + ebx]
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x18]
and edx, 0xff
xor eax, edx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 1]
mov byte [eax + ebx], dl
inc ebx
jmp 0x403d63
mov dword [ebp - 0x20], 0x49b000
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
sub eax, 2
cmp eax, dword [ebp - 0x3c]
jae 0x403d39
mov dword [ebp - 0x4c], 0x4336b0
mov dword [ebp - 0x50], 0x5b0000
add byte [eax], al
pop ebx
add byte [ebx + 0x4503f445], cl
in al, dx
mov esi, eax
sub esi, 0xa
jmp 0x403dda
mov eax, dword [ebp - 0x24]
mov al, byte [eax + esi]
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 1]
mov byte [eax + esi], dl
inc esi
cmp esi, 0x299ac
jb 0x403dc7
mov eax, dword [ebp - 0xc]
sub eax, 4
mov dword [ebp - 0x30], eax

Function at 0x404060
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x404076
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x404091
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x4097bf
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x404560
call int.00409d10
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40981f
cmp eax, 0xffffffff
je 0x40981f
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x409818
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x409818
cmp edx, 0x10000000
jae 0x409818
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x409815
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00409d55
ret 4
Function at 0x405092
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.00404b11
test eax, eax
je 0x4050fe
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.kernel32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4050cc
push str.SetProcessDEPPolicy
push eax
call esi
test eax, eax
je 0x4050cc
push 1
call eax
test eax, eax
jne 0x4050fd
push str.ntdll.dll
call edi
test eax, eax
je 0x4050fd
push str.NtSetInformationProcess
push eax
call esi
mov esi, eax
test esi, esi
je 0x4050fd
push 4
lea eax, [ebp - 4]
push eax
push 0x22
mov dword [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
pop edi
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call fcn.00404ee4
test al, al
jne 0x405124
xor eax, eax
inc eax
jmp 0x405133
push esi
call fcn.00404b81
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x40584e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a224]
jne 0x405858
repz ret
jmp fcn.00405df1

Function at 0x42e006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x793e7916
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x5d042a0c
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x100015d0
Capabilities:
Create http request

Disassembly:
mov eax, dword [0x1000ac28]
test eax, eax
push esi
je 0x10001649
push 0
push 0
push 0
push 0
push 0x1000ac48
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [0x1000ac34], eax
jne 0x100015fd
or eax, 0xffffffff
pop esi
ret 8
mov ecx, dword [esp + 8]
push 0
push 0x80000000
push 0
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
mov dword [0x1000ac3c], eax
mov esi, eax
jne 0x1000165b
mov edx, dword [0x1000ac34]
push edx
or esi, 0xffffffff
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
mov dword [0x1000ac34], 0
mov dword [0x1000ac40], 0
pop esi
ret 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_NlsWriteEtwEvent]
mov esi, eax
mov eax, esi
mov dword [0x1000ac40], 0
pop esi
ret 8

Function at 0x10001e10
Capabilities:
Create http request

Disassembly:
mov eax, dword [0x1001b460]
test eax, eax
ja 0x10001ea0
push 0
push 0
push 0
push 0
push str.InetAll
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [0x1000ac30], eax
jne 0x10001e3a
ret
mov ecx, dword [esp + 4]
push 0
push 0x80000000
push 0
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
mov dword [0x1000ac38], eax
jne 0x10001e5b
ret
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetFilePointer]
push 0
push 2
push 0
push 0
push eax
call esi
mov edx, dword [0x1000ac38]
push 0
push 0
push 0
push 0
push edx
mov dword [0x1001b460], eax
call esi
mov eax, dword [0x1000ac38]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
mov ecx, dword [0x1000ac30]
push ecx
call esi
mov eax, dword [0x1001b460]
pop esi
ret

Function at 0x10001f10
Capabilities:
Read data from internet
Receive data

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x1000ac38]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0xc]
ret
Function at 0x40e600
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579615
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x240
push esi
push edi
push 0x27
mov edi, ecx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.b1ZHBZDw5qIRAYXNzUBgMwYEVJR8mZFBAAeJCI
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
call fcn.0042d590
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.NzZMWR2d1YDTdH7ZTgoURVM
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.0042d590
push 0x104
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0042e950
lea ecx, [ebp - 0x14]
call fcn.00445000
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40e6eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40e71c
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x59245c
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov dword [edi + 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40e752
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e748
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e79d
push ecx
push edx
call fcn.0054f7f4
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40e788
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e77e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e79d
push ecx
push edx
call fcn.0054f7f4
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.005546cf
int3
Function at 0x411020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579985
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [ecx + 0x2c]
push ebx
push esi
push edi
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x30]
push 0x17
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
mov dword [ebp - 4], 0
test eax, eax
setne bl
inc ebx
mov dword [ebp - 0x1c], ebx
call fcn.0042ef50
mov ecx, eax
test ecx, ecx
je 0x4111a1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
call fcn.0042ef50
mov ecx, eax
test ecx, ecx
je 0x4111ab
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x14]
mov edi, 0xc8
mov byte [ebp - 4], 3
mov ecx, edi
mov eax, dword [esi + 0x50]
cmp edi, 0xc8
cmovne edi, ecx
cmp dword [eax + 8], 0
je 0x411131
push ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x411131
cmp byte [0x5c5d3b], 0
je 0x411131
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetPhysicalCursorPos]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_WindowFromPoint]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
call fcn.004686a0
test al, al
je 0x411131
push ecx
mov ecx, dword [ebp - 0x10]
mov ebx, esp
mov dword [ebp - 0x14], ebx
lea ecx, [ecx - 0x10]
call fcn.0042e860
add eax, 0x10
mov ecx, esi
mov dword [ebx], eax
call fcn.00417410
mov ebx, dword [ebp - 0x1c]
test al, al
mov eax, 0x1b7740
cmovne edi, eax
push edi
push 0
lea eax, [ebp - 0x30]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x411159
mov ecx, 0xc8
cmp eax, 1
jne 0x4110b0
mov edi, ecx
jmp 0x4110b0
mov edx, dword [ebp - 0x20]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411176
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41118e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0042f4d0
push 0x80004005
call fcn.0042f4d0
int3
Function at 0x4144d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x579f95
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp byte [0x5cbaa8], 0
push esi
push edi
mov edi, ecx
jne 0x41454f
mov esi, dword [ebp + 8]
push 8
mov byte [0x5cbaa8], 1
call fcn.0054f7c4
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax], edi
mov dword [eax + 4], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x424fb0
push 0
push 0
call fcn.0055ae48
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x414566
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042e3e0
cmp dword [ebp - 0x14], 0
jne 0x414561
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00554885
push 6
mov dword [ebp - 0x14], 0
call fcn.0053930e
int3
Function at 0x415150
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
mov esi, ecx
push 0
mov eax, dword [esi]
mov eax, dword [eax]
push dword [eax + 4]
mov byte [eax + 0x98], 1
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 8]
mov dword [esp + 8], 0x3a98
mov dword [esp + 0xc], 0
call fcn.0042d7d0
mov eax, dword [esi]
mov eax, dword [eax]
mov byte [eax + 0x98], 0
mov ecx, dword [esi]
mov ecx, dword [ecx]
call fcn.00525dd0
pop esi
mov esp, ebp
pop ebp
ret