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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002af3
cmp byte [rcx + 0x71], 0
je 0x140002af3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002aef
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002ab4
sub eax, 1
je 0x140002ab8
cmp eax, 2
jne 0x140002aef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003a70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002ae6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002aef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002a9c
xor al, al
jmp 0x140002a9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003a70
add rsp, 0x60
pop rbx
ret

Function at 0x1400043f8
Capabilities:
Parse pe header

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

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

Function at 0x14000dde0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000dbdc
Function at 0x140010e94
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 0x140010ec4
xor eax, eax
jmp 0x140010f87
mov rbp, rbx
cmp word [rax], si
je 0x140010ee9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010ed0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140010ecc
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.140010db4
movsxd r14, eax
test eax, eax
jne 0x140010f27
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140010ebd
mov rcx, r14
call fcn.140011928
mov rdi, rax
test rax, rax
jne 0x140010f40
xor ecx, ecx
call fcn.14000f3ec
jmp 0x140010f1c
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.140010db4
test eax, eax
jne 0x140010f71
mov rcx, rdi
call fcn.14000f3ec
jmp 0x140010f7b
xor ecx, ecx
call fcn.14000f3ec
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 0x180082888
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 0x1800828b8
xor eax, eax
jmp 0x18008297b
mov rbp, rbx
cmp word [rax], si
je 0x1800828dd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800828c4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800828c0
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.180082738
movsxd r14, eax
test eax, eax
jne 0x18008291b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800828b1
mov rcx, r14
call fcn.18007ed68
mov rdi, rax
test rax, rax
jne 0x180082934
xor ecx, ecx
call fcn.18007f338
jmp 0x180082910
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.180082738
test eax, eax
jne 0x180082965
mov rcx, rdi
call fcn.18007f338
jmp 0x18008296f
xor ecx, ecx
call fcn.18007f338
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 0x1800067e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180044040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 8
call fcn.1800355e8
lea rcx, [0x180004940]
mov r9, rax
lea r8, [0x1800075a0]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18000688a
cmp dword [rsp + 0x48], 0
jne 0x18000684a
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x48], eax
jne 0x180006862
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x18000689e
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x48], 0
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800355c0
add rsp, 0x68
ret

Function at 0x1800096b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000970d
lea rbx, [0x180038b80]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800096f4
cmp r10, 2
jb 0x1800096f4
cmp byte [r9], r8b
jne 0x1800096f4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800096d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000974f
lea rbx, [0x180038b80]
cmp r8b, 0x23
jne 0x180009733
cmp byte [r9], r8b
jne 0x180009733
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180009720
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180009890
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800098aa
mov qword [r8], 0
lea rdx, [0x1800386e0]
call fcn.180009760
mov rbx, rax
test rax, rax
jne 0x1800098ca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1800099a1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800099a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800099a1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800099a1
cmp rdi, 0xffffffffffffffff
je 0x1800099a1
mov rax, qword [0x180044838]
test rax, rax
je 0x18000993e
inc dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800099a1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18000998e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180044838]
test rax, rax
je 0x180009983
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800099aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000999c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800099ac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18000bce0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x180038b80]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x18000bd76
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18001e2f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180017740
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180044040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180044838]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x1800177a1
cmp byte [rbx + 0x4a92], 0
jne 0x1800177a1
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180009630
test dil, 2
je 0x1800178cf
jmp 0x18001782a
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18003da18]
mulss xmm1, dword [0x18003da10]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x18003d98c]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.180009630
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180017880
lea r11, [0x180038b80]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180017863
cmp byte [r8], r9b
jne 0x180017863
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180017850
not ecx
call fcn.18000f270
test rax, rax
je 0x1800178cf
cmp byte [rax + 0xb6], 0
je 0x1800178cf
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.180009630
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1800119e0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800355c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001cb20
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 + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001cbc7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001cb7a
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.18001ef40
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180009cf0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18004482c]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001cbcf
mov rcx, rbx
call fcn.180009cf0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001d050
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180044838]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001d0b3
mov qword [rsp], rbx
lea rbx, [0x180038b80]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001d093
cmp byte [r8], r9b
jne 0x18001d093
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 0x18001d080
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18001d0e7
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001d0ee
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18001d0d4
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 0x14000326c
Capabilities:
Encode data using xor

Disassembly:
and al, 0xd8
add byte [rax], al
add byte [rax - 0x77], cl
xchg esp, eax
and al, 0xc0
add byte [rax], al
add byte [rsi - 0x75], ah
and al, 0x52

Function at 0x1400034e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [rsp + 0x5c]
mov ebx, edx
add ebx, 0x6ffb992
mov dword [rsp + 0x64], ebx
sub eax, edx
mov dword [rsp + 0x4c], eax
mov word [rsp + 0x62], 0xc01a
cmp r8, 0
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x3c], edx
mov byte [rsp + 0x3b], r10b
mov qword [rsp + 0x30], r8
je 0x140003586
jmp 0x14000355e
mov eax, 0xbf91b247
mov ecx, dword [rsp + 0x5c]
mov byte [rsp + 0x7f], 4
mov rdx, qword [rsp + 0x68]
xor rdx, 0x21298a1b
mov r8b, byte [rsp + 0x3b]
mov byte [rsp + 0x7f], r8b
mov byte [rsp + 0x7f], al
sub eax, ecx
mov r9, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x3c]
xor ecx, 0xffffffff
mov dword [rsp + 0x64], ecx
mov byte [rsp + 0x7f], 0x34
mov dword [rsp + 0x4c], eax
cmp r9, rdx
jae 0x140003586
jmp 0x14000359c
mov eax, 0x6ff8fbf2
mov ecx, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x5c]
xor ecx, 0x3aacafde
mov word [rsp + 0x62], 0x95da
sub eax, edx
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], ecx
je 0x14000355e
jmp 0x140003518
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x64], ecx
xor eax, 0x6f46a6c9
outsd dx, dword [rsi]

Function at 0x140004d6c
Capabilities:
Encode data using xor

Disassembly:
lea rdx, [0x1400cc6c7]
mov eax, 0x4c5c7f6a
mov cx, 0x8b4a
lea r8, [rsp + 0xb0]
mov qword [rsp + 0x118], r8
mov r9b, byte [rsp + 0x96]
mov byte [rsp + 0x167], r9b
mov r10d, dword [rsp + 0x154]
mov r11w, word [rsp + 0xa2]
sub cx, r11w
sub eax, r10d
mov r8, qword [rsp + 0x158]
add r8, 0xffffffffee05e828
mov word [rsp + 0x17e], cx
mov rcx, qword [rsp + 0x118]
mov qword [rsp + 0x60], r8
mov r8d, eax
call fcn.140003a40
mov eax, dword [rsp + 0x120]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0xf0], rcx
mov rcx, qword [rsp + 0xf0]
mov r8d, dword [rsp + 0x154]
mov r9b, byte [rsp + 0x96]
mov byte [rsp + 0x167], r9b
add r8d, 0x2f0d2303
mov qword [rsp + 0xd8], rcx
mov rcx, qword [rsp + 0x118]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x58], r8d
call fcn.140003ce0
mov r9b, byte [rsp + 0x96]
xor r9b, 0x7f
mov byte [rsp + 0x167], r9b
mov qword [rsp + 0x138], rax
mov r8d, dword [rsp + 0x58]
mov r10d, dword [rsp + 0x5c]
cmp r8d, r10d
je 0x140004a87
jmp 0x1400048e6
mov rdi, qword [rsp + 0x158]
mov qword [rsp + 0x170], rsi
add rdi, 0xffffffffa7eef4a9
mov dword [rsp + 0x14c], r11d
mov word [rsp + 0x17e], 0xbfc1
mov rbx, qword [rsp + 0xe8]
mov byte [rsp + 0x167], WSACancelAsyncRequest
add rbx, rcx
mov qword [rsp + 0x108], rbx
add r8b, 0xb
mov byte [rsp + 0x167], r8b
mov r9d, dword [rsp + 0x14c]
mov dword [rsp + 0x104], r9d
mov bp, word [rsp + 0xa2]
xor bp, 0xffff
mov word [rsp + 0x17e], bp
cmp rbx, rdi
je 0x140004a87
jmp 0x140004772
Function at 0x140005850
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rsp + 0x48]
mov cx, word [rsp + 0x52]
xor cx, 0xffff
mov word [rsp + 0x52], cx
xor rax, 0x1ff37939
mov dl, byte [rsp + 0x67]
add dl, 0xa7
mov r8, qword [rsp + 0x48]
xor r8, 0x1ff37918
mov r9, qword [rsp + 0x10]
add r9, r8
mov byte [rsp + 0x67], dl
cmp r9, rax
mov qword [rsp + 0x18], r9
je sym.WINSTA.dll_WinStationPreCreateGlassReplacementSessionEx
jmp 0x1400057d0
mov eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
jmp 0x14000581b
mov rax, qword [rsp + 0x18]
lea rcx, [0x1400cc4d0]
mov dx, word [rsp + 0x52]
or dx, 0xd501
mov word [rsp + 0x52], dx
mov r8d, dword [rcx + rax*4]
mov r9d, dword [rsp + 0x3c]
cmp r8d, r9d
mov qword [rsp + 0x10], rax
mov dword [rsp + 0xc], r8d
jb 0x1400057c6
jmp 0x140005782
mov eax, dword [rsp + 8]
lea rcx, [0x1400cc6d5]
mov dx, word [rsp + 0x52]
mov r8w, word [rsp + 0x52]
mov r9d, dword [rsp + 0x60]
sub dx, r8w
mov word [rsp + 0x52], dx
xor r9d, 0x79b95882
xor ecx, 0x79b95882
mov dx, word [rsp + 0x52]
sub dx, word [rsp + 0x52]
mov word [rsp + 0x52], dx
mov r10d, eax
and r10d, r9d
mov r9d, r10d
mov r11d, r9d
mov qword [rsp + 0x58], 0x50a930eb
mov bl, byte [rsp + 0x67]
mov sil, 0x50
mov dword [rsp + 4], eax
mov al, bl
mul sil
mov byte [rsp + 0x67], al
mov r9d, dword [rsp + 0x60]
mov qword [rsp + 0x58], 0x30be1f8a
mov al, byte [rsp + 0x67]
and al, 0x61
xor r9d, 0x79b958bd
mov bl, byte [rcx + r11]
mov r10d, dword [rsp + 4]
mov edi, r10d
mov ecx, edi
mov byte [rsp + 0x67], al
mov r11, qword [rsp + 0x28]
xor r11, 0x5bf0e0c9
mov r14, qword [rsp + 0x40]
mov al, byte [r14 + rcx]
sub al, bl
mov qword [rsp + 0x58], r11
mov r11, qword [rsp + 0x30]
mov ebx, dword [rsp + 0x30]
mov byte [r11 + rcx], al
add r10d, r9d
mov r9d, dword [rsp + 0x3c]
cmp r10d, r9d
mov dword [rsp + 8], r10d
jb 0x14000581b
jmp 0x140005782
Function at 0x140006bf0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140006c13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 8]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x46
jb 0x140006c00
mov byte [rcx + 0x47], 0
mov rax, rcx
ret

Function at 0x140006c20
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x140006c54
mov eax, esi
lea ecx, [rax - 8]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x140006c40
mov byte [r8 + 7], sil
add r8, 6
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.14000f230
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140006c74
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.1400121b0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140006cec
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ce7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006ce7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a84a0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140006d00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x140006d34
mov eax, esi
lea ecx, [rax - 8]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x140006d20
mov byte [r8 + 9], sil
add r8, 8
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.14000f230
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140006d54
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.1400121b0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140006dcc
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006dc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006dc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a84a0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006de0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x140006e14
mov eax, esi
lea ecx, [rax - 8]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x140006e00
mov byte [r8 + 0xa], sil
add r8, 9
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.14000f230
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140006e34
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.1400121b0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140006eac
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ea7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006ea7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a84a0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140006ec0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x140006ee3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 8]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x43
jb 0x140006ed0
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x140006ef0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x140006f18
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 8]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x135
jb 0x140006f00
mov byte [rcx + 0x136], 0
mov rax, rcx
ret

Function at 0x140006f20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x140006f43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 8]
xor byte [rcx + rax], dl
inc rax
cmp rax, 4
jb 0x140006f30
mov byte [rcx + 5], 0
mov rax, rcx
ret