joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140073ee0
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 0x140074109
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 0x140073f42
cmp r8, rbp
jae 0x1400740e6
movzx edx, byte [r8]
test dl, dl
je 0x1400740e6
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0x1154c8]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x140073f78
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x140073f91
movzx r13d, byte [rax]
jmp 0x140073f94
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x140073fa3
movzx r12d, byte [rax]
jmp 0x140073fa6
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x140073fb5
movzx r15d, byte [rax]
jmp 0x140073fb8
xor r15b, r15b
lea r11, [r9*4]
movzx eax, r14b
mov esi, dword [r11 + rsi + 0x1154e8]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r10d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r10d
and eax, 0x3f
shr r10d, 2
or r10d, edx
shl esi, 6
or esi, eax
shr r10d, 2
or r10d, r9d
lea rax, [0x140000000]
mov ecx, dword [r11 + rax + 0x115518]
shr r10d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r11 + rax + 0x115500]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r10d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r10d, edx
cmp esi, 0xffff
cmova eax, ecx
or r10d, eax
lea rax, [0x140000000]
mov ecx, dword [r11 + rax + 0x115530]
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x1400740c3
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 0x1400740cd
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x1400740e6
mov word [rdi], si
add rdi, 2
lea rsi, [0x140000000]
cmp rdi, qword [rsp + 8]
jb 0x140073f30
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 0x14007411f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140075a10
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 + 0x55d0], 0
lea rbx, [rcx + 0x55d8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140075ab7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140075a6a
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.1400873b0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140086d50
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x55d0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x55e0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14015c810]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140075abf
mov rcx, rbx
call fcn.140086d50
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14007fbb0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14015c808]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x556c], ecx
test rbx, rbx
je 0x14007fc1f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.14007fc30
lea rdx, [0x140115fb8]
mov rcx, rbx
mov rdi, rax
call fcn.140073580
mov rbx, rax
test rax, rax
je 0x14007fc1a
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 0x140084370
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x14015c808]
cmp byte [rbx + 0x5568], 0
jne 0x1400844ca
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400844c3
lea rdx, [0x140115fb4]
mov qword [rsp + 0x40], rdi
call fcn.140073580
mov rdi, rax
test rax, rax
je 0x1400844be
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400844ab
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 0x1400844ab
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400844ab
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400844ab
cmp rsi, 0xffffffffffffffff
je 0x1400844ab
mov rax, qword [0x14015c808]
test rax, rax
je 0x140084435
inc dword [rax + 0xf4]
mov rdx, qword [0x14015c818]
mov rcx, rsi
call qword [0x140157228]
mov rbp, rax
test rax, rax
je 0x1400844ab
mov r9, rdi
mov r8, rsi
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, rsi
je 0x140084471
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140084487
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140084487
mov rdx, rsi
mov rcx, rbp
call fcn.140075500
mov rax, qword [0x14015c808]
test rax, rax
je 0x140084499
dec dword [rax + 0xf4]
mov rdx, qword [0x14015c818]
mov rcx, rbp
call qword [0x140157230]
jmp 0x1400844b4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5568], 1
movss xmm0, dword [rbx + 0x556c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14008450d
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x556c], xmm0
jb 0x14008450d
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400844fc
call fcn.14007fbb0
jmp 0x140084503
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x556c], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14009d650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14015c808]
mov rcx, qword [rax + 0x44b8]
mov r10, qword [rax + 0x3fe0]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x2c0]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x258], 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 + 0x2c0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x2c0]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp fcn.1400905f0

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

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14015c808]
mov rcx, qword [rax + 0x44b8]
mov r9, qword [rax + 0x3fe0]
movups xmm0, xmmword [r9 + 0x258]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x2c0]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x258], 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 [r9 + 0x2c0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x207]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x2c0]
add rsp, 0x38
jmp fcn.1400905f0
Function at 0x1400c3060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rdx, r8
je 0x1400c316f
push rbx
sub rsp, 0x20
mov qword [rsp + 0x30], rdi
mov r11, r8
lea rdi, [0x140000000]
mov r10, rdx
mov rbx, rcx
movzx edx, byte [r10 + 9]
movzx eax, dl
and al, 7
cmp al, 3
jne case.0x1400c30ca.8
xor dl, 7
mov byte [r10 + 9], dl
test dl, 0x20
je case.0x1400c30ca.8
movzx eax, byte [r10 + 8]
add eax, 0xfffffffc
cmp eax, 0x22
ja case.0x1400c30ca.8
cdqe
movzx eax, byte [rdi + rax + 0xc3184]
mov ecx, dword [rdi + rax*4 + 0xc3170]
add rcx, rdi
jmp rcx
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
jmp case.0x1400c30ca.8
mov rcx, qword [r10 + 0x10]
lea rax, [r10 + 0x18]
cmp rcx, rax
je 0x1400c30ed
and dl, 0xc7
jmp 0x1400c30f3
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
test byte [rcx + 8], 0x40
je case.0x1400c30ca.8
mov rdx, qword [rcx]
test byte [rdx + 9], 0x18
je case.0x1400c30ca.8
mov rcx, rbx
call fcn.1400c3790
jmp case.0x1400c30ca.8
cmp word [r10 + 0xa], 0
jne case.0x1400c30ca.5
mov rdx, qword [r10 + 0x18]
test rdx, rdx
je 0x1400c312f
test byte [rdx + 9], 0x18
je 0x1400c312f
mov rcx, rbx
call fcn.1400c3790
and byte [r10 + 9], 0xe7
or byte [r10 + 9], 0x20
jmp case.0x1400c30ca.8
mov rcx, r10
call fcn.1400c2610
mov rcx, qword [rbx + 0x88]
mov qword [rax], rcx
mov qword [rbx + 0x88], r10
and byte [r10 + 9], 0xc7
mov r10, qword [r10]
cmp r10, r11
jne 0x1400c3083
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x1400c4c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov eax, 1
movzx ecx, byte [rdx + 0xb]
mov rdi, rdx
shl eax, cl
mov rcx, rdx
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rsi, [rax + r8*8]
call fcn.1400d6fe0
test eax, eax
je 0x1400c4cd8
xor r10d, r10d
mov r11d, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x1400c4cce
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x1400c4cce
mov rcx, rbx
call fcn.1400c3790
add r10, 0x10
sub r11, 1
jne 0x1400c4cb0
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x1400c4d2f
test byte [r10 + 8], 0xf
movzx eax, byte [r10 + 9]
jne 0x1400c4cf8
test al, 0x40
je 0x1400c4d26
mov byte [r10 + 9], ntohl
jmp 0x1400c4d26
test al, 0x40
je 0x1400c4d0e
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x1400c4d0e
mov rcx, rbx
call fcn.1400c3790
test byte [r10 + 8], 0x40
je 0x1400c4d26
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x1400c4d26
mov rcx, rbx
call fcn.1400c3790
add r10, 0x18
cmp r10, rsi
jb 0x1400c4ce1
movzx eax, byte [rdi + 9]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x1400c4d6b
mov rcx, rdi
call fcn.1400c2610
mov rcx, qword [rbx + 0x90]
mov qword [rax], rcx
mov qword [rbx + 0x90], rdi
and byte [rdi + 9], 0xc7
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp cl, 6
jne 0x1400c4d75
xor al, 2
mov byte [rdi + 9], al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c5be0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x140158638]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r13d, r8d
mov rbp, rdx
mov rbx, rcx
call fcn.1400b3630
mov rcx, rbp
mov r15d, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_clearerr]
mov rcx, rbx
sub r15d, 1
jne 0x1400c5c5e
mov r8d, 1
mov rdx, rbp
call fcn.1400c6440
mov esi, eax
lea r14d, [r13 + 1]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
je 0x1400c5df6
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400b57c0
jmp 0x1400c5e13
lea edx, [r15 + 0x14]
lea r8, str.too_many_arguments
call fcn.1400b54a0
mov esi, 1
mov r14d, r13d
dec r15d
test esi, esi
je 0x1400c5c3b
mov edx, r14d
mov rcx, rbx
call fcn.1400b48b0
mov edx, r14d
mov rcx, rbx
cmp eax, 3
jne 0x1400c5d25
call fcn.1400b5260
mov rdi, rax
test rax, rax
jne 0x1400c5cd7
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getc]
mov ecx, eax
mov rdx, rbp
mov edi, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ungetc]
lea rdx, [0x1400ec608]
mov rcx, rbx
call fcn.1400b3cf0
xor esi, esi
cmp edi, 0xffffffff
setne sil
jmp 0x1400c5dd4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400b51b0
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400b6210
mov r9, rbp
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov rdi, rax
call fcn.1400b6220
xor esi, esi
test rdi, rdi
setne sil
jmp 0x1400c5dd4
xor r8d, r8d
call fcn.1400b52f0
movzx ecx, byte [rax]
cmp cl, 0x2a
jne 0x1400c5d39
movzx ecx, byte [rax + 1]
cmp cl, 0x4c
je 0x1400c5dc4
cmp cl, 0x61
je 0x1400c5d6a
cmp cl, 0x6c
je 0x1400c5d62
cmp cl, 0x6e
mov rcx, rbx
jne 0x1400c5de5
mov rdx, rbp
call fcn.1400c6570
jmp 0x1400c5dd2
mov r8d, 1
jmp 0x1400c5dc7
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400b51b0
nop word [rax + rax]
mov edx, 0x400
lea rcx, [rsp + 0x20]
call fcn.1400b6210
mov r9, rbp
mov edx, 1
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add qword [rsp + 0x30], rax
cmp rax, 0x400
je 0x1400c5d80
lea rcx, [rsp + 0x20]
call fcn.1400b6220
mov esi, 1
jmp 0x1400c5dd4
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.1400c6440
mov esi, eax
inc r14d
test r15d, r15d
jne 0x1400c5c76
jmp 0x1400c5c3b
lea r8, str.invalid_format
mov edx, r14d
call fcn.1400b50a0
jmp 0x1400c5e13
test esi, esi
jne 0x1400c5e0d
lea edx, [rsi - 2]
mov rcx, rbx
call fcn.1400b43e0
mov rcx, rbx
call fcn.1400b3cc0
sub r14d, r13d
mov eax, r14d
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400e4f50
add rsp, 0x450
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400ca770
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rsi
push r15
sub rsp, 0x478
mov rax, qword [0x140158638]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov qword [r11 - 0x18], rbx
mov r15, rdx
mov qword [r11 - 0x20], rbp
lea rdx, str._s_s
mov qword [r11 - 0x28], rdi
mov rbx, r8
mov qword [r11 - 0x30], r14
mov rsi, rcx
mov r14, r9
lea r9, str._5_4
call fcn.1400b3bd0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
test rax, rax
jne 0x1400ca7e4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
test rax, rax
je 0x1400ca909
lea r8, str.LUA_NOENV
mov edx, 0xfff0b9d8
mov rcx, rsi
call fcn.1400b33c0
mov edx, 0xffffffff
mov rcx, rsi
call fcn.1400b45a0
mov edx, 0xfffffffe
mov rcx, rsi
mov ebx, eax
call fcn.1400b43e0
test ebx, ebx
jne 0x1400ca909
lea rdx, [0x14011cb6c]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strstr
mov rbp, rax
test rax, rax
jne 0x1400ca83b
mov rdx, rdi
jmp 0x1400ca90c
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400ca842
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400b51b0
cmp rdi, rbp
jae 0x1400ca89e
mov r8, rbp
lea rcx, [rsp + 0x20]
sub r8, rdi
mov rdx, rdi
call fcn.1400b4f60
mov rcx, qword [rsp + 0x30]
cmp rcx, qword [rsp + 0x28]
jb 0x1400ca890
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.1400b6210
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov byte [rax + rcx], 0x3b
inc qword [rsp + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.1400b4fb0
lea rax, [rdi - 2]
add rax, rbx
cmp rbp, rax
jae 0x1400ca8fd
mov rcx, qword [rsp + 0x30]
cmp rcx, qword [rsp + 0x28]
jb 0x1400ca8d7
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.1400b6210
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
lea rdx, [rbp + 2]
sub rbx, rbp
mov byte [rax + rcx], 0x3b
lea rcx, [rsp + 0x20]
inc qword [rsp + 0x30]
lea r8, [rbx - 2]
add r8, rdi
call fcn.1400b4f60
lea rcx, [rsp + 0x20]
call fcn.1400b6220
jmp 0x1400ca914
mov rdx, r14
mov rcx, rsi
call fcn.1400b3cf0
mov r8d, 0x105
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov r14, qword [rsp + 0x458]
mov rdi, qword [rsp + 0x460]
mov rbp, qword [rsp + 0x468]
mov rbx, qword [rsp + 0x470]
test eax, eax
je 0x1400ca9af
cmp eax, 0x105
je 0x1400ca9af
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400ca9af
xor r8d, r8d
mov byte [rax], 0
mov rcx, rsi
lea edx, [r8 - 1]
call fcn.1400b46a0
mov rdx, rax
lea r9, [rsp + 0x20]
lea r8, [0x14011cb30]
mov rcx, rsi
call fcn.1400b5970
mov edx, 0xfffffffe
mov rcx, rsi
lea r8d, [rdx + 1]
call fcn.1400b3fe0
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.1400b43e0
jmp 0x1400ca9be
lea rdx, str.unable_to_get_ModuleFileName
mov rcx, rsi
call fcn.1400b5670
mov r8, r15
mov edx, 0xfffffffd
mov rcx, rsi
call fcn.1400b40d0
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.1400b43e0
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400e4f50
add rsp, 0x478
pop r15
pop rsi
ret
Function at 0x1400cb7d0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x140158638]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rsi, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
call fcn.1400cac00
mov r9, rax
test rax, rax
je 0x1400cb822
mov r8, qword [rsp + 0x20]
mov al, 3
sub r9, rbx
mov qword [rsi], r8
mov byte [rsi + 8], al
lea rax, [r9 + 1]
jmp 0x1400cb997
lea rdx, [0x14011ce50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x1400cb85a
movzx edi, byte [rax]
or edi, 0x20
cmp edi, 0x6e
je 0x1400cb995
cmp edi, 0x78
jne 0x1400cb85c
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400cbae0
jmp 0x1400cb86a
xor edi, edi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtod]
mov rax, qword [rsp + 0x20]
lea rbp, [0x14011b900]
cmp rax, rbx
je 0x1400cb8b4
movzx ecx, byte [rax]
test byte [rcx + rbp + 1], 8
je 0x1400cb8a2
nop word [rax + rax]
inc rax
mov qword [rsp + 0x20], rax
movzx ecx, byte [rax]
test byte [rcx + rbp + 1], 8
jne 0x1400cb890
xor r9d, r9d
test cl, cl
cmove r9, rax
test r9, r9
jne 0x1400cb983
mov edx, 0x2e
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov r8, rax
test rax, rax
je 0x1400cb995
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400cb8d4
cmp rcx, 0xc8
ja 0x1400cb995
lea rdx, [rsp + 0x30]
mov rcx, rbx
sub rdx, rbx
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400cb900
sub r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov byte [rsp + r8 + 0x30], 0x2e
cmp edi, 0x78
jne 0x1400cb92d
call fcn.1400cbae0
jmp 0x1400cb933
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtod]
mov rax, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
cmp rax, rcx
je 0x1400cb995
movzx ecx, byte [rax]
test byte [rcx + rbp + 1], 8
je 0x1400cb962
nop dword [rax]
inc rax
mov qword [rsp + 0x20], rax
movzx ecx, byte [rax]
test byte [rcx + rbp + 1], 8
jne 0x1400cb950
xor r9d, r9d
test cl, cl
cmove r9, rax
test r9, r9
je 0x1400cb995
lea rcx, [rsp + 0x30]
mov rax, rbx
sub rax, rcx
add r9, rax
test r9, r9
je 0x1400cb995
mov al, reloc.WS2_32.dll_send
movsd qword [rsi], xmm0
sub r9, rbx
mov byte [rsi + 8], al
lea rax, [r9 + 1]
jmp 0x1400cb997
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400e4f50
mov rbx, qword [rsp + 0x140]
add rsp, 0x110
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400cbae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov qword [rdx], rcx
movzx eax, byte [rcx]
lea r15, [0x14011b900]
mov r14, rdx
xorps xmm1, xmm1
mov r10d, ebx
mov edi, ebx
mov r9d, ebx
mov r11d, ebx
test byte [rax + r15 + 1], 8
je 0x1400cbb2f
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 1]
inc rcx
test byte [rax + r15 + 1], 8
jne 0x1400cbb20
mov qword [rsp + 0x60], rbp
lea rdx, [rcx + 1]
mov esi, 1
cmp al, 0x2d
jne 0x1400cbb45
mov ebp, esi
jmp 0x1400cbb4d
cmp al, 0x2b
mov ebp, ebx
cmovne rdx, rcx
cmp byte [rdx], 0x30
jne 0x1400cbc85
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x1400cbc85
movsd xmm2, qword [0x14011ceb8]
add rdx, 2
movzx r8d, byte [rdx]
movsx rcx, r8b
cmp ecx, 0x2e
jne 0x1400cbb8a
test r11d, r11d
jne 0x1400cbbdf
mov r11d, esi
inc rdx
jmp 0x1400cbb70
test byte [r8 + r15 + 1], 0x10
je 0x1400cbbdf
test r10d, r10d
jne 0x1400cbba1
cmp r8b, 0x30
jne 0x1400cbba1
inc edi
jmp 0x1400cbbd2
inc r10d
cmp r10d, 0x1e
jg 0x1400cbbcf
test byte [rcx + r15 + 1], 2
je 0x1400cbbb7
add ecx, 0xffffffd0
jmp 0x1400cbbbd
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1400cbbd2
inc r9d
test r11d, r11d
je 0x1400cbbda
dec r9d
inc rdx
jmp 0x1400cbb70
lea eax, [rdi + r10]
test eax, eax
je 0x1400cbc85
mov qword [r14], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x1400cbc5d
movzx ecx, byte [rdx + 1]
cmp cl, 0x2d
jne 0x1400cbc0f
mov eax, 2
jmp 0x1400cbc1d
cmp cl, 0x2b
mov rax, rbx
mov esi, ebx
sete al
inc rax
lea r8, [rdx + rax]
movzx edx, byte [rdx + rax]
test byte [rdx + r15 + 1], 2
je 0x1400cbc85
nop dword [rax]
movsx eax, dl
lea ebx, [rbx + rbx*4]
inc r8
lea ebx, [rbx - 0x18]
lea ebx, [rax + rbx*2]
movzx eax, byte [r8]
movzx edx, al
test byte [rax + r15 + 1], 2
jne 0x1400cbc30
mov eax, ebx
mov qword [r14], r8
neg eax
test esi, esi
cmove eax, ebx
add r9d, eax
test ebp, ebp
je 0x1400cbc68
xorps xmm1, xmmword [0x14011af10]
mov edx, r9d
movaps xmm0, xmm1
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbx
jmp qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
mov rbp, qword [rsp + 0x60]
xorps xmm0, xmm0
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400d1a40
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
mov r9, rcx
xor eax, r8d
test rdx, rdx
je 0x1400d1a6f
nop dword [rax]
movzx r8d, byte [r9 + rdx - 1]
mov ecx, eax
shl ecx, 5
add r8d, ecx
mov ecx, eax
shr ecx, 2
add r8d, ecx
xor eax, r8d
sub rdx, 1
jne 0x1400d1a50
ret