joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140094ac0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1401d4a78]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x556c], ecx
test rbx, rbx
je 0x140094b2f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140094b40
lea rdx, [0x14017a2b8]
mov rcx, rbx
mov rdi, rax
call fcn.140088590
mov rbx, rax
test rax, rax
je 0x140094b2a
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 0x140099280
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x1401d4a78]
cmp byte [rbx + 0x5568], 0
jne 0x1400993da
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400993d3
lea rdx, [0x14017a2b4]
mov qword [rsp + 0x40], rdi
call fcn.140088590
mov rdi, rax
test rax, rax
je 0x1400993ce
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 0x1400993bb
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 0x1400993bb
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400993bb
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 0x1400993bb
cmp rsi, 0xffffffffffffffff
je 0x1400993bb
mov rax, qword [0x1401d4a78]
test rax, rax
je 0x140099345
inc dword [rax + 0xf4]
mov rdx, qword [0x1401d4a88]
mov rcx, rsi
call qword [0x1401cf228]
mov rbp, rax
test rax, rax
je 0x1400993bb
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 0x140099381
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140099397
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140099397
mov rdx, rsi
mov rcx, rbp
call fcn.14008a4c0
mov rax, qword [0x1401d4a78]
test rax, rax
je 0x1400993a9
dec dword [rax + 0xf4]
mov rdx, qword [0x1401d4a88]
mov rcx, rbp
call qword [0x1401cf230]
jmp 0x1400993c4
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 0x14009941d
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x556c], xmm0
jb 0x14009941d
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14009940c
call fcn.140094ac0
jmp 0x140099413
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x556c], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400b2570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401d4a78]
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.1400a55c0

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

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401d4a78]
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.1400a55c0
Function at 0x1400d7fc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rdx, r8
je 0x1400d80cf
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.0x1400d802a.8
xor dl, 7
mov byte [r10 + 9], dl
test dl, 0x20
je case.0x1400d802a.8
movzx eax, byte [r10 + 8]
add eax, 0xfffffffc
cmp eax, 0x22
ja case.0x1400d802a.8
cdqe
movzx eax, byte [rdi + rax + 0xd80e4]
mov ecx, dword [rdi + rax*4 + 0xd80d0]
add rcx, rdi
jmp rcx
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
jmp case.0x1400d802a.8
mov rcx, qword [r10 + 0x10]
lea rax, [r10 + 0x18]
cmp rcx, rax
je 0x1400d804d
and dl, 0xc7
jmp 0x1400d8053
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
test byte [rcx + 8], 0x40
je case.0x1400d802a.8
mov rdx, qword [rcx]
test byte [rdx + 9], 0x18
je case.0x1400d802a.8
mov rcx, rbx
call fcn.1400d86f0
jmp case.0x1400d802a.8
cmp word [r10 + 0xa], 0
jne case.0x1400d802a.5
mov rdx, qword [r10 + 0x18]
test rdx, rdx
je 0x1400d808f
test byte [rdx + 9], 0x18
je 0x1400d808f
mov rcx, rbx
call fcn.1400d86f0
and byte [r10 + 9], 0xe7
or byte [r10 + 9], 0x20
jmp case.0x1400d802a.8
mov rcx, r10
call fcn.1400d7540
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 0x1400d7fe3
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x1400d9bd0
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.1400ebf70
test eax, eax
je 0x1400d9c38
xor r10d, r10d
mov r11d, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x1400d9c2e
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x1400d9c2e
mov rcx, rbx
call fcn.1400d86f0
add r10, 0x10
sub r11, 1
jne 0x1400d9c10
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x1400d9c8f
test byte [r10 + 8], 0xf
movzx eax, byte [r10 + 9]
jne 0x1400d9c58
test al, 0x40
je 0x1400d9c86
mov byte [r10 + 9], listen
jmp 0x1400d9c86
test al, 0x40
je 0x1400d9c6e
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x1400d9c6e
mov rcx, rbx
call fcn.1400d86f0
test byte [r10 + 8], 0x40
je 0x1400d9c86
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x1400d9c86
mov rcx, rbx
call fcn.1400d86f0
add r10, 0x18
cmp r10, rsi
jb 0x1400d9c41
movzx eax, byte [rdi + 9]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x1400d9ccb
mov rcx, rdi
call fcn.1400d7540
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 0x1400d9cd5
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 0x1400dab40
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 [0x1401d0680]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r13d, r8d
mov rbp, rdx
mov rbx, rcx
call fcn.1400c85f0
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 0x1400dabbe
mov r8d, 1
mov rdx, rbp
call fcn.1400db3a0
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 0x1400dad56
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400ca7a0
jmp 0x1400dad73
lea edx, [r15 + 0x14]
lea r8, str.too_many_arguments
call fcn.1400ca470
mov esi, 1
mov r14d, r13d
dec r15d
test esi, esi
je 0x1400dab9b
mov edx, r14d
mov rcx, rbx
call fcn.1400c9870
mov edx, r14d
mov rcx, rbx
cmp eax, 3
jne 0x1400dac85
call fcn.1400ca230
mov rdi, rax
test rax, rax
jne 0x1400dac37
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, [0x1401ad64b]
mov rcx, rbx
call fcn.1400c8cb0
xor esi, esi
cmp edi, 0xffffffff
setne sil
jmp 0x1400dad34
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400ca180
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400cb1f0
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.1400cb200
xor esi, esi
test rdi, rdi
setne sil
jmp 0x1400dad34
xor r8d, r8d
call fcn.1400ca2c0
movzx ecx, byte [rax]
cmp cl, 0x2a
jne 0x1400dac99
movzx ecx, byte [rax + 1]
cmp cl, 0x4c
je 0x1400dad24
cmp cl, 0x61
je 0x1400dacca
cmp cl, 0x6c
je 0x1400dacc2
cmp cl, 0x6e
mov rcx, rbx
jne 0x1400dad45
mov rdx, rbp
call fcn.1400db4d0
jmp 0x1400dad32
mov r8d, 1
jmp 0x1400dad27
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400ca180
nop word [rax + rax]
mov edx, 0x400
lea rcx, [rsp + 0x20]
call fcn.1400cb1f0
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 0x1400dace0
lea rcx, [rsp + 0x20]
call fcn.1400cb200
mov esi, 1
jmp 0x1400dad34
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.1400db3a0
mov esi, eax
inc r14d
test r15d, r15d
jne 0x1400dabd6
jmp 0x1400dab9b
lea r8, str.invalid_format
mov edx, r14d
call fcn.1400ca070
jmp 0x1400dad73
test esi, esi
jne 0x1400dad6d
lea edx, [rsi - 2]
mov rcx, rbx
call fcn.1400c93a0
mov rcx, rbx
call fcn.1400c8c80
sub r14d, r13d
mov eax, r14d
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140147480
add rsp, 0x450
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400df6d0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rsi
push r15
sub rsp, 0x478
mov rax, qword [0x1401d0680]
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.1400c8b90
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
test rax, rax
jne 0x1400df744
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
test rax, rax
je 0x1400df869
lea r8, str.LUA_NOENV
mov edx, 0xfff0b9d8
mov rcx, rsi
call fcn.1400c8380
mov edx, 0xffffffff
mov rcx, rsi
call fcn.1400c9560
mov edx, 0xfffffffe
mov rcx, rsi
mov ebx, eax
call fcn.1400c93a0
test ebx, ebx
jne 0x1400df869
lea rdx, [0x140180c7c]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strstr
mov rbp, rax
test rax, rax
jne 0x1400df79b
mov rdx, rdi
jmp 0x1400df86c
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400df7a2
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400ca180
cmp rdi, rbp
jae 0x1400df7fe
mov r8, rbp
lea rcx, [rsp + 0x20]
sub r8, rdi
mov rdx, rdi
call fcn.1400c9f30
mov rcx, qword [rsp + 0x30]
cmp rcx, qword [rsp + 0x28]
jb 0x1400df7f0
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.1400cb1f0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov byte [rax + rcx], Ordinal_60
inc qword [rsp + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.1400c9f80
lea rax, [rdi - 2]
add rax, rbx
cmp rbp, rax
jae 0x1400df85d
mov rcx, qword [rsp + 0x30]
cmp rcx, qword [rsp + 0x28]
jb 0x1400df837
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.1400cb1f0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
lea rdx, [rbp + 2]
sub rbx, rbp
mov byte [rax + rcx], Ordinal_60
lea rcx, [rsp + 0x20]
inc qword [rsp + 0x30]
lea r8, [rbx - 2]
add r8, rdi
call fcn.1400c9f30
lea rcx, [rsp + 0x20]
call fcn.1400cb200
jmp 0x1400df874
mov rdx, r14
mov rcx, rsi
call fcn.1400c8cb0
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 0x1400df90f
cmp eax, 0x105
je 0x1400df90f
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400df90f
xor r8d, r8d
mov byte [rax], 0
mov rcx, rsi
lea edx, [r8 - 1]
call fcn.1400c9660
mov rdx, rax
lea r9, [rsp + 0x20]
lea r8, reloc.WLDAP32.dll_Ordinal_33
mov rcx, rsi
call fcn.1400ca950
mov edx, 0xfffffffe
mov rcx, rsi
lea r8d, [rdx + 1]
call fcn.1400c8fa0
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.1400c93a0
jmp 0x1400df91e
lea rdx, str.unable_to_get_ModuleFileName
mov rcx, rsi
call fcn.1400ca650
mov r8, r15
mov edx, 0xfffffffd
mov rcx, rsi
call fcn.1400c9090
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.1400c93a0
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140147480
add rsp, 0x478
pop r15
pop rsi
ret
Function at 0x1400e0730
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x1401d0680]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rsi, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
call fcn.1400dfb60
mov r9, rax
test rax, rax
je 0x1400e0782
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 0x1400e08f7
lea rdx, [0x140180f60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x1400e07ba
movzx edi, byte [rax]
or edi, 0x20
cmp edi, 0x6e
je 0x1400e08f5
cmp edi, 0x78
jne 0x1400e07bc
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400e0a40
jmp 0x1400e07ca
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, [0x14017fa10]
cmp rax, rbx
je 0x1400e0814
movzx ecx, byte [rax]
test byte [rcx + rbp + 1], 8
je 0x1400e0802
nop word [rax + rax]
inc rax
mov qword [rsp + 0x20], rax
movzx ecx, byte [rax]
test byte [rcx + rbp + 1], 8
jne 0x1400e07f0
xor r9d, r9d
test cl, cl
cmove r9, rax
test r9, r9
jne 0x1400e08e3
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov r8, rax
test rax, rax
je 0x1400e08f5
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400e0834
cmp rcx, 0xc8
ja 0x1400e08f5
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 0x1400e0860
sub r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov byte [rsp + r8 + 0x30], reloc.WLDAP32.dll_Ordinal_46
cmp edi, 0x78
jne 0x1400e088d
call fcn.1400e0a40
jmp 0x1400e0893
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 0x1400e08f5
movzx ecx, byte [rax]
test byte [rcx + rbp + 1], 8
je 0x1400e08c2
nop dword [rax]
inc rax
mov qword [rsp + 0x20], rax
movzx ecx, byte [rax]
test byte [rcx + rbp + 1], 8
jne 0x1400e08b0
xor r9d, r9d
test cl, cl
cmove r9, rax
test r9, r9
je 0x1400e08f5
lea rcx, [rsp + 0x30]
mov rax, rbx
sub rax, rcx
add r9, rax
test r9, r9
je 0x1400e08f5
mov al, reloc.WS2_32.dll_send
movsd qword [rsi], xmm0
sub r9, rbx
mov byte [rsi + 8], al
lea rax, [r9 + 1]
jmp 0x1400e08f7
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140147480
mov rbx, qword [rsp + 0x140]
add rsp, 0x110
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e0a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x20
xor esi, esi
mov qword [rdx], rcx
movzx eax, byte [rcx]
lea r12, [0x14017fa10]
mov r15, rdx
xorps xmm1, xmm1
mov r10d, esi
mov edi, esi
mov r9d, esi
mov ebx, esi
test byte [rax + r12 + 1], 8
je 0x1400e0a8f
nop word [rax + rax]
movzx eax, byte [rcx + 1]
inc rcx
test byte [rax + r12 + 1], 8
jne 0x1400e0a80
mov qword [rsp + 0x60], r14
lea rdx, [rcx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x1400e0aa6
mov r14d, ebp
jmp 0x1400e0aaf
cmp al, 0x2b
mov r14d, esi
cmovne rdx, rcx
cmp byte [rdx], 0x30
jne 0x1400e0be8
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x1400e0be8
movsd xmm2, qword [0x140180fc8]
add rdx, 2
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rdx]
mov r11, rdx
movsx rcx, r8b
cmp ecx, 0x2e
jne 0x1400e0afb
test ebx, ebx
jne 0x1400e0b4f
mov ebx, ebp
inc rdx
jmp 0x1400e0ae0
test byte [r8 + r12 + 1], 0x10
je 0x1400e0b4f
test r10d, r10d
jne 0x1400e0b12
cmp r8b, 0x30
jne 0x1400e0b12
inc edi
jmp 0x1400e0b43
inc r10d
cmp r10d, 0x1e
jg 0x1400e0b40
test byte [rcx + r12 + 1], 2
je 0x1400e0b28
add ecx, 0xffffffd0
jmp 0x1400e0b2e
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1400e0b43
inc r9d
test ebx, ebx
je 0x1400e0b4a
dec r9d
inc rdx
jmp 0x1400e0ae0
lea eax, [rdi + r10]
test eax, eax
je 0x1400e0be8
mov qword [r15], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x1400e0bce
movzx eax, byte [rdx + 1]
inc rdx
cmp al, 0x2d
jne 0x1400e0b80
lea rdx, [r11 + 2]
jmp 0x1400e0b8a
cmp al, 0x2b
jne 0x1400e0b88
lea rdx, [r11 + 2]
mov ebp, esi
movzx r8d, byte [rdx]
test byte [r8 + r12 + 1], 2
je 0x1400e0be8
nop word [rax + rax]
movsx eax, r8b
lea esi, [rsi + rsi*4]
inc rdx
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
movzx eax, byte [rdx]
movzx r8d, al
test byte [rax + r12 + 1], 2
jne 0x1400e0ba0
mov eax, esi
mov qword [r15], rdx
neg eax
test ebp, ebp
cmove eax, esi
add r9d, eax
test r14d, r14d
je 0x1400e0bda
xorps xmm1, xmmword [0x14017f010]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x1400e0beb
xorps xmm0, xmm0
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400e69e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
mov r9, rcx
xor eax, r8d
test rdx, rdx
je 0x1400e6a0f
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 0x1400e69f0
ret
Function at 0x1400e6c70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rsi, r8
mov rbp, rdx
cmp r8, 0x28
ja 0x1400e6c95
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.1400e6710
movabs rax, 0x7fffffffffffffdf
cmp rsi, rax
jae 0x1400e6cfd
mov rax, qword [rcx + 0x18]
add r8, 0x19
mov qword [rsp + 0x30], rbx
mov edx, reloc.WS2_32.dll_sendto
mov qword [rsp + 0x38], rdi
mov ebx, dword [rax + 0x60]
call fcn.1400d79b0
mov r8, rsi
mov rdx, rbp
mov rdi, rax
mov dword [rax + 0xc], ebx
lea rcx, [rax + 0x18]
mov byte [rax + 0xa], 0
mov byte [rax + rsi + 0x18], 0
mov qword [rax + 0x10], rsi
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
call fcn.1400de6f0
int3
Function at 0x140108080
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 0x1401080de
mov dl, 1
call fcn.1400f8ad0
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.1400f8ad0
mov eax, ebx
jmp 0x140108122
cmp ebx, 2
ja 0x140108120
mov r9, qword [rdi + 0x668]
lea rdx, [0x140185600]
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 0x140108140
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 [0x1401d0680]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x140108183
cmp qword [rcx + 0x678], 0
je 0x140108260
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.14010b750
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1401081b1
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1401081f8
cmp byte [rdi + 0x1597], 0
jne 0x1401081f8
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 0x1401081e0
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x140108258
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1401082b3
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x140108279
mov dl, 1
mov rcx, rdi
call fcn.1400f8ad0
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.1400f8ad0
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140147480
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x140185600]
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 0x140108258
call fcn.140147c90
int3