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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x30
test r9, r9
lea r15, [rsp + 0x78]
mov r12, r8
mov r13, rdx
cmovne r15, r9
mov rbx, rcx
mov edi, 0x5c
nop dword [rax + rax]
mov rax, qword [rbx + 0xc0]
cmp rax, qword [rbx + 0xc8]
jae 0x180028bfc
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180028c11
cmp dword [rbx + 0x30], 0
je 0x180028c11
mov rcx, rbx
call fcn.18002ba10
inc qword [rbx + 0xc0]
sub rdi, 1
jne 0x180028be0
mov rcx, rbx
call fcn.180023700
mov rcx, rbx
mov esi, eax
call fcn.180023700
mov edi, eax
cmp eax, 0x1000000
jg 0x180028d9e
cmp esi, 0x1000000
jg 0x180028d9e
cmp qword [rbx + 0x10], 0
je 0x180028c61
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call rdx
test eax, eax
je 0x180028c75
cmp dword [rbx + 0x30], 0
je 0x180028d9e
mov rax, qword [rbx + 0xc8]
cmp qword [rbx + 0xc0], rax
jae 0x180028d9e
test esi, esi
js 0x180028d9e
test edi, edi
js 0x180028d9e
je 0x180028c9e
xor ecx, ecx
mov eax, 0x7fffffff
cdq
idiv edi
cmp esi, eax
setle cl
test ecx, ecx
je 0x180028d9e
mov eax, edi
imul eax, esi
test eax, eax
js 0x180028d9e
cmp eax, 0x1fffffff
jg 0x180028d9e
mov qword [rsp + 0x60], rbp
mov rcx, rbx
mov qword [rsp + 0x68], r14
call fcn.180023700
mov rcx, rbx
call fcn.180023700
mov rcx, rbx
call fcn.180023700
mov rcx, rbx
call fcn.180023700
test edi, edi
je 0x180028cf7
xor ecx, ecx
mov eax, 0x7fffffff
cdq
idiv edi
cmp esi, eax
setle cl
test ecx, ecx
je 0x180028d11
mov eax, edi
imul eax, esi
lea r14d, [rax*4]
movsxd rcx, r14d
call fcn.180042e50
mov rbp, rax
jmp 0x180028d20
mov eax, edi
imul eax, esi
xor ebp, ebp
lea r14d, [rax*4]
movsxd r8, r14d
mov edx, 0xff
mov rcx, rbp
call fcn.1800432c0
mov r9, r15
mov qword [rsp + 0x20], rbp
mov r8d, edi
mov edx, esi
mov rcx, rbx
call fcn.180028dc0
mov r14, qword [rsp + 0x68]
test rax, rax
jne 0x180028d59
mov rcx, rbp
call fcn.180042ba0
xor ebp, ebp
mov r8d, dword [rsp + 0x80]
mov dword [r13], esi
mov dword [r12], edi
test r8d, r8d
jne 0x180028d71
mov r8d, dword [r15]
mov r9d, esi
mov dword [rsp + 0x80], edi
mov edx, 4
mov rcx, rbp
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
jmp fcn.1800219f0
mov rbx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x18002e130
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
cmp byte [0x1802e6ee0], 0
je 0x18002e144
mov al, 1
add rsp, 0x28
ret
mov qword [rsp + 0x30], rbx
movabs rcx, 0xbb7bb9a74c2f14fb
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x20], rdi
call fcn.180044cb0
mov rbx, rax
test rax, rax
je 0x18002e373
movabs rdx, 0x3902fc9bff1eb2af
mov rcx, rax
call fcn.180045020
movabs rdx, 0x7fbaa47e01567ab8
mov rcx, rbx
mov rsi, rax
call fcn.180045020
movabs rdx, 0xf51d1e0e44280c07
mov rcx, rbx
mov rdi, rax
call fcn.180045020
mov r8, rsi
lea rdx, str.zw_open_thread_token_0x_llX_n
lea rcx, [0x1802ecc10]
mov rbx, rax
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
mov r8, rdi
lea rdx, str.nt_allocate_virtual_memory_0x_llX_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
mov r8, rbx
lea rdx, str.nt_free_virtual_memory_0x_llX_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
test rsi, rsi
je 0x18002e373
test rdi, rdi
je 0x18002e373
test rbx, rbx
je 0x18002e373
mov rcx, rsi
call fcn.180045220
mov rcx, rdi
mov dword [0x1802e9f00], eax
call fcn.180045220
mov rcx, rbx
mov dword [0x1802e9f04], eax
call fcn.180045220
mov r8d, dword [0x1802e9f00]
mov dword [0x1802e9f08], eax
cmp r8d, 0xffffffff
je 0x18002e373
cmp dword [0x1802e9f04], 0xffffffff
je 0x18002e373
cmp eax, 0xffffffff
je 0x18002e373
dec r8d
lea rdx, str.NtQueryVirtualMemory_0x_X_n
lea rcx, [0x1802ecc10]
mov dword [0x1802e9f00], r8d
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
mov r8d, dword [0x1802e9f04]
lea rdx, str.NtAllocateVirtualMemory_0x_X_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
mov r8d, dword [0x1802e9f08]
lea rdx, str.NtFreeVirtualMemory_0x_X_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
xor ecx, ecx
call fcn.180044cb0
mov qword [0x1802e9f10], rax
mov qword [0x1802e9f18], 0
test rax, rax
je 0x18002e337
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18002e337
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
je 0x18002e337
cmp dword [rdx], 0x4550
jne 0x18002e337
mov eax, dword [rdx + 0x50]
mov qword [0x1802e9f18], rax
lea rdx, str.bypass::init
mov byte [0x1802e6ee0], 1
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081b50
mov rsi, qword [rsp + 0x38]
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov rsi, qword [rsp + 0x38]
xor al, al
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x18002fb90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
movzx r8d, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
mov r14, rdx
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rbx + 0x11]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x13]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x18002fc23
cmp rax, rbx
jne 0x18002fc19
mov rax, qword [r9 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x18002fc2e
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x18002fc2e
cmp rax, rbx
jne 0x18002fc2e
mov rax, qword [rbx]
mov qword [rdx], rax
mov rbp, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rbp
mov rax, qword [rbx + 8]
mov qword [rbp + 8], rax
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x18002fc83
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18002fc7e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x18002fc7e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rsi, qword [rsp + 0x30]
mov edx, 0x28
mov rcx, rbx
call fcn.180042b90
mov rbx, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x48]
mov qword [r14], rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x18002fcb0
Capabilities:
Hash data using fnv

Disassembly:
movzx r9d, byte [r8]
mov r10, rcx
movabs rcx, 0x100000001b3
mov r11, rdx
movabs rax, 0xcbf29ce484222325
xor r9, rax
movzx eax, byte [r8 + 1]
mov rdx, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rcx
xor r9, rax
imul r9, rcx
and rdx, r9
mov r9, qword [r10 + 8]
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, r9
je 0x18002fd3c
mov ecx, dword [r8]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x18002fd3e
cmp rax, rdx
je 0x18002fd3c
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x18002fd20
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
xor eax, eax
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
Function at 0x18003c580
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18003c75f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001e490
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x18003c724
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18003c69c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x18003c713
mov rax, qword [r11 + 8]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rax + 0x10]
jne 0x18003c6d9
mov r8, qword [rax]
cmp r8, rcx
je 0x18003c6d3
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x18003c713
cmp r9, rax
je 0x18003c6ef
nop
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
je 0x18003c739
cmp r9, rax
jne 0x18003c6e0
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x18003c620
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x18003c713
lea rcx, str.invalid_hash_bucket_count
call fcn.18003f860
int3
Function at 0x18003d790
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
call fcn.180037460
mov ecx, 0x7fff
mov r8, qword [rax + rbx]
mov eax, dword [r8 + 0x10]
and eax, ecx
cmp dword [r8 + 0x10], 0xffffffff
mov r8, qword [rdi + 0x20]
cmove eax, ecx
xor r9d, r9d
movzx ecx, al
mov edx, eax
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
mov eax, edx
shr rax, 8
xor rcx, rax
movabs rax, 0x8a97b0004e7feab
imul rcx, rax
and rcx, qword [rdi + 0x48]
shl rcx, 4
add rcx, qword [rdi + 0x30]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x18003d830
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x18003d833
nop
cmp rax, rcx
je 0x18003d830
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x18003d820
jmp 0x18003d833
mov rax, r9
test rax, rax
mov qword [rsi], r9
mov qword [rsi + 8], r9
cmove rax, r8
cmp rax, r8
je 0x18003d862
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x18003d853
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x18]
mov qword [rsi], rcx
mov rcx, qword [rax + 0x20]
mov qword [rsi + 8], rcx
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18003d880
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx]
mov r9, rcx
mov rbx, qword [rax + 0x110]
mov rcx, rbx
mov r8, rbx
mov r10, rbx
shr rcx, 0x38
mov r11, rbx
shr r8, 0x30
mov rdi, rbx
shr r10, 0x28
mov rsi, rbx
shr r11, 0x20
mov rax, rbx
shr rdi, 0x18
shr rsi, 0x10
shr rax, 8
test rbx, rbx
jne 0x18003d903
lea rdx, str.class_info_fn
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081b50
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
movzx eax, al
mov qword [rsp + 0x50], rbp
movabs rbp, 0xcbf29ce484222325
movzx edx, bl
xor rdx, rbp
mov qword [rsp + 0x58], r14
movabs r14, 0x100000001b3
imul rdx, r14
xor rdx, rax
movzx eax, sil
imul rdx, r14
xor rdx, rax
movzx eax, dil
imul rdx, r14
xor rdx, rax
movzx eax, r11b
imul rdx, r14
xor rdx, rax
movzx eax, r10b
imul rdx, r14
xor rdx, rax
movzx eax, r8b
mov r8, qword [0x1802e9fc8]
imul rdx, r14
xor rdx, rax
imul rdx, r14
xor rdx, rcx
mov rcx, qword [0x1802e9ff0]
imul rdx, r14
and rcx, rdx
xor edx, edx
shl rcx, 4
add rcx, qword [0x1802e9fd8]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x18003d9b4
mov rcx, qword [rcx]
cmp rbx, qword [rax + 0x10]
je 0x18003d9b7
cmp rax, rcx
je 0x18003d9b4
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x18003d9a3
jmp 0x18003d9b7
mov rax, rdx
test rax, rax
mov rcx, r8
cmovne rcx, rax
cmp rcx, r8
je 0x18003d9cc
mov rax, qword [rcx + 0x18]
jmp 0x18003da2a
mov r8, 0xfffffffffffffffe
lea rax, [rbx + 2]
sub r8, rbx
nop word [rax + rax]
cmp byte [rax - 2], 0x48
jne 0x18003d9f7
movzx ecx, byte [rax - 1]
add cl, 0x75
test cl, 0xfd
jne 0x18003d9f7
cmp byte [rax], 0x15
je 0x18003da44
inc rax
inc edx
lea rcx, [r8 + rax]
cmp rcx, 0x20
jl 0x18003d9e0
lea rdx, str.class_info_not_found_fn__p_this__p
mov r8, rbx
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081b50
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
movsxd rcx, edx
lea rdi, [rbx + 7]
add rdi, rcx
movsxd rax, dword [rcx + rbx + 3]
add rdi, rax
je 0x18003da06
mov rdi, qword [rdi]
test rdi, rdi
jne 0x18003da69
lea rdx, str.ref1_info_not_found_fn__p_this__p
jmp 0x18003da0d
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x18003da87
lea rdx, str._classname
lea rcx, [0x1802ecc10]
call fcn.180044770
jmp 0x18003da1c
movzx r8d, byte [rdi]
test r8b, r8b
je 0x18003dab9
lea edx, [r8 - 0x41]
cmp dl, 0x19
lea eax, [r8 + 0x20]
movzx ecx, al
cmova ecx, r8d
movsx rdx, cl
lea rcx, [rdi + 1]
xor rdx, rbp
imul rdx, r14
call fcn.18003db10
mov rbp, rax
mov rcx, rbp
call fcn.180053a90
mov rsi, rax
test rax, rax
jne 0x18003dadb
mov r9, rdi
lea rdx, str.schema_failed_to_resolve__s__p
mov r8, rdi
jmp 0x18003da10
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], rsi
lea rcx, [0x1802e9fc0]
call fcn.18002f8b0
mov rax, rsi
jmp 0x18003da2a
Function at 0x18003db10
Capabilities:
Hash data using fnv

Disassembly:
movzx r8d, byte [rcx]
mov r9, rdx
mov r10, rcx
test r8b, r8b
jne 0x18003db23
mov rax, rdx
ret
lea edx, [r8 - 0x41]
cmp dl, 0x19
lea eax, [r8 + 0x20]
movzx ecx, al
movabs rax, 0x100000001b3
cmova ecx, r8d
movsx rdx, cl
lea rcx, [r10 + 1]
xor rdx, r9
imul rdx, rax
jmp fcn.18003db10

Function at 0x18003dc10
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x18003dc3c
lea rdx, str._entity
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
add rsp, 0x28
jmp fcn.180081b50
mov eax, dword [r8]
and eax, 0x7fff
cmp eax, 0x4000
jae 0x18003dc54
add rsp, 0x28
jmp fcn.18003dc60
add rsp, 0x28
ret
Function at 0x180040a10
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
lea rdx, str.WATSON_IS_AWARE__n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
add rsp, 0x28
jmp fcn.180081550

Function at 0x180040a70
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], r8d
mov r9, rdx
mov r8, rcx
lea rdx, str._wassert____s__s:_i_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
add rsp, 0x38
jmp fcn.180081550
Function at 0x180043110
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
jne 0x180043137
mov rcx, r8
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.180042e50
test r8, r8
jne 0x18004314e
call fcn.180042ba0
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rcx, r8
mov qword [rsp + 0x30], rdi
call fcn.180042e50
mov rdi, rax
test rax, rax
je 0x18004318c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1800431e0
mov rcx, rbx
call fcn.180042ba0
mov rax, rdi
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x180045020
Capabilities:
Encrypt data using rc4 prga
Hash data using fnv
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, rdx
mov rdi, rcx
test rcx, rcx
je 0x1800451af
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800451af
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1800451af
mov rcx, qword [rax + rcx + 0x88]
test ecx, ecx
je 0x1800451af
mov rax, rcx
shr rax, 0x20
test eax, eax
je 0x1800451af
mov esi, ecx
xor ebx, ebx
add rsi, rdi
mov r12d, dword [rsi + 0x1c]
mov r14d, dword [rsi + 0x20]
add r12, rdi
mov r13d, dword [rsi + 0x24]
add r14, rdi
add r13, rdi
cmp dword [rsi + 0x14], ebx
jbe 0x1800451af
lea r8, [0x1802ea2b0]
movabs r10, 0xcbf29ce484222325
nop
cmp ebx, dword [rsi + 0x18]
jae 0x1800451af
mov eax, dword [r14 + rbx*4]
mov rdx, r8
add rax, rdi
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
mov byte [rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x1800450e0
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp byte [r8 + r9], 0
jne 0x180045100
xor r11d, r11d
test r9, r9
je 0x180045153
mov r10, r8
nop word [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
lea eax, [r8 + 0x20]
movzx ecx, al
lea edx, [r8 - 0x41]
cmp dl, 0x19
cmova ecx, r8d
inc r11d
movsxd rax, r11d
mov byte [r10 - 1], cl
cmp rax, r9
jb 0x180045120
movabs r10, 0xcbf29ce484222325
movzx ecx, byte [0x1802ea2b0]
test cl, cl
jne 0x180045163
mov rax, r10
jmp 0x180045198
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x18004516d
add cl, 0x20
movsx rdx, cl
movabs rax, 0x100000001b3
xor rdx, r10
lea rcx, [0x1802ea2b1]
imul rdx, rax
call fcn.18003db10
movabs r10, 0xcbf29ce484222325
cmp rax, r15
je 0x1800451ce
inc ebx
lea r8, [0x1802ea2b0]
cmp ebx, dword [rsi + 0x14]
jb 0x1800450c0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r13 + rbx*2]
mov eax, dword [r12 + rax*4]
add rax, rdi
jmp 0x1800451b1

Function at 0x1800451e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rdx], 0
test rcx, rcx
je 0x180045210
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180045210
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
je 0x180045210
cmp dword [rax], 0x4550
jne 0x180045210
mov eax, dword [rax + 0x50]
mov qword [rdx], rax
mov al, 1
ret
xor al, al
ret
Function at 0x180045250
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword gs:[0x60]
mov rdi, rdx
mov r9, rcx
mov r8, qword [rax + 0x18]
add r8, 0x10
mov rbx, qword [r8]
cmp rbx, r8
je 0x1800452a1
nop dword [rax]
test rbx, rbx
je 0x1800452a1
mov rcx, qword [rbx + 0x30]
cmp r9, rcx
jb 0x180045299
mov eax, dword [rbx + 0x40]
add rax, rcx
cmp r9, rax
jb 0x1800452ae
mov rbx, qword [rbx]
cmp rbx, r8
jne 0x180045280
xor al, al
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rdx, qword [rbx + 0x60]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800452d0
lea rcx, [rsp + 0x20]
call fcn.180044a10
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
lea r9, [rsp + 0x80]
cmovae rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x40]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x20]
cmovae rdx, qword [rsp + 0x20]
call fcn.180044920
mov rax, qword [rbx + 0x30]
lea rcx, [rdi + 0x10]
mov qword [rdi], rax
mov eax, dword [rbx + 0x40]
mov dword [rdi + 8], eax
lea rax, [rsp + 0x40]
cmp rcx, rax
je 0x180045352
cmp qword [rsp + 0x58], 0x10
lea rdx, [rsp + 0x40]
mov r8, qword [rsp + 0x50]
cmovae rdx, qword [rsp + 0x40]
call fcn.180044b50
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18004538b
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045386
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800453d6
call fcn.180042b90
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1800453c9
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800453c4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800453d6
call fcn.180042b90
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x60
pop rdi
ret
call fcn.180040750
int3
Function at 0x1800459c0
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rbx, qword [rcx + 0xd0]
mov rsi, rcx
test rbx, rbx
je 0x180045a0d
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180045a0d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180045a0d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea rcx, [rsi + 0xb0]
mov qword [rsp + 0x30], rdi
call fcn.180046020
lea rcx, [rsi + 0x98]
call fcn.180046020
mov rcx, qword [rsi + 0x70]
xor ebp, ebp
test rcx, rcx
je 0x180045a7c
mov rdx, qword [rsi + 0x80]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x180045a68
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180045b92
mov rcx, r8
call fcn.180042b90
mov qword [rsi + 0x70], rbp
mov qword [rsi + 0x78], rbp
mov qword [rsi + 0x80], rbp
mov rcx, qword [rsi + 0x60]
mov rax, qword [rcx + 8]
mov qword [rax], rbp
mov rdi, qword [rcx]
test rdi, rdi
je 0x180045ab1
nop
mov rbx, qword [rdi]
lea rcx, [rdi + 0x18]
call fcn.180046020
mov edx, 0x30
mov rcx, rdi
call fcn.180042b90
mov rdi, rbx
test rbx, rbx
jne 0x180045a90
mov rcx, qword [rsi + 0x60]
mov edx, 0x30
call fcn.180042b90
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x180045b09
mov rdx, qword [rsi + 0x40]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x180045af8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180045b92
mov rcx, r8
call fcn.180042b90
mov qword [rsi + 0x30], rbp
mov qword [rsi + 0x38], rbp
mov qword [rsi + 0x40], rbp
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx + 8]
mov qword [rax], rbp
mov rdi, qword [rcx]
test rdi, rdi
je 0x180045b70
nop dword [rax]
mov rbx, qword [rdi + 0x20]
mov rbp, qword [rdi]
test rbx, rbx
je 0x180045b5b
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180045b5b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180045b5b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edx, 0x28
mov rcx, rdi
call fcn.180042b90
mov rdi, rbp
test rbp, rbp
jne 0x180045b20
mov rcx, qword [rsi + 0x20]
mov edx, 0x28
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.180042b90
call fcn.180040750
int3