joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400336a0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x140033926
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
lea rsi, [rax + 0x1298]
mov rcx, qword [rax + 0x1288]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x14003391a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1288], 0
cmp byte [0x140816515], 0
jne 0x1400336fa
xor edx, edx
xor ebx, ebx
jmp 0x140033740
xor edx, edx
jmp 0x140033725
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1298]
mov rax, rcx
call fcn.140023c40
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x1400336fe
add rax, 0x1288
call fcn.140033620
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x1400338b4
mov rsi, qword [rax + rdx*8 + 0x1298]
cmp rsi, 0x1000
jb 0x14003373b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call fcn.1400182a0
test rax, rax
jne 0x14003378c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x14003373b
mov rsi, qword [rbx + 0x48]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x1400337cc
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x14003373b
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x14003390d
lea r10, [0x1407a8618]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x1040]
lea r8, [r8 + r10]
lea r8, [r8 + 0x1040]
test r11b, r9b
jne 0x14003384f
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x140033885
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1270]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1270], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x14003373b
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x140033905
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1298], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x14003373b
cmp rbx, 0x200
ja 0x1400338f4
lea rdx, [rax + 0x1298]
lea rsi, [rax + 0x1260]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.140029620
mov rax, qword [rsp + 0x48]
add rax, 0x1288
call fcn.140033620
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.1400658a0
mov rax, r8
call fcn.140065820
mov rax, r8
mov ecx, 0x40
call fcn.140065840
mov edx, 0x200
nop
call fcn.140065880
nop
mov qword [rsp + 8], rax
call fcn.14006a380
mov rax, qword [rsp + 8]
jmp fcn.1400336a0
Function at 0x140036300
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x1400365b9
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0x48], 0
mov rax, qword [0x14044f810]
lea rcx, [rsp + 0x48]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x18], 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 2
call fcn.140036b80
xorps xmm15, xmm15
mov r14, qword [0x140816920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
nop
je 0x140036590
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x80], rax
test byte [rax], al
lea rcx, [rax + 0x5d0]
mov qword [rsp + 0x88], rcx
nop
mov rax, rcx
call fcn.14000faa0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov qword [rdx + 0x5d8], rcx
mov rax, qword [0x14044f830]
mov rcx, qword [r14 + 0x30]
movups xmmword [rcx + 0x3c0], xmm15
call fcn.1400367a0
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x48], rax
cmp qword [rcx + 0x5f0], 0
jne 0x14003644e
cmp byte [0x140816517], 0
je 0x14003644e
mov rax, qword [0x14044f808]
mov qword [rsp], rax
movups xmmword [rsp + 8], xmm15
mov qword [rsp + 0x18], 2
mov qword [rsp + 0x20], 0x100003
call fcn.140036a00
xorps xmm15, xmm15
mov r14, qword [0x140816920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x5f0], rax
test rax, rax
je 0x140036568
nop
nop
mov rax, qword [rsp + 0x88]
call fcn.14000fd00
movups xmmword [rsp + 0x50], xmm15
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x70], xmm15
mov rcx, qword [0x14044f910]
lea rdx, [rsp + 0x50]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0x30
call fcn.140036980
xorps xmm15, xmm15
mov r14, qword [0x140816920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
je 0x140036540
mov rcx, qword [rsp + 0x58]
lea rdx, [rcx + 0x4000]
mov qword [rsp + 0x90], r14
mov rsi, qword [r14 + 8]
cmp rsi, rdx
jb 0x140036521
sub rsi, rcx
lea rcx, [rsi - 0x4000]
nop dword [rax]
cmp rcx, 0x4000000
ja 0x140036521
mov qword [r14], rdx
mov rax, qword [r14]
add rax, 0x13a0
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
nop dword [rax]
call fcn.140065280
xorps xmm15, xmm15
mov r14, qword [0x140816920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x98
pop rbp
nop
ret
mov rcx, qword [rsp + 0x90]
test byte [rcx], al
lea rax, [0x14050bf06]
mov ebx, 0xc
call fcn.140039080
nop dword [rax]
call fcn.140066ca0
xorps xmm15, xmm15
mov r14, qword [0x140816920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x140516cdb]
mov ebx, 0x22
call fcn.140039080
call fcn.140066ca0
xorps xmm15, xmm15
mov r14, qword [0x140816920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x14051ce12]
mov ebx, 0x30
call fcn.140039080
call fcn.140066ca0
xorps xmm15, xmm15
mov r14, qword [0x140816920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x140518423]
mov ebx, 0x25
call fcn.140039080
nop
call fcn.140063520
nop
jmp fcn.140036300
Function at 0x140046f60
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400470c7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x140046f72
cmp edx, ecx
jne 0x1400470b5
nop word [rax + rax]
test rsi, rsi
jne 0x1400470b5
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x140046fd4
nop
call fcn.140067160
xorps xmm15, xmm15
mov r14, qword [0x140816920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.140046e80
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x1400470b0
mov rdx, qword [0x14078faa8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x1400470a5
mov rcx, qword [0x14078faa0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x140792b10]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x140792b10], rax
nop
mov edx, 1
lea rsi, [0x140792b18]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x140047093
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x140519c65]
mov ebx, 0x28
nop
call fcn.140039080
mov rax, rsi
mov rcx, rdx
call fcn.140065820
call fcn.140037d00
lea rax, [0x14051754b]
mov ebx, 0x23
call fcn.140039080
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140063520
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140046f60
Function at 0x140053140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x1400532b7
movzx edx, byte [rax]
test edx, edx
jne 0x140053174
nop dword [rax]
test r8b, r8b
jne 0x140053174
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x140053187
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x140053277
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x140053265
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x140053257
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x1400531dd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x140053220
mov eax, 1
cmp rax, rbx
ja 0x14005320b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.1400658e0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x14005324f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x140053213
mov rcx, r11
mov eax, r12d
jmp 0x1400531e2
mov rcx, rbx
call fcn.140065820
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140065820
mov eax, r8d
mov rcx, rbx
call fcn.1400658e0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x1400532ad
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x140053270
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x14005318d
mov eax, edx
mov rcx, rbx
call fcn.140065820
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140065820
nop
int3

Function at 0x1400590c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140059175
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.140056de0
nop
test bl, bl
je 0x14005916f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x1400591c0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.140063400
xorps xmm15, xmm15
mov r14, qword [0x140816920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140063520
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.1400590c0
Function at 0x14005a280
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005a32f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x14005a380]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.140063400
xorps xmm15, xmm15
mov r14, qword [0x140816920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140063520
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.14005a280
Function at 0x14041b710
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14076c480]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14041b730
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14041b738
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14041b730
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14041b78d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x14041b784
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14041b730
add rax, 0x28
cmp rax, r9
jne 0x14041b770
xor eax, eax
ret

Function at 0x14041b790
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14076c480]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14041b7af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14041b7b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14041b7af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14041b850
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14076c480]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14041b86f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14041b878
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x180003294
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x240
mov rbx, rcx
cmp edx, 1
jne 0x18000332b
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
js 0x180003327
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rcx, rax
call fcn.180003854
test eax, eax
jne 0x180003327
call fcn.18000379c
test eax, eax
je 0x180003327
cmp dword [0x180022d00], 0
jne 0x180003334
and qword [rsp + 0x28], 0
lea r8, [0x180001abc]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
mov dword [0x180022d00], 1
xor ecx, ecx
mov qword [0x180022cf8], rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x180022ca0], rax
call fcn.180001d18
jmp 0x180003334
xor eax, eax
jmp 0x180003339
test edx, edx
jne 0x180003334
call fcn.1800036d0
mov eax, 1
add rsp, 0x240
pop rbx
ret
Function at 0x1800035dc
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rax, qword gs:[0x60]
mov edi, edx
mov ebx, ecx
xor esi, esi
mov r8, qword [rax + 0x18]
mov r11, qword [r8 + 0x20]
mov r8, r11
mov r10, qword [r8 + 0x50]
mov r9d, esi
test r10, r10
je 0x18000363b
cmp si, word [r8 + 0x48]
jae 0x18000363b
movzx edx, word [r8 + 0x48]
movsx ecx, byte [r10]
ror r9d, 0xd
cmp byte [r10], 0x61
lea eax, [rcx - 0x20]
cmovge ecx, eax
inc r10
add r9d, ecx
sub rdx, 1
jne 0x18000361d
cmp r9d, ebx
je 0x18000365a
mov r8, qword [r8]
cmp r8, r11
jne 0x180003605
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov r9, qword [r8 + 0x20]
mov ebx, esi
movsxd rax, dword [r9 + 0x3c]
mov r8d, dword [rax + r9 + 0x88]
add r8, r9
mov edx, dword [r8 + 0x20]
mov ecx, dword [r8 + 0x24]
add rdx, r9
add rcx, r9
cmp dword [r8 + 0x18], esi
jbe 0x180003648
mov r10d, dword [rdx]
mov r11d, esi
add r10, r9
jmp 0x18000369b
ror r11d, 0xd
movsx eax, al
add r11d, eax
inc r10
mov al, byte [r10]
test al, al
jne 0x18000368e
cmp r11d, edi
je 0x1800036b9
inc ebx
add rdx, 4
add rcx, 2
cmp ebx, dword [r8 + 0x18]
jb 0x180003683
jmp 0x180003648
movzx edx, word [rcx]
mov ecx, dword [r8 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x18000364a

Function at 0x1800036d0
Capabilities:
Allocate or change rwx memory
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [0x180022d00], 0
je 0x180003778
and dword [0x180022d00], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x180003764
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180003764
mov eax, 0x1f0e
mov word [rbx + 0x40], ax
movabs rax, 0xb821cd09b4000eba
mov qword [rbx + 0x42], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rsp + 0x40]
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [0x180022ca0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.180001e70
add rsp, 0x30
pop rbx
ret
Function at 0x18000379c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
xor ecx, ecx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x180003844
movzx eax, word [rax + 0x40]
mov ecx, 0x7268
sub ax, cx
cmp ax, 0xf
ja 0x1800037d8
mov ecx, 0x8801
bt ecx, eax
jb 0x180003844
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180003844
mov eax, 0x7277
mov word [rbx + 0x40], ax
lea rax, [0x180003780]
mov qword [rbx + 0x42], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rsp + 0x40]
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov edi, 1
mov rbx, qword [rsp + 0x48]
mov eax, edi
add rsp, 0x30
pop rdi
ret

Function at 0x1800039f0
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.180003c40
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180003b0a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180003a54
mov rax, qword [0x180021008]
cmp qword [rsp + 0x20], rax
ja 0x180003a54
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180003a16
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180008c80
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180003a85
jmp 0x180003b0a
cmp dword [rsp + 0x50], 0x10000
jne 0x180003aed
cmp qword [rsp + 0x48], 0x10000
jb 0x180003aed
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180003acb
mov rax, qword [rsp + 0x28]
jmp 0x180003b0c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180003adb
xor eax, eax
jmp 0x180003b0c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180003b05
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180003c40
mov qword [rsp + 0x20], rax
jmp 0x180003a16
xor eax, eax
add rsp, 0x68
ret
Function at 0x180003b20
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.180003c80
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180003c36
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180003b7b
mov rax, qword [0x180021008]
cmp qword [rsp + 0x20], rax
ja 0x180003b7b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180003b3d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180008c80
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180003bac
jmp 0x180003c36
cmp dword [rsp + 0x50], 0x10000
jne 0x180003c14
cmp qword [rsp + 0x48], 0x10000
jb 0x180003c14
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180003bf2
mov rax, qword [rsp + 0x28]
jmp 0x180003c38
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180003c02
xor eax, eax
jmp 0x180003c38
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180003c31
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180003c80
mov qword [rsp + 0x20], rax
jmp 0x180003b3d
xor eax, eax
add rsp, 0x68
ret
Function at 0x180003cd0
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.180004260
mov qword [rsp + 0x28], 0
cmp qword [0x180021ac8], 0
jne 0x180003d18
cmp qword [0x180021ac0], 0
je 0x180003d18
mov rax, qword [0x180021ac0]
mov qword [0x180021ac8], rax
cmp qword [0x180021ac8], 0
je 0x180003dbe
mov rax, qword [0x180021ac8]
cmp qword [rax + 0x10], 0
je 0x180003dbe
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180003dbe
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180003dbe
mov rax, qword [0x180021ac8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180003d84
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180003d8b
xor eax, eax
jmp 0x180003f39
mov rax, qword [0x180021ac8]
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 fcn.180008c80
mov rax, qword [rsp + 0x28]
jmp 0x180003f39
mov rax, qword [0x180021ac0]
mov qword [0x180021ac8], rax
jmp 0x180003de0
mov rax, qword [0x180021ac8]
mov rax, qword [rax + 8]
mov qword [0x180021ac8], rax
cmp qword [0x180021ac8], 0
je 0x180003e2d
cmp qword [0x180021ac8], 0
je 0x180003e2b
mov rax, qword [0x180021ac8]
cmp qword [rax + 0x10], 0
je 0x180003e2b
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180003e2b
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180003e2b
jmp 0x180003d5c
jmp 0x180003dce
mov rcx, qword [rsp + 0x60]
call fcn.1800060d0
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.180003f40
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180003f37
mov rax, qword [rsp + 0x48]
mov qword [0x180021ac8], rax
mov rax, qword [0x180021ac8]
mov dword [rax], 0x52727464
mov rax, qword [0x180021ac8]
mov qword [rax + 0x10], 0
mov rax, qword [0x180021ac8]
mov rcx, qword [0x180021ac0]
mov qword [rax + 8], rcx
mov rax, qword [0x180021ac8]
mov qword [0x180021ac0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180021ac8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180003ee8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180003f22
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 0x180003ede
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180003d5c
xor eax, eax
add rsp, 0x58
ret