joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005a260
Capabilities:
Get session user name
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x260
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0x258], rax
mov eax, dword [0x1400aa3b8]
cmp eax, 0x3a74
ja 0x14005a2f3
mov eax, dword [0x1400aa078]
cmp eax, 0x3a76
jb 0x14005a3bb
lea rsi, [rsp + 0x54]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsi - 4], 0x11c
mov dword [rsi + 8], 0x3a75
xor ecx, ecx
mov edx, 4
mov r8b, 3
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea rcx, [rsp + 0x50]
mov edx, 4
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x14005a3b0
mov eax, 0x3a75
xchg dword [0x1400aa3b8], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rcx, [0x140065100]
lea r9, [0x1400650d0]
xor edx, edx
mov r8d, 3
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14005a3ac
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
lea rsi, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
lea rdx, str.windows.immersivecontrolpanel_cw5n1h2txyewy_microsoft.windows.immersivecontrolpanel
lea r8, str.pageSettingsPageAppsDefaults
xor r9d, r9d
call qword [case.0x14005783e.0]
test eax, eax
setns bl
js 0x14005a37d
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x20], rsi
lea rdx, str.windows.immersivecontrolpanel_cw5n1h2txyewy_microsoft.windows.immersivecontrolpanel
lea r8, str.pageSettingsPageAppsDefaultstargetSystemSettings_DefaultApps_Browser
xor r9d, r9d
call qword [case.0x14005783e.0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005783e.0]
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140058660
mov eax, ebx
add rsp, 0x260
pop rbx
pop rdi
pop rsi
ret
mov bl, 1
jmp 0x14005a38f
mov eax, 0x3a75
xchg dword [0x1400aa078], eax
lea rdx, [rsp + 0x4c]
mov dword [rdx], 0x101
lea rsi, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14005a3f3
lea rdx, [rsp + 0x50]
lea r9, [rsp + 0x40]
xor ecx, ecx
mov r8d, 0x18
call sub.NETAPI32.dll_NetUserGetInfo
test eax, eax
je 0x14005a459
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0x40]
mov dword [rax], 4
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMicrosoftWindowsShellAssociations
lea r8, str.IsConnectedAtLogon
mov rcx, 0xffffffff80000001
mov r9d, 0xffff
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14005a2f3
cmp dword [rsp + 0x50], 0
je 0x14005a2f3
call fcn.14005a090
mov ebx, eax
jmp 0x14005a38f
mov rcx, qword [rsp + 0x40]
mov edi, dword [rcx]
call sub.NETAPI32.dll_NetApiBufferFree
test edi, edi
jne 0x14005a2f3
jmp 0x14005a3f3
Function at 0x14005c7f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x14005c8ac
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x14005c8ac
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xffffffff
call qword [case.0x14005783e.0]
cmp eax, 0xffffffff
je 0x14005c8aa
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [case.0x14005783e.0]
cmp eax, 3
je 0x14005c8c3
cmp eax, 1
je 0x14005c879
test eax, eax
jne 0x14005c8aa
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x14005c8a0
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14005c8aa
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x14005c8ac
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140058660
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
jmp 0x14005c8ac
Function at 0x1400018dd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x140001a51
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x1405b5dc1]
jmp 0x140001943
mov byte [0x1405b5dc1], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x1405b5da0]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140001a51
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x77
mov byte [rsp + 0x21], 0x81
mov byte [rsp + 0x22], 0x8b
mov byte [rsp + 0x23], 0x8b
mov byte [rsp + 0x24], 0x74
mov byte [rsp + 0x25], 0x78
mov byte [rsp + 0x26], 0x82
mov byte [rsp + 0x27], 0x8a
mov byte [rsp + 0x28], 0x7f
mov byte [rsp + 0x29], 0x7a
mov byte [rsp + 0x2a], 0x74
mov byte [rsp + 0x2b], 0x8b
mov byte [rsp + 0x2c], 0x78
mov byte [rsp + 0x2d], 0x7d
mov byte [rsp + 0x2e], 0x83
mov byte [rsp + 0x2f], 0x77
mov byte [rsp + 0x30], 0x8c
mov byte [rsp + 0x31], 0x7d
mov byte [rsp + 0x32], 0x7a
mov byte [rsp + 0x33], 0x84
mov byte [rsp + 0x34], 0x86
mov byte [rsp + 0x35], 0x7b
mov byte [rsp + 0x36], pe_nt_image_headers64
mov byte [rsp + 0x37], 0x79
mov byte [rsp + 0x38], 0x83
mov byte [rsp + 0x39], 0x82
mov byte [rsp + 0x3a], 0x83
mov byte [rsp + 0x3b], 0x85
mov byte [rsp + 0x3c], 0x83
mov byte [rsp + 0x3d], 0x7c
mov byte [rsp + 0x3e], 0x86
mov byte [rsp + 0x3f], 0x74
mov byte [rsp + 0x40], 0x13
cmp byte [0x1405b5d80], 0
jne 0x140001a2c
mov byte [0x1405b5dc1], 1
mov eax, 0
lea rcx, [0x1405b5da0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140001a0b
mov byte [0x1405b5d80], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x1405b5dc1], 0
je 0x140001915
lea rax, [0x1405b5da0]
sub byte [rax], 0x13
add rax, 1
cmp rbx, rax
jne 0x140001a40
jmp 0x14000190e
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140005570
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400055a0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000559f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400055a5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000559f
mov eax, 0
jmp 0x14000559f

Function at 0x140005c20
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140005bd0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000f230
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140017d70
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140017d70
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x14000f2a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1405b6174]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x14000f430
mov rax, qword [0x1405b6178]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14000f2ec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x14000f375
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x14000f2d0
mov rcx, rdi
call fcn.14000fe00
test rax, rax
mov r12, rax
je 0x14000f482
mov rax, qword [0x1405b6178]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.14000ff40
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1405b6178]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000f465
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000f36e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000f3e0
add dword [0x1405b6174], 1
cmp ebx, 8
jae 0x14000f3a1
test bl, 4
jne 0x14000f440
test ebx, ebx
je 0x14000f396
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x14000f454
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x14000f396
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14000f3ba
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1405b6178]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000f36e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000f230
xor esi, esi
jmp 0x14000f2f7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x14000f396
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x14000f396
mov rax, qword [0x1405b6178]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.14000f230
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.14000f230
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x14000fa50
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1405b61e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1405b61c0]
test rbx, rbx
je 0x14000faa4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000fa9b
test rsi, rsi
je 0x14000fa9b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000fa80
lea rcx, [0x1405b61e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000fe00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1405b1170]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000fe6f
mov rcx, r9
call fcn.14000fcd0
test eax, eax
je 0x14000fe6f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000fe6d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000fe64
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000fe6f
add rdx, 0x28
cmp rdx, r9
jne 0x14000fe50
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001a130
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1405adcc0]
jmp 0x140010c30

Function at 0x14001a140
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1405adcc0]
jmp 0x140010c30

Function at 0x1406f12f9
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp], 0xffffffffdb2a01be
cmp ebx, 1
not dword [rsp + 3]
call fcn.1406ea8e6

Function at 0x1406fdef0
Capabilities:
Execute anti-debugging instructions

Disassembly:
not ax
or dword [rsp], 0x9abde39e
jl 0x1407059b6
lea rsp, [rsp + 0x28]
jmp fcn.1406e8f35
jg 0x1406ebb9e
mov byte [rax], r11b
call fcn.140706147
jmp 0x1406ee6ff
lea rbp, [rsp + rbp + 8]
jne 0x1406fe3b9
mov eax, 0xc8211200
neg rax
rdtsc
sbb rdi, 7
push 0xc8a89ab
call fcn.140701ca9
mov r9d, 0x3f8d820a
push r9
mov edi, 0x90a6d213
mov r9, qword [r9 + r10 - 0x3f8d820a]
mov rdi, qword [r9 + riz]
push 0xe96cc2d
push 0x208ff50a
not qword [rsp + 7]
mov qword [r10], rdi
jmp fcn.1406f9327
push 0x78242386
mov word [rdi], cx
push 0xffffffffca82051e
lea rsp, [rsp + 0x20]
jmp fcn.1406e75e9
push 0xffffffffc5091f05
ror r8b, 1
xor bl, r8b
lea r8, [rsp + r8 + 0x20]
push 0xffffffffe8b1e3b1
mov word [r8], cx
jmp 0x1406d8cbf
mov word [rsp + 1], 0x8f35
ror bpl, 1
xor bl, bpl
jmp 0x1406f1e76
btr rax, 0xa4
adc rbx, 2
btr ax, ax
sub ax, ax
sar al, 0x47
movzx eax, word [r10 + riz]
jae 0x140703c0d
call fcn.1406d5643
shl word [rsp + 4], 0xcc
jbe 0x1406deaaa
mov qword [rsp], 0x2db8e280
mov qword [rdi], rbx
call fcn.1406e5d50
jnp 0x1406f1c6f
mov dword [rbp + riz], r9d
not byte [rsp + 3]
push 0xffffffffbe294f82
lea rsp, [rsp + 0x10]
jne fcn.1406e8f35
mov qword [rsp], 0x3b939ba6
xor bpl, bl
xor bpl, 0x2d
inc bpl
inc byte [rsp + 4]
not dword [rsp + 3]
not bpl
not qword [rsp]
jo 0x1406c8518
xor bpl, 0x88
shl qword [rsp], 0x17
jns 0x1406f1311
lea rsp, [rsp + 0x20]
jmp fcn.1407089b3
jns 0x1406fc876
push 0xffffffff920b719e
adc r10, 2
inc dword [rsp]
shl qword [rsp], 0x9f
xor ax, di
sal word [rsp + 3], 0x68
neg ax
rol ax, 1
mov dword [rsp + 3], 0x561da29e
neg qword [rsp]
adc ax, 0xb184
jmp 0x14070de0a
xor di, ax
mov dword [rsp + 1], 0xdd94fc2a
sub word [rsp + 2], 0x3a36
lea rax, [rsp + rax + 8]
jns 0x1406dd71a
jmp 0x1406d2d63
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x1400155b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
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]
add rsp, 0x28
ret
Function at 0x14001127b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140016900
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016920
xor al, al
jmp 0x1400169a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016933
xor al, al
jmp 0x1400169a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001695d
xor al, al
jmp 0x1400169a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016971
xor al, al
jmp 0x1400169a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016983
xor al, al
jmp 0x1400169a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001699f
xor al, al
jmp 0x1400169a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140028d50
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14013bae8]
test rdi, rdi
jne 0x140028e03
mov ecx, 0x50
call fcn.14008d7bc
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14008d7bc
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140028e25
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x14013bae8], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140028e51
mov rcx, rax
call fcn.1400ad360
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140028e60
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008ec50
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1400c1730
int3
Function at 0x140028e60
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.140037160
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140028fec
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x140110d98]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14002903d
lea rdx, [0x140110de8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140029050
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x14014f008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x140029058
shl r12, 3
movabs rax, 0x5555555555555551
cmp r12, rax
jae 0x140029062
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14008d7bc
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, r15
mov qword [rsp + 0x40], rax
xor r13d, r13d
mov r15, rbx
test r15, r15
je 0x140029011
mov rdx, qword [r14 + r13]
mov rcx, r15
call fcn.1400c0e20
add r15, 0x18
add r13, 8
cmp r12, r13
jne 0x140028f6c
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140028b60
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140028fba
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x140028fec
cmp r15, rbx
je 0x140028fe4
lea rsi, [r15 - 0x18]
cmp byte [r15 - 1], 0
js 0x140028fd9
mov r15, rsi
cmp rsi, rbx
jne 0x140028fc4
jmp 0x140028fe4
mov rcx, qword [r15 - 0x18]
call fcn.14008d7f8
jmp 0x140028fcf
mov rcx, rbx
call fcn.14008d7f8
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14008ec50
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1400c1730
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140028f11
xor r14d, r14d
jmp 0x140028f14
xor r15d, r15d
xor ebx, ebx
jmp 0x140028f93
call fcn.1400a6050
int3
Function at 0x14002ec30
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4b8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x450]
mov qword [r14 + 0x50], rax
movaps xmm0, xmmword [0x14010dbf0]
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x14011128d]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x240]
mov rcx, r15
mov r9d, 0x195
call fcn.140072d30
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140072d60
lea r14, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140090d80
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14002ece5
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.14006de10
mov rcx, r14
call fcn.14005f8a0
lea r14, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140090d80
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x14002ed1c
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.14006de10
mov rcx, r14
call fcn.14005f8a0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14002ed3e
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14002ed4a
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 0x14002edb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003d5d0
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14002ed7d
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14002ed86
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 0x14002edb6
test eax, eax
jne 0x14002edb6
cmp ebp, 0xfffffffc
jne 0x14002edad
call fcn.1400e1680
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x14002edb6
mov dil, 1
lea rcx, [rsp + 0x450]
call fcn.140072dc0
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.14008ec50
mov eax, edi
add rsp, 0x4b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x14010dbf0]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1c8
call fcn.140072d30
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140072d60
cmp byte [rdi + 0x17], 0
jns 0x14002ee74
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140072dc0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14008ec50
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14002eeb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x14010dbf0]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1f0
call fcn.140072d30
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140072d60
cmp byte [rdi + 0x17], 0
jns 0x14002ef34
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.140072dc0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14008ec50
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002ef80
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140090d80
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
add edi, 0xfffffefc
cmp edi, 0xfffffefd
jb 0x14002f023
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400ad360
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140066b00
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002be10
mov rcx, rsi
mov rdx, r14
call fcn.14002b110
mov rcx, r14
call fcn.140066c80
mov rcx, rbx
call fcn.140066c80
cmp edi, 0xfffffefd
setae bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14008ec50
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret