joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400eec68
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 0x1400eecef
mov rsi, rbx
cmp word [rax], bp
je 0x1400eecae
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400eec98
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400eec94
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400e0acc
mov rdi, rax
test rax, rax
je 0x1400eecdc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400b43a0
mov rbp, rdi
xor ecx, ecx
call fcn.1400e0a90
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 0x1400f3324
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400e7bc8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400e7bc8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400f3474
cmp rax, 0xffffffffffffffff
je 0x1400f3474
xor edi, edi
test rbp, rbp
jle 0x1400f341f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400e0a18
mov rbx, rax
test rax, rax
jne 0x1400f33ac
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400f3415
mov edx, 0x8000
mov ecx, r14d
call fcn.1400e0870
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400e70b0
cmp eax, 0xffffffff
je 0x1400f33f5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400f33bc
mov edx, r15d
mov ecx, r14d
call fcn.1400e0870
jmp 0x1400f3415
cmp byte [rsi + 0x38], dil
je 0x1400f340c
cmp dword [rsi + 0x34], 5
jne 0x1400f340c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1400f3415
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400e0a90
jmp 0x1400f3488
jns 0x1400f3488
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400e7bc8
cmp rax, 0xffffffffffffffff
jne 0x1400f3440
cmp byte [rsi + 0x30], dil
je 0x1400f3488
mov edi, dword [rsi + 0x2c]
jmp 0x1400f3488
mov ecx, r14d
call fcn.1400e8638
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400f3488
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1400f3488
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400f3481
mov eax, dword [rsi + 0x2c]
jmp 0x1400f3486
mov eax, SafeArrayGetElement
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400e7bc8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14010b1f4
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x788]
sub rsp, 0x888
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rbp + 0x770], rax
cmp byte [0x14033b020], 0
mov rsi, rdx
movsxd rbx, ecx
je 0x14010b348
mov r12d, 0x800
lea rcx, [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.1400b4a50
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rcx, str._EWID
movsx edi, byte [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r10d, word [rsp + 0x6a]
movzx r11d, word [rsp + 0x68]
movzx ebx, word [rsp + 0x66]
movzx r9d, word [rsp + 0x62]
movzx r8d, word [rsp + 0x60]
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x38], edx
lea rdx, str._04u__02u__02u__02u:_02u:_02u._03u_T_u___c____s_
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call fcn.14010a770
movsxd rsi, eax
lea rbx, [rsp + 0x70]
mov edi, r12d
lea r14, [rbp + 0x7d8]
sub rdi, rsi
add rbx, rsi
call fcn.140006860
mov r9, qword [rbp + 0x7d0]
mov r8, rdi
mov qword [rsp + 0x28], r14
mov rdx, rbx
and qword [rsp + 0x20], 0
mov rcx, qword [rax]
call fcn.1400c5bdc
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [r12 - 2]
add esi, eax
movsxd rax, esi
cmp rax, rcx
cmova rax, rcx
mov byte [rsp + rax + 0x70], 0xa
lea eax, [rsi + 1]
movsxd rcx, eax
lea eax, [r12 - 1]
cmp rcx, rax
ja 0x14010b338
mov rax, rcx
cmp rcx, r12
jae 0x14010b367
lea rcx, [rsp + 0x70]
mov byte [rsp + rax + 0x70], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.1400b1670
add rsp, 0x888
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400b2634
int3
Function at 0x14010e6b0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], send
mov byte [rcx], dil
lea rdx, [0x1402d113b]
call fcn.14004a450
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, SHFlushSFCache
lea rcx, [rbp - 0x80]
call fcn.1400b4a50
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14010e7db
movdqa xmm0, xmmword [0x1402d2f20]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], di
lea rcx, [rbp - 0x80]
call fcn.1400dec74
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000b218
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14012d6e8
mov rdx, rax
mov rcx, rbx
call fcn.14001fa44
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14010e7be
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010e7b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010e802
call fcn.1400b19ec
movdqa xmm0, xmmword [0x1402d2f30]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], dil
lea rcx, [rsp + 0x58]
call fcn.14000a0c8
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400b1670
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400c6548
int3

Function at 0x14010e810
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rdi, edx
mov rbx, rcx
cmp byte [rdi + rcx], 0
jne 0x14010e82d
mov eax, 0x1505
jmp 0x14010e83d
inc edx
call fcn.14010e810
movsx ecx, byte [rdi + rbx]
imul eax, eax, 0x21
xor eax, ecx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140129558
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.1400b4a50
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.CommercialId
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
and qword [rbx + 0x10], 0
lea rdx, [rsp + 0x50]
mov qword [rbx + 0x18], send
mov rcx, rbx
mov byte [rbx], 0
call fcn.14004a450
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400b1670
add rsp, 0x170
pop rbx
ret

Function at 0x14012960c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.1400b4a50
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.BuildLabEx
lea rax, [rsp + 0x50]
mov r9d, 0x10002
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
and qword [rbx + 0x10], 0
lea rdx, [rsp + 0x50]
mov qword [rbx + 0x18], send
mov rcx, rbx
mov byte [rbx], 0
call fcn.14004a450
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400b1670
add rsp, 0x170
pop rbx
ret
Function at 0x14012ce40
Capabilities:
Encrypt data using rc4 prga

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 r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x48]
xor r11d, r11d
mov rbx, qword [rsp + 0x60]
mov r12, r9
mov rax, qword [rsp + 0x50]
mov r15, r8
mov r13, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov r10, qword [r14]
cmp r10, r9
je 0x14012cfdd
mov rsi, r10
lea edi, [r11 + 1]
mov rax, qword [rsp + 0x58]
mov r9d, 0x3ff
mov r10, rsi
cmp qword [rbx], rax
je 0x14012cfdd
mov bpl, r11b
movzx ecx, word [rsi]
cmp di, word [r13]
jae 0x14012cedb
mov edx, 0x2400
lea eax, [rdx + rcx]
cmp ax, r9w
ja 0x14012d004
movzx r8d, word [r13]
movzx eax, cx
shl r8d, 0xa
sub eax, 0xdc00
or r8d, eax
jmp 0x14012cefb
mov eax, 0x2800
movzx r8d, cx
add cx, ax
cmp cx, r9w
ja 0x14012cefb
shl r8d, 0xa
mov bpl, dil
sub r8d, 0x35f0000
cmp r8d, 0x80
jae 0x14012cf0c
mov dl, r8b
mov r9d, r11d
jmp 0x14012cf46
mov edx, r8d
cmp r8d, 0x800
jae 0x14012cf23
shr edx, 6
mov r9d, edi
or dl, 0xc0
jmp 0x14012cf46
cmp r8d, 0x10000
jae 0x14012cf3a
shr edx, 0xc
mov r9d, 2
or dl, 0xe0
jmp 0x14012cf46
shr edx, 0x12
mov r9d, 3
or dl, 0xf0
mov rcx, qword [rsp + 0x58]
movzx eax, bpl
xor eax, edi
cmp r9d, 3
lea edi, [rax + rax]
cmovb edi, r9d
sub rcx, qword [rbx]
inc edi
mov eax, edi
cmp rcx, rax
jl 0x14012cfdd
lea rax, [rsi + 2]
mov qword [r14], rax
test bpl, bpl
jne 0x14012cf7a
cmp r9d, 3
jae 0x14012cf84
mov rax, qword [rbx]
mov byte [rax], dl
inc qword [rbx]
dec edi
test edi, edi
jle 0x14012cfb6
lea ecx, [r9 + r9*2]
mov r14d, 1
add ecx, ecx
mov rax, qword [rbx]
sub ecx, 6
mov edx, r8d
sub edi, r14d
shr edx, cl
and dl, 0x3f
or dl, 0x80
mov byte [rax], dl
add qword [rbx], r14
test edi, edi
jg 0x14012cf94
mov r14, qword [rsp + 0x48]
shr r8d, 0xa
mov edi, 1
test bpl, bpl
mov eax, edi
cmovne ax, r8w
mov word [r13], ax
mov r10, qword [r14]
mov rsi, r10
cmp r10, r12
jne 0x14012ce8f
cmp r15, r10
sete r11b
mov eax, r11d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x14012cfe7

Function at 0x140151108
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
lea rax, vtable.Microsoft::Applications::Events::HttpClient_WinInet.0
mov qword [rcx], rax
add rcx, 0x10
mov edx, 0x102
call fcn.14008de4c
nop
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x58], rbx
and qword [rbx], 0
and qword [rbx + 8], 0
mov rcx, rbx
call fcn.1401237fc
mov qword [rbx], rax
mov byte [rdi + 0x70], 0
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rdi + 8], rax
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140153e74
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov r13, r8
cmp qword [rdx + 0x10], 0x20
mov r14, rdx
mov qword [rcx], rbx
mov rdi, rcx
mov qword [rcx + 8], rbx
jne 0x140154009
mov ebp, ebx
mov word [rsp + 0x20], bx
movzx r12d, bx
mov word [rsp + 0x22], bx
mov qword [rsp + 0x28], rbx
mov esi, ebx
mov r15d, ebx
cmp qword [r14 + 0x18], 0x10
mov rax, r14
jb 0x140153ee3
mov rax, qword [r14]
mov cl, byte [r15 + rax]
call fcn.140154ef0
cmp al, 0xff
je 0x140154009
shl ebp, 4
inc esi
movzx eax, al
inc r15
add ebp, eax
mov dword [rsp + 0x24], ebp
cmp r15, 8
jl 0x140153ed6
cmp esi, 0xc
jge 0x140153f50
movsxd r15, esi
cmp qword [r14 + 0x18], 0x10
mov rax, r14
jb 0x140153f20
mov rax, qword [r14]
mov cl, byte [r15 + rax]
call fcn.140154ef0
cmp al, 0xff
je 0x140154009
movzx ecx, word [rsp + 0x20]
inc esi
shl cx, 4
inc r15
movzx eax, al
add cx, ax
mov word [rsp + 0x20], cx
cmp r15, 0xc
jl 0x140153f13
cmp esi, 0x10
jge 0x140153f93
movsxd r15, esi
cmp qword [r14 + 0x18], 0x10
mov rax, r14
jb 0x140153f65
mov rax, qword [r14]
mov cl, byte [r15 + rax]
call fcn.140154ef0
cmp al, 0xff
je 0x140154009
shl r12w, 4
inc esi
movzx eax, al
inc r15
add r12w, ax
mov word [rsp + 0x22], r12w
cmp r15, 0x10
jl 0x140153f58
mov bpl, bl
mov r13b, 1
cmp esi, 0x20
jge 0x140153fef
movsxd rsi, esi
lea r15, [rsp + 0x28]
mov r12b, r13b
mov rax, r14
xor r12b, 1
cmp qword [r14 + 0x18], 0x10
jb 0x140153fba
mov rax, qword [r14]
mov cl, byte [rsi + rax]
call fcn.140154ef0
shl bpl, 4
add bpl, al
cmp r13b, 1
je 0x140153fd8
mov byte [r15], bpl
mov bpl, bl
inc r15
inc rsi
mov r13b, r12b
cmp rsi, 0x20
jl 0x140153fa6
mov rbx, qword [rsp + 0x28]
movzx r12d, word [rsp + 0x22]
mov eax, dword [rsp + 0x24]
mov dword [rdi], eax
movzx eax, word [rsp + 0x20]
mov word [rdi + 4], ax
mov word [rdi + 6], r12w
mov qword [rdi + 8], rbx
jmp 0x14015400e
mov byte [r13], 1
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b1670
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14015a024
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edx, edx
mov r8d, 0x114
lea rcx, [rsp + 0x40]
call fcn.1400b4a50
mov dword [rsp + 0x40], 0x114
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x44], 6
jb 0x14015a081
cmp dword [rsp + 0x48], 2
jae 0x14015a0b9
cmp dword [rsp + 0x44], 6
ja 0x14015a0b9
cmp dword [reloc.WS2_32.dll_accept], 3
jl 0x14015a1e9
call fcn.14010e808
mov rdx, rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x44]
lea r8, str.Running_on_Windows__d._d_without_network_detector...
mov ecx, 3
call fcn.14010b1f4
jmp 0x14015a1e9
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x14015a0ec
cmp dword [reloc.WS2_32.dll_accept], 1
jl 0x14015a0e7
call fcn.14010e808
mov rdx, rax
lea r8, str.CoInitialize_Failed.
mov ecx, 1
call fcn.14010b1f4
jmp 0x14015a1e9
mov byte [rbx + 0xc9], 1
mov rcx, rbx
call fcn.140158c5c
test al, al
je 0x14015a1aa
cmp dword [reloc.WS2_32.dll_accept], 3
jl 0x14015a125
call fcn.14010e808
mov rdx, rax
lea r8, str.create_network_list_manager...
mov ecx, 3
call fcn.14010b1f4
lea rax, [rbx + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [0x1402d0228]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x1402d0268]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14015a170
cmp dword [reloc.WS2_32.dll_accept], 1
jl 0x14015a1a2
call fcn.14010e808
mov rdx, rax
lea r8, str.Unable_to_CoCreateInstance_for_CLSID_NetworkListManager_
mov ecx, 1
call fcn.14010b1f4
jmp 0x14015a1a2
mov rcx, rbx
call fcn.140158b80
cmp dword [reloc.WS2_32.dll_accept], 4
jl 0x14015a19a
call fcn.14010e808
mov rdx, rax
lea r8, str.start_listening_to_events...
mov ecx, 4
call fcn.14010b1f4
mov rcx, rbx
call fcn.140159454
mov rcx, rbx
call fcn.14015983c
jmp 0x14015a1d3
cmp byte [rbx + 0xc9], 0
je 0x14015a1e9
call qword [sym.imp.ole32.dll_CoUninitialize]
mov byte [rbx + 0xc9], 0
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400b1670
add rsp, 0x170
pop rbx
ret

Function at 0x14015ab94
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x68], rax
movdqa xmm0, xmmword [0x1402d2f30]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14004a450
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14012d658
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14015ac1c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015ac17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015ac54
call fcn.1400b19ec
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.14000a0c8
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400b1670
add rsp, 0x70
pop rbx
ret
call fcn.1400c6548
int3
Function at 0x14015ac5c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x68], rax
movdqa xmm0, xmmword [0x1402d2f30]
movdqu xmmword [rsp + 0x38], xmm0
xor bl, bl
mov byte [rsp + 0x28], bl
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14004a450
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14012d658
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14015ace5
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015ace0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015ad26
call fcn.1400b19ec
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14015ad07
test al, 0x10
jne 0x14015ad07
mov bl, 1
lea rcx, [rsp + 0x48]
call fcn.14000a0c8
mov al, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400b1670
add rsp, 0x70
pop rbx
ret
call fcn.1400c6548
int3
Function at 0x14015b8f8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, r9
mov r15, r8
mov r12, rdx
mov r14, rcx
cmp qword [r8 + 0x18], 0x10
jb 0x14015b931
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
cmp qword [r15 + 0x10], rcx
jbe 0x14015b962
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs r9, 0x100000001b3
imul rdx, r9
inc rcx
cmp rcx, qword [r15 + 0x10]
jb 0x14015b943
mov rsi, qword [r14 + 0x30]
and rsi, rdx
mov rdi, qword [r14 + 8]
add rsi, rsi
mov rax, qword [r14 + 0x18]
cmp qword [rax + rsi*8], rdi
je 0x14015b982
mov rdi, qword [rax + rsi*8 + 8]
mov rdi, qword [rdi]
mov rdx, qword [r14 + 0x18]
cmp rdi, qword [rdx + rsi*8]
je 0x14015ba02
mov rdi, qword [rdi + 8]
lea rdx, [rdi + 0x10]
cmp qword [rdi + 0x28], 0x10
jb 0x14015b99f
mov rdx, qword [rdi + 0x10]
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14015b9ac
mov rcx, qword [r15]
mov r8, qword [r15 + 0x10]
cmp r8, qword [rdi + 0x20]
jne 0x14015b982
call fcn.1400b4df0
test eax, eax
jne 0x14015b982
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r14 + 0x10]
lea rcx, [rbx + 0x10]
xor edx, edx
call fcn.14004138c
mov edx, 0x30
mov rcx, rbx
call fcn.1400b19ec
mov qword [r12], rdi
mov byte [r12 + 8], 0
mov rax, r12
jmp 0x14015ba99
mov rax, qword [rbx]
cmp rdi, rax
je 0x14015ba3b
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + rsi*8]
cmp rax, qword [r14 + 8]
jne 0x14015ba54
mov qword [rdx + rsi*8], rbx
mov rax, qword [r14 + 0x18]
mov qword [rax + rsi*8 + 8], rbx
jmp 0x14015ba83
cmp rax, rdi
jne 0x14015ba5f
mov qword [rdx + rsi*8], rbx
jmp 0x14015ba83
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rbx
je 0x14015ba83
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r14
call fcn.14015e0dc
nop
mov qword [r12], rbx
mov byte [r12 + 8], 1
mov rax, r12
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14015e744
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [r8 + 0x18], 0x10
mov rsi, r8
mov r14, rdx
mov rbp, rcx
jb 0x14015e76f
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
cmp qword [rsi + 0x10], rcx
jbe 0x14015e7a0
movzx eax, byte [rcx + r8]
movabs r9, 0x100000001b3
xor rdx, rax
inc rcx
imul rdx, r9
cmp rcx, qword [rsi + 0x10]
jb 0x14015e781
mov r15, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x18]
and r15, rdx
add r15, r15
mov rbx, qword [rbx + r15*8]
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 8]
cmp qword [rcx + r15*8], rax
je 0x14015e7c8
mov rax, qword [rcx + r15*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14015e865
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x14015e7de
mov rdx, qword [rsi]
cmp qword [rbx + 0x28], 0x10
lea rcx, [rbx + 0x10]
jb 0x14015e7ed
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
cmp r8, qword [rsi + 0x10]
jne 0x14015e800
call fcn.1400b4df0
test eax, eax
je 0x14015e805
mov rbx, qword [rbx]
jmp 0x14015e7b2
mov rdi, rbx
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 8]
cmp qword [rcx + r15*8], rax
je 0x14015e81e
mov rax, qword [rcx + r15*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14015e857
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
jb 0x14015e832
mov rdx, qword [rbx + 0x10]
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
jb 0x14015e83f
mov rcx, qword [rsi]
mov r8, qword [rsi + 0x10]
cmp r8, qword [rbx + 0x20]
jne 0x14015e857
call fcn.1400b4df0
test eax, eax
jne 0x14015e857
mov rbx, qword [rbx]
jmp 0x14015e808
cmp rdi, rbx
je 0x14015e865
mov qword [r14], rdi
mov qword [r14 + 8], rbx
jmp 0x14015e870
mov rax, qword [rbp + 8]
mov qword [r14], rax
mov qword [r14 + 8], rax
mov rbx, qword [rsp + 0x40]
mov rax, r14
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14015e900
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r10, [r8 + 0x10]
mov rdi, r8
cmp qword [r10 + 0x18], 0x10
mov rsi, rdx
mov r9, rcx
mov r11, r10
jb 0x14015e929
mov r11, qword [r10]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
cmp qword [r10 + 0x10], r8
jbe 0x14015e95b
movzx eax, byte [r8 + r11]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, rdx
cmp r8, qword [r10 + 0x10]
jb 0x14015e93c
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14015e993
cmp qword [rcx + rdx*8], rdi
jne 0x14015e988
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x14015e98c
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14015e9a0
cmp qword [rcx + rdx*8], rdi
jne 0x14015e9a0
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rcx, r10
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
xor edx, edx
dec qword [r9 + 0x10]
call fcn.14004138c
mov edx, 0x30
mov rcx, rdi
call fcn.1400b19ec
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret