joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2d9e3d8ba0
Capabilities:
Send data
Send data on socket

Disassembly:
mov r11, rsp
push rbp
push r12
push r15
sub rsp, 0x90
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rdx
mov ebp, r9d
mov r12, r8
mov r15, rcx
test r9d, r9d
jle 0x2d9e3d8d2a
mov qword [r11 - 0x20], rbx
lea rax, [rcx + 0xd0]
mov qword [r11 - 0x28], rsi
mov qword [r11 - 0x30], rdi
mov qword [r11 - 0x38], r13
mov qword [r11 - 0x40], r14
mov ebx, dword [r15 + 0x1c]
mov rcx, rax
cmp ebp, ebx
cmovl ebx, ebp
mov r14d, ebx
call fcn.2d9e3d9710
mov rsi, rax
test ebx, ebx
jns 0x2d9e3d8c0f
mov r14d, dword [r15 + 0x1c]
mov rcx, qword [rax + 0x38]
mov rdx, r12
movsxd r13, ebx
mov r8, r13
mov dword [rax + 0x30], r14d
call fcn.2d9e3e2bb0
mov rcx, qword [rsp + 0x40]
mov eax, ebx
lock xadd dword [rcx + 0x50], eax
mov rax, qword [rcx + 0xc0]
lea r9, [rsp + 0x4c]
xor edx, edx
mov qword [rsi + 0x58], rax
mov rcx, qword [rsi + 0x58]
mov r14d, edx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x4c], edx
lea r8d, [rdx + 1]
mov dword [rsi + 0x28], 3
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edx
lea rdx, [rsi + 0x30]
mov dword [rsi + 0x44], 2
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x2d9e3d8c86
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r14d, eax
xor edi, edi
cmp r14d, 0x3e5
cmovne edi, r14d
or eax, 0xffffffff
lock xadd dword [rsi + 0x44], eax
cmp eax, 1
je 0x2d9e3d8ca4
test edi, edi
je 0x2d9e3d8ccd
lea rcx, [r15 + 0x100]
mov rdx, rsi
call fcn.2d9e3cfd50
test eax, eax
jne 0x2d9e3d8cc9
mov rcx, qword [rsi + 0x20]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
jne 0x2d9e3d8d1c
sub ebp, ebx
lea rax, [r15 + 0xd0]
add r12, r13
test ebp, ebp
jg 0x2d9e3d8bf0
mov r13, qword [rsp + 0x70]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov r14, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.2d9e3da7d0
add rsp, 0x90
pop r15
pop r12
pop rbp
ret
neg ebx
mov rdx, qword [rsp + 0x40]
lock xadd dword [rdx + 0x50], ebx
jmp 0x2d9e3d8ce1
xor eax, eax
jmp 0x2d9e3d8d02
Function at 0x2d9e3d9020
Capabilities:
Send data
Send data on socket

Disassembly:
mov r11, rsp
push rbp
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov rdi, rdx
mov rbp, rcx
cmp dword [rdx + 0xc8], r14d
jle 0x2d9e3d917f
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
nop dword [rax + rax]
mov rbx, qword [rdi + 0xd0]
cmp rbx, qword [rdi + 0xd8]
je 0x2d9e3d9081
mov rax, qword [rbx + 0x48]
mov qword [rdi + 0xd0], rax
mov qword [rax + 0x50], r14
jmp 0x2d9e3d9094
test rbx, rbx
je 0x2d9e3d90a7
mov qword [rdi + 0xd0], r14
mov qword [rdi + 0xd8], r14
test rbx, rbx
je 0x2d9e3d90a7
mov qword [rbx + 0x48], r14
mov qword [rbx + 0x50], r14
dec dword [rdi + 0xc8]
mov eax, dword [rbx + 0x30]
lea rdx, [rbx + 0x30]
sub dword [rdi + 0x50], eax
lock xadd dword [rdi + 0x54], eax
mov rax, qword [rdi + 0xc0]
lea r9, [rsp + 0x44]
mov qword [rbx + 0x58], rax
mov r8d, 1
mov rcx, qword [rbx + 0x58]
mov esi, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x44], r14d
mov dword [rbx + 0x28], 3
mov qword [rsp + 0x28], rbx
mov dword [rbx + 0x44], 2
mov dword [rsp + 0x20], r14d
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x2d9e3d9108
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
or eax, 0xffffffff
lock xadd dword [rbx + 0x44], eax
cmp eax, 1
je 0x2d9e3d9121
test esi, esi
je 0x2d9e3d914a
cmp esi, 0x3e5
je 0x2d9e3d9146
lea rcx, [rbp + 0x100]
mov rdx, rbx
call fcn.2d9e3cfd50
test eax, eax
jne 0x2d9e3d9146
mov rcx, qword [rbx + 0x20]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
jne 0x2d9e3d9157
cmp dword [rdi + 0xc8], r14d
jg 0x2d9e3d9060
mov rbx, qword [rsp + 0x80]
mov eax, esi
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.2d9e3da7d0
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov eax, r14d
jmp 0x2d9e3d9169
Function at 0x2d9e3d9ca0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rsp + 0x28], rax
movzx r8d, byte [rdx]
mov rbp, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
mov rdx, qword [rbp + 0x18]
imul r8, rcx
xor r8, rax
mov rax, qword [rbp + 8]
imul r8, rcx
mov rcx, qword [rbp + 0x30]
and rcx, r8
mov rbx, rcx
add rbx, rbx
add rcx, rcx
mov rbx, qword [rdx + rbx*8]
mov r8, qword [rdx + rcx*8]
lea r9, [rdx + rcx*8]
cmp r8, rax
jne 0x2d9e3d9d2f
mov rcx, rax
jmp 0x2d9e3d9d36
mov rcx, qword [r9 + 8]
mov rcx, qword [rcx]
cmp rbx, rcx
je 0x2d9e3d9d75
mov ecx, dword [r10]
cmp dword [rbx + 0x10], ecx
je 0x2d9e3d9d48
mov rbx, qword [rbx]
jmp 0x2d9e3d9d25
mov rdi, rbx
mov edx, ecx
nop dword [rax]
cmp r8, rax
jne 0x2d9e3d9d5a
mov rcx, rax
jmp 0x2d9e3d9d61
mov rcx, qword [r9 + 8]
mov rcx, qword [rcx]
cmp rbx, rcx
je 0x2d9e3d9d70
cmp edx, dword [rbx + 0x10]
jne 0x2d9e3d9d70
mov rbx, qword [rbx]
jmp 0x2d9e3d9d50
cmp rdi, rbx
jne 0x2d9e3d9d7b
mov rdi, rax
mov rbx, rax
xor esi, esi
mov rdx, rdi
cmp rdi, rbx
je 0x2d9e3d9d90
mov rdx, qword [rdx]
inc rsi
cmp rdx, rbx
jne 0x2d9e3d9d85
cmp rdi, qword [rax]
jne 0x2d9e3d9da4
cmp rbx, rax
jne 0x2d9e3d9da4
mov rcx, rbp
call fcn.2d9e3c2d90
jmp 0x2d9e3d9dc8
cmp rdi, rbx
je 0x2d9e3d9dc8
nop dword [rax]
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rdi, qword [rdi]
mov rcx, rbp
call fcn.2d9e3d9f30
cmp rdi, rbx
jne 0x2d9e3d9db0
mov rax, rsi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.2d9e3da7d0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x2d9e3d9f30
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov r10, rcx
movzx edx, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
mov r9, r8
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [r8 + 0x11]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x12]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x13]
mov r8, qword [r10 + 0x30]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r10 + 0x18]
and r8, rdx
shl r8, 4
add rcx, r8
cmp qword [rcx + 8], r9
jne 0x2d9e3d9fd8
cmp qword [rcx], r9
jne 0x2d9e3d9fce
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [r8 + rcx + 8], rax
jmp 0x2d9e3d9fe3
mov rax, qword [r9 + 8]
mov qword [rcx + 8], rax
jmp 0x2d9e3d9fe3
cmp qword [rcx], r9
jne 0x2d9e3d9fe8
mov rax, qword [r9]
mov qword [rcx], rax
mov r9, qword [rsp + 0x50]
mov rdx, qword [r9 + 8]
mov rcx, r9
mov rbx, qword [r9]
mov qword [rdx], rbx
mov r8, qword [r9]
mov rdx, qword [r9 + 8]
mov qword [r8 + 8], rdx
dec qword [r10 + 0x10]
call fcn.2d9e3da86c
mov rax, rdi
mov qword [rdi], rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.2d9e3da7d0
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x2d9e3da030
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x78], r13
xor ebp, ebp
mov qword [rsp + 0x70], r14
mov rbx, r8
mov qword [rsp + 0x40], rbx
mov edi, ebp
mov r14d, ebp
mov qword [rsp + 0x68], r15
mov r13, r9
mov rsi, rdx
mov r12, rcx
mov eax, dword [rsi + 0x5c]
test eax, eax
jne 0x2d9e3da15d
cmp dword [r13], 1
ja 0x2d9e3da15d
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x198]
mov rcx, qword [rbx + 0x58]
lea r9, [rsp + 0x48]
mov dword [rbx + 0x30], eax
lea rdx, [rbx + 0x30]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov r8d, 1
mov qword [rsp + 0x20], rax
mov edi, ebp
mov dword [rsp + 0x4c], ebp
mov dword [rsp + 0x48], ebp
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x2d9e3da0e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
jmp 0x2d9e3da0f2
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x2d9e3da0ed
mov dword [rbx + 0x30], eax
jmp 0x2d9e3da0f6
mov edi, 0x2775
test edi, edi
jne 0x2d9e3da15d
cmp dword [rsi + 0x40], 0
mov ebp, 0xff
je 0x2d9e3da147
lea rcx, [rsi + 0x68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rsi + 0x40], 0
je 0x2d9e3da138
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, qword [rsp + 0x40]
mov rdx, rsi
mov rax, qword [r12]
mov rcx, r12
mov r9d, dword [rbx + 0x30]
mov r8, qword [r8 + 0x38]
call qword [rax + 0x1d0]
mov ebp, eax
lea rcx, [rsi + 0x68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
inc r14d
mov dword [r13], ebp
mov ebp, 0
cmp r14d, 0x1e
jl 0x2d9e3da074
cmp dword [r13], 1
mov r13, qword [rsp + 0x78]
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
ja 0x2d9e3da1e3
test edi, edi
je 0x2d9e3da1e7
cmp edi, 0x2733
je 0x2d9e3da1e7
cmp edi, 0x2775
jne 0x2d9e3da194
xor r9d, r9d
mov dword [rsp + 0x20], ebp
lea r8d, [r9 + 1]
jmp 0x2d9e3da1b2
cmp edi, 0x2736
je 0x2d9e3da1bd
cmp edi, 0x3e3
je 0x2d9e3da1bd
mov r9d, 4
mov dword [rsp + 0x20], edi
lea r8d, [r9 - 2]
mov rdx, rsi
mov rcx, r12
call fcn.2d9e3d6b60
lea rcx, [r12 + 0x100]
mov rdx, rbx
call fcn.2d9e3cfd50
test eax, eax
jne 0x2d9e3da1e3
mov rcx, qword [rbx + 0x20]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x2d9e3da1ec
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.2d9e3da7d0
add rsp, 0x80
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x2d9e3da3d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov r9, rcx
mov qword [rsp + 0x28], rcx
movabs rcx, 0xcbf29ce484222325
mov qword [rsp + 0x20], rcx
xor edx, edx
movabs r10, 0x100000001b3
mov qword [rsp + 0x30], rdx
cmp rdx, 4
jae 0x2d9e3da440
movzx eax, byte [r8 + rdx]
xor rcx, rax
mov qword [rsp + 0x20], rcx
imul rcx, r10
mov qword [rsp + 0x20], rcx
inc rdx
jmp 0x2d9e3da41a
mov r10, qword [r9 + 0x30]
and r10, rcx
mov qword [rsp + 0x40], r10
mov rbx, qword [r9 + 8]
shl r10, 4
mov rcx, qword [r9 + 0x18]
cmp qword [rcx + r10], rbx
je 0x2d9e3da46b
mov rax, qword [rcx + r10 + 8]
mov qword [rsp + 0x58], rax
mov rbx, qword [rax]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
cmp rbx, qword [rcx + r10]
je 0x2d9e3da4c1
mov rbx, qword [rbx + 8]
mov eax, dword [rbx + 0x10]
cmp dword [r8], eax
je 0x2d9e3da489
jmp 0x2d9e3da475
mov r8, qword [rsp + 0xa8]
mov rdx, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rcx], rdx
mov rdx, qword [r8 + 8]
mov rcx, qword [r8]
mov qword [rcx + 8], rdx
dec qword [r9 + 0x10]
mov rcx, r8
call fcn.2d9e3da86c
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x2d9e3da560
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x2d9e3da503
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rcx, qword [r9 + 0x18]
add rcx, r10
mov rax, qword [rcx]
cmp rax, qword [r9 + 8]
jne 0x2d9e3da521
mov qword [rcx], rdi
mov rax, qword [r9 + 0x18]
mov qword [rax + r10 + 8], rdi
jmp 0x2d9e3da54d
cmp rax, rbx
jne 0x2d9e3da52b
mov qword [rcx], rdi
jmp 0x2d9e3da54d
mov rax, qword [rcx + 8]
mov rdx, qword [rax]
mov qword [rcx + 8], rdx
cmp rdx, rdi
je 0x2d9e3da54d
mov r8, qword [r9 + 0x18]
mov rax, qword [r8 + r10 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + r10 + 8], rdx
mov rcx, r9
call fcn.2d9e3da580
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.2d9e3da7d0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x2d9e3e49c8
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x2d9e3e47e8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x2d9e3e47e8
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x2d9e3e47e8
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x2d9e3e47e8
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x2d9e3e47e8
cmp dword [rcx + 0x84], 0xe
jbe 0x2d9e3e47e8
cmp dword [rcx + 0xf8], esi
je 0x2d9e3e47e8
mov ecx, r14d
call fcn.2d9e3e4930
mov ecx, 2
call fcn.2d9e3ef8dc
nop
cmp byte [0x2d9e419200], 0
jne 0x2d9e3e48b2
mov r15d, 1
mov eax, r15d
xchg dword [0x2d9e4191f0], eax
test ebx, ebx
jne 0x2d9e3e485b
mov rdi, qword [0x2d9e415008]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x2d9e4191f8]
cmp rcx, rax
je 0x2d9e3e4852
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.2d9e3b92c0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x2d9e419338]
jmp 0x2d9e3e4867
cmp ebx, r15d
jne 0x2d9e3e486d
lea rcx, [0x2d9e419350]
call fcn.2d9e3e6c68
nop
test ebx, ebx
jne 0x2d9e3e4884
lea rdx, [0x2d9e3fbd48]
lea rcx, [0x2d9e3fbd28]
call fcn.2d9e3e6ec0
lea rdx, [0x2d9e3fbd58]
lea rcx, [0x2d9e3fbd50]
call fcn.2d9e3e6ec0
movzx eax, byte [0x2d9e419200]
test esi, esi
cmove eax, r15d
mov byte [0x2d9e419200], al
jmp 0x2d9e3e48b2
mov ecx, 2
call fcn.2d9e3ef930
test esi, esi
jne 0x2d9e3e48c9
mov ecx, r14d
call fcn.2d9e3e48e4
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x2d9e3e4778
Function at 0x14002e900
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002e90d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002e91d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14002e905
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14002e935
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14002e922
sub eax, 3
jb 0x14002e94f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14002e986
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14002e976
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14002e974
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14002e963
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14002e8c2
jmp 0x14002e90d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1b400
mov dl, 9
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14002e9d2
cmp rsi, rcx
jae 0x14002e9da
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14002e9b9
cmp al, 0x8f
ja 0x14002e9b9
cmp byte [rsi - 2], 0xf
je 0x14002e9bf
sub al, 0xe8
cmp al, 1
ja 0x14002e9a3
cmp rsi, rcx
jae 0x14002e9da
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14002e9a9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002e9da
lodsb al, byte [rsi]
jmp 0x14002e9b9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2c000]
mov eax, dword [rdi]
or eax, eax
je 0x14002ea43
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x32d8c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14002e9e7
jns 0x14002ea1c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14002ea26
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14002ea3d
mov qword [rbx], rax
add rbx, 8
jmp 0x14002ea07
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14002ea9b
sub rsp, 0xffffffffffffff80
jmp 0x14001bce0
Function at 0x180003a70
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180003a98
xor eax, eax
lea r8, [0x180003900]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180005180
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800053a0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180005287
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800051e4
mov rax, qword [0x18000e008]
cmp qword [rsp + 0x20], rax
ja 0x1800051e4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800051a6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180005213
jmp 0x180005287
cmp dword [rsp + 0x50], 0x10000
jne 0x18000526a
cmp qword [rsp + 0x48], 0x10000
jb 0x18000526a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180005258
mov rax, qword [rsp + 0x28]
jmp 0x180005289
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180005282
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800053a0
mov qword [rsp + 0x20], rax
jmp 0x1800051a6
xor eax, eax
add rsp, 0x68
ret

Function at 0x180005290
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800053e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180005393
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800052eb
mov rax, qword [0x18000e008]
cmp qword [rsp + 0x20], rax
ja 0x1800052eb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800052ad
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18000531a
jmp 0x180005393
cmp dword [rsp + 0x50], 0x10000
jne 0x180005371
cmp qword [rsp + 0x48], 0x10000
jb 0x180005371
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000535f
mov rax, qword [rsp + 0x28]
jmp 0x180005395
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18000538e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800053e0
mov qword [rsp + 0x20], rax
jmp 0x1800052ad
xor eax, eax
add rsp, 0x68
ret
Function at 0x180005430
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800059c0
mov qword [rsp + 0x28], 0
cmp qword [0x18000e378], 0
jne 0x180005478
cmp qword [0x18000e370], 0
je 0x180005478
mov rax, qword [0x18000e370]
mov qword [0x18000e378], rax
cmp qword [0x18000e378], 0
je 0x18000551e
mov rax, qword [0x18000e378]
cmp qword [rax + 0x10], 0
je 0x18000551e
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18000551e
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18000551e
mov rax, qword [0x18000e378]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800054e4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800054eb
xor eax, eax
jmp 0x180005699
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180005699
mov rax, qword [0x18000e370]
mov qword [0x18000e378], rax
jmp 0x180005540
mov rax, qword [0x18000e378]
mov rax, qword [rax + 8]
mov qword [0x18000e378], rax
cmp qword [0x18000e378], 0
je 0x18000558d
cmp qword [0x18000e378], 0
je 0x18000558b
mov rax, qword [0x18000e378]
cmp qword [rax + 0x10], 0
je 0x18000558b
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18000558b
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18000558b
jmp 0x1800054bc
jmp 0x18000552e
mov rcx, qword [rsp + 0x60]
call fcn.1800075f0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800056a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180005697
mov rax, qword [rsp + 0x48]
mov qword [0x18000e378], rax
mov rax, qword [0x18000e378]
mov dword [rax], 0x52727464
mov rax, qword [0x18000e378]
mov qword [rax + 0x10], 0
mov rax, qword [0x18000e378]
mov rcx, qword [0x18000e370]
mov qword [rax + 8], rcx
mov rax, qword [0x18000e378]
mov qword [0x18000e370], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18000e378]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180005648
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180005682
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18000563e
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800054bc
xor eax, eax
add rsp, 0x58
ret