joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140056870
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140111028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401121d0]
mov edi, ecx
cmp byte [rbx + 0x43fd], 0
jne 0x1400568d1
cmp byte [rbx + 0x43fe], 0
jne 0x1400568d1
movsx r9d, word [rbx + 0x54e2]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140044bc0
test dil, 1
je 0x140056a07
jmp 0x140056961
movss xmm1, dword [rbx + 0x39c0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x54e2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400fc010]
mulss xmm1, dword [0x1400fbffc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd9c]
addss xmm1, dword [rbx + 0xda0]
mov qword [rbx + 0x410c], rax
mov dword [rbx + 0x40f4], 1
movss dword [rbx + 0x4104], xmm0
mov byte [rbx + 0x412c], 1
movss dword [rbx + 0x4108], xmm1
movss xmm0, dword [rbx + 0x3a1c]
mulss xmm0, dword [0x1400fbee0]
or dword [rbx + 0x40f0], 0x41
movss dword [rbx + 0x4150], xmm0
call fcn.140044bc0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x1400569b1
lea r11, [0x1400efa00]
cmp r9b, 0x23
jne 0x140056994
cmp byte [r8], r9b
jne 0x140056994
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140056981
mov rcx, qword [0x1401121d0]
not edx
add rcx, 0x3fc0
call fcn.140045350
test rax, rax
je 0x140056a07
cmp byte [rax + 0xcb], 0
je 0x140056a07
mov byte [rax + 0xd2], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xec], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x54e2]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x54e2]
call fcn.140044bc0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140050f00
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c6990
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14005c470
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 0x14005c517
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14005c4ca
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.140069590
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140045690
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, [0x1401120e4]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14005c51f
mov rcx, rbx
call fcn.140045690
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14005c960
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x14005c9b2
lea r11, [0x1400efa00]
cmp r9b, 0x23
jne 0x14005c995
cmp byte [r8], r9b
jne 0x14005c995
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14005c982
mov r11, qword [0x1401121d0]
mov r10, qword [r11 + 0x5598]
test r10, r10
je 0x14005c9f9
lea r9, [r10 + 4]
test r9, r9
je 0x14005c9f9
not eax
cmp dword [r9], eax
je 0x14005ca02
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x5590]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x14005c9d0
mov rcx, rbx
pop rbx
jmp fcn.14005c870
mov rax, r9
pop rbx
ret

Function at 0x14005ca10
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401121d0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14005ca73
mov qword [rsp], rbx
lea rbx, [0x1400efa00]
nop dword [rax]
cmp r9b, 0x23
jne 0x14005ca53
cmp byte [r8], r9b
jne 0x14005ca53
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 0x14005ca40
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5580]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14005caa7
mov r10, qword [r10 + 0x5588]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14005caae
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14005ca94
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140060380
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14006058c
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140111028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400efa00]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x140060554
mov rcx, rbp
call fcn.14005fa70
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x1400603fe
lea rcx, [rbp + 0x5530]
call fcn.140045350
mov r11, rax
jmp 0x140060401
xor r11d, r11d
mov qword [rbx + 0x18], r11
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc4], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test r11, r11
je 0x140060495
cmp qword [r11 + 0x20], 0
jne 0x14006048a
mov qword [r11 + 0x20], rbx
jmp 0x140060495
cmp qword [r11 + 0x28], 0
jne 0x140060495
mov qword [r11 + 0x28], rbx
mov eax, dword [rdi - 0xc]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 4]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1400604dc
nop dword [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400604d0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, setsockopt
lea rcx, [rsp + 0x20]
call fcn.140044bc0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x140060538
cmp r9b, 0x23
jne 0x14006051b
cmp byte [r8], r9b
jne 0x14006051b
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x140060508
mov rcx, qword [0x1401121d0]
not edx
add rcx, 0x3fc0
call fcn.140045350
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x1400603d0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c6990
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140067b90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov edi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x140067bdd
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x140067be2
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x140067c0d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140067c0d
mov rax, qword [rax + 0x390]
test rax, rax
je 0x140067c0d
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x140067c12
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x140067c2c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140067c31
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], dil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x140067cb3
inc ecx
test r8d, r8d
je 0x140067c9e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140067ca3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.140069120
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
inc edi
test rdx, rdx
je 0x140067cf3
mov r8d, edi
mov rcx, rbp
call fcn.140067b90
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140067bc0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400a1850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x20
mov eax, 1
mov qword [rsp + 0x38], rsi
mov r11, rcx
mov rdi, rdx
movzx ecx, byte [rdx + 0xb]
shl eax, cl
cmp byte [rdx + 0xa], 0
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rsi, [rax + r8*8]
jge 0x1400a18b0
mov ecx, dword [rdx + 0xc]
lea eax, [rcx - 1]
test ecx, eax
je 0x1400a18b0
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
jmp 0x1400a18b3
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x1400a18ee
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov ebx, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x1400a18df
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x1400a18df
mov rcx, r11
call fcn.1400a1470
add r10, 0x10
sub rbx, 1
jne 0x1400a18c1
mov rbx, qword [rsp + 0x30]
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x1400a194e
nop word [rax + rax]
test byte [r10 + 8], 0xf
movzx eax, byte [r10 + 9]
jne 0x1400a1917
test al, 0x40
je 0x1400a1945
mov byte [r10 + 9], ntohl
jmp 0x1400a1945
test al, 0x40
je 0x1400a192d
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x1400a192d
mov rcx, r11
call fcn.1400a1470
test byte [r10 + 8], 0x40
je 0x1400a1945
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x1400a1945
mov rcx, r11
call fcn.1400a1470
add r10, 0x18
cmp r10, rsi
jb 0x1400a1900
movzx eax, byte [rdi + 9]
mov rsi, qword [rsp + 0x38]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x1400a1985
mov rcx, rdi
call fcn.1400a13e0
mov rcx, qword [r11 + 0x90]
mov qword [rax], rcx
mov qword [r11 + 0x90], rdi
and byte [rdi + 9], 0xc7
add rsp, 0x20
pop rdi
ret
cmp cl, 6
jne 0x1400a198f
xor al, 2
mov byte [rdi + 9], al
add rsp, 0x20
pop rdi
ret
Function at 0x1400acc90
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, [0x1400f3f10]
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 0x1400accdf
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 1]
inc rcx
test byte [rax + r15 + 1], 8
jne 0x1400accd0
mov qword [rsp + 0x60], rbp
lea rdx, [rcx + 1]
mov esi, 1
cmp al, 0x2d
jne 0x1400accf5
mov ebp, esi
jmp 0x1400accfd
cmp al, 0x2b
mov ebp, ebx
cmovne rdx, rcx
cmp byte [rdx], 0x30
jne 0x1400ace35
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x1400ace35
movsd xmm2, qword [0x1400fbfa8]
add rdx, 2
movzx r8d, byte [rdx]
movsx rcx, r8b
cmp ecx, 0x2e
jne 0x1400acd3a
test r11d, r11d
jne 0x1400acd8f
mov r11d, esi
inc rdx
jmp 0x1400acd20
test byte [r8 + r15 + 1], 0x10
je 0x1400acd8f
test r10d, r10d
jne 0x1400acd51
cmp r8b, 0x30
jne 0x1400acd51
inc edi
jmp 0x1400acd82
inc r10d
cmp r10d, 0x1e
jg 0x1400acd7f
test byte [rcx + r15 + 1], 2
je 0x1400acd67
add ecx, 0xffffffd0
jmp 0x1400acd6d
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1400acd82
inc r9d
test r11d, r11d
je 0x1400acd8a
dec r9d
inc rdx
jmp 0x1400acd20
lea eax, [rdi + r10]
test eax, eax
je 0x1400ace35
mov qword [r14], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x1400ace0d
movzx ecx, byte [rdx + 1]
cmp cl, 0x2d
jne 0x1400acdbf
mov eax, 2
jmp 0x1400acdcd
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 0x1400ace35
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 0x1400acde0
mov eax, ebx
mov qword [r14], r8
neg eax
test esi, esi
cmove eax, ebx
add r9d, eax
test ebp, ebp
je 0x1400ace18
xorps xmm1, xmmword [0x1400fc250]
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 0x1400b5620
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140111028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rdx
mov rsi, rcx
xor edx, edx
mov r9d, 0x658
mov rcx, rbp
lea r8d, [rdx + 8]
call rsi
test rax, rax
je 0x1400b587b
mov qword [rsp + 0x80], rbx
xor ecx, ecx
lea rbx, [rax + 0xd0]
mov word [rax + 0x10], 0x808
mov byte [rbx + 0x64], 8
mov qword [rax + 0x20], rbx
mov qword [rsp + 0x88], rdi
lea rdi, [rax + 8]
mov qword [rdi + 0x50], rdi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [fcn.1400b5620]
mov qword [rbx], rsi
mov qword [rsp + 0x50], r14
xor r14d, r14d
mov dword [rdi + 0xb0], r14d
add dword [rdi + 0xb0], 0x10000
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x20], r14
lea esi, [r14 + 0x18]
mov word [rdi + 0xc], r14w
mov qword [rdi + 0x58], r14
mov qword [rdi + 0xa0], r14
mov qword [rsp + 0x38], rax
mov dword [rdi + 0xc0], r14d
mov qword [rdi + 0xb8], r14
mov word [rdi + 0xa], 0x100
mov qword [rdi + 0x38], r14
mov qword [rdi + 0xa8], r14
mov dword [rdi + 0xb4], r14d
mov qword [rbx + 0x70], rdi
mov qword [rdi], r14
mov qword [rbx + 8], rbp
mov qword [rbx + 0x578], r14
mov qword [rbx + 0x580], r14
mov qword [rbx + 0x108], rdi
mov qword [rsp + 0x28], rdi
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
xor eax, esi
nop word [rax + rax]
movzx edx, byte [rsp + rsi + 0x27]
mov ecx, eax
shl ecx, 5
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
sub rsi, 1
jne 0x1400b5730
mov dword [rbx + 0x60], eax
lea rdx, [0x1400b51e0]
mov dword [rbx + 0x6a], 0x19320002
xor r8d, r8d
mov qword [rbx + 0x38], r14
mov rcx, rdi
mov qword [rbx + 0x30], r14
mov byte [rbx + 0x48], r14b
mov qword [rbx + 0x100], r14
mov dword [rbx + 0x65], 0x14000008
mov qword [rbx + 0xb8], r14
mov qword [rbx + 0xb0], r14
mov qword [rbx + 0x80], r14
mov qword [rbx + 0xd0], r14
mov qword [rbx + 0xc8], r14
mov qword [rbx + 0xc0], r14
mov qword [rbx + 0xd8], r14
mov qword [rbx + 0xf0], r14
mov qword [rbx + 0xe8], r14
mov qword [rbx + 0xe0], r14
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x90], r14
mov qword [rbx + 0x88], r14
mov qword [rbx + 0xa8], r14
mov qword [rbx + 0xa0], r14
mov qword [rbx + 0x98], r14
mov qword [rbx + 0xf8], r14
mov qword [rbx + 0x10], 0x658
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x28], r14
mov qword [rbx + 0x50], r14
mov byte [rbx + 0x58], 3
mov byte [rbx + 0x6e], ntohl
mov byte [rbx + 0x69], 0x19
mov qword [rbx + 0x1e0], r14
mov qword [rbx + 0x1e8], r14
mov qword [rbx + 0x1f0], r14
mov qword [rbx + 0x1f8], r14
mov qword [rbx + 0x200], r14
mov qword [rbx + 0x208], r14
mov qword [rbx + 0x210], r14
mov qword [rbx + 0x218], r14
mov qword [rbx + 0x220], r14
call fcn.14009ea00
mov rbx, qword [rsp + 0x80]
test eax, eax
je 0x1400b586b
mov rcx, rdi
call fcn.1400b5470
mov rdi, r14
mov r14, qword [rsp + 0x50]
mov rax, rdi
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400c6990
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400b5b60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
cmp r8, 0x28
ja 0x1400b5b87
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.1400b59b0
movabs rax, 0x7fffffffffffffdf
cmp rbp, rax
jae 0x1400b5c14
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 0x19]
mov qword [rsp + 0x38], rsi
mov r8d, 4
mov qword [rsp + 0x40], rdi
mov rdi, qword [rcx + 0x18]
mov ebx, dword [rdi + 0x60]
call fcn.1400aa3b0
movzx ecx, byte [rdi + 0x64]
mov r8, rbp
and cl, 0x18
mov rdx, r14
mov rsi, rax
mov byte [rax + 9], cl
mov byte [rax + 8], setsockopt
mov rcx, qword [rdi + 0x70]
mov qword [rax], rcx
lea rcx, [rax + 0x18]
mov qword [rdi + 0x70], rax
mov dword [rax + 0xc], ebx
mov byte [rax + 0xa], 0
mov byte [rax + rbp + 0x18], 0
mov qword [rax + 0x10], rbp
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.1400aa2b0
int3

Function at 0x1400c5f38
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c5fbc
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400cbd00]
cmp byte [rcx + rax], 0
je 0x1400c5fbc
dec r8
sub rdx, 1
jne 0x1400c5fa2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400c77c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c7812
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c7812
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c7812
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c7812
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c7812
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400c7814
xor al, al
add rsp, 0x28
ret
Function at 0x140003704
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, rdx
mov rdi, rcx
call fcn.140097118
xor r14d, r14d
test eax, eax
je 0x140003747
cmp qword [rdi - 0x10], r14
jbe 0x14000373f
lea rbx, [rdi + 0x18]
add rbx, qword [rdi - 0x18]
jmp 0x140003742
mov rbx, r14
mov rbx, qword [rbx]
jmp 0x14000374a
mov rbx, r14
test rdi, rdi
jne 0x140003754
mov rax, r14
jmp 0x140003761
mov edx, 0xfffc
mov rcx, rdi
call fcn.1401d0514
test rbx, rbx
je 0x1400037f5
cmp dword [rbx + 0x50], r14d
je 0x1400037f5
lea r8, [0x140253a94]
mov rdx, rax
mov rcx, rdi
call fcn.14009ee44
lea rsi, [0x1402c9a40]
mov ecx, 0x8000
mov rdx, rsi
lea ebx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov qword [rsp + 0x38], r14
mov r8, rsi
mov qword [rsp + 0x30], r14
mov r9d, eax
lea r14, [0x1402c7a40]
mov dword [rsp + 0x28], 0x1000
xor edx, edx
mov qword [rsp + 0x20], r14
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rax, ebx
lea r8, [0x140253a98]
add rax, rdi
mov ebx, 0x10000
mov edx, ebx
mov qword [rsp + 0x20], rax
mov r9, r14
mov rcx, rsi
call fcn.140001138
jmp 0x140003815
mov ebx, 0x10000
lea rsi, [0x1402c9a40]
mov edx, ebx
lea r8, [0x14025332c]
mov rcx, rsi
mov r9, rdi
call fcn.140001138
mov rdx, rbx
mov rcx, rsi
call fcn.1401d0514
cmp byte [rbp], 0x2e
mov rdx, rax
mov rcx, rsi
jne 0x14000383a
lea r8, [0x140253aa0]
call fcn.14009ee44
jmp 0x140003848
lea r8, [0x140253a94]
call fcn.14009ee44
inc eax
movsxd rcx, eax
lea r8, [0x14025332c]
sub rbx, rcx
mov r9, rbp
mov rdx, rbx
add rcx, rsi
call fcn.140001138
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400080a8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x30
and qword [rbp + 0x38], 0
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
je 0x1400080cf
and qword [rdx], 0
mov r8, qword [rcx + 0x38]
lea r12, [0x1402c5a40]
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov qword [rsp + 0x20], r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x140253ccc]
mov rdx, r12
lea rcx, [rbp + 0x38]
call fcn.1401cdfd0
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14000829e
mov edx, 0xfffffff0
lea r8d, [rdx + 0x12]
call fcn.1401ce93c
mov r9, qword [rbp + 0x38]
lea rcx, [0x1402c8a40]
mov r8d, reloc.WS2_32.dll_recv
lea r15d, [r8 - 0xf]
mov edx, r15d
call fcn.1401d0ae0
mov rax, qword [0x1402c8a40]
cmp rax, qword [0x1402c1a50]
jne 0x140008295
mov rax, qword [0x1402c8a48]
cmp rax, qword [0x1402c1a58]
jne 0x140008295
mov rcx, qword [rbp + 0x38]
lea edx, [r15 - 0x15]
mov r8d, r15d
call fcn.1401ce93c
mov r9, qword [rbp + 0x38]
lea r8d, [r15 + 3]
mov edx, r15d
lea rcx, [rbp + 0x30]
call fcn.1401d0ae0
cmp rax, 4
jne 0x140008295
mov ecx, dword [rbp + 0x30]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, qword [rbp + 0x38]
lea edx, [r15 - 5]
sub edx, eax
mov dword [rbp + 0x30], eax
mov r8d, r15d
call fcn.1401ce93c
movsxd rdx, dword [rbp + 0x30]
mov eax, 0xffffffff
mov rcx, rdx
cmp rdx, rax
jae 0x1400081e5
cmp rax, rdx
je 0x1400081e5
mov eax, 0xffffffe7
cmp rdx, rax
jae 0x1400081e5
add rcx, 0x18
call fcn.1401d0ba8
mov edx, dword [rbp + 0x30]
jmp 0x1400081e7
xor eax, eax
movsxd rdx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call fcn.140096ee8
mov rdi, rax
test rbx, rbx
je 0x140008203
mov qword [rbx], rax
movsxd r8, dword [rbp + 0x30]
mov rdx, r15
mov r9, qword [rbp + 0x38]
mov rcx, rdi
call fcn.1401d0ae0
movsxd rcx, dword [rbp + 0x30]
cmp rax, rcx
jne 0x140008295
test rbx, rbx
jne 0x140008295
mov rcx, qword [rsi + 0x38]
lea rdx, str..msh
and qword [rbp + 0x40], rbx
call fcn.140003704
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x1000
mov r8, rax
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x1402554a0]
mov rdx, r12
lea rcx, [rbp + 0x40]
call fcn.1401cdfd0
mov r9, qword [rbp + 0x40]
test r9, r9
je 0x14000828d
movsxd r8, dword [rbp + 0x30]
mov rdx, r15
mov rcx, rdi
call fcn.1401cf604
mov rcx, qword [rbp + 0x40]
call fcn.1401ce580
mov rcx, rdi
call fcn.140096fd0
mov rcx, qword [rbp + 0x38]
call fcn.1401ce580
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret