joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f1c40
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x5f1d15
movdqa xmm0, xmmword [0x00739440]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x5f1c81
movdqa xmm0, xmmword [0x00739450]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x5f1d97
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x5f1d6b
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x007390c8]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x00739460]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x5feb80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5fed1b
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rsp + 0x80], rax
xor ecx, ecx
jmp 0x5feba1
inc rcx
cmp rbx, rcx
jle 0x5fed11
movzx edx, byte [rax + rcx]
cmp dl, 0x80
jb 0x5feb9e
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x80], rax
call sym.net.SplitHostPort
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x48], rdi
mov rdx, qword [0x008d4350]
test rsi, rsi
mov r8, qword [rsp + 0x88]
cmovne rbx, r8
mov r8, qword [rsp + 0x80]
cmovne rax, r8
mov r8, rax
mov rax, rdx
mov r9, rbx
mov rbx, r8
mov rcx, r9
mov edi, 1
call sym.vendor_golang.org_x_net_idna._Profile_.process
mov rdx, qword [rsp + 0x58]
test rdx, rdx
mov rdx, qword [rsp + 0x48]
mov esi, 0
cmovne rdx, rsi
mov r8, qword [rsp + 0x60]
mov r9d, 0
cmovne r8, r9
nop word [rax + rax]
test rcx, rcx
jne 0x5fed05
test rdx, rdx
je 0x5fecfa
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x48], rdx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x009686c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x5fecc9
xor eax, eax
lea rbx, [0x007390ac]
mov ecx, 1
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
lea r8, [0x006be7b7]
mov r9d, 2
mov r10, qword [rsp + 0x60]
mov r11, qword [rsp + 0x48]
call sym.runtime.concatstring4
jmp 0x5fecf0
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
lea rdi, [0x00737a90]
mov esi, 1
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x48]
call sym.runtime.concatstring3
xor ecx, ecx
xor edi, edi
add rsp, 0x70
pop rbp
ret
xor ecx, ecx
mov rdi, r9
add rsp, 0x70
pop rbp
ret
mov rax, r9
mov rbx, rsi
add rsp, 0x70
pop rbp
ret
xor ecx, ecx
xor edi, edi
add rsp, 0x70
pop rbp
ret
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.vendor_golang.org_x_net_http_httpguts.PunycodeHostPort
Function at 0x63ff40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x640042
push rbp
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x78], rax
mov rcx, qword [rax + 0x28]
mov rbx, qword [rax + 0x30]
nop
mov rax, rcx
call sym.net_url.splitHostPort
test rdi, rdi
jne 0x63ff93
mov rbx, qword [0x008e1390]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rdx]
mov rdi, qword [rdx + 8]
lea rax, [0x00676080]
call sym.runtime.mapaccess1_faststr
mov rdi, qword [rax + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x48], rdi
mov rax, qword [rsp + 0x78]
call sym.net_http.idnaASCIIFromURL
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
nop
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x009686c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x640015
xor eax, eax
lea rbx, [0x007390ac]
mov ecx, 1
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
lea r8, [0x006be7b7]
mov r9d, 2
mov r10, qword [rsp + 0x58]
mov r11, qword [rsp + 0x48]
call sym.runtime.concatstring4
jmp 0x64003c
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
lea rdi, [0x00737a90]
mov esi, 1
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x48]
call sym.runtime.concatstring3
add rsp, 0x68
pop rbp
ret
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.net_http.canonicalAddr
Function at 0x1400111ea
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f20
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011267
Capabilities:
Allocate or change rwx memory
Copy file
Delete file
Execute shellcode via copyfile2

Disassembly:
jmp 0x1400118e0
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001c278]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x140021017]
call fcn.14001136b
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1ff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
mov r8d, 0x1ff
lea rdx, section..data
mov rcx, qword [rbp + 8]
call fcn.1400113a7
mov dword [rbp + 0x28], 0x20
mov dword [rbp + 0x2c], 1
mov qword [rbp + 0x30], 0
mov rax, qword [rbp + 8]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], 0
lea rcx, str.C:WindowsTemp_backup.log
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [rbp + 0x28]
lea rdx, str.C:WindowsTemp_backup.log
lea rcx, str.C:WindowsDirectX.log
call qword [sym.imp.KERNEL32.dll_CopyFile2]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140019c80]
call fcn.140011302
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111a9
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140011271
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014270
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014290
xor al, al
jmp 0x140014311
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400142a3
xor al, al
jmp 0x140014311
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400142cd
xor al, al
jmp 0x140014311
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400142e1
xor al, al
jmp 0x140014311
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400142f3
xor al, al
jmp 0x140014311
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001430f
xor al, al
jmp 0x140014311
mov al, 1
add rsp, 0x38
ret
Function at 0x180001000
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
cmp edx, 1
je 0x180001013
mov eax, 1
add rsp, 0x28
ret
lea rcx, str.start_____hello.txt_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001000
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
lea rcx, str.WinRar.exe
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov rcx, rax
mov qword [rsp + 0x20], 0
mov r8d, 0x778f0
lea rdx, [0x140003080]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400010a0
add rsp, 0x58
ret

Function at 0x140001968
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14005b7a0]
mov dword [rax], 1
mov rax, qword [0x14005b7b0]
mov dword [rax], 1
mov rax, qword [0x14005b7c0]
mov dword [rax], 1
mov rax, qword [0x14005b790]
mov dword [rax], 1
mov rax, qword [0x14005b610]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
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 0x14000150a
mov eax, 0
jmp 0x14000158b
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 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140002c23
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x140002c44
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp fcn.140044848

Function at 0x140008c43
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
lea r13, [0x1400690a0]
xor r12d, r12d
lea rbp, [0x140051440]
mov rsi, rcx
mov rbx, rdx
lea rdi, [rsp + 0x20]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp r12, rbx
jl 0x140008cca
mov rbx, qword [fcn.140044f60]
mov ecx, 1
call rbx
mov r8d, 1
mov edx, 1
lea rcx, [0x1400533f5]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbx
mov rcx, rax
call fcn.140044848
mov rcx, r13
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r12, r12
jns 0x140008ce9
lea rdx, [rbx - 1]
mov rcx, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp fcn.140005ace
mov r14, r12
mov ecx, 1
call qword [fcn.140044f60]
shl r14, 4
xor r8d, r8d
mov rdx, rdi
add r14, rsi
mov rcx, rax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140008b16
mov rcx, rbp
call fcn.14003ecc0
cmp byte [rax], 0
jne 0x140008d55
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, r12
call fcn.140002b9a
test al, al
je 0x140008d4b
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp fcn.140003c2b
mov r12, qword [rsp + 0x38]
jmp 0x140008c76
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14000ff09
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x50], xmm9
xor esi, esi
movq xmm8, qword [0x1400569c0]
mov rax, rdx
mov rbp, rcx
mov rbx, rdx
mov ecx, 4
cqo
idiv rcx
xor ecx, ecx
cvtsi2sd xmm6, rax
mulsd xmm6, qword [0x1400569b0]
lea r14, [rax*4]
cvtsi2sd xmm7, r14
movaps xmm9, xmm6
andps xmm9, xmm8
ucomisd xmm6, xmm7
jp 0x14000ff77
je 0x14000ff9b
movaps xmm0, xmm7
subsd xmm0, xmm6
andps xmm0, xmm8
mulsd xmm0, qword [0x1400569d0]
comisd xmm9, xmm0
jae 0x14000ff9b
call fcn.140003c2b
jmp 0x14001009e
cmp rcx, r14
jl 0x14000ffb5
mov rax, rbx
mov r8d, 4
add rbp, rcx
cqo
idiv r8
xor eax, eax
jmp 0x140010029
cmp rcx, rbx
jl 0x14000ffc3
lea rdx, [rbx - 1]
jmp 0x140010098
lea r13, [rcx + 4]
mov eax, dword [rbp + rcx]
xor rcx, r13
test r13, rcx
js 0x14000ff91
imul ecx, eax, 0xcc9e2d51
mov edx, 0xf
call fcn.14000fef0
mov rcx, qword [0x14005b5e0]
mov edi, eax
call fcn.14003ecc0
cmp byte [rax], 0
jne 0x14001009e
imul ecx, edi, 0x1b873593
mov edx, 0xd
xor ecx, esi
call fcn.14000fef0
mov rcx, r13
lea esi, [rax + rax*4]
sub esi, 0x19ab949c
jmp 0x14000ff6f
movzx r8d, byte [rbp + r8]
shl eax, 8
or eax, r8d
test rdx, rdx
jg 0x140010081
imul ecx, eax, 0xcc9e2d51
mov edx, 0xf
call fcn.14000fef0
mov rcx, qword [0x14005b5e0]
mov edi, eax
call fcn.14003ecc0
cmp byte [rax], 0
jne 0x14001009e
imul edi, edi, 0x1b873593
xor esi, ebx
xor esi, edi
mov edx, esi
shr edx, 0x10
xor edx, esi
imul edx, edx, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov r12d, eax
shr r12d, 0x10
xor r12d, eax
jmp 0x14001009e
lea r8, [rdx - 1]
lea r9, [rcx + r8]
mov rdx, r8
cmp rbx, r9
jg 0x14001001d
lea rdx, [rbx - 1]
mov rcx, r9
call fcn.140005ace
nop
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
mov rax, r12
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
sub rsp, 0x28
mov r8, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
js 0x1400100eb
test rcx, rcx
je 0x1400100df
add rcx, 8
mov rdx, r8
add rsp, 0x28
jmp 0x14000ff09
lea rdx, [r8 - 1]
xor ecx, ecx
call fcn.1400077b2
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400100c6
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x50], xmm9
xor esi, esi
movq xmm8, qword [0x1400569c0]
mov rax, rdx
mov rbp, rcx
mov rbx, rdx
mov ecx, 4
cqo
idiv rcx
xor ecx, ecx
cvtsi2sd xmm6, rax
mulsd xmm6, qword [0x1400569b0]
lea r14, [rax*4]
cvtsi2sd xmm7, r14
movaps xmm9, xmm6
andps xmm9, xmm8
ucomisd xmm6, xmm7
jp 0x14000ff77
je 0x14000ff9b
movaps xmm0, xmm7
subsd xmm0, xmm6
andps xmm0, xmm8
mulsd xmm0, qword [0x1400569d0]
comisd xmm9, xmm0
jae 0x14000ff9b
call fcn.140003c2b
jmp 0x14001009e
cmp rcx, r14
jl 0x14000ffb5
mov rax, rbx
mov r8d, 4
add rbp, rcx
cqo
idiv r8
xor eax, eax
jmp 0x140010029
cmp rcx, rbx
jl 0x14000ffc3
lea rdx, [rbx - 1]
jmp 0x140010098
lea r13, [rcx + 4]
mov eax, dword [rbp + rcx]
xor rcx, r13
test r13, rcx
js 0x14000ff91
imul ecx, eax, 0xcc9e2d51
mov edx, 0xf
call fcn.14000fef0
mov rcx, qword [0x14005b5e0]
mov edi, eax
call fcn.14003ecc0
cmp byte [rax], 0
jne 0x14001009e
imul ecx, edi, 0x1b873593
mov edx, 0xd
xor ecx, esi
call fcn.14000fef0
mov rcx, r13
lea esi, [rax + rax*4]
sub esi, 0x19ab949c
jmp 0x14000ff6f
movzx r8d, byte [rbp + r8]
shl eax, 8
or eax, r8d
test rdx, rdx
jg 0x140010081
imul ecx, eax, 0xcc9e2d51
mov edx, 0xf
call fcn.14000fef0
mov rcx, qword [0x14005b5e0]
mov edi, eax
call fcn.14003ecc0
cmp byte [rax], 0
jne 0x14001009e
imul edi, edi, 0x1b873593
xor esi, ebx
xor esi, edi
mov edx, esi
shr edx, 0x10
xor edx, esi
imul edx, edx, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov r12d, eax
shr r12d, 0x10
xor r12d, eax
jmp 0x14001009e
lea r8, [rdx - 1]
lea r9, [rcx + r8]
mov rdx, r8
cmp rbx, r9
jg 0x14001001d
lea rdx, [rbx - 1]
mov rcx, r9
call fcn.140005ace
nop
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
mov rax, r12
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
sub rsp, 0x28
mov r8, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
js 0x1400100eb
test rcx, rcx
je 0x1400100df
add rcx, 8
mov rdx, r8
add rsp, 0x28
jmp 0x14000ff09
lea rdx, [r8 - 1]
xor ecx, ecx
call fcn.1400077b2
xor eax, eax
add rsp, 0x28
ret

Function at 0x14003d970
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 fcn.140044f60
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140044f60
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x14003e5a2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400699a8]
test eax, eax
je 0x14003e63a
lea rax, [0x140069980]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400699b0]
mov qword [rbp - 8], rax
jmp 0x14003e61e
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 0x14003e612
cmp qword [rbp - 0x10], 0
je 0x14003e612
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 0x14003e5d8
lea rax, [0x140069980]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14003e63b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14003e740
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 0x14003e768
mov eax, 0
jmp 0x14003e7b6
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 0x14003e791
mov eax, 0
jmp 0x14003e7b6
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 0x14003e7b1
mov eax, 0
jmp 0x14003e7b6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14003e7bc
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 0x14003e83a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14003e831
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 0x14003e831
mov rax, qword [rbp - 8]
jmp 0x14003e84f
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 0x14003e804
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140046354
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x14004649e
mov rcx, qword [rbp + 0x10]
call fcn.14004a92d
cmp eax, 1
jne 0x140046491
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov word [rbp - 8], 0
mov byte [rbp - 6], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x140046447
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x14004645d
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x140046443
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x14004647c
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sub.msvcrt.dll_abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x14004649f
nop
add rsp, 0x90
pop rbp
ret