joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025d20
Capabilities:
Accept command line arguments

Disassembly:
push rdi
push r15
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x140025d55
or rax, 0xffffffffffffffff
add rsp, 0x78
pop r15
pop rdi
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x90], rbx
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.14002500c
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
xor ebx, ebx
test eax, eax
jle 0x140025e59
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x70], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.14002500c
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jl 0x140025dd0
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x98]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.14000b5e0
mov esi, eax
cmp dword [rsp + 0x40], ebx
jle 0x140025e99
mov rdi, r14
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x140025e99
call fcn.140024c88
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jl 0x140025e80
mov rcx, r14
call fcn.140024c88
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
add rsp, 0x78
pop r15
pop rdi
ret
Function at 0x180005650
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1800ec198]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x58], r8
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov qword [rdx + 0x18], 0xf
mov qword [rdx + 0x10], r13
mov byte [rdx], r13b
xor r8d, r8d
lea rdx, [0x1800c141a]
mov rcx, rsi
call fcn.18000c020
mov dword [rsp + 0x30], 1
cmp qword [r14], 0xffffffffffffffff
je 0x180005836
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x80]
call fcn.180001d50
mov rbx, rax
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.180001d50
nop
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x48], rcx
cmp qword [rax + 0x18], 0x10
jb 0x180005702
mov rax, qword [rax]
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, ecx
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [rsp + 0x60]
call fcn.18000a890
nop
lea rcx, [rsp + 0x80]
call fcn.18000a890
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x50], rax
cmp qword [rdi + 0x18], 0x10
jb 0x180005752
mov rdx, qword [rdi]
jmp 0x180005755
mov rdx, rdi
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, eax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rsp + 0xa0]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne bl
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
test bl, bl
je 0x18000582c
lea rcx, [rsp + 0xa0]
call fcn.18007fd04
movsxd rbx, eax
mov rcx, rbx
call fcn.180055844
mov r12, rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
test al, al
je 0x18000582c
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x60], 0
mov r8, rbx
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.18000c020
nop
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.18000a920
nop
lea rcx, [rsp + 0x60]
call fcn.18000a890
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
nop
jmp 0x180005842
mov rcx, rdi
call fcn.18000a890
mov rax, rsi
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1800550b0
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x180011fc0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov esi, r8d
mov r15, rdx
mov rdi, rcx
mov dword [rsp + 0x24], 0
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], 0
mov byte [rcx], 0
mov dword [rsp + 0x24], 1
xor ebx, ebx
test r8d, r8d
je 0x1800121d0
xor ecx, ecx
lea r13, [0x1800f6448]
nop dword [rax]
nop word [rax + rax]
dec esi
movzx eax, byte [r15]
mov byte [rsp + rcx + 0x88], al
inc ebx
inc rcx
lea r15, [r15 + 1]
movzx r12d, byte [rsp + 0x8a]
movzx ebp, byte [rsp + 0x89]
movzx r14d, byte [rsp + 0x88]
cmp rcx, 3
jne 0x1800120e1
movzx eax, r14b
shr al, 2
mov byte [rsp + 0x20], al
movzx ecx, r14b
and cl, 3
shl cl, 4
movzx eax, bpl
shr al, 4
add cl, al
mov byte [rsp + 0x21], cl
movzx ecx, bpl
and cl, 0xf
shl cl, 2
movzx eax, r12b
shr al, 6
add cl, al
mov byte [rsp + 0x22], cl
movzx eax, r12b
and al, 0x3f
mov byte [rsp + 0x23], al
xor ebx, ebx
nop dword [rax + rax]
mov rcx, r13
cmp qword [0x1800f6460], 0x10
cmovae rcx, qword [0x1800f6448]
movzx eax, byte [rsp + rbx + 0x20]
movzx edx, byte [rax + rcx]
mov rcx, rdi
call fcn.180012560
inc rbx
cmp rbx, 4
jl 0x1800120b0
xor ebx, ebx
xor ecx, ecx
test esi, esi
jne 0x180012030
test ebx, ebx
je 0x1800121d0
movsxd rax, ebx
cmp rax, 3
jge 0x18001212f
jae 0x180012129
mov byte [rsp + rax + 0x88], 0
inc rax
cmp rax, 3
jl 0x1800120fa
movzx r12d, byte [rsp + 0x8a]
movzx ebp, byte [rsp + 0x89]
movzx r14d, byte [rsp + 0x88]
jmp 0x18001212f
call fcn.180055980
int3
movzx eax, r14b
shr al, 2
mov byte [rsp + 0x20], al
and r14b, 3
shl r14b, 4
movzx eax, bpl
shr al, 4
add r14b, al
mov byte [rsp + 0x21], r14b
and bpl, 0xf
shl bpl, 2
movzx eax, r12b
shr al, 6
add bpl, al
mov byte [rsp + 0x22], bpl
and r12b, 0x3f
mov byte [rsp + 0x23], r12b
lea eax, [rbx + 1]
test eax, eax
jle 0x1800121ac
lea rsi, [rsp + 0x20]
mov ebp, eax
nop
mov rcx, r13
cmp qword [0x1800f6460], 0x10
cmovae rcx, qword [0x1800f6448]
movzx eax, byte [rsi]
movzx edx, byte [rax + rcx]
mov rcx, rdi
call fcn.180012560
lea rsi, [rsi + 1]
sub rbp, 1
jne 0x180012180
cmp ebx, 3
jge 0x1800121d0
mov eax, 3
sub eax, ebx
mov ebx, eax
nop word [rax + rax]
mov dl, 0x3d
mov rcx, rdi
call fcn.180012560
sub rbx, 1
jne 0x1800121c0
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180014d20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180014d54
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180014d40
ret
Function at 0x18003e080
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x1800ec198]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rcx
mov qword [rcx], 0
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x18003e17f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x20], 8
mov r9d, 1
xor r8d, r8d
lea rdx, str.Crypto_RNG
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x18003e17f
mov dword [rsp + 0x20], 0x28
lea r9d, [rax + 1]
xor r8d, r8d
lea rdx, str.Crypto_RNG
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x18003e17f
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
mov r8d, 0x13
lea rdx, str.CryptAcquireContext
lea rcx, [rsp + 0x38]
call fcn.18000c020
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.18003e1e0
lea rdx, [0x1800e9ab8]
lea rcx, [rsp + 0x60]
call fcn.180075fe4
nop
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800550b0
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret

Function at 0x18003e560
Capabilities:
Generate random numbers via winapi

Disassembly:
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov rax, qword [0x1800ec198]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, r8
mov rbx, rdx
lea rcx, [rsp + 0x20]
call fcn.18003e6a0
mov r8, rbx
mov edx, edi
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x18003e5fb
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], al
lea r8d, [rax + 0xe]
lea rdx, [0x1800abe98]
lea rcx, [rsp + 0x30]
call fcn.18000c020
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.18003e1e0
lea rdx, [0x1800e9ab8]
lea rcx, [rsp + 0x50]
call fcn.180075fe4
nop
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800550b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
Function at 0x18005793c
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18005794f
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.180057fb4
lea rdx, [0x1800e9ec8]
lea rcx, [rsp + 0x20]
call fcn.180075fe4
int3

Function at 0x180063bf8
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1800f5498]
xor edx, edx
jmp fcn.18005793c

Function at 0x1800645cc
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1800f5498]
jmp fcn.18005793c
Function at 0x18008ca54
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x18008c8f4
call fcn.18007f214
mov dword [rax], 0x16
call fcn.18007ed34
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18008c8dc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x18008c8dc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x18008c926
lock or dword [rax + 0x14], 0x10
jmp 0x18008c8dc
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x18008c943
mov rcx, qword [rbp + 0x10]
call fcn.180093abc
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180088e5c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1800893b4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x18008c99a
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x18008c8dc
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x18008ca06
mov rcx, qword [rbp + 0x10]
call fcn.180088e5c
cmp eax, 0xffffffff
je 0x18008c9ed
mov rcx, qword [rbp + 0x10]
call fcn.180088e5c
cmp eax, 0xfffffffe
je 0x18008c9ed
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180088e5c
movsxd rdi, eax
lea rsi, [0x1800f5b80]
mov rcx, rbx
sar rdi, 6
call fcn.180088e5c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x18008c9f4
lea rax, [0x1800ec5e0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18008ca06
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x18008ca3c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x18008ca38
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x18008ca38
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x18008c8df
jmp 0x18008c8ac

Function at 0x18008d414
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x18008d3f1
call fcn.18007f214
mov dword [rax], 0x16
call fcn.18007ed34
or eax, 0xffffffff
jmp 0x18008d40e
sub dword [rcx + 0x10], 1
jns 0x18008d400
add rsp, 0x28
jmp fcn.18008ca54
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x18008d3d0
Function at 0x140006030
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140006064
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140006050
ret
Function at 0x180002500
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x180043040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
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 0x180002547
xor al, al
jmp 0x18000259a
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x180002558
xor al, al
jmp 0x18000259a
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
mov r9, qword [rsp + 0x78]
cmp r9, rax
jb 0x180002584
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp r9, rax
jae 0x180002584
mov al, 1
jmp 0x18000259a
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18001e5f0
add rsp, 0x68
ret
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18001e5f0
add rsp, 0x68
ret

Function at 0x1800027c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [0x180043040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rsp + 0x70]
movzx eax, bx
test rax, rax
je 0x1800027fa
sub rbx, rax
add rbx, 0x10000
mov rdi, qword [rsp + 0x78]
cmp rbx, rdi
jae 0x1800028c7
nop dword [rax + rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x18000282b
add rbx, 0x8000000
jmp 0x1800028be
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 0x1800028c7
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x1800028a3
cmp rcx, 0x10000
jb 0x1800028a3
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800028c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x1800028c7
add rbx, 0x10000
jmp 0x1800028be
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x1800028be
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x180002810
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18001e5f0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1800028f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [0x180043040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
jbe 0x1800029f5
nop dword [rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x18000295b
sub rbx, 0x8000000
jmp 0x1800029ec
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 0x1800029f5
cmp dword [rsp + 0x40], 0x10000
jne 0x1800029d0
cmp qword [rsp + 0x38], 0x10000
jb 0x1800029d0
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800029f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x1800029f5
sub rbx, 0x10000
jmp 0x1800029ec
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 0x180002940
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18001e5f0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x180002af0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov r9, qword [rsp + 0x30]
lea rbx, [r9 - 0x7ff80000]
cmp r9, 0x7ff80000
ja 0x180002b14
mov ebx, 0x80000
mov qword [rsp + 0x38], rdi
lea rdi, [r9 + 0x7ff80000]
cmp r9, 0xffffffff80000000
jb 0x180002b30
mov rdi, 0xfffffffffff80000
movzx eax, byte [r9]
cmp al, 0xff
jne 0x180002b49
cmp byte [r9 + 1], 0x25
jne 0x180002b8d
movsxd rcx, dword [r9 + 2]
add rcx, 6
jmp 0x180002b55
cmp al, 0xe9
jne 0x180002b8d
movsxd rcx, dword [r9 + 1]
add rcx, 5
add rcx, r9
cmp rcx, r9
jae 0x180002b78
cmp rcx, 0xffffffff80000000
jae 0x180002b6f
lea rdi, [rcx + 0x7ff80000]
jmp 0x180002b8d
mov rdi, 0xfffffffffff80000
jmp 0x180002b8d
lea rbx, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x180002b8d
mov ebx, 0x80000
mov rax, qword [0x1800477d8]
mov rcx, qword [0x1800477e0]
test rax, rax
jne 0x180002baf
test rcx, rcx
je 0x180002bc6
mov rax, rcx
mov qword [0x1800477d8], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x180002bc6
cmp rdx, rbx
jb 0x180002bc6
cmp rdx, rdi
jbe 0x180002c7a
mov qword [0x1800477d8], rcx
mov rax, rcx
test rcx, rcx
je 0x180002c0a
mov rdx, rcx
test rcx, rcx
je 0x180002bf4
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x180002bf4
cmp rcx, rbx
jb 0x180002bf4
cmp rcx, rdi
jbe 0x180002c7a
mov rax, qword [rax + 8]
mov qword [0x1800477d8], rax
mov rdx, rax
mov rcx, rax
test rax, rax
jne 0x180002bd8
movzx eax, r9w
mov r8, rdi
sub r9, rax
mov rdx, rbx
mov rcx, r9
call fcn.180002a20
test rax, rax
je 0x180002cbd
mov dword [rax], 0x52727464
lea rdx, [rax + 0xffa8]
xor r8d, r8d
mov qword [0x1800477d8], rax
mov qword [rax + 0x10], r8
mov r9d, 0x2a7
mov rcx, qword [0x1800477e0]
mov qword [rax + 8], rcx
lea rcx, [rax + 0xff60]
mov qword [0x1800477e0], rax
mov qword [rdx], r8
lea rdx, [rdx - 0x60]
mov r8, rcx
sub rcx, 0x60
sub r9, 1
jne 0x180002c62
mov qword [rax + 0x10], r8
mov rdx, qword [rax + 0x10]
cmp rdx, rbx
jb 0x180002cbd
cmp rdx, rdi
ja 0x180002cbd
mov rcx, qword [rdx + 0x48]
movdqa xmm0, xmmword [0x18003d5b0]
mov qword [rax + 0x10], rcx
mov rax, rdx
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x180004410
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x20], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x40
mov rax, qword [0x180043040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
mov edi, 6
mov esi, eax
test eax, eax
jne 0x18000444c
lea ecx, [rdi + 0x51]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180004516
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x60], rbp
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebp, 0xfffffff0
add edi, 0xffffffff
jne 0x18000446f
xor ecx, ecx
jmp 0x1800044a7
mov rax, qword [0x180047c98]
lea rcx, [rsp + 0x28]
call rax
mov r8d, eax
mov eax, 0x23
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x1e
imul ecx, ecx, 0x7fffffef
sub r8d, ecx
mov ecx, r8d
and rcx, rbp
shl rcx, 0xc
mov r9d, 4
mov r8d, 0x3000
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x1800044f4
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180004509
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
jmp 0x180004501
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1e7
jne 0x180004509
test edi, edi
jne 0x180004466
mov rbp, qword [rsp + 0x60]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18001e5f0
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x180004ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rdi
sub rsp, 0x68
mov rax, qword [0x180043040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [0x180047d98]
mov rbx, rcx
mov rdi, rdx
test rax, rax
je 0x180005079
test rcx, rcx
je 0x180005079
test rdx, rdx
je 0x180005079
cmp byte [rdx], 0
je 0x180005079
lea rcx, [r11 - 0x50]
call rax
movsxd rcx, dword [rbx + 0x3c]
add rcx, 0x88
add rcx, rbx
je 0x180005079
mov eax, dword [rcx]
test eax, eax
je 0x180005079
mov r9d, dword [rbx + rax + 0x18]
mov qword [rsp + 0x60], rsi
xor esi, esi
mov qword [rsp + 0x58], r12
mov r11d, esi
mov r12d, dword [rcx + 4]
mov r10d, esi
mov qword [rsp + 0x50], r13
mov r13d, dword [rbx + rax + 0x24]
mov qword [rsp + 0x48], r14
add r13, rbx
lea r14, [rbx + rax]
mov qword [rsp + 0x40], r15
mov r15d, dword [r14 + 0x20]
add r12, r14
mov eax, dword [r14 + 0x1c]
add r15, rbx
add rax, rbx
sub r9d, 1
mov qword [rsp + 0x20], rax
js 0x180005050
mov qword [rsp + 0x90], rbp
lea r8d, [r9 + r10]
mov rax, rdi
sar r8d, 1
movsxd rbp, r8d
mov edx, dword [r15 + rbp*4]
add rdx, rbx
sub rdx, rdi
nop word [rax + rax]
movzx ecx, byte [rax]
cmp cl, byte [rax + rdx]
jne 0x180004ff3
inc rax
test cl, cl
jne 0x180004fe0
mov eax, esi
jmp 0x180004ff8
sbb eax, eax
or eax, 1
test eax, eax
jns 0x180005002
lea r9d, [r8 - 1]
jmp 0x180005008
jle 0x18000500f
lea r10d, [r8 + 1]
cmp r9d, r10d
jge 0x180004fc3
jmp 0x180005048
cmp r9d, r10d
jl 0x180005048
movzx eax, word [r13 + rbp*2]
mov ecx, dword [r14 + 0x1c]
cmp eax, ecx
jae 0x180005048
mov rcx, qword [rsp + 0x20]
mov r11d, dword [rcx + rax*4]
add r11, rbx
je 0x18000503a
cmp r11, r14
jbe 0x180005048
cmp r11, r12
jae 0x180005048
mov rdx, rdi
mov rcx, rbx
call fcn.180004e40
mov r11, rax
mov rbp, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
cmp r11, 0xffffffffffbadd11
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
cmovne rsi, r11
mov r12, qword [rsp + 0x58]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x18000507b
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18001e5f0
add rsp, 0x68
pop rdi
pop rbx
ret