joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065920
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x18]
lea eax, [rdx - 0xc8]
xor edi, edi
movzx esi, r8b
mov rbx, rcx
cmp eax, 0x64
jb 0x140065960
lea rdx, str.Couldnt_set_desired_mode
call fcn.140040510
lea eax, [rdi + 0x11]
jmp 0x140065ac5
cmp edx, 0xc8
je 0x140065977
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.140040600
cmp sil, 0x13
jne 0x14006598d
mov rdx, rbp
mov rcx, rbx
call fcn.140065820
jmp 0x140065ac1
cmp sil, 0x14
jne 0x140065aa3
cmp byte [rbx + 0x6f0], 2
mov rbp, qword [rbx + 0x18]
jne 0x140065a0b
mov rax, qword [rbx + 0x1a0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140065a0b
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.14006e2a0
test eax, eax
jne 0x140065ac1
mov rcx, qword [rsp + 0x40]
lea edx, [rax + 0x2f]
call fcn.1400846b4
test rax, rax
je 0x140065a00
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x140065a0b
mov rcx, qword [rsp + 0x40]
call qword [fcn.14008af2c]
mov rdx, qword [rbx + 0x748]
test rdx, rdx
jne 0x140065a30
cmp byte [rbx + 0x133f], 0
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x1400d5af0]
test rdi, rdi
mov r9, r8
lea rax, [0x1400b96d0]
cmovne r9, rdi
lea rcx, [0x1400baed4]
cmovne r8, rax
call fcn.140051870
mov rcx, rdi
mov rsi, rax
call qword [fcn.14008af2c]
test rsi, rsi
jne 0x140065a6e
lea edi, [rsi + 0x1b]
jmp 0x140065ac3
lea rdx, [rbp + 0x5d0]
mov r9, rsi
lea r8, [0x1400b9920]
mov rcx, rbx
call fcn.14007f510
mov rcx, rsi
mov edi, eax
call qword [fcn.14008af2c]
test edi, edi
jne 0x140065ac3
mov rcx, qword [rbx + 0x18]
mov byte [rcx + 0x6c6], 0x1f
jmp 0x140065ac3
cmp sil, 0x15
jne 0x140065aae
mov r8b, reloc.WS2_32.dll_listen
jmp 0x140065ab7
cmp sil, 0x16
jne 0x140065ac3
mov r8b, ntohs
mov dl, 1
mov rcx, rbx
call fcn.140065380
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14006c950
Capabilities:
Convert ip address from string

Disassembly:
push rsi
push r13
push r14
sub rsp, 0x90
mov rax, qword [0x1400ea200]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx eax, byte [rdx]
mov rsi, r8
mov r14, rdx
mov r13, rcx
test al, al
jne 0x14006c986
mov eax, ntohs
jmp 0x14006ca95
mov qword [rsp + 0x78], rdi
cmp al, 0x5b
jne 0x14006cb4d
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x70], r15
cmp rsi, 4
jb 0x14006cb43
inc r14
lea rdx, str.0123456789abcdefABCDEF:.
mov rcx, r14
sub rsi, 2
call fcn.14009e430
cmp rsi, rax
je 0x14006cab5
cmp byte [r14 + rax], 0x25
lea r15, [r14 + rax]
mov rsi, rax
jne 0x14006cb43
xor edi, edi
lea rdx, [0x1400c4654]
lea rcx, [r15 + 1]
lea rbx, [r15 + 1]
lea r8d, [rdi + 2]
call fcn.140099290
test eax, eax
jne 0x14006ca14
movzx eax, byte [r15 + 3]
lea rcx, [r15 + 3]
test al, al
je 0x14006ca14
cmp al, 0x5d
cmovne rbx, rcx
movzx eax, byte [rbx]
test al, al
je 0x14006cb43
mov rcx, rdi
cmp al, 0x5d
je 0x14006ca3f
cmp rcx, 0xf
jge 0x14006ca3f
inc rbx
mov byte [rsp + rcx + 0x20], al
inc edi
inc rcx
movzx eax, byte [rbx]
test al, al
jne 0x14006ca22
test edi, edi
je 0x14006cb43
cmp byte [rbx], 0x5d
jne 0x14006cb43
movsxd rax, edi
cmp rax, 0x10
jae 0x14006cb70
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call qword [case.0x14003f7ff.2]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x14006caaf
mov eax, 7
mov rbx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140029540
add rsp, 0x90
pop r14
pop r13
pop rsi
ret
mov word [r15], 0x5d
lea r8, [rsp + 0x20]
mov byte [rsi + r14], 0
mov rdx, r14
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14006cb43
lea r9d, [rax + 0x2d]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea ecx, [rax + 0x16]
call sub.WS2_32.dll_inet_ntop
test rax, rax
je 0x14006cb37
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x14006cb00
cmp rdx, rsi
jae 0x14006cb37
lea rax, [rsp + 0x30]
mov r8, r14
sub r8, rax
lea rcx, [rsp + 0x30]
nop
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14006cb20
mov rsi, rdx
mov byte [rdx + r14 + 1], al
mov byte [rsi + r14], 0x5d
xor eax, eax
jmp 0x14006ca7b
mov eax, socket
jmp 0x14006ca7b
lea rdx, str.__r_n_t_:_______________
mov rcx, r14
call fcn.14008f6b0
xor edi, edi
mov ecx, reloc.WS2_32.dll_setsockopt
cmp rsi, rax
cmovne edi, ecx
mov eax, edi
jmp 0x14006ca90
call fcn.140029ad4
int3
Function at 0x140070820
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x1400ee7c8]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x140070884
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.140075c90
test al, al
je 0x140070878
mov dword [0x1400ee7c8], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x1400ee7c8], 1
jmp 0x140070889
cmp eax, 2
je 0x1400708db
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1400708ba
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x1400708db
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x140071500
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1400ea200]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, qword [rcx + 0x10]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
mov rsi, rdx
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
mov rcx, qword [rbx + 0x98]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1400715b6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.140053880
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.140040510
mov eax, 2
jmp 0x140071628
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x104]
lea r8, [rbx + 0xd4]
lea rcx, [rsp + 0x30]
call fcn.140041350
test al, al
jne 0x140071626
mov qword [rsp + 0x1e0], rdi
call fcn.140089e30
mov ebx, dword [rax]
call fcn.140089e30
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.140053880
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.140040510
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x140071628
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140029540
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x140072e70
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, r8
mov rdi, rdx
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.WWW_Authenticate:
mov rcx, r9
mov rbx, r9
call fcn.140044a80
test eax, eax
je 0x140072eba
mov ebp, dword [rdi + 0x148]
cmp ebp, 0x191
je 0x140072ee1
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rbx
call fcn.140044a80
test eax, eax
je 0x140072f27
mov ebp, dword [rdi + 0x148]
cmp ebp, 0x197
jne 0x140072f27
mov rcx, rbx
call fcn.14004b3a0
mov rbx, rax
test rax, rax
jne 0x140072ef9
lea eax, [rbx + 0x1b]
jmp 0x1400730ea
cmp ebp, 0x197
mov r8, rbx
mov rcx, rdi
sete dl
call fcn.14004d080
mov rcx, rbx
mov edi, eax
call qword [fcn.14008af2c]
test edi, edi
je 0x1400730e8
mov eax, edi
jmp 0x1400730ea
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.Content_Length:
mov rcx, rbx
call fcn.140044a80
test eax, eax
je 0x140072f82
mov r8d, dword [rdi + 0x148]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x140072f67
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rdi
call fcn.140040600
jmp 0x1400730e8
xor edx, edx
lea r9, [r14 + 0x298]
lea rcx, [rbx + 0xf]
lea r8d, [rdx + 0xa]
call fcn.1400545f0
jmp 0x1400730e8
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, rbx
call fcn.14004b2d0
test al, al
jne 0x1400730e0
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rbx
call fcn.140044a80
test eax, eax
je 0x140073040
mov r8d, dword [rdi + 0x148]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x140072fef
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, rdi
call fcn.140040600
jmp 0x1400730e8
lea r9, str.chunked
mov qword [rsp + 0x20], 7
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rbx
call fcn.14004b2d0
test al, al
je 0x1400730e8
lea rdx, str.CONNECT_responded_chunked
mov rcx, rdi
call fcn.140040600
mov rcx, rdi
mov byte [r14 + 0x2a4], 1
call fcn.1400761f0
jmp 0x1400730e8
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, rbx
call fcn.14004b2d0
test al, al
jne 0x1400730e0
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, rbx
call fcn.140099290
test eax, eax
jne 0x1400730e8
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 1
ja 0x1400730e8
cmp byte [rbx + 8], 0x20
jne 0x1400730e8
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400730e8
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400730e8
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1400730e8
movzx eax, byte [rbx + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x1400730e8
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rdi + 0x148], ecx
mov dword [rdi + 0x1354], ecx
jmp 0x1400730e8
mov byte [r14 + 0x2a5], 1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14007b110
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x1400ea200]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call fcn.140052e30
mov r13, rax
test rax, rax
jne 0x14007b18e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1400539b0
mov r9, rax
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140040510
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [fcn.14008af2c]
jmp 0x14007b348
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, r13
mov qword [rsp + 0x170], r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14007b201
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1400539b0
mov r9, rax
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140040510
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x14007b332
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14007b24a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1400539b0
mov r9, rax
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140040510
mov ebx, 0x4d
jmp 0x14007b326
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x14007b27f
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.140040510
mov ebx, 0x4d
jmp 0x14007b31e
lea rcx, [rdi + 1]
call qword [fcn.140091124]
mov rbp, rax
test rax, rax
jne 0x14007b299
lea ebx, [rax + 0x1b]
jmp 0x14007b31e
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x14007b2f8
nop word [rax + rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007b36a
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x14007b2ef
mov edi, esi
jmp 0x14007b2f1
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x14007b2b0
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.14007ae90
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [fcn.14008af2c]
mov rcx, r13
call fcn.14008af2c
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140029540
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1400539b0
mov r9, rax
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140040510
mov ebx, 0x4d
jmp 0x14007b316
Function at 0x140082080
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov rsi, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [fcn.140091124]
mov rbx, rax
test rax, rax
jne 0x1400820c3
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rdi
mov qword [rbx + 0x10], rax
lea rdi, [rbp + 8]
mov qword [rsp + 0x50], r14
cmp r15d, dword [rbp + 0x1c]
jbe 0x140082110
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [rdi]
mov esi, dword [rbp + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor r14d, r14d
test r15, r15
je 0x140082172
mov r14, r15
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rdi]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rdi]
sub r15, 1
jne 0x140082130
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x1400821b1
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1400c7cb1]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400c7cb2]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x140082180
mov r14, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret

Function at 0x140083260
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1400832c5
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x140083270
ret

Function at 0x14008f3e8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14008f214
Function at 0x14008f3f4
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 0x14008f27b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008f27b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008f27b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008f27b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008f27b
cmp dword [rcx + 0x84], 0xe
jbe 0x14008f27b
cmp dword [rcx + 0xf8], 0
je 0x14008f27b
mov ecx, ebx
call fcn.14008f31c
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.14008f10c
cmp dword [rbp + 0x20], 0
je 0x14008f2c8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008f2d0
int3
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14008f214
Function at 0x1400af5b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400af5d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400af5d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400b2958
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400b2978
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140089dc0
or eax, 0xffffffff
jmp 0x1400b297a
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400033e0
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 0x14000343d
lea rbx, [0x140049ab0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003424
cmp r10, 2
jb 0x140003424
cmp byte [r9], r8b
jne 0x140003424
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 0x140003400
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000347f
lea rbx, [0x140049ab0]
cmp r8b, 0x23
jne 0x140003463
cmp byte [r9], r8b
jne 0x140003463
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 0x140003450
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003580
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14000359e
mov qword [r8], r14
lea rdx, [0x1400495e0]
call fcn.140003490
mov rbx, rax
test rax, rax
jne 0x1400035c3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400036ed
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 0x1400036ed
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400036ed
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400036ed
cmp rdi, 0xffffffffffffffff
je 0x1400036ed
mov rcx, rdi
call fcn.140007700
mov rbp, rax
test rax, rax
je 0x1400036ed
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 0x1400036da
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140057060]
test r8, r8
je 0x1400036cf
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400036c4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400036f6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400036e8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400036f8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140007080
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r10, [0x140049ab0]
mov rax, qword [rcx + 0x108]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x4054], ebx
jne 0x14000710b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001a4c0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000a820
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x14000a870
lea r11, [0x140049ab0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000a853
cmp byte [r8], r9b
jne 0x14000a853
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000a840
mov rcx, qword [0x140057060]
not eax
movsxd rdx, dword [rcx + 0x3fe8]
mov r9, qword [rcx + 0x3ff0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x14000a8d1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x14000a8c9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x14000a8cc
mov rdx, r8
test rdx, rdx
jne 0x14000a8a0
cmp r9, r10
je 0x14000a8e0
cmp dword [r9], eax
jne 0x14000a8e0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret