joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14016c2b0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov ebx, ecx
mov qword [rbp - 0x40], rdx
mov rsi, rdx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, ebx
mov dword [rbp - 0x44], ecx
mov rdx, rsi
mov qword [rbp - 0x4c], rdx
lea rcx, [rbp - 0x78]
call fcn.1400067a0
mov ecx, dword [rbp - 0x44]
mov rdx, qword [rbp - 0x4c]
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.1400067f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140002ae5
mov dword [rax + 0xb8], esi
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14016c900
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov ebx, edx
mov qword [rbp - 0x40], rcx
mov rsi, rcx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x4c], rcx
mov edx, ebx
mov dword [rbp - 0x44], edx
lea rcx, [rbp - 0x78]
call fcn.1400067a0
mov rcx, qword [rbp - 0x4c]
mov edx, dword [rbp - 0x44]
call sub.KERNEL32.dll_GetSystemDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.1400067f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140002ae5
mov dword [rax + 0xb8], esi
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14016d690
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.1400067a0
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.1400067f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140002ae5
mov dword [rax + 0xb8], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14016dda0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, r8d
mov qword [rbp - 0x40], rdx
mov rsi, rdx
test rcx, rcx
je 0x14016ddda
add rcx, 0xc
mov rdi, rcx
jmp 0x14016dddc
xor edi, edi
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov rdx, rsi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
lea rcx, [rbp - 0x88]
call fcn.1400067a0
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.1400067f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
call fcn.140002ae5
mov dword [rax + 0xb8], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140267280
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jge 0x14026731d
xor eax, eax
cmp r8d, 4
jl 0x1402672d1
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x140267318
nop dword [rax]
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
je 0x140267311
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
je 0x140267309
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
je 0x140267301
add rax, 4
test r8d, r8d
jle 0x1402674fa
movsx r9, dx
nop
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
je 0x140267318
inc rax
test r8d, r8d
jg 0x1402672e0
jmp 0x1402674fa
add eax, 3
jmp 0x1402674f5
add eax, 2
jmp 0x1402674f5
inc eax
jmp 0x1402674f5
jmp 0x1402674f5
movsx r9, dx
movd xmm0, r9d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov rax, rcx
lea edx, [r8 - 8]
movsxd rdx, edx
add rdx, rdx
lea r10, [rax + rdx]
movups xmm1, xmmword [rax]
pcmpeqw xmm1, xmm0
movaps xmmword [rsp + 0x20], xmm1
xorps xmm2, xmm2
pcmpeqw xmm1, xmm2
pmovmskb r9d, xmm1
cmp r9d, 0xffff
jne 0x140267436
add rax, 0x10
cmp rax, r10
jbe 0x140267340
mov eax, r8d
test al, 7
je 0x1402674fa
movups xmm1, xmmword [r10]
pcmpeqw xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1402674fa
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
jne 0x1402674ec
mov ecx, 0x20
jmp 0x1402674ef
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
jne 0x1402674dd
mov r8d, 0x20
jmp 0x1402674e1
bsf r8d, edx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x1402674f5
bsf ecx, eax
shr rdx, 1
lea eax, [rdx + rcx]
add rsp, 0x38
ret
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x140001bb0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 7
mov word [rcx], r15w
mov dword [rsp + 0x30], 1
mov rcx, rdx
cmp qword [rdx + 0x18], 7
jbe 0x140001c0c
mov rcx, qword [rdx]
mov r8, rcx
jmp 0x140001c0f
mov r8, rdx
mov rdi, rcx
mov rax, qword [rdx + 0x10]
lea r14, [r8 + rax*2]
cmp rcx, r14
je 0x140001d4d
movabs r13, 0xcbf29ce484222325
movabs r12, 0x100000001b3
nop word [rax + rax]
movzx edx, byte [rdi]
xor rdx, r13
imul rdx, r12
movzx eax, byte [rdi + 1]
xor rdx, rax
imul rdx, r12
and rdx, qword [0x1400077a0]
shl rdx, 4
add rdx, qword [0x140007788]
mov rax, qword [rdx + 8]
mov r8, qword [0x140007778]
cmp rax, r8
je 0x140001c94
mov rdx, qword [rdx]
movzx ecx, word [rdi]
cmp cx, word [rax + 0x10]
je 0x140001c97
cmp rax, rdx
je 0x140001c94
mov rax, qword [rax + 8]
cmp cx, word [rax + 0x10]
jne 0x140001c83
jmp 0x140001c97
mov rax, r15
mov rcx, r8
test rax, rax
cmovne rcx, rax
cmp rcx, r8
je 0x140001d06
lea r9, [rcx + 0x18]
cmp qword [rcx + 0x30], 7
jbe 0x140001cb5
mov r9, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x28]
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x140001cf7
lea rbp, [rcx + rdx]
mov qword [rbx + 0x10], rbp
mov rsi, rbx
cmp r8, 7
jbe 0x140001ce0
mov rsi, qword [rbx]
lea r8, [rdx + rdx]
lea rcx, [rsi + rcx*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rsi + rbp*2], r15w
jmp 0x140001d40
mov qword [rsp + 0x20], rdx
mov rcx, rbx
call fcn.1400028d0
jmp 0x140001d40
movzx r9d, word [rdi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140001d38
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 7
jbe 0x140001d2b
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x140001d40
mov rcx, rbx
call fcn.140002720
add rdi, 2
cmp rdi, r14
jne 0x140001c40
mov rax, rbx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001ef0
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r9
mov edi, r8d
mov rbp, rdx
lea eax, [r8 - 0x101]
cmp eax, 1
ja 0x140002041
mov rcx, qword [0x140007758]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.140002550
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rdx, qword [rsp + 0x20]
lea r8d, [rbx + 1]
mov rcx, qword [0x140007758]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140001bb0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov rcx, qword [0x140007760]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140001fe7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fe2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001fe2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000364c
movdqa xmm0, xmmword [0x140005590]
movdqu xmmword [rsp + 0x50], xmm0
xor eax, eax
mov word [rsp + 0x40], ax
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140002041
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000203c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000203c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000364c
cmp edi, 0x100
jne 0x14000207f
lea rax, [rsi - 0x41]
test rax, 0xffffffffffffffdf
jne 0x14000207f
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14000207f
mov r9, 0xffffffffffffffff
xor r8d, r8d
lea edx, [rdi - 0x4f]
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x140002095
mov r9, qword [rsp + 0xb0]
mov r8, rsi
mov edx, edi
mov rcx, rbp
call qword [sym.imp.COMCTL32.dll_DefSubclassProc]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400032e0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002fe0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140003011
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140007778]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140007788]
lea rdx, [rdi + rdi]
call fcn.140002410
mov rax, qword [0x140007778]
lea r9, [rdi - 1]
mov qword [0x1400077a0], r9
mov qword [0x1400077a8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140003173
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx r11d, byte [rax + 0x10]
movzx edx, byte [rax + 0x11]
xor r11, rsi
mov rcx, qword [rcx]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140007788]
mov r8, qword [r11]
cmp r8, rbx
jne 0x1400030ba
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140003134
mov rdx, qword [r11 + 8]
movzx r9d, word [rax + 0x10]
cmp r9w, word [rdx + 0x10]
jne 0x1400030f9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400030f3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140003134
cmp r8, rdx
je 0x140003110
nop
mov rdx, qword [rdx + 8]
cmp r9w, word [rdx + 0x10]
je 0x140003148
cmp r8, rdx
jne 0x140003100
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14000316e
mov r9, qword [0x1400077a0]
jmp 0x140003081
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140003134
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140003e04
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003e4e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003e4e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003e4e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003e4e
cmp dword [rcx + 0x84], 0xe
jbe 0x140003e4e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003e50
xor al, al
add rsp, 0x28
ret
Function at 0x14012f1d4
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
xor r14d, 0x97a6bc54
xor r11d, 0x2dbedd2
movabs r9, 0x568007000000f2e9
div r14
or r12d, 0x2a851873
mov rax, qword [0x60]
Function at 0x140130d71
Capabilities:
Hash data using fnv

Disassembly:
mov r10d, r8d
mov edx, 0xe58ca837
jmp 0x14013001c
jne 0x14012ff0e
cmp edx, 0xee9bd3e0
je 0x140130369
inc r8d
jmp 0x140130244
mov ecx, dword [rbx + r9 + 0x24]
add rcx, r9
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + r9 + 0x1c]
add rcx, r9
jmp 0x14013093a
mov r12d, dword [rcx + rdx*4]
mov edx, dword [r15 + 0xd8]
add r12, r9
xchg rdi, rdx
mov qword [rbp + 0x1a0], rdi
call rcx
test edx, 0x720f5849
lea r9d, [rbp - 0x8c74]
cmp r12, rbp
lea esi, [rcx - 0x11d6]
pushfq
jmp 0x140130df9
in eax, 0x8d
test eax, 0xfffff328
jmp 0x140130d67
bswap rsi
or edi, 0xa4448f3f
lea r12d, [rdx - 0x8df]
lea esp, [rdx - 0x8df]
jmp 0x140130db3
add byte [rsi - 0x64], ah
pushf
lea r9d, [rcx + 0xa586]
add r15d, 0x79b314f0
popfq
lea r12d, [rbx + 0xcaaf]
jmp 0x140130cdb
jl 0x140130d13
test rcx, rbp
rol r11d, 0xea
sub r12d, 0x3805e2e
je 0x140130d3e
neg rdi
jmp 0x14013101c
push r9
lea r10d, [rbx - 0x3298]
rol r13d, 0x81
jmp 0x140130b07
Function at 0x140014440
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xc8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov eax, dword [0x140d123b8]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, reloc.WS2_32.dll_recv
add rax, rbx
mov qword [rsp + 0xc0], rax
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [rdx + 0x18]
mov rbx, qword [rax]
mov rax, qword [rdx + 0x20]
mov rbp, qword [rax]
mov rax, qword [rdx + 0x28]
mov rsi, qword [rax]
mov rax, qword [rdx + 0x30]
mov rdi, qword [rax]
mov rax, qword [rdx + 0x58]
mov r12, qword [rax]
mov rax, qword [rdx + 0x60]
mov r13, qword [rax]
mov rax, qword [rdx + 0x68]
mov r14, qword [rax]
mov rax, qword [rdx + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [rdx + 0x90]
movdqa xmm7, xmmword [rdx + 0xa0]
movdqa xmm8, xmmword [rdx + 0xb0]
movdqa xmm9, xmmword [rdx + 0xc0]
movdqa xmm10, xmmword [rdx + 0xd0]
movdqa xmm11, xmmword [rdx + 0xe0]
movdqa xmm12, xmmword [rdx + 0xf0]
movdqa xmm13, xmmword [rdx + 0x100]
movdqa xmm14, xmmword [rdx + 0x110]
movdqa xmm15, xmmword [rdx + 0x120]
mov rcx, qword [rdx + 0x78]
call qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
mov rax, qword [rdx + 0x18]
mov qword [rax], rbx
mov rax, qword [rdx + 0x20]
mov qword [rax], rbp
mov rax, qword [rdx + 0x28]
mov qword [rax], rsi
mov rax, qword [rdx + 0x30]
mov qword [rax], rdi
mov rax, qword [rdx + 0x58]
mov qword [rax], r12
mov rax, qword [rdx + 0x60]
mov qword [rax], r13
mov rax, qword [rdx + 0x68]
mov qword [rax], r14
mov rax, qword [rdx + 0x70]
mov qword [rax], r15
movdqa xmmword [rdx + 0x90], xmm6
movdqa xmmword [rdx + 0xa0], xmm7
movdqa xmmword [rdx + 0xb0], xmm8
movdqa xmmword [rdx + 0xc0], xmm9
movdqa xmmword [rdx + 0xd0], xmm10
movdqa xmmword [rdx + 0xe0], xmm11
movdqa xmmword [rdx + 0xf0], xmm12
movdqa xmmword [rdx + 0x100], xmm13
movdqa xmmword [rdx + 0x110], xmm14
movdqa xmmword [rdx + 0x120], xmm15
mov rax, qword [rsp + 0xc0]
lock or dword [rax + 0x38], 0x10
movdqa xmm6, xmmword [rsp + 0x20]
movdqa xmm7, xmmword [rsp + 0x30]
movdqa xmm8, xmmword [rsp + 0x40]
movdqa xmm9, xmmword [rsp + 0x50]
movdqa xmm10, xmmword [rsp + 0x60]
movdqa xmm11, xmmword [rsp + 0x70]
movdqa xmm12, xmmword [rsp + 0x80]
movdqa xmm13, xmmword [rsp + 0x90]
movdqa xmm14, xmmword [rsp + 0xa0]
movdqa xmm15, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbp
pop rdi
pop rsi
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14001bbc0
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp qword [rcx + 0x60], 0xffffffffffffffff
je 0x140012477
mov eax, dword [rcx + 0x38]
shr eax, 5
test al, 1
jne 0x140012477
mov eax, dword [rcx + 0x38]
shr eax, 7
test al, 1
jne 0x140012477
mov rdx, rcx
mov rcx, qword [rcx + 0x60]
jmp 0x14001bbc0
ret
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x630
mov rax, qword [0x140cf5b80]
xor rax, rsp
mov qword [rsp + 0x620], rax
mov rax, qword [0x140cf47c0]
xor r14d, r14d
mov rbx, rdx
mov rdi, rcx
cmp rax, 0xffffffffffffffff
jne 0x14001bd04
xor edx, edx
lea rcx, str.kernel32
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
lea rdx, str.IsWow64Process2
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14001bced
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x24]
call rsi
test eax, eax
je 0x14001bced
mov eax, 0xaa64
cmp word [rsp + 0x20], ax
jne 0x14001bced
xor edx, edx
mov dword [rsp + 0x30], 0x11c
mov r8d, pe_nt_image_headers64
mov qword [rsp + 0x3c], r14
lea rcx, [rsp + 0x44]
call fcn.1400c2b70
xor eax, eax
mov word [rsp + 0x146], r14w
mov r8b, 3
mov dword [rsp + 0x148], eax
xor ecx, ecx
lea edx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [r14 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [r14 + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov ecx, 0x65f4
mov qword [rsp + 0x34], 0xa
mov word [rsp + 0x144], cx
lea edx, [r14 + 0x23]
lea rcx, [rsp + 0x30]
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x14001bd5e
lea rdx, str.QueueUserAPC2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140cf47c0], rax
test rax, rax
je 0x14001bd65
mov rcx, rbx
call fcn.140012770
test al, al
jne 0x14001bdc9
mov dl, 1
mov rcx, rbx
call fcn.1400127d0
mov r9d, 0x10001
lea rcx, [0x14001b860]
mov r8, rbx
mov rdx, rdi
call qword [0x140cf47c0]
test eax, eax
jne 0x14001bdc9
xor edx, edx
mov rcx, rbx
call fcn.1400127d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x14001bd5e
cmp eax, 0x32
jne 0x14001bdc9
mov qword [0x140cf47c0], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x14001bdc9
lea rdx, [rsp + 0x150]
mov dword [rsp + 0x180], 0x40100003
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14001bdc0
mov ecx, dword [rsp + 0x180]
mov eax, ecx
shr eax, 0x1f
test ecx, ecx
jns 0x14001bdab
test ecx, 0x18000000
jne 0x14001bdc0
test al, al
je 0x14001bdc0
mov rdx, rbx
lea rcx, [rsp + 0x150]
call qword [0x140d07f80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x620]
xor rcx, rsp
call fcn.1400be170
lea r11, [rsp + 0x630]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14001bf60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x14001bf74
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14001c020
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14001c049
add rsp, 0x38
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x14001c060
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov qword [rsp + 0x28], 0
mov r8, rcx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14001c095
add rsp, 0x30
pop rbx
ret
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x14001d380
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x140cf5b80]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movzx ebx, r8b
mov rdi, rdx
mov r8d, 0x40
lea rdx, [rsp + 0x50]
call fcn.14001cfb0
mov r8d, shutdown
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov r11d, eax
lea ecx, [rax - 1]
cmp ecx, 0xf
ja 0x14001d448
xor ecx, ecx
mov r9d, ecx
test eax, eax
je 0x14001d441
lea r10, [rsp + 0x20]
movzx r8d, word [r10]
lea eax, [r8 - 0x30]
test bl, bl
je 0x14001d404
cmp ax, 9
ja 0x14001d448
lea rcx, [rcx + rcx*4]
lea rcx, [rcx - 0x18]
lea rcx, [r8 + rcx*2]
jmp 0x14001d435
shl rcx, 4
cmp ax, 9
ja 0x14001d414
add rcx, 0xffffffffffffffd0
jmp 0x14001d432
lea eax, [r8 - 0x61]
cmp ax, 5
ja 0x14001d424
add rcx, 0xffffffffffffffa9
jmp 0x14001d432
lea eax, [r8 - 0x41]
cmp ax, 5
ja 0x14001d448
add rcx, 0xffffffffffffffc9
add rcx, r8
inc r9d
add r10, 2
cmp r9d, r11d
jb 0x14001d3e4
mov qword [rdi], rcx
mov al, 1
jmp 0x14001d44a
xor al, al
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400be170
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
ret