joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400193c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400193c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, qword [rsp + 0x70]
xor ebx, ebx
mov r15, r9
mov rbp, r8
mov rdi, rdx
mov r14, rcx
mov qword [r12], rbx
cmp rdx, 2
jb 0x140019521
movzx ecx, word [rcx]
lea esi, [rbx + 2]
mov eax, 6
lea r13d, [rbx + 0x7f]
movzx edx, cx
mov r8d, 0x7e
shr dx, 0xf
and dl, 1
cmovne esi, eax
movzx eax, cx
shr ax, 8
and ax, 0x7f
cmp r8w, ax
jne 0x140019436
add rsi, 2
jmp 0x140019440
cmp r13w, ax
jne 0x140019440
add rsi, 8
cmp rdi, rsi
jb 0x140019521
test rsi, rsi
je 0x140019521
test cl, 0x70
je 0x140019461
mov eax, 0xf1
jmp 0x140019526
test cl, cl
jns 0x140019457
test dl, dl
je 0x140019457
movzx ecx, byte [r14]
and cl, 0xf
lea eax, [rcx - 1]
cmp al, 1
jbe 0x14001947e
lea eax, [rcx - 8]
cmp al, 2
ja 0x140019457
movzx eax, cl
lea r8, [rsp + 0x70]
mov rcx, r14
mov dword [rsp + 0x70], eax
mov rdx, rdi
call fcn.1400192c0
mov r8, rax
test rax, rax
je 0x14001951b
mov rax, rdi
sub rax, rsi
cmp r8, rax
ja 0x140019521
jae 0x1400194b4
sub rdi, rsi
sub rdi, r8
mov qword [r12], rdi
movzx ecx, word [r14]
movzx eax, cx
shr ax, 0xf
test al, 1
je 0x140019457
shr cx, 8
mov eax, 0x7e
and cx, r13w
cmp ax, cx
jne 0x1400194db
lea rdx, [r14 + 4]
jmp 0x1400194e9
lea rdx, [r14 + 0xa]
cmp r13w, cx
je 0x1400194e9
lea rdx, [r14 + 2]
test rdx, rdx
je 0x140019457
lea rax, [rdx + 4]
mov qword [rbp], rax
mov qword [r15], r8
test r8, r8
je 0x14001951b
mov rcx, qword [rbp]
mov rax, rbx
and eax, 3
movzx eax, byte [rax + rdx]
xor byte [rcx + rbx], al
inc rbx
cmp rbx, qword [r15]
jb 0x140019502
mov eax, dword [rsp + 0x70]
jmp 0x140019526
mov eax, 0xf2
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14001a470
Capabilities:
Create thread

Disassembly:
jmp 0x14001a470
sub rsp, 0x38
xor eax, eax
lock xadd qword [0x14016d948], rax
test rax, rax
jg 0x14001a4fc
mov ecx, reloc.WSOCK32.dll_recv
mov qword [rsp + 0x30], rbx
call fcn.1400037c9
mov rbx, rax
test rax, rax
je 0x14001a4f7
lea rax, [0x14001bb70]
mov qword [rbx + 8], 0
mov qword [rbx], rax
lea r8, [0x14001c540]
lea rax, [0x14016dae0]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14001a4ef
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x38
ret
mov rcx, rbx
call fcn.140002d65
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x38
ret
Function at 0x1400232a0
Capabilities:
Enumerate files on windows

Disassembly:
sub rsp, 0x568
mov rax, qword [0x14016c4a0]
xor rax, rsp
mov qword [rsp + 0x550], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.1400033e1
call fcn.14000155f
mov qword [0x14016db78], rax
test rax, rax
jne 0x1400232f9
mov eax, 0x708
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.140004ca5
add rsp, 0x568
ret
xor r9d, r9d
mov qword [rsp + 0x560], rdi
mov edx, 0x80
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x3c0]
lea r8d, [r9 + 7]
call fcn.140002ced
lea rax, str.upe_.dll
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c0]
lea rax, [0x14011d674]
lea r8, [0x14011d678]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x440]
call fcn.140024fb0
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x440]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14002343c
mov qword [rsp + 0x570], rbx
lea r8, [rsp + 0x16c]
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140003c4c
mov ecx, 0x30
call fcn.1400037c9
mov rbx, rax
test rax, rax
je 0x14002342b
xor eax, eax
lea rcx, [rsp + 0x30]
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
lea edx, [rax + 0x2e]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
call fcn.14000340e
test rax, rax
je 0x140023401
lea rcx, [rsp + 0x30]
mov byte [rax], 0
call fcn.140002676
mov qword [rbx + 0x18], rax
mov rdx, rbx
mov rcx, qword [0x14016db78]
call fcn.140004f48
jmp 0x140023409
mov rcx, rbx
call fcn.140002d65
lea rdx, [rsp + 0x280]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14002342b
lea r8, [rsp + 0x2ac]
jmp 0x14002338f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x570]
mov rdi, qword [rsp + 0x560]
xor eax, eax
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.140004ca5
add rsp, 0x568
ret
Function at 0x140039900
Capabilities:
Create thread

Disassembly:
jmp 0x140039900
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp dword [reloc.WSOCK32.dll_accept], 3
jl 0x140039955
test dword [0x14016ba3f], 0x1000000
je 0x140039955
lea rax, str.Entering_Function...
mov edx, 3
mov qword [rsp + 0x28], rax
lea r9, str.....esif_uf_eventmgr.c
lea r8, str.EsifEventMgr_Init
mov dword [rsp + 0x20], 0x33e
mov ecx, 0x1000000
call fcn.140003693
lea rcx, [0x140182e30]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
xor edi, edi
lea rsi, [0x140182c30]
mov qword [0x140182e38], rdi
xor bl, bl
mov dword [0x140182e40], edi
nop word [rax + rax]
call fcn.14000155f
mov rcx, rax
movzx eax, bl
mov qword [rsi + rax*8], rcx
test rcx, rcx
je 0x140039a35
inc bl
cmp bl, 0x40
jb 0x140039980
xor r8d, r8d
lea rdx, str.UfQueue
or ecx, 0xffffffff
call fcn.140004642
mov qword [0x140182e50], rax
call fcn.14000155f
cmp qword [0x140182e50], rdi
mov qword [0x140182e48], rax
je 0x140039a35
test rax, rax
je 0x140039a35
mov ecx, reloc.WSOCK32.dll_recv
call fcn.1400037c9
mov rbx, rax
test rax, rax
je 0x140039a35
lea rax, [0x1400395f0]
mov qword [rbx + 8], rdi
mov qword [rbx], rax
lea r8, [0x14003c9f0]
lea rax, [0x140182e64]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140039a26
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140039a3f
mov rcx, rbx
call fcn.140002d65
mov edi, 0x3eb
jmp 0x140039a3a
mov edi, 0x708
call fcn.14000380a
cmp dword [reloc.WSOCK32.dll_accept], 3
jl 0x140039a89
test dword [0x14016ba3f], 0x1000000
je 0x140039a89
lea rax, str.Exiting_function:_Exit_code__0x_08X...
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rax
lea r9, str.....esif_uf_eventmgr.c
lea r8, str.EsifEventMgr_Init
mov dword [rsp + 0x20], 0x35b
mov edx, 3
mov ecx, 0x1000000
call fcn.140003693
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14003e480
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x60
mov rax, rdx
mov rbx, rcx
test rdx, rdx
jne 0x14003e4f3
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x14003e645
test dword [0x14016ba1d], 0x800000
je 0x14003e645
lea rax, str.logstring_is_NULL
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.....esif_uf_loggingmgr.c
lea r8, str.EsifLogMgr_DataLogWrite
mov dword [rsp + 0x20], 0x98d
mov ecx, 0x800000
call fcn.140003693
add rsp, 0x60
pop rbx
ret
mov ecx, dword [rcx + 0x70]
test ecx, ecx
je 0x14003e645
mov qword [rsp + 0x58], rbp
test cl, 8
jbe 0x14003e51d
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140001505
mov rax, qword [rsp + 0x78]
test byte [rbx + 0x70], 4
jbe 0x14003e544
lea r9, [rsp + 0x80]
mov r8, rax
lea rdx, [0x140129694]
mov ecx, 5
call fcn.140003ca1
mov rax, qword [rsp + 0x78]
test byte [rbx + 0x70], 2
mov qword [rsp + 0x48], rdi
jbe 0x14003e5c2
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x50], rsi
mov rcx, rax
call fcn.1400019ab
inc eax
movsxd rsi, eax
mov rcx, rsi
call fcn.1400037c9
mov rdi, rax
test rax, rax
je 0x14003e5b8
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400033e1
mov r9, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call fcn.1400049fd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call fcn.140002d65
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x50]
test byte [rbx + 0x70], 1
jbe 0x14003e63b
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400019ab
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.1400037c9
mov rbx, rax
test rax, rax
je 0x14003e63b
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400033e1
mov r9, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400049fd
mov ecx, 4
mov eax, 1
movzx edx, cx
mov r8, rbx
movzx ecx, ax
call fcn.140002ea5
mov rcx, rbx
call fcn.140002d65
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
pop rbx
ret
Function at 0x1400419f0
Capabilities:
Create thread

Disassembly:
jmp 0x1400419f0
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x69], 0
mov rdi, rcx
jne 0x140041ab7
mov word [rcx + 0x69], 1
mov byte [rcx + 0x68], 1
add rcx, 0x30
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
xor esi, esi
xor r9d, r9d
xor edx, edx
mov qword [rdi + 0x38], rsi
xor ecx, ecx
mov dword [rdi + 0x40], esi
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
lea ecx, [rsi + 0x10]
mov dword [rdi + 0x48], esi
mov qword [rdi + 0x50], rax
mov byte [rdi + 0x44], sil
call fcn.1400037c9
mov rbx, rax
test rax, rax
je 0x140041aad
lea rcx, [rdi + 0x2c]
mov qword [rbx + 8], rdi
mov qword [rsp + 0x28], rcx
lea rax, [0x140041c00]
xor ecx, ecx
mov qword [rbx], rax
mov r9, rbx
mov dword [rsp + 0x20], esi
lea r8, [0x140043df0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140041aa5
mov rcx, rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140002d65
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140043e30
Capabilities:
Create thread

Disassembly:
jmp 0x140043e30
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov eax, dword [0x140167a68]
xor esi, esi
cmp ecx, 0x1f4
cmovge eax, ecx
xor bl, bl
mov dword [0x140167a68], eax
movzx ecx, bl
call fcn.1400041d3
mov rdi, rax
test rax, rax
je 0x140043e78
mov rcx, rax
call fcn.140004566
mov rcx, rdi
call fcn.14000496c
inc bl
cmp bl, 0x20
jb 0x140043e58
mov rax, rsi
lock xadd qword [0x140167a60], rax
test al, al
je 0x140043f1b
mov ecx, reloc.WSOCK32.dll_recv
call fcn.1400037c9
mov rbx, rax
test rax, rax
je 0x140043f16
lea rax, [0x140044080]
mov qword [rbx + 8], rsi
mov qword [rbx], rax
lea r8, [0x140046180]
lea rax, [0x1401831c0]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140043ef7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
call fcn.140002d65
mov esi, 0x3eb
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov esi, 0x708
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14006ccb0
Capabilities:
Delete directory
Delete file

Disassembly:
jmp 0x14006ccb0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x40]
mov rbx, rcx
test rax, rax
je 0x14006ccd3
mov rdx, qword [rcx + 0x28]
xor ecx, ecx
call rax
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14006ccde
call rax
mov rcx, qword [rbx + 8]
xor esi, esi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
test rcx, rcx
je 0x14006cd03
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 8], rsi
lea rcx, [rbx + 0x50]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140003ffd

Function at 0x14006e000
Capabilities:
Create thread

Disassembly:
jmp 0x14006e000
push rbx
sub rsp, 0x40
mov rbx, rcx
mov qword [rsp + 0x28], 0
mov r9, rcx
mov dword [rsp + 0x20], 0
mov r8, rdx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14006e08b
cmp dword [reloc.WSOCK32.dll_accept], 4
jl 0x14006e083
test dword [0x14016ba50], 0x100000
je 0x14006e083
mov eax, dword [rbx + 0xc8]
lea r9, str..._act_wireless.c
mov dword [rsp + 0x30], eax
lea r8, str.create_act_wireless_event_monitor_thread
lea rax, str.__d__Unable_to_create_Act_event_monitor_thread_n
mov edx, 4
mov qword [rsp + 0x28], rax
mov ecx, 0x100000
mov dword [rsp + 0x20], 0x1b2
call fcn.140003693
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov eax, 1
add rsp, 0x40
pop rbx
ret

Function at 0x140073f00
Capabilities:
Create thread

Disassembly:
jmp 0x140073f00
push rbx
sub rsp, 0x40
cmp dword [reloc.WSOCK32.dll_accept], 4
mov rbx, rcx
jl 0x140073f4f
test dword [0x14016ba50], 0x200000
je 0x140073f4f
lea rax, str.Starting_thread__n
mov edx, 4
mov qword [rsp + 0x28], rax
lea r9, str...cem_cstatechangedetection.cpp
lea r8, str.CStateChangeDetection::StartThread
mov dword [rsp + 0x20], 0x5e
mov ecx, 0x200000
call fcn.140003693
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
xor r9d, r9d
mov dword [rbx + 0x14], 0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x140073f83
mov eax, 0x80004005
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 0x28], 0
lea r8, [0x140003044]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
je 0x140073f78
cmp dword [reloc.WSOCK32.dll_accept], 4
jl 0x140074004
test dword [0x14016ba50], 0x200000
je 0x140074004
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov dword [rsp + 0x30], eax
lea r10, str.Thread_ID___d_n
mov qword [rsp + 0x28], r10
mov edx, 4
lea r9, str...cem_cstatechangedetection.cpp
mov dword [rsp + 0x20], 0x75
lea r8, str.CStateChangeDetection::StartThread
mov ecx, 0x200000
call fcn.140003693
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x14007d680
Capabilities:
Get common file path

Disassembly:
jmp 0x14007d680
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x240
mov rax, qword [0x14016c4a0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1400033e1
xor eax, eax
mov dword [rbx], 9
mov qword [rbx + 4], rax
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov qword [rbx + 0xc], rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r14d, eax
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14007d789
lea ecx, [rax + 1]
mov qword [rsp + 0x250], rsi
lea rsi, [rcx + rcx]
mov qword [rsp + 0x258], rdi
mov qword [rsp + 0x260], r15
mov r15d, ecx
mov rcx, rsi
call fcn.1400037c9
mov rdi, rax
test rax, rax
je 0x14007d726
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400033e1
mov rsi, qword [rsp + 0x250]
mov qword [rbx + 4], rdi
test rdi, rdi
je 0x14007d754
lea r8, [rsp + 0x20]
mov rdx, r15
mov rcx, rdi
call fcn.140004142
lea ecx, [r14 + r14]
lea eax, [rcx + 2]
mov dword [rbx + 0x10], ecx
mov dword [rbx + 0xc], eax
mov rdi, qword [rsp + 0x258]
mov rax, rbx
mov r15, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140004ca5
mov rbx, qword [rsp + 0x268]
add rsp, 0x240
pop r14
ret
mov rax, rbx
jmp 0x14007d767

Function at 0x14007d7e0
Capabilities:
Get common file path

Disassembly:
jmp 0x14007d7e0
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x240
mov rax, qword [0x14016c4a0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1400033e1
xor eax, eax
mov dword [rbx], 9
mov qword [rbx + 4], rax
lea rdx, [rsp + 0x20]
mov ecx, 0x104
mov qword [rbx + 0xc], rax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r14d, eax
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14007d8e9
lea ecx, [rax + 1]
mov qword [rsp + 0x250], rsi
lea rsi, [rcx + rcx]
mov qword [rsp + 0x258], rdi
mov qword [rsp + 0x260], r15
mov r15d, ecx
mov rcx, rsi
call fcn.1400037c9
mov rdi, rax
test rax, rax
je 0x14007d886
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400033e1
mov rsi, qword [rsp + 0x250]
mov qword [rbx + 4], rdi
test rdi, rdi
je 0x14007d8b4
lea r8, [rsp + 0x20]
mov rdx, r15
mov rcx, rdi
call fcn.140004142
lea ecx, [r14 + r14]
lea eax, [rcx + 2]
mov dword [rbx + 0x10], ecx
mov dword [rbx + 0xc], eax
mov rdi, qword [rsp + 0x258]
mov rax, rbx
mov r15, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140004ca5
mov rbx, qword [rsp + 0x268]
add rsp, 0x240
pop r14
ret
mov rax, rbx
jmp 0x14007d8c7
Function at 0x14007de90
Capabilities:
Get common file path
Query environment variable

Disassembly:
jmp 0x14007de90
sub rsp, 0x588
mov rax, qword [0x14016c4a0]
xor rax, rsp
mov qword [rsp + 0x570], rax
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x104
call fcn.1400033e1
xor edx, edx
lea rcx, [rsp + 0x350]
mov r8d, 0x104
call fcn.1400033e1
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x104
call fcn.1400033e1
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.1400033e1
xor edx, edx
lea rcx, [rsp + 0x460]
mov r8d, 0x104
call fcn.1400033e1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov edx, 0x104
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
test eax, eax
jne 0x14007df57
or r9, 0xffffffffffffffff
lea r8, [0x14013cae0]
mov edx, 0x104
lea rcx, [rsp + 0x240]
call fcn.140003c4c
mov edx, 0x104
lea rcx, [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x14007df8b
or r9, 0xffffffffffffffff
lea r8, [0x14013caf0]
mov edx, 0x104
lea rcx, [rsp + 0x350]
call fcn.140003c4c
lea rdx, [rsp + 0x130]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, eax
cmp rax, 1
jbe 0x14007dfbf
dec rax
cmp rax, 0x104
jae 0x14007e106
mov byte [rsp + rax + 0x130], 0
jmp 0x14007dfdc
or r9, 0xffffffffffffffff
lea r8, [0x14013cb08]
mov edx, 0x104
lea rcx, [rsp + 0x130]
call fcn.140003c4c
mov r8d, 0x104
lea rdx, [rsp + 0x20]
lea rcx, [0x14013cb20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x14007e02e
mov r8d, 0x104
lea rdx, [rsp + 0x20]
lea rcx, [0x14013cb30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x14007e02e
or r9, 0xffffffffffffffff
lea r8, [0x14013cb40]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140003c4c
lea r9, [rsp + 0x20]
mov ecx, 0x104
lea r8, [0x14013cb58]
lea rdx, [rsp + 0x460]
call fcn.14007d340
mov r9d, 0x400
lea r8, [rsp + 0x240]
lea rdx, [0x14013cba0]
lea rcx, [0x14016be60]
call fcn.140004c5f
mov r9d, 0x400
lea r8, [rsp + 0x350]
lea rdx, [0x14013cbb0]
lea rcx, [0x14016be60]
call fcn.140004c5f
mov r9d, 0x400
lea r8, [rsp + 0x130]
lea rdx, [0x14013cbbc]
lea rcx, [0x14016be60]
call fcn.140004c5f
mov r9d, 0x400
lea r8, [rsp + 0x20]
lea rdx, [0x14013cbc8]
lea rcx, [0x14016be60]
call fcn.140004c5f
mov r9d, 0x400
lea r8, [rsp + 0x460]
lea rdx, [0x14013cbdc]
lea rcx, [0x14016be60]
call fcn.140004c5f
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.140004ca5
add rsp, 0x588
ret
call fcn.140002275
int3
Function at 0x140081b20
Capabilities:
Manipulate console buffer

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14016c4a0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov ebx, 1
mov qword [rsp + 0x2c], rax
mov ecx, 0xfffffff6
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x2c], ebx
mov byte [rsp + 0x36], reloc.WSOCK32.dll_listen
mov word [rsp + 0x28], bx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x20]
mov r8d, ebx
mov rcx, rax
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140004ca5
add rsp, 0x50
pop rbx
ret
Function at 0x140081da0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0xc0
xor ebx, ebx
lea rcx, [rsp + 0x58]
mov r12, r8
mov dword [rsp + 0x50], ebx
mov rdi, rdx
xor edx, edx
lea r8d, [rbx + 0x60]
call fcn.1400033e1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, qword [rdi]
mov rsi, rax
test rcx, rcx
jne 0x140081de7
mov eax, ebx
jmp 0x140081df1
mov edx, 0x1fff
call fcn.140004e94
cmp word [rsi], 0x22
jne 0x140081dfb
add rax, 2
mov rdx, qword [rdi + 8]
lea rcx, [rsi + rax*2]
call fcn.14000388c
mov r14, rax
test rax, rax
jne 0x140081e29
lea rdx, str.Unable_to_parse_command_line._n
lea ecx, [rax + 3]
call fcn.1400049c1
mov eax, 0x708
jmp 0x140081fe0
mov rcx, qword [rdi + 8]
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xe8], r15
test rcx, rcx
jne 0x140081e47
mov rax, rbx
jmp 0x140081e51
mov edx, 0x1fff
call fcn.140004e94
mov edx, 0x1fff
lea r15, [r14 + rax*2]
mov rcx, rsi
call fcn.140004e94
mov rcx, qword [rdi + 8]
lea rsi, [rax + 1]
test rcx, rcx
jne 0x140081e74
mov rax, rbx
jmp 0x140081e7e
mov edx, 0x1fff
call fcn.140004e94
mov edx, 0x1fff
lea rcx, str.server__i
sub rsi, rax
call fcn.140004e94
lea r14, [rax + 2]
add r14, rsi
lea rbp, [r14 + r14]
mov rcx, rbp
call fcn.1400037c9
mov rsi, rax
test rax, rax
je 0x140081fba
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1400033e1
mov r8, rbp
xor edx, edx
mov rcx, rsi
call fcn.1400033e1
mov eax, 0x22
mov rdx, r14
mov word [rsi], ax
mov rcx, rsi
mov r8, qword [rdi]
call fcn.1400053ad
lea r8, [0x14013d2bc]
mov rdx, r14
mov rcx, rsi
call fcn.1400053ad
lea r8, [0x14013d2c0]
mov rdx, r14
mov rcx, rsi
call fcn.1400053ad
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.1400053ad
mov qword [rsp + 0x48], r12
lea rax, [0x14013ae44]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 0x68
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov rdx, rsi
mov dword [rsp + 0x28], 0x8000000
xor ecx, ecx
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0x88], ebx
mov qword [rsp + 0x8c], 1
mov qword [rsp + 0x58], rbx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
mov ecx, 0x3eb
cmove ebx, ecx
mov rcx, rsi
call fcn.140002d65
mov eax, ebx
jmp 0x140081fd0
lea rdx, str.Unable_to_allocate_memory._n
mov ecx, 3
call fcn.1400049c1
mov eax, 0x708
mov rbp, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xe8]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret