joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f0f30
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, qword [rcx]
mov rdi, qword [rcx + 8]
mov eax, dword [0x1402721f8]
mov ecx, dword [0x14026ee18]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f0fc4
mov rax, qword [0x1402721f0]
test rax, rax
je 0x1400f0f8b
mov rcx, rsi
mov rdx, rdi
call qword [0x1402529a0]
test eax, eax
je 0x1400f1011
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
test rdi, rdi
je 0x1400f0f81
mov r14d, 0xffffffff
nop word cs:[rax + rax]
cmp rdi, r14
mov ebx, 0xffffffff
cmovb rbx, rdi
mov rcx, rsi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400f100e
add rsi, rbx
sub rdi, rbx
jne 0x1400f0fa0
jmp 0x1400f0f81
lea rcx, [0x1402721f8]
call fcn.1401467a0
cmp dword [0x1402721f8], 0xffffffff
jne 0x1400f0f61
lea rcx, str.bcryptprimitives.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.ProcessPrng
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402721f0], rax
lea rcx, [0x1402721f8]
call fcn.140146740
jmp 0x1400f0f61
int3
int3

Function at 0x1400f1190
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140272140]
mov ecx, dword [0x14026ee18]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f11f4
mov rax, qword [0x140272138]
mov rsi, qword [rax + 0x58]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140149190
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140272140]
call fcn.1401467a0
cmp dword [0x140272140], 0xffffffff
jne 0x1400f11cc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14014b2c0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x88
call fcn.140146648
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140272188]
mov ecx, dword [0x14026ee18]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f12b4
lea r8, [0x140272158]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14003b5e0
mov qword [0x140272138], rsi
lea rcx, [0x140272140]
call fcn.140146740
jmp 0x1400f11cc
lea rcx, [0x140272188]
call fcn.1401467a0
cmp dword [0x140272188], 0xffffffff
jne 0x1400f1285
xorps xmm0, xmm0
movups xmmword [0x140272178], xmm0
movups xmmword [0x140272168], xmm0
movups xmmword [0x140272158], xmm0
lea rcx, [0x140272158]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140272188]
call fcn.140146740
jmp 0x1400f1285
Function at 0x1400fbd60
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x1400fbe62
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400fbdf0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400fbdc7
mov qword [rsi], rdi
call fcn.1400bbc10
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x1400fbe66
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400bbc10
mov r14, qword [rsi]
cmp qword [0x1402723f8], 0
je 0x1400fbe21
mov rcx, qword [0x1402723f8]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402529a0]
mov qword [rsi], 0
jmp 0x1400fbdb5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1402437e7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400fbe69
lea rcx, [sym.GptBrowser.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400fbe5c
call qword [0x1402529a0]
mov rcx, rax
xor edx, edx
call fcn.140049fa0
jmp 0x1400fbe02
xor ecx, ecx
mov dl, 1
jmp 0x1400fbe55
mov byte [rsi + 8], 0
int3
xor ecx, ecx
jmp 0x1400fbe53
Function at 0x1400fd130
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x140272428]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x1400fd165
jnp 0x1400fd189
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140149190
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140272438]
mov ecx, dword [0x14026ee18]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400fd29e
mov eax, dword [0x140272448]
mov ecx, dword [0x14026ee18]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400fd2d8
rdtsc
mov rdi, rax
mov rbx, rdx
xor r15d, r15d
lea r14, [rsp + 0x20]
mov qword [r14], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r12, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r14], r15
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r12, qword [0x140272440]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x140232758]
ucomisd xmm1, xmm0
ja 0x1400fd165
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x140272430]
movq xmm6, rdi
punpckldq xmm6, xmmword [0x140232760]
subpd xmm6, xmmword [0x140232770]
haddpd xmm6, xmm6
divsd xmm6, xmm0
movsd qword [0x140272428], xmm6
jmp 0x1400fd165
lea rcx, [0x140272438]
call fcn.1401467a0
cmp dword [0x140272438], 0xffffffff
jne 0x1400fd1d2
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140272430], rdx
lea rcx, [0x140272438]
call fcn.140146740
jmp 0x1400fd1d2
lea rcx, [0x140272448]
call fcn.1401467a0
cmp dword [0x140272448], 0xffffffff
jne 0x1400fd1f7
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x140272440], rax
lea rcx, [0x140272448]
call fcn.140146740
jmp 0x1400fd1f7
Function at 0x140100750
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [0x14022cb50]
movaps xmmword [rsp + 0x40], xmm0
mov eax, dword [0x1402721f8]
mov ecx, dword [0x14026ee18]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140100842
mov rax, qword [0x1402721f0]
lea rcx, [rsp + 0x40]
test rax, rax
je 0x140100831
mov edx, 0x10
call qword [0x1402529a0]
test eax, eax
je 0x140100890
mov r8, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
movabs rcx, 0xffffffffffff
and rcx, rax
shr rax, 0x30
and eax, 0x3fff
or eax, 0x8000
mov edx, r8d
and edx, 0xfff
or edx, 0x4000
mov r9d, r8d
shr r9d, 0x10
shr r8, 0x20
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], edx
mov dword [rsp + 0x28], eax
lea rdx, str._08x__04x__04x__04x__012llx
mov rcx, rsi
call fcn.1400effe0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140149190
mov rax, rsi
add rsp, 0x60
pop rsi
ret
mov edx, 0x10
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x1401007c0
int3
lea rcx, [0x1402721f8]
call fcn.1401467a0
cmp dword [0x1402721f8], 0xffffffff
jne 0x140100798
lea rcx, str.bcryptprimitives.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.ProcessPrng
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402721f0], rax
lea rcx, [0x1402721f8]
call fcn.140146740
jmp 0x140100798
int3
Function at 0x14010c350
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14022cb50]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.1400d3160
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14010c930
test esi, esi
js 0x14010c426
lea r9, [rsp + 0x30]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14010c432
mov esi, dword [rsp + 0x30]
test esi, esi
js 0x14010c42d
lea rcx, [rsp + 0x50]
call fcn.14010c450
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140149190
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14010c3fb
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14010c3fb
Function at 0x140123c50
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x140123c7c
call fcn.1400bbc10
mov qword [rsi], 0
test r15, r15
je 0x140123cb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140123d00
cmp r12, 2
jb 0x140123caa
mov qword [rsi], r15
call fcn.1400bbc10
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
jns 0x140123cec
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
call fcn.14012cf50
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [rdi + 8]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x140123cc9
call fcn.1400bbc10
mov r14, qword [rsi]
cmp qword [0x1402723f8], 0
je 0x140123d34
mov rcx, qword [0x1402723f8]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402529a0]
mov qword [rsi], 0
jmp 0x140123c9c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1402437e7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140123d75
lea rcx, [sym.GptBrowser.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140123d6f
call qword [0x1402529a0]
mov rcx, rax
xor edx, edx
call fcn.140049fa0
jmp 0x140123d12
xor ecx, ecx
mov dl, 1
jmp 0x140123d68
xor ecx, ecx
jmp 0x140123d66
Function at 0x140130540
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jae 0x1401306bf
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x140232f40]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x140130622
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x1401305f8
pmovzxdq xmm1, qword [0x140232f40]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x140232f30], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140232f20]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x1401306e0
jmp 0x140130592
Function at 0x1401314b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
test r8, r8
je 0x1401315ca
mov rcx, qword [rcx + 8]
movsxd r9, dword [rcx + 0x3c]
cmp dword [rcx + r9 + 0x84], 0
je 0x1401315ca
add r9, rcx
xor eax, eax
cmp word [r9 + 0x14], 0x78
jb 0x1401315c3
add r9, 0x88
je 0x1401315c3
mov eax, dword [r9]
test rax, rax
je 0x1401315ca
add rax, rcx
je 0x1401315ca
cmp rdx, 0xffff
jbe 0x1401315bd
mov r10d, dword [rax + 0x20]
lea r9, [rcx + r10]
test r10, r10
cmove r9, r10
mov r10d, dword [rax + 0x18]
lea r10, [r9 + r10*4]
lea r11, [rdx + 1]
mov rsi, r9
jmp 0x140131556
xor ebp, ebp
lea rdi, [rsi + rdi*2]
movzx ebp, bpl
movzx ebx, byte [rbx]
lea r14, [rdi + 4]
cmp ebp, ebx
cmovg rsi, r14
cmovs r10, rdi
cmp bpl, bl
je 0x1401315a2
cmp rsi, r10
je 0x1401315ca
mov rdi, r10
sub rdi, rsi
mov rbx, rdi
sar rbx, 2
shr rdi, 0x3f
add rdi, rbx
and rdi, 0xfffffffffffffffe
mov r14d, dword [rsi + rdi*2]
lea rbx, [rcx + r14]
test r14, r14
cmove rbx, r14
mov bpl, byte [rdx]
test bpl, bpl
je 0x140131536
mov r14, r11
cmp bpl, byte [rbx]
jne 0x140131538
inc rbx
mov bpl, byte [r14]
inc r14
test bpl, bpl
jne 0x14013158d
jmp 0x140131536
mov edx, dword [rax + 0x24]
add rcx, rdx
test rdx, rdx
cmove rcx, rdx
sub rdi, r9
sar rdi, 1
movzx edx, word [rcx + rdi]
add dx, word [rax + 0x10]
mov word [r8], dx
mov al, 1
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x1401315c3
Function at 0x140139420
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x14013949d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14013946c
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14013945a
mov qword [rdi], rsi
call fcn.1400bbc10
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1400bbc10
mov r14, qword [rdi]
cmp qword [0x1402723f8], 0
je 0x1401394a7
mov rcx, qword [0x1402723f8]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402529a0]
mov qword [rdi], 0
jmp 0x140139448
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1402437e7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401394e8
lea rcx, [sym.GptBrowser.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1401394e2
call qword [0x1402529a0]
mov rcx, rax
xor edx, edx
call fcn.140049fa0
jmp 0x14013947e
xor ecx, ecx
mov dl, 1
jmp 0x1401394db
xor ecx, ecx
jmp 0x1401394d9
Function at 0x14013e040
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movaps xmm0, xmmword [0x14022cb50]
lea r15, [rsp + 0x30]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x14023d007]
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x290]
mov rcx, r14
mov r9d, 0x1da
call fcn.1400d3160
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.1400bc840
mov qword [rsp + 0x70], 0xb
mov al, byte [0x140271fcb]
test al, al
jne 0x14013e218
lea rcx, [rsp + 0x290]
mov r8d, 0x208
mov dl, 0xaa
call fcn.14014b2c0
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x14013e0f2
mov rax, qword [rbx]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x290], dx
test dx, dx
je 0x14013e11b
inc rcx
cmp rcx, 0x104
jne 0x14013e0f4
mov word [rsp + 0x496], 0
lea rcx, [rsp + 0x290]
call fcn.1400d1520
lea rcx, [rsp + 0x80]
mov r8d, 0x208
mov dl, 0xaa
call fcn.14014b2c0
cmp byte [rdi + 0x17], 0
mov rax, rdi
jns 0x14013e149
mov rax, qword [rdi]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x80], dx
test dx, dx
je 0x14013e172
inc rcx
cmp rcx, 0x104
jne 0x14013e14b
mov word [rsp + 0x286], 0
lea rcx, [rsp + 0x80]
call fcn.1400d1520
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14013e18b
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14013e197
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x14013e1e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14013e1c3
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14013e1cc
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x14013e1ec
test eax, eax
jne 0x14013e1ec
jmp 0x14013e244
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.14010c450
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140149190
mov eax, edi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movzx ecx, al
lea r9, [rsp + 0x80]
mov qword [r9], r14
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x78]
mov qword [r8], rax
lea rdx, [rsp + 0x70]
call fcn.1401a2ec0
jmp 0x14013e0d1
mov ecx, ebp
call fcn.14000d5e0
cmp eax, 0xfffffffc
jne 0x14013e255
call fcn.1401a2d60
mov dword [rsi], eax
xor edi, edi
jmp 0x14013e1ec
Function at 0x14013fd80
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x140272458]
mov ecx, dword [0x14026ee18]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14013ff6c
mov rsi, qword [0x140272450]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14013ffae
movzx ebx, bl
dec ebx
or ebx, 1
test byte [0x14027240c], 1
mov eax, 1
mov ecx, 8
cmovne ecx, eax
xor ebp, ebp
add ebx, dword [0x140272410]
mov dword [0x140272410], ebx
cmovne ebp, ecx
mov eax, dword [0x140272414]
cmp ebp, eax
je 0x14013ff4b
test eax, eax
je 0x14013fedc
mov rax, qword [0x1402626c0]
lea rcx, [0x140136f50]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14013ffcc
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14014001f
imul rax, rax, 0xf4240
cqo
idiv qword [0x140272470]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x140272460]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x140272418]
cmp r8, 2
jb 0x140140004
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x140272418], rax
mov ecx, dword [0x140272414]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x140272414], ebp
test ebx, ebx
je 0x14013ff4b
mov rax, qword [0x1402626c0]
lea rcx, [0x140136f50]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14013ffbb
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14013ffdd
imul rax, rax, 0xf4240
cqo
idiv qword [0x140272470]
mov qword [0x140272460], rax
mov ecx, dword [0x140272414]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140149190
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140272458]
call fcn.1401467a0
cmp dword [0x140272458], 0xffffffff
jne 0x14013fdbe
mov ecx, 8
call fcn.140146648
mov qword [rax], 0
mov qword [0x140272450], rax
lea rcx, [0x140272458]
call fcn.140146740
jmp 0x14013fdbe
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14013fdd6
mov rcx, rdi
call qword [0x1402529a0]
mov rax, qword [rdi]
jmp 0x14013ff38
mov rcx, rdi
call qword [0x1402529a0]
mov rax, qword [rdi]
jmp 0x14013fe70
mov rcx, qword [0x140272470]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14013ff38
add rdx, rcx
cmp rdx, 2
setae dl
cmp rcx, rax
sete cl
or cl, dl
jne 0x14013fec9
int3
mov rcx, qword [0x140272470]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14013fe6b