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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5fb0], 0
lea rbx, [rcx + 0x5fb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180032b57
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180032b0a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180035480
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18001bfa0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5fb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5fc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18007ecfc]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180032b5f
mov rcx, rbx
call fcn.18001bfa0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180032e80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x18007ed08]
xor ebp, ebp
cmp byte [rbx + 0x5f08], bpl
jne 0x180032f5f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180032f58
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.18001b7b0
mov rsi, rax
test rax, rax
je 0x180032f58
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x180032ee4
mov rcx, rax
call fcn.1800330b0
mov r8, qword [0x18007ed08]
test r8, r8
je 0x180032f4f
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180032f44
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f08], 1
movss xmm0, dword [rbx + 0x5f0c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x180032fee
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f0c], xmm0
jb 0x180032fee
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x180032fe1
mov rax, qword [0x18007ed08]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f0c], ebp
call fcn.180033310
lea rdx, [0x180070b7c]
mov rcx, rdi
mov rsi, rax
call fcn.18001b6c0
mov rdi, rax
test rax, rax
je 0x180032fe8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x180032fe8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f0c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180033010
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18007ed08]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180033073
mov qword [rsp], rbx
lea rbx, [0x18006b220]
nop dword [rax]
cmp r9b, 0x23
jne 0x180033053
cmp byte [r8], r9b
jne 0x180033053
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180033040
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f20]
not eax
mov r8, qword [r10 + 0x5f28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18003309f
cmp dword [r8 + 8], eax
je 0x1800330a6
add r8, 0x48
cmp r8, rcx
jne 0x180033090
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180048850
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x18007d040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbp, rcx
mov rsi, qword [0x18007ed08]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180048a70
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180048a70
mov ecx, 0x50
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov r8, qword [0x18007ed08]
xor ebx, ebx
test r8, r8
je 0x180048921
mov r9d, dword [r8 + 0x3f60]
movsx rdx, word [r8 + 0x6078]
lea rax, [r8 + 0x607c]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x180048916
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rax, [rax*8 + 0x607c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6070]
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdi
test rdi, rdi
je 0x180048952
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x180048955
mov rdi, rbx
mov qword [rsi + 0x90], rdi
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
or dword [rsi + 0xc], 6
mov qword [rdi], rbp
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x180048998
mov rsi, qword [r8 + 0x90]
jmp 0x18004899b
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
movzx ecx, ax
mov r9d, 4
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1800489c6
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x18007ed08]
mov rcx, qword [rax + 0x4ae0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
mov byte [rdi + 0x31], 1
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x28], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x48], rax
nop dword [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x180048a40
inc rbx
cmp rbx, 5
jl 0x180048a20
mov al, 1
jmp 0x180048a72
mov qword [rdi + 0x38], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov al, 1
jmp 0x180048a72
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800649d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000bc08
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.14000c5f4
add rsp, 0x28
jmp 0x14000bc08
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x1400293a0], rbx
je 0x14000bc52
cmp rax, rbx
jne 0x14000bc67
mov edi, 1
mov eax, dword [0x1400293a8]
cmp eax, 1
jne 0x14000bc74
lea ecx, [rax + 0x1e]
call fcn.1400ba000
jmp 0x14000bce1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000bc3b
mov eax, dword [0x1400293a8]
test eax, eax
jne 0x14000bcd7
mov dword [0x1400293a8], 1
lea r14, [0x140013638]
lea rbx, [0x140013620]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x14000bcc9
test eax, eax
jne 0x14000bccd
cmp qword [rbx], 0
je 0x14000bcbe
mov rax, qword [rbx]
mov rcx, qword [0x1400135e8]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x14000bc9f
test eax, eax
je 0x14000bce1
mov eax, 0xff
jmp 0x14000be34
mov dword [0x140028dd0], 1
mov eax, dword [0x1400293a8]
cmp eax, 1
jne 0x14000bd09
lea rdx, [0x140013618]
lea rcx, [0x1400135f0]
call sub.msvcrt.dll__initterm
mov dword [0x1400293a8], 2
test edi, edi
jne 0x14000bd16
xor eax, eax
xchg qword [0x1400293a0], rax
cmp qword [0x1400293c0], 0
je 0x14000bd4a
lea rcx, [0x1400293c0]
call fcn.14000c560
test eax, eax
je 0x14000bd4a
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400293c0]
mov r9, qword [0x1400135e8]
call r9
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x14000bdd6
test cl, cl
je 0x14000bd6d
test edi, edi
jne 0x14000bdd6
dec cl
cmp cl, 0x1f
ja 0x14000bd80
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x14000bd6d
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140005f9c
mov dword [0x140028dcc], eax
cmp dword [0x140028df0], 0
jne 0x14000bdbf
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140028dd0], 0
jne 0x14000bdd4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140028dcc]
jmp 0x14000be34
cmp cl, 0x22
jne 0x14000bde8
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x14000bdfa
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x14000bd5d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x140004120
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x1400041b0
jmp 0x14000419f
jae 0x140004270
cmp r8, 0x201
jae 0x1400041b0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140004208
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x1400041df
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001a400
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140004231
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400042d8
mov r8d, r14d
cmp r15, r8
jne 0x140004190
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400042fb
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000419f
jmp 0x1400041b0
cmp rsi, r8
jb 0x140004315
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140006210
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x1400042c1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140001990
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x1400042a9
jmp 0x1400042c1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001ae20
jmp 0x14000432a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001b270
ud2
Function at 0x140004480
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.14000bd30
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x408], rax
test rax, rax
je 0x140004606
mov qword [rbp + 0x400], rsi
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x418], rax
mov qword [rbp + 0x3e8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x410], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x140004540
jmp 0x14000452f
jae 0x140004618
cmp r8, 0x201
jae 0x140004540
mov r15d, 0x200
lea r14, [rbp - 0x60]
mov r12, r8
jmp 0x140004598
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x14000456f
lea rcx, [rbp + 0x3e8]
mov rdx, r13
call fcn.14001a400
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x410], rax
mov rdi, qword [rbp + 0x3f0]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x3f8], r13
mov rbx, rdi
mov r15, r13
mov r14, qword [rbp + 0x410]
mov r12, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x408]
mov rdx, r14
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x1400045c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400046eb
mov r8d, esi
cmp r12, r8
jne 0x140004520
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140004715
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14000452f
jmp 0x140004540
lea rcx, [rbp - 0x58]
call fcn.140002260
mov byte [rsi + 0x18], 2
jmp 0x1400046aa
cmp r15, r8
jb 0x14000472f
lea rcx, [rbp + 0x3a0]
mov rdx, r14
call fcn.140006210
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
test rdi, rdi
je 0x140004669
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x410]
mov rdx, rdi
call fcn.140001990
cmp byte [rbp + 0x3d8], 2
jne 0x1400046c1
mov rsi, qword [rbp + 0x400]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3c0]
call fcn.140002260
mov rdx, qword [rbp + 0x418]
test rdx, rdx
je 0x1400046aa
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x408]
call fcn.140001990
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3c0]
movaps xmm1, xmmword [rbp + 0x3d0]
mov rsi, qword [rbp + 0x400]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x418]
test rdx, rdx
jne 0x140004695
jmp 0x1400046aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c0], rax
mov byte [rbp + 0x3d8], 2
test rdi, rdi
jne 0x140004651
jmp 0x140004669
lea rcx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001ae20
jmp 0x140004744
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14001b270
ud2
Function at 0x14000a9b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14001e1a0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000a9f4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000aa5a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000aa91
test eax, eax
js 0x14000aa6b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000aa84
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140005f50
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140002420
mov ecx, 7
int 0x29
ud2
Function at 0x140018750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400187ca
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400187c0
cmp r11, r10
ja 0x140018863
cmp r10, rdx
ja 0x140018877
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400187c2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400187a0
jmp 0x140018837
ja 0x1400187ca
mov r11, r10
cmp rax, r8
jne 0x140018772
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001883b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140018810
mov r8, r10
sub ecx, r9d
jns 0x14001882e
jmp 0x14001883d
cmp r10, rdx
je 0x140018849
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001883d
xor al, 1
cmp r8, rdx
jne 0x1400187f0
jmp 0x14001883d
xor eax, eax
jmp 0x14001883d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001ae20
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001b2f0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001b270
ud2

Function at 0x140019e68
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400259c2
call fcn.14003e8c0
test al, al
jne 0x1400259c2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x140025912
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.140048250
test rax, rax
je 0x140025957
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.140048250
mov rsi, rax
test rax, rax
je 0x140025957
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x14002598b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.14003b6d0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x140025970
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14002d440
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14023c9c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, qword [rdx + 0x10]
mov rbx, rcx
mov rax, qword [rdx + 0x18]
lea rcx, str.SSL_PROXY
cmp qword [rdx], rcx
jne 0x14002d487
mov rdi, qword [rax + 0xd8]
mov rsi, qword [rax + 0xe0]
mov ebp, dword [rax + 0xe8]
jmp 0x14002d495
mov rdi, qword [rax + 0x50]
mov rsi, qword [rax + 0x58]
mov ebp, dword [rax + 0x764]
mov qword [rsp + 0x80], r15
test rdi, rdi
je 0x14002d66b
mov r9, qword [rbx]
test r9, r9
je 0x14002d4db
mov r8, r9
mov rax, rdi
sub r8, rdi
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14002d4d3
inc rax
test ecx, ecx
jne 0x14002d4c0
test edx, edx
je 0x14002d66b
mov rcx, qword [rbx + 8]
cmp rcx, r9
je 0x14002d4ea
call qword [fcn.14008fca0]
mov rcx, qword [rbx + 0x10]
call qword [fcn.14008fca0]
mov rcx, qword [rbx]
call qword [fcn.14008fca0]
xor r15d, r15d
mov rcx, rdi
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
call qword [case.0x140026fdb.2]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
jne 0x14002d55e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002d532
call qword [fcn.14008fca0]
mov rcx, qword [rbx + 0x10]
call qword [fcn.14008fca0]
mov rcx, qword [rbx]
call qword [fcn.14008fca0]
mov eax, 0x1b
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
jmp 0x14002d671
test rsi, rsi
je 0x14002d5a2
mov r8, rsi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rdi]
movzx eax, byte [rdi + r8]
sub edx, eax
jne 0x14002d583
inc rdi
test eax, eax
jne 0x14002d570
test edx, edx
je 0x14002d5a2
mov rcx, rsi
call qword [case.0x140026fdb.2]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14002d5a6
cmp qword [rbx], r15
je 0x14002d532
xor ecx, ecx
jmp 0x14002d52c
mov qword [rbx + 8], rcx
mov rdi, qword [rbx]
mov qword [rbx + 0x10], r15
test rdi, rdi
je 0x14002d5fa
cmp byte [rdi], r15b
je 0x14002d5fa
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x14002d5da
mov dword [rbx + 0x18], 1
jmp 0x14002d66b
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x14002d5fa
mov dword [rbx + 0x18], 2
jmp 0x14002d66b
mov rax, qword [rbx]
mov dword [rbx + 0x18], r15d
cmp byte [rax], r15b
je 0x14002d66b
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x14002d610
test rdi, rdi
je 0x14002d628
cmp byte [rax + rdi - 1], 0x2e
jne 0x14002d628
dec rdi
cmp rdi, 0xffff
jae 0x14002d66b
lea rdx, [rdi + 1]
mov ecx, 1
call qword [fcn.1400958bc]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14002d655
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx]
jmp 0x14002d52a
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, rax
call fcn.14003b720
mov rax, qword [rbx + 0x10]
mov byte [rdi + rax], r15b
mov dword [r14 + 0x50], ebp
xor eax, eax
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400886b0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret