joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a0070
Capabilities:
Access the windows event log

Disassembly:
jmp 0x1400a0070
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
movzx esi, dx
movzx ebp, cx
xorps xmm0, xmm0
lea rdx, str.DPTF
xor ecx, ecx
xor ebx, ebx
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdi, rax
test rax, rax
je 0x1400a0131
mov rdx, qword [rsp + 0xd0]
lea rax, [0x140159a50]
lea r8, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x78]
call fcn.14000cd90
mov ecx, 2
mov r9d, 0x100
movzx r8d, bp
movups xmm0, xmmword [rax]
lea rax, str.Error_in_formatting_event_message
movups xmmword [rsp + 0x60], xmm0
mov rbx, qword [rsp + 0x64]
test rbx, rbx
cmovne rax, rbx
xor edx, edx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], cx
mov rcx, rdi
mov qword [rsp + 0x20], rdx
movzx edx, si
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test rbx, rbx
je 0x1400a013e
mov rcx, rbx
call fcn.140006db0
test rdi, rdi
je 0x1400a014c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400a86c0
Capabilities:
Create thread

Disassembly:
jmp 0x1400a86c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
xor edi, edi
call fcn.140003a60
xor r9d, r9d
lea edx, [rdi + 1]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x1400a8751
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x1400a87f9
test dword [0x1401877ad], 0x10000
je 0x1400a87f9
lea rax, str.Unable_to_create_windows_thread_start_event.
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x5f
lea r9, str...win_msg.c
mov edx, 1
lea r8, str.win_msg_ctor
mov ecx, 0x10000
call fcn.140008b60
jmp 0x1400a87f9
mov qword [rsp + 0x28], rdi
lea r8, [0x1400a89e0]
mov r9, rbx
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rbx + 0x10], rbp
xor ecx, ecx
mov qword [rbx + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx], rax
test rax, rax
jne 0x1400a87a9
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x1400a87f9
test dword [0x1401877ad], 0x10000
je 0x1400a87f9
lea rax, str.Unable_to_create_windows_message_thread.
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], WSAStartup
jmp 0x1400a872f
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x18]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400a87f4
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x1400a87f9
test dword [0x1401877ad], 0x10000
je 0x1400a87f9
lea rax, str.Windows_message_thread_did_not_start_as_expected.
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x7c
jmp 0x1400a872f
mov edi, 1
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400aa0fc
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400aa0fc
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400aa18d
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400aa18d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400aa18d
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400aa171
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400aa16b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400aa173
add rdx, 0x28
jmp 0x1400aa150
xor edx, edx
test rdx, rdx
jne 0x1400aa17c
xor al, al
jmp 0x1400aa193
test dword [rdx + 0x24], 0x80000000
je 0x1400aa189
xor al, al
jmp 0x1400aa193
mov al, 1
jmp 0x1400aa193
xor al, al
jmp 0x1400aa193
add rsp, 0x18
ret

Function at 0x1400dcac4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400dcac4
jmp 0x1400dc97c
push rbx
sub rsp, 0x50
mov rax, qword [0x140188050]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r10d, r10d
mov rbx, r8
mov eax, r10d
mov r11, rdx
cmp rax, 0x20
mov r9, rcx
jae 0x1400dca7b
mov byte [rsp + rax + 0x20], r10b
inc rax
cmp rax, 0x20
jl 0x1400dc9a4
movzx r8d, byte [r11]
inc r11
mov edx, r8d
mov eax, r8d
shr rdx, 3
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
mov byte [rsp + rdx + 0x20], cl
test r8b, r8b
jne 0x1400dc9b8
test r9, r9
jne 0x1400dc9e5
mov r9, qword [rbx]
movzx r8d, byte [r9]
mov edx, 1
mov ecx, r8d
shr r8, 3
and ecx, 7
shl edx, cl
test byte [rsp + r8 + 0x20], dl
je 0x1400dca2a
mov r8b, byte [r9]
test r8b, r8b
je 0x1400dca2a
inc r9
mov edx, 1
movzx r8d, byte [r9]
mov eax, r8d
mov ecx, r8d
and ecx, 7
shr rax, 3
shl edx, cl
test byte [rsp + rax + 0x20], dl
jne 0x1400dca04
mov r11, r9
jmp 0x1400dca4e
movzx r8d, byte [r9]
mov edx, 1
mov ecx, r8d
shr r8, 3
and ecx, 7
shl edx, cl
test byte [rsp + r8 + 0x20], dl
jne 0x1400dca55
inc r9
cmp byte [r9], r10b
jne 0x1400dca2f
jmp 0x1400dca5b
mov byte [r9], r10b
inc r9
cmp r9, r11
mov qword [rbx], r9
cmovne r10, r11
mov rax, r10
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000d260
add rsp, 0x50
pop rbx
ret
call fcn.140004ad0
int3
sub rsp, 0x28
test r8, r8
jne 0x1400dcae4
call fcn.140008260
mov dword [rax], socket
call fcn.14000c430
xor eax, eax
add rsp, 0x28
ret
test rdx, rdx
je 0x1400dcacd
test rcx, rcx
jne 0x1400dcaf3
cmp qword [r8], rcx
je 0x1400dcacd
add rsp, 0x28
jmp 0x1400068c0
Function at 0x140115be8
Capabilities:
Get geographical location

Disassembly:
jmp 0x140115be8
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r9d
mov rsi, r8
mov ebp, edx
lea r9, [0x140162388]
mov r14, rcx
lea r8, [0x140162380]
lea rdx, str.GetLocaleInfoEx
mov ecx, listen
call fcn.1401151d4
mov rbx, rax
test rax, rax
je 0x140115c4b
mov rcx, rax
call qword [section..00cfg]
mov r9d, edi
mov r8, rsi
mov edx, ebp
mov rcx, r14
call rbx
jmp 0x140115c65
xor edx, edx
mov rcx, r14
call fcn.1400078a0
mov ecx, eax
mov r9d, edi
mov r8, rsi
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14011a0b8
Capabilities:
Delete file

Disassembly:
jmp 0x14011a0b8
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14011a0d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000ad70
or eax, 0xffffffff
jmp 0x14011a0da
xor eax, eax
add rsp, 0x28
ret

Function at 0x14011b388
Capabilities:
Create thread
Print debug messages

Disassembly:
jmp 0x14011b388
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.1400089e0
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x14011b3db
test rbx, rbx
je 0x14011b3cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x14011b3db
mov edi, 4
jmp 0x14011b484
call fcn.140002510
test al, al
jne 0x14011b3f8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x14011b484
test bpl, bpl
je 0x14011b45b
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x14011b1e0]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14011b484
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x14011b455
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14011b484
mov edi, dword [rsp + 0x44]
jmp 0x14011b44d
call fcn.14000d290
test al, al
jne 0x14011b46c
bts esi, 0x15
xor ecx, ecx
jmp 0x14011b474
call fcn.1400051c0
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.14000a5e0
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
push rsi
mov rdx, qword [rdx + 0x20]
xor r9, r9
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
push r9
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
push rax
jrcxz 0x1400040ca
dec rcx
xor r9, r9
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
add rax, rdx
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140001ab0
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140026008]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ebx, edx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x238
call sub.VCRUNTIME140.dll_memset
mov edx, ebx
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
je 0x140001b40
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140001b37
nop
lea rdx, str.Loader.exe
lea rcx, [rsp + 0x50]
call fcn.140015d2e
mov rcx, rbx
test eax, eax
je 0x140001b5b
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140001b10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400149d0
add rsp, 0x270
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x38]
jmp 0x140001b42

Function at 0x140001b70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140026008]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea r8, [0x1400280e0]
lea rdx, str.C:Windows_
lea rcx, [rsp + 0x28]
call fcn.140004440
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001bd7
test al, 0x10
je 0x140001bd7
mov dl, 1
lea rcx, [rsp + 0x28]
call fcn.1400013d0
test eax, eax
jne 0x140001bff
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140001c03
xor ebx, ebx
jmp 0x140001c08
mov ebx, 1
mov rax, qword [rsp + 0x40]
cmp rax, 0x10
jb 0x140001c64
inc rax
mov rcx, qword [rsp + 0x28]
cmp rax, 0x1000
jb 0x140001c5f
test cl, 0x1f
je 0x140001c2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140001c3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140001c4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140001c5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140014a30
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400149d0
add rsp, 0x50
pop rbx
ret
Function at 0x140002350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140026008]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea r8, [0x1400280e0]
lea rdx, str.C:Windows_
lea rcx, [rsp + 0x28]
call fcn.140004440
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400023b2
test al, 0x10
je 0x1400023b2
mov dl, 1
lea rcx, [rsp + 0x28]
call fcn.1400013d0
nop
mov rax, qword [rsp + 0x40]
cmp rax, 0x10
jb 0x14000240e
inc rax
mov rcx, qword [rsp + 0x28]
cmp rax, 0x1000
jb 0x140002409
test cl, 0x1f
je 0x1400023d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400023e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400023f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140002406
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140014a30
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400149d0
add rsp, 0x58
ret

Function at 0x140002420
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rsi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [0x1400280d0]
mov ecx, 2
inc rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
jne 0x14000245d
add rsp, 0x20
pop rsi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
cmp qword [0x1400280d8], 0x10
mov rcx, rsi
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400280d0]
mov qword [rsp + 0x38], rdi
lea rdi, [0x1400280c0]
cmovae rdi, qword [0x1400280c0]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call fcn.140015d28
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rsi
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GlobalFree]
Function at 0x140003c80
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140026008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x140003e2e
cmp byte [rcx + 0x71], 0
je 0x140003e2e
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x140003cda
xor al, al
jmp 0x140003e30
mov edx, 0xf
mov qword [rbp - 0x18], rdx
mov byte [rbp - 0x30], 0
xor ecx, ecx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x20], 8
lea rax, [rbp - 0x30]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
nop dword [rax]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, rcx
lea r8, [rbp - 0x30]
cmovae r8, rcx
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003d4d
sub eax, 1
jne 0x140003dc2
jmp 0x140003d51
mov byte [rdi + 0x71], 0
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, rcx
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x140003d9f
lea rax, [rbp - 0x30]
cmp r9, 0x10
cmovae rax, rcx
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
cmp rbx, rax
jne 0x140003dcf
cmp byte [rdi + 0x71], 0
je 0x140003dd3
test rbx, rbx
jne 0x140003d10
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.140003840
jmp 0x140003d04
sub eax, 2
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
je 0x140003dd3
xor bl, bl
jmp 0x140003dd5
mov bl, 1
cmp r9, 0x10
jb 0x140003e29
lea rax, [r9 + 1]
cmp rax, 0x1000
jb 0x140003e24
test byte [rbp - 0x30], 0x1f
je 0x140003df4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140003e04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140003e14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140003e21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140014a30
movzx eax, bl
jmp 0x140003e30
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400149d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140007670
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov eax, 0x1068
call fcn.140015cd0
sub rsp, rax
mov rax, qword [0x140026008]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x1400076c0
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400149d0
add rsp, 0x1068
ret
mov qword [rsp + 0x1070], rbx
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x1078], rbp
xor eax, eax
mov ebp, dword [rsp + 0x20]
mov qword [rsp + 0x1080], rsi
mov qword [rsp + 0x1088], rdi
mov qword [rsp + 0x1060], r12
shr ebp, 2
mov edx, ebp
mov qword [rsp + 0x1058], r14
mov qword [rsp + 0x1050], r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
call fcn.140007bc0
mov r12, qword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 2]
mov dword [r12], 0x130
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
test rax, rax
je 0x140007755
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1400077b3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
lea rcx, [rsp + 0x28]
call fcn.140007c80
mov r15, qword [rsp + 0x1050]
mov eax, ebx
mov rbx, qword [rsp + 0x1070]
mov r14, qword [rsp + 0x1058]
mov r12, qword [rsp + 0x1060]
mov rdi, qword [rsp + 0x1088]
mov rsi, qword [rsp + 0x1080]
mov rbp, qword [rsp + 0x1078]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400149d0
add rsp, 0x1068
ret
xor ebx, ebx
mov edi, 1
cmp ebp, edi
jbe 0x14000781e
lea rsi, [r12 + 0x138]
nop word [rax + rax]
movsxd rax, edi
mov rcx, r15
imul r14, rax, 0x130
mov dword [rsi - 8], 0x130
add r14, r12
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140007755
lea rcx, [r14 + 0x2c]
lea rdx, str.csrss.exe
call fcn.140015d2e
test eax, eax
jne 0x140007811
cmp dword [rsi], ebx
cmova ebx, dword [rsi]
inc edi
add rsi, 0x130
cmp edi, ebp
jb 0x1400077d0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140007757
Function at 0x1400078e0
Capabilities:
Enumerate processes

Disassembly:
push rdi
sub rsp, 0x170
mov rax, qword [0x140026008]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov dword [rsp + 0x30], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
test rax, rax
je 0x140007931
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x140007935
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140007994
mov qword [rsp + 0x180], rbx
mov ebx, dword [rsp + 0x20]
lea rdx, str.lsass.exe
lea rcx, [rsp + 0x5c]
call fcn.140015d2e
test eax, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
cmove ebx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140007941
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14000797c
xor eax, eax
jmp 0x14000798c
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400149d0
add rsp, 0x170
pop rdi
ret
Function at 0x1400079b0
Capabilities:
Execute command

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [r11 - 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x140026008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, rdx
mov rsi, rcx
mov qword [r11 - 0x28], rcx
lea rcx, str.taskkill__IM_arma3_x64.exe__F
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140018b90]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140007830
mov ecx, 5
call fcn.140005990
mov qword [rsp + 0x40], 0xf
xor ebp, ebp
mov qword [rsp + 0x38], rbp
mov byte [rsp + 0x28], bpl
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140003710
lea rcx, [rsp + 0x28]
call fcn.140009430
test al, al
jne 0x140007a53
mov rcx, rsi
call fcn.140002520
xor eax, eax
jmp 0x140007b9e
mov ecx, 0xf
call fcn.140005990
call fcn.140002350
call fcn.1400058d0
test al, al
je 0x140007a72
call fcn.1400078e0
jmp 0x140007a9d
call fcn.140007670
test eax, eax
jne 0x140007a8d
mov rcx, rsi
call fcn.140002520
mov eax, 1
jmp 0x140007b9e
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140007ab5
mov rcx, rsi
call fcn.140002520
lea eax, [rbx + 2]
jmp 0x140007b9e
mov ecx, 0x14
call fcn.140005990
mov rcx, rbx
call fcn.140009770
test al, al
jne 0x140007add
mov rcx, rsi
call fcn.140002520
mov eax, 3
jmp 0x140007b9e
mov ecx, 0x19
call fcn.140005990
lea rcx, [rsp + 0x20]
call fcn.140007180
test al, al
jne 0x140007b07
mov rcx, rsi
call fcn.140002520
mov eax, 4
jmp 0x140007b9e
xor r9d, r9d
lea r8, str.LAUNCH_ARMA3
lea rdx, str.LAUNCH_ARMA3_NOW_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rbx, qword [rsp + 0x20]
cmp dword [rbx + 0x20], ebp
jne 0x140007b40
nop word [rax + rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx + 0x20], ebp
je 0x140007b30
mov edi, dword [rbx + 0x20]
test edi, edi
je 0x140007b91
mov dword [rbx + 0x20], ebp
lea eax, [rdi - 0x33]
cmp eax, 0x31
ja 0x140007b6b
mov ecx, edi
call fcn.140005990
cmp edi, 0x64
jne 0x140007b25
mov rcx, rsi
call fcn.140002520
lea eax, [rdi - 0x5a]
jmp 0x140007b9e
cmp edi, 0x14
ja 0x140007b82
mov dword [r14], edi
mov rcx, rsi
call fcn.140002520
mov eax, 6
jmp 0x140007b9e
mov rcx, rsi
call fcn.140002520
mov eax, 7
jmp 0x140007b9e
mov rcx, rsi
call fcn.140002520
mov eax, 5
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400149d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret