joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8d5b10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x8d5b1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x8d5b2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x8d5b15
lea eax, [rcx + 1]
jmp 0x8d5b3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x8d5b4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x8d5b34
sub eax, 3
jb 0x8d5b6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x8d5bbd
sar eax, 1
movsxd rbp, eax
jb 0x8d5ba4
jmp 0x8d5b7c
add ebx, ebx
jne 0x8d5b7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x8d5ba4
inc ecx
add ebx, ebx
jne 0x8d5b8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x8d5ba4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x8d5b9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x8d5b8c
add ecx, 2
jmp 0x8d5ba9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.008d5ad2
jmp 0x8d5b1d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x35b200
mov dl, 0x63
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x8d5c09
cmp rsi, rcx
jae 0x8d5c11
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x8d5bf0
cmp al, 0x8f
ja 0x8d5bf0
cmp byte [rsi - 2], 0xf
je 0x8d5bf6
sub al, 0xe8
cmp al, 1
ja 0x8d5bda
cmp rsi, rcx
jae 0x8d5c11
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x8d5be0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x8d5c11
lodsb al, byte [rsi]
jmp 0x8d5bf0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x4bc000]
mov eax, dword [rdi]
or eax, eax
je 0x8d5c6e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4d84e0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x8d5c1e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x8d5c68
mov qword [rbx], rax
add rbx, 8
jmp 0x8d5c3e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x8d5ca8
cmp al, 0xef
ja 0x8d5c9a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x8d5c7a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x8d5c89
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x8d5cfc
sub rsp, 0xffffffffffffff80
jmp 0x74d460
Function at 0x140001620
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x680
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x670], rax
xor ebp, ebp
mov qword [rsp + 0x20], 0x238
mov r12, r8
mov dword [rsp + 0x28], ebp
mov r15, rdx
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x38], rbp
mov r8d, 0x20c
mov qword [rsp + 0x40], rbp
lea rcx, [rsp + 0x4c]
mov dword [rsp + 0x48], ebp
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rbp + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400016b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____CreateToolhelp32Snapshot_Failed_With_Error_:__d__n
call fcn.140001070
jmp 0x1400017ae
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400016d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._n_t____Process32First_Failed_With_Error_:__d__n
jmp 0x1400017a2
lea r13, str.notepad.exe
nop dword [rax + rax]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
lea rdi, [rsp + 0x260]
xor eax, eax
mov ecx, 0x208
mov esi, ebp
rep stosb byte [rdi], al
cmp edx, 0x208
jae 0x140001749
test edx, edx
je 0x140001730
mov rdi, rbp
mov ebx, edx
mov esi, edx
movzx ecx, word [rsp + rdi + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [rsp + rdi + 0x260], ax
lea rdi, [rdi + 2]
sub rbx, 1
jne 0x140001713
mov eax, esi
add rax, rax
cmp rax, 0x410
jae 0x14000180d
mov word [rsp + rax + 0x260], bp
lea rdx, [rsp + 0x260]
mov rax, rbp
movzx ecx, word [rdx + rax*2]
cmp cx, word [r13 + rax*2]
jne 0x1400017c8
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r13 + rax*2 + 2]
jne 0x1400017c8
add rax, 2
cmp rax, 0xc
jne 0x140001754
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
mov dword [r15], r8d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [r12], rax
test rax, rax
jne 0x1400017a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._n_t____OpenProcess_Failed_With_Error_:__d__n
mov edx, eax
call fcn.140001070
test r14, r14
je 0x1400017b7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [r15], ebp
je 0x1400017e0
cmp qword [r12], rbp
setne bpl
mov eax, ebp
jmp 0x1400017e2
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400016e0
jmp 0x1400017a9
xor eax, eax
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140001a50
mov rbx, qword [rsp + 0x6c0]
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001b78
int3
Function at 0x140001820
Capabilities:
Enumerate threads

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
lea rdx, str.notepad.exe
lea rcx, str._i__Searching_For_Process_Id_Of___s__...__n
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x40], ebx
call fcn.140001010
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
call fcn.140001620
test eax, eax
jne 0x14000188c
lea rcx, str.____Process_is_Not_Found__n
call fcn.140001070
mov eax, 0xffffffff
jmp 0x140001a25
mov qword [rsp + 0xa0], rsi
lea rcx, str.___DONE__n
mov qword [rsp + 0xa8], rdi
call fcn.140001070
mov esi, dword [rsp + 0x40]
lea rcx, str.___Found_Target_Process_Pid:__d__n
mov edx, esi
call fcn.140001070
xor edx, edx
mov qword [rsp + 0x60], 0x1c
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], ebx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400018fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n_t____CreateToolhelp32Snapshot_Failed_With_Error_:__d__n
call fcn.140001070
jmp 0x14000196d
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x140001920
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._n_t____Thread32First_Failed_With_Error_:__d__n
jmp 0x140001961
cmp dword [rsp + 0x6c], esi
je 0x14000193a
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140001920
jmp 0x140001968
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
jne 0x140001968
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._n_t____OpenThread_Failed_With_Error_:__d__n
mov edx, eax
call fcn.140001070
test rdi, rdi
je 0x140001976
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str._i__Injecting_Target_Process_...__n
call fcn.140001070
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
call fcn.140001310
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
test eax, eax
jne 0x1400019c7
lea rcx, str.____FAILED__n
call fcn.140001070
mov eax, 0xffffffff
jmp 0x140001a25
lea rcx, str.___DONE__n
call fcn.140001070
lea rcx, str.___Press__Enter__To_Run_The_Payload_...
call fcn.140001070
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rcx, str._i__Hijacking_The_Target_Thread_To_Run_Our_Shellcode_...__n
call fcn.140001070
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1400010d0
test eax, eax
je 0x140001882
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, str.___Press__Enter__To_Quit_...
call fcn.140001070
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140001a50
add rsp, 0x90
pop rbx
ret
Function at 0x140002430
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400db490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400db4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400bdc50
jmp 0x14000123c
mov rax, qword [0x1400db4a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400db4a0]
mov dword [rax], 1
mov rax, qword [0x1400db4e0]
mov rdx, rax
mov rax, qword [0x1400db4d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x1400df024], 1
mov rax, qword [0x1400db4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400db4c0]
mov rdx, rax
mov rax, qword [0x1400db4b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400db4a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400db490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400db3e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400db3e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400bced8
mov rax, qword [0x1400db520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400db480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400bc6d0
mov eax, dword [0x1400df004]
lea rdx, [0x1400df008]
mov ecx, eax
call fcn.14000147c
call fcn.1400bc467
mov rax, qword [0x1400db410]
mov rax, qword [rax]
mov rdx, qword [0x1400df010]
mov qword [rax], rdx
mov rcx, qword [0x1400df010]
mov rdx, qword [0x1400df008]
mov eax, dword [0x1400df004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x1400df01c], eax
mov eax, dword [0x1400df020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x1400df01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x1400df024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400df01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400db440]
mov dword [rax], 1
mov rax, qword [0x1400db450]
mov dword [rax], 1
mov rax, qword [0x1400db460]
mov dword [rax], 1
mov rax, qword [0x1400db400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400bc6e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.1400bda40
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400bd3b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400df168]
test eax, eax
je 0x1400bd44a
lea rax, [0x1400df140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400df170]
mov qword [rbp - 8], rax
jmp 0x1400bd42e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400bd422
cmp qword [rbp - 0x10], 0
je 0x1400bd422
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400bd3e8
lea rax, [0x1400df140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400bd44b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400bd550
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400bd64a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400bd641
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400bd641
mov rax, qword [rbp - 8]
jmp 0x1400bd65f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400bd614
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400089c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400a96f0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400089ed
xor eax, eax
jmp 0x140008b4a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140008a18
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140008a18
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140008b4a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140008b3d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140008a5b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140008a86
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140008b42
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140008af5
sub eax, 1
je 0x140008af5
cmp eax, 2
jne 0x140008b3d
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140008b42
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140008b23
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140008b3d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140008b42
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140083eb0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140009a80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140009ab4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140009aa0
ret
Function at 0x14000b240
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400a96f0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000b313
cmp byte [rcx + 0x71], 0
je 0x14000b313
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14000b30f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000b2d4
sub eax, 1
je 0x14000b2d8
cmp eax, 2
jne 0x14000b30f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140083eb0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000b306
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000b30f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000b2bc
xor al, al
jmp 0x14000b2bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140083eb0
add rsp, 0x60
pop rbx
ret

Function at 0x14000d9f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1400a96f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov ecx, Ordinal_27
call fcn.140083ed0
mov rdi, rax
mov qword [rsp + 0x30], rax
mov rdx, rbx
mov rcx, rax
call fcn.14000c690
mov qword [rdi + 0x10], rsi
mov qword [rsp + 0x30], rdi
lea rbx, [r14 + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x140019690]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r14], rax
test rax, rax
je 0x14000da86
mov rax, r14
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140083eb0
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140030710
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400307f2
call fcn.140047420
test al, al
jne 0x1400307f2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x140030742
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.140051150
test rax, rax
je 0x140030787
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.140051150
mov rsi, rax
test rax, rax
je 0x140030787
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x1400307bb
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1400443d0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400307a0
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret