joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400715c4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400715da
mov al, 1
jmp 0x140071646
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400715eb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140071644
mov ecx, dword [rcx + 0x18]
nop
call fcn.140003e86
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140071644
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140071644
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140071644
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140071646
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140072f90
Capabilities:
Set environment variable

Disassembly:
jmp 0x140072f90
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000213a
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14007301a
cmp byte [rbp - 0x21], r15b
je 0x140073015
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140073050
call fcn.140003ed6
test eax, eax
jne 0x14007303c
cmp byte [rbp - 0x21], r15b
je 0x140073034
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140073050
cmp byte [rbp - 0x21], r15b
je 0x14007304d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400040a2
test eax, eax
jne 0x1400730f0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000213a
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14007308f
cmp byte [rbp - 0x21], r15b
je 0x1400730c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400730c4
call fcn.140003ed6
test eax, eax
jne 0x1400730b0
cmp byte [rbp - 0x21], r15b
je 0x1400730a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400730c4
cmp byte [rbp - 0x21], r15b
je 0x1400730c1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400040a2
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400730f0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400730f3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140073101
mov rcx, rdi
call fcn.140001163
cmp byte [rbp + 0x3f], r15b
je 0x140073110
mov rcx, qword [rbp + 0x27]
call fcn.140001163
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14007599c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x14009d1c0]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x1400759f2
cmp word [rdx], r9w
jne 0x1400759f2
or byte [rax + rbp*8 + 0x38], 4
jmp 0x1400759f7
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x140075b76
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x140075b41
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x140075a3f
cmp rcx, r8
jae 0x140075a5f
cmp word [rcx], r9w
jne 0x140075a3f
add rax, 4
mov edx, r9d
jmp 0x140075a42
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x140075a14
jmp 0x140075b76
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140075b3a
cmp dword [rsp + 0x80], edi
je 0x140075b3a
lea r9, [0x14009d1c0]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x140075b14
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x140075ac7
mov word [rbx], bp
jmp 0x140075b73
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x140075ae2
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x140075b73
cmp word [rsp + 0x70], bp
jne 0x140075b20
cmp rbx, rsi
je 0x140075abf
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14000174e
cmp word [rsp + 0x70], bp
je 0x140075b76
mov word [rbx], 0xd
jmp 0x140075b73
mov rcx, r15
lea r9, [0x14009d1c0]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140075b70
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140075b76
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180014930
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x18065f280]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rbx, rcx
cmp byte [rcx + 0x19], 0
jne 0x180014a77
cmp qword [rcx + 8], 0xffffffffffffffff
jne 0x180014a70
lea rcx, [rsp + 0x58]
call fcn.18012f140
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1805c9d88]
mulsd xmm0, qword [0x1805ca128]
cvttsd2si rdx, xmm0
imul rax, qword [rsp + 0x58], 0x3e8
movzx ebp, word [rsp + 0x60]
add rax, rdx
add rbp, rax
lea rdi, [rbx + 0x20]
mov qword [rsp + 0x40], rdi
xor r14d, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rbx + 8], 0xffffffffffffffff
jne 0x180014a00
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180017f90
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x40000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp qword [rbx + 8], 0xffffffffffffffff
jne 0x180014a70
movzx eax, byte [rbx + 0x1a]
nop
test al, al
jne 0x180014a69
test esi, esi
js 0x180014a3d
lea rcx, [rsp + 0x48]
call fcn.18012f140
imul rcx, qword [rsp + 0x48], 0x3e8
movzx eax, word [rsp + 0x50]
add rcx, rax
cmp rcx, rbp
jg 0x180014a69
mov rcx, qword [0x180685e38]
test rcx, rcx
jne 0x180014a59
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800149b5
mov edx, 1
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1800149b5
xor al, al
jmp 0x180014b40
mov al, 1
jmp 0x180014b40
cmp byte [rcx + 0x18], 0
jne 0x180014b3c
xor r14d, r14d
mov qword [rsp + 0x58], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x180014b31
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x217
je 0x180014b2d
sub eax, 1
je 0x180014ad6
cmp eax, 0x1cd
jne 0x180014b31
movzx eax, byte [rbx + 0x1a]
nop
test al, al
jne 0x180014b1c
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x50], rax
mov r9d, 0xffffffff
test esi, esi
cmovns r9d, esi
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x180014b1c
mov al, 1
mov byte [rbx + 0x18], al
jmp 0x180014b31
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CancelIo]
xor al, al
mov byte [rbx + 0x18], al
jmp 0x180014b31
mov byte [rbx + 0x18], 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rbx + 0x18]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18011d9a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180014b70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rbp, rdx
mov edi, r9d
mov edx, r9d
mov esi, r8d
mov rbx, rcx
call fcn.180014930
test al, al
je 0x180014cbe
test esi, esi
jle 0x180014d1c
xor r14d, r14d
xorps xmm0, xmm0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov r8d, esi
lea rax, [rsp + 0x48]
mov dword [rsp + 0x30], r14d
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180014d09
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x180014c75
movzx eax, byte [rbx + 0x1a]
nop
test al, al
jne 0x180014cde
mov rax, qword [rsp + 0x60]
lea rdx, [rsp + 0x38]
mov r9d, 0xffffffff
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x10]
test edi, edi
mov ecx, 2
mov qword [rsp + 0x40], rax
cmovns r9d, edi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 8]
test eax, eax
jne 0x180014ce2
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x180014d09
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rbx + 0x19], r14b
je 0x180014cfc
cmp eax, 0x6d
je 0x180014c8d
cmp eax, 0xe9
jne 0x180014cfc
cmp byte [rbx + 0x18], r14b
je 0x180014ca1
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov byte [rbx + 0x18], r14b
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, edi
mov rcx, rbx
call fcn.180014930
test al, al
jne 0x180014bb1
mov eax, 0xffffffff
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov rcx, qword [rsp + 0x60]
mov ebx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x180014cc3
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180014cbe
mov rcx, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x180014cc3
xor eax, eax
jmp 0x180014cc3
Function at 0x180015ba0
Capabilities:
Send data

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
mov r14, rcx
mov rdi, qword [rcx]
xor ebp, ebp
mov rdx, qword [rcx + 8]
mov r9d, 8
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov rsi, qword [rax]
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x180015c55
mov eax, dword [rdi + 0x80]
mov qword [rsp + 0x58], rbx
mov ebx, ebp
test eax, eax
jle 0x180015c50
nop dword [rax]
sub eax, ebx
mov dword [rsp + 0x50], ebp
mov r8d, 0x400
cmp eax, r8d
cmovl r8d, eax
test r8d, r8d
je 0x180015c50
mov rcx, qword [rdi + 0x68]
lea r9, [rsp + 0x50]
movsxd rdx, ebx
add rdx, qword [rdi + 0x78]
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x180015c50
add ebx, dword [rsp + 0x50]
test rsi, rsi
je 0x180015c46
mov rax, qword [rsi]
mov r8d, ebx
mov r9d, dword [rdi + 0x80]
mov rcx, rsi
mov rdx, qword [rdi + 8]
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
je 0x180015c50
mov eax, dword [rdi + 0x80]
cmp ebx, eax
jl 0x180015bf0
mov rbx, qword [rsp + 0x58]
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x68]
call qword [sym.imp.WININET.dll_HttpEndRequestW]
mov rbp, qword [rsp + 0x60]
test eax, eax
setne al
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x180015e20
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov esi, r8d
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
mov qword [rcx], r15
mov dword [rcx + 8], 1
mov r9d, 0x2f
mov r8d, 0x5c
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.18017b960
mov rcx, qword [r14]
mov rdx, qword [rax]
mov qword [r14], rdx
mov qword [rax], rcx
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
lea rbp, [0x180660020]
mov edi, 0xffffffff
cmp rcx, rbp
je 0x180015e9b
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, edi
jne 0x180015e9b
call fcn.18011d9c0
lea rdx, str.Global_
lea rcx, [rsp + 0x50]
call fcn.18001d070
nop
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1801936e0
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, rbp
je 0x180015ece
lock inc dword [rcx]
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
cmp rcx, rbp
je 0x180015eef
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180015eef
call fcn.18011d9c0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.180017f90
mov r8, qword [rax]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
mov rcx, qword [rsp + 0x68]
add rcx, 0xfffffffffffffff0
cmp rcx, rbp
je 0x180015f31
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180015f31
call fcn.18011d9c0
cmp qword [rbx], 0
jne 0x180015fd7
lea rdx, str.Local_
lea rcx, [rsp + 0x50]
call fcn.18001d070
nop
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1801936e0
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, rbp
je 0x180015f6e
lock inc dword [rcx]
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
cmp rcx, rbp
je 0x180015f8f
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180015f8f
call fcn.18011d9c0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.180017f90
mov r8, qword [rax]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
mov rcx, qword [rsp + 0x68]
add rcx, 0xfffffffffffffff0
cmp rcx, rbp
je 0x180015fd1
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180015fd1
call fcn.18011d9c0
cmp qword [rbx], 0
je 0x18001601c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18001601c
mov rcx, qword [rbx]
test esi, esi
je 0x180016005
mov eax, 0xffffffff
cmovs esi, eax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x18001601c
mov rcx, qword [rbx]
test rcx, rcx
je 0x18001601c
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
mov rcx, qword [r14]
sub rcx, 0x10
cmp rcx, rbp
je 0x180016038
lock xadd dword [rcx], edi
dec edi
cmp edi, 0xffffffff
jne 0x180016038
call fcn.18011d9c0
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x180016150
Capabilities:
Check if file exists

Disassembly:
add rcx, 8
jmp fcn.18018dce0
Function at 0x180016350
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, rdx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rbx, [rcx + 8]
mov ecx, 0x48
call fcn.18011dae8
mov qword [rsp + 0x58], rax
mov r8d, 0x8000
mov rdx, rbx
mov rcx, rax
call fcn.18018a3a0
mov rbx, rax
mov rcx, qword [rax + 0x20]
mov dword [rsp + 0x20], 6
cmp byte [rcx], sil
jne 0x1800163ad
mov qword [rsp + 0x58], rax
mov rsi, rax
jmp 0x1800163c2
mov qword [rsp + 0x58], rsi
mov rax, qword [rax]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, rsi
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, 0xffffffff
cmp qword [rbx + 0x18], 0
jne 0x1800163fb
mov rbx, qword [rsi + 0x20]
lea rax, [rbx - 0x10]
lea rsi, [0x180660020]
cmp rax, rsi
je 0x1800164aa
lock inc dword [rax]
jmp 0x1800164aa
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea rsi, [0x180660030]
test eax, eax
je 0x18001642f
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x50]
mov ecx, SafeArrayGetElement
mov rbx, rsi
jmp 0x180016441
lea rcx, [rsp + 0x60]
call fcn.1801615b0
mov ecx, 0x26
mov rbx, qword [rax]
mov qword [rax], rsi
or ecx, 8
mov dword [rsp + 0x20], ecx
lea rsi, [0x180660020]
test cl, 0x20
je 0x180016485
and ecx, 0xffffffdf
mov dword [rsp + 0x20], ecx
mov rdx, qword [rsp + 0x60]
add rdx, 0xfffffffffffffff0
cmp rdx, rsi
je 0x180016485
mov eax, edi
lock xadd dword [rdx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180016481
mov rcx, rdx
call fcn.18011d9c0
mov ecx, dword [rsp + 0x20]
test cl, 0x10
je 0x1800164aa
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x1800164aa
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800164aa
call fcn.18011d9c0
lea rcx, [rbx - 0x10]
cmp rcx, rsi
je 0x1800164c3
lock xadd dword [rcx], edi
dec edi
cmp edi, 0xffffffff
jne 0x1800164c3
call fcn.18011d9c0
mov rax, qword [rsp + 0x58]
mov qword [r14], rax
mov rax, r14
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x18002ad10
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov r11, rcx
movzx r10d, r8b
mov rsi, rdx
mov edi, r8d
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r10, rax
mov eax, r8d
imul r10, rdx
shr eax, 8
movzx r9d, al
mov eax, r8d
xor r10, r9
shr eax, 0x10
imul r10, rdx
movzx ecx, al
xor r10, rcx
mov eax, r8d
mov rcx, qword [rsi + 0x30]
xor r8d, r8d
imul r10, rdx
shr rax, 0x18
xor r10, rax
imul r10, rdx
mov rdx, qword [rsi + 8]
and rcx, r10
shl rcx, 4
add rcx, qword [rsi + 0x18]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x18002ada5
mov rcx, qword [rcx]
cmp edi, dword [rax + 0x10]
je 0x18002ada8
cmp rax, rcx
je 0x18002ada5
mov rax, qword [rax + 8]
cmp edi, dword [rax + 0x10]
jne 0x18002ad95
jmp 0x18002ada8
mov rax, r8
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x18002adbe
mov eax, dword [rax + 0x14]
add rsp, 0x48
pop rdi
pop rsi
ret
mov word [rsp + 0x6a], r8w
lea r9, [rsp + 0x70]
mov word [rsp + 0x70], r8w
lea rdx, [rsp + 0x68]
mov r8d, 1
mov word [rsp + 0x68], di
mov rcx, r11
mov dword [rsp + 0x20], 1
call qword [sym.imp.GDI32.dll_GetGlyphIndicesW]
cmp eax, 0xffffffff
je 0x18002ae38
movzx eax, word [rsp + 0x70]
mov ecx, 0xffff
cmp ax, cx
je 0x18002ae38
mov qword [rsp + 0x40], rbx
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x78], edi
mov rcx, rsi
mov ebx, eax
call fcn.1800342f0
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
movzx eax, word [rsp + 0x70]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
pop rdi
pop rsi
ret
mov eax, 0xffffffff
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x18002aeb0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r11d, r9d
mov rsi, rcx
movabs r15, 0x100000001b3
mov ebx, r8d
shl rbx, 0x20
movabs r12, 0xcbf29ce484222325
or r11, rbx
mov ebp, r8d
mov rdi, qword [rsi + 0xf8]
mov rax, r11
mov r10, qword [rsi + 0xe0]
mov r14, rdx
shr rax, 8
mov rdx, rdi
movzx ecx, al
mov rax, r11
shr rax, 0x10
movzx r9d, r11b
xor r9, r12
imul r9, r15
xor r9, rcx
movzx ecx, al
imul r9, r15
mov rax, r11
xor r9, rcx
shr rax, 0x18
imul r9, r15
movzx ecx, al
xor r9, rcx
movzx eax, r8b
imul r9, r15
xor r9, rax
mov rax, r11
imul r9, r15
shr rax, 0x28
movzx ecx, al
mov rax, r11
xor r9, rcx
shr rax, 0x30
imul r9, r15
movzx ecx, al
mov rax, r11
xor r9, rcx
shr rax, 0x38
imul r9, r15
xor ecx, ecx
xor r9, rax
imul r9, r15
and rdx, r9
mov r9, qword [rsi + 0xd0]
add rdx, rdx
mov rax, qword [r10 + rdx*8 + 8]
cmp rax, r9
je 0x18002afb1
mov rdx, qword [r10 + rdx*8]
cmp r11, qword [rax + 0x10]
je 0x18002afb4
nop dword [rax]
cmp rax, rdx
je 0x18002afb1
mov rax, qword [rax + 8]
cmp r11, qword [rax + 0x10]
jne 0x18002afa0
jmp 0x18002afb4
mov rax, rcx
test rax, rax
cmove rax, r9
cmp rax, r9
je 0x18002afca
movss xmm0, dword [rax + 0x18]
jmp 0x18002b0e2
mov eax, 0xffffffff
or rbx, rax
mov rax, rbx
shr rax, 8
movzx r8d, al
movzx eax, bl
xor rax, r12
imul rax, r15
xor r8, rax
mov rax, rbx
imul r8, r15
shr rax, 0x10
movzx edx, al
mov rax, rbx
xor r8, rdx
shr rax, 0x18
imul r8, r15
movzx edx, al
mov rax, rbx
xor r8, rdx
shr rax, 0x20
imul r8, r15
movzx edx, al
mov rax, rbx
xor r8, rdx
shr rax, 0x28
imul r8, r15
movzx edx, al
mov rax, rbx
xor r8, rdx
shr rax, 0x30
imul r8, r15
movzx edx, al
mov rax, rbx
xor r8, rdx
shr rax, 0x38
imul r8, r15
xor r8, rax
imul r8, r15
and rdi, r8
add rdi, rdi
mov rax, qword [r10 + rdi*8 + 8]
cmp rax, r9
je 0x18002b082
mov rdx, qword [r10 + rdi*8]
cmp rbx, qword [rax + 0x10]
je 0x18002b07f
nop dword [rax + rax]
cmp rax, rdx
je 0x18002b082
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x18002b070
mov rcx, rax
test rcx, rcx
cmove rcx, r9
cmp rcx, r9
je 0x18002b095
movss xmm0, dword [rcx + 0x18]
jmp 0x18002b0e2
mov edx, ebp
movaps xmmword [rsp + 0x30], xmm6
mov rcx, r14
call fcn.18002ae50
movd xmm1, dword [rsi + 0x70]
lea rcx, [rsi + 0xc8]
cvtdq2ps xmm1, xmm1
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x20]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
divss xmm6, xmm1
call fcn.180034530
mov rcx, qword [rax]
movss dword [rcx + 0x18], xmm6
movaps xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret