joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140076fd0
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov ecx, dword [rax]
mov dword [rsp + 0x90], ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov rdx, qword [rax]
test rdx, rdx
je 0x140076e08
mov ecx, dword [rsp + 0x90]
call fcn.140074590
add rsp, 0x88
ret
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x48], r15
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x90]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0xa8], rax
mov rdi, rax
test rax, rax
jne 0x140076e4f
mov r15, qword [rsp + 0x48]
lea rax, [rdi - 1]
mov rdi, qword [rsp + 0x68]
add rsp, 0x88
ret
mov eax, dword [rsp + 0x90]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x80], rbx
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x50], r14
cmovo rax, r15
mov rcx, rax
call fcn.140076474
mov r14, rax
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x90]
xor ebx, ebx
test eax, eax
je 0x140076f4f
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x60], r12
mov r12, r14
mov qword [rsp + 0x58], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140076474
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x90]
inc r14d
cmp r14d, eax
jne 0x140076ec0
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x90]
mov rdx, r14
call fcn.140074590
mov esi, eax
cmp dword [rsp + 0x90], ebx
je 0x140076f9c
mov rdi, r14
nop dword [rax + rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140076f9c
call fcn.140076174
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x90]
jne 0x140076f80
mov rcx, r14
call fcn.140076174
mov r14, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x48]
add rsp, 0x88
ret
jmp 0x140076dd0
Function at 0x140029b84
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400019f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a3a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a3a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a3a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a3a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a3a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a3c
xor al, al
add rsp, 0x28
ret
Function at 0x1400026d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov rcx, qword [0x14001e438]
test rcx, rcx
je 0x140002709
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [0x14001e438], 0
mov edi, 2
mov edx, 1
mov ecx, edi
mov r8d, 6
call qword [sym.imp.WS2_32.dll_socket]
lea rcx, str.183.136.132.115
mov word [rsp + 0x20], di
mov qword [0x14001e438], rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, 0x6987
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [0x14001e438]
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_connect]
mov rcx, qword [0x14001e438]
mov r9d, 0x23
mov r8d, 0x8001
mov rdx, rbx
call qword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140003590
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400027a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
movzx ebx, r8w
movzx r15d, cx
mov esi, r8d
mov r14, rdx
lea rcx, [rbx + 0x10]
call fcn.1400071ec
mov rdi, rax
test rax, rax
je 0x14000291e
movzx ecx, r15w
call qword [sym.imp.WS2_32.dll_htons]
xor ecx, ecx
mov word [rdi], ax
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, 0xffffffff
mov word [rdi + 2], ax
call qword [sym.imp.WS2_32.dll_ntohl]
xor ecx, ecx
mov word [rdi + 8], 1
mov dword [rdi + 4], eax
call qword [sym.imp.WS2_32.dll_htons]
xor ecx, ecx
mov word [rdi + 0xa], ax
call qword [sym.imp.WS2_32.dll_htons]
lea ecx, [rbx + 2]
mov word [rdi + 0xc], ax
call qword [sym.imp.WS2_32.dll_ntohs]
mov r8d, esi
lea rcx, [rdi + 0x10]
mov rdx, r14
mov word [rdi + 0xe], ax
call fcn.140010040
lea r8d, [rbx + 0x1a]
mov eax, 8
mov ecx, r8d
and ecx, 7
sub eax, ecx
test ecx, ecx
cmove eax, ecx
add eax, r8d
movsxd rcx, eax
add rcx, 0x12
mov dword [rsp + 0x70], eax
call fcn.1400071ec
mov rsi, rax
test rax, rax
je 0x14000291e
lea r9, [rax + 0x12]
mov rcx, rdi
lea rax, [rsp + 0x70]
lea edx, [rbx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140001430
mov ebx, dword [rsp + 0x70]
mov rcx, rdi
add ebx, 0x12
call fcn.1400071d8
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, reloc.WS2_32.dll_WSACleanup
mov dword [rsi], eax
call qword [sym.imp.WS2_32.dll_ntohs]
xor ecx, ecx
mov word [rsi + 4], ax
call qword [sym.imp.WS2_32.dll_htons]
xor ecx, ecx
mov word [rsi + 6], ax
call qword [sym.imp.WS2_32.dll_ntohl]
xor ecx, ecx
mov dword [rsi + 8], eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov word [rsi + 0x10], 1
mov rdi, rsi
mov dword [rsi + 0xc], eax
test ebx, ebx
jle 0x140002916
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [0x14001e438]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x140002916
movsxd rcx, eax
sub ebx, eax
add rdi, rcx
test ebx, ebx
jg 0x1400028f0
mov rcx, rsi
call fcn.1400071d8
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140002aa0
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp r8w, 1
jne 0x140002d0b
push r12
mov eax, 0x1060
call fcn.14000faf0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r10, rdx
mov qword [rsp + 0x1080], rbx
mov r12, rcx
mov qword [rsp + 0x1050], rsi
mov rcx, r10
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea rsi, [rsp + 0x20]
mov r8d, 0x1000
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
jle 0x140002ce2
mov qword [rsp + 0x1030], r15
mov r15, qword [0x14001e418]
mov qword [rsp + 0x1058], rbp
mov qword [rsp + 0x1048], rdi
mov qword [rsp + 0x1040], r13
mov qword [rsp + 0x1038], r14
test r15, r15
je 0x140002c50
mov r14, qword [0x14001e428]
cmp r14, 4
jae 0x140002b8a
mov edi, 4
lea rcx, [r14 + r15]
sub edi, r14d
lea rdx, [rsp + 0x20]
cmp eax, edi
cmovl edi, eax
movsxd rsi, edi
mov r8, rsi
call fcn.140010040
lea rax, [rsi + r14]
mov qword [0x14001e428], rax
cmp rax, 4
jb 0x140002cba
lea rsi, [rsp + rsi + 0x20]
sub ebx, edi
mov ecx, dword [r15]
call qword [sym.imp.WS2_32.dll_ntohl]
mov r15, qword [0x14001e428]
mov ebp, eax
sub ebp, r15d
movsxd r14, eax
cmp r14, qword [0x14001e420]
jle 0x140002bdd
mov rcx, qword [0x14001e418]
mov rdx, r14
mov qword [0x14001e420], r14
call fcn.1400071d0
mov rdi, rax
test rax, rax
je 0x140002cba
mov r15, qword [0x14001e428]
mov qword [0x14001e418], rax
jmp 0x140002be4
mov rdi, qword [0x14001e418]
test ebp, ebp
js 0x140002c2d
cmp ebx, ebp
lea rcx, [r15 + rdi]
mov rdx, rsi
cmovl ebp, ebx
movsxd r13, ebp
mov r8, r13
call fcn.140010040
lea rax, [r15 + r13]
mov qword [0x14001e428], rax
cmp rax, r14
jl 0x140002cba
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.140002940
mov rdi, qword [0x14001e418]
add rsi, r13
sub ebx, ebp
mov rcx, rdi
call fcn.1400071d8
xor eax, eax
mov qword [0x14001e418], rax
mov qword [0x14001e428], rax
test ebx, ebx
jle 0x140002cba
nop dword [rax]
mov r14d, ebx
cmp r14, 4
jae 0x140002c60
mov edi, 4
jmp 0x140002c6a
mov ecx, dword [rsi]
call qword [sym.imp.WS2_32.dll_ntohl]
mov edi, eax
movsxd rbp, edi
cmp edi, ebx
jg 0x140002c8a
mov r8, rbp
mov rdx, rsi
mov rcx, r12
call fcn.140002940
add rsi, rbp
sub ebx, edi
test ebx, ebx
jg 0x140002c50
jmp 0x140002cba
mov rcx, rbp
mov qword [0x14001e420], rbp
call fcn.1400071ec
test rax, rax
je 0x140002cba
mov r8, r14
mov qword [0x14001e418], rax
mov rdx, rsi
mov rcx, rax
call fcn.140010040
mov qword [0x14001e428], r14
mov r14, qword [rsp + 0x1038]
mov r13, qword [rsp + 0x1040]
mov rdi, qword [rsp + 0x1048]
mov rbp, qword [rsp + 0x1058]
mov r15, qword [rsp + 0x1030]
mov rbx, qword [rsp + 0x1080]
mov rsi, qword [rsp + 0x1050]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140003590
add rsp, 0x1060
pop r12
ret
Function at 0x140002d10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x2290
call fcn.14000faf0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2280], rax
mov rdi, 0xffffffffffffffff
mov rsi, rdx
mov rbx, rdi
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140002d47
mov rdx, rcx
mov byte [rsp + 0x280], bl
lea rcx, [rsp + 0x281]
mov r8, rbx
call fcn.140010040
nop word [rax + rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x140002d70
mov byte [rsp + rbx + 0x281], dil
mov r8, rdi
lea rbx, [rsp + rbx + 0x282]
mov rdx, rsi
mov rcx, rbx
call fcn.140010040
xor edx, edx
lea rsi, [rbx + rdi]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor ebx, ebx
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002e03
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002dfa
nop dword [rax]
lea rdx, [rsp + 0x6c]
lea rcx, str.GameApp.exe
call fcn.140007054
test eax, eax
lea rdx, [rsp + 0x40]
mov rcx, rdi
cmove ebx, dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002dd0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsi], eax
mov ecx, 1
lea rdx, [rsp + 0x280]
lea rax, [rsp + 0x280]
sub esi, eax
lea r8d, [rsi + 4]
call fcn.1400027a0
mov rcx, qword [rsp + 0x2280]
xor rcx, rsp
call fcn.140003590
lea r11, [rsp + 0x2290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140003ffc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004046
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004046
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004046
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004046
cmp dword [rcx + 0x84], 0xe
jbe 0x140004046
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004048
xor al, al
add rsp, 0x28
ret
Function at 0x140007bd4
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 0x140007c43
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007c43
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007c43
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007c43
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007c43
cmp dword [rcx + 0x84], 0xe
jbe 0x140007c43
cmp dword [rcx + 0xf8], 0
je 0x140007c43
mov ecx, ebx
call fcn.140007cf4
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.140007ad0
nop
cmp dword [rbp + 0x20], 0
je 0x140007c91
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140007c9c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140007bd4

Function at 0x140007dd8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007bd4
Function at 0x14000b840
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000b8c7
mov rsi, rbx
cmp word [rax], bp
je 0x14000b886
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000b870
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000b86c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140009e5c
mov rdi, rax
test rax, rax
je 0x14000b8b4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140010040
mov rbp, rdi
xor ecx, ecx
call fcn.140009314
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000fa30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000fa58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000fa58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140166feb
Capabilities:
Encode data using xor

Disassembly:
mov r10d, dword [rbx]
neg ebp
not rbp
sub ebp, ebp
xor ebp, dword [rbx + rbp*4 + 4]
mov ecx, 0xa806bd2e
call fcn.14014a4be
lea rsp, [rsp + 0x18]
je 0x14016705e
mov r11d, 0xeab6c48f
dec r11d
push rbx
lea rbx, [0x140147348]
mov r11d, 0xc882b092
rol r11w, 0x23
movzx r11d, byte [rdx]
push 0xffffffff9528480a
xor r11d, edi
and r11d, 0xff
mov r11d, dword [rbx + r11*4]
shr edi, 8
xor edi, r11d
sar dword [rsp], 0xa7
inc rdx
sar dword [rsp + 1], 0xad
xor edi, 0xd5249f97
dec rax
not byte [rsp + 5]
push 0xffffffffeb0e930c
lea rsp, [rsp + 0x10]
jne 0x140167007
mov ebx, 0x533c1aa4
pop rbx
not edi
call fcn.140147b9e
mov ebp, 0xc43da00a
jmp 0x1401434ec
Function at 0x180001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12d, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
xor edi, edi
movsxd rcx, dword [rax + 0x3c]
mov r14d, dword [rcx + rax + 0x88]
add r14, rax
mov r13d, dword [r14 + 0x1c]
mov r15d, dword [r14 + 0x20]
add r13, rax
add r15, rax
mov eax, dword [r14 + 0x24]
add rax, rbp
mov qword [rsp + 0x60], rax
cmp dword [r14 + 0x14], edi
jbe 0x1800010d7
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
nop dword [rax]
mov ebx, dword [r15 + rdi*4]
add rbx, rbp
jne 0x180001070
mov eax, 0xdeadbeef
jmp 0x1800010ad
mov edx, 0x32
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r9, rax
xor r8d, r8d
mov eax, 0xdeadbeef
test r9, r9
je 0x1800010ad
nop
movsx edx, byte [r8 + rbx]
inc r8
imul ecx, eax, 0x2b3c4d
add edx, ecx
and edx, 0xffffff
add eax, edx
cmp r8, r9
jb 0x180001090
cmp eax, r12d
je 0x1800010bc
inc edi
cmp edi, dword [r14 + 0x14]
jb 0x180001060
jmp 0x1800010cd
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rdi*2]
mov eax, dword [r13 + rax*4]
add rax, rbp
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400055a7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14005d718]
jne 0x140002eea
rol rcx, 0x10
test cx, 0xffff
jne 0x140002ee6
repz ret
ror rcx, 0x10
jmp 0x140005500
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14005e890]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14005e988]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140005585
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14005e890]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400055a7
mov rax, qword [rsp + 0x88]
mov qword [0x14005e988], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14005e928], rax
mov rax, qword [0x14005e988]
mov qword [0x14005e800], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14005e910], rax
mov dword [0x14005e7f0], 0xc0000409
mov dword [0x14005e7f4], 1
mov rax, qword [0x14005d718]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14005d720]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14005e888], eax
mov ecx, 1
call fcn.14000398c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000a5a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14005e888], 0
jne 0x14000562e
mov ecx, 1
call fcn.14000398c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400059f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140006aec
nop
cmp dword [0x14005edb0], 1
je 0x14000599c
mov dword [0x14005edac], 1
mov byte [0x14005eda8], r12b
test ebx, ebx
jne 0x140005988
mov rcx, qword [0x14005f850]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140005975
mov rcx, qword [0x14005f848]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140005914
call fcn.14000399c
cmp qword [rdi], rax
jne 0x140005914
jmp 0x1400058fa
cmp rdi, rsi
jb 0x140005975
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000399c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14005f850]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14005f848]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140005953
cmp r13, rax
je 0x140005973
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400058fa
lea rdx, [0x14000a250]
lea rcx, [0x14000a248]
call fcn.140005744
lea rdx, [0x14000a260]
lea rcx, [0x14000a258]
call fcn.140005744
nop
test r12d, r12d
je 0x1400059ab
mov ecx, 8
call fcn.1400069ec
test r12d, r12d
jne 0x1400059d6
mov dword [0x14005edb0], 1
lea ecx, [r12 + 8]
call fcn.1400069ec
mov ecx, r15d
call fcn.1400056d8
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140005864

Function at 0x1400059fc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140005864