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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401b72dc
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401b734b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401b734b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401b734b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401b734b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401b734b
cmp dword [rcx + 0x84], 0xe
jbe 0x1401b734b
cmp dword [rcx + 0xf8], 0
je 0x1401b734b
mov ecx, ebx
call fcn.1401b7214
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401b7470
nop
cmp dword [rbp + 0x20], 0
je 0x1401b7399
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401b72a8
int3

Function at 0x1401bf378
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140009d60
sub rsp, rax
mov rax, qword [0x14026f700]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1401b96a4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1401bf3c7
mov rax, rbp
jmp 0x1401bf4cf
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x27eb90]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1401cd59c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x27eb90]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1401bf4cb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401bf4cb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1401cd59c
test rax, rax
js 0x1401bf4cb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1401bf4cb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1401bf4bd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1401bf4bd
cmp byte [rcx], 0xd
jne 0x1401bf4a3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1401bf4b2
cmp byte [rcx + 1], 0xa
jne 0x1401bf4b2
inc rcx
jmp 0x1401bf4b2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x271ba0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401bf485
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1401bf4cf
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140009dc0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401c0af0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x1401c0b0d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401c0b68
test al, 7
jne 0x1401c0b00
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1401c0b21
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401c0b92
test dh, dh
je 0x1401c0b8c
shr rdx, 0x10
test dl, dl
je 0x1401c0b86
test dh, dh
je 0x1401c0b80
shr rdx, 0x10
test dl, dl
je 0x1401c0b7a
test dh, dh
je 0x1401c0b74
shr edx, 0x10
test dl, dl
je 0x1401c0b6e
test dh, dh
jne 0x1401c0b21
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1401c1b00
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401c1b28
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401c1b28
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1401ccb30
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1401c52ac
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1401ccbd1
cmp ebx, dword [rsp + 0x30]
je 0x1401ccbca
test esi, esi
je 0x1401ccbca
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1401ccba5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1401ccbb2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1401ccb8f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1401ccbb6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1401ccbd3
mov eax, 1
jmp 0x1401ccbd3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401cd770
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1401cd7f7
mov rsi, rbx
cmp word [rax], bp
je 0x1401cd7b6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401cd7a0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401cd79c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401c507c
mov rdi, rax
test rax, rax
je 0x1401cd7e4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401d61d0
mov rbp, rdi
xor ecx, ecx
call fcn.1401c5040
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401cfe54
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401cfe6a
mov al, 1
jmp 0x1401cfeca
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401cfe7b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401cfec8
mov ecx, dword [rcx + 0x18]
nop
call fcn.1401b99d4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401cfec8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401cfec8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401cfec8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401cfeca
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1401d0800
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14027eb90]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1401d0857
cmp word [rdx], r13w
jne 0x1401d0857
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1401d085c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1401d0981
mov r11d, recv
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1401d09a2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1401d0895
mov rdx, r9
mov word [rbx], cx
jmp 0x1401d08bc
cmp r9, r8
jae 0x1401d08cc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1401d0876
jmp 0x1401d0981
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401d0976
cmp dword [rsp + 0x80], esi
je 0x1401d0976
lea r8, [0x14027eb90]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1401d094e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1401d091e
mov word [rbx], r13w
jmp 0x1401d097e
mov ecx, recv
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1401d092b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1401d097e
cmp word [rsp + 0x70], r13w
jne 0x1401d095b
cmp rbx, r14
je 0x1401d0918
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1401cd4f8
cmp word [rsp + 0x70], r13w
je 0x1401d0981
mov ecx, recv
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14027eb90]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1401d097b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1401d0981
Function at 0x140001874
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400dc020]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
mov word [rbp - 0x30], 0x656b
mov dword [rbp - 0x2b], 0x32336c
mov word [rbp - 0x2d], 0x656e
mov byte [rbp - 0x2e], WSACleanup
mov dword [rbp - 0x20], 0x45746553
mov dword [rbp - 0x1c], 0x746e6576
mov byte [rbp - 0x18], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e4330], rax
test rax, rax
je 0x1400018f5
mov rcx, qword [0x1400e4310]
call rax
and dword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 1]
call fcn.14000a48c
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140026bb0
add rsp, 0x60
pop rbp
ret
Function at 0x14000433c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1400dc020]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x24], 0
lea rdx, [0x1400d1a28]
call fcn.140023e68
mov dword [rsp + 0x24], 1
mov esi, 0x104
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140028c20
mov dword [rsp + 0x3c], 0x6b636954
mov dword [rsp + 0x38], 0x5f4f5353
mov word [rsp + 0x41], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x40], 0x65
or r9, 0xffffffffffffffff
lea r8, str.1af3edf2e0db4686841b9423a14fb240
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.140034a4c
or r9, 0xffffffffffffffff
lea r8, [rsp + 0x38]
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.140034b3c
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.140034c2c
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e2a0
mov dword [rsp + 0x31], 0x25783830
mov byte [rsp + 0x30], 0x25
mov word [rsp + 0x35], reloc.WS2_32.dll_WSAStartup
mov dword [rsp + 0x20], 0x74745f
lea r9, [rsp + 0x20]
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140022e30
mov rax, rbx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140026bb0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140004454
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400dc020]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov ecx, 0x2710
call fcn.14001f860
call fcn.14000f254
mov word [rsp + 0x43], WSASetLastError
mov dword [rsp + 0x3a], 0x6c656e72
mov dword [rsp + 0x3e], 0x642e3233
mov word [rsp + 0x38], 0x656b
mov byte [rsp + 0x42], WSASetLastError
call fcn.14000a580
call fcn.14001c5d8
mov rax, qword [0x1400dd488]
lea rdi, [0x1400dd478]
or rbx, 0xffffffffffffffff
cmp eax, ebx
jge 0x140004508
cmp rax, rbx
jb 0x1400044f0
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
mov rax, rdi
mov qword [0x1400dd488], rbx
cmovae rax, qword [0x1400dd478]
mov byte [rax - 1], 0
jmp 0x140004501
not rax
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.1400239dc
mov rax, qword [0x1400dd488]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
mov rax, rdi
cmovae rax, qword [0x1400dd478]
mov rcx, rax
call fcn.140004698
mov r8, qword [reloc.WS2_32.dll_ntohs]
mov rax, rdi
mov rcx, qword [0x1400dd478]
cmp r8, 0x10
jb 0x140004546
mov rax, rcx
test rcx, rcx
jne 0x140004546
xor ebx, ebx
jmp 0x14000454f
inc rbx
cmp byte [rax + rbx], 0
jne 0x140004546
mov rax, qword [0x1400dd488]
movsxd rdx, ebx
cmp rdx, rax
ja 0x140004573
cmp r8, 0x10
mov qword [0x1400dd488], rdx
cmovae rdi, rcx
mov byte [rdi + rdx], 0
jmp 0x140004581
sub rdx, rax
xor r8d, r8d
mov rcx, rdi
call fcn.1400239dc
and dword [rsp + 0x30], 0
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x104
call fcn.140028c20
lea rdx, [rsp + 0x60]
call fcn.140007ea4
test eax, eax
je 0x1400045c3
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x60]
mov r9d, 0x20
lea rcx, [rsp + 0x30]
xor r8d, r8d
call fcn.140034628
and dword [rsp + 0x34], 0
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov word [rsp + 0x51], 0x6165
mov word [rsp + 0x4e], 0x6854
mov dword [rsp + 0x49], 0x74616572
mov word [rsp + 0x53], 0x64
mov byte [rsp + 0x48], 0x43
mov byte [rsp + 0x50], WSACleanup
mov byte [rsp + 0x4d], 0x65
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e4348], rax
test rax, rax
je 0x14000466f
cmp qword [0x1400e4300], 0
jne 0x14000466a
lea rcx, [rsp + 0x34]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
lea r8, [0x1400154ac]
and dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
call rax
mov qword [0x1400e4300], rax
test rax, rax
jne 0x14000466a
mov ecx, 0xbb8
call fcn.14001f860
inc ebx
cmp ebx, 3
jge 0x14000466a
mov rax, qword [0x1400e4348]
jmp 0x14000461b
mov eax, 1
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140026bb0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000493c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400dc020]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r14b, r14b
mov r15, rcx
test rcx, rcx
je 0x140004b84
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
and dword [rsp + 0x44], 0
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x40], 4
call fcn.14000f690
mov r12d, eax
mov dword [rsp + 0x60], 0x130
call fcn.140012e38
mov rsi, rax
cmp rax, rdi
je 0x140004b7f
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140012ecc
cmp eax, 1
jne 0x140004b77
lea rdx, [rbp - 0x74]
mov dword [rbp + 0x197], 0x78652e72
lea rcx, [rbp + 0x190]
mov dword [rbp + 0x190], 0x6c707865
mov word [rbp + 0x195], 0x6572
mov word [rbp + 0x19b], 0x65
mov byte [rbp + 0x194], reloc.WS2_32.dll_WSAGetLastError
call fcn.140033be0
test eax, eax
jne 0x140004aaf
mov r8d, dword [rsp + 0x68]
call fcn.14001facc
mov rbx, rax
test rax, rax
je 0x140004aaf
lea r8, [rsp + 0x38]
mov edx, 8
mov rcx, rax
call fcn.14001fb68
test eax, eax
je 0x140004aa7
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x44]
mov edx, listen
mov qword [rsp + 0x20], rax
call fcn.14000822c
test eax, eax
je 0x140004a73
cmp r12d, dword [rsp + 0x44]
je 0x140004ac1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140004a88
call fcn.140007a70
and qword [rsp + 0x38], 0
mov rcx, rbx
call fcn.140007a70
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140004aaf
call fcn.140007a70
and qword [rsp + 0x38], 0
jmp 0x140004aaf
mov rcx, rbx
call fcn.140007a70
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140007af4
jmp 0x1400049cb
and dword [rsp + 0x48], 0
lea rcx, [rbp + 0x90]
mov r12d, 0x100
xor edx, edx
mov r8d, r12d
call fcn.140028c20
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x48]
mov r9d, r12d
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x90]
mov edx, 1
call fcn.14000822c
test eax, eax
je 0x140004b5a
mov rcx, qword [rbp + 0x90]
lea rdx, [rsp + 0x50]
call fcn.14001fc1c
test eax, eax
je 0x140004b5a
mov rcx, qword [rsp + 0x50]
inc rdi
cmp byte [rcx + rdi], r14b
jne 0x140004b1e
mov edx, 0x104
cmp rdi, rdx
jae 0x140004b55
mov r9, rcx
mov word [rsp + 0x31], reloc.WS2_32.dll_WSAStartup
mov rcx, r15
mov byte [rsp + 0x30], 0x25
lea r8, [rsp + 0x30]
call fcn.140023214
mov rcx, qword [rsp + 0x50]
mov r14b, 1
call fcn.140013728
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140004b6f
call fcn.140007a70
and qword [rsp + 0x38], 0
mov rcx, rbx
call fcn.140007a70
mov rcx, rsi
call fcn.140007a70
mov al, r14b
jmp 0x140004b86
xor al, al
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140026bb0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400074bc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp byte [rcx + 8], 0
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x1400075ce
test r9, r9
je 0x1400075ab
movsxd rcx, dword [rcx + 0x3d0]
xor edx, edx
mov rax, r9
div rcx
test rdx, rdx
jne 0x1400075ab
mov rax, r9
xor r15d, r15d
div rcx
test rax, rax
je 0x140007592
lea r14, [rbx + 0x3f8]
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.140006cf8
cmp byte [rbx + 8], 0
mov rcx, rsi
je 0x1400075f1
mov eax, dword [rbx + 0x3d0]
xor r8d, r8d
test eax, eax
jle 0x140007564
mov rdx, r14
sub rdx, rsi
mov al, byte [rdx + rcx]
inc r8d
xor byte [rcx], al
inc rcx
mov eax, dword [rbx + 0x3d0]
cmp r8d, eax
jl 0x14000754e
movsxd r8, eax
mov rdx, rbp
mov rcx, r14
call fcn.140028de0
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, rdi
inc r15d
div rcx
add rbp, rcx
add rsi, rcx
movsxd rcx, r15d
cmp rcx, rax
jb 0x140007520
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
mov rdx, qword [0x1400e43f8]
lea rcx, [rsp + 0x20]
call fcn.140020eb0
lea rdx, [0x1400da0f8]
lea rcx, [rsp + 0x20]
call fcn.140029970
int3
mov rdx, qword [0x1400e4368]
lea rcx, [rsp + 0x20]
call fcn.140020eb0
lea rdx, [0x1400da0f8]
lea rcx, [rsp + 0x20]
call fcn.140029970
int3
mov rdx, qword [0x1400e4368]
lea rcx, [rsp + 0x20]
call fcn.140020eb0
lea rdx, [0x1400da0f8]
lea rcx, [rsp + 0x20]
call fcn.140029970
int3

Function at 0x140007774
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400dc020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, qword [rbp + 0x50]
mov r14d, r9d
mov rsi, rdx
mov edi, 1
call fcn.140012dd8
mov rbx, rax
test rax, rax
je 0x140007806
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x4f676552
mov rcx, rax
mov word [rbp - 0x1c], 0x6570
mov dword [rbp - 0x19], 0x4579654b
mov word [rbp - 0x14], 0x57
mov byte [rbp - 0x1a], WSASetLastError
mov byte [rbp - 0x15], 0x78
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400077fe
mov r9d, r14d
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rdx, rsi
mov rcx, 0xffffffff80000002
call rax
mov edi, eax
mov rcx, rbx
call fcn.140012c50
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140026bb0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007830
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400dc020]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov dword [rbp - 0x16], 0x6d756c6f
or rbx, 0xffffffffffffffff
mov word [rbp - 0x1d], 0x4664
mov word [rbp - 0x20], 0x6946
mov dword [rbp - 0x1b], 0x74737269
mov word [rbp - 0x12], 0x5765
mov byte [rbp - 0x1e], WSASetLastError
mov byte [rbp - 0x10], 0
mov byte [rbp - 0x17], 0x56
call fcn.140012d7c
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400078a7
mov edx, 0x104
mov rcx, rdi
call rax
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140026bb0
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret

Function at 0x1400078cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400dc020]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov word [rbp - 0x19], 0x6d65
mov word [rbp - 0x16], 0x6d69
mov dword [rbp - 0xe], 0x6d695465
mov word [rbp - 0xa], 0x65
mov word [rbp - 0x1b], 0x7473
mov dword [rbp - 0x20], 0x53746547
mov dword [rbp - 0x13], 0x69467341
mov byte [rbp - 0x14], 0x65
mov byte [rbp - 0x17], 0x54
mov byte [rbp - 0x1c], 0x79
mov byte [rbp - 0xf], WSAGetLastError
call fcn.140012d7c
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140007943
mov rcx, rbx
call rax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140026bb0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret

Function at 0x1400079b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400dc020]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x20]
mov word [rbp - 0x1a], 0x642e
mov word [rbp - 0x1d], 0x3372
mov word [rbp - 0x20], 0x7355
mov word [rbp - 0x17], WSASetLastError
mov byte [rbp - 0x1e], 0x65
mov byte [rbp - 0x1b], 0x32
mov byte [rbp - 0x18], WSAGetLastError
call fcn.140014140
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140026bb0
add rsp, 0x40
pop rbp
ret

Function at 0x140007a10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400dc020]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x20]
mov word [rbp - 0x1f], 0x6568
mov byte [rbp - 0x20], 0x53
mov word [rbp - 0x16], WSASetLastError
mov word [rbp - 0x1c], 0x336c
mov word [rbp - 0x19], 0x642e
mov byte [rbp - 0x17], WSAGetLastError
mov byte [rbp - 0x1d], WSAGetLastError
mov byte [rbp - 0x1a], 0x32
call fcn.140014140
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140026bb0
add rsp, 0x40
pop rbp
ret