joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18010ab30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x18010ab3b
xor eax, eax
ret
lea r11, [0x18012e420]
not ecx
cmp r8d, 8
jb 0x18010ac11
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x18010ab60
test r8d, r8d
je 0x18010ac3d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x18010ac20
not ecx
mov eax, ecx
ret
Function at 0x140009444
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, rcx
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
movzx eax, byte [r9 + rdi + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, rdx
cmp r9, 4
jb 0x140009469
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1400094c1
cmp qword [rcx + rdx*8], rdi
jne 0x1400094b6
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x1400094ba
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400094ce
cmp qword [rcx + rdx*8], rdi
jne 0x1400094ce
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [rdi + 0x18]
dec qword [r8 + 0x10]
call fcn.140001fec
mov rcx, rdi
call fcn.14000b2c4
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140009934
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1400160d0]
lea rcx, [0x1400160d0]
mov rax, qword [rax + 0x18]
call qword [case.0x14000c4be.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r8, rdi
lea rdx, str._sDiagnosticsHub.StandardCollector.Proxy.dll
lea rcx, [rsp + 0x50]
call fcn.140009ad4
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140009a0b
lea rcx, [rsp + 0x50]
call fcn.140009a54
mov r8, rdi
lea rdx, str._s_amd64DiagnosticsHub.StandardCollector.Proxy.dll
lea rcx, [rsp + 0x50]
call fcn.140009ad4
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140009a0b
lea rcx, [rsp + 0x50]
call fcn.140009a54
lea r9, str.Team_ToolsDiagnosticsHubCollector
mov r8, rdi
lea rdx, str._s_s_amd64DiagnosticsHub.StandardCollector.Proxy.dll
lea rcx, [rsp + 0x50]
call fcn.140009ad4
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140009a0b
mov edi, 0x80070057
jmp 0x140009a1e
mov rdx, rsi
mov rcx, rbx
call fcn.14000966c
mov edi, eax
test eax, eax
js 0x140009a1e
xor edi, edi
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140009a3f
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14000c4be.0]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000b2b0
Capabilities:
Access peb ldr_data

Disassembly:
push rcx
push r11
push r13
sub rcx, rcx
add rcx, 0x60
mov r11, qword gs:[rcx]
push r10
invalid
invalid
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
stosd dword [rdi], eax
invalid
Function at 0x1400021db
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1400590c0], 0
je 0x1400021ff
mov r8d, 1
jmp 0x1400023cb
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
xor edx, edx
mov rcx, qword [rax + 0x10]
xor eax, eax
mov rbx, qword [rcx + 0x30]
test rbx, rbx
je 0x140002263
movsxd rdx, dword [rbx + 0x3c]
mov edx, dword [rbx + rdx + 0x88]
test edx, edx
je 0x14000225b
mov eax, edx
add rax, rbx
mov edx, dword [rax + 0xc]
add rdx, rbx
mov r8d, dword [rdx]
or r8d, 0x20202020
cmp r8d, 0x6c64746e
jne 0x14000225b
mov edx, dword [rdx + 4]
or edx, 0x20202020
cmp edx, 0x6c642e6c
je 0x140002272
mov rcx, qword [rcx]
mov rdx, rbx
jmp 0x140002214
xor r8d, r8d
test rax, rax
je 0x1400023cb
mov rbx, rdx
mov ebp, dword [rax + 0x1c]
mov edi, dword [rax + 0x24]
xor esi, esi
lea r13, [0x1400590c8]
mov edx, dword [rax + 0x18]
mov eax, dword [rax + 0x20]
add rdi, rbx
add rbp, rbx
lea r10d, [rdx - 1]
add rax, rbx
lea r12, [rax + r10*4]
add r10, r10
add r10, rdi
mov ecx, dword [r12]
add rcx, rbx
cmp word [rcx], 0x775a
jne 0x1400022dc
call fcn.140002120
mov r11d, esi
inc esi
shl r11, 4
add r11, r13
mov dword [r11], eax
movzx eax, word [r10]
mov eax, dword [rbp + rax*4]
mov qword [r11 + 8], 0
mov dword [r11 + 4], eax
cmp esi, 0x1f4
je 0x1400022ee
sub r12, 4
lea rax, [r10 - 2]
cmp rdi, r10
je 0x1400022ee
mov r10, rax
jmp 0x14000229e
mov dword [0x1400590c0], esi
lea ebp, [rsi - 1]
lea r10, [0x1400590c8]
test ebp, ebp
je 0x140002355
lea rdx, [0x1400590c0]
xor ecx, ecx
lea eax, [rcx + 1]
mov r8d, dword [rdx + 0xc]
mov rcx, rax
shl rax, 4
add rax, r10
mov r9d, dword [rax + 4]
cmp r8d, r9d
jbe 0x140002349
mov edi, dword [rdx + 8]
mov r11, qword [rdx + 0x10]
mov r12d, dword [rax]
mov dword [rdx + 0xc], r9d
mov r9, qword [rax + 8]
mov dword [rdx + 8], r12d
mov qword [rdx + 0x10], r9
mov dword [rax], edi
mov dword [rax + 4], r8d
mov qword [rax + 8], r11
add rdx, 0x10
cmp ecx, ebp
jb 0x14000230b
dec ebp
jmp 0x1400022fe
mov eax, dword [0x1400590cc]
mov r13d, dword [0x1400590dc]
xor edi, edi
lea r15, [0x140055c40]
sub r13d, eax
lea r12, [rbx + rax]
mov r14d, edi
cmp r13d, edi
jbe 0x1400021f4
lea rdx, [r12 + rdi]
mov r8d, 3
mov rcx, r15
inc rdi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x140002372
lea rdi, [0x1400590c0]
test r14d, r14d
je 0x1400021f4
add rdi, 0x10
cmp esi, ebp
je 0x1400021f4
mov ecx, dword [rdi - 4]
mov r8d, r13d
mov edx, r14d
inc ebp
add rcx, rbx
call fcn.140002148
mov qword [rdi], rax
jmp 0x1400023a7
mov eax, r8d
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140003000
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 fcn.140008f90
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140008f90
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x140003070
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x14005b0d4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140003220
mov rax, qword [0x14005b0d8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1400030bc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140003147
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x1400030a0
mov rcx, r12
call fcn.140003b20
mov rbp, rax
test rax, rax
je 0x14000327d
mov rax, qword [0x14005b0d8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.140003c50
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14005b0d8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003262
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140003140
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400031d0
add dword [0x14005b0d4], 1
cmp ebx, 8
jae 0x140003178
test bl, 4
jne 0x140003230
test ebx, ebx
je 0x140003169
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140003250
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140003169
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x1400031aa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
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 rdi, qword [0x14005b0d8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140003140
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140003000
xor edi, edi
jmp 0x1400030c7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140003169
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140003169
mov rax, qword [0x14005b0d8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.140003000
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140003000
nop
nop dword [rax]
Function at 0x140003790
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14005b140]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14005b120]
test rbx, rbx
je 0x1400037e4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1400037db
test r12, r12
je 0x1400037db
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400037c0
lea rcx, [0x14005b140]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140003b20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140056700]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140003b99
mov rcx, r10
call fcn.1400039f0
test eax, eax
je 0x140003b99
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140003b96
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x140003b8d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140003b99
add r8, 0x28
cmp r8, r9
jne 0x140003b78
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x180001000
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x430
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, 0x400
lea r9, str.__04x_
lea rcx, [rsp + 0x30]
lea r8d, [rbx - 1]
mov edx, ebx
mov dword [rsp + 0x20], eax
call fcn.180019050
lea rcx, [rsp + 0x30]
call fcn.180019730
lea r9, [rsp + 0x448]
lea r8d, [rbx - 3]
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
lea rcx, [rsp + 0x30]
mov edx, ebx
sub r8, rax
add rcx, rax
sub rdx, rax
call fcn.18001c2d8
lea r8, [0x180028688]
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.180019698
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.180018e34
add rsp, 0x430
pop rbx
ret

Function at 0x180001944
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x430
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, 0x400
lea r9, str.__04x_
lea rcx, [rsp + 0x30]
lea r8d, [rbx - 1]
mov edx, ebx
mov dword [rsp + 0x20], eax
call fcn.180019050
lea rcx, [rsp + 0x30]
call fcn.180019730
lea r9, [rsp + 0x448]
lea r8d, [rbx - 3]
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
lea rcx, [rsp + 0x30]
mov edx, ebx
sub r8, rax
add rcx, rax
sub rdx, rax
call fcn.18001c2d8
lea r8, [0x180028688]
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.180019698
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.180018e34
add rsp, 0x430
pop rbx
ret

Function at 0x1800034dc
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x430
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, 0x400
lea r9, str.__04x_
lea rcx, [rsp + 0x30]
lea r8d, [rbx - 1]
mov edx, ebx
mov dword [rsp + 0x20], eax
call fcn.180019050
lea rcx, [rsp + 0x30]
call fcn.180019730
lea r9, [rsp + 0x448]
lea r8d, [rbx - 3]
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
lea rcx, [rsp + 0x30]
mov edx, ebx
sub r8, rax
add rcx, rax
sub rdx, rax
call fcn.18001c2d8
lea r8, [0x180028688]
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.180019698
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.180018e34
add rsp, 0x430
pop rbx
ret
Function at 0x180003948
Capabilities:
Resume thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rsp + 0x68]
mov rax, r8
mov r8, qword [rsp + 0x60]
mov rsi, rdx
mov rbp, rcx
xor ebx, ebx
mov qword [r11 - 0x10], rbx
mov edx, 0x100000
mov rcx, rax
mov dword [rsp + 0x20], 4
call fcn.18000ac2c
mov rdi, rax
test rax, rax
jne 0x1800039b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._INJECT__inject_via_remotethread:_CreateRemoteThread_failed
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov ebx, eax
call fcn.1800034dc
jmp 0x180003a52
lea rcx, str._INJECT__inject_via_remotethread:_succeeded
call fcn.1800034dc
test rbp, rbp
je 0x180003a0e
test rsi, rsi
je 0x180003a0e
lea rcx, str._INJECT__inject_via_remotethread:_Sending_a_migrate_response...
call fcn.1800034dc
xor r8d, r8d
mov edx, 0x20196
mov rcx, rsi
call fcn.1800051e4
mov r8, rsi
mov rdx, rbp
xor ecx, ecx
call fcn.180005878
lea rcx, str._INJECT__inject_via_remotethread:_Sleeping_for_two_seconds...
call fcn.1800034dc
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str._INJECT__inject_via_remotethread:_Resuming_the_injected_thread...
call fcn.1800034dc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x180003a49
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._INJECT__inject_via_remotethread:_ResumeThread_failed
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov ebx, eax
call fcn.1800034dc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180003ef0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x430
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, 0x400
lea r9, str.__04x_
lea rcx, [rsp + 0x30]
lea r8d, [rbx - 1]
mov edx, ebx
mov dword [rsp + 0x20], eax
call fcn.180019050
lea rcx, [rsp + 0x30]
call fcn.180019730
lea r9, [rsp + 0x448]
lea r8d, [rbx - 3]
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
lea rcx, [rsp + 0x30]
mov edx, ebx
sub r8, rax
add rcx, rax
sub rdx, rax
call fcn.18001c2d8
lea r8, [0x180028688]
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.180019698
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.180018e34
add rsp, 0x430
pop rbx
ret
Function at 0x180004dbc
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x430
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, 0x400
lea r9, str.__04x_
lea rcx, [rsp + 0x30]
lea r8d, [rbx - 1]
mov edx, ebx
mov dword [rsp + 0x20], eax
call fcn.180019050
lea rcx, [rsp + 0x30]
call fcn.180019730
lea r9, [rsp + 0x448]
lea r8d, [rbx - 3]
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
lea rcx, [rsp + 0x30]
mov edx, ebx
sub r8, rax
add rcx, rax
sub rdx, rax
call fcn.18001c2d8
lea r8, [0x180028688]
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.180019698
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.180018e34
add rsp, 0x430
pop rbx
ret

Function at 0x1800061f8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov edx, 0x5c
mov rbx, rcx
call fcn.18001a8ac
test rax, rax
je 0x18000621b
lea rbx, [rax + 1]
xor ecx, ecx
mov edx, 0x1a0
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x18003dac8], rax
test rax, rax
je 0x1800062cc
mov rcx, rax
call fcn.18000663c
mov rcx, qword [0x18003dac8]
mov r9d, 0xff
lea edx, [r9 + 1]
mov r8, rbx
call fcn.18001a7f0
mov rcx, qword [0x18003dac8]
call fcn.180019730
mov rcx, qword [0x18003dac8]
inc eax
mov dword [rcx + 0x100], eax
mov rax, qword [0x18003dac8]
mov qword [rax + 0x108], rdi
mov rcx, qword [0x18003dac8]
call fcn.1800069c0
mov rcx, qword [0x18003dac8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [0x18003dac8]
mov rbx, rax
call fcn.180006884
mov rcx, qword [0x18003dac8]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180006574
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x60
mov rbx, r8
lea rax, [r11 + 0x18]
mov rsi, r9
mov rdi, rdx
mov r8, rdx
mov r9d, 5
or rcx, 0xffffffffffffffff
mov rdx, rbx
mov qword [r11 - 0x48], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, edi
lea rdx, [rsp + 0x30]
sub eax, ebx
mov r8d, gethostbyname
mov rcx, rdi
sub eax, 5
mov byte [rbx + 5], 0xe9
mov dword [rbx + 6], eax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x54]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
sub esi, edi
lea r9, [rsp + 0x78]
sub esi, 5
mov byte [rdi], 0xe9
mov dword [rdi + 1], esi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18000663c
Capabilities:
Link many functions at runtime

Disassembly:
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 r13, rcx
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1800067b8
lea rdx, str.NtMapViewOfSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtQueryAttributesFile
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtOpenFile
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtCreateSection
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtOpenSection
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtClose
mov rcx, rbx
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rbx, [r13 + 0x144]
lea r9, [0x180006514]
mov rdx, rdi
mov rcx, r13
mov r8, rbx
mov r12, rax
call fcn.180006574
mov qword [r13 + 0x190], rbx
lea rbx, [r13 + 0x126]
lea r9, [0x1800063d8]
mov r8, rbx
mov rdx, rsi
mov rcx, r13
call fcn.180006574
mov qword [r13 + 0x178], rbx
lea rbx, [r13 + 0x130]
lea r9, [0x180006458]
mov r8, rbx
mov rdx, rbp
mov rcx, r13
call fcn.180006574
mov qword [r13 + 0x180], rbx
lea rbx, [r13 + 0x13a]
lea r9, [0x1800064e4]
mov r8, rbx
mov rdx, r14
mov rcx, r13
call fcn.180006574
mov qword [r13 + 0x188], rbx
lea rbx, [r13 + 0x11c]
lea r9, [0x18000636c]
mov r8, rbx
mov rdx, r15
mov rcx, r13
call fcn.180006574
mov qword [r13 + 0x170], rbx
lea rbx, [r13 + 0x14e]
lea r9, [0x180006554]
mov r8, rbx
mov rdx, r12
mov rcx, r13
call fcn.180006574
mov qword [r13 + 0x198], rbx
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 0x1800067dc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rdi, rdx
mov rbx, r8
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov r8d, gethostbyname
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x5c]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rbx
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
mov r9d, 5
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, dword [rsp + 0x5c]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret