joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bf380
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov rdi, rdx
lea rdx, [rsp + 0x30]
call fcn.140062a80
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x138], rcx
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0x148], rcx
lea rax, method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_8
mov qword [rbx + 0x10], rax
lea rax, [0x14035ce80]
mov qword [rbx + 0x20], rax
mov rdx, rbx
lea rcx, [rsp + 0x128]
mov rax, qword [rsp + 0x138]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x18], 0
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x150], rax
lea rax, [0x14035c800]
mov qword [rbx + 0x28], rax
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax]
lea rax, [sym.ethaanar.exe_public_virtual:_void___cdecl_Json::CharReader::destructor_void____ptr64]
cmp rdx, rax
je 0x1400bf42b
mov rcx, rbx
call rdx
nop
mov rax, qword [rsp + 0x148]
mov r8, qword [rax + 0x18]
test r8, r8
je 0x1400bf46d
lea rax, [0x1400c0e70]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdi
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x128]
call r8
jmp 0x1400bf51b
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400c0810
mov rbx, rax
mov ecx, dword [0x1403caaa8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bf4c1
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400bf4c1
mov r8, qword [rcx + 0x10]
test r8, r8
je 0x1400bf4c1
mov qword [rcx + 0x10], 0
movzx eax, byte [r8]
cmp al, 0x36
jb 0x1400bf4b9
mov byte [r8 + 0xd8], al
jmp 0x1400bf4d5
mov rcx, r8
call fcn.1400e9a90
mov ecx, 0xd9
call fcn.140250dd4
mov r8, rax
mov byte [rax + 0xd8], 0x36
lea rcx, [r8 + 8]
mov rdx, rbx
call fcn.1400c0810
lea rcx, [0x1400c1220]
mov qword [r8], rcx
mov qword [rsp + 0x20], r8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x128]
mov rax, qword [rsp + 0x148]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400bf51b
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea rcx, [rsp + 0x128]
mov rax, qword [rsp + 0x138]
call qword [rax]
nop
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140250db0
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x1400c1040
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rbx, rdx
lea rdx, [rsp + 0x30]
call fcn.140062a80
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov qword [rbp + 0x50], rcx
mov rcx, qword [rax + 0x20]
mov qword [rbp + 0x60], rcx
lea rax, method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_8
mov qword [rdi + 0x10], rax
lea rax, [0x14035ce80]
mov qword [rdi + 0x20], rax
mov rdx, rdi
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x50]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x18], 0
mov rax, qword [rdi + 0x28]
mov qword [rbp + 0x68], rax
lea rax, [0x14035c800]
mov qword [rdi + 0x28], rax
mov rax, qword [rdi + 0x10]
mov rdx, qword [rax]
lea rax, [sym.ethaanar.exe_public_virtual:_void___cdecl_Json::CharReader::destructor_void____ptr64]
cmp rdx, rax
je 0x1400c10dd
mov rcx, rdi
call rdx
nop
mov rax, qword [rbp + 0x60]
mov r8, qword [rax + 0x18]
test r8, r8
je 0x1400c1117
lea rax, [0x1400c1ea0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
call r8
jmp 0x1400c11e8
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400c0b20
movups xmm0, xmmword [rbx + 0xc8]
movups xmmword [rbp + 0x28], xmm0
mov rax, qword [rbx + 0xd8]
mov qword [rbp + 0x38], rax
mov ecx, dword [0x1403caaa8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c117e
mov rax, qword [rax + 8]
test rax, rax
je 0x1400c117e
mov r8, qword [rax + 0x10]
test r8, r8
je 0x1400c117e
mov qword [rax + 0x10], 0
movzx eax, byte [r8]
cmp al, 0x3c
jb 0x1400c1176
mov byte [r8 + 0xf0], al
jmp 0x1400c1192
mov rcx, r8
call fcn.1400e9a90
mov ecx, 0xf1
call fcn.140250dd4
mov r8, rax
mov byte [rax + 0xf0], 0x3c
lea rcx, [r8 + 8]
lea rdx, [rsp + 0x60]
call fcn.1400c0b20
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rcx + 0xc8], xmm0
mov rax, qword [rbp + 0x38]
mov qword [rcx + 0xd8], rax
lea rax, [0x1400c1f70]
mov qword [r8], rax
mov qword [rsp + 0x20], r8
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x60]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400c11e8
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x50]
call qword [rax]
nop
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140250db0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400c84a0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x120
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rbx, rdx
lea rdx, [rsp + 0x30]
call fcn.140062a80
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xc8], rcx
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0xd8], rcx
lea rax, method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_8
mov qword [rdi + 0x10], rax
lea rax, [0x14035ce80]
mov qword [rdi + 0x20], rax
mov rdx, rdi
lea rcx, [rsp + 0xb8]
mov rax, qword [rsp + 0xc8]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x18], 0
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0xe0], rax
lea rax, [0x14035c800]
mov qword [rdi + 0x28], rax
mov rax, qword [rdi + 0x10]
mov rdx, qword [rax]
lea rax, [sym.ethaanar.exe_public_virtual:_void___cdecl_Json::CharReader::destructor_void____ptr64]
cmp rdx, rax
je 0x1400c8561
mov rcx, rdi
call rdx
nop
mov rax, qword [rsp + 0xd8]
mov r8, qword [rax + 0x18]
test r8, r8
je 0x1400c85a3
lea rax, [0x1400c8b10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xb8]
call r8
jmp 0x1400c866a
mov rdi, qword [rbx]
mov rsi, qword [rbx + 8]
mov ebp, dword [rbx + 0x10]
mov r14, qword [rbx + 0x18]
movups xmm6, xmmword [rbx + 0x20]
movups xmm7, xmmword [rbx + 0x30]
movups xmm8, xmmword [rbx + 0x40]
mov rbx, qword [rbx + 0x50]
mov ecx, dword [0x1403caaa8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c8602
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400c8602
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400c8602
mov qword [rcx + 0x10], 0
movzx ecx, byte [rax]
cmp cl, 0x1a
jb 0x1400c85fa
mov byte [rax + 0x68], cl
jmp 0x1400c8610
mov rcx, rax
call fcn.1400e9a90
mov ecx, 0x69
call fcn.140250dd4
mov byte [rax + 0x68], 0x1a
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], ebp
mov qword [rax + 0x20], r14
movups xmmword [rax + 0x28], xmm6
movups xmmword [rax + 0x38], xmm7
movups xmmword [rax + 0x48], xmm8
mov qword [rax + 0x58], rbx
lea rcx, [0x1400c8f10]
mov qword [rax], rcx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xb8]
mov rax, qword [rsp + 0xd8]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400c866a
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea rcx, [rsp + 0xb8]
mov rax, qword [rsp + 0xc8]
call qword [rax]
nop
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140250db0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140217a90
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
mov eax, 0xf0
call fcn.140251b90
sub rsp, rax
mov r14, r9
mov r15, r9
shr r14, 3
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp r8, r9
jb 0x140217b8f
mov qword [rsp + 0x110], rbx
xor edx, edx
test r14, r14
je 0x140217b40
nop word [rax + rax]
movzx eax, byte [rsi + 6]
movzx ecx, byte [rsi + 7]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi]
shl rcx, 8
add rsi, 8
or rcx, rax
xor qword [rdi + rdx*8], rcx
inc rdx
cmp rdx, r14
jb 0x140217ae0
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.1402176c0
lea r8, [rbx + 1]
mov rcx, rdi
lea rdx, [rsp + 0x20]
call fcn.1402176c0
add rbx, 2
cmp rbx, 0x18
jb 0x140217b50
sub rbp, r15
cmp rbp, r15
jae 0x140217ad0
mov rbx, qword [rsp + 0x110]
lea r11, [rsp + 0xf0]
mov rax, rbp
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140217e69
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14021805a
push rbx
mov eax, 0xd0
call fcn.140251b90
sub rsp, rax
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xe8], rbp
mov rbx, rdx
mov qword [rsp + 0xf0], rsi
lea rbp, [r8 - 1]
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0xc8], r14
lea r14, [rcx + 0xc]
shr rbp, 3
mov qword [rsp + 0xc0], r15
inc rbp
lea r15, [rcx + 0x14]
nop word [rax + rax]
movzx eax, byte [rbx + 1]
mov rcx, r14
movzx edi, byte [rbx]
movzx esi, byte [rbx + 4]
lea rbx, [rbx + 8]
shl eax, 8
or edi, eax
movzx eax, byte [rbx - 6]
shl eax, 0x10
or edi, eax
movzx eax, byte [rbx - 5]
shl eax, 0x18
or edi, eax
movzx eax, byte [rbx - 3]
shl eax, 8
or esi, eax
mov dword [rsp + 0x20], edi
movzx eax, byte [rbx - 2]
shl eax, 0x10
or esi, eax
mov dword [rsp + 0x28], edi
movzx eax, byte [rbx - 1]
and byte [r14], 0xdf
and byte [r15], 0xbf
or byte [r14], 0x40
or byte [r15], 0x20
shl eax, 0x18
or esi, eax
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x2c], esi
call fcn.14019e2a0
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14019dff0
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.14019aaa0
mov rcx, r15
call fcn.14019e2a0
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.14019dff0
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14019aaa0
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
xor r8d, edi
xor edi, dword [rsp + 0x28]
xor edx, esi
xor esi, dword [rsp + 0x2c]
mov eax, edi
mov byte [r14], dil
shr eax, 8
mov byte [r14 + 1], al
mov eax, edi
shr eax, 0x10
mov byte [r14 + 2], al
mov eax, edx
shr eax, 8
shr edi, 0x18
mov byte [r14 + 3], dil
mov byte [r14 + 4], dl
mov byte [r14 + 5], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 6], al
mov eax, r8d
shr eax, 8
shr edx, 0x18
mov byte [r14 + 7], dl
mov byte [r15], r8b
mov byte [r15 + 1], al
mov eax, r8d
shr eax, 0x10
mov byte [r15 + 2], al
shr r8d, 0x18
mov byte [r15 + 3], r8b
mov byte [r15 + 4], sil
mov eax, esi
shr eax, 8
mov byte [r15 + 5], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [r15 + 6], al
mov byte [r15 + 7], sil
sub rbp, 1
jne 0x140217ed0
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140250db0
add rsp, 0xd0
pop rbx
ret
Function at 0x14024775c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140231ad2
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140231ab5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140231aa0

Function at 0x140250538
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1403c8880]
mov ebx, r9d
mov rdi, r8
mov esi, edx
test rax, rax
je 0x140250563
call qword [case.0x14025b122.0]
jmp 0x140250578
call fcn.140250504
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140251564
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1402515ef
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1402515ef
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402515ef
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1402515eb
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1402515e5
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jae 0x1402515e5
test rdx, rdx
je 0x1402515eb
cmp dword [rdx + 0x24], 0
jge 0x1402515e1
xor al, al
jmp 0x1402515f5
mov al, 1
jmp 0x1402515f5
add rdx, 0x28
jmp 0x1402515b7
xor al, al
jmp 0x1402515f5
xor al, al
jmp 0x1402515f5
add rsp, 0x18
ret

Function at 0x1402546cc
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1402546df
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14025e4ec
lea rdx, [0x1403a8d60]
lea rcx, [rsp + 0x20]
call fcn.14026f5a4
int3

Function at 0x14025ee5c
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1403c91f8]
xor edx, edx
jmp fcn.1402546cc

Function at 0x14025f7c0
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1403c91f8]
jmp fcn.1402546cc

Function at 0x14026af80
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14026b03c]
mov r9, qword [r9 + 8]
jmp fcn.14025c698

Function at 0x14026b014
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14026b04c]
mov r9, qword [r9 + 8]
jmp fcn.14025c698
Function at 0x14028cbb0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14028ca43
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14028ca43
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14028ca43
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14028ca43
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14028ca43
cmp dword [rcx + 0x84], 0xe
jbe 0x14028ca43
cmp dword [rcx + 0xf8], 0
je 0x14028ca43
mov ecx, ebx
call fcn.14028cae4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14028c8d4
cmp dword [rbp + 0x20], 0
je 0x14028ca90
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14028ca98
int3
xor r8d, r8d
xor edx, edx
jmp 0x14028c9dc
Function at 0x2fc57bb60
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.2fc57cc40
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc57c562
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc59f108]
test eax, eax
je 0x2fc57c5fa
lea rax, [0x2fc59f0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc59f110]
mov qword [rbp - 8], rax
jmp 0x2fc57c5de
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 0x2fc57c5d2
cmp qword [rbp - 0x10], 0
je 0x2fc57c5d2
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 0x2fc57c598
lea rax, [0x2fc59f0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc57c5fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc57c700
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 0x2fc57c728
mov eax, 0
jmp 0x2fc57c776
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 0x2fc57c751
mov eax, 0
jmp 0x2fc57c776
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 0x2fc57c771
mov eax, 0
jmp 0x2fc57c776
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc57c77c
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 0x2fc57c7fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc57c7f1
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 0x2fc57c7f1
mov rax, qword [rbp - 8]
jmp 0x2fc57c80f
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 0x2fc57c7c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180018330
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18001838d
lea rbx, [0x1801f4c20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180018374
cmp r10, 2
jb 0x180018374
cmp byte [r9], r8b
jne 0x180018374
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180018350
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800183cf
lea rbx, [0x1801f4c20]
cmp r8b, 0x23
jne 0x1800183b3
cmp byte [r9], r8b
jne 0x1800183b3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800183a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180018510
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001852a
mov qword [r8], 0
lea rdx, [0x1801f4818]
call fcn.1800183e0
mov rbx, rax
test rax, rax
jne 0x18001854a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180018621
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180018621
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180018621
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180018621
cmp rdi, 0xffffffffffffffff
je 0x180018621
mov rax, qword [0x18025e460]
test rax, rax
je 0x1800185be
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180018621
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18001860e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18025e460]
test rax, rax
je 0x180018603
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001862a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001861c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001862c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18001b050
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1801f4c20]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x18025e460]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ebc], ebx
jne 0x18001b0e6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.18002c690
mov eax, ebx
add rsp, 0x20
pop rbx
ret