joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800017cc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor esi, esi
mov r8, rcx
test rcx, rcx
je 0x180001878
cmp qword [rcx], rsi
je 0x180001861
cmp word [rdx + 0x58], si
je 0x180001878
movzx r11d, word [rdx + 0x58]
lea r9d, [rsi + 1]
shr r11, 1
movabs r10, 0xcbf29ce484222325
mov rdi, qword [rdx + 0x60]
mov ebx, esi
je 0x18000184b
movzx eax, word [rdi + rbx*2]
movzx ecx, word [rdi + rbx*2]
sub ax, 0x41
add cx, 0x20
cmp ax, 0x19
cmova cx, word [rdi + rbx*2]
add rbx, r9
movzx eax, cx
movabs rcx, 0x100000001b3
imul r10, rcx
xor r10, rax
cmp rbx, r11
jb 0x180001816
cmp r10, qword [r8]
jne 0x180001878
mov rax, qword [rdx + 0x30]
mov qword [r8 + 8], rax
mov eax, dword [rdx + 0x40]
mov qword [r8 + 0x10], rax
jmp 0x18000187b
mov rax, qword [rdx + 0x30]
mov r9d, 1
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x40]
mov qword [rcx + 0x10], rax
jmp 0x18000187b
mov r9b, sil
mov rbx, qword [rsp + 8]
mov al, r9b
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x180009b84
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180009bb4
xor eax, eax
jmp 0x180009c77
mov rbp, rbx
cmp word [rax], si
je 0x180009bd9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180009bc0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180009bbc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180009aa4
movsxd r14, eax
test eax, eax
jne 0x180009c17
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180009bad
mov rcx, r14
call fcn.180007eac
mov rdi, rax
test rax, rax
jne 0x180009c30
xor ecx, ecx
call fcn.1800080dc
jmp 0x180009c0c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180009aa4
test eax, eax
jne 0x180009c61
mov rcx, rdi
call fcn.1800080dc
jmp 0x180009c6b
xor ecx, ecx
call fcn.1800080dc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18000f230
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000f258
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000f258
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001250
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180055240]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp edx, 1
jne 0x1800012cc
mov qword [0x180057100], rcx
mov ecx, edx
call fcn.180042900
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1800019d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800012ef
cmp dword [rsp + 0x38], 0
je 0x1800012e3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1800012e3
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180042550
add rsp, 0x68
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x180001a00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x180055240]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rdx
movsxd rbx, ecx
mov rcx, qword [0x180057158]
lea r9, [rsp + 0x20]
mov edx, 0x400
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [0x180057158]
lea r9, [rsp + 0x20]
mov rax, rbx
mov edx, 0x400
mov rbx, qword [rcx + rbx*8]
mov qword [rcx + rax*8], rdi
mov r8d, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180042550
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1800081c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180055240]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, dword [rcx + 0x18]
mov rbx, rcx
cmp eax, 0xd
jb 0x18000828b
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x20]
mov edx, eax
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000828b
mov r8d, dword [rbx + 0x18]
lea rcx, [rbx + 0x1c]
mov rdx, qword [rbx + 8]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rbx + 0x18]
mov edx, 0x90
mov rcx, qword [rbx + 8]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbx + 8]
lea r9, [rsp + 0x20]
mov byte [rax], 0x50
mov rax, qword [rbx + 8]
mov byte [rax + 1], 0x48
mov rax, qword [rbx + 8]
mov byte [rax + 2], 0xb8
mov rcx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
mov qword [rcx + 3], rax
mov rax, qword [rbx + 8]
mov byte [rax + 0xb], 0xff
mov rax, qword [rbx + 8]
mov byte [rax + 0xc], 0xe0
mov edx, dword [rbx + 0x18]
mov r8d, dword [rsp + 0x20]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 1
mov byte [rbx], 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180042550
add rsp, 0x30
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180042550
add rsp, 0x30
pop rbx
ret

Function at 0x1800082a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180055240]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edx, dword [rcx + 0x18]
lea r9, [rsp + 0x20]
mov rbx, rcx
mov r8d, 0x40
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800082e7
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180042550
add rsp, 0x30
pop rbx
ret
mov r8d, dword [rbx + 0x18]
lea rdx, [rbx + 0x1c]
mov rcx, qword [rbx + 8]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rbx + 0x18]
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 1
mov byte [rbx], 0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180042550
add rsp, 0x30
pop rbx
ret
Function at 0x180009b40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x180009b9d
lea rbx, [0x180046400]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180009b84
cmp r10, 2
jb 0x180009b84
cmp byte [r9], r8b
jne 0x180009b84
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180009b60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180009bdf
lea rbx, [0x180046400]
cmp r8b, 0x23
jne 0x180009bc3
cmp byte [r9], r8b
jne 0x180009bc3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180009bb0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180009d20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180009d3a
mov qword [r8], 0
lea rdx, [0x18004a514]
call fcn.180009bf0
mov rbx, rax
test rax, rax
jne 0x180009d5a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180009e31
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180009e31
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180009e31
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180009e31
cmp rdi, 0xffffffffffffffff
je 0x180009e31
mov rax, qword [0x1800571c8]
test rax, rax
je 0x180009dce
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180009e31
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180009e1e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800571c8]
test rax, rax
je 0x180009e13
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180009e3a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180009e2c
mov qword [r14], rdi
mov rax, rsi
jmp 0x180009e3c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18000fa90
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18000fae0
lea r11, [0x180046400]
nop dword [rax]
cmp r9b, 0x23
jne 0x18000fac3
cmp byte [r8], r9b
jne 0x18000fac3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18000fab0
mov rcx, qword [0x1800571c8]
not eax
movsxd rdx, dword [rcx + 0x1be8]
mov r9, qword [rcx + 0x1bf0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18000fb41
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18000fb39
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18000fb3c
mov rdx, r8
test rdx, rdx
jne 0x18000fb10
cmp r9, r10
je 0x18000fb50
cmp dword [r9], eax
jne 0x18000fb50
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180019ac0
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 + 0x30f8], 0
lea rbx, [rcx + 0x3100]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180019b67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180019b1a
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.18001ba50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18000a240
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x30f8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3108]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800571c0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180019b6f
mov rcx, rbx
call fcn.18000a240
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18001a220
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x1800571c8]
xor r15d, r15d
mov r14, rcx
mov dword [rbx + 0x3094], r15d
test rcx, rcx
je 0x18001a34b
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x3098]
mov dword [rbx + 0x3094], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x18001a284
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.18001ba50
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x18001a29a
mov edx, 8
mov rcx, rdi
call fcn.18001ba50
movsxd rcx, dword [rdi]
mov ebp, r15d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
cmp dword [rbx + 0x30a8], r15d
jle 0x18001a2e5
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rbx + 0x30b0]
mov r8, rdi
add r9, rsi
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x38]
inc ebp
add rsi, 0x48
cmp ebp, dword [rbx + 0x30a8]
jl 0x18001a2c0
mov eax, dword [rdi]
lea rdx, [0x18004a518]
test eax, eax
lea rdi, [0x1800571c0]
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x30a0]
cmove ecx, r15d
test rax, rax
movsxd rsi, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.180009bf0
mov rbp, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x18001a341
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x18003b8f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x180055240]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x18003b936
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x18003b926
cmp byte [rax], cl
jne 0x18003b936
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x18003b917
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x18003ba9a
cmp byte [r8 + 1], dl
je 0x18003ba9a
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x18003b972
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x18003b99a
sub dl, 0x61
cmp dl, 0x19
ja 0x18003b98c
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x18003b99a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x18003b955
jmp 0x18003b99d
inc r9
cmp r8, r9
jae 0x18003b9cf
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x18003b9c4
bt rdx, rax
jb 0x18003b9ca
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x18003b9b0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.180009ac0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x18003ba08
nop
inc rcx
cmp byte [rcx], 0x20
je 0x18003ba00
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x18003ba88
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x18003ba23
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x18003ba39
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x18003ba76
movss xmm2, dword [0x18004b21c]
cmp al, 0x39
ja 0x18003ba76
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x18003ba50
cmp r9b, 0x2d
jne 0x18003ba95
xorps xmm1, xmmword [0x18004b360]
movaps xmm0, xmm1
jmp 0x18003ba9d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18003ba9d
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180042550
add rsp, 0x90
pop rbx
ret
Function at 0x18003bac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x180055240]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x18003bb06
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x18003baf6
cmp byte [rax], cl
jne 0x18003bb06
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x18003bae7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x18003bc64
cmp byte [r8 + 1], dl
je 0x18003bc64
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x18003bb42
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x18003bb6a
sub dl, 0x61
cmp dl, 0x19
ja 0x18003bb5c
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x18003bb6a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x18003bb25
jmp 0x18003bb6d
inc r9
cmp r8, r9
jae 0x18003bb9f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x18003bb94
bt rdx, rax
jb 0x18003bb9a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x18003bb80
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.180009ac0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x18003bbd8
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x18003bbd0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x18003bc56
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x18003bbf3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x18003bc09
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x18003bc44
movsd xmm2, qword [0x18004b1d0]
cmp al, 0x39
ja 0x18003bc44
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x18003bc20
cmp r9b, 0x2d
jne 0x18003bc5f
xorps xmm1, xmmword [0x18004b350]
movaps xmm0, xmm1
jmp 0x18003bc67
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18003bc67
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180042550
add rsp, 0x90
pop rbx
ret
Function at 0x18003eaa0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x18003eb7b
nop dword [rax]
cmp rbx, qword [section..data]
jb 0x18003eaee
cmp rbx, qword [0x180055008]
ja 0x18003eaee
sub rbx, 0x8000000
jmp 0x18003eb72
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003eb7b
cmp dword [rsp + 0x40], 0x10000
jne 0x18003eb56
cmp qword [rsp + 0x38], 0x10000
jb 0x18003eb56
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18003eb7d
sub rbx, 0x10000
jmp 0x18003eb72
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x18003ead0
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x18003eb90
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x18003ebb2
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x18003ec6d
nop dword [rax + rax]
cmp rbx, qword [section..data]
jb 0x18003ebde
cmp rbx, qword [0x180055008]
ja 0x18003ebde
add rbx, 0x8000000
jmp 0x18003ec64
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003ec6d
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x18003ec49
cmp rcx, 0x10000
jb 0x18003ec49
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18003ec6f
add rbx, 0x10000
jmp 0x18003ec64
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x18003ec64
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x18003ebc0
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x18003ec80
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x18003eca2
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x18003ecbe
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x18003ecd5
cmp byte [rcx + 1], 0x25
jne 0x18003ed19
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x18003ece1
cmp al, 0xe9
jne 0x18003ed19
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x18003ed04
cmp rcx, 0xffffffff80000000
jae 0x18003ecfb
lea rsi, [rcx + 0x7ff80000]
jmp 0x18003ed19
mov rsi, 0xfffffffffff80000
jmp 0x18003ed19
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x18003ed19
mov edi, 0x80000
mov rdx, qword [0x180056ab8]
mov rax, qword [0x180056ab0]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x18003ed40
test rax, rax
je 0x18003ed57
mov rdx, rax
mov qword [0x180056ab8], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x18003ed57
cmp rcx, rdi
jb 0x18003ed57
cmp rcx, rsi
jbe 0x18003eeaa
mov qword [0x180056ab8], rax
mov rdx, rax
test rax, rax
je 0x18003eda2
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x18003ed8c
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x18003ed8c
cmp rax, rdi
jb 0x18003ed8c
cmp rax, rsi
jbe 0x18003eeaa
mov rdx, qword [rdx + 8]
mov qword [0x180056ab8], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x18003ed70
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x18003edcc
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.18003eaa0
mov rdx, rax
test rax, rax
jne 0x18003ee58
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x18003edf2
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.18003eb90
mov rdx, rax
test rax, rax
jne 0x18003ee58
cmp rbx, 0x40000000
jbe 0x18003ee12
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.18003eb90
mov rdx, rax
test rax, rax
jne 0x18003ee58
cmp rbx, rbp
jae 0x18003ee2e
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.18003eaa0
mov rdx, rax
test rax, rax
jne 0x18003ee58
mov rdx, rbx
mov rcx, rdi
call fcn.18003eaa0
mov rdx, rax
test rax, rax
jne 0x18003ee58
mov rdx, rsi
mov rcx, rbx
call fcn.18003eb90
mov rdx, rax
test rax, rax
je 0x18003eee1
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x180056ab8], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x180056ab0]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x180056ab0], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x18003ee92
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x18003eee1
cmp rax, rsi
ja 0x18003eee1
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x180045760]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x18003eee3
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18003f140
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x18003f16e
xor al, al
jmp 0x18003f1b0
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x18003f17f
xor al, al
jmp 0x18003f1b0
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x18003f1a6
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x18003f1a6
mov al, 1
jmp 0x18003f1b0
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret