joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d1ec0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x14027c038]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x140295008], 0
jne 0x1400d2161
mov rsi, rcx
movaps xmm6, xmmword [0x14024afc0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x2b9
call fcn.1401593d0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14014edc0
test rsi, rsi
je 0x1400d2165
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140159cf0
mov ecx, 0x65
mov rdx, rdi
call fcn.1400d37d0
test al, al
je 0x1400d202f
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xb0]
mov rcx, rdi
mov rdx, rbx
call fcn.1400dde80
mov rcx, rdi
mov rdx, rbx
call fcn.14015a000
mov rcx, rbx
call fcn.140159f80
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.1401593d0
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14014edc0
cmp byte [rsp + 0x47], 0
jns 0x1400d2013
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.14014f000
cmp edi, 0xffffffff
jne 0x1400d20f6
lea rcx, [rsp + 0x30]
call fcn.140159f80
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140159cf0
mov ecx, 0x67
mov rdx, rdi
call fcn.1400d37d0
test al, al
je 0x1400d20e8
lea rbx, [rsp + 0xb0]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.1401593d0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14014edc0
cmp byte [rsp + 0x47], 0
jns 0x1400d20b7
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.14014f000
cmp edi, 0xffffffff
je 0x1400d20e8
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400d1ba0
test al, al
jne 0x1400d2113
lea rcx, [rsp + 0x30]
call fcn.140159f80
xor esi, esi
jmp 0x1400d212e
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400d1ba0
test al, al
je 0x1400d202f
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.140159f90
mov rcx, rdi
call fcn.140159f80
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.14014f000
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140190b30
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400d2138
int3
Function at 0x1400d2750
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14027c038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x24]
mov dword [r8], 1
movsxd rcx, ecx
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140190b30
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400d2ca0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x578
mov byte [rsp + 0x37], r8b
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14027c038]
xor rax, rsp
mov qword [rsp + 0x570], rax
lea r14, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.140192c80
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.1400f4270
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14024afc0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.1400f4480
movzx eax, byte [rdi + 0x17]
test al, al
js 0x1400d2d38
and eax, 0x7f
jmp 0x1400d2d3d
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400d2e14
lea r14, [rsp + 0x58]
lea r15, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r13d, r13d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.140192c80
mov rcx, r15
mov rdx, r14
call fcn.1400f4430
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x1400d2e58
mov rcx, r14
call fcn.1400f4260
test al, al
jne 0x1400d2ea8
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x1400d2dab
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x1400d2e51
call rbx
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, r14
call fcn.1400b2720
mov rcx, r15
mov rdx, r14
call fcn.1400f4480
mov rcx, rdi
mov rdx, r14
call fcn.14015a000
mov rcx, r14
call fcn.140159f80
movzx eax, byte [rsp + 0x57]
test al, al
js 0x1400d2e03
and eax, 0x7f
jmp 0x1400d2e08
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x1400d2d64
lea rcx, [rsp + 0x40]
call fcn.140159f80
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.1400f43c0
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.140190b30
mov eax, ebp
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x1400d2dc8
cmp byte [rsp + 0x37], 0
je 0x1400d2e80
cmp byte [rsp + 0x57], 0
js 0x1400d2e6d
lea rcx, [rsp + 0x40]
jmp 0x1400d2e72
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1400d2d8c
lea rcx, [rsp + 0x58]
call fcn.1400f4260
test al, al
jne 0x1400d2e94
mov edx, dword [rsp + 0x58]
jmp 0x1400d2e5f
lea rcx, [rsp + 0x58]
call fcn.1400f4260
test al, al
je 0x1400d2d9c
jmp 0x1400d2e51
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x1400d2dc8
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.1400d2ca0
mov ebp, eax
test eax, eax
jne 0x1400d2dc8
cmp byte [rsp + 0x57], 0
jns 0x1400d2ee5
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x1400d2dc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x1400d2dc8
Function at 0x1400d3390
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14027c038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14024afc0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x4d
call fcn.1401593d0
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.14014edc0
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x1400d3416
mov rbx, qword [rbx]
lea rdx, [rsp + 0x2c]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1400d3590
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.14018f638
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
mov rcx, rdi
add rcx, rax
je 0x1400d35e3
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x1400d3441
mov edx, dword [rsp + 0x2c]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400d35a3
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x9c]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d35a3
mov r13, qword [rsp + 0x30]
test r13, r13
je 0x1400d35a3
mov ecx, 0x38
call fcn.14018f638
mov rbx, rax
movzx r12d, word [r13]
movzx ebp, word [r13 + 2]
lea rax, fcn.1400d36b0
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
movabs r14, 0xfffffffc00000000
mov rax, rdi
and rax, r14
cmp rax, qword [0x14027cdc8]
jne 0x1400d3500
mov rcx, rdi
call fcn.140132e30
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r12w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x9c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x1402575d2]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d360f
mov rdi, qword [rsp + 0x30]
and r14, rdi
cmp r14, qword [0x14027cdc8]
jne 0x1400d3558
mov rcx, rdi
call fcn.140132e30
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
lea rcx, [rsp + 0x50]
call fcn.14014f000
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140190b30
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsi], 0
jmp 0x1400d355f
mov rcx, rdi
call fcn.14018f674
jmp 0x1400d355f
mov qword [rsi], 0
test rdi, rdi
je 0x1400d355f
dec r15
cmp r15, r14
jae 0x1400d3599
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.1401d5d40
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1401d5d40
int3
Function at 0x1400daba0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400dac60
mov eax, dword [rsi]
mov dword [reloc.WS2_32.dll_accept], eax
test al, 1
jne 0x1400dabc1
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x140295130]
test rcx, rcx
jne 0x1400dabdb
mov rcx, qword [0x140295108]
test rcx, rcx
je 0x1400dabff
jmp 0x1400dac21
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140295130], 0
mov rcx, qword [0x140295108]
test rcx, rcx
jne 0x1400dac21
and byte [reloc.WS2_32.dll_accept], 0xfe
mov ecx, 0x18
call fcn.14018f638
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140295108], rax
mov rdx, qword [rsi + 8]
call fcn.1400dbbb0
cmp dword [rsi + 0x14], 0
jne 0x1400dac46
mov rcx, qword [0x140295108]
cmp byte [rcx + 0x17], 0
jns 0x1400dac40
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1401f4c90
Function at 0x1400e03b0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14027c038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140295230]
test rdi, rdi
jne 0x1400e0463
mov ecx, 0x50
call fcn.14018f638
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14018f638
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x1400e0485
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x140295230], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400e04b1
mov rcx, rax
call fcn.1401b0dc4
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.1400e04e0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140190b30
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1401d5d40
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1401d5d40
int3
Function at 0x1400e04e0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14027c038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.1400eee30
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x1400e0674
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400e06ab
lea rdx, [0x140257c4e]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e0699
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1402a8008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x1400e06a1
test r12d, r12d
js 0x1400e0716
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14018f638
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x1400e06be
mov rdx, qword [r14 + r15]
call fcn.1401ca940
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x1400e05e2
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400dffe0
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400e0636
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x1400e0674
cmp r15, rbx
je 0x1400e066c
add r15, 0xffffffffffffffe8
jmp 0x1400e065a
mov rcx, qword [r15]
call fcn.14018f674
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x1400e066c
test r15, r15
je 0x1400e06ea
cmp byte [r15 + 0x17], 0
jns 0x1400e064e
jmp 0x1400e0646
mov rcx, rbx
call fcn.14018f674
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140190b30
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x1400e0594
xor r15d, r15d
xor ebx, ebx
jmp 0x1400e060f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1400e0591
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1401d5d40
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.1401d5d40
lea rcx, [rsp + 0x30]
call fcn.1401cc170
int3
Function at 0x1400e4110
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x14027c038]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140192c80
mov word [rdi], 0
lea rcx, str.PROGRAMFILES
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400e4199
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x1400e425e
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400e4184
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1401ac2e8
test eax, eax
je 0x1400e42e4
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400e41f0
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x1400e426c
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400e41db
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1401ac2e8
test eax, eax
je 0x1400e42ad
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400e423f
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x1400e427a
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400e422e
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1401ac2e8
test eax, eax
je 0x1400e4281
xor edi, edi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.140190b30
mov eax, edi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
ret
dec rbx
jne 0x1400e416c
jmp 0x1400e4199
dec rbx
jne 0x1400e41c3
jmp 0x1400e41f0
dec rbx
jne 0x1400e421a
jmp 0x1400e423f
movzx eax, byte [rsi + 0x17]
test al, al
js 0x1400e428e
and eax, 0x7f
jmp 0x1400e4292
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x1400e4241
mov rcx, rsi
mov rdx, rbx
call fcn.14013d640
cmp word [rax], 0x5c
jne 0x1400e423f
jmp 0x1400e4241
movzx eax, byte [rsi + 0x17]
test al, al
js 0x1400e42ba
and eax, 0x7f
jmp 0x1400e42be
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x1400e4241
mov rcx, rsi
mov rdx, rbx
call fcn.14013d640
cmp word [rax], 0x5c
jne 0x1400e41f0
jmp 0x1400e4241
movzx eax, byte [rsi + 0x17]
test al, al
js 0x1400e42f1
and eax, 0x7f
jmp 0x1400e42f5
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x1400e4241
mov rcx, rsi
mov rdx, rbx
call fcn.14013d640
cmp word [rax], 0x5c
jne 0x1400e4199
jmp 0x1400e4241
Function at 0x1400e4bf0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14027c038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400e4e41
mov ebx, eax
mov r15d, eax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14024afc0]
movaps xmmword [rsp + 0x40], xmm0
cmp ebx, 0xb
jae 0x1400e4dc7
lea r14, [rsp + 0x40]
mov byte [r14 + 0x17], bl
lea r8, [r15 + r15]
mov rcx, r14
xor edx, edx
call fcn.140192c80
mov word [r14 + r15*2], 0
cmp byte [rsp + 0x57], 0
js 0x1400e4c7d
lea rdx, [rsp + 0x40]
jmp 0x1400e4c82
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400e4e1f
mov edx, eax
mov cl, byte [rsp + 0x57]
movzx edi, cl
mov r9d, edi
and r9d, 0x7f
test dil, dil
mov r8, qword [rsp + 0x48]
cmovs r9, r8
cmp r9, rdx
jbe 0x1400e4e1f
mov r14, rdx
test cl, cl
jns 0x1400e4d25
sub r14, r8
ja 0x1400e4d3f
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rdx
lea rax, [rcx + rdx*2]
mov word [rax], 0
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
cmp byte [rsp + 0x57], 0
js 0x1400e4e32
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140190b30
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
sub r14, rdi
ja 0x1400e4d36
and al, 0x7f
lea rcx, [rsp + 0x40]
mov byte [rcx + 0x17], al
jmp 0x1400e4cd1
je 0x1400e4cda
mov edx, 0xa
jmp 0x1400e4d58
je 0x1400e4cda
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
btr rdx, 0x3f
dec rdx
shr rcx, 0x38
mov rdi, r8
mov rax, rdx
sub rax, rdi
cmp rax, r14
jae 0x1400e4d90
mov r8, r14
sub r8, rdx
add r8, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rdi
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9, rdi
call fcn.140132a20
mov qword [rbx + 8], rdi
mov cl, byte [rbx + 0x17]
test cl, cl
js 0x1400e4d9b
lea rbx, [rsp + 0x40]
jmp 0x1400e4da0
mov rbx, qword [rsp + 0x40]
lea rcx, [rbx + rdi*2]
lea r8, [r14 + r14]
xor edx, edx
call fcn.140192c80
add rdi, r14
cmp byte [rsp + 0x57], 0
jns 0x1400e4e15
mov qword [rsp + 0x48], rdi
lea rax, [rbx + rdi*2]
jmp 0x1400e4cd5
mov eax, r15d
and eax, 0xfffffffc
add rax, 4
mov r12, r15
or r12, 3
cmp r12, 0xb
cmove r12, rax
lea rcx, [r12*2 + 2]
call fcn.14018f638
mov r14, rax
mov qword [rsp + 0x40], rax
movabs rax, 0x7fffffffffffffff
add rax, r12
add rax, 2
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
jmp 0x1400e4c5a
mov eax, edi
and al, 0x7f
mov byte [rsp + 0x57], al
jmp 0x1400e4dbe
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x1400e4cfc
mov rcx, qword [rsp + 0x40]
call fcn.14018f674
jmp 0x1400e4d07
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x1400e4d07
Function at 0x1400e9aa0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x1400e9aba
test r8d, r8d
jne 0x1400e9ab3
call fcn.1401050f0
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.14015f2d0

Function at 0x1400e9db0
Capabilities:
Initialize winsock library

Disassembly:
push rsi
sub rsp, 0x1c0
mov rax, qword [0x14027c038]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov rax, qword [0x140295410]
cmp rax, 1
jbe 0x1400e9df1
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140190b30
nop
add rsp, 0x1c0
pop rsi
ret
lea rcx, [0x140295410]
call fcn.1400eea40
test al, al
je 0x1400e9e48
lea rsi, [rsp + 0x20]
mov r8d, 0x198
mov rcx, rsi
mov dl, 0xaa
call fcn.140192c80
mov cx, 0x202
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400e9e2d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [0x140295418]
lea rcx, [0x140295410]
xor r8d, r8d
mov r9, rcx
call fcn.1400eeb00
jmp 0x1400e9dd7
mov rax, qword [0x140295410]
jmp 0x1400e9dd7
Function at 0x1400ef680
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14027c038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x1400ef7d1
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14024afc0]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rsi
call qword [0x1402a8008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x1402a8008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x1402a8008]
test r14, r14
je 0x1400ef763
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400ef753
lea r14, [rsi + 0xf8]
mov ecx, 1
call fcn.140162b80
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1400ef7d5
call fcn.140090c60
lea rax, [0x14008f760]
test r14, r14
je 0x1400ef7a2
lea rcx, [0x14008ea00]
mov qword [r14], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140190b30
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400ef7b4
bt eax, 9
jae 0x1400ef7f5
call fcn.140091d50
lea rax, [0x140092220]
test r14, r14
je 0x1400ef7a2
lea rcx, [0x140091f20]
jmp 0x1400ef79f
call fcn.1401fd2f0
lea rax, [0x1401fdaf0]
test r14, r14
je 0x1400ef7a2
lea rcx, [0x1401fd1d0]
jmp 0x1400ef79f