joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012ec80
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbx, rcx
cmp dword [0x1402cc6ac], esi
jne 0x14012eda8
call rbx
test eax, eax
jne 0x14012eda8
mov rax, qword [0x1402cc7a8]
test rax, rax
je 0x14012ecba
xor ecx, ecx
call rax
cmp dword [0x1402cc748], esi
je 0x14012ed03
call fcn.140125380
test eax, eax
je 0x14012ed03
cmp dword [0x1402cc6cc], esi
je 0x14012ecdf
lea rcx, str.GC_try_to_collect_inner:_finishing_collection_in_progress_n
call fcn.14012c5c0
call fcn.140125380
test eax, eax
je 0x14012ed03
call rbx
test eax, eax
jne 0x14012eda8
lea ecx, [rax + 1]
call fcn.14012d570
call fcn.140125380
test eax, eax
jne 0x14012ece8
mov rax, qword [0x1402cc700]
test rax, rax
je 0x14012ed11
call rax
mov eax, dword [0x1402cc75c]
mov edi, esi
mov ecx, dword [0x1402cc6cc]
or eax, ecx
je 0x14012ed40
test ecx, ecx
je 0x14012ed33
lea rcx, str.Initiating_full_world_stop_collection__n
call fcn.14012c5c0
mov edi, 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call fcn.1401339d0
cmp dword [0x1402cc710], 0
je 0x14012ed53
call fcn.14012ac00
cmp dword [0x1402cc6a4], 0
jne 0x14012ed68
lea rax, [0x14012d1e0]
cmp rbx, rax
je 0x14012ed76
xor edx, edx
mov rcx, rbx
call fcn.1401313b0
test eax, eax
je 0x14012eda8
call fcn.140125490
call fcn.140125350
mov rcx, rbx
mov dword [0x1402cc784], 1
call fcn.14012e820
test eax, eax
jne 0x14012edba
cmp dword [0x1402cc748], eax
jne 0x14012eda8
call fcn.140125490
call fcn.140133b60
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call fcn.14012dbe0
test edi, edi
je 0x14012ee23
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, esi
cmp dword [0x1402cc75c], 0
je 0x14012ee0b
mov ecx, dword [0x1402cc754]
mov eax, dword [0x1402cc758]
add ecx, edx
mov dword [0x1402cc754], ecx
mov dword [0x1402cc758], eax
cmp eax, 0xf4240
jb 0x14012ee0b
add eax, 0xfff0bdc0
mov dword [0x1402cc758], eax
lea eax, [rcx + 1]
mov dword [0x1402cc754], eax
cmp dword [0x1402cc6cc], 0
je 0x14012ee23
xor r8d, r8d
lea rcx, str.Complete_collection_took__lu_ms__lu_ns_n
call fcn.14012c5c0
mov rdx, qword [0x1402cc7a8]
test rdx, rdx
je 0x14012ee36
mov ecx, 5
call rdx
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1401313b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push r13
push r15
sub rsp, 0x40
xor r13d, r13d
mov r15d, edx
cmp dword [0x1402cc6cc], 2
mov rbp, rcx
mov dword [rsp + 0x70], r13d
jne 0x1401313db
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x70], eax
mov edx, dword [0x1402c23f0]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r14
test edx, edx
je 0x14013151e
lea rdi, [0x1402c20d0]
nop dword [rax]
lea rcx, [r13*2]
add rcx, r13
add rcx, rcx
mov r14, qword [rdi + rcx*8 + 8]
test r14, r14
je 0x140131512
mov r12d, 1
add r14, 8
nop word [rax + rax]
mov rbx, qword [r14]
test rbx, rbx
je 0x1401314f8
nop dword [rax]
test rbp, rbp
je 0x14013145f
call rbp
test eax, eax
jne 0x14013156a
mov rcx, rbx
call fcn.14012ef70
mov rcx, qword [rax]
mov qword [r14], rcx
test r15d, r15d
je 0x140131485
mov rcx, qword [0x1402cc708]
movzx edx, word [rax + 0x1a]
dec rcx
cmp rdx, rcx
jne 0x1401314ec
mov rsi, qword [rax + 0x20]
mov rcx, rbx
call fcn.14012ef70
mov r10, rax
mov rdx, rsi
shr rdx, 4
mov r8, rsi
movzx ecx, byte [rax + 0x18]
lea r9, [rcx + rcx*2]
shl r9, 4
add r9, rdi
mov rcx, qword [r9]
lea rdi, [rcx + rdx*8]
movzx ecx, word [0x1402cc708]
mov word [rax + 0x1a], cx
mov rdx, r10
mov r9d, dword [r9 + 0x1c]
lea rax, [0x1402ccbc8]
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
call fcn.140131790
mov qword [rdi], rax
lea rdi, [0x1402c20d0]
mov rbx, qword [r14]
test rbx, rbx
jne 0x140131450
inc r12
add r14, 8
cmp r12, 0x80
jbe 0x140131440
mov edx, dword [0x1402c23f0]
inc r13d
cmp r13d, edx
jb 0x140131410
cmp dword [0x1402cc6cc], 2
jne 0x140131542
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x70]
xor r8d, r8d
mov edx, eax
lea rcx, str.Disposing_of_reclaim_lists_took__lu_ms__lu_ns_n
call fcn.14012c5c0
mov eax, 1
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r13
pop rbp
ret
xor eax, eax
jmp 0x140131547

Function at 0x140137330
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14013737a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14013737a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14013737a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14013737a
cmp dword [rcx + 0x84], 0xe
jbe 0x14013737a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14013737c
xor al, al
add rsp, 0x28
ret
Function at 0x14015d3d4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14015d1cb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14015d1cb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14015d1cb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14015d1cb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14015d1cb
cmp dword [rcx + 0x84], 0xe
jbe 0x14015d1cb
cmp dword [rcx + 0xf8], 0
je 0x14015d1cb
mov ecx, ebx
call fcn.14015d2dc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14015cf24
nop
cmp dword [rbp + 0x20], 0
je 0x14015d219
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14015d224
int3
xor r8d, r8d
xor edx, edx
jmp 0x14015d15c
Function at 0x14015f4ec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1402ce460]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14015f543
cmp word [rdx], r13w
jne 0x14015f543
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14015f548
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14015f66d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14015f68e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14015f581
mov rdx, r9
mov word [rbx], cx
jmp 0x14015f5a8
cmp r9, r8
jae 0x14015f5b8
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14015f562
jmp 0x14015f66d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14015f662
cmp dword [rsp + 0x80], esi
je 0x14015f662
lea r8, [0x1402ce460]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14015f63a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14015f60a
mov word [rbx], r13w
jmp 0x14015f66a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14015f617
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14015f66a
cmp word [rsp + 0x70], r13w
jne 0x14015f647
cmp rbx, r14
je 0x14015f604
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14015f2cc
cmp word [rsp + 0x70], r13w
je 0x14015f66d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1402ce460]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14015f667
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14015f66d
Function at 0x1401609e0
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140160a00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401610d4
or eax, 0xffffffff
jmp 0x140160a02
xor eax, eax
add rsp, 0x28
ret

Function at 0x140160a30
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140160a28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401610d4
or eax, 0xffffffff
jmp 0x140160a2a
xor eax, eax
add rsp, 0x28
ret
jmp 0x140160a08

Function at 0x1401639cc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140163a03
call fcn.140161160
mov dword [rax], 0x16
call fcn.1401945ac
xor eax, eax
jmp 0x140163a91
mov rdx, r9
mov rcx, r8
call fcn.14016381c
mov rbx, rax
test rax, rax
je 0x140163a8e
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14016361c]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140163a7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401610d4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140163a62
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140163a71
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140192270
jmp 0x140163a8e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140163a8b
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14019ce70
Capabilities:
Query environment variable

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
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14019cea0
xor eax, eax
jmp 0x14019cf63
mov rbp, rbx
cmp word [rax], si
je 0x14019cec5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14019ceac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14019cea8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140193f80
movsxd r14, eax
test eax, eax
jne 0x14019cf03
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14019ce99
mov rcx, r14
call fcn.140192208
mov rdi, rax
test rax, rax
jne 0x14019cf1c
xor ecx, ecx
call fcn.140192270
jmp 0x14019cef8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140193f80
test eax, eax
jne 0x14019cf4d
mov rcx, rdi
call fcn.140192270
jmp 0x14019cf57
xor ecx, ecx
call fcn.140192270
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14019cf80
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 0x14019d007
mov rsi, rbx
cmp word [rax], bp
je 0x14019cfc6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14019cfb0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14019cfac
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140192208
mov rdi, rax
test rax, rax
je 0x14019cff4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14014e550
mov rbp, rdi
xor ecx, ecx
call fcn.140192270
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 0x1401a0644
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14019540c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1401a06e5
cmp ebx, dword [rsp + 0x30]
je 0x1401a06de
test esi, esi
je 0x1401a06de
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1401a06b9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1401a06c6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1401a06a3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1401a06ca
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1401a06e7
mov eax, 1
jmp 0x1401a06e7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401a824c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1401964b4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401a82d6
cmp byte [rbp - 0x21], r15b
je 0x1401a82d1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401a830c
call fcn.140192fa4
test eax, eax
jne 0x1401a82f8
cmp byte [rbp - 0x21], r15b
je 0x1401a82f0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401a830c
cmp byte [rbp - 0x21], r15b
je 0x1401a8309
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140199db0
test eax, eax
jne 0x1401a83ac
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401964b4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401a834b
cmp byte [rbp - 0x21], r15b
je 0x1401a8380
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401a8380
call fcn.140192fa4
test eax, eax
jne 0x1401a836c
cmp byte [rbp - 0x21], r15b
je 0x1401a8365
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401a8380
cmp byte [rbp - 0x21], r15b
je 0x1401a837d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140199db0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401a83ac
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401a83af
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401a83bd
mov rcx, rdi
call fcn.140192270
cmp byte [rbp + 0x3f], r15b
je 0x1401a83cc
mov rcx, qword [rbp + 0x27]
call fcn.140192270
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400024f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10d, dword [section..data]
lea rsi, [0x140000000]
xor r10d, dword [rcx + 4]
mov ebx, 2
mov r11d, dword [rcx + 8]
mov dword [rcx + 4], r10d
lea edi, [rbx + 6]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 0x18
mov r9d, dword [rsi + rdx*4 + 0x3a830]
add r9d, dword [rsi + rax*4 + 0x3a430]
mov eax, r10d
shr rax, 8
movzx edx, al
movzx eax, r10b
xor r9d, dword [rsi + rdx*4 + 0x3ac30]
add r9d, dword [rsi + rax*4 + 0x3b030]
lea eax, [rbx - 1]
xor r9d, dword [rsi + rax*4 + 0x3a000]
xor r11d, r9d
mov dword [rcx + 8], r11d
mov eax, r11d
shr rax, 0x10
movzx edx, al
mov eax, r11d
shr rax, 0x18
mov r9d, dword [rsi + rdx*4 + 0x3a830]
add r9d, dword [rsi + rax*4 + 0x3a430]
mov eax, r11d
shr rax, 8
movzx edx, al
movzx eax, r11b
xor r9d, dword [rsi + rdx*4 + 0x3ac30]
add r9d, dword [rsi + rax*4 + 0x3b030]
mov eax, ebx
add ebx, 2
xor r9d, dword [rsi + rax*4 + 0x3a000]
xor r9d, r10d
mov dword [rcx + 4], r9d
mov r10d, r9d
sub rdi, 1
jne 0x140002521
xor r11d, dword [0x14003a044]
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
ret
Function at 0x14000d450
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x200
mov rax, qword [0x140451f58]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
movzx ebx, dl
mov rdi, rcx
mov eax, 1
lock xadd dword [0x140454668], eax
inc eax
cmp eax, 1
jne 0x14000d49d
lea ecx, [rax + 1]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x14045466c], eax
test bl, bl
je 0x14000d541
xor ebx, ebx
lock xadd dword [0x14045466c], ebx
test ebx, ebx
je 0x14000d541
movabs rcx, 0x4d54ee85da812030
mov qword [rsp + 0x210], rsi
add rcx, qword [0x140451e88]
lea rsi, [0x140451e80]
mov dword [rsp + 0x3c], 0
cmp rcx, 1
jbe 0x14000d4f6
mov rax, qword [0x140451e80]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x14000d4f8
mov al, 1
lea rcx, str.C:Users_sinexDesktopCodinglib_vcpkginstalledx64_windowsinclude_boost_asiodetailimplwinsock_init.ipp
movzx eax, al
add rax, 2
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x40], rsi
lea rcx, str.throw_on_error
mov rsi, qword [rsp + 0x210]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 0x48
mov dword [rsp + 0x34], 0x1a
test al, 1
jne 0x14000d565
mov rax, rdi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140026cf0
mov rbx, qword [rsp + 0x218]
add rsp, 0x200
pop rdi
ret
lea r8, [rsp + 0x20]
lea rdx, str.winsock
lea rcx, [rsp + 0x38]
call fcn.1400189b0
int3

Function at 0x140011bd0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140451f58]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov rbx, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140011c86
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x140011c27
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140011c8a
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140011c7d
nop word [rax + rax]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x140011c5d
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140011c8a
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140011c50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140011c97
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140026cf0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
Function at 0x140016e70
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x70
xor eax, eax
lea rbx, [rcx + 0x28]
test rcx, rcx
mov ecx, dword [0x140454660]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140016f84
cmp qword [rax], rbx
je 0x140016eac
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140016e98
add rsp, 0x70
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140016f84
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x140016f51
cmp ecx, 1
jne 0x140016f84
lea rdx, [rbx + 0x58]
mov dword [rbx + 0x50], 2
lea rcx, [rsp + 0x30]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_
xorps xmm0, xmm0
lea rax, vtable.boost::asio::multiple_exceptions.0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x48], xmm0
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_
lea rcx, [rsp + 0x30]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
lea rcx, [rsp + 0x20]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_
lea r8, [0x140036ad8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCopyException_void____ptr64__void_const____ptr64__void_const____ptr64_
lea rcx, [rsp + 0x58]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
lea rax, vtable.std::exception.0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call sub.VCRUNTIME140.dll___std_exception_destroy
jmp 0x140016f6c
lea rcx, [rsp + 0x20]
mov dword [rbx + 0x50], 1
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_
lea rcx, [rsp + 0x20]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCurrentException_void____ptr64_
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x58]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrAssign_void____ptr64__void_const____ptr64_
lea rcx, [rsp + 0x20]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
add rsp, 0x70
pop rbx
ret