joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003e6f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1800e1010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, qword [rcx]
lea r9, [rbp - 0x29]
and qword [rbp - 0x29], 0
lea r8, [0x1800d7fc8]
xor edx, edx
mov rbx, rcx
call qword [rax + 0x48]
cmp qword [rbp - 0x29], 0
je 0x18003db7a
mov rax, qword [rbx]
lea rdx, [rbp - 9]
mov rcx, rbx
call qword [rax + 0x60]
and qword [rbp - 0x19], 0
lea rbx, [0x1800e4ca0]
and dword [rbp - 0x11], 0
lea r8, [rbp - 0x21]
cmp dword [rbp + 7], 0x1d
mov eax, 0x1c
mov rcx, qword [0x1800e4ce0]
mov r9, rbx
cmovne eax, dword [rbp + 7]
mov rdx, qword [rbp - 0x29]
mov dword [rbp - 0x21], eax
mov dword [rbp - 0x1d], 6
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18003db70
lea rcx, str.CreateRenderTarget__:_Falling_back_to_D3D11_RTV_DIMENSION_TEXTURE2D._n
call fcn.180006624
mov rcx, qword [0x1800e4ce0]
lea r8, [rbp - 0x21]
mov rdx, qword [rbp - 0x29]
mov r9, rbx
mov dword [rbp - 0x1d], 4
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18003db70
mov rcx, qword [0x1800e4ce0]
mov r9, rbx
mov rdx, qword [rbp - 0x29]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18003db70
lea rcx, str.Severe_error_in_CreateRenderTarget__._n
call fcn.180006624
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18009c250
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rbp
ret
push rbx
sub rsp, 0x30
mov rax, qword [0x1800e4b80]
mov rbx, rcx
test rax, rax
je 0x18003e832
cmp byte [0x1800e4f20], 0
jne 0x18003e832
cmp qword [rax + 0xa0], 0
jne 0x18003e760
mov rax, qword [rcx]
lea r8, [0x1800e4ce0]
lea rdx, [0x1800d7fb8]
call qword [rax + 0x38]
test eax, eax
js 0x18003e759
mov rcx, qword [0x1800e4ce0]
lea rdx, [0x1800e4cf0]
mov rax, qword [rcx]
call qword [rax + 0x140]
call fcn.180026fd0
call fcn.18003d674
mov rax, qword [0x1800e4b80]
cmp qword [0x1800e4ca0], 0
jne 0x18003e777
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp 0x18003da84
test rax, rax
je 0x18003e785
mov rcx, qword [rax + 0xa0]
jmp 0x18003e787
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x18003e793
call fcn.180026b00
call fcn.180027804
call fcn.18000bedc
xor r8d, r8d
xor edx, edx
mov ecx, 0x208
call fcn.180013d8c
test al, al
je 0x18003e7e1
and qword [rsp + 0x28], 0
lea r9, [0x180000000]
and dword [rsp + 0x20], 0
lea r8, [0x180036cd8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18003e7e1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.180037610
call fcn.180039668
call fcn.18000dd9c
mov rcx, qword [0x1800e4cf0]
lea r8, [0x1800e4ca0]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rax, qword [0x1800e4b80]
mov rcx, qword [rax + 0x1ba0]
mov rdx, qword [rcx]
add rdx, 0x48
mov al, byte [rdx]
neg al
sbb rcx, rcx
and rcx, rdx
call fcn.180025f10
add rsp, 0x30
pop rbx
ret
Function at 0x18003fc88
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r9, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0x80]
mov r10b, dl
cmp byte [rcx], r8b
je 0x18003fcde
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.18003c354
cmp eax, 0xf102793d
jne 0x18003fcde
test r10b, r10b
je 0x18003fcd3
mov eax, 0x1f4
cmp word [r9 + 0x10], ax
setae r8b
jmp 0x18003fcd9
mov r8d, 1
mov al, r8b
jmp 0x18003fce0
xor al, al
add rsp, 0x28
ret

Function at 0x18003fce8
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r8, rcx
mov r9b, dl
mov rcx, qword [rcx + 0x80]
cmp byte [rcx], 0
je 0x18003fd3e
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.18003c354
cmp eax, 0x1c826fb7
jne 0x18003fd3e
movzx ecx, word [r8 + 0x10]
mov eax, 0x13a4
sub cx, ax
mov eax, 1
cmp cx, ax
seta cl
test r9b, r9b
movzx edx, cl
cmovne eax, edx
jmp 0x18003fd40
xor al, al
add rsp, 0x28
ret
Function at 0x180040e44
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x180040e7d
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180040d10
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180040f8f
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [r9 + rax + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x180040ed6
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x180040f15
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x180040f83
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x180040f58
mov r10, qword [r10]
cmp r10, rax
je 0x180040f0e
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180040f0e
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x180040fad
cmp qword [rdi + r11*8], r10
jne 0x180040f4e
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180040ec6
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.180040fd4
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180040f83
Function at 0x180041090
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov r13, rdx
mov r12, rcx
cmp rdx, r8
je 0x180041151
mov rax, qword [rcx + 8]
mov rdi, rdx
mov rbp, qword [rcx + 0x18]
movabs r15, 0xcbf29ce484222325
mov r14, qword [rdx + 8]
xor ecx, ecx
mov qword [rsp + 0x20], rax
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + r13 + 0x10]
inc rcx
xor r15, rax
imul r15, rdx
cmp rcx, 4
jb 0x1800410e8
and r15, qword [r12 + 0x30]
add r15, r15
mov rax, qword [rbp + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.18009c5dc
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x180041172
cmp rdi, rsi
jne 0x18004111a
cmp qword [rsp + 0x30], r13
jne 0x18004114a
mov qword [rbp + r15*8], rdi
mov qword [r14], rdi
mov qword [rdi + 8], r14
lea r11, [rsp + 0x40]
mov rax, rsi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [rsp + 0x30], r13
jne 0x180041188
mov r13, qword [rsp + 0x20]
mov qword [rbp + r15*8], r13
mov rax, r13
jmp 0x18004118b
mov rax, r14
mov qword [rbp + r15*8 + 8], rax
cmp rdi, rsi
je 0x18004114a
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movabs r13, 0x100000001b3
movzx eax, byte [rdi + rdx + 0x10]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, 4
jb 0x1800411ab
mov r15, qword [r12 + 0x30]
mov r13, qword [rsp + 0x20]
and r15, rcx
add r15, r15
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.18009c5dc
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x180041204
cmp rdi, rsi
je 0x180041145
jmp 0x1800411da
mov qword [rbp + r15*8], r13
mov qword [rbp + r15*8 + 8], r13
jmp 0x180041190
Function at 0x180041210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rdx
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r14, rax
movabs rdx, 0x100000001b3
imul r14, rdx
inc rcx
cmp rcx, 4
jb 0x18004122a
mov rax, qword [0x1800e5290]
and rax, r14
add rax, rax
mov rcx, qword [0x1800e5278]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [0x1800e5268]
cmp rbx, rbp
jne 0x180041295
mov rbx, rbp
mov rdi, rbp
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [0x1800e5270], rax
jne 0x1800412d3
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x1800412a7
cmp rbx, rdx
je 0x1800412c9
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x18004129e
mov rbp, qword [rbx]
mov rdi, rbp
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x180041274
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x18004144d
mov rbp, rbx
xor eax, eax
mov rdi, rbx
jmp 0x1800412b8
lea rdx, [0x1800e5268]
lea rcx, [rsp + 0x30]
call fcn.180041e9c
nop
mov rdx, qword [0x1800e5270]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1800412ff
cvtsi2ss xmm0, rcx
jmp 0x180041314
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1800e5298]
xorps xmm1, xmm1
test rcx, rcx
js 0x18004132a
cvtsi2ss xmm1, rcx
jmp 0x18004133f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1800e5260]
seta al
test al, al
je 0x1800413ba
call fcn.1800419d8
mov rcx, qword [rsp + 0x38]
mov rdx, qword [0x1800e5290]
and rdx, r14
add rdx, rdx
mov r8, qword [0x1800e5278]
mov rax, qword [r8 + rdx*8 + 8]
mov rbx, qword [0x1800e5268]
cmp rax, rbx
je 0x18004139d
mov r9, qword [r8 + rdx*8]
mov edx, dword [rcx + 0x10]
jmp 0x180041395
mov rbx, rax
cmp rax, r9
je 0x1800413b3
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180041389
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rdi, rbx
mov rbp, qword [rsp + 0x20]
mov rdx, qword [0x1800e5270]
jmp 0x1800413bf
mov qword [rsp + 0x20], rax
jmp 0x1800413a2
mov rcx, qword [rsp + 0x38]
and qword [rsp + 0x38], 0
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x1800e5270], rdx
mov qword [rcx], rbp
mov qword [rcx + 8], r8
mov qword [r8], rcx
mov qword [rbx + 8], rcx
mov rax, qword [0x1800e5290]
and rax, r14
add rax, rax
mov rdx, qword [0x1800e5278]
mov r9, qword [rdx + rax*8]
cmp r9, qword [0x1800e5268]
jne 0x180041408
mov qword [rdx + rax*8], rcx
jmp 0x18004141a
cmp r9, rdi
jne 0x180041413
mov qword [rdx + rax*8], rcx
jmp 0x18004141f
cmp qword [rdx + rax*8 + 8], r8
jne 0x18004141f
mov qword [rdx + rax*8 + 8], rcx
mov qword [rsi], rcx
mov byte [rsi + 8], 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18004144d
add rcx, 0x18
call fcn.18004085c
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18004144d
mov edx, 0x58
call fcn.18009c5dc
mov rax, rsi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800419d8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [0x1800e5270]
xorps xmm0, xmm0
add rcx, 1
js 0x1800419f9
cvtsi2ss xmm0, rcx
jmp 0x180041a0e
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1800e5260]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1800da384]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x180041a40
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180041a40
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x1800e5298]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x180041a75
cmp rdx, 0x200
jae 0x180041a72
shl rdx, 3
cmp rdx, rcx
jae 0x180041a75
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x180041a9e
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x1800e5268]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1800e5278]
lea rdx, [rdi + rdi]
call fcn.180040d10
mov rax, qword [0x1800e5268]
lea r9, [rdi - 1]
mov qword [0x1800e5290], r9
mov qword [0x1800e5298], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180041bec
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x180041b06
mov rdi, qword [0x1800e5278]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x180041b44
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x180041bb2
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x180041b87
mov r10, qword [r10]
cmp r10, rax
je 0x180041b3d
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180041b3d
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x180041bc6
cmp qword [rdi + r11*8], r10
jne 0x180041b7d
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x180041bec
mov r9, qword [0x1800e5290]
jmp 0x180041af6
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180041bb2
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.180041c24
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180041cf8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], rcx
mov rbp, r8
mov r13, rdx
cmp rdx, r8
je 0x180041dc8
mov rax, qword [rcx + 8]
mov rsi, rdx
mov r14, qword [rdx + 8]
movabs r15, 0xcbf29ce484222325
mov r12, qword [rcx + 0x18]
xor edx, edx
mov qword [rsp + 0x20], rax
movabs r8, 0x100000001b3
movzx eax, byte [rdx + r13 + 0x10]
inc rdx
xor r15, rax
imul r15, r8
cmp rdx, 4
jb 0x180041d52
and r15, qword [rcx + 0x30]
add r15, r15
mov rax, qword [r12 + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.18004085c
mov edx, 0x58
mov rcx, rbx
call fcn.18009c5dc
mov rdx, qword [rsp + 0x38]
dec qword [rdx + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x180041de9
cmp rsi, rbp
jne 0x180041d82
cmp qword [rsp + 0x30], r13
jne 0x180041dc1
mov qword [r12 + r15*8], rsi
mov qword [r14], rsi
mov qword [rsi + 8], r14
lea r11, [rsp + 0x40]
mov rax, rbp
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [rsp + 0x30], r13
jne 0x180041dfe
mov r13, qword [rsp + 0x20]
mov qword [r12 + r15*8], r13
mov rax, r13
jmp 0x180041e01
mov rax, r14
mov qword [r12 + r15*8 + 8], rax
cmp rsi, rbp
je 0x180041dc1
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movabs r13, 0x100000001b3
movzx eax, byte [rsi + r8 + 0x10]
inc r8
xor rcx, rax
imul rcx, r13
cmp r8, 4
jb 0x180041e22
mov r15, qword [rdx + 0x30]
mov r13, qword [rsp + 0x20]
and r15, rcx
add r15, r15
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.18004085c
mov edx, 0x58
mov rcx, rbx
call fcn.18009c5dc
mov rdx, qword [rsp + 0x38]
dec qword [rdx + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x180041e8b
cmp rsi, rbp
je 0x180041dbd
jmp 0x180041e51
mov qword [r12 + r15*8], r13
mov qword [r12 + r15*8 + 8], r13
jmp 0x180041e06
Function at 0x18004f604
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1800e1010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rdi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov esi, dword [rbx + 0x14]
mov eax, esi
mov r14d, dword [rbx + 4]
cmp esi, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x18004f737
cmp esi, r14d
mov eax, r14d
cmovg eax, esi
cmp r9d, eax
jg 0x18004f737
cmp esi, r14d
jne 0x18004f69a
sub rbx, 0x10
jmp 0x18004f781
mov edx, dword [rdi + 0x88]
xor r9d, r9d
cmp esi, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x18004f6fa
mov eax, dword [rdi + 4]
mov ecx, eax
neg ecx
cmp esi, r14d
jge 0x18004f6c8
dec eax
add eax, esi
and eax, ecx
sub eax, esi
jmp 0x18004f6ce
and ecx, esi
mov eax, esi
sub eax, ecx
cmp eax, dword [rdi + 8]
setge r10b
test edx, edx
je 0x18004f6e8
mov dl, r10b
mov rcx, rdi
call fcn.18004eea0
test al, al
jne 0x18004f733
mov r8b, r10b
mov edx, r9d
mov rcx, rdi
call fcn.18004edd4
test al, al
jne 0x18004f733
mov ecx, dword [rdi + 0x60]
lea r9, [0x18004efbc]
mov eax, dword [rdi + 0x64]
mov r8, rbx
mov dword [rsp + 0x28], eax
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rdi
cmp esi, r14d
jge 0x18004f726
call fcn.18004f260
jmp 0x18004f72b
call fcn.18004f3d4
test al, al
je 0x18004f691
mov al, 1
jmp 0x18004f79b
mov eax, dword [rbx + 8]
lea r8, [rbx + 0x10]
mov ecx, dword [r8]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], esi
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [rsi + r9]
mov dword [r8], eax
mov eax, ecx
sar eax, 1
sar edx, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0xc], edx
mov dword [rbx + 0x14], eax
mov rbx, r8
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x18004f792
mov ebp, dword [rbx]
jmp 0x18004f65d
mov dword [rdi + 0x58], ebp
xor al, al
mov dword [rdi + 0x5c], r14d
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18009c250
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18004f7c4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x350
mov rax, qword [0x1800e1010]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov r14d, dword [rsp + 0x398]
mov rdi, rcx
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x390]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3a0]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r14d
mov esi, dword [rbx + 0x1c]
mov ecx, esi
mov ebp, dword [rbx + 4]
cmp esi, ebp
mov r8d, dword [rbx + 0x14]
mov eax, r8d
mov edx, dword [rbx + 0xc]
cmovg ecx, ebp
cmp r8d, edx
cmovg eax, edx
cmp eax, ecx
jl 0x18004f914
cmp esi, ebp
mov eax, ebp
cmovg eax, esi
cmp r8d, edx
cmovg edx, r8d
cmp edx, eax
jg 0x18004f914
cmp esi, ebp
jne 0x18004f87a
sub rbx, 0x18
jmp 0x18004f920
mov edx, dword [rdi + 0x88]
xor r9d, r9d
cmp esi, ebp
setg r9b
inc r9d
cmp edx, r9d
je 0x18004f8d8
mov eax, dword [rdi + 4]
mov ecx, eax
neg ecx
cmp esi, ebp
jg 0x18004f8a6
dec eax
add eax, esi
and eax, ecx
sub eax, esi
jmp 0x18004f8ac
and ecx, esi
mov eax, esi
sub eax, ecx
cmp eax, dword [rdi + 8]
setge r10b
test edx, edx
je 0x18004f8c6
mov dl, r10b
mov rcx, rdi
call fcn.18004eea0
test al, al
jne 0x18004f910
mov r8b, r10b
mov edx, r9d
mov rcx, rdi
call fcn.18004edd4
test al, al
jne 0x18004f910
mov ecx, dword [rdi + 0x60]
lea r9, [fcn.18004f014]
mov eax, dword [rdi + 0x64]
mov r8, rbx
mov dword [rsp + 0x28], eax
mov edx, 3
mov dword [rsp + 0x20], ecx
mov rcx, rdi
cmp esi, ebp
jg 0x18004f903
call fcn.18004f260
jmp 0x18004f908
call fcn.18004f3d4
test al, al
je 0x18004f871
mov al, 1
jmp 0x18004f93b
mov rcx, rbx
call fcn.18004f014
add rbx, 0x18
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x18004f932
mov r14d, dword [rbx]
jmp 0x18004f832
mov dword [rdi + 0x58], r14d
xor al, al
mov dword [rdi + 0x5c], ebp
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.18009c250
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18004fc6c
Capabilities:
Encrypt data using rc4 prga
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 r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
lea r15d, [r14 + 1]
mov dword [rcx + 0x3c], r14d
mov esi, r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x18004fdba
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.18004f964
test al, al
jne 0x18004fe52
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x18004fd49
cmp edx, dword [rbx + 0x60]
jl 0x18004fd49
cmp edx, dword [rbx + 0x64]
jg 0x18004fd49
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x18004fd49
mov rax, qword [rbx + 0x70]
mov cl, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x18004fd49
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x18004fd6c
test byte [r9 + 0x18], 8
je 0x18004fd6c
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x18004fd7d
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.18004eea0
test al, al
jne 0x18004fe52
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x18004fda0
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
add esi, r15d
add rdi, 2
add r10w, r15w
cmp esi, eax
jl 0x18004fcd2
movzx r11d, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp r11w, r15w
jbe 0x18004fe57
test rdx, rdx
je 0x18004fe57
lea rdi, [rdx + 8]
cmp r11w, r15w
jbe 0x18004fdee
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x18004fdf1
mov r10, r14
mov qword [rdi], r10
test byte [rdx + 0x18], 8
mov r10d, dword [rdx + 0x20]
mov r8d, r10d
mov eax, dword [rdx + 0x1c]
je 0x18004fe0c
dec r10d
add r10d, eax
jmp 0x18004fe23
sub r8d, eax
add r8d, r15d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.18004ef34
test al, al
jne 0x18004fe52
lea edx, [r10 + 1]
mov rcx, rbx
call fcn.18004ef34
test al, al
jne 0x18004fe52
mov rdx, qword [rdi]
mov eax, 0xffff
add r11w, ax
je 0x18004fe5b
jmp 0x18004fdd6
mov al, r15b
jmp 0x18004fe66
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret