joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401ce340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1401ce369
xor eax, eax
jmp 0x1401ce3e9
test rbx, rbx
je 0x1401ce362
test r9, r9
jne 0x1401ce381
call fcn.140034438
mov r9, qword [rax + 0x18]
test r9, r9
je 0x1401ce362
mov r8, rbx
mov rdx, rsi
mov rcx, r9
mov qword [rdi + 0x10], r9
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1401ce362
mov rcx, qword [rdi + 0x10]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x1401ce362
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1401ce362
mov rbx, qword [rdi]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r8d, ebp
mov rcx, rdi
mov rdx, rax
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14021c9bc
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov qword [rax - 0x18], rdi
mov rbx, qword [0x14036ede8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x14021ca08
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x14021ca11
call fcn.14001c780
test eax, eax
je 0x14021ca2d
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14021ca35
xor eax, eax
jmp 0x14021ca96
test rbx, rbx
jne 0x14021ca55
lea rcx, str.FindTextW
call fcn.1400d8178
mov rbx, rax
test rax, rax
je 0x14021ca62
mov qword [0x14036ede8], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
test rdi, rdi
sete bl
test ebx, ebx
je 0x14021ca78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14021ca7a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14021ca93
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14021caac
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov qword [rax - 0x18], rdi
mov rbx, qword [0x14036edf0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x14021caf8
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x14021cb01
call fcn.14001c780
test eax, eax
je 0x14021cb1d
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14021cb25
xor eax, eax
jmp 0x14021cb86
test rbx, rbx
jne 0x14021cb45
lea rcx, str.ReplaceTextW
call fcn.1400d8178
mov rbx, rax
test rax, rax
je 0x14021cb52
mov qword [0x14036edf0], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
test rdi, rdi
sete bl
test ebx, ebx
je 0x14021cb68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14021cb6a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14021cb83
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14021cc94
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14036edf8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x14021ccdf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x14021cce8
call fcn.14001c780
test eax, eax
je 0x14021cd04
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14021cd0c
xor eax, eax
jmp 0x14021cd69
test rbx, rbx
jne 0x14021cd2c
lea rcx, str.ImageList_DrawIndirect
call fcn.14001c3cc
mov rbx, rax
test rax, rax
je 0x14021cd37
mov qword [0x14036edf8], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14021cd4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14021cd4e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14021cd67
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14021cd80
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov qword [rax - 0x18], rdi
mov rbx, qword [0x14036ee00]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x14021cdcc
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x14021cdd5
call fcn.14001c780
test eax, eax
je 0x14021cdf1
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14021cdf9
xor eax, eax
jmp 0x14021ce5a
test rbx, rbx
jne 0x14021ce19
lea rcx, str.ImageList_Duplicate
call fcn.14001c3cc
mov rbx, rax
test rax, rax
je 0x14021ce26
mov qword [0x14036ee00], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
test rdi, rdi
sete bl
test ebx, ebx
je 0x14021ce3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14021ce3e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14021ce57
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14021ede0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14036eeb8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x14021ee2b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x14021ee34
call fcn.14001c780
test eax, eax
je 0x14021ee50
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14021ee58
xor eax, eax
jmp 0x14021eeb5
test rbx, rbx
jne 0x14021ee78
lea rcx, str.ChooseFontW
call fcn.1400d8178
mov rbx, rax
test rax, rax
je 0x14021ee83
mov qword [0x14036eeb8], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14021ee98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14021ee9a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14021eeb3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140223484
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14036eed0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x1402234cf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x1402234d8
call fcn.14001c780
test eax, eax
je 0x1402234f4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1402234fc
xor eax, eax
jmp 0x140223559
test rbx, rbx
jne 0x14022351c
lea rcx, str.PageSetupDlgW
call fcn.1400d8178
mov rbx, rax
test rax, rax
je 0x140223527
mov qword [0x14036eed0], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14022353c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14022353e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140223557
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140223570
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14036eec8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x1402235bb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x1402235c4
call fcn.14001c780
test eax, eax
je 0x1402235e0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1402235e8
xor eax, eax
jmp 0x140223645
test rbx, rbx
jne 0x140223608
lea rcx, str.PrintDlgW
call fcn.1400d8178
mov rbx, rax
test rax, rax
je 0x140223613
mov qword [0x14036eec8], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140223628
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14022362a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140223643
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14022a49c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14022a304
Function at 0x140b0ac10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140b0ac1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140b0ac2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140b0ac15
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140b0ac45
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140b0ac32
sub eax, 3
jb 0x140b0ac5f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140b0ac96
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140b0ac86
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140b0ac84
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140b0ac73
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140b0abd2
jmp 0x140b0ac1d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0xb02000]
mov eax, dword [rdi]
or eax, eax
je 0x140b0acf6
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xb0fcec]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140b0aca6
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140b0acf0
mov qword [rbx], rax
add rbx, 8
jmp 0x140b0acc6
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140b0ad3a
cmp al, 0xef
ja 0x140b0ad22
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140b0ad02
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140b0ad11
mov eax, dword [rdi]
add rdi, 4
jmp 0x140b0ad11
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.140b0adb9], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140b0adb9
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140b0ada9
sub rsp, 0xffffffffffffff80
jmp 0x1400014d0
Function at 0x14000c8e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14000c911
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14000c98b
mov rdi, r14
mov rcx, rbx
call fcn.140010230
test rax, rax
jle 0x14000c963
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140044760
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000c97b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x14000c983
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14000c925
sub r14, rdi
jmp 0x14000ca6f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14000c9a2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000c9a4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000c9d6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140044760
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000ca6c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000ca11
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000ca4d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140054b50
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000ca6c
cmp rbp, rax
ja 0x14000ca20
test rbp, rbp
je 0x14000ca6c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140054b50
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140019390
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1400a2078]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x1400aa928], 0
jne 0x1400193ed
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400193e3
mov eax, 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140042470
add rsp, 0x1d8
ret
mov dword [0x1400aa928], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140042470
add rsp, 0x1d8
ret
Function at 0x140019b20
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x188
mov rax, qword [0x1400a2078]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp qword [0x1400aa958], 0
jne 0x140019d45
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140019d5d
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x190], rbx
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x198], rbp
mov qword [rsp + 0x1a0], rsi
xor esi, esi
mov qword [rsp + 0x1a8], rdi
mov edx, esi
lea rdi, [rsp + 0x30]
mov qword [rsp + 0x180], r14
add rdi, rax
lea rax, [rsp + 0x30]
cmp rax, rdi
jae 0x140019c22
nop
movzx eax, byte [rbx]
dec al
cmp al, 0x1f
ja 0x140019c07
inc rbx
cmp rbx, rdi
jb 0x140019bb0
sub rdi, rbx
mov rbp, rbx
mov qword [0x1400aaa30], rdi
inc rdi
mov rcx, rdi
call fcn.14005608c
mov rsi, rax
test rax, rax
jne 0x140019cfd
test rdi, rdi
jne 0x140019d83
lea ecx, [rax + 8]
call fcn.14005608c
mov rsi, rax
test rax, rax
je 0x140019d83
jmp 0x140019cfd
cmp rdi, rbx
jbe 0x140019c22
nop dword [rax]
cmp byte [rdi - 1], 0x20
lea rax, [rdi - 1]
ja 0x140019c22
mov rdi, rax
cmp rax, rbx
ja 0x140019c10
mov rax, rbx
cmp rbx, rdi
jae 0x140019bc1
nop word [rax + rax]
movsx ecx, byte [rax]
cmp ecx, 0x20
jle 0x140019c41
test cl, cl
js 0x140019c41
cmp ecx, 0x3d
jne 0x140019c45
add rdx, 2
inc rax
cmp rax, rdi
jb 0x140019c30
test rdx, rdx
je 0x140019bc1
mov r14, rdi
lea rbp, [rsp + 0xb0]
sub r14, rbx
inc r14
add r14, rdx
cmp r14, 0xc0
jbe 0x140019c8a
mov rcx, r14
call fcn.14005608c
mov rsi, rax
test rax, rax
je 0x140019d93
mov rbp, rax
mov rdx, rbp
lea r8, str.0123456789ABCDEF
nop dword [rax]
nop dword [rax + rax]
movsx rax, byte [rbx]
mov byte [rdx], al
mov rcx, rax
cmp eax, 0x20
jle 0x140019cb7
test al, al
js 0x140019cb7
cmp ecx, 0x3d
jne 0x140019cd7
sar rax, 4
and eax, 0xf
mov byte [rdx], 0x3d
movzx eax, byte [rax + r8]
mov byte [rdx + 1], al
add rdx, 2
and ecx, 0xf
movzx eax, byte [rcx + r8]
mov byte [rdx], al
inc rdx
inc rbx
cmp rbx, rdi
jb 0x140019ca0
mov rdi, rdx
sub rdi, rbp
mov qword [0x1400aaa30], rdi
test rsi, rsi
je 0x140019bce
mov byte [rdx], 0
jmp 0x140019d16
mov rbx, qword [0x1400aaa30]
mov rdx, rbp
mov r8, rbx
mov rcx, rsi
call fcn.140044760
mov byte [rbx + rsi], 0
mov rdi, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x198]
mov rbx, qword [rsp + 0x190]
mov r14, qword [rsp + 0x180]
mov qword [0x1400aa958], rsi
mov rsi, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140042470
add rsp, 0x188
ret
lea rax, [0x14008e24b]
mov qword [0x1400aa958], rax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140042470
add rsp, 0x188
ret
mov r8, rdi
lea rcx, str.malloc
call fcn.140022f20
int3
mov r8, r14
lea rcx, str.malloc
call fcn.140022f20
int3
Function at 0x14001a810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
call fcn.14001a460
mov r10, qword [0x1400aa960]
xor r8d, r8d
mov r9, qword [0x1400aa9c0]
mov byte [r10], 0
cmp r9, r10
jae 0x14001a86d
lea rdx, [0x140090090]
nop word [rax + rax]
movzx ecx, byte [r9]
mov eax, r8d
xor rcx, rax
shr r8d, 8
movzx eax, cl
inc r9
xor r8d, dword [rdx + rax*4]
cmp r9, r10
jb 0x14001a850
mov eax, dword [0x1400aa974]
lea rdx, str._d__d__d__lx
mov r9d, dword [0x1400aa968]
mov rcx, rdi
mov dword [rsp + 0x28], r8d
mov r8d, dword [0x1400aa944]
mov dword [rsp + 0x20], eax
call fcn.1400276e0
mov r9, qword [0x1400aaa58]
mov edi, eax
mov eax, dword [0x1400aa940]
mov rcx, qword [0x1400aa960]
movsxd rdx, eax
mov qword [r9 + rdx*8], rcx
cmp eax, 1
jl 0x14001a8e1
lea rdx, [r9 + 8]
mov r8d, eax
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rdx]
lea rdx, [rdx + 8]
mov byte [rcx - 1], 0
sub r8, 1
jne 0x14001a8d0
movsxd rcx, dword [0x1400aa968]
movsxd r8, dword [0x1400aa944]
mov eax, dword [0x1400aa974]
mov dword [rbx], r8d
mov dword [rbx + 4], ecx
mov dword [rbx + 8], eax
cmp ecx, 1
jle 0x14001a91c
mov rdx, rcx
lea rcx, [r9 + r8*8]
lea r9, [0x14001a7d0]
mov r8d, 8
call fcn.1400556b0
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14001c760
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
sub rsp, 0x30
mov esi, ecx
mov dword [rsp + 0x48], 0xff38
mov ecx, 0xff38
mov ebp, 1
call fcn.14005608c
mov rbx, rax
test rax, rax
je 0x14001c972
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x28], rax
lea rdx, [0x140092d74]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rcx, 0xffffffff80000004
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp eax, 0xea
jne 0x14001c845
mov rcx, rbx
call fcn.1400543f0
mov eax, dword [rsp + 0x48]
add eax, 0x8000
mov ecx, eax
mov dword [rsp + 0x48], eax
mov edi, eax
call fcn.14005608c
mov rbx, rax
test rax, rax
jne 0x14001c813
test rdi, rdi
jne 0x14001c985
lea ecx, [rax + 8]
call fcn.14005608c
mov rbx, rax
test rax, rax
je 0x14001c985
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x140092d74]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, 0xffffffff80000004
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp eax, 0xea
je 0x14001c7d0
mov rcx, 0xffffffff80000004
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x14001c86e
mov r8d, edi
lea rdx, str.baron
lea rcx, str._s:_Return__ld_from_RegQueryValueEx_n
call fcn.1400275f0
jmp 0x14001c8a8
mov ecx, dword [rbx + 0x18]
xor edx, edx
mov r8d, dword [rbx + 0x1c]
add rcx, rbx
test r8d, r8d
jle 0x14001c895
nop
cmp dword [rcx + 0xc], 0xe6
je 0x14001c8c7
mov eax, dword [rcx]
inc edx
add rcx, rax
cmp edx, r8d
jl 0x14001c880
lea rdx, str.baron
lea rcx, str._s:_could_not_find_Process__object_230__n
call fcn.1400275f0
mov rcx, rbx
call fcn.1400543f0
mov rdi, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
mov edx, dword [rcx + 8]
xor r8d, r8d
mov r11d, dword [rcx + 0x20]
add rdx, rcx
mov r10d, 0xffffffff
mov r9d, r10d
test r11d, r11d
jle 0x14001c912
mov eax, dword [rdx + 4]
cmp eax, 0x310
je 0x14001c8fc
cmp eax, 0x582
jne 0x14001c905
mov r10d, dword [rdx + 0x24]
test r9d, r9d
jmp 0x14001c903
mov r9d, dword [rdx + 0x24]
test r10d, r10d
jg 0x14001c920
mov eax, dword [rdx]
inc r8d
add rdx, rax
cmp r8d, r11d
jl 0x14001c8e2
lea rcx, str.pid_in_use:_could_not_find_offsets_n
call fcn.140019480
jmp 0x14001c8a8
mov r8d, dword [rcx + 0x28]
test r8d, r8d
jg 0x14001c93d
mov edx, r8d
lea rcx, str.pid_in_use:_Got_PO__NumInstances___ld__expected_a_positive_value._n
call fcn.140019480
jmp 0x14001c8a8
mov edx, dword [rcx + 4]
add rdx, rcx
movsxd r10, r9d
xor ecx, ecx
nop dword [rax + rax]
mov eax, dword [rdx]
add rax, rdx
cmp dword [r10 + rax], esi
je 0x14001c8a8
mov edx, dword [rax]
inc ecx
add rdx, rax
cmp ecx, r8d
jl 0x14001c950
xor ebp, ebp
jmp 0x14001c8a8
mov r8d, 0xff38
lea rcx, str.malloc
call fcn.140022f20
int3
mov r8, rdi
lea rcx, str.malloc
call fcn.140022f20
int3