joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18017c1f0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x18017c230
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180343bd0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18017c26e
cmp rsi, r14
jb 0x18017c266
cmp rsi, r15
jae 0x18017c266
cmp qword [rsi + 8], 0
jne 0x18017c437
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18017c251
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x18017c302
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18017c2f9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18017c2f9
cmp dword [rsp + 0x70], 0x10000
je 0x18017c37b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x18017c2f9
sub rbx, rbp
cmp rbx, r14
jae 0x18017c2c0
test rsi, rsi
jne 0x18017c3e0
cmp rdi, r15
ja 0x18017c41f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18017c41f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18017c41f
cmp dword [rsp + 0x70], 0x10000
je 0x18017c3b1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18017c332
jmp 0x18017c41f
test rbx, rbx
je 0x18017c2f9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18017c3e0
cmp rbx, r14
jae 0x18017c2a0
jmp 0x18017c302
test rdi, rdi
je 0x18017c41f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18017c3e0
cmp rdi, r15
jbe 0x18017c310
jmp 0x18017c41f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x18017c3f0
mov rax, qword [0x180343bd0]
mov qword [rsi], rax
mov qword [0x180343bd0], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x180183750
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movabs r9, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov eax, edx
imul r8, r9
shr eax, 8
movzx ecx, al
mov eax, edx
xor r8, rcx
shr eax, 0x10
imul r8, r9
movzx ecx, al
xor r8, rcx
mov eax, edx
mov rcx, qword [0x1803b8e78]
imul r8, r9
shr rax, 0x18
xor r8, rax
imul r8, r9
and r8, qword [0x1803b8ea0]
shl r8, 4
add r8, qword [0x1803b8e88]
mov r9, qword [r8 + 8]
mov rbx, r9
cmp r9, rcx
je 0x1801837e0
mov rax, qword [r8]
cmp edx, dword [r9 + 0x10]
je 0x1801837e2
nop
cmp rbx, rax
je 0x1801837e0
mov rbx, qword [rbx + 8]
cmp edx, dword [rbx + 0x10]
jne 0x1801837d0
jmp 0x1801837e2
xor ebx, ebx
test rbx, rbx
je 0x180183846
mov rax, qword [r8]
cmp r9, rbx
jne 0x180183807
cmp rax, rbx
jne 0x1801837fd
mov qword [r8], rcx
mov qword [r8 + 8], rcx
jmp 0x180183812
mov rcx, qword [rbx + 8]
mov qword [r8 + 8], rcx
jmp 0x180183812
cmp rax, rbx
jne 0x180183812
mov rax, qword [rbx]
mov qword [r8], rax
mov rcx, qword [rbx]
dec qword [0x1803b8e80]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
lea rcx, [rbx + 0x18]
call fcn.180059890
mov edx, 0x40
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.18020e750
add rsp, 0x20
pop rbx
ret

Function at 0x180183850
Capabilities:
Hash data using fnv

Disassembly:
movabs r9, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov eax, edx
imul r8, r9
shr eax, 8
movzx ecx, al
mov eax, edx
xor r8, rcx
shr eax, 0x10
imul r8, r9
movzx ecx, al
xor r8, rcx
mov eax, edx
mov rcx, qword [0x1803b8ea0]
imul r8, r9
shr rax, 0x18
xor r8, rax
imul r8, r9
and rcx, r8
mov r8, qword [0x1803b8e78]
shl rcx, 4
add rcx, qword [0x1803b8e88]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x1801838d7
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x1801838d9
cmp rax, rcx
je 0x1801838d7
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x1801838c7
jmp 0x1801838d9
xor eax, eax
test rax, rax
mov rcx, r8
cmovne rcx, rax
cmp rcx, r8
je 0x1801838f7
cmp qword [rcx + 0x30], 0xf
lea rax, [rcx + 0x18]
jbe 0x1801838f9
mov rax, qword [rax]
ret
xor eax, eax
ret

Function at 0x180183900
Capabilities:
Hash data using fnv

Disassembly:
movabs r9, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov eax, edx
imul r8, r9
shr eax, 8
movzx ecx, al
mov eax, edx
xor r8, rcx
shr eax, 0x10
imul r8, r9
movzx ecx, al
xor r8, rcx
mov eax, edx
mov rcx, qword [0x1803b8ea0]
imul r8, r9
shr rax, 0x18
xor r8, rax
imul r8, r9
and rcx, r8
mov r8, qword [0x1803b8e78]
shl rcx, 4
add rcx, qword [0x1803b8e88]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x180183987
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x180183989
cmp rax, rcx
je 0x180183987
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180183977
jmp 0x180183989
xor eax, eax
test rax, rax
mov rcx, r8
cmovne rcx, rax
cmp rcx, r8
je 0x18018399d
mov rax, qword [rcx + 0x38]
ret
xor eax, eax
ret
Function at 0x1801839a0
Capabilities:
Hash data using fnv

Disassembly:
movabs r9, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov eax, edx
imul r8, r9
shr eax, 8
movzx ecx, al
mov eax, edx
xor r8, rcx
shr eax, 0x10
imul r8, r9
movzx ecx, al
xor r8, rcx
mov eax, edx
mov rcx, qword [0x1803b8ee0]
imul r8, r9
shr rax, 0x18
xor r8, rax
imul r8, r9
and rcx, r8
mov r8, qword [0x1803b8eb8]
shl rcx, 4
add rcx, qword [0x1803b8ec8]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x180183a27
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x180183a29
cmp rax, rcx
je 0x180183a27
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180183a17
jmp 0x180183a29
xor eax, eax
test rax, rax
mov rcx, r8
cmovne rcx, rax
cmp rcx, r8
je 0x180183a3c
mov eax, dword [rcx + 0x14]
ret
xor eax, eax
ret
Function at 0x1801840c0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18018426e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1803b8e78]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1803b8e88]
lea rdx, [rdi + rdi]
call fcn.180042ed0
mov rax, qword [0x1803b8e78]
lea r9, [rdi - 1]
mov qword [0x1803b8ea0], r9
mov qword [0x1803b8ea8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180184263
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1803b8e88]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1801841af
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180184224
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1801841ec
mov r10, qword [rdx]
cmp r10, rax
je 0x1801841e6
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 [r11 + 8], rax
jmp 0x180184224
cmp r9, rdx
je 0x180184200
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180184238
cmp r9, rdx
jne 0x1801841f1
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18018425e
mov r9, qword [0x1803b8ea0]
jmp 0x180184160
mov r10, qword [rdx]
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 0x180184224
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.18020adf0
int3
Function at 0x18018e180
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18018e1fe
lea r8, str.Flarial
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18018e1c6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
mov qword [0x180343f78], rbx
mov qword [rsp + 0x28], rax
lea r8, [0x18018ccc0]
mov r9, rbx
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x18018e210
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x750]
sub rsp, 0x850
mov rax, qword [0x1802ec4c0]
xor rax, rsp
mov qword [rbp + 0x740], rax
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Samsung_Smart_Fridge
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
xorps xmm0, xmm0
test rax, rax
jne 0x18018e28c
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], 0xf
mov byte [r15], sil
jmp 0x18018e44b
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], sil
cmp qword [rbx + 0x18], 0xf
jbe 0x18018e2ae
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x18018e39b
lea r9, [rsp + 0x38]
mov r8d, 0x7d0
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18018e392
movzx ebx, byte [rsp + 0x30]
nop
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x18018e392
mov r14d, eax
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x18018e356
lea rax, [rcx + r14]
mov qword [rsp + 0x58], rax
lea rdi, [rsp + 0x48]
cmp rdx, 0xf
cmova rdi, qword [rsp + 0x48]
add rdi, rcx
mov r8d, r14d
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180244e70
mov byte [rdi + r14], 0
jmp 0x18018e371
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
movzx r8d, bl
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.180058d50
lea r9, [rsp + 0x38]
mov r8d, 0x7d0
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x18018e300
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], 2
lea r9, [0x1802b7018]
mov r8, rsi
mov rdx, qword [rsp + 0x58]
call fcn.18008d7c0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18018e404
mov qword [rsp + 0x20], 2
lea r9, [0x18029ab74]
mov r8d, 2
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.18008cdc0
add rsi, 2
jmp 0x18018e3a4
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.180059390
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x18018e44b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18018e446
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18018e478
call fcn.18020e750
mov rax, r15
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.18020e120
mov rbx, qword [rsp + 0x8a0]
add rsp, 0x850
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1802214b8
int3
Function at 0x1801a7c20
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1801a7c3c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1801a7c90
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1801a7db5
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1801a7db5
test rax, rax
je 0x1801a7db5
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1801a7db5
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1801a7d2a
lea rax, [0x1801a7e10]
jmp 0x1801a7d83
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1801a7db5
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1801a7da3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1801a7d50
lea rax, [0x1801a7de0]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1801a7dca
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1801b0080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.18019dcc0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1801b00d6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1801b012d
mov ebp, 0x4b0000
jmp 0x1801b013b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1801a02a0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1801b0151
mov eax, r12d
jmp 0x1801b015a
mov edx, edi
mov ecx, ebp
call fcn.1801a02a0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1801b0176
shl esi, 0x10
mov ecx, esi
jmp 0x1801b0265
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1801b01d4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.18019dcc0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1801b01c4
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1801a0170
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.18019dcc0
add ebx, eax
jmp 0x1801b026e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1801b01e1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1801b0220
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.18019dcc0
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1801b0225
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1801a0170
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.18019dcc0
add ebx, eax
jmp 0x1801b026e
cmp eax, r12d
jge 0x1801b025e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.18019dcc0
sub ebp, eax
sub r15d, esi
je 0x1801b025e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1801a0170
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.18019dcc0
add ebx, eax
jmp 0x1801b026e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.18019dcc0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.18019dcc0
Function at 0x1801fc290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1802ec4c0]
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 rsi, 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 qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1801fc42c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1801fc42c
cmp r10d, r14d
jne 0x1801fc330
sub rbx, 0x10
jmp 0x1801fc474
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1801fc3a2
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1801fc364
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1801fc36c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1801fc38b
movzx edx, r11b
mov rcx, rsi
call fcn.1801fd440
test al, al
jne 0x1801fc485
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1801fdab0
test al, al
jne 0x1801fc485
mov edx, dword [rsi + 0x64]
lea r9, [0x1801fde10]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1801fc3ce
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1801fc110
jmp 0x1801fc422
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1801fc110
test dil, dil
je 0x1801fc41a
cmp byte [rsi + 0x6a], 0
jne 0x1801fc41a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1801fc485
sub rbx, 0x10
jmp 0x1801fc474
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 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 + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1801fc489
mov ebp, dword [rbx]
jmp 0x1801fc2f0
mov al, 1
jmp 0x1801fc492
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18020e120
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x180202f60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x180202f6b
xor eax, eax
ret
lea r11, [0x18026f400]
not ecx
cmp r8d, 8
jb 0x180203041
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x180202f90
test r8d, r8d
je 0x18020306d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x180203050
not ecx
mov eax, ecx
ret