joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400406b4
Capabilities:
Parse pe header

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

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x13
jb 0x14000cce3
mov byte [rcx + 0x17], 0
ret

Function at 0x14000cd04
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x38
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000cd11
mov byte [rcx + 0x3c], r10b
ret

Function at 0x14000cd2c
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0xc
jb 0x14000cd33
mov byte [rcx + 0x10], 0
ret

Function at 0x14000cd54
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x7b
jb 0x14000cd5b
mov byte [rcx + 0x7f], 0
ret

Function at 0x14000cd7c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0xc
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000cd89
mov byte [rcx + 0x10], r10b
ret

Function at 0x14000cdc0
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x14
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000cdcd
mov byte [rcx + 0x18], r10b
ret

Function at 0x14000ce04
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x12
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000ce11
mov byte [rcx + 0x16], r10b
ret

Function at 0x14000cf0c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x17
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000cf19
mov byte [rcx + 0x1b], r10b
ret

Function at 0x14000cf50
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x11
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000cf5d
mov byte [rcx + 0x15], r10b
ret

Function at 0x14000cf78
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 8
jb 0x14000cf7f
mov byte [rcx + 0xc], 0
ret

Function at 0x14000cfa0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x11
jb 0x14000cfa7
mov byte [rcx + 0x15], 0
ret

Function at 0x14000cfc8
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x43
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000cfd5
mov byte [rcx + 0x47], r10b
ret
Function at 0x14000d00c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0xe
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d019
mov byte [rcx + 0x12], r10b
ret

Function at 0x14000d06c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0xa
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d079
mov byte [rcx + 0xe], r10b
ret

Function at 0x14000d0b0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 7
jb 0x14000d0b7
mov byte [rcx + 0xb], 0
ret

Function at 0x14000d12c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 7
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d139
mov byte [rcx + 0xb], r10b
ret

Function at 0x14000d154
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 5
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d161
mov byte [rcx + 9], r10b
ret

Function at 0x14000d17c
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 6
jb 0x14000d183
mov byte [rcx + 0xa], 0
ret

Function at 0x14000d1c0
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 6
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d1cd
mov byte [rcx + 0xa], r10b
ret

Function at 0x14000d204
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 8
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d211
mov byte [rcx + 0xc], r10b
ret

Function at 0x14000d264
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0xf
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d271
mov byte [rcx + 0x13], r10b
ret

Function at 0x14000d28c
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 9
jb 0x14000d293
mov byte [rcx + 0xd], 0
ret

Function at 0x14000d2b4
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 4
jb 0x14000d2bb
mov byte [rcx + 8], 0
ret

Function at 0x14000d2dc
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0xd
jb 0x14000d2e3
mov byte [rcx + 0x11], 0
ret
Function at 0x14000d304
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 5
jb 0x14000d30b
mov byte [rcx + 9], 0
ret
Function at 0x14001262c
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140051af8]
xor rax, rsp
mov qword [rbp - 8], rax
mov byte [rbp - 0x38], WSAStartup
xor ebx, ebx
mov byte [rbp - 0x37], 0x76
mov ecx, ebx
mov byte [rbp - 0x36], 0x66
mov byte [rbp - 0x35], 0x6e
mov byte [rbp - 0x34], 0x6e
mov byte [rbp - 0x33], 0x30
mov byte [rbp - 0x32], 0x66
mov byte [rbp - 0x31], 0x6e
mov byte [rbp - 0x30], 0x6e
mov byte [rbp - 0x2f], bl
mov al, byte [rbp - 0x38]
mov al, byte [rbp + rcx - 0x38]
sub al, 2
mov byte [rbp + rcx - 0x38], al
inc rcx
cmp rcx, 9
jb 0x140012675
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9, rax
test rax, rax
je 0x140012751
mov dword [rbp - 0x28], 0x45
xor eax, eax
mov byte [rbp - 0x24], 0xb
mov rdx, rbx
mov byte [rbp - 0x23], 0x31
mov byte [rbp - 0x22], 0x14
mov byte [rbp - 0x21], 0x30
mov byte [rbp - 0x20], 0x20
mov byte [rbp - 0x1f], 0x37
mov byte [rbp - 0x1e], 0x3c
mov byte [rbp - 0x1d], 0x16
mov byte [rbp - 0x1c], 0x3c
mov byte [rbp - 0x1b], 0x36
mov byte [rbp - 0x1a], 0x31
mov byte [rbp - 0x19], 0x20
mov byte [rbp - 0x18], 0x28
mov byte [rbp - 0x17], 0xc
mov byte [rbp - 0x16], 0x2b
mov byte [rbp - 0x15], 0x23
mov byte [rbp - 0x14], 0x2a
mov byte [rbp - 0x13], 0x37
mov byte [rbp - 0x12], 0x28
mov byte [rbp - 0x11], 0x24
mov byte [rbp - 0x10], 0x31
mov byte [rbp - 0xf], 0x2c
mov byte [rbp - 0xe], 0x2a
mov byte [rbp - 0xd], 0x2b
mov byte [rbp - 0xc], al
mov al, byte [rbp - 0x24]
mov al, byte [rbp + rdx - 0x24]
mov ecx, dword [rbp - 0x28]
xor cl, al
mov byte [rbp + rdx - 0x24], cl
inc rdx
cmp rdx, 0x18
jb 0x140012710
lea rdx, [rbp - 0x24]
mov byte [rbp - 0xc], bl
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
mov word [rbp - 0x40], bx
lea rdx, [rbp - 0x40]
lea r8d, [r9 + 2]
lea ecx, [r9 + 0x23]
call rax
cmp byte [rbp - 0x40], bl
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400242f0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x140012768
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140051af8]
xor rax, rsp
mov qword [rbp + 0x47], rax
call qword [0x140054fe8]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [0x140055060]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140012868
mov byte [rbp + 0x37], WSACleanup
mov ecx, edi
mov byte [rbp + 0x38], 0x77
mov byte [rbp + 0x39], 0x67
mov byte [rbp + 0x3a], 0x6f
mov byte [rbp + 0x3b], 0x6f
mov byte [rbp + 0x3c], 0x31
mov byte [rbp + 0x3d], 0x67
mov byte [rbp + 0x3e], 0x6f
mov byte [rbp + 0x3f], 0x6f
mov byte [rbp + 0x40], dil
mov al, byte [rbp + 0x37]
mov al, byte [rbp + rcx + 0x37]
sub al, 3
mov byte [rbp + rcx + 0x37], al
inc rcx
cmp rcx, 9
jb 0x1400127de
lea rcx, [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9d, 0x30
mov qword [rsp + 0x20], rdi
lea r8, [rbp + 7]
xor edx, edx
mov rcx, rbx
call qword [0x140055058]
test eax, eax
js 0x14001285f
mov edx, dword [rbp + 0xf]
lea rax, [rbp - 1]
add edx, 0xbc
mov qword [rbp - 1], rdi
mov r9d, 2
mov word [rbp - 9], di
lea r8, [rbp - 9]
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14001285f
cmp qword [rbp - 1], 2
jne 0x14001285f
cmp word [rbp - 9], 0x70
jne 0x14001285f
mov eax, 1
jmp 0x14001286a
mov rcx, rbx
call qword [0x1400550f8]
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400242f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140015a08
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1180]
mov eax, 0x1280
call fcn.140024930
sub rsp, rax
mov rax, qword [0x140051af8]
xor rax, rsp
mov qword [rbp + 0x1170], rax
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rbp + 0xf70]
mov r8d, 0x200
mov rdi, r9
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0xf60], 0x5e
xor ecx, ecx
mov byte [rbp + 0xf61], 0x5e
mov byte [rbp + 0xf62], 0x30
mov byte [rbp + 0xf63], 0x5e
mov byte [rbp + 0xf64], WSACleanup
mov byte [rbp + 0xf65], 0x6b
mov byte [rbp + 0xf66], WSACleanup
mov byte [rbp + 0xf67], 0x67
mov byte [rbp + 0xf68], 0x5e
mov byte [rbp + 0xf69], 0x27
mov byte [rbp + 0xf6a], 0x75
mov byte [rbp + 0xf6b], 0
mov al, byte [rbp + 0xf60]
mov al, byte [rbp + rcx + 0xf60]
sub al, 2
mov byte [rbp + rcx + 0xf60], al
inc rcx
cmp rcx, 0xb
jb 0x140015aaf
mov r9, rbx
lea r8, [rbp + 0xf60]
mov edx, 0x1ff
lea rcx, [rbp + 0xf70]
call fcn.1400154bc
and qword [rsp + 0x30], 0
lea rcx, [rbp + 0xf70]
and dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140015b5e
xor edx, edx
lea rcx, [rsp + 0x4c]
mov r8d, 0x1014
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x48], 1
call fcn.140015654
test eax, eax
jne 0x140015b5e
mov r8d, 0x1020
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
jmp 0x140015b63
mov eax, 1
mov rcx, qword [rbp + 0x1170]
xor rcx, rsp
call fcn.1400242f0
mov rbx, qword [rsp + 0x12b0]
add rsp, 0x1280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140015b88
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xf60]
mov eax, 0x1060
call fcn.140024930
sub rsp, rax
mov rax, qword [0x140051af8]
xor rax, rsp
mov qword [rbp + 0xf50], rax
xor esi, esi
mov rbx, rcx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], esi
cmp dword [rcx + 0x10], esi
je 0x140015d0e
mov dword [rcx + 0x10], esi
cmp dword [rcx + 0xc], esi
jne 0x140015d0e
movzx eax, word [rcx + 0x814]
lea r8d, [rsi + 0x10]
add ax, 0x18
mov word [rsp + 0x3e], dx
mov word [rsp + 0x48], ax
lea r9, [rsp + 0x30]
mov eax, dword [rcx + 8]
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx]
lea r14d, [rsi + 5]
mov dword [rsp + 0x40], 0x3000005
mov dword [rsp + 0x44], r8d
mov word [rsp + 0x4a], si
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x38], esi
mov word [rsp + 0x3c], si
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140015d0e
mov rcx, qword [rbx]
lea r9, [rsp + 0x30]
lea r8d, [rsi + 8]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140015d0e
mov r8d, dword [rbx + 0x814]
lea rdx, [rbx + 0x14]
mov rcx, qword [rbx]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140015d0e
inc dword [rbx + 8]
lea rcx, [rsp + 0x50]
mov edi, 0x1000
xor edx, edx
mov r8d, edi
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx]
lea r9, [rsp + 0x34]
mov r8d, edi
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140015d0e
cmp word [rsp + 0x50], r14w
jne 0x140015d0e
cmp byte [rsp + 0x52], 2
jne 0x140015d0e
cmp byte [rsp + 0x53], 3
jne 0x140015d0e
movzx edi, word [rsp + 0x58]
cmp edi, dword [rsp + 0x34]
jne 0x140015d0e
cmp word [rsp + 0x64], si
jne 0x140015d0e
add edi, 0xffffffe8
cmp edi, 0x800
ja 0x140015d0e
mov r8d, edi
lea rcx, [rbx + 0x818]
lea rdx, [rsp + 0x68]
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov dword [rbx + 0x1018], edi
jmp 0x140015d13
mov eax, 1
mov rcx, qword [rbp + 0xf50]
xor rcx, rsp
call fcn.1400242f0
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400189b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140051af8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
xor edx, edx
add rcx, 4
mov r8d, pe_nt_image_headers64
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
mov dword [rbx], 0x11c
call qword [0x140054fe0]
xor edx, edx
test eax, eax
jne 0x140018ac4
mov byte [rbp - 0x38], 0x68
mov ecx, edx
mov byte [rbp - 0x37], 0x3a
mov byte [rbp - 0x36], 0x6a
mov byte [rbp - 0x35], 0x2d
mov byte [rbp - 0x34], 0x53
mov byte [rbp - 0x33], 0x6e
mov byte [rbp - 0x32], 0x76
mov byte [rbp - 0x31], 0x79
mov byte [rbp - 0x30], WSACleanup
mov byte [rbp - 0x2f], WSACleanup
mov byte [rbp - 0x2e], 0x2d
mov byte [rbp - 0x2d], 0x81
mov byte [rbp - 0x2c], 0x7c
mov byte [rbp - 0x2b], 0x2d
mov byte [rbp - 0x2a], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x29], WSACleanup
mov byte [rbp - 0x28], 0x81
mov byte [rbp - 0x27], 0x2d
mov byte [rbp - 0x26], 0x83
mov byte [rbp - 0x25], WSACleanup
mov byte [rbp - 0x24], 0x7f
mov byte [rbp - 0x23], 0x80
mov byte [rbp - 0x22], 0x76
mov byte [rbp - 0x21], 0x7c
mov byte [rbp - 0x20], 0x7b
mov byte [rbp - 0x1f], 0x2d
mov byte [rbp - 0x1e], 0x7c
mov byte [rbp - 0x1d], 0x80
mov byte [rbp - 0x1c], 0x2d
mov byte [rbp - 0x1b], 0x76
mov byte [rbp - 0x1a], 0x7b
mov byte [rbp - 0x19], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x18], 0x7c
mov byte [rbp - 0x17], dl
mov al, byte [rbp - 0x38]
mov al, byte [rbp + rcx - 0x38]
sub al, 0xd
mov byte [rbp + rcx - 0x38], al
inc rcx
cmp rcx, 0x21
jb 0x140018a8b
mov qword [rbp - 0x60], rdx
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x50], rdx
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x48], 0xf
call fcn.1400056cc
lea rcx, [rbp - 0x60]
call fcn.140018410
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400242f0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
Function at 0x140018ae4
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x140051af8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
cmp qword [rcx + 0x18], 0x10
jb 0x140018b14
mov rcx, qword [rcx]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [0x140055090]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140018bbc
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
test eax, eax
je 0x140018bb5
xorps xmm6, xmm6
cvtsi2sd xmm6, qword [rsp + 0x40]
mulsd xmm6, qword [0x14002bcb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140018ba9
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140018ba4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140018bae
mov rcx, r8
call fcn.14002459c
movaps xmm0, xmm6
jmp 0x140018bfa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140018bf2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140018bed
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140018c27
mov rcx, r8
call fcn.14002459c
movsd xmm0, qword [0x14002bcc0]
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400242f0
mov rbx, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140018c30
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140051af8]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov rdi, rdx
mov qword [rsp + 0x20], rcx
mov rbx, rcx
lea rdx, [rsp + 0x60]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140018c86
lea rdx, [0x14002b95c]
jmp 0x140018d20
cmp qword [rdi + 0x18], 0x10
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x2c], 2
mov dword [rsp + 0x30], 1
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
jb 0x140018cb2
mov rdi, qword [rdi]
lea r9, [rsp + 0x20]
xor edx, edx
lea r8, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140018cd3
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140018c7a
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x140018d0a
mov rdx, qword [rdi + 0x20]
lea r8, [rbp + 0x100]
mov r9d, 0x16
add rdx, 4
lea ecx, [r9 - 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140018cdd
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, [rbp + 0x100]
and qword [rbx], 0
mov rcx, rbx
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
call fcn.1400056cc
mov rax, rbx
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.1400242f0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001aed4
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14001af05
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001af78
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14001af1c
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001af1e
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14001af72
test ecx, ecx
jle 0x14001af52
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
add r14, rbp
test rbx, rbx
jle 0x14001af72
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001af72
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001af94
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14001afc1
xor eax, eax
jmp 0x14001b0b0
cmp qword [rcx + 0x68], 0
je 0x14001afd3
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x14001b0b0
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x14001afea
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001afec
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001b019
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
mov rcx, rsi
add r14, rbx
sub rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rsi + 0x80], 0
mov rbx, rbp
je 0x14001b0aa
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001b057
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov r15d, 0xfff
jmp 0x14001b085
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x14001b0c9
cmp rbp, r15
ja 0x14001b05f
test rbx, rbx
je 0x14001b0aa
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rdi, rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
sub rdi, rbp
jmp 0x14001b0ad