joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e864
Capabilities:
Delete directory

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x140
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14000e88d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor edi, edi
test eax, eax
setne sil
test eax, eax
je 0x14000e958
cmp dword [0x140054b70], edi
jg 0x14000e958
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400044f4
lea rcx, [rsp + 0x58]
call fcn.1400038f0
lea rdx, str.Deleted__
lea rcx, [rsp + 0x58]
call fcn.140005080
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140004ad0
mov rbx, rax
lea rdx, str.__directory
mov rcx, rax
call fcn.140005080
mov qword [rsp + 0x28], rbx
lea rax, str.FileUtils::deleteDirectory
mov qword [rsp + 0x20], rax
mov r9d, 0x291
lea r8, str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_FileUtils.cpp
xor edx, edx
lea rcx, [0x140054b70]
call fcn.14000cb30
lea rcx, [rsp + 0xe0]
call fcn.140003874
nop
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0xe0]
call fcn.140014628
nop
test sil, sil
jne 0x14000e96b
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
ja 0x14000e96e
mov dil, 1
mov al, dil
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000ea14
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14000ea30
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000ea3f
mov al, 1
jmp 0x14000ea6f
mov rcx, rbx
call fcn.14000cc78
test al, al
je 0x14000ea6d
xor edx, edx
mov rcx, rbx
call fcn.14000ea78
test al, al
je 0x14000ea6f
cmp byte [rbx + 0x20], 0
je 0x14000ea69
mov rcx, rbx
call fcn.14000e864
jmp 0x14000ea6f
mov al, 1
jmp 0x14000ea6f
xor al, al
add rsp, 0x50
pop rbx
ret

Function at 0x14000ec08
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140054080]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1400044f4
nop
mov byte [rsp + 0x48], 1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000ec7a
mov dl, 1
lea rcx, [rsp + 0x28]
call fcn.14000ea78
cmp byte [rsp + 0x48], 0
je 0x14000ec7a
lea rcx, [rsp + 0x28]
call fcn.14000e748
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000ecb3
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ecae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ecc5
call fcn.1400158f4
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400158d0
add rsp, 0x68
ret
call fcn.140019dc0
int3
Function at 0x14000f414
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140054080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
cmp qword [0x140056d60], 0
jne 0x14000f49f
movdqa xmm0, xmmword [0x14004a150]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov r8d, 4
lea rdx, [rsp + 0x30]
call fcn.14000de54
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000f49d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f497
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f4ef
call fcn.1400158f4
nop
jmp 0x14000f4dc
call fcn.14000cc78
mov rcx, rbx
test al, al
je 0x14000f4b2
call fcn.14000e864
jmp 0x14000f4cf
cmp qword [rbx + 0x18], 0x10
jb 0x14000f4bc
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000f4dc
mov rcx, rbx
call fcn.14000e4bc
test al, al
jne 0x14000f4dc
mov rcx, rbx
call qword [0x140056d60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400158d0
add rsp, 0x60
pop rbx
ret
call fcn.140019dc0
nop
int3
Function at 0x14000f704
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140054080]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
and dword [rbp - 0x49], 0
cmp qword [rcx + 0x18], 0x10
jb 0x14000f742
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000f924
mov rcx, rbx
cmp dword [rbx + 0x20], 1
jne 0x14000f764
call fcn.14000f414
jmp 0x14000f924
call fcn.14000cc78
test al, al
je 0x14000f924
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
and qword [rbp - 0x31], 0
cmp dword [rbx + 0x20], 3
je 0x14000f7f9
cmp dword [rbx + 0x20], 5
je 0x14000f7a1
cmp dword [rbx + 0x20], 7
jne 0x14000f8b9
mov rcx, rbx
call fcn.14000f414
jmp 0x14000f8b9
mov r8, rbx
xor edx, edx
lea rcx, [rbp - 0x41]
call fcn.1400102a8
nop
lea rax, vtable.FileUtils::DirectoryIterator.0
mov qword [rbp - 9], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x17], xmm0
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.1400044f4
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x27], xmm0
and qword [rbp + 0x37], 0
mov word [rbp - 1], 0x101
mov byte [rbp + 1], 1
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 9]
call fcn.14000f4f8
nop
jmp 0x14000f8b0
lea rax, vtable.FileUtils::DirectoryIterator.0
mov qword [rbp - 9], rax
movdqa xmmword [rbp + 0x17], xmm0
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.1400044f4
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x27], xmm0
and qword [rbp + 0x37], 0
mov word [rbp - 1], 0x100
mov byte [rbp + 1], 0
and qword [rbp - 0x29], 0
movdqu xmmword [rbp - 0x21], xmm0
mov dword [rbp - 0x49], 1
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.14000f4f8
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x41]
call fcn.14000fda0
nop
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x14000f8b0
mov r8, qword [rbp - 0x21]
call fcn.1400046bc
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x29]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f89e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f94b
call fcn.1400158f4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
and qword [rbp - 0x19], 0
lea rcx, [rbp - 9]
call fcn.140002274
mov rbx, qword [rbp - 0x39]
mov rdi, qword [rbp - 0x41]
cmp rbx, rdi
je 0x14000f8df
add rbx, 0xffffffffffffffe0
mov rcx, rbx
call fcn.14000f414
cmp rbx, rdi
jne 0x14000f8c6
mov rbx, qword [rbp - 0x39]
mov rdi, qword [rbp - 0x41]
test rdi, rdi
je 0x14000f924
mov r8, rbx
mov rdx, rdi
call fcn.1400046bc
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x41]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f91f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f945
call fcn.1400158f4
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400158d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140019dc0
nop
call fcn.140019dc0
nop
int3
Function at 0x1400128e4
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x30]
call fcn.140017760
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x20], 9
sete al
add rsp, 0x58
ret

Function at 0x140012a90
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x140054080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov qword [rbp - 0x30], rcx
lea rcx, [rbp - 0x50]
call fcn.140012c94
nop
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
sub rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
sub rcx, rdx
mov r8d, eax
cmp r8, rcx
jbe 0x140012b0b
mov edx, r8d
lea rcx, [rbp - 0x50]
call fcn.140010138
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
sub rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov rdx, qword [rbp - 0x50]
movdqa xmm0, xmmword [0x14004a150]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
lea rcx, [rbp - 0x28]
call fcn.140004404
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.14000d1a4
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140012b6a
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012b65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012bd4
call fcn.1400158f4
movdqa xmm0, xmmword [0x14004a150]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140012bb1
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012bac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012bce
call fcn.1400158f4
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400158d0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
call fcn.140019dc0
nop
call fcn.140019dc0
nop
int3

Function at 0x14002380c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140023638
Function at 0x180003910
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000396d
lea rbx, [0x18012a7f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180003954
cmp r10, 2
jb 0x180003954
cmp byte [r9], r8b
jne 0x180003954
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180003930
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800039af
lea rbx, [0x18012a7f0]
cmp r8b, 0x23
jne 0x180003993
cmp byte [r9], r8b
jne 0x180003993
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180003980
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180003af0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180003b0a
mov qword [r8], 0
lea rdx, [0x18012a3e4]
call fcn.1800039c0
mov rbx, rax
test rax, rax
jne 0x180003b2a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180003c01
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180003c01
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180003c01
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180003c01
cmp rdi, 0xffffffffffffffff
je 0x180003c01
mov rax, qword [0x18017f660]
test rax, rax
je 0x180003b9e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180003c01
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180003bee
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18017f660]
test rax, rax
je 0x180003be3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180003c0a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180003bfc
mov qword [r14], rdi
mov rax, rsi
jmp 0x180003c0c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180006810
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x18012a7f0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x18017f660]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ebc], ebx
jne 0x1800068a6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1800187f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180012aa0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18017e310]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18017f660]
mov edi, ecx
cmp byte [rbx + 0x4235], 0
jne 0x180012b01
cmp byte [rbx + 0x4236], 0
jne 0x180012b01
movsx r9d, word [rbx + 0x531a]
lea r8, [0x18012a0a8]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1800037d0
test dil, 1
je 0x180012c28
jmp 0x180012b8a
movss xmm1, dword [rbx + 0x3890]
lea r8, [0x18012a0a8]
movsx r9d, word [rbx + 0x531a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180165650]
mulss xmm1, dword [0x180165630]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdf4]
addss xmm1, dword [rbx + 0xdf8]
mov qword [rbx + 0x3fa0], rax
mov dword [rbx + 0x3f8c], 1
movss dword [rbx + 0x3f98], xmm0
movss dword [rbx + 0x3f9c], xmm1
movss xmm0, dword [rbx + 0x38ec]
mulss xmm0, dword [0x18016549c]
or dword [rbx + 0x3f88], 0x41
movss dword [rbx + 0x3fe8], xmm0
call fcn.1800037d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180012be0
lea r11, [0x18012a7f0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180012bc3
cmp byte [r8], r9b
jne 0x180012bc3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180012bb0
not ecx
call fcn.18000bc00
test rax, rax
je 0x180012c28
cmp byte [rax + 0x96], 0
je 0x180012c28
mov byte [rax + 0x9d], 1
lea r8, [0x18012a0a8]
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x531a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x531a]
call fcn.1800037d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18000e390
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801098a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180017450
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53c8], 0
lea rbx, [rcx + 0x53d0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800174f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800174aa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180019420
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800040e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53c8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53d8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18017f658]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800174ff
mov rcx, rbx
call fcn.1800040e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180017980
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18017f660]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800179e3
mov qword [rsp], rbx
lea rbx, [0x18012a7f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800179c3
cmp byte [r8], r9b
jne 0x1800179c3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1800179b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5378]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180017a17
mov r10, qword [r10 + 0x5380]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180017a1e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180017a04
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x180038f50
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x180038fdc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180038fb0
lea r11, [0x18012a7f0]
nop
cmp r9b, 0x23
jne 0x180038f93
cmp byte [r8], r9b
jne 0x180038f93
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180038f80
mov rcx, qword [0x18017f660]
not eax
cmp dword [rcx + 0x3ed4], eax
jne 0x180038fc7
mov dword [rcx + 0x3ed8], eax
cmp dword [rcx + 0x3f00], eax
jne 0x180039036
mov byte [rcx + 0x3f04], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x18017f660]
mov qword [rsp + 0x38], rsi
mov rax, qword [rbx + 0x3e88]
movsxd rcx, dword [rax + 0xd0]
mov rax, qword [rax + 0xd8]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, rdi
call fcn.180003910
cmp dword [rbx + 0x3ebc], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x18003902f
mov r8, rdi
mov edx, ntohl
mov ecx, eax
call fcn.1800187f0
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18003d490
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13c0
call fcn.18010a8d0
sub rsp, rax
mov rax, qword [0x18017e310]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov edi, edx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov ebx, 0x270
mov dword [rsp + 0x24], eax
mov r8d, 1
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, r8d
mov dword [rsp + r8*4 + 0x24], eax
inc r8
cmp r8, rbx
jb 0x18003d4f0
mov rax, qword gs:[0x58]
mov ecx, dword [0x18017f614]
mov edx, 4
mov dword [rsp + 0x20], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x18018039c], eax
jle 0x18003d565
lea rcx, [0x18018039c]
call fcn.180109b90
cmp dword [0x18018039c], 0xffffffff
jne 0x18003d565
lea rcx, [0x18018039c]
mov dword [0x180180740], 0
mov dword [0x180180744], edi
call fcn.180109b30
mov ecx, dword [0x180180740]
mov ebp, 0x80000000
cmp ecx, ebp
lea eax, [rcx - 0x80000000]
lea esi, [rcx + rbp]
mov ecx, dword [0x180180744]
cmovae esi, eax
cmp ecx, ebp
lea eax, [rcx - 0x80000000]
lea edi, [rcx + rbp]
cmovae edi, eax
sub edi, esi
cmp edi, 0xffffffff
jne 0x18003d610
lea r8, [rsp + 0x28]
nop
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x18003d5a0
mov ebx, dword [rsp + 0x20]
mov ecx, dword [rsp + rbx*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov edx, ecx
shr edx, 0x12
xor edx, ecx
jmp 0x18003d656
lea ebx, [rdi + 1]
xor r9d, r9d
xor r8d, r8d
test edi, edi
je 0x18003d630
lea rcx, [rsp + 0x20]
call fcn.18009ed40
mov r9d, eax
mov r8d, 0xffffffff
xor edx, edx
mov eax, r8d
div ebx
xor edx, edx
mov ecx, eax
mov eax, r9d
div ebx
cmp eax, ecx
jb 0x18003d64f
xor edx, edx
mov eax, r8d
div ebx
cmp edx, edi
jne 0x18003d613
xor edx, edx
mov eax, r9d
div ebx
add edx, esi
cmp edx, ebp
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + rbp]
cmovae eax, ecx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1801098a0
lea r11, [rsp + 0x13c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18004f280
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x1410
call fcn.18010a8d0
sub rsp, rax
mov rax, qword [0x18017e310]
xor rax, rsp
mov qword [rsp + 0x1400], rax
mov qword [rsp + 0x50], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov r8d, WSASetLastError
lea rdx, str._Game_Athena_Playlists_Carmine_MeteorDrop_AthenaSupplyDrop_Meteor_Gauntlet.AthenaSupplyDrop_Meteor_Gauntlet_C
lea rcx, [rsp + 0x50]
call fcn.18003d9f0
nop
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.18008f760
mov rbx, rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18004f31a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f315
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004f315
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180109990
movdqa xmm0, xmmword [0x180165740]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13f4], 0xffffffff
mov dword [rsp + 0x74], eax
mov edx, 1
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x74], eax
inc rdx
cmp rdx, 0x270
jb 0x18004f350
mov dword [rsp + 0x70], 0x270
nop word [rax + rax]
lea rcx, [rsp + 0x70]
call fcn.18009ed40
mov ecx, eax
mov eax, 0x8f748475
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x11
cmp ecx, 0x63dd
jae 0x18004f380
lea rcx, [rsp + 0x70]
call fcn.18009ed40
mov ecx, eax
mov eax, 0xd1b6c173
mul ecx
shr edx, 0x11
cmp edx, 0x68db
jae 0x18004f3a4
lea rcx, [rsp + 0x70]
call fcn.18009ed40
mov ecx, eax
mov eax, 0x8f7041bb
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0xe
cmp ecx, 0x31ee0
jae 0x18004f3c2
movss xmm0, dword [0x1801656a4]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x1801656ac]
movss dword [rsp + 0x34], xmm1
movss xmm0, dword [0x1801656b8]
movss dword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180041710
mov rcx, qword [rsp + 0x1400]
xor rcx, rsp
call fcn.1801098a0
add rsp, 0x1410
pop rbx
ret