joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400298d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x140029af9
mov qword [r11 + 0x20], rsi
lea rsi, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x140029932
cmp r8, rbp
jae 0x140029ad6
movzx edx, byte [r8]
test dl, dl
je 0x140029ad6
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0xc3438]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x140029968
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x140029981
movzx r13d, byte [rax]
jmp 0x140029984
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x140029993
movzx r12d, byte [rax]
jmp 0x140029996
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x1400299a5
movzx r15d, byte [rax]
jmp 0x1400299a8
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0xc3458]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0xc3488]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0xc3470]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
lea rcx, [0x140000000]
mov ecx, dword [r10 + rcx + 0xc34a0]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x140029ab3
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x140029abd
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x140029ad6
mov word [rdi], si
add rdi, 2
lea rsi, [0x140000000]
cmp rdi, qword [rsp + 8]
jb 0x140029920
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x140029b0f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14002afe0
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 + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14002b087
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002b03a
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.1400393d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140038d70
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1409c44d8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002b08f
mov rcx, rbx
call fcn.140038d70
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140033900
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1409c44d0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x31fc], ecx
test rbx, rbx
je 0x14003396f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140033980
lea rdx, [0x1400c3648]
mov rcx, rbx
mov rdi, rax
call fcn.1400290f0
mov rbx, rax
test rax, rax
je 0x14003396a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x140036de0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [0x1409c44d0]
cmp byte [rbx + 0x31f8], 0
jne 0x140036f39
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140036f32
lea rdx, [0x1400c3644]
mov qword [rsp + 0x38], rdi
call fcn.1400290f0
mov rdi, rax
test rax, rax
je 0x140036f2d
mov qword [rsp + 0x40], r14
mov rcx, rax
mov qword [rsp + 0x30], rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140036f1a
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140036f1a
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbp, eax
cmp ebp, 0xffffffff
je 0x140036f1a
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140036f1a
mov r14, rbp
cmp rbp, 0xffffffffffffffff
je 0x140036f1a
mov rax, qword [0x1409c44d0]
test rax, rax
je 0x140036ea9
inc dword [rax + 0x3b0]
mov rdx, qword [0x1409c44e0]
mov rcx, r14
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x140036f1a
mov r9, rdi
mov r8, r14
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, r14
je 0x140036ee5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140036ef6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, r14
mov rcx, rbp
call fcn.14002aa20
mov rax, qword [0x1409c44d0]
test rax, rax
je 0x140036f08
dec dword [rax + 0x3b0]
mov rdx, qword [0x1409c44e0]
mov rcx, rbp
call qword [0x14014c008]
jmp 0x140036f23
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov byte [rbx + 0x31f8], 1
movss xmm0, dword [rbx + 0x31fc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140036f7c
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x31fc], xmm0
jb 0x140036f7c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140036f6b
call fcn.140033900
jmp 0x140036f72
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x31fc], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x14004ec90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1409c44d0]
mov r9, qword [rax + 0x2178]
mov r10, qword [rax + 0x1d18]
movsxd rax, dword [r9 + 0x74]
movups xmm0, xmmword [r9 + 0x18c]
movss xmm4, dword [r9 + 0x18c]
movss xmm3, dword [r9 + 0x190]
movss xmm2, dword [r9 + 0x194]
movss xmm1, dword [r9 + 0x198]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r8, rax, 0x68
mov rax, qword [r10 + 0x2f8]
add r8, qword [r9 + 0x10]
movups xmmword [r10 + 0x290], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2f8]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, byte [r8 + 0x57]
lea rcx, [r9 + 0x1e8]
mov rdx, qword [r10 + 0x2f8]
add rsp, 0x38
jmp fcn.140042c00

Function at 0x14004ed60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1409c44d0]
mov r9, qword [rax + 0x2178]
mov r10, qword [rax + 0x1d18]
movups xmm0, xmmword [r10 + 0x290]
movups xmmword [r9 + 0x18c], xmm0
mov rax, qword [r10 + 0x2f8]
movups xmm0, xmmword [r9 + 0x14c]
movss xmm4, dword [r9 + 0x14c]
movss xmm3, dword [r9 + 0x150]
movss xmm2, dword [r9 + 0x154]
movss xmm1, dword [r9 + 0x158]
movups xmmword [r10 + 0x290], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2f8]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x247]
lea rcx, [r9 + 0x1e8]
mov rdx, qword [r10 + 0x2f8]
add rsp, 0x38
jmp fcn.140042c00
Function at 0x14005c4c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x3f], 0
mov rbx, rcx
je 0x14005c4e6
xor eax, eax
lea r8d, [rax - 0x2c]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0x3e
jb 0x14005c4d1
mov byte [rdx + 0x3f], 0
call fcn.14005c260
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x14005ea60
Capabilities:
Encode data using xor
Get file size
Read file on windows
Write file on windows

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0xb4b7b9b6
xor eax, eax
mov dword [rsp + 0x24], 0xa8b3b5b3
mov dword [rsp + 0x28], 0xffe1fda8
mov word [rsp + 0x2c], 0xdf
mov byte [rsp + 0x2e], 1
nop word [rax + rax]
lea ecx, [rax - 0x2c]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0xd
jb 0x14005ea90
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x2e], 0
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, Ordinal_301
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0x38
jmp fcn.14006bda0
Function at 0x140067970
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rdi
sub rsp, 0x40
mov eax, dword [0x1409c4c78]
xor edi, edi
mov dword [0x1409c4c74], eax
mov rax, qword [0x1409c4cf8]
test rax, rax
jne 0x140067b84
mov rax, qword gs:[0x60]
mov r8d, edi
mov qword [rsp + 0x60], rbx
mov ebx, 0xf4d8b55
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x38], rsi
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov rsi, r12
mov eax, dword [rsi + 0x58]
sub ax, 8
test r8d, r8d
je 0x140067a1d
mov rcx, qword [rsi + 0x60]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r9, [rcx + rax*2]
cmp rcx, r9
je 0x140067a14
nop word [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r9
jne 0x140067a00
cmp edx, r8d
jne 0x140067b47
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x140067b47
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x140067b47
mov r14d, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov edx, 0x811c9dc5
lea rax, [r14 + r9*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140067a97
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140067a80
cmp edx, ebx
je 0x140067aa5
test r9d, r9d
jne 0x140067a60
jmp 0x140067b47
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
cmp rax, r11
jbe 0x140067b5f
lea rcx, [r15 + r11]
cmp rax, rcx
jae 0x140067b5f
movzx ecx, byte [rax]
mov r8d, 0x811c9dc5
mov dword [rsp + 0x58], r8d
mov edx, r8d
mov dword [rsp + 0x5c], edx
cmp cl, 0x2e
je 0x140067b0d
nop
movsx ecx, cl
inc rax
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140067af0
mov dword [rsp + 0x58], r8d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x140067b3a
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140067b20
mov dword [rsp + 0x5c], edx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [r12]
shr rbx, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140067b5c
cmp qword [rax + 0x30], rdi
jne 0x1400679d1
mov rax, rdi
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov qword [0x1409c4cf8], rax
call rax
mov ecx, dword [0x1409c4c74]
mov dword [0x1409c4c78], eax
test ecx, ecx
je 0x140067bdb
sub eax, ecx
cmp eax, 0x1770
jbe 0x140067bdb
mov dword [rsp + 0x50], 0xb2bbbc80
mov word [rsp + 0x54], 0x100
nop
lea eax, [rdi - 0x2c]
xor byte [rsp + rdi + 0x50], al
inc rdi
cmp rdi, 4
jb 0x140067bb0
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x55], 0
call fcn.140069a50
mov qword [0], 1
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x140067bf0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x140067c13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x140067c00
mov byte [rcx + 5], 0
mov rax, rcx
ret
Function at 0x140069800
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 [0x1409c4cc0]
test rax, rax
jne 0x140069a28
xor r9d, r9d
mov dword [rsp + 0x28], r9d
mov eax, 0xfaba0065
mov dword [rsp + 0x24], eax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
mov r11, qword [rdx]
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 r9d, r9d
je 0x1400698b6
mov rdx, qword [rsp + 0x60]
movzx ecx, cx
shr rcx, 1
lea r10, [rdx + rcx*2]
mov r8d, 0x811c9dc5
mov qword [rsp + 0x38], rdx
cmp rdx, r10
je 0x1400698ad
movsx ecx, byte [rdx]
xor ecx, r8d
imul r8d, ecx, 0x1000193
add rdx, 2
jmp 0x140069890
cmp r8d, r9d
jne 0x140069a01
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 r10d, r14d
add r10, rbx
mov qword [rsp + 0x70], r10
shr r14, 0x20
mov dword [rsp + 0x78], r14d
cmp r10, rbx
je 0x140069a01
mov edi, dword [r10 + 0x18]
mov dword [rsp + 0x20], edi
nop dword [rax + rax]
mov ecx, edi
dec edi
mov dword [rsp + 0x20], edi
test ecx, ecx
je 0x140069a01
mov edx, dword [r10 + 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 0x1400699f4
cmp edx, eax
jne 0x1400699ef
mov ecx, dword [r10 + 0x1c]
add rcx, rbx
mov eax, dword [r10 + 0x24]
add rax, rbx
movzx eax, word [rax + rdi*2]
mov edx, dword [rcx + rax*4]
add rdx, rbx
cmp rdx, r10
jbe 0x140069a1e
lea rax, [r10 + r14]
cmp rdx, rax
jae 0x140069a1e
mov r9d, 0x811c9dc5
mov dword [rsp + 0xa0], r9d
mov eax, r9d
mov dword [rsp + 0xa4], eax
mov r8d, eax
mov qword [rsp + 0x30], rdx
movsx ecx, byte [rdx]
cmp cl, 0x2e
je 0x1400699bc
xor ecx, r8d
imul r9d, ecx, 0x1000193
mov r8d, r9d
mov dword [rsp + 0xa0], r9d
inc rdx
jmp 0x140069995
inc rdx
mov qword [rsp + 0x30], rdx
movsx ecx, byte [rdx]
test cl, cl
je 0x1400699dc
xor ecx, eax
imul eax, ecx, 0x1000193
mov dword [rsp + 0xa4], eax
jmp 0x1400699bc
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], r9d
mov r11, qword [r15]
mov qword [rsp + 0x48], r11
jmp 0x140069a01
jmp 0x140069900
xor ecx, edx
imul edx, ecx, 0x1000193
jmp 0x140069930
mov r11, qword [r11]
mov rcx, r11
mov qword [rsp + 0x48], r11
cmp r11, r15
je 0x140069a1c
cmp qword [r11 + 0x30], 0
jne 0x140069860
xor edx, edx
mov qword [0x1409c4cc0], rdx
mov rax, rdx
mov ecx, 0x13333337
call rax
jmp 0x140069a33
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 0x140069a50
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
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdi, rcx
mov dword [rsp + 0x20], 0xb8a4a7b1
xor edx, edx
mov dword [rsp + 0x24], 0xfbe0f9aa
mov word [rsp + 0x28], 0x100
nop dword [rax]
lea eax, [rdx - 0x2c]
xor byte [rsp + rdx + 0x20], al
inc rdx
cmp rdx, 8
jb 0x140069a80
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x29], 0
mov rcx, rbx
call fcn.14005c260
mov rdx, rdi
mov rcx, rbx
call fcn.14005c260
lea rdx, [0x14005cc60]
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
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140069b47
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140069b47
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 0x140069b42
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140069b20
cmp r8d, 0x2fa62ca8
je 0x140069b4c
test r9d, r9d
jne 0x140069b00
mov rax, qword [rax]
jmp 0x140069ad0
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, 0xbb8
add rax, r10
call rax
mov rbx, qword [rsp + 0x40]
mov qword [0], 1
add rsp, 0x30
pop rdi
ret
Function at 0x140084270
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x1400842ce
mov dl, 1
call fcn.140074cc0
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140074cc0
mov eax, ebx
jmp 0x140084312
cmp ebx, 2
ja 0x140084310
mov r9, qword [rdi + 0x668]
lea rdx, [0x14012ecb8]
lea rcx, [rbx + rbx*2]
add rcx, rdx
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 + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140084330
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x1409c3db8]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x140084373
cmp qword [rcx + 0x678], 0
je 0x140084450
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.140087940
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400843a1
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1400843e8
cmp byte [rdi + 0x1597], 0
jne 0x1400843e8
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400843d0
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x140084448
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1400844a3
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x140084469
mov dl, 1
mov rcx, rdi
call fcn.140074cc0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140074cc0
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400be120
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x14012ecb8]
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 + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140084448
call fcn.1400be7c0
int3
Function at 0x1400844b0
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x140084616
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x1409c3db8]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x1400845fe
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140087940
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x140084571
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140084530
cmp byte [rax + rcx - 1], 0xa
jne 0x140084558
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x14008456c
lea r8, [0x1400c354c]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.140087840
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140084576
cmp qword [rdi + 0x718], 0
je 0x1400845be
mov dl, 1
mov rcx, rdi
call fcn.140074cc0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140074cc0
jmp 0x1400845f6
mov r9, qword [rdi + 0x668]
lea rcx, [0x14012ecb8]
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 + 0x668]
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 rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400be120
add rsp, 0x860
pop rdi
ret

Function at 0x1400846b0
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 0x1400846f2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
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