joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a0d50
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140285880]
test rax, rax
jne 0x1400a0f35
xor r10d, r10d
mov dword [rsp + 0x28], r10d
mov eax, 0xfaba0065
mov dword [rsp + 0x24], eax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov r11, qword [rcx + 0x10]
mov qword [rsp + 0x48], r11
mov r15, r11
mov qword [rsp + 0x50], r11
mov rcx, r11
nop dword [rax + rax]
movups xmm0, xmmword [rcx + 0x58]
movups xmmword [rsp + 0x58], xmm0
movd ecx, xmm0
sub cx, 8
mov word [rsp + 0x58], cx
test r10d, r10d
je 0x1400a0e06
mov rdx, qword [rsp + 0x60]
movzx ecx, cx
shr rcx, 1
lea r9, [rdx + rcx*2]
mov r8d, 0x811c9dc5
mov qword [rsp + 0x38], rdx
cmp rdx, r9
je 0x1400a0dfd
movsx ecx, byte [rdx]
xor ecx, r8d
imul r8d, ecx, 0x1000193
add rdx, 2
jmp 0x1400a0de0
cmp r8d, r10d
jne 0x1400a0f15
mov rbx, qword [r11 + 0x30]
mov qword [rsp + 0x68], rbx
movsxd rcx, dword [rbx + 0x3c]
mov r14, qword [rcx + rbx + 0x88]
mov qword [rsp + 0xa8], r14
mov r9d, r14d
add r9, rbx
mov qword [rsp + 0x70], r9
shr r14, 0x20
mov dword [rsp + 0x78], r14d
cmp r9, rbx
je 0x1400a0f15
mov edi, dword [r9 + 0x18]
mov dword [rsp + 0x20], edi
nop dword [rax + rax]
mov ecx, edi
dec edi
mov dword [rsp + 0x20], edi
test ecx, ecx
je 0x1400a0f15
mov edx, dword [r9 + 0x20]
add rdx, rbx
mov r8d, dword [rdx + rdi*4]
add r8, rbx
mov qword [rsp + 0x40], r8
mov edx, 0x811c9dc5
nop dword [rax + rax]
movsx ecx, byte [r8]
inc r8
mov qword [rsp + 0x40], r8
test cl, cl
jne 0x1400a0f08
cmp edx, eax
jne 0x1400a0f03
mov ecx, dword [r9 + 0x1c]
add rcx, rbx
mov eax, dword [r9 + 0x24]
add rax, rbx
movzx eax, word [rax + rdi*2]
mov edx, dword [rcx + rax*4]
add rdx, rbx
cmp rdx, r9
jbe 0x1400a0f2b
lea rax, [r9 + r14]
cmp rdx, rax
jae 0x1400a0f2b
mov r10d, 0x811c9dc5
mov dword [rsp + 0xa0], r10d
mov eax, r10d
mov dword [rsp + 0xa4], eax
mov qword [rsp + 0x30], rdx
cmp byte [rdx], 0x2e
je 0x1400a0ee1
inc rdx
jmp 0x1400a0ed2
inc rdx
mov qword [rsp + 0x30], rdx
cmp byte [rdx], 0
je 0x1400a0ef0
jmp 0x1400a0ee1
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], r10d
mov r11, r15
mov qword [rsp + 0x48], r15
jmp 0x1400a0f15
jmp 0x1400a0e50
xor ecx, edx
imul edx, ecx, 0x1000193
jmp 0x1400a0e80
mov r11, qword [r11]
mov rcx, r11
mov qword [rsp + 0x48], r11
cmp r11, r15
jne 0x1400a0db0
xor edx, edx
mov qword [0x140285880], rdx
mov rax, rdx
mov ecx, 0x13333337
call rax
jmp 0x1400a0f40
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400a1040
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
movzx eax, byte [0x14013b790]
lea rdx, [rsp + 0x20]
movsd xmm0, qword [str.SEJVHe]
xor al, 0x3e
movsd qword [rsp + 0x20], xmm0
mov rbx, rcx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
xor byte [rsp + 0x21], 0x37
xor byte [rsp + 0x22], 0x38
xor byte [rsp + 0x23], 0x39
xor byte [rsp + 0x24], 0x3a
xor byte [rsp + 0x25], 0x3b
xor byte [rsp + 0x26], 0x3c
xor byte [rsp + 0x27], 0x3d
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 0x65
call fcn.140001f90
mov rcx, rax
mov rdx, rbx
call fcn.140001f90
lea rdx, [0x14000c0d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400a1147
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400a1147
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400a1142
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400a1120
cmp r8d, 0x2fa62ca8
je 0x1400a114c
test r9d, r9d
jne 0x1400a1100
mov rax, qword [rax]
jmp 0x1400a10d0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 1
add rax, r10
call rax
mov qword [0], 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.14009b510
Function at 0x1400a39f0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
movups xmm3, xmmword [0x14013b250]
movzx eax, word [0x14013b268]
xor r9d, r9d
cmp dword [0x1402822c8], 2
mov ecx, r9d
movaps xmmword [rsp + 0x60], xmm7
movq xmm7, qword [0x14013b260]
movups xmmword [rsp + 0x40], xmm3
mov word [rsp + 0x58], ax
movq qword [rsp + 0x50], xmm7
jl 0x1400a3b78
movdqa xmm4, xmmword [0x140140e70]
mov ecx, 0xc
movdqa xmm2, xmmword [0x1400e6f80]
movdqa xmm5, xmmword [str.1111]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
paddw xmm2, xmmword [str.66666666]
movdqa xmm3, xmmword [0x1400e6f90]
xorps xmm2, xmm1
movq qword [rsp + 0x40], xmm2
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
movdqa xmm3, xmmword [0x1400e6fa0]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x48]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [str.66666666]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rsp + 0x48], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, xmm7
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.66666666]
xorps xmm2, xmm0
movq qword [rsp + 0x50], xmm2
mov eax, ecx
lea r8, [rsp + 0x40]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x31
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x36
xor word [r8 - 2], ax
cmp ecx, 0xd
jl 0x1400a3b90
mov qword [rsp + 0x30], r9
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140285248], rax
cmp rax, 0xffffffffffffffff
jne 0x1400a3c08
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
movaps xmm7, xmmword [rsp + 0x60]
add rsp, 0x78
ret
movaps xmm7, xmmword [rsp + 0x60]
mov al, 1
add rsp, 0x78
ret
Function at 0x1400a3ca0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140282300]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], pe_nt_image_headers64
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400a3d13
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x1400a3d3f
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400a3cf0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400dab60
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [0x140285250], eax
jmp 0x1400a3d1e
Function at 0x1400aecb0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140282300]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400aedbd
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], rcx
mov ecx, 8
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x40], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x20]
xor esi, esi
mov edi, esi
movzx eax, word [rcx + 0x14]
lea rbx, [rcx + 0x18]
add rbx, rax
cmp si, word [rcx + 6]
jae 0x1400aed74
nop dword [rax]
nop dword [rax + rax]
lea r9, [rsp + 0x28]
mov edx, 0x28
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, dword [rsp + 0x28]
lea r9, [rsp + 0x28]
mov edx, 0x28
mov byte [rbx], al
mov rcx, rbx
mov byte [rbx + 1], sil
mov qword [rbx + 8], rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x20]
inc edi
add rbx, 0x28
movzx ecx, word [rax + 6]
cmp edi, ecx
jb 0x1400aed20
lea r9, [rsp + 0x2c]
mov edx, 8
mov r8d, 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x2c]
lea r9, [rsp + 0x2c]
mov edx, 8
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400dab60
add rsp, 0x48
ret
Function at 0x1400d4de0
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
xor r11d, r11d
mov r10, rdx
mov r8d, r11d
cmp r9, 8
jb 0x1400d4e17
mov rdx, r9
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r9, rax
mov rax, qword [rcx]
add rcx, 8
xor rax, qword [r10]
add r10, 8
or r8, rax
sub rdx, 1
jne 0x1400d4e00
mov rdx, r8
shr rdx, 0x20
or edx, r8d
mov r8d, edx
mov eax, edx
shr r8d, 8
or r8d, edx
shr eax, 0x10
and r8d, 0xff00
or r8d, eax
movzx eax, dl
shr r8d, 8
or r8d, eax
test r9, r9
je 0x1400d4f08
sub rcx, r10
cmp r9, 8
jb 0x1400d4ee9
mov rax, r9
lea rdx, [r10 + 4]
and rax, 0xfffffffffffffff8
xorps xmm4, xmm4
xorps xmm3, xmm3
nop dword [rax + rax]
movd xmm2, dword [rcx + rdx - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdx - 4]
lea rdx, [rdx + 8]
punpcklbw xmm2, xmm0
add r11, 8
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rdx - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rcx + rdx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp r11, rax
jb 0x1400d4e70
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
or r8d, eax
cmp r11, r9
jae 0x1400d4f08
add r10, r11
sub r9, r11
nop
movzx edx, byte [rcx + r10]
movzx eax, byte [r10]
lea r10, [r10 + 1]
xor edx, eax
or r8d, edx
sub r9, 1
jne 0x1400d4ef0
test r8d, r8d
sete al
ret
Function at 0x1400d4f10
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
test r9, r9
je 0x1400d50b4
cmp r9, 4
jb 0x1400d4f5a
mov rdx, r9
shr rdx, 2
imul rax, rdx, 0xfffffffffffffffc
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r10]
add r10, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub rdx, 1
jne 0x1400d4f40
xor r11d, r11d
test r9, r9
je 0x1400d50b4
cmp r9, 8
jb 0x1400d508d
lea rdx, [rcx - 1]
lea rax, [r8 - 1]
add rdx, r9
add rax, r9
cmp rcx, rax
ja 0x1400d4f8c
cmp rdx, r8
jae 0x1400d508d
lea rax, [r10 - 1]
add rax, r9
cmp rcx, rax
ja 0x1400d4fa1
cmp rdx, r10
jae 0x1400d508d
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x1400d5047
mov rdi, r9
mov qword [rsp + 0x18], rsi
and edi, 0x3f
mov rsi, r9
sub rsi, rdi
mov rdx, r10
lea rax, [r8 + 0x10]
sub rdx, r8
mov rbx, rcx
sub rbx, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rdx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rdx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r11, rsi
jb 0x1400d4fe0
mov rsi, qword [rsp + 0x18]
cmp rdi, 8
jb 0x1400d507f
mov rdx, r9
and rdx, 0xfffffffffffffff8
mov rbx, r10
lea rax, [r11 + r8]
sub rbx, r8
mov rdi, rcx
sub rdi, r8
nop
movq xmm1, qword [rax + rbx]
add r11, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax + rdi - 8], xmm1
cmp r11, rdx
jb 0x1400d5060
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r11, r9
jae 0x1400d50b4
sub r10, r8
lea rdx, [r11 + r8]
sub rcx, r8
sub r9, r11
nop word [rax + rax]
movzx eax, byte [rdx + r10]
xor al, byte [rdx]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x1400d50a0
add rsp, 8
ret
Function at 0x1400da3b0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, [0x140162440]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400da3ea
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400da3ef
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400da438
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140162340]
cmp byte [rcx + rax], 0
je 0x1400da438
dec r8
sub rdx, 1
jne 0x1400da41e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400db578
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
test rcx, rcx
mov rbp, rcx
mov rbx, rdx
je 0x402624
cmp qword [rcx + 8], 0
mov rdi, rcx
mov rsi, qword [rcx]
js 0x4025e1
mov r8d, 7
cmp rsi, 7
cmovl rsi, r8
lea rcx, [rsi + 0x11]
call fcn.0040fac0
lea rdx, [rbp + 0x10]
mov qword [rax], 0
lea rcx, [rax + 0x10]
mov rdi, rax
mov qword [rax + 8], rsi
mov rsi, qword [rbp]
mov qword [rax], rsi
lea r8, [rsi + 1]
call sub.msvcrt.dll_exit_29
lea r8, [rsi + rbx]
mov rdx, rdi
sub rdx, rbx
test rsi, rsi
jle 0x402618
mov rax, rbx
mov rcx, rbx
sar rax, 8
sar rcx, 0x10
xor eax, ebx
xor eax, ecx
mov rcx, rbx
sar rcx, 0x18
xor eax, ecx
xor byte [rdx + rbx + 0x10], al
add rbx, 1
cmp rbx, r8
jne 0x4025f0
mov rax, rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor edi, edi
jmp 0x402618

Function at 0x402630
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rdi, rcx
mov rcx, qword [0x0048bef0]
mov ebx, edx
mov edx, 0x7be42d88
lea rbp, [rdi + 2]
call fcn.00402580
mov edx, 0x54b08b98
mov rcx, rax
call fcn.00402310
movzx r9d, word [rdi]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r8, qword [rax + 0x20]
lea r12, [rax + 0x20]
nop dword [rax]
mov rax, qword [r8 + 0x50]
test r9w, r9w
movzx r10d, word [rax]
je 0x4026de
test r10w, r10w
je 0x4026e4
mov r13, rbp
mov edx, r9d
sub r13, rax
jmp 0x4026a6
cmp word [rax], 0
je 0x4026de
movzx ecx, word [rax]
lea esi, [rdx - 0x41]
lea r11d, [rdx + 0x20]
cmp si, 0x1a
cmovb edx, r11d
lea esi, [rcx - 0x41]
lea r11d, [rcx + 0x20]
cmp si, 0x1a
cmovb ecx, r11d
cmp dx, cx
jne 0x4026e4
mov rdx, rax
add rax, 2
movzx edx, word [r13 + rdx]
test dx, dx
jne 0x4026a0
cmp r10w, r9w
je 0x402760
mov r8, qword [r8]
cmp r12, r8
jne 0x402680
xor esi, esi
test ebx, ebx
je 0x402764
mov rcx, qword [0x0048bf00]
lea rbx, [rsp + 0x30]
mov edx, 0x373d8458
call fcn.00402580
mov edx, 0x34bb7e08
mov rcx, rax
call fcn.00402310
mov rax, qword [0x0048bd30]
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [rax]
mov rax, qword [0x0048bd20]
xor edx, edx
xor ecx, ecx
lea r9, [rsp + 0x28]
mov r8, rbx
call qword [rax]
test eax, eax
jne 0x402764
mov rsi, qword [rsp + 0x28]
jmp 0x402764
mov rsi, qword [r8 + 0x20]
mov rax, rsi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x413200
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov edx, 0x7be42d88
mov rbx, rcx
lea rcx, [0x0048a680]
call fcn.00402580
lea rdi, [rbx + 2]
mov edx, 0x54b08b98
mov rcx, rax
call fcn.00402310
movzx r9d, word [rbx]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r8, qword [rax + 0x20]
lea rbp, [rax + 0x20]
nop dword [rax + rax]
mov rax, qword [r8 + 0x50]
test r9w, r9w
movzx r10d, word [rax]
je 0x4132ad
test r10w, r10w
je 0x4132b3
mov r12, rdi
mov edx, r9d
sub r12, rax
jmp 0x413276
cmp word [rax], 0
je 0x4132ad
movzx ecx, word [rax]
lea esi, [rdx - 0x41]
lea r11d, [rdx + 0x20]
cmp si, 0x1a
cmovb edx, r11d
lea esi, [rcx - 0x41]
lea r11d, [rcx + 0x20]
cmp si, 0x1a
cmovb ecx, r11d
cmp dx, cx
jne 0x4132b3
mov rdx, rax
add rax, 2
movzx edx, word [r12 + rdx]
test dx, dx
jne 0x413270
cmp r10w, r9w
je 0x413330
mov r8, qword [r8]
cmp rbp, r8
jne 0x413250
lea rcx, [0x0048a580]
mov edx, 0x373d8458
call fcn.00402580
lea rsi, [rsp + 0x30]
mov edx, 0x34bb7e08
mov rcx, rax
call fcn.00402310
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [0x0048f668]
xor edx, edx
xor ecx, ecx
mov r8, rsi
lea r9, [rsp + 0x28]
call qword [0x0048f660]
mov edx, eax
xor eax, eax
test edx, edx
jne 0x413334
mov rax, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [r8 + 0x20]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x414a00
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004a4b60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004a4b40]
test rbx, rbx
je 0x414a54
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x414a4b
test rsi, rsi
je 0x414a4b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x414a30
lea rcx, [0x004a4b60]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x414d90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0048c000]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x414dfd
mov rcx, r8
call fcn.00414c70
test eax, eax
je 0x414dfd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x414dfd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x414df4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x414dff
add rax, 0x28
cmp rax, r9
jne 0x414de0
xor eax, eax
add rsp, 0x28
ret
Function at 0x140003520
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 0x14000357d
lea rbx, [0x140054e70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003564
cmp r10, 2
jb 0x140003564
cmp byte [r9], r8b
jne 0x140003564
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 0x140003540
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400035bf
lea rbx, [0x140054e70]
cmp r8b, 0x23
jne 0x1400035a3
cmp byte [r9], r8b
jne 0x1400035a3
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 0x140003590
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003700
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000371a
mov qword [r8], 0
lea rdx, [0x1400549c0]
call fcn.1400035d0
mov rbx, rax
test rax, rax
jne 0x14000373a
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 0x140003813
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003813
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003813
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 0x140003813
cmp rdi, 0xffffffffffffffff
je 0x140003813
mov rax, qword [0x140074240]
test rax, rax
je 0x1400037b0
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 0x140003813
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 0x140003800
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140074240]
test rax, rax
je 0x1400037f5
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000381c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000380e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000381e
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