joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c28d0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1402ff7a0]
mov qword [rcx], rax
lea rax, [0x1402fe3e0]
mov qword [rcx + 8], rax
mov eax, dword [0x14035aa80]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401c2a15
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1401c2a57
mov rcx, qword [0x14035aa70]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14035aa78]
jne 0x1401c2a57
mov rdi, qword [rax + rcx]
lea rbx, [rsi + 8]
mov rax, qword [0x1403428e0]
and rax, rdi
cmp rax, qword [0x1403428c8]
je 0x1401c29f0
lea r14, [rsp + 0x28]
mov qword [r14], rdi
mov rcx, r14
mov rdx, rbx
call fcn.1400eea60
mov rcx, qword [r14]
mov rax, qword [0x1403428e0]
and rax, rcx
cmp rax, qword [0x1403428c8]
je 0x1401c2a5e
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x1401c29bf
call fcn.1400e3860
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x1401c29bf
lock dec dword [rcx + 8]
je 0x1401c2a68
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x1401c29fd
add rsi, 0x10
mov rcx, rsi
call fcn.14004d960
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140171860
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
call fcn.140156f20
jmp 0x1401c2971
call fcn.1400412c0
mov rcx, qword [rsi + 0x18]
call fcn.140071ab0
mov qword [rsi + 0x18], 0
jmp 0x1401c29cc
lea rcx, [0x14035aa80]
call fcn.14016f8b4
cmp dword [0x14035aa80], 0xffffffff
jne 0x1401c2925
xorps xmm0, xmm0
movups xmmword [0x14035aa70], xmm0
lea rcx, [0x14035aa70]
xor edx, edx
call fcn.140041af0
lea rcx, [0x14035aa80]
call fcn.14016ef8c
jmp 0x1401c2925
xor edi, edi
jmp 0x1401c295a
call fcn.1401571d0
jmp 0x1401c299e
mov edx, 1
call fcn.1400ef200
jmp 0x1401c29bf

Function at 0x1401c4210
Capabilities:
Identify system language via api

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x28]
mov qword [r8], 0
lea r9, [rsp + 0x24]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x140309fb0]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401c4277
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx]
movzx edi, word [rcx + 2]
shl edi, 0x10
movzx esi, ax
or esi, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140171860
mov eax, esi
add rsp, 0x38
pop rdi
pop rsi
ret
mov edi, 0x4e40000
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
jmp 0x1401c425c
Function at 0x1401d5d02
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
movabs rdi, 0x7fffffffffffffff
mov dword [rsp + 0x20], 1
mov edx, 0x3e8
mov r8d, 0x989680
mov r9d, 0x32
call fcn.14009a730
mov rcx, rax
lea rax, [rsi + rdi]
add rax, 2
cmp rax, 2
jb 0x140146eca
movabs rdx, 0x20c49ba5e353f7cf
mov rax, rsi
imul rdx
mov rax, rdx
shr rdx, 0x3f
sar rax, 7
add rax, rdx
cmp rax, 0xffffffff80000001
mov rdx, 0xffffffff80000000
cmovge rdx, rax
mov eax, 0x7fffffff
cmp rdx, rax
cmovge rdx, rax
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea r8, [0x1400ab550]
cmp rax, r8
jne 0x140146ed7
xor eax, eax
test edx, edx
cmovg eax, edx
cmp edx, 0x7fffffff
mov edx, 0x7ffffffe
cmovne edx, eax
mov rcx, qword [rcx + 0x18]
mov r8d, 1
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400a0920
lea rax, [rdi + 1]
test rsi, rsi
cmovns rax, rdi
jmp 0x140146e70
mov r8, qword [case.0x140211850.0]
add rsp, 0x28
pop rdi
pop rsi
jmp r8
mov rdx, rcx
lea rcx, str.Microsoft.WatsonUploader.Transport.Timing.HitRoundTrip
jmp 0x140146e10

Function at 0x1401d5d12
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
movabs rdi, 0x7fffffffffffffff
mov dword [rsp + 0x20], 1
mov edx, 0x3e8
mov r8d, 0xaba9500
mov r9d, 0x32
call fcn.14009a730
mov rcx, rax
lea rax, [rsi + rdi]
add rax, 2
cmp rax, 2
jb 0x14016a0ea
movabs rdx, 0x20c49ba5e353f7cf
mov rax, rsi
imul rdx
mov rax, rdx
shr rdx, 0x3f
sar rax, 7
add rax, rdx
cmp rax, 0xffffffff80000001
mov rdx, 0xffffffff80000000
cmovge rdx, rax
mov eax, 0x7fffffff
cmp rdx, rax
cmovge rdx, rax
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea r8, [0x1400ab550]
cmp rax, r8
jne 0x14016a0f7
xor eax, eax
test edx, edx
cmovg eax, edx
cmp edx, 0x7fffffff
mov edx, 0x7ffffffe
cmovne edx, eax
mov rcx, qword [rcx + 0x18]
mov r8d, 1
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400a0920
lea rax, [rdi + 1]
test rsi, rsi
cmovns rax, rdi
jmp 0x14016a090
mov r8, qword [case.0x140211850.0]
add rsp, 0x28
pop rdi
pop rsi
jmp r8
mov rdx, rcx
lea rcx, str.Microsoft.WatsonUploader.Transport.Timing.ReportRoundTrip
jmp 0x14016a030

Function at 0x1401d5de2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, ecx
lea rcx, str.Microsoft.WatsonUploader.DiagnosticUploadResult
mov r8d, 0x11
jmp fcn.14014a1d0

Function at 0x1401d5df6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, ecx
lea rcx, str.Microsoft.WatsonUploader.Result
mov r8d, 0x11
jmp fcn.14014a1d0

Function at 0x1401d5e0a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, ecx
lea rcx, str.Microsoft.WatsonUploader.UploadMilestone
mov r8d, 0x18
jmp fcn.14014a1d0

Function at 0x1401d5ec2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, ecx
lea rcx, str.Microsoft.WatsonUploader.RequestType
mov r8d, 5
jmp fcn.14014a1d0
Function at 0x1401d5ed6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
mov edx, 1
call fcn.140135590
movzx edx, bl
mov rcx, qword [rax]
mov r8, qword [rcx + 0x28]
lea rcx, [0x1400ab550]
cmp r8, rcx
jne 0x14013557b
mov rcx, qword [rax + 0x18]
mov r8d, 1
add rsp, 0x20
pop rbx
jmp fcn.1400a0920
mov r9, qword [case.0x140211850.0]
mov rcx, rax
mov rax, r8
add rsp, 0x20
pop rbx
jmp r9
mov edx, ecx
lea rcx, str.Microsoft.WatsonUploader.DeviceTicketResult
jmp 0x140135540

Function at 0x1401d5ee4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rdx, rcx
lea rcx, str.Microsoft.WatsonUploader.Transport.Timing.DeviceTicket
jmp 0x140146e10
Function at 0x1401e1431
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2c8
movaps xmmword [rsp + 0x2b0], xmm6
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov r13, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
cmp r13, rax
je 0x1401e1613
mov rsi, r8
mov rdi, rdx
movabs rbp, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x140301d60]
lea r14, [rsp + 0x30]
lea r15, [rsp + 0xa0]
lea r12, [rsp + 0x88]
mov qword [rsp + 0x60], rbp
movaps xmmword [rsp + 0x50], xmm6
cmp byte [r13 + 0x17], 0
js 0x1401e15fc
mov rax, qword [r13 + 0x10]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0x50], xmm0
mov rbx, rbp
mov qword [rsp + 0x40], rbp
movaps xmmword [rsp + 0x30], xmm6
mov rcx, r14
call fcn.1400785c0
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140173760
movzx eax, byte [rsp + 0x67]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsp + 0x50]
lea rdx, [rsp + 0x50]
cmovns rax, rdx
mov qword [rsp + 0x78], rax
cmovs rcx, qword [rsp + 0x58]
mov qword [rsp + 0x80], rcx
mov rcx, r12
lea rdx, [rsp + 0x78]
call fcn.140071320
cmp byte [rsp + 0x9f], 0
mov rcx, r12
jns 0x1401e153b
mov rcx, qword [rsp + 0x88]
mov rdx, r15
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
cmp byte [rsp + 0x9f], 0
jns 0x1401e1563
mov rcx, qword [rsp + 0x88]
call fcn.14016eccc
mov eax, 0xfffffefc
add ebp, eax
cmp ebp, eax
ja 0x1401e15b0
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
mov rbp, rbx
mov rcx, rsi
jne 0x1401e15f2
mov rdx, r14
call fcn.1400d35b4
mov rcx, r14
call fcn.14007be00
cmp byte [rsp + 0x67], 0
jns 0x1401e159f
mov rcx, qword [rsp + 0x50]
call fcn.14016eccc
add r13, 0x18
cmp r13, qword [rsp + 0x28]
jne 0x1401e149f
jmp 0x1401e1613
mov qword [rsp + 0x68], r15
mov rcx, r15
call fcn.14016f5e8
mov qword [rsp + 0x70], rax
mov rcx, r12
lea rdx, [rsp + 0x68]
call fcn.140050770
mov rcx, r14
mov rdx, r12
call fcn.14007be10
mov rcx, r12
call fcn.14007be00
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
mov rbp, rbx
mov rcx, rdi
je 0x1401e157e
mov rdx, r14
call fcn.1401240da
jmp 0x1401e1586
mov rdx, qword [r13]
mov r8, qword [r13 + 8]
lea rcx, [rsp + 0x50]
call fcn.14003d5a6
jmp 0x1401e14c7
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.140171860
movaps xmm6, xmmword [rsp + 0x2b0]
add rsp, 0x2c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401e4bb0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx edx, word [rdi]
lea rcx, [rsp + 0x28]
call fcn.140067c93
lea rdi, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x1401e4c07
mov rcx, qword [rdi]
call fcn.14016eccc
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
movzx eax, byte [rsi + 0x27]
test al, al
jns 0x1401e4c24
mov rax, qword [rsi + 0x18]
test rax, rax
setne bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140171860
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401e555e
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx edx, word [rdi]
lea rcx, [rsp + 0x28]
call fcn.140067c93
lea rdi, [rsi + 0x70]
cmp byte [rsi + 0x87], 0
jns 0x1401e55b8
mov rcx, qword [rdi]
call fcn.14016eccc
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
movzx eax, byte [rsi + 0x87]
test al, al
jns 0x1401e55d8
mov rax, qword [rsi + 0x78]
test rax, rax
setne bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140171860
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401e55f8
Capabilities:
Identify system language via api

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140067c93
lea rdi, [rsi + 0x88]
cmp byte [rsi + 0x9f], 0
jns 0x1401e563c
mov rcx, qword [rdi]
call fcn.14016eccc
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
movzx eax, byte [rsi + 0x9f]
test al, al
jns 0x1401e565f
mov rax, qword [rsi + 0x90]
test rax, rax
setne bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140171860
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401e56ea
Capabilities:
Get geographical location

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
lea rcx, [rsp + 0x28]
mov edx, eax
call fcn.140204faa
lea rdi, [rsi + 0xb8]
cmp byte [rsi + 0xcf], 0
jns 0x1401e5731
mov rcx, qword [rdi]
call fcn.14016eccc
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140171860
nop
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x14020662e
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.14016ecd4
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1402066a0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.140182ebc
mov qword [rbx], rax
test rax, rax
je 0x140206685
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14020a380
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x258
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov sil, 1
cmp qword [0x140352b08], 0
je 0x14020a3c4
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140171860
mov eax, esi
add rsp, 0x258
pop rdi
pop rsi
ret
mov rcx, qword [0x140352af8]
test rcx, rcx
je 0x14020a462
test byte [0x1403411a8], 1
je 0x14020a3a8
cmp byte [rcx + 0x17], 0
jns 0x14020a3e6
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140352b08], rax
inc rax
cmp rax, 1
ja 0x14020a3a8
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140173760
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x14020a53c
xor esi, esi
jmp 0x14020a3a8
mov ecx, 0x18
call fcn.14016ecd4
mov rsi, rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140173760
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140301d60]
movups xmmword [rsi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rax
mov rcx, rsi
mov rdx, rdi
call fcn.140067b86
movzx eax, byte [rsi + 0x17]
mov edx, eax
and edx, 0x7f
test al, al
cmovs rdx, qword [rsi + 8]
mov rcx, qword [rsi]
mov r9, rsi
cmovs r9, rcx
test rdx, rdx
jne 0x14020a4fc
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rsi
call fcn.14006cfe0
mov qword [0x140352af8], 0
jmp 0x14020a45b
lea r10, [rdx + rdx]
test r10, r10
je 0x14020a4d7
lea r8, [r10 - 2]
cmp word [r9 + r10 - 2], 0x5c
mov r10, r8
jne 0x14020a500
cmp r8, 0xfffffffffffffffe
je 0x14020a4d7
sar r8, 1
lea r9, [r8 + 1]
cmp rdx, r9
jb 0x14020a639
test al, al
jns 0x14020a612
mov qword [rsi + 8], r9
jmp 0x14020a61f
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14016f5e8
mov rcx, qword [0x140352af8]
mov rdx, rdi
mov r8, rax
call fcn.14008df3a
mov rcx, qword [0x140352af8]
movzx eax, byte [rcx + 0x17]
test al, al
jns 0x14020a62c
mov rax, qword [rcx + 8]
test rax, rax
je 0x14020a63e
mov rdx, qword [rcx]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x14020a59f
lea rdx, [0x140305cac]
mov r8d, 1
call fcn.14006cfe0
mov rcx, qword [0x140352af8]
lea rdx, str.debug.log
mov r8d, 9
call fcn.14006cfe0
mov rcx, qword [0x140352af8]
cmp byte [rcx + 0x17], 0
jns 0x14020a5c1
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140352b08], rax
inc rax
cmp rax, 1
ja 0x14020a3a8
mov qword [0x140352b08], 0
jmp 0x14020a45b
cmp r9, 0xb
jae 0x14020a641
mov byte [rsi + 0x17], r9b
mov rcx, rsi
mov word [rcx + r8*2 + 2], 0
jmp 0x14020a4d7
test rax, rax
je 0x14020a63e
mov rdx, rcx
jmp 0x14020a57e
call fcn.14016fee0
int3
int3
Function at 0x14020f9b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx], rdx
mov eax, dword [0x140352c70]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14020fa1b
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14020fa56
mov rcx, qword [0x140352c60]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x140352c68]
mov rdx, qword [0x140352c60]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140352c70]
call fcn.14016f8b4
cmp dword [0x140352c70], 0xffffffff
jne 0x14020f9dc
xorps xmm0, xmm0
movups xmmword [0x140352c60], xmm0
lea rcx, [0x140352c60]
xor edx, edx
call fcn.140041af0
lea rcx, [0x140352c70]
call fcn.14016ef8c
jmp 0x14020f9dc
test rsi, rsi
je 0x14020fa12
call fcn.140001120
jmp 0x14020f9ee

Function at 0x14020fa70
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140352c70]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14020fae7
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14020fad3
mov rcx, qword [0x140352c60]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x140352c68]
mov rdx, qword [0x140352c60]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rsi]
test rcx, rcx
je 0x14020fae1
lock dec dword [rcx + 8]
je 0x14020fb25
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140352c70]
call fcn.14016f8b4
cmp dword [0x140352c70], 0xffffffff
jne 0x14020fa99
xorps xmm0, xmm0
movups xmmword [0x140352c60], xmm0
lea rcx, [0x140352c60]
xor edx, edx
call fcn.140041af0
lea rcx, [0x140352c70]
call fcn.14016ef8c
jmp 0x14020fa99
add rsp, 0x20
pop rsi
jmp fcn.14008a550

Function at 0x140210390
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x140301d60]
movaps xmmword [rbx + 0x40], xmm0
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x1d7
call fcn.14004f270
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400cd290
mov al, byte [rsi + 0x17]
test al, al
jns 0x140210420
cmp qword [rsi + 8], 0x103
ja 0x14021043e
test al, al
jns 0x140210427
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.1400cd300
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140171860
mov eax, edi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140210470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov edi, edx
mov rbx, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
call fcn.14008daa0
cmp eax, 8
jg 0x1402104b1
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1402105dd
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x70]
mov qword [r14 + 0x50], rax
movaps xmm0, xmmword [0x140301d60]
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, str.DeleteFileWithDispositionFlags
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x50]
mov rcx, r15
mov r9d, 0x1e7
call fcn.14004f270
xor esi, esi
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400cd290
cmp byte [rbx + 0x17], 0
mov rcx, rbx
jns 0x140210520
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1402105d3
test al, 0x10
jne 0x1402105c6
cmp byte [rbx + 0x17], 0
jns 0x140210540
mov rbx, qword [rbx]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x10100
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rbx, [rsp + 0x48]
mov qword [rbx], rsi
mov rcx, rbx
mov rdx, rax
call fcn.140041220
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x1402105fe
mov rax, qword [rsp + 0x48]
inc rax
cmp rax, 2
jb 0x1402105d3
call fcn.1400412c0
mov rdi, qword [rsp + 0x48]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x1402106a1
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [case.0x140211850.0]
jmp 0x1402105d3
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea rcx, [rsp + 0x70]
call fcn.1400cd300
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140171860
mov eax, esi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x14030a068]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtSetInformationFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14021069a
or edi, 1
movups xmm0, xmmword [0x14030a080]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x40]
mov dword [r8], edi
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x20], 0x40
mov r9d, 4
call qword [case.0x140211850.0]
test eax, eax
sete sil
je 0x14021058d
mov edi, eax
lea rcx, [0x14030a068]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14021068d
mov ecx, edi
call qword [case.0x140211850.0]
mov edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14021058d
xor esi, esi
jmp 0x14021058d
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x1402105b5
Function at 0x140211f50
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403546f8]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140211f7a
add rsp, 0x28
ret
lea rcx, [0x1403546f8]
call fcn.14016f8b4
cmp dword [0x1403546f8], 0xffffffff
jne 0x140211f75
xorps xmm0, xmm0
movups xmmword [0x1403546e8], xmm0
movups xmmword [0x1403546d8], xmm0
movups xmmword [0x1403546c8], xmm0
lea rcx, [0x1403546c8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403546f8]
add rsp, 0x28
jmp fcn.14016ef8c
Function at 0x140215e94
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp byte [r8 + 0x17], 0
js 0x140216055
mov word [rsi], 0
mov byte [rsi + 0x17], 0
test rbx, rbx
je 0x140216030
lea r8, [rsp + 0x50]
mov qword [r8], 0
lea r9, [rsp + 0x260]
mov dword [r9], 0
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140216030
lea r14, [rsp + 0x50]
mov rax, qword [r14]
movzx ebp, word [rax]
movzx r15d, word [rax + 2]
mov word [rsp + 0x260], bp
mov word [rsp + 0x262], r15w
mov r12, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r12
mov word [rsp + 0x264], ax
mov word [rsp + 0x266], r15w
mov word [rsp + 0x268], bp
mov bp, 0x4e4
mov word [rsp + 0x26a], bp
call r12
mov word [rsp + 0x26c], ax
mov word [rsp + 0x26e], bp
mov r15, 0xfffffffffffffffe
lea r12, [rsp + 0x48]
lea r13, [rsp + 0x44]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140173760
cmp byte [rdi + 0x17], 0
mov rax, rdi
jns 0x140215fa1
mov rax, qword [rdi]
movzx ecx, word [rsp + r15*2 + 0x264]
movzx edx, word [rsp + r15*2 + 0x266]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
lea r9, [0x14030c614]
call fcn.140122860
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0
mov rcx, rbx
mov rdx, r14
mov r8, r12
mov r9, r13
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14021600a
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x14021601a
add r15, 2
cmp r15, 5
jbe 0x140215f85
jmp 0x140216030
mov rcx, rbp
call fcn.14016f5e8
mov rcx, rsi
mov rdx, rbp
mov r8, rax
call fcn.14008df3a
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140171860
nop
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
jmp 0x140215ed6