joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140097900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
movzx ebx, byte [rdx + 0x38]
xor r15d, r15d
cmp bl, 1
setne dl
mov eax, 0
sbb eax, eax
mov r14, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140097933
test ecx, ecx
jne 0x140097982
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140097940
test ecx, ecx
jne 0x140097982
mov rcx, rdi
call fcn.1400977e0
movzx r10d, al
test bl, bl
jne 0x140097989
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x140097976.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x140097afc]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x140097976.2
xor r10d, r10d
test bl, bl
je 0x140097950
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140097ade
mov r11, qword [rdi]
lea r9, [r11 + rcx]
movzx r8d, byte [rdi + 0x10]
cmp rdx, rcx
jne 0x1400979bb
xor edi, edi
jmp 0x140097a38
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x140097a00
nop word cs:[rax + rax]
cmp byte [rax], 0x5c
je 0x140097a1b
inc rsi
dec rax
cmp rsi, 1
jne 0x1400979e0
jmp 0x140097a38
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x140097a1b
cmp ebx, 0x5c
je 0x140097a1b
inc rsi
dec rax
cmp rsi, 1
jne 0x140097a00
jmp 0x140097a38
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x140097aec
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x140097a62
mov al, 9
cmp rdx, 2
je 0x140097a66
cmp rdx, 1
jne 0x140097a76
cmp byte [r9], 0x2e
jne 0x140097a76
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140097a76
mov al, 0xa
jmp 0x140097a76
cmp byte [r9], 0x2e
jne 0x140097a76
cmp byte [r9 + 1], 0x2e
sete al
xor al, 9
add rdi, rdx
mov qword [r14], rdi
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], rdx
mov byte [r14 + 0x18], al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 8
jmp case.0x140097976.2
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 2
jmp case.0x140097976.2
mov esi, 2
jmp case.0x140097976.2
lea r8, str.library_std_srcpath.rs
call fcn.1400c03b0
ud2
lea r8, str.library_std_srcpath.rs
call fcn.1400c03b0
ud2
Function at 0x140099fe0
Capabilities:
Terminate process

Disassembly:
jmp 0x140099fe0
sub rsp, 0x28
mov rcx, qword [rcx]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140099ffd
xor eax, eax
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

Function at 0x14009b4c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10a8
call fcn.1400ba790
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1010], xmm6
mov qword [rbp + 0x1008], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
mov qword [rbp + 0xfc0], rcx
mov qword [rbp + 0xfc8], rdx
lea rdi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xff8], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfd0], xmm6
mov qword [rbp + 0xfe0], 0
lea rax, [rbp + 0xff8]
mov qword [rbp + 0xfe8], rax
lea r14, [0x1400a31a0]
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0xfd0]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x14009b6e5
mov r15, qword [sym.imp.KERNEL32.dll_SleepEx]
mov r13d, 0xffffffff
lea r12, [rbp + 0xfd0]
mov qword [rbp + 0xff0], rbx
mov ecx, 0xffffffff
mov edx, 1
call r15
cmp dword [rbp + 0xff8], 1
jne 0x14009b590
cmp dword [rbp + 0xffc], 0
jne 0x14009b6fa
mov eax, dword [rbp + 0x1000]
mov edi, eax
mov qword [rbp + 0xfb0], 0
mov qword [rbp + 0xfb8], rdi
test eax, eax
je 0x14009b6fa
cmp eax, 0x1000
ja 0x14009b73a
xor ebx, ebx
nop word cs:[rax + rax]
cmp rbx, rdi
ja 0x14009b726
lea rdx, [rbx + rbp]
add rdx, 0xffffffffffffffb0
mov r8, rdi
sub r8, rbx
cmp r8, r13
cmovae r8, r13
mov dword [rbp + 0xff8], 0
movaps xmmword [rbp + 0xfd0], xmm6
mov qword [rbp + 0xfe0], 0
lea rax, [rbp + 0xff8]
mov qword [rbp + 0xfe8], rax
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r9, r12
call qword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
je 0x14009b6ed
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r15
cmp dword [rbp + 0xff8], 1
jne 0x14009b660
cmp dword [rbp + 0xffc], 0
jne 0x14009b6f3
mov eax, dword [rbp + 0x1000]
add rbx, rax
cmp rbx, rdi
jne 0x14009b5f0
mov dword [rbp + 0xff8], 0
movaps xmmword [rbp + 0xfd0], xmm6
mov qword [rbp + 0xfe0], 0
lea rax, [rbp + 0xff8]
mov qword [rbp + 0xfe8], rax
mov qword [rsp + 0x20], r14
mov rbx, qword [rbp + 0xff0]
mov rcx, rbx
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, r12
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x14009b590
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14009b6fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rbp + 0xff0]
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call rdi
mov rcx, rsi
call rdi
movaps xmm6, xmmword [rbp + 0x1010]
add rsp, 0x10a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, rbx
mov rdx, rdi
call fcn.1400c03d0
jmp 0x14009b74e
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, rdi
call fcn.1400c03c0
ud2
Function at 0x1400a09e0
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, reloc.WS2_32.dll_socket
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400a0a35
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1400a0ad1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x1400a0a49
cmp eax, 0x2739
jne 0x1400a0a9a
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400a0a94
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1400a0aaf
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x1400a0ad1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400a0ad1
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400a73e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x30]
call fcn.1400a2210
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x1400a742f
mov rbx, qword [rbp - 0x30]
mov r14, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a749a
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
jmp 0x1400a748f
mov rdx, qword [rbp - 0x30]
mov eax, edx
and eax, 3
cmp eax, 1
jne 0x1400a7487
lea rax, [rdx - 1]
mov qword [rbp - 0x18], rax
mov rcx, qword [rdx - 1]
mov qword [rbp - 0x10], rdx
mov rax, qword [rdx + 7]
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 7]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rdi, qword [rbp - 0x18]
je 0x1400a7474
mov r8, qword [rax + 0x10]
mov rcx, qword [rdi]
call fcn.14004e810
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.14004e810
mov qword [rsi + 8], 0
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rsi + 8], 0
test rbx, rbx
je 0x1400a748f
add rbx, rbx
mov r8d, 2
mov rcx, rdi
mov rdx, rbx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.14004e810

Function at 0x1400a8020
Capabilities:
Generate random numbers via winapi

Disassembly:
push rsi
sub rsp, 0x80
mov dword [rsp + 0x28], ecx
mov rsi, qword [0x1400fe2a0]
mov qword [rsp + 0x30], rsi
test rsi, rsi
jne 0x1400a8082
lea rdx, [0x1400ce67e]
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x1400a80b8
mov rcx, qword [rsp + 0x30]
xor eax, eax
lock cmpxchg qword [0x1400fe2a0], rcx
jne 0x1400a8072
mov rsi, qword [rsp + 0x30]
jmp 0x1400a8082
mov rsi, rax
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r8d, reloc.WS2_32.dll_recv
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1400a80b8
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rsp, 0x80
pop rsi
ret
mov dword [rsp + 0x2c], eax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rax, [0x1400b8ec0]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x2c]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rax, [0x1400ce6d0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
lea rax, reloc.WS2_32.dll_bind
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 2
lea rdx, str.library_std_src_syswindows_rand.rsRNG_broken:___fallback_RNG_broken:
lea rcx, [rsp + 0x30]
call fcn.1400bfee0
ud2
Function at 0x1400a87a0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
mov ecx, reloc.WS2_32.dll_recv
mov edx, 8
call fcn.14004e800
mov rsi, rax
test rax, rax
je 0x1400a887a
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400a8900]
xor edi, edi
xor ecx, ecx
mov rdx, r14
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400a886c
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rbp - 0x10], rsi
call qword [rax]
mov rsi, qword [rbp - 0x10]
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400a8844
mov r8, qword [rax + 0x10]
mov rcx, qword [rsi]
call fcn.14004e810
mov edx, reloc.WS2_32.dll_recv
mov r8d, 8
mov rcx, rsi
call fcn.14004e810
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], rsi
mov ecx, reloc.WS2_32.dll_recv
mov edx, 8
call fcn.1400bfe40
ud2

Function at 0x1400aa8f0
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1f0
mov rsi, rcx
mov rdi, qword [rdx]
mov rbx, qword [rdx + 8]
movzx r14d, word [rdx + 0x10]
mov rax, qword [0x1400fe278]
cmp rax, 3
jne 0x1400aa9e7
cmp rbx, 0x17f
ja 0x1400aa9f9
lea rbp, [rsp + 0x70]
mov rcx, rbp
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x70], 0
inc rbx
lea rcx, [rsp + 0x28]
mov rdx, rbp
mov r8, rbx
call fcn.1400b37b0
cmp qword [rsp + 0x28], 0
je 0x1400aa974
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400aaa0a
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1400aa9ce
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
jmp 0x1400aaa0a
mov rax, qword [rsp + 0x20]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], r14w
xor eax, eax
mov qword [rsi], rax
jmp 0x1400aaa0a
call fcn.1400bf3b0
cmp rbx, 0x17f
jbe 0x1400aa92a
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
mov r9d, r14d
call fcn.1400bf500
mov rax, rsi
add rsp, 0x1f0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400b86b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400b872a
mov r11, rdx
mov rdx, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rbx, r11
movzx edi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x1400b8720
cmp r10, rax
jb 0x1400b87bd
cmp r10, rdx
ja 0x1400b87d1
add rax, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400b8722
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x1400b8700
jmp 0x1400b8792
ja 0x1400b872a
mov rax, r10
cmp r11, r8
jne 0x1400b86d0
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400b8796
mov rsi, qword [rsp + 0x78]
add rdx, rsi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea rbx, [rsi + 1]
movzx edi, byte [rsi]
test dil, dil
js 0x1400b8770
mov rsi, rbx
sub ecx, edi
jns 0x1400b8789
jmp 0x1400b8798
cmp rbx, rdx
je 0x1400b87a3
movzx ebp, byte [rsi + 1]
add rsi, 2
and edi, 0x7f
shl edi, 8
or edi, ebp
sub ecx, edi
js 0x1400b8798
xor al, 1
cmp rsi, rdx
jne 0x1400b8750
jmp 0x1400b8798
xor eax, eax
jmp 0x1400b8798
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1400d0369]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400bffc0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, rax
mov rdx, r10
call fcn.1400c03d0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400c03c0
ud2

Function at 0x1400baca0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400bacea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400bacea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400bacea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400bacea
cmp dword [rcx + 0x84], 0xe
jbe 0x1400bacea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400bacec
xor al, al
add rsp, 0x28
ret
Function at 0x1400beb70
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400bebd4
mov rsi, rax
lea rdx, [0x1400cb649]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400bebd4
mov rbx, rax
lea rdx, [0x1400cb657]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400bebd4
mov rsi, rax
mov eax, 1
jmp 0x1400bec60
lea rcx, [0x1400cb66b]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400bece1
mov rdi, rax
lea rdx, [0x1400cb675]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400bece1
mov rbx, rax
lea rdx, [0x1400cb688]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400bece1
mov rsi, rax
lea rdx, [0x1400cb69c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400bece1
mov rdi, rax
lea rcx, [rbp - 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x1400bece1
mov rbx, qword [rbp - 0x28]
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rdi
mov ecx, 0x20
mov edx, 8
call fcn.14004e800
test rax, rax
je 0x1400becfb
mov rcx, rax
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor eax, eax
lock cmpxchg qword [0x1400fe1a8], rcx
je 0x1400becd5
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
jne 0x1400becbe
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x20
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.14004e810
mov rcx, rsi
mov rax, rcx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:UsersMiku.cargo_registry_srcgithub.com_1ecc6299db9ec823parking_lot_core_0.9.5_src_thread_parkerwindowsmod.rs
lea r8, [0x1400cb610]
mov edx, 0x5b
call fcn.1400beda0
jmp 0x1400bed0a
mov ecx, 0x20
mov edx, 8
call fcn.1400bfe40
ud2
Function at 0x1400bf500
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1400b2850
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400bf55f
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1400bf5d8
mov r8, rdx
not r8
shr r8, 0x3f
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14004e810
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1400bf5e5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x1400bf5d8
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.14004e810
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x1400bf5c7
jmp 0x1400bf5d8
Function at 0x1400110ff
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001c550
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140034066]
call fcn.1400118d9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001c5a7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001c6b3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001c64c
cmp qword [rbp + 0x28], 0
jle 0x14001c64c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001c5ec
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001185c
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14001c6a2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001c6a2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14001150a
Capabilities:
Terminate process

Disassembly:
jmp 0x14001f160
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011596
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
jmp 0x140019cd0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xdb8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x272
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xdd8]
mov rax, qword [0x14002d040]
xor rax, rbp
mov qword [rbp + 0xd78], rax
lea rcx, [0x1400340f5]
call fcn.1400118d9
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x140019e92
mov rcx, qword [rbp + 0xda0]
call fcn.1400110f5
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140019e92
mov edx, 0x108
lea rcx, [rbp + 0x50]
call fcn.14001138e
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rbp + 0xda8]
lea rcx, [rbp + 0x50]
call fcn.140011906
nop
mov rax, qword [rbp + 0x50]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0x50]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x140019e1b
lea rdx, str.Error_opening_file_for_writing.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011122
lea rdx, [0x14001105a]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [rbp + 0xd44], 0
lea rcx, [rbp + 0x50]
call fcn.14001124e
movzx eax, byte [rbp + 0xd44]
jmp 0x140019e9e
lea r9, [rbp + 0x964]
mov r8d, 0x7d0
lea rdx, [rbp + 0x180]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rbp + 0x964]
mov r8d, eax
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
cmp dword [rbp + 0x964], 0
jne 0x140019e1b
lea rcx, [rbp + 0x50]
call fcn.1400114b0
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rbp + 0xd64], 1
lea rcx, [rbp + 0x50]
call fcn.14001124e
movzx eax, byte [rbp + 0xd64]
jmp 0x140019e9e
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400271a0]
call fcn.140011762
mov rax, rdi
mov rcx, qword [rbp + 0xd78]
xor rcx, rbp
call fcn.140011456
lea rsp, [rbp + 0xd88]
pop rdi
pop rbp
ret