joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001070
Capabilities:
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [str.Manax]
lea r8, [rsp + 0x48]
mov dword [rsp + 0x48], eax
mov rdi, rdx
movzx eax, word [0x1400205a4]
mov esi, ecx
mov edx, 0x103
mov word [rsp + 0x4c], ax
lea rcx, [0x140025cb0]
call fcn.140008c5c
xor ebx, ebx
mov ebp, ebx
cmp esi, 1
jle 0x14000125c
mov rdx, qword [rdi + 8]
cmp byte [rdx], 0x2d
jne 0x140001121
movzx eax, byte [rdx + 1]
cmp al, 0x68
je 0x140001288
cmp al, 0x6c
je 0x14000110d
cmp al, 0x70
jne 0x14000126c
mov r8, qword [rdi + 0x10]
lea rcx, [0x140025cb0]
add rdi, 0x10
mov edx, 0x103
call fcn.140008c5c
jmp 0x140001115
mov rbp, qword [rdi + 0x10]
add rdi, 0x10
mov eax, 0xfffffffe
add esi, eax
cmp esi, 1
jg 0x1400010d1
test rbp, rbp
je 0x14000125c
xor r9d, r9d
mov qword [rsp + 0x40], rbx
mov r8, rbp
lea rcx, str.ncacn_ip_tcp
lea edx, [r9 + 0x14]
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpA]
test eax, eax
je 0x140001156
lea rcx, str.____RpcServerUseProtseqEp___failed_with_status_code__d_n
jmp 0x14000122b
lea rax, [0x140001310]
mov r9d, 0x10
mov qword [rsp + 0x30], rax
lea rcx, [0x140021170]
mov dword [rsp + 0x28], 0xffffffff
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf2]
test eax, eax
je 0x14000119a
lea rcx, str.____RpcServerRegisterIf2___failed_with_status_code__d_n
jmp 0x14000122b
lea rcx, [rsp + 0x40]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
test eax, eax
je 0x1400011b2
lea rcx, str.____RpcServerInqBindings___failed_with_status_code__d_n
jmp 0x14000122b
xor r9d, r9d
lea rcx, [0x140020697]
xor r8d, r8d
lea edx, [r9 + 0xa]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterAuthInfoA]
test eax, eax
je 0x1400011d6
lea rcx, str.____RpcServerRegisterAuthInfoA___failed_with_status_code__d_n
jmp 0x14000122b
mov rdx, qword [rsp + 0x40]
lea r9, str.Manax
xor r8d, r8d
lea rcx, [0x140021170]
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterA]
test eax, eax
je 0x1400011ff
lea rcx, str.____RpcEpRegister___failed_with_status_code__d_n
jmp 0x14000122b
mov rdx, rbp
lea rcx, str.___Starting_RogueOxidResolver_RPC_Server_listening_on_port__s_...__n
call fcn.140001010
xor r8d, r8d
mov edx, 0x4d2
lea ecx, [r8 + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
test eax, eax
je 0x140001237
lea rcx, str.____RpcServerListen___failed_with_status_code__d_n
mov edx, eax
call fcn.140001010
mov ebx, 0xffffffff
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001610
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400012a0
mov ecx, 0xffffffff
call fcn.140005d68
int3
lea rcx, str.Wrong_Argument:__s_n
call fcn.140001010
call fcn.1400012a0
mov ecx, 0xffffffff
call fcn.140005d68
int3
call fcn.1400012a0
mov ecx, 0x64
call fcn.140005d68
int3
Function at 0x140001ff0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000203a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000203a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000203a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000203a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000203a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000203c
xor al, al
add rsp, 0x28
ret

Function at 0x140005d68
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140005bd3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005bd3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005bd3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005bd3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005bd3
cmp dword [rcx + 0x84], 0xe
jbe 0x140005bd3
cmp dword [rcx + 0xf8], 0
je 0x140005bd3
mov ecx, ebx
call fcn.140005c84
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140005a60
nop
cmp dword [rbp + 0x20], 0
je 0x140005c21
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005c2c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005b64
Function at 0x14000eac4
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000eaf4
xor eax, eax
jmp 0x14000ebb7
mov rbp, rbx
cmp word [rax], si
je 0x14000eb19
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000eb00
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000eafc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000e9e4
movsxd r14, eax
test eax, eax
jne 0x14000eb57
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000eaed
mov rcx, r14
call fcn.14000b278
mov rdi, rax
test rax, rax
jne 0x14000eb70
xor ecx, ecx
call fcn.14000a600
jmp 0x14000eb4c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000e9e4
test eax, eax
jne 0x14000eba1
mov rcx, rdi
call fcn.14000a600
jmp 0x14000ebab
xor ecx, ecx
call fcn.14000a600
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140012dbc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140012dd2
mov al, 1
jmp 0x140012e32
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140012de3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140012e30
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000f2c8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140012e30
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140012e30
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140012e30
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140012e32
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140013e70
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000dab4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140013efa
cmp byte [rbp - 0x21], r15b
je 0x140013ef5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140013f30
call fcn.14000a850
test eax, eax
jne 0x140013f1c
cmp byte [rbp - 0x21], r15b
je 0x140013f14
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140013f30
cmp byte [rbp - 0x21], r15b
je 0x140013f2d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000d094
test eax, eax
jne 0x140013fd0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000dab4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140013f6f
cmp byte [rbp - 0x21], r15b
je 0x140013fa4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140013fa4
call fcn.14000a850
test eax, eax
jne 0x140013f90
cmp byte [rbp - 0x21], r15b
je 0x140013f89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140013fa4
cmp byte [rbp - 0x21], r15b
je 0x140013fa1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000d094
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140013fd0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140013fd3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140013fe1
mov rcx, rdi
call fcn.14000a600
cmp byte [rbp + 0x3f], r15b
je 0x140013ff0
mov rcx, qword [rbp + 0x27]
call fcn.14000a600
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140016560
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001906
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001906
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001906
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001906
cmp dword [rcx + 0x84], 0xe
jbe 0x140001906
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001908
xor al, al
add rsp, 0x28
ret

Function at 0x14000603c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005e38
Function at 0x140009210
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140009240
xor eax, eax
jmp 0x140009303
mov rbp, rbx
cmp word [rax], si
je 0x140009265
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000924c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140009248
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140009130
movsxd r14, eax
test eax, eax
jne 0x1400092a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140009239
mov rcx, r14
call fcn.14000a0ec
mov rdi, rax
test rax, rax
jne 0x1400092bc
xor ecx, ecx
call fcn.14000782c
jmp 0x140009298
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140009130
test eax, eax
jne 0x1400092ed
mov rcx, rdi
call fcn.14000782c
jmp 0x1400092f7
xor ecx, ecx
call fcn.14000782c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000c800
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400067c4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000c88a
cmp byte [rbp - 0x21], r15b
je 0x14000c885
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000c8c0
call fcn.14000a8fc
test eax, eax
jne 0x14000c8ac
cmp byte [rbp - 0x21], r15b
je 0x14000c8a4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000c8c0
cmp byte [rbp - 0x21], r15b
je 0x14000c8bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000787c
test eax, eax
jne 0x14000c960
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400067c4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000c8ff
cmp byte [rbp - 0x21], r15b
je 0x14000c934
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000c934
call fcn.14000a8fc
test eax, eax
jne 0x14000c920
cmp byte [rbp - 0x21], r15b
je 0x14000c919
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000c934
cmp byte [rbp - 0x21], r15b
je 0x14000c931
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000787c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000c960
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000c963
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000c971
mov rcx, rdi
call fcn.14000782c
cmp byte [rbp + 0x3f], r15b
je 0x14000c980
mov rcx, qword [rbp + 0x27]
call fcn.14000782c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000f7b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000f7d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000f7d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140011361
Capabilities:
Terminate process

Disassembly:
jmp 0x140019d40
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011442
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018bf0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018c10
xor al, al
jmp 0x140018c91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018c23
xor al, al
jmp 0x140018c91
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140018c4d
xor al, al
jmp 0x140018c91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018c61
xor al, al
jmp 0x140018c91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018c73
xor al, al
jmp 0x140018c91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140018c8f
xor al, al
jmp 0x140018c91
mov al, 1
add rsp, 0x38
ret
Function at 0x2fc4c5eb0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c68b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e9108]
test eax, eax
je 0x2fc4c694a
lea rax, [0x2fc4e90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e9110]
mov qword [rbp - 8], rax
jmp 0x2fc4c692e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c6922
cmp qword [rbp - 0x10], 0
je 0x2fc4c6922
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c68e8
lea rax, [0x2fc4e90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c694b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c6a50
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c6a78
mov eax, 0
jmp 0x2fc4c6ac6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c6aa1
mov eax, 0
jmp 0x2fc4c6ac6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c6ac1
mov eax, 0
jmp 0x2fc4c6ac6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c6acc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c6b4a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c6b41
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c6b41
mov rax, qword [rbp - 8]
jmp 0x2fc4c6b5f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c6b14
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1cd1fa0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1cd1fad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1cd1fbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1cd1fa5
lea eax, [rcx + 1]
jmp 0x1cd1fcb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1cd1fde
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1cd1fc4
sub eax, 3
jb 0x1cd1ffe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1cd204d
sar eax, 1
movsxd rbp, eax
jb 0x1cd2034
jmp 0x1cd200c
add ebx, ebx
jne 0x1cd200a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1cd2034
inc ecx
add ebx, ebx
jne 0x1cd201a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1cd2034
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1cd202d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1cd201c
add ecx, 2
jmp 0x1cd2039
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01cd1f62
jmp 0x1cd1fad
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x18bc000]
mov eax, dword [rdi]
or eax, eax
je 0x1cd20a9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x18dc8b4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1cd2059
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1cd20a3
mov qword [rbx], rax
add rbx, 8
jmp 0x1cd2079
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1cd20ed
cmp al, 0xef
ja 0x1cd20d5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1cd20b5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1cd20c4
mov eax, dword [rdi]
add rdi, 4
jmp 0x1cd20c4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1cd2141
sub rsp, 0xffffffffffffff80
jmp 0x46cac0
Function at 0x140012340
Capabilities:
Create process on windows
Delete volume shadow copies

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14003f060]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.1400122c0
test eax, eax
je 0x14001238e
lea rcx, [0x14000e680]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [0x14000e690]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001238e
lea rcx, [rsp + 0x30]
call rax
mov dword [rsp + 0x28], 0
lea r9, [0x14000e6b0]
lea r8, [0x14000e708]
mov qword [rsp + 0x20], 0
lea rdx, [0x14000e718]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.1400122c0
test eax, eax
je 0x1400123ee
lea rcx, [0x14000e680]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [0x14000e728]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400123ee
mov rcx, qword [rsp + 0x30]
call rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001eb70
add rsp, 0x48
ret