joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a6cc
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push r12
push r14
sub rsp, 0x450
mov rax, qword [0x0040f278]
mov qword [rsp + 0x440], rax
mov rsi, rcx
mov rcx, qword [rcx]
mov r12, rdx
lea rdx, [0x0040c918]
call sub.msvcrt.dll__wfopen
test rax, rax
mov rbx, rax
jne 0x40a737
mov rcx, qword [rsi]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x0040f008]
je 0x40a730
lea eax, [rbx - 1]
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x40a730
mov rcx, qword [rsi]
sub rcx, 0xc
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
jmp 0x40a874
mov r14d, 1
lea rcx, [rsp + 0x20]
mov r9, rax
lea edx, [r14 + 1]
mov r8, r14
mov word [rsp + 0x20], 0
call sub.msvcrt.dll_fread
mov rcx, rbx
call sub.msvcrt.dll_fclose
mov rcx, qword [rsi]
xor ebx, ebx
cmp word [rsp + 0x20], 0xfeff
lea rdx, [0x0040c918]
cmove ebx, r14d
call sub.msvcrt.dll__wfopen
test ebx, ebx
mov rbp, rax
je 0x40a797
lea edx, [r14 + 1]
lea rcx, [rsp + 0x20]
mov r9, rax
mov r8, r14
call sub.msvcrt.dll_fread
mov edx, 0x400
mov rcx, r12
call fcn.004017ec
jmp 0x40a81a
cmp word [rsp + 0x20], 0xfeff
cdqe
mov byte [rsp + rax + 0x30], 0
jne 0x40a7d7
lea rcx, [rsp + 0x30]
mov byte [rsp + rax + 0x31], 0
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [rsp + 0x30]
mov rcx, r12
mov edx, eax
call fcn.00401730
jmp 0x40a81a
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.004026e4
mov rbx, qword [rsp + 0x28]
mov rcx, r12
mov edx, dword [rbx - 8]
mov r8, rbx
call fcn.00401730
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x0040f008]
je 0x40a81a
mov eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x40a81a
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea rcx, [rsp + 0x30]
mov r9, rbp
mov r8d, 0x400
mov rdx, r14
mov byte [rsp + 0x30], 0
call sub.msvcrt.dll_fread
test eax, eax
jne 0x40a7a6
mov rcx, rbp
call sub.msvcrt.dll_fclose
mov r11, qword [rsi]
add r11, 0xfffffffffffffff4
cmp r11, qword [0x0040f008]
je 0x40a871
mov ecx, 0xffffffff
lock xadd dword [r11], ecx
dec ecx
test ecx, ecx
jg 0x40a871
mov rcx, qword [rsi]
sub rcx, 0xc
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov eax, r14d
mov rcx, qword [rsp + 0x440]
call fcn.0040b190
add rsp, 0x450
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret
Function at 0x40a950
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
lea rsi, [0x005b7670]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [0x005b7768]
lea rdx, [rsp + 0x70]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x40a9d1
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov r11, qword [0x005b7768]
jmp 0x40a9ed
mov r11, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
add rax, 8
mov qword [0x005b7768], r11
mov qword [0x005b7708], rax
mov rax, qword [0x0040f278]
mov qword [0x005b75e0], r11
mov qword [0x005b76f0], rdi
mov dword [0x005b75d0], 0xc0000409
mov dword [0x005b75d4], 1
mov qword [rsp + 0x50], rax
mov rax, qword [0x0040f270]
xor ecx, ecx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0040ce30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
add rsp, 0x68
ret
cmp rcx, qword [0x0040f278]
jne 0x40b1a9
rol rcx, 0x10
test cx, 0xffff
jne 0x40b1a5
ret
ror rcx, 0x10
jmp 0x40a950
Function at 0x40ad80
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
cmp word [0x00400000], 0x5a4d
je 0x40adbd
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x00400000]
jmp 0x40ae4b
movsxd rax, dword [0x0040003c]
lea rdi, [0x00400000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x40ade1
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x40ae4b
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x40ae28
cmp ecx, 0x20b
je 0x40ae00
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x40ae4b
cmp dword [rax + 0x84], 0xe
ja 0x40ae14
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x40ae4b
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x40ae4b
cmp dword [rax + 0x74], 0xe
ja 0x40ae39
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x40ae4b
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x005b7b50], 0xffffffffffffffff
mov qword [0x005b7b58], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x005b7b4c]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x005b7b48]
mov dword [rcx], eax
call fcn.0040b160
cmp dword [0x0040f284], 0
jne 0x40aea5
lea rcx, [0x0040b150]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x0040c550]
lea rcx, [0x0040c548]
call fcn.00650000
mov r11d, dword [0x005b7b44]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x005b7b40]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x0040c540]
lea rcx, [0x0040c518]
call sub.msvcrt.dll__initterm
mov r11, qword [sym.imp.msvcrt.dll__acmdln]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x40af46
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x40af36
cmp al, 0x22
je 0x40af36
jmp 0x40af20
cmp byte [r8], 0x22
jne 0x40af56
inc r8
mov qword [rsp + 0x30], r8
jmp 0x40af56
cmp byte [r8], 0x20
jbe 0x40af56
inc r8
mov qword [rsp + 0x30], r8
jmp 0x40af46
movzx eax, byte [r8]
test al, al
je 0x40af6c
cmp al, 0x20
ja 0x40af6c
inc r8
mov qword [rsp + 0x30], r8
jmp 0x40af56
test byte [rsp + 0x8c], 1
je 0x40af81
movzx r9d, word [rsp + 0x90]
jmp 0x40af87
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.00408778
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x40afa3
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x40afc7
mov eax, edi
jmp 0x40afd0
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x180005660
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 0x1800056bd
lea rbx, [0x18029b580]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800056a4
cmp r10, 2
jb 0x1800056a4
cmp byte [r9], r8b
jne 0x1800056a4
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 0x180005680
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800056ff
lea rbx, [0x18029b580]
cmp r8b, 0x23
jne 0x1800056e3
cmp byte [r9], r8b
jne 0x1800056e3
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 0x1800056d0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180012f50
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x18029b580]
mov rax, qword [rcx + 0x110]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
sar eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x405c], ebx
jne 0x180012fe8
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18001d4e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180012ff0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x18029b580]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x108]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x180016d20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1802ec4c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180343a38]
mov edi, ecx
cmp byte [rbx + 0x4d3d], 0
jne 0x180016d81
cmp byte [rbx + 0x4d3e], 0
jne 0x180016d81
movsx r9d, word [rbx + 0x5eb0]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180005470
test dil, 2
je 0x180016eaf
jmp 0x180016e0c
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb0]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1802b839c]
mov edx, 0x10
mulss xmm1, dword [0x1802b8378]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a30], rax
mov dword [rbx + 0x4a1c], 1
movss dword [rbx + 0x4a28], xmm0
movss dword [rbx + 0x4a2c], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1802b81ac]
or dword [rbx + 0x4a18], 0x41
movss dword [rbx + 0x4a78], xmm0
call fcn.180005470
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180016e60
lea r11, [0x18029b580]
nop dword [rax]
cmp r9b, 0x23
jne 0x180016e43
cmp byte [r8], r9b
jne 0x180016e43
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 0x180016e30
not ecx
call fcn.18000cdc0
test rax, rax
je 0x180016eaf
cmp byte [rax + 0xca], 0
je 0x180016eaf
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x5eb0]
movsx r9d, word [rbx + 0x5eb0]
call fcn.180005470
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.18000f9c0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18020e120
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001c090
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180343a38]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001c0f3
mov qword [rsp], rbx
lea rbx, [0x18029b580]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001c0d3
cmp byte [r8], r9b
jne 0x18001c0d3
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 0x18001c0c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f78]
not eax
mov r8, qword [r10 + 0x5f80]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18001c11f
cmp dword [r8 + 8], eax
je 0x18001c126
add r8, 0x48
cmp r8, rcx
jne 0x18001c110
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret

Function at 0x18001c130
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
lea rdx, [0x18029ab84]
call fcn.180005710
mov rbx, rax
test rax, rax
je 0x18001c2ac
mov qword [rsp + 0x30], rsi
mov rcx, rax
mov qword [rsp + 0x38], rdi
call fcn.180219188
mov esi, eax
cmp eax, 0xffffffff
je 0x18001c29a
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.180219528
test eax, eax
jne 0x18001c29a
mov rcx, rbx
call fcn.180219188
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001c29a
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.180219528
test eax, eax
jne 0x18001c29a
cmp rdi, 0xffffffffffffffff
je 0x18001c29a
mov rcx, rdi
call fcn.180009b30
mov rsi, rax
test rax, rax
je 0x18001c29a
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.180219824
mov rcx, rbx
cmp rax, rdi
je 0x18001c201
call fcn.180218ac8
mov rcx, rsi
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.180009bd0
call fcn.180218ac8
test rdi, rdi
je 0x18001c216
mov rdx, rdi
mov rcx, rsi
call fcn.18001c2c0
mov r8, qword [0x180343a38]
test r8, r8
je 0x18001c283
movsx rdx, word [r8 + 0x60e8]
lea rcx, [r8 + 0x60ec]
mov r9d, dword [r8 + 0x3f68]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x18001c278
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ec]
lea rcx, [rcx + rax*8]
xor eax, eax
mov dword [rcx], r9d
mov dword [rcx + 4], eax
inc word [rcx + 6]
inc dword [r8 + 0x60e4]
mov rcx, rsi
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.180215358
mov rcx, rbx
call fcn.180218ac8
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x18002b7b0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180343a38]
test rax, rax
je 0x18002b7cb
mov rbx, qword [rax + 0x90]
jmp 0x18002b7cd
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x18002b7f8
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800304c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x180343a38]
mov r10, rcx
mov r9, qword [rcx + 0x188]
movsxd rax, edx
imul rbx, rax, 0x70
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x74], edx
test dword [rbx], 0x10000
movss xmm2, dword [rbx + 0x34]
je 0x180030503
addss xmm2, dword [rcx + 0x90]
movaps xmm0, xmm2
lea rsi, [r9 + 0x118]
subss xmm0, dword [r9 + 0x28]
movss dword [rsi], xmm2
movss xmm1, dword [rcx + 0x88]
addss xmm1, dword [rcx + 0x7c]
movss dword [r9 + 0x130], xmm2
subss xmm0, dword [r9 + 0x15c]
movss dword [r9 + 0x120], xmm2
movss dword [r9 + 0x11c], xmm1
movss dword [r9 + 0x160], xmm0
mov eax, dword [rcx + 0x8c]
mov dword [r9 + 0x150], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r9 + 0x170], eax
movss dword [r9 + 0x234], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x230], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x238], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1d8], eax
movzx eax, byte [rbx + 0x68]
mov byte [r9 + 0xcf], al
cmp byte [rbx + 0x68], 0
je 0x1800305af
xor eax, eax
mov dword [rdi + 0x49c8], eax
mov dword [rdi + 0x49d0], eax
test dword [rcx + 4], 0x100000
je 0x1800305c0
mov r8d, 2
jmp 0x18003063a
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x2b0]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x250], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x60], xmm4
movss dword [rax + 0x64], xmm3
movss dword [rax + 0x68], xmm2
movss dword [rax + 0x6c], xmm1
mov rax, qword [r9 + 0x2b0]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x98]
mov rcx, qword [rax + 0xa0]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, word [rbx + 0x5c]
mov rdx, qword [r9 + 0x2b0]
mov rcx, qword [r10 + 0x1a0]
call fcn.180022e60
cmp byte [rdi + 0x6000], 0
je 0x180030678
cmp byte [rbx + 0x68], 0
jne 0x180030678
xor r8d, r8d
lea rdx, [0x18029ffac]
mov rcx, rsi
call fcn.18001bcc0
mov dword [rdi + 0x6030], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180032ee0
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rdi, qword [0x180343a38]
xor eax, eax
mov dword [rsp + 0x20], ecx
mov ebp, ecx
mov dword [rsp + 0x24], eax
xorps xmm0, xmm0
mov dword [rsp + 0x54], eax
mov rdx, qword [rdi + 0x4010]
mov r14d, dword [rdi + 0x3f68]
movsxd rsi, dword [rdi + 0x4b00]
movdqu xmmword [rsp + 0x44], xmm0
movsxd rcx, dword [rdx + 0x108]
mov dword [rsp + 0x38], 0xffffffff
mov qword [r11 - 0x50], rax
mov rax, qword [rdi + 0x4b30]
mov qword [r11 - 0x48], rax
mov rax, qword [rdx + 0x110]
mov dword [r11 - 0x3c], r14d
mov ecx, dword [rax + rcx*4 - 4]
mov dword [rsp + 0x40], ecx
lea rcx, [r11 + 0x18]
call fcn.180018bc0
movss xmm1, dword [0x1802b84e4]
movss xmm2, dword [rdi + 0xfc]
movsd xmm0, qword [rax]
lea rax, [rdi + 0xf8]
movsd qword [rsp + 0x44], xmm0
movss xmm0, dword [rdi + 0xf8]
comiss xmm0, xmm1
jb 0x1800170d5
comiss xmm2, xmm1
jae 0x1800170da
lea rax, [rsp + 0x44]
test byte [rdi + 0x6044], 4
movss xmm0, dword [rax]
movss dword [rsp + 0x4c], xmm0
movss xmm1, dword [rax + 4]
movss dword [rsp + 0x50], xmm1
je 0x180017106
mov edx, ebp
lea rcx, str._popup__OpenPopupEx_0x_08X__n
call fcn.18001d060
lea rbx, [rdi + 0x4af0]
mov r8d, dword [rbx]
lea eax, [rsi + 1]
cmp r8d, eax
jl 0x180017149
mov rdx, qword [rdi + 0x4af8]
imul rcx, rsi, 0x38
cmp dword [rcx + rdx], ebp
jne 0x18001713d
mov eax, dword [rdi + 0x3f68]
dec eax
cmp dword [rcx + rdx + 0x1c], eax
jne 0x18001713d
mov dword [rcx + rdx + 0x1c], r14d
jmp 0x1800171b0
mov dl, 1
mov ecx, esi
call fcn.1800172d0
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x18001717a
inc r8d
test ecx, ecx
je 0x180017163
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180017168
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18001e3f0
movsxd rax, dword [rbx]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx + rax + 0x10], xmm1
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rcx + rax + 0x20], xmm0
movsd qword [rcx + rax + 0x30], xmm1
inc dword [rbx]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rax, qword [0x180343a38]
mov rdx, qword [rax + 0x4e08]
cmp ecx, 0xffffffff
jne 0x180032efa
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x180032f77
mov r10d, dword [rdx]
lea r8, [0x18029ffb1]
movzx eax, word [rdx + 0x78]
lea r11, [0x18029b580]
not r10d
mov word [rdx + 0x224], cx
mov ecx, r10d
mov byte [rdx + 0x23b], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x180032f53
cmp byte [r8], r9b
jne 0x180032f53
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 0x180032f40
not ecx
jmp 0x180017020
ret
Function at 0x18003f470
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x18003f494
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x18003f522
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18003f4f0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x18003f4f0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.180244e70
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18003f50d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18003f515
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x18003f4b1
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x18003f600
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x18003f539
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18003f53b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18003f56d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.180244e70
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18003f5fd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18003f5a8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x18003f5de
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.180219824
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x18003f5fd
cmp rsi, rax
ja 0x18003f5b1
test rsi, rsi
je 0x18003f5fd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180219824
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x180043da0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 0xf
mov rbx, rdx
mov r11, qword [r8 + 0x10]
mov rdx, r8
mov rdi, rcx
jbe 0x180043dc1
mov rdx, qword [r8]
xor r10d, r10d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x180043df4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r10]
inc r10
xor r9, rax
imul r9, rcx
cmp r10, r11
jb 0x180043de0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.18004b0e0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180043e1b
mov qword [rbx], rcx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rdi + 8]
mov qword [rbx], rax
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret