joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421e10
Capabilities:
Get common file path

Disassembly:
push rbp
mov eax, 0xfa0
sub rax, 0x1000
mov byte [rsp + rax], al
cmp rax, 0xffffffffffffbfa0
ja 0x421e17
sub rsp, 0x4060
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x3c], edx
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
nop
mov eax, 1
movsxd rcx, eax
mov word [rbp + rcx*2 + 0x5e], 0x20
add eax, 1
cmp eax, 0x2001
jne 0x421e61
nop
mov eax, dword [rbp + 0x3c]
sub eax, 1
cmp eax, 0xffffffff
je 0x421e93
test eax, eax
je 0x421ec5
sub eax, 1
test eax, eax
jne 0x421f1e
jmp 0x421f05
mov ecx, 0x2000
lea rdx, [rbp + 0x60]
call sub.kernel32.dll_GetTempPathW
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.00409810
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x58]
call fcn.00419840
jmp 0x421f1e
xor rcx, rcx
mov edx, 0x1c
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.00409810
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
call fcn.00419840
jmp 0x421f1e
lea rcx, [rbp + 0x48]
xor rdx, rdx
call fcn.00405130
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
call fcn.0041a0a0
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
call fcn.00420220
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
call fcn.00409ab0
nop
lea rcx, [rbp + 0x40]
mov edx, 4
call fcn.00409680
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x4060]
pop rbp
ret

Function at 0x421f90
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0x110
mov rbp, rsp
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x120], rcx
nop
lea rcx, [rbp + 0xe8]
mov edx, 0x18
xor r8, r8
call fcn.004059e0
lea rcx, [rbp + 0x80]
mov edx, 0x68
xor r8, r8
call fcn.004059e0
mov dword [rbp + 0x80], 0x68
mov dword [rbp + 0xe8], 0x18
mov dword [rbp + 0xbc], 1
mov word [rbp + 0xc0], 0
mov byte [rbp + 0x67], 0
mov dword [rbp + 0xf8], 0
mov rcx, qword [rbp + 0x120]
call fcn.0040a380
xor rcx, rcx
mov rdx, rax
lea r8, [rbp + 0xe8]
lea r9, [rbp + 0xe8]
cmp byte [rbp + 0x67], 0
setne al
movzx rax, al
neg eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4220bd
lea rcx, [rbp + 0x108]
lea rdx, [0x00421df0]
call fcn.0040d600
nop
mov rcx, qword [0x0042b1e0]
mov rdx, qword [rbp + 0x108]
call fcn.00406240
mov rcx, rax
call fcn.004063b0
call fcn.00404df0
nop
lea rcx, [rbp + 0x108]
call fcn.004095a0
jmp 0x4220eb
mov rcx, qword [rbp + 0x68]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [rbp + 0x68]
lea rdx, [rbp + 0x104]
call sub.kernel32.dll_GetExitCodeProcess
mov rcx, qword [rbp + 0x68]
call sub.kernel32.dll_CloseHandle_1
mov rcx, qword [rbp + 0x70]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x108]
call fcn.004095a0
mov eax, dword [rbp + 0x104]
lea rsp, [rbp + 0x110]
pop rbp
ret
Function at 0x425e50
Capabilities:
Delete file
Set environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], rbp
mov rax, qword [0x0042b3b0]
mov byte [rax], 1
nop
lea rcx, [0x00422b40]
call fcn.0040de30
nop
mov rax, qword [0x0042b0e0]
mov dword [rax], 0
mov rcx, qword [0x00422168]
mov dl, 1
call fcn.00422520
mov qword [0x00435318], rax
mov rcx, qword [0x00435318]
lea rdx, [0x0042620c]
mov r8b, 1
call fcn.00422740
test al, al
je 0x4260ab
mov rax, qword [0x00435318]
mov rcx, qword [rax + 0x60]
lea rdx, [0x004352d4]
mov rax, qword [0x00435318]
movsxd r8, dword [rax + 0x68]
call fcn.00404e80
mov rcx, qword [0x00435318]
call fcn.00422610
mov rcx, qword [0x00435318]
lea rdx, [0x00426230]
mov r8b, 1
call fcn.00422740
test al, al
je 0x426068
lea rcx, [rbp + 0x70]
xor rdx, rdx
call fcn.00421e10
lea rcx, [0x004352f8]
mov rdx, qword [rbp + 0x70]
call fcn.00409ab0
lea rcx, [rbp + 0x60]
lea rdx, [0x004352d4]
call fcn.0040a4e0
lea rcx, [rbp + 0x68]
mov rdx, qword [0x004352f8]
mov r8, qword [rbp + 0x60]
call fcn.004218b0
lea rcx, [0x00435300]
mov rdx, qword [rbp + 0x68]
call fcn.00409ab0
mov rcx, qword [0x00435318]
mov rdx, qword [0x00435300]
call fcn.00422630
lea rcx, [rbp + 0x58]
lea rdx, [0x00421dd0]
call fcn.0040d600
mov rcx, qword [rbp + 0x58]
call fcn.0040a380
mov rbx, rax
lea rcx, [rbp + 0x50]
call fcn.004216f0
mov rcx, qword [rbp + 0x50]
call fcn.0040a380
mov rcx, rbx
mov rdx, rax
call sub.kernel32.dll_SetEnvironmentVariableW
lea rcx, [rbp + 0x48]
mov rax, qword [0x0042b318]
mov rdx, qword [rax]
call fcn.0040a400
lea rcx, [0x00435310]
mov edx, 5
lea r8, [0x00426254]
mov r9, qword [0x00435300]
lea rax, [0x0042627c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [0x00426290]
mov qword [rsp + 0x30], rax
call fcn.0040a7f0
mov rcx, qword [0x00435310]
call fcn.00421f90
mov rcx, qword [0x0042b0e0]
mov dword [rcx], eax
mov rcx, qword [0x00435300]
call fcn.0040a380
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
jmp 0x4260ec
lea rcx, [rbp + 0x88]
lea rdx, [0x00421de0]
call fcn.0040d600
nop
mov rcx, qword [0x0042b1e0]
mov rdx, qword [rbp + 0x88]
call fcn.00406240
mov rcx, rax
call fcn.004063b0
call fcn.00404df0
nop
lea rcx, [rbp + 0x88]
call fcn.004095a0
jmp 0x4260ec
lea rcx, [rbp + 0x80]
lea rdx, [0x00421e00]
call fcn.0040d600
nop
mov rcx, qword [0x0042b1e0]
mov rdx, qword [rbp + 0x80]
call fcn.00406240
mov rcx, rax
call fcn.004063b0
call fcn.00404df0
nop
lea rcx, [rbp + 0x80]
call fcn.004095a0
mov rcx, qword [0x00435318]
call fcn.004068f0
nop
lea rcx, [rbp + 0x48]
mov edx, 6
call fcn.00409680
lea rcx, [rbp + 0x80]
mov edx, 2
call fcn.00409680
call fcn.00409200
jmp 0x426129
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret
Function at 0x1400024a0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rsi, qword [0x1400a7988]
mov rbp, rcx
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400026c3
lea rcx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400026c3
mov qword [rsp + 0x70], rbx
mov ecx, 0x50
mov qword [rsp + 0x50], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400a7988]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140002562
movsx rdx, word [r8 + 0x6258]
lea rax, [r8 + 0x625c]
mov r9d, dword [r8 + 0x3fe8]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140002557
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 + 0x6258], cx
movsx rax, cx
lea rax, [rax*8 + 0x625c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6250]
test rdi, rdi
je 0x14000257f
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x140002582
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140084e28]
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x1400025cb
mov rsi, qword [r8 + 0x98]
jmp 0x1400025ce
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400025f9
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400a7988]
mov rcx, qword [rax + 0x4bc8]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x28], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x48], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140002684
inc rbx
cmp rbx, 5
jl 0x140002655
mov rdi, qword [rsp + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x58
pop rsi
pop rbp
ret
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x70]
mov qword [rdi + 0x48], rax
mov al, 1
mov rdi, qword [rsp + 0x50]
add rsp, 0x58
pop rsi
pop rbp
ret
xor al, al
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140006a80
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 0x140006add
lea rbx, [0x1400863b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140006ac4
cmp r10, 2
jb 0x140006ac4
cmp byte [r9], r8b
jne 0x140006ac4
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 0x140006aa0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140006b1f
lea rbx, [0x1400863b0]
cmp r8b, 0x23
jne 0x140006b03
cmp byte [r9], r8b
jne 0x140006b03
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 0x140006af0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140006cc0
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 0x140006cde
mov qword [r8], r14
lea rdx, [0x140085e90]
call fcn.140006b30
mov rbx, rax
test rax, rax
jne 0x140006d03
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 0x140006e2d
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 0x140006e2d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140006e2d
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 0x140006e2d
cmp rdi, 0xffffffffffffffff
je 0x140006e2d
mov rcx, rdi
call fcn.14000b190
mov rbp, rax
test rax, rax
je 0x140006e2d
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 0x140006e1a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400a7988]
test r8, r8
je 0x140006e0f
movsx rdx, word [r8 + 0x6258]
lea rcx, [r8 + 0x625c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140006e04
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 + 0x6258], cx
movsx rax, cx
lea rcx, [r8 + 0x625c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6254]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140006e36
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140006e28
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140006e38
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 0x1400145c0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r10, [0x1400863b0]
mov rax, qword [rcx + 0x110]
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 + 0x40f4], ebx
jne 0x14001464b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001eba0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400181d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400a7988]
mov edi, ecx
cmp byte [rbx + 0x4ded], 0
jne 0x140018222
cmp byte [rbx + 0x4dee], 0
jne 0x140018222
movsx r9d, word [rbx + 0x6018]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140006890
test dil, 2
je 0x14001835f
jmp 0x1400182bc
movss xmm0, dword [rbx + 0x3a08]
mov eax, dword [rbx + 0x4ab8]
movaps xmm1, xmm0
mulss xmm1, dword [0x14009c308]
mulss xmm0, dword [0x14009c2f4]
addss xmm1, dword [rbx + 0xe0]
addss xmm0, dword [rbx + 0xe4]
test al, 1
jne 0x14001827d
xor ecx, ecx
movss dword [rbx + 0x4ac8], xmm1
mov qword [rbx + 0x4ad0], rcx
or eax, 1
movss dword [rbx + 0x4acc], xmm0
mov dword [rbx + 0x4abc], 1
movss xmm0, dword [rbx + 0x3a64]
lea r8, str.Tooltip__02d
mulss xmm0, dword [0x14009c288]
lea rcx, [rsp + 0x20]
movsx r9d, word [rbx + 0x6018]
or eax, 0x40
mov edx, reloc.WS2_32.dll_recv
mov dword [rbx + 0x4ab8], eax
movss dword [rbx + 0x4b18], xmm0
call fcn.140006890
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140018310
lea r11, [0x1400863b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400182f3
cmp byte [r8], r9b
jne 0x1400182f3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400182e0
not ecx
call fcn.14000e3a0
test rax, rax
je 0x14001835f
cmp byte [rax + 0xca], 0
je 0x14001835f
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x6018]
movsx r9d, word [rbx + 0x6018]
call fcn.140006890
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.1400112c0
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001d410
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6178], 0
lea rbx, [rcx + 0x6180]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001d4b7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001d46a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001fd60
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140007340
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6178]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6188]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400a7980]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001d4bf
mov rcx, rbx
call fcn.140007340
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d7e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400a7988]
xor ebp, ebp
cmp byte [rbx + 0x60c8], bpl
jne 0x14001d8bf
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001d8b8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140006cc0
mov rsi, rax
test rax, rax
je 0x14001d8b8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001d844
mov rcx, rax
call fcn.14001da10
mov r8, qword [0x1400a7988]
test r8, r8
je 0x14001d8af
movsx rdx, word [r8 + 0x6258]
lea rcx, [r8 + 0x625c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001d8a4
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 + 0x6258], cx
movsx rax, cx
lea rcx, [r8 + 0x625c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6254]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x60c8], 1
movss xmm0, dword [rbx + 0x60cc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001d94e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x60cc], xmm0
jb 0x14001d94e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001d941
mov rax, qword [0x1400a7988]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x60cc], ebp
call fcn.14001dc70
lea rdx, [0x140085e94]
mov rcx, rdi
mov rsi, rax
call fcn.140006b30
mov rdi, rax
test rax, rax
je 0x14001d948
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001d948
mov byte [rbx + 0xb4], 1
mov dword [rbx + 0x60cc], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d970
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400a7988]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001d9d3
mov qword [rsp], rbx
lea rbx, [0x1400863b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001d9b3
cmp byte [r8], r9b
jne 0x14001d9b3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001d9a0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60e0]
not eax
mov r8, qword [r10 + 0x60e8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001d9ff
cmp dword [r8 + 8], eax
je 0x14001da06
add r8, 0x48
cmp r8, rcx
jne 0x14001d9f0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003ca50
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1400a70c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14003cab1
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x14003caab
shr ax, 8
cmp al, 2
jne 0x14003caab
call fcn.1400429b0
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400777e0
add rsp, 0x1d8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400777e0
add rsp, 0x1d8
ret
Function at 0x14004bec0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x1400a70c0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp byte [rcx + 0x438], 0
mov r14, r9
mov rax, qword [rsp + 0x130]
mov rbp, r8
mov esi, edx
mov rdi, rcx
je 0x14004bff1
test rax, rax
je 0x14004bff1
mov rdx, qword [rax + 0xc0]
test rdx, rdx
je 0x14004bff1
mov ecx, esi
lea r9, str.Data
sub ecx, 1
je 0x14004bf4b
sub ecx, 1
je 0x14004bf3b
sub ecx, 1
je 0x14004bf52
cmp ecx, 1
je 0x14004bf42
jmp 0x14004bff1
lea r9, str.Header
lea rax, [0x14007c840]
jmp 0x14004bf59
lea r9, str.Header
lea rax, str.from
mov qword [rsp + 0x28], rdx
lea r8, str.__s__s__s_
mov edx, 0xa0
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x30]
call fcn.14004e650
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004bf82
mov r10, qword [rdi + 0x258]
test r10, r10
je 0x14004bfb9
mov rax, qword [rdi + 0x1a8]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call r10
test eax, eax
je 0x14004bff1
jmp 0x14004c001
mov r9, qword [rdi + 0x1a0]
lea rcx, [0x14007c760]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x1a0]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, r14
mov r8, rbp
mov edx, esi
mov rcx, rdi
call fcn.14004c950
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400777e0
add rsp, 0xe0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14004c2f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14004c32b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov edx, 0x51
cmp eax, 0x2733
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14004c650
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
xor r10d, r10d
mov rdi, r9
cmp rdx, qword [rcx + 0x1d8]
mov rsi, r8
mov r14, rcx
sete r10b
movsxd rax, r10d
mov edx, r10d
mov rbx, qword [rcx + rax*8 + 0x1d0]
call fcn.14004c850
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
movsxd rdi, eax
cmp rdi, 0xffffffffffffffff
jne 0x14004c6f6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x14004c6ca
mov rcx, qword [rsp + 0x50]
lea eax, [rdi + 0x52]
mov qword [rcx], 0
jmp 0x14004c700
mov edx, eax
mov rcx, r14
call fcn.14003d290
mov rcx, qword [r14]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.14004c020
mov rax, qword [r14]
mov dword [rax + 0x883c], ebx
mov eax, gethostname
jmp 0x14004c6f8
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret