joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009d200
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x14009d243
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.14009b690]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400b5f20
ud2

Function at 0x1400a0600
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
add byte [rax], al
add byte [rcx - 0x47], al
add al, byte [rax]
add byte [rax], al
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1400a0635
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400a063a
call fcn.14009d200
nop
add rsp, 0x38
ret

Function at 0x1400a75e7
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
cmp rcx, 0xffffffffffffffff
je 0x1400a7631
movzx eax, dl
lea r9, [rsp + 0x34]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400a761e
xor eax, eax
jmp 0x1400a762c
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.C:Usersoracl.cargo_registry_src_rsproxy.cn_0dccff568467c15b_tokio_1.36.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.1400b60e0
int3
Function at 0x1400a78b5
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push rsi
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, r9
mov rbx, r8
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xd0]
add byte [rax - 0x73], cl
insb byte [rdi], dx
and al, 0x42
lea r14, [rsp + 0x52]
mov r13, qword [rdx + 0x10]
mov r15, qword [rdx + 0x18]
lea r12, [r13 + 0x80]
mov ecx, 0x7fffffff
invalid
jg 0x1400a793f
cmp eax, ecx
cmovb rcx, rax
mov qword [rsp + 0x60], rcx
invalid
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x38]
mov rdx, r13
mov r8, rbx
mov r9b, 1
call fcn.1400a11c8
mov al, byte [rsp + 0x41]
cmp al, 3
je 0x1400a7a29
mov rcx, qword [rsp + 0x38]
cmp al, 2
je 0x1400a7a37
test bl, bh
add byte [rax], al
invalid
mov dl, byte [rsp + 0x40]
movzx r8d, word [rbp + 4]
mov word [r14 + 4], r8w
mov r8d, dword [rbp]
mov dword [r14], r8d
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], al
cmp r15, 0xffffffffffffffff
je 0x1400a7a7e
mov rcx, r15
mov rdx, rdi
mov r8, qword [rsp + 0x60]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400a7a49
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.140036599
cmp al, 0xd
jne 0x1400a7a03
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400a7a03
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1400a7a96
mov r12, r15
mov r15, r14
mov r14, rbx
mov esi, ebx
mov rbx, rdi
mov rdi, rbp
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.140036452
test rax, rax
je 0x1400a79ef
mov rbp, rax
mov rcx, rsi
call fcn.1400942ab
mov rsi, rbp
mov rbp, rdi
mov rdi, rbx
mov rbx, r14
mov r14, r15
mov r15, r12
mov r12, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140036599
cmp al, 0xd
jne 0x1400a7a5d
mov rcx, r12
lea rdx, [rsp + 0x48]
call fcn.1400abda7
mov rcx, rsi
call fcn.1400942ab
invalid
jmp 0x1400a7910
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
mov dword [rax], 2
jmp 0x1400a7a6d
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x1400a7a6d
cdqe
mov rcx, qword [rsp + 0x28]
mov qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x1400a7a6d
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop rsp
pop r13
pop r14
pop r15
ret
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.C:Usersoracl.cargo_registry_src_rsproxy.cn_0dccff568467c15b_tokio_1.36.0_srciopoll_evented.rs
add byte [rdx + 0x2b], bh
call fcn.1400b60e0
out 0, al
add byte [rax], al
ud2

Function at 0x1400a92d5
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsp
Function at 0x1400b1153
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, 0x108
mov r13, r8
mov rsi, rdx
mov rbp, rcx
mov r14, qword [rsp + 0x178]
mov r15b, byte [rsp + 0x170]
lea rdi, [rsp + 0x98]
mov qword [rdi], r8
mov qword [rsp + 0x78], r9
mov qword [rdi + 8], r9
mov rcx, rdi
call fcn.1400adf72
mov rbx, qword [rdi]
mov r12, qword [rdi + 8]
cmp eax, 0x3e
jle 0x1400b11f9
cmp eax, 0x3f
je 0x1400b1377
cmp eax, 0x5c
je 0x1400b120b
cmp eax, 0x110000
jne 0x1400b13bb
cmp dword [r14 + 0x20], 0
je 0x1400b1428
mov r9d, dword [r14 + 0x24]
mov rdx, qword [r14 + 8]
test r9, r9
je 0x1400b16b9
mov rax, qword [r14 + 0x10]
cmp rax, r9
jbe 0x1400b16be
cmp byte [rdx + r9], 0xbf
jg 0x1400b16c4
jmp 0x1400b199e
cmp eax, 0x23
je 0x1400b138b
cmp eax, 0x2f
jne 0x1400b13bb
mov byte [rsp + 0x77], r15b
mov qword [rsp + 0x80], rsi
xor esi, esi
lea rdi, [rsp + 0x98]
mov r15, r13
mov r13, qword [rsp + 0x78]
js 0x1400b1277
mov dword [rsp + 0x90], edi
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r13
mov rcx, rdi
call fcn.1400adf72
cmp eax, 0x5c
je 0x1400b1254
cmp eax, 0x2f
jne 0x1400b1268
mov r15, qword [rsp + 0x98]
mov r13, qword [rsp + 0xa0]
add byte [rax], al
add bh, bh
invalid
jmp 0x1400b1232
cmp esi, 1
jbe 0x1400b13d5
mov rsi, qword [rsp + 0x80]
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x1400b14fe
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x88], rbp
mov byte [rax], al
add byte [rax], al
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0xf8], rax
xor edi, edi
lea rbx, [rsp + 0xe0]
mov qword [rbx], rdi
cmp ecx, dword [rax - 0x39]
or byte [r9], al
add byte [rax], al
add byte [rax - 0x77], cl
jnp 0x1400b12cb
lea rbp, [rsp + 0x98]
mov rax, qword [rsp + 0x90]
add byte [rax - 0x77], cl
add byte [r8 - 0x75], r9b
and al, 0x78
mov qword [rbp + 8], rax
mov byte [rbp + 0x10], 0
mov esi, 1
mov rcx, rbp
call fcn.1400adf72
int3
invalid
inc dword [rcx - 0x77]
invalid
cmp eax, 0x2f
je 0x1400b130a
cmp r12d, 0x5c
je 0x1400b130a
cmp r12d, 0x110000
je 0x1400b134a
mov byte [rsp + 0xa8], 1
jmp 0x1400b133e
cmp rdi, qword [rsp + 0xe0]
jne 0x1400b132f
mov rcx, rbx
mov rdx, rdi
call fcn.1400ac3d8
dec dword [rax - 0x75]
mov ah, 0x24
call 0x1880b1328
mov edi, dword [rsp + 0xf0]
mov byte [rsi + rdi], r12b
inc rdi
mov qword [rsp + 0xf0], rdi
cmp r12d, 0x2f
je 0x1400b12e1
cmp r12d, 0x5c
je 0x1400b12e1
mov rax, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xe8]
cmp rdi, 2
add cl, byte [rdi]
test dword [rdx + 1], ebx
add byte [rax], al
cmp dword [r14 + 0x18], 0
je 0x1400b1435
lea rax, [r14 + 0x1c]
lea rdx, [rsp + 0x98]
cmp dword [r14 + 0x18], 0
je 0x1400b1470
mov r15d, dword [r14 + 0x3c]
mov rdx, qword [r14 + 8]
test r15, r15
mov rsi, qword [rsp + 0x80]
mov ah, 0x24
add byte [rax], 0
add byte [rdx + rcx*4 + 0x6c], al
and al, 0x77
cmp dword [r14 + 0x20], 0
je 0x1400b1806
mov r12, r13
xor esi, esi
xor r9d, r9d
jne 0x1400b199e
mov r12, r13
lea rcx, [0x140117e48]
Function at 0x1400b5720
Capabilities:
Parse pe header

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

Function at 0x1400b9160
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1400b91b5
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b91b5
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b91b5
mov r14, rax
xor edi, edi
jmp 0x1400b923d
lea rcx, [0x140118a7a]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1400b92a7
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b92a7
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b92a7
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b92a7
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x1400b92a7
mov r14, qword [rsp + 0x20]
mov al, byte [0x1401222b8]
mov ecx, 0x18
mov edx, 8
call fcn.140034c70
test rax, rax
je 0x1400b92bf
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x140122160], rbx
je 0x1400b929a
mov rsi, rax
cmp qword [rbx], 0
je 0x1400b9285
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [0x140122220]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Usersoracl.cargo_registry_src_rsproxy.cn_0dccff568467c15bparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
lea r8, [0x1400e6c40]
mov edx, 0x5b
call fcn.1400b92cf
mov ecx, 8
mov edx, 0x18
call fcn.1400b5bc0
int3
Function at 0x2fc4f2830
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4f3232
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc517108]
test eax, eax
je 0x2fc4f32ca
lea rax, [0x2fc5170e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc517110]
mov qword [rbp - 8], rax
jmp 0x2fc4f32ae
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 0x2fc4f32a2
cmp qword [rbp - 0x10], 0
je 0x2fc4f32a2
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 0x2fc4f3268
lea rax, [0x2fc5170e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4f32cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4f33d0
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 0x2fc4f33f8
mov eax, 0
jmp 0x2fc4f3446
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 0x2fc4f3421
mov eax, 0
jmp 0x2fc4f3446
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 0x2fc4f3441
mov eax, 0
jmp 0x2fc4f3446
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4f344c
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 0x2fc4f34ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4f34c1
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 0x2fc4f34c1
mov rax, qword [rbp - 8]
jmp 0x2fc4f34df
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 0x2fc4f3494
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d4930
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.2fc4d5a10
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d5332
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f7108]
test eax, eax
je 0x2fc4d53ca
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f7110]
mov qword [rbp - 8], rax
jmp 0x2fc4d53ae
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 0x2fc4d53a2
cmp qword [rbp - 0x10], 0
je 0x2fc4d53a2
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 0x2fc4d5368
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d53cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d54d0
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 0x2fc4d54f8
mov eax, 0
jmp 0x2fc4d5546
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 0x2fc4d5521
mov eax, 0
jmp 0x2fc4d5546
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 0x2fc4d5541
mov eax, 0
jmp 0x2fc4d5546
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d554c
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 0x2fc4d55ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d55c1
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 0x2fc4d55c1
mov rax, qword [rbp - 8]
jmp 0x2fc4d55df
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 0x2fc4d5594
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140006672
Capabilities:
Execute syscall

Disassembly:
mov r8, r10
mov r10, 1
xor r10, r10
mov r10, 0xa
mov r10, rcx
xor eax, eax
sub r8, r10
add eax, 0x18
xor r8, r8
syscall
ret

Function at 0x14000728c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400072d6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400072d6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400072d6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400072d6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400072d6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400072d8
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140259048]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword gs:[0x30]
mov r15d, edx
mov ebp, ecx
mov r8, qword [rax + 0x60]
mov r14, qword [r8 + 0x18]
add r14, 0x20
mov rbx, qword [r14]
cmp rbx, r14
je 0x140001173
nop dword [rax]
cmp word [rbx + 0x48], 0x3f
jae 0x140001167
mov r9, qword [rbx + 0x50]
xor r11d, r11d
xor r10d, r10d
cmp word [r9], r10w
je 0x1400010ac
nop dword [rax + rax]
cmp r11d, 0x3f
jae 0x1400010a2
movzx edx, word [r9]
movzx r8d, dl
cmp edx, 0x61
lea eax, [r8 - 0x20]
movzx ecx, al
cmovb ecx, r8d
add r9, 2
mov byte [rsp + r10 + 0x20], cl
inc r11d
inc r10
cmp word [r9], 0
jne 0x140001070
cmp r10, 0x40
jae 0x1400011aa
mov byte [rsp + r10 + 0x20], 0
lea rcx, [rsp + 0x20]
movzx eax, byte [rsp + 0x20]
mov edx, 0x811c9dc5
test al, al
je 0x1400010e6
nop word [rax + rax]
movzx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
test al, al
jne 0x1400010d0
cmp edx, r15d
jne 0x140001167
mov r10, qword [rbx + 0x20]
movsxd rax, dword [r10 + 0x3c]
movsxd rcx, dword [rax + r10 + 0x88]
add rcx, r10
movsxd rax, dword [rcx + 0x20]
test eax, eax
je 0x140001167
movsxd rdi, dword [rcx + 0x24]
lea r8, [r10 + rax]
movsxd rsi, dword [rcx + 0x1c]
add rdi, r10
mov r11d, dword [rcx + 0x18]
add rsi, r10
xor r9d, r9d
test r11d, r11d
je 0x140001167
nop dword [rax]
nop dword [rax + rax]
movsxd rax, dword [r8]
mov edx, 0x811c9dc5
add rax, r10
movzx ecx, byte [rax]
test cl, cl
je 0x140001157
inc rax
movzx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140001142
cmp edx, ebp
je 0x14000119c
inc r9d
add r8, 4
cmp r9d, r11d
jb 0x140001130
mov rbx, qword [rbx]
cmp rbx, r14
jne 0x140001050
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402441a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
movzx ecx, word [rdi + r9*2]
movsxd rax, dword [rsi + rcx*4]
add rax, r10
jmp 0x140001175
call fcn.140243f0c
int3

Function at 0x140001910
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor r8d, r8d
mov r9d, edx
mov r10, rcx
test edx, edx
jle 0x140001964
lea r11, str.5lZIBdO_O_97
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x2aaaaaab
lea r10, [r10 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
inc r8d
lea ecx, [rdx + rdx*2]
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
movzx eax, byte [rcx + r11]
xor byte [r10 - 1], al
cmp r8d, r9d
jl 0x140001930
mov eax, r9d
ret
Function at 0x140246548
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140246374
Function at 0x140004fec
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140045ee0]
xor rax, rsp
mov qword [rbp + 0x140], rax
and qword [rdx], 0
mov r15, rdx
mov r8, rcx
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0x30]
xor r14d, r14d
call fcn.14000217c
lea r8, [0x140036370]
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002208
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
lea r13, [0x14003630c]
mov rbx, rax
test rax, rax
jne 0x1400050a4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x1400051aa
mov rcx, qword [rbp + 0x178]
lea edx, [rdi - 0x3b]
mov r8, r13
call fcn.140003c30
mov esi, eax
jmp 0x14000518b
and dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x24]
and dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.140003d68
mov esi, eax
test eax, eax
jns 0x1400050e5
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov r8, r13
mov edx, 0xcf
call fcn.140003bf8
mov rcx, rbx
call fcn.140003ce0
jmp 0x14000518b
lea r8, [0x140036378]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140002208
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140005131
mov rcx, qword [rbp + 0x178]
mov r8, r13
mov edx, 0xd5
call fcn.140003c30
mov esi, eax
jmp 0x1400050d8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003d68
mov esi, eax
test eax, eax
jns 0x140005168
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov r8, r13
mov edx, 0xd7
call fcn.140003bf8
mov rcx, rdi
call fcn.140003ce0
jmp 0x1400050d8
mov rcx, rdi
call fcn.140003ce0
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.140003ce0
xor esi, esi
test esi, esi
jns 0x1400051aa
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov r8, r13
mov edx, 0x62
call fcn.140003bf8
mov eax, esi
jmp 0x1400051af
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140030780
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret