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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x748ac1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x85e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1f0
call fcn.0046b200
test eax, eax
jne 0x491e1b
mov ecx, dword [ebp - 0x10]
call fcn.00462060
jmp 0x491ec0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00467fc0
mov ecx, dword [ebp - 0x10]
add ecx, 0x200
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404650
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x200
call fcn.00444750
movzx edx, al
test edx, edx
je 0x491e95
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00404450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00404560
push 1
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.004022d0
push eax
push 0x7668b0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404560
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x498d90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x128], ecx
push 0x11c
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.005c1f30
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x498e04
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x498e04
xor eax, eax
jmp 0x498e1f
movzx eax, byte [ebp - 6]
cmp eax, 1
jne 0x498e1d
cmp dword [ebp - 0x11c], 6
jne 0x498e1d
mov eax, 1
jmp 0x498e1f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419933
mov esp, ebp
pop ebp
ret
Function at 0x4b94c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74a2db
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x85e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x40]
call fcn.004bb400
mov dword [ebp - 4], 0
mov byte [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0xa4]
call eax
movzx ecx, byte [ebp - 0x18]
test ecx, ecx
je 0x4b9548
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004022f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00469a20
jmp 0x4b95e1
cmp dword [ebp + 8], 0xd
jne 0x4b958f
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x454]
and eax, 0x1000
jne 0x4b958f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
jne 0x4b958f
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004022f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00469a20
jmp 0x4b95e1
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x464]
call fcn.00447bf0
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00459330
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00459330
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00459330
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00469a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b9640
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 9
je 0x4b968d
cmp dword [ebp - 8], 0xa
je 0x4b9663
cmp dword [ebp - 8], 0xd
je 0x4b9663
jmp 0x4b96b2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
jne 0x4b968b
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x454]
and eax, 0x1000
jne 0x4b968b
jmp 0x4b972a
jmp 0x4b96e7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x458]
shr edx, 7
and edx, 1
jne 0x4b96b0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
jne 0x4b96b0
jmp 0x4b972a
jmp 0x4b96e7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x454]
and edx, 0x2000
je 0x4b96e7
mov eax, dword [ebp + 8]
push eax
call fcn.005d926a
add esp, 4
test eax, eax
jne 0x4b96e7
cmp dword [ebp + 8], 0x2d
je 0x4b96e7
cmp dword [ebp + 8], 0x2e
je 0x4b96e7
cmp dword [ebp + 8], 0x2c
je 0x4b96e7
jmp 0x4b972a
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x464]
call fcn.00447bf0
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.00459330
mov edx, dword [eax + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.00459330
mov eax, dword [eax + 4]
push eax
mov ecx, dword [ebp - 4]
call fcn.00459330
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
call edx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bd410
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1f8], 0
jne 0x4bd42a
jmp 0x4bd511
push 1
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.00464a10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00465560
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x1f2]
cmp dword [ebp + 8], eax
jne 0x4bd468
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1f8], 0
jmp 0x4bd505
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x1f2]
test eax, eax
jne 0x4bd4d7
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
jne 0x4bd4d7
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
jne 0x4bd4d7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
jne 0x4bd4d7
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1f8], 0
mov ecx, dword [ebp - 4]
call fcn.004bd5b0
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004bd790
mov ecx, dword [ebp - 4]
call fcn.00461960
jmp 0x4bd505
cmp dword [ebp + 8], 0x10
je 0x4bd4e9
cmp dword [ebp + 8], 0x12
je 0x4bd4e9
cmp dword [ebp + 8], 0x11
jne 0x4bd505
mov ecx, dword [ebp - 4]
call fcn.004bd5b0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004bd790
mov ecx, dword [ebp - 4]
call fcn.00461960
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00464d00
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4bd520
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x4bd54d
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004bd310
jmp 0x4bd55a
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.004022f0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4bd560
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0x12
je 0x4bd57d
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x4bd593
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004bd410
jmp 0x4bd5a0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.004022f0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bd5b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74a58b
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x85e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
mov dword [ebp - 0x18], eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
mov dword [ebp - 0x1c], ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
mov dword [ebp - 0x20], edx
xor eax, eax
mov word [ebp - 0x10], ax
cmp dword [ebp - 0x18], 0
jne 0x4bd634
cmp dword [ebp - 0x1c], 0
jne 0x4bd634
cmp dword [ebp - 0x20], 0
jne 0x4bd634
xor ecx, ecx
mov word [ebp - 0x10], cx
jmp 0x4bd6ee
cmp dword [ebp - 0x18], 0
je 0x4bd654
cmp dword [ebp - 0x1c], 0
jne 0x4bd654
cmp dword [ebp - 0x20], 0
jne 0x4bd654
mov edx, 1
mov word [ebp - 0x10], dx
jmp 0x4bd6ee
cmp dword [ebp - 0x18], 0
jne 0x4bd671
cmp dword [ebp - 0x1c], 0
je 0x4bd671
cmp dword [ebp - 0x20], 0
jne 0x4bd671
mov eax, 2
mov word [ebp - 0x10], ax
jmp 0x4bd6ee
cmp dword [ebp - 0x18], 0
jne 0x4bd68e
cmp dword [ebp - 0x1c], 0
jne 0x4bd68e
cmp dword [ebp - 0x20], 0
je 0x4bd68e
mov ecx, 4
mov word [ebp - 0x10], cx
jmp 0x4bd6ee
cmp dword [ebp - 0x18], 0
je 0x4bd6ab
cmp dword [ebp - 0x1c], 0
je 0x4bd6ab
cmp dword [ebp - 0x20], 0
jne 0x4bd6ab
mov edx, 3
mov word [ebp - 0x10], dx
jmp 0x4bd6ee
cmp dword [ebp - 0x18], 0
je 0x4bd6c8
cmp dword [ebp - 0x1c], 0
jne 0x4bd6c8
cmp dword [ebp - 0x20], 0
je 0x4bd6c8
mov eax, 5
mov word [ebp - 0x10], ax
jmp 0x4bd6ee
cmp dword [ebp - 0x18], 0
jne 0x4bd6e5
cmp dword [ebp - 0x1c], 0
je 0x4bd6e5
cmp dword [ebp - 0x20], 0
je 0x4bd6e5
mov ecx, 6
mov word [ebp - 0x10], cx
jmp 0x4bd6ee
mov edx, 7
mov word [ebp - 0x10], dx
movzx eax, word [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 0x1f4]
cmp eax, edx
jne 0x4bd716
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx + 0x1f6]
mov word [eax + 0x1f0], dx
jmp 0x4bd724
mov eax, dword [ebp - 0x14]
mov cx, word [ebp - 0x10]
mov word [eax + 0x1f0], cx
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x44]
call fcn.004bdaf0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov cx, word [eax + 0x1f0]
mov word [ebp - 0x22], cx
mov edx, dword [ebp - 0x14]
mov ax, word [edx + 0x1f2]
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0xa4]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00469a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d96a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74b779
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x85e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0045fc80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1f0
call fcn.004db9f0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.SOUI::SDateTimePicker.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.SOUI::SDateTimePicker.1.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], vtable.SOUI::SDateTimePicker.2.0
mov eax, dword [ebp - 0x10]
mov dword [eax + method.SOUI::SDateTimePicker.3.virtual_0], vtable.SOUI::SDateTimePicker.3.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1f4], 0
push 0x64
push 7
call fcn.00403d00
mov ecx, eax
call fcn.00443700
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1f8], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1fc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x200], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x204], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x228
call fcn.00404700
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x22c], 0xdc
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x230], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x234], 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov word [edx + 0x238], cx
cmp dword [ebp - 0x10], 0
je 0x4d97bc
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x4d97c3
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x23c
call fcn.0045f520
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x248], 0xffcccccc
call fcn.004dbd60
push eax
push 0x4e23
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004f3540
push 0x64
push 6
call fcn.00403d00
mov ecx, eax
call fcn.00443700
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x150], eax
push 0x76dc68
lea ecx, [ebp - 0x1c]
call fcn.004045d0
mov byte [ebp - 4], 3
push 0x76dc6c
lea ecx, [ebp - 0x18]
call fcn.004045d0
mov byte [ebp - 4], 4
push 1
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x70]
mov edx, dword [eax]
call edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00404560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00404560
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.004f4a70
push 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.004f4a90
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x138]
or ecx, 0x20
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x138], ecx
mov eax, dword [ebp - 0x10]
add eax, 0x218
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x210], 0xffd77800
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x214], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ddf40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x8776e8], 0
je 0x4ddf70
cmp dword [0x8776dc], 0
je 0x4ddf61
mov dword [ebp - 8], 1
jmp 0x4ddf68
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
jmp 0x4de0f6
call fcn.004ddec0
mov dword [0x8776ec], eax
push 0x76e4a0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4de0a4
push 0x76e4b0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8776cc], eax
cmp dword [0x8776cc], 0
je 0x4de0a4
push 0x76e4c4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8776d0], eax
cmp dword [0x8776d0], 0
je 0x4de0a4
push str.MonitorFromRect
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8776d4], eax
cmp dword [0x8776d4], 0
je 0x4de0a4
push str.MonitorFromPoint
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8776d8], eax
cmp dword [0x8776d8], 0
je 0x4de0a4
push str.EnumDisplayMonitors
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8776e0], eax
cmp dword [0x8776e0], 0
je 0x4de0a4
push str.EnumDisplayDevicesW
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8776e4], eax
cmp dword [0x8776e4], 0
je 0x4de0a4
cmp dword [0x8776ec], 0
je 0x4de06d
push 0x76e524
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
jmp 0x4de07f
push str.GetMonitorInfoA
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [0x8776dc], edx
cmp dword [0x8776dc], 0
je 0x4de0a4
mov dword [0x8776e8], 1
mov eax, 1
jmp 0x4de0f6
mov dword [0x8776cc], 0
mov dword [0x8776d0], 0
mov dword [0x8776d4], 0
mov dword [0x8776d8], 0
mov dword [0x8776dc], 0
mov dword [0x8776e0], 0
mov dword [0x8776e4], 0
mov dword [0x8776e8], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4f7180
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 9
je 0x4f7193
xor eax, eax
jmp 0x4f71df
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.004847f0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4f71c4
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0xa8]
call edx
and eax, 2
je 0x4f71c4
xor eax, eax
jmp 0x4f71df
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x4f71da
xor eax, eax
jmp 0x4f71df
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x50aedd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x50aefd
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov dword [eax + 8], esi
mov dword [eax + 4], esi
jmp 0x50afbb
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 0x10]
call fcn.0050a7ef
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x50af1b
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x50aef2
push ebx
push edi
mov edi, dword [ebp - 4]
lea eax, [edi + 2]
push eax
call dword [0x85e824]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x50af3c
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x50af60
push dword [ebp + 0x10]
push edi
push 1
push ebx
call fcn.005d5caf
add esp, 0x10
cmp eax, edi
je 0x50af68
push ebx
call dword [0x85e828]
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], 2
mov dword [eax + 8], esi
mov dword [eax + 4], esi
jmp 0x50afb9
push edi
push ebx
push dword [ebp + 0x18]
call fcn.0050a7be
mov edx, eax
add esp, 0xc
cmp edx, 2
je 0x50af8a
push 2
push edx
call fcn.0050b02d
pop ecx
pop ecx
test al, al
je 0x50af98
shr edi, 1
xor ecx, ecx
lea eax, [edi + edi]
mov word [eax + ebx], cx
lea edi, [eax + 2]
push dword [ebp + 0x1c]
push 1
push 1
push edx
push dword [ebp + 0x14]
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050ad62
mov eax, dword [ebp + 8]
add esp, 0x28
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5115f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x511617
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x511606
pop edi
movzx eax, dl
pop esi
ret
Function at 0x511760
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x10c
call fcn.005f0180
mov eax, dword [0x85e00c]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x5117ff
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x5117ff
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.00408850
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.005d1349
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00419933
add esp, 0x10c
ret
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.00408850
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.005d1349
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.00511620
test eax, eax
jle 0x511893
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x5118a7
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00419933
add esp, 0x10c
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.00419933
add esp, 0x10c
ret
Function at 0x513920
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x514410
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00514610
add esp, 0xc
test eax, eax
js 0x514600
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x514490
lea esi, [ebp + 8]
lea esi, [esi + edi*4]
lea eax, [ebp + 8]
nop dword [eax]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x514450
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x5145fb
lea esi, [ebp + 2]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
inc edi
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x772ed8]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x773ad8]
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x7742d8]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x773ed8]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x7746d8]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x772ed8]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x773ad8]
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x7742d8]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x773ed8]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x7746d8]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x772ed8]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x773ad8]
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x7742d8]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x773ed8]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x7746d8]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x772ed8]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x773ad8]
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x7742d8]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x773ed8]
movzx eax, dl
movzx eax, byte [eax*4 + 0x772ed8]
xor ecx, dword [eax*4 + 0x7746d8]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x5144a4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret