joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005f850
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14005f9f8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14005f8b5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14005f8b5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14005f8b5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14005f8ec
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14005f942
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005f942
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005f942
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005f942
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005f942
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14005f300
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14005f9a4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14003b890
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14005f6d0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14005f9f0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14003b890
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140061160
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140096080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400611f5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140061256
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14003b890
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140074ce0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140061311
sub ecx, 1
je 0x140061384
sub ecx, 1
je 0x1400612c0
cmp ecx, 1
je 0x1400612a3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140081a00]
call fcn.14003b890
jmp 0x140061384
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140060e90
test eax, eax
je 0x140061384
jmp 0x14006122a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140061384
sub rax, rsi
cmp rax, rbp
jae 0x140061384
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14003ba10
jmp 0x140061384
cmp r8d, 4
jle 0x140061384
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140061384
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14003b7b0
mov esi, eax
test eax, eax
je 0x140061363
mov edx, 5
mov rcx, rbx
call fcn.140061e50
mov eax, esi
jmp 0x14006122a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14004a280
mov rcx, r14
call fcn.14004a560
test eax, eax
je 0x140061228
mov edx, 5
mov rcx, rbx
call fcn.140061e50
mov eax, Ordinal_45
jmp 0x14006122a
Function at 0x140074120
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140074162
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400741a9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140074202
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400741c0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140074243
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008717a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008717b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140074210
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140074260
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007429a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007429f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400742e8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400742e8
dec r8
sub rdx, 1
jne 0x1400742ce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140075c18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140075c62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140075c62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140075c62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140075c62
cmp dword [rcx + 0x84], 0xe
jbe 0x140075c62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140075c64
xor al, al
add rsp, 0x28
ret
Function at 0x1400010c7
Capabilities:
Execute anti-debugging instructions

Disassembly:
movabs rax, 0xb2d05e00
mov rbx, rax
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, rbx
jb 0x1400010e0
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0xffffffff9f345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x140001107
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x140001100
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret
Function at 0x140008748
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400085b0

Function at 0x14000c534
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14001c0e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, rcx
xor ecx, ecx
mov ebp, r8d
mov r12, rdx
call qword [0x1400161d0]
xor edi, edi
mov rsi, rax
call fcn.1400094e4
cmp qword [0x140029950], rdi
mov r14d, eax
jne 0x14000c670
lea rcx, str.USER32.DLL
xor edx, edx
mov r8d, 0x800
call qword [0x140016060]
mov rbx, rax
test rax, rax
jne 0x14000c5c2
call qword [0x1400161c0]
cmp eax, 0x57
jne 0x14000c784
lea rcx, str.USER32.DLL
call qword [0x140016160]
mov rbx, rax
test rax, rax
je 0x14000c784
lea rdx, str.MessageBoxW
mov rcx, rbx
call qword [0x140016178]
test rax, rax
je 0x14000c784
mov rcx, rax
call qword [0x1400161d0]
lea rdx, str.GetActiveWindow
mov rcx, rbx
mov qword [0x140029950], rax
call qword [0x140016178]
mov rcx, rax
call qword [0x1400161d0]
lea rdx, str.GetLastActivePopup
mov rcx, rbx
mov qword [0x140029958], rax
call qword [0x140016178]
mov rcx, rax
call qword [0x1400161d0]
lea rdx, str.GetUserObjectInformationW
mov rcx, rbx
mov qword [0x140029960], rax
call qword [0x140016178]
mov rcx, rax
call qword [0x1400161d0]
mov qword [0x140029970], rax
test rax, rax
je 0x14000c670
lea rdx, str.GetProcessWindowStation
mov rcx, rbx
call qword [0x140016178]
mov rcx, rax
call qword [0x1400161d0]
mov qword [0x140029968], rax
call qword [0x1400161e0]
test eax, eax
je 0x14000c697
test r15, r15
je 0x14000c688
mov rcx, r15
call qword [0x140016158]
test r14d, r14d
je 0x14000c6b3
mov eax, 4
jmp 0x14000c786
test r14d, r14d
je 0x14000c6b3
mov rcx, qword [0x140029950]
call qword [0x1400161d8]
mov eax, 3
jmp 0x14000c786
mov rcx, qword [0x140029968]
cmp rcx, rsi
je 0x14000c722
cmp qword [0x140029970], rsi
je 0x14000c722
call qword [0x1400161d8]
mov rcx, qword [0x140029970]
mov rbx, rax
call qword [0x1400161d8]
mov r14, rax
test rbx, rbx
je 0x14000c722
test rax, rax
je 0x14000c722
call rbx
test rax, rax
je 0x14000c71c
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r14
test eax, eax
je 0x14000c71c
test byte [rsp + 0x40], 1
jne 0x14000c722
bts ebp, 0x15
jmp 0x14000c762
mov rcx, qword [0x140029958]
cmp rcx, rsi
je 0x14000c762
call qword [0x1400161d8]
test rax, rax
je 0x14000c762
call rax
mov rdi, rax
test rax, rax
je 0x14000c762
mov rcx, qword [0x140029960]
cmp rcx, rsi
je 0x14000c762
call qword [0x1400161d8]
test rax, rax
je 0x14000c762
mov rcx, rdi
call rax
mov rdi, rax
mov rcx, qword [0x140029950]
call qword [0x1400161d8]
test rax, rax
je 0x14000c784
mov r9d, ebp
mov r8, r12
mov rdx, r15
mov rcx, rdi
call rax
jmp 0x14000c786
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400074e0
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140011032
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
jmp 0x140012600
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f240]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14002522e]
call fcn.1400113cf
nop
mov dword [rbp + 0x10], 0x40
mov qword [rbp + 0x68], 0
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x140012662
xor eax, eax
jmp 0x140012781
xor edx, edx
mov rax, qword [rbp + 0x18]
mov ecx, 0x100000
div rcx
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
xor edx, edx
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0xd8], rax
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x124]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x18
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70000
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop
mov eax, dword [rbp + 0x104]
mov rcx, qword [rbp + 0xf8]
imul rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x108]
imul rax, rcx
mov ecx, dword [rbp + 0x10c]
imul rax, rcx
cqo
and rdx, 0x3ff
add rax, rdx
sar rax, 0xa
cqo
and rdx, 0x3ff
add rax, rdx
sar rax, 0xa
cqo
and rdx, 0x3ff
add rax, rdx
sar rax, 0xa
mov qword [rbp + 0x148], rax
cmp qword [rbp + 0x68], 0x800
jbe 0x140012778
cmp dword [rbp + 0xa8], 2
jb 0x140012778
cmp qword [rbp + 0x148], 0x64
jge 0x14001277c
xor eax, eax
jmp 0x140012781
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001c310]
call fcn.14001134d
mov rax, rdi
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret

Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140013f00
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]
nop
add rsp, 0x28
ret
Function at 0x140011226
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140011870
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x14001f240]
xor rax, rbp
mov qword [rbp + 0x438], rax
lea rcx, [0x1400250a5]
call fcn.1400113cf
nop
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov edx, 0xefe297c0
mov ecx, 0x77336ee6
call fcn.14001138e
mov qword [rbp + 0x2a8], rax
cmp qword [rbp + 0x2a8], 0
jne 0x140011909
lea rcx, str._x__Failed_to_get_Address_for_oProcess
call qword [sym.imp.ucrtbased.dll_puts]
nop
xor eax, eax
jmp 0x140011a3e
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, 0xf
call fcn.1400111bd
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14001193c
lea rcx, str._x__Failed_to_take_snapshot.
call qword [sym.imp.ucrtbased.dll_puts]
nop
xor eax, eax
jmp 0x140011a3e
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call fcn.140011258
test eax, eax
jne 0x14001196d
lea rcx, str._x__Process32First___Failed_
call qword [sym.imp.ucrtbased.dll_puts]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x140011a3e
lea rdx, [rbp + 0x7c]
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x1400119f6
lea rcx, str.___Found_Process__Attempting_to_open_handle.
call qword [sym.imp.ucrtbased.dll_puts]
nop
mov r8d, dword [rbp + 0x58]
xor edx, edx
mov ecx, 0x43a
call qword [rbp + 0x2a8]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400119bc
lea rcx, str._x__Failed_to_get_handle_to_process_:_
call qword [sym.imp.ucrtbased.dll_puts]
nop
jmp 0x1400119f6
lea rcx, str.___Got_process_handle__:_
call qword [sym.imp.ucrtbased.dll_puts]
nop
mov rax, qword [rbp + 0x460]
mov rcx, qword [rbp + 0x28]
mov qword [rax], rcx
mov rax, qword [rbp + 0x470]
mov ecx, dword [rbp + 0x58]
mov dword [rax], ecx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
jmp 0x140011a3e
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call fcn.140011375
test eax, eax
jne 0x14001196d
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp + 0x28], 0
je 0x140011a28
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x468]
lea rcx, str._x__Failed_to_find_process__ls_n
call fcn.1400111b3
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bc00]
call fcn.14001134d
mov rax, rdi
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x448]
pop rdi
pop rbp
ret
Function at 0x1400112b2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015250
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015270
xor al, al
jmp 0x1400152f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015283
xor al, al
jmp 0x1400152f1
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 0x1400152ad
xor al, al
jmp 0x1400152f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400152c1
xor al, al
jmp 0x1400152f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400152d3
xor al, al
jmp 0x1400152f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400152ef
xor al, al
jmp 0x1400152f1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001138e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1400120c0
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x2a8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002516a]
call fcn.1400113cf
nop
call fcn.140012450
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp qword [rax + 0x50], 0
je 0x1400122c2
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 0x48]
mov word [rbp + 0x84], ax
movzx edx, word [rbp + 0x84]
mov rcx, qword [rbp + 0x68]
call fcn.14001114a
cmp eax, dword [rbp + 0x2a0]
jne 0x1400122b2
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
lea rax, [rcx + rax + 0x88]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x184], eax
mov qword [rbp + 0x1a8], 0
jmp 0x14001223c
mov rax, qword [rbp + 0x1a8]
inc rax
mov qword [rbp + 0x1a8], rax
mov eax, dword [rbp + 0x184]
cmp qword [rbp + 0x1a8], rax
jae 0x1400122a1
mov r8, qword [rbp + 0x1a8]
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 0xa8]
call fcn.1400113ca
mov rcx, rax
call fcn.14001115e
cmp eax, dword [rbp + 0x2a8]
jne 0x14001229f
mov rax, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x1a8]
movzx eax, word [rax + rcx*2]
mov r8d, eax
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0xa8]
call fcn.140011230
jmp 0x1400122d1
jmp 0x14001222b
lea rcx, str._x__Coudlnt_find_the_function_corresponding_to_the_given_hash_n
call fcn.1400111b3
nop
xor eax, eax
jmp 0x1400122d1
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
jmp 0x140012104
lea rcx, str._x__Couldnt_find_the_module_corresponding_to_the_given_hash_n
call fcn.1400111b3
nop
xor eax, eax
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret
Function at 0x140013140
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113f7
movzx eax, al
test eax, eax
jne 0x140013160
mov ecx, 7
call fcn.140011357
nop
mov byte [rsp + 0x20], 0
call fcn.14001136b
mov byte [rsp + 0x21], al
cmp dword [0x14001faa8], 1
jne 0x140013184
mov ecx, 7
call fcn.140011357
nop
jmp 0x1400131dc
cmp dword [0x14001faa8], 0
jne 0x1400131d7
mov dword [0x14001faa8], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111b8
test eax, eax
je 0x1400131b8
mov eax, 0xff
jmp 0x1400132e1
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.140011361
mov dword [0x14001faa8], 2
jmp 0x1400131dc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011343
call fcn.1400112d5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013239
mov rcx, qword [rsp + 0x30]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x140013239
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140026020]
nop
call fcn.140011307
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001326d
mov rcx, qword [rsp + 0x38]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x14001326d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113ac
nop
call fcn.140013390
mov dword [rsp + 0x28], eax
call fcn.1400112b2
movzx eax, al
test eax, eax
jne 0x14001328c
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001329b
call fcn.1400113bb
nop
xor edx, edx
mov cl, 1
call fcn.14001114f
mov eax, dword [rsp + 0x28]
jmp 0x1400132e1
add rsp, 0x68
ret

Function at 0x18058567e
Capabilities:
Encode data using xor

Disassembly:
test rax, rax
push 0xffffffff9a913d86
lea rsp, [rsp + 0x28]
je 0x180571073
push r9
lea rdx, [0x180571ce8]
mov r9d, 0xf1275f04
shr r9, 0xa1
xor r9b, byte [r10 + r9]
xor r9d, edi
push 0x69246399
and r9d, 0xff
mov r9d, dword [rdx + r9*4]
shr edi, 8
xor edi, r9d
ror word [rsp + 2], 0xa9
inc r10
xor edi, 0x69b514ad
dec rax
lea rsp, [rsp + 8]
jne 0x18055c800
call fcn.180582dcc
call fcn.18058127e
push 0xffffffffe51d2e34
xor edi, edi
jmp 0x18055c7e4