joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004ac5c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r13
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
and dword [rbp + 0x38], 0
and qword [rbp - 8], 0
mov r14d, r8d
mov r15, rdx
mov rdi, rcx
mov dword [rbp - 0xc], 1
mov rcx, qword [str.___t_]
lea r13, str.___t_
cmp rcx, r13
je 0x14004acc4
test byte [rcx + 0x1c], 4
je 0x14004acc4
cmp byte [rcx + 0x19], 5
jb 0x14004acc4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003b68]
mov edx, 0x14a
call fcn.14000e618
lea r9, [rbp + 0x38]
lea r8, [rbp - 8]
mov edx, r14d
mov rcx, r15
call fcn.14004a928
mov ebx, eax
test eax, eax
je 0x14004ad1e
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14004ae67
test byte [rcx + 0x1c], 4
je 0x14004ae67
cmp byte [rcx + 0x19], 2
jb 0x14004ae67
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003b68]
mov edx, 0x14b
mov r9d, eax
call fcn.14000e63c
jmp 0x14004ae67
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
lea rdx, [rbp - 0xc]
mov r8d, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14004ad75
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14004ae67
test byte [rcx + 0x1c], 4
je 0x14004ae67
cmp byte [rcx + 0x19], 2
jb 0x14004ae67
mov edx, 0x14c
jmp 0x14004ae54
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
lea rdx, [rbp + 0x38]
mov r8d, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14004adcc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14004ae67
test byte [rcx + 0x1c], 4
je 0x14004ae67
cmp byte [rcx + 0x19], 2
jb 0x14004ae67
mov edx, 0x14d
jmp 0x14004ae54
mov r8d, dword [rbp + 0x38]
mov rdx, qword [rbp - 8]
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14004ae12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14004ae67
test byte [rcx + 0x1c], 4
je 0x14004ae67
cmp byte [rcx + 0x19], 2
jb 0x14004ae67
mov edx, 0x14e
jmp 0x14004ae54
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14004ae67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14004ae67
test byte [rcx + 0x1c], 4
je 0x14004ae67
cmp byte [rcx + 0x19], 2
jb 0x14004ae67
mov edx, 0x14f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003b68]
mov r9d, eax
call fcn.14000e63c
cmp qword [rbp - 8], 0
je 0x14004ae77
mov rcx, qword [rbp - 8]
call fcn.140072328
mov rdi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
Function at 0x14004b07c
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
xor ebx, ebx
mov r14, rdx
mov rbp, rcx
xor esi, esi
mov rcx, qword [str.___t_]
lea r12, str.___t_
lea r13, [0x140003b68]
cmp rcx, r12
je 0x14004b0d3
test byte [rcx + 0x1c], 4
je 0x14004b0d3
cmp byte [rcx + 0x19], 5
jb 0x14004b0d3
mov rcx, qword [rcx + 0x10]
mov edx, 0x155
mov r8, r13
call fcn.14000e618
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x14004b11f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14004b27a
test byte [rcx + 0x1c], 4
je 0x14004b27a
cmp byte [rcx + 0x19], 2
jb 0x14004b27a
mov edx, 0x156
jmp 0x14004b1fd
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0x678
jae 0x14004b169
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14004b15f
test byte [rcx + 0x1c], 4
je 0x14004b15f
cmp byte [rcx + 0x19], 3
jb 0x14004b15f
mov rcx, qword [rcx + 0x10]
mov edx, 0x157
mov r9d, edi
mov r8, r13
call fcn.14000e63c
mov ebx, 0x570
jmp 0x14004b28b
mov rcx, rdi
call fcn.140072274
mov rsi, rax
test rax, rax
jne 0x14004b1af
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14004b1a5
test byte [rcx + 0x1c], 4
je 0x14004b1a5
cmp byte [rcx + 0x19], 2
jb 0x14004b1a5
mov rcx, qword [rcx + 0x10]
mov edx, 0x158
mov r9d, edi
mov r8, r13
call fcn.14000e63c
mov ebx, 8
jmp 0x14004b28b
and qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
mov r8d, edi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14004b20e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14004b27a
test byte [rcx + 0x1c], 4
je 0x14004b27a
cmp byte [rcx + 0x19], 2
jb 0x14004b27a
mov edx, 0x159
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
jmp 0x14004b27a
mov edx, dword [rsp + 0x70]
cmp edi, edx
je 0x14004b249
mov ebx, 0x26
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14004b27e
test byte [rcx + 0x1c], 4
je 0x14004b27e
cmp byte [rcx + 0x19], 2
jb 0x14004b27e
mov edx, 0x15a
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov r8, r13
call fcn.14000e63c
jmp 0x14004b27e
mov rcx, rsi
call fcn.140042ca4
test eax, eax
jne 0x14004b277
lea ebx, [rax + 0xd]
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14004b27e
test byte [rcx + 0x1c], 4
je 0x14004b27e
cmp byte [rcx + 0x19], 2
jb 0x14004b27e
mov edx, 0x15b
jmp 0x14004b238
mov qword [r14], rsi
test ebx, ebx
je 0x14004b28b
test rsi, rsi
je 0x14004b28b
mov rcx, rsi
call fcn.140072328
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140051428
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor ebp, ebp
cmp dword [rcx + 0x24], 2
mov r14, r9
sete bpl
cmp dword [rcx + 0x24], 2
mov edi, r8d
mov ebx, edx
jne 0x140051460
mov rcx, qword [rcx + 0x248]
mov rsi, qword [rcx + 0x198]
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14005149b
test byte [rcx + 0x1c], 4
je 0x14005149b
cmp byte [rcx + 0x19], 5
jb 0x14005149b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003de0]
mov edx, 0x10
call fcn.14000e618
test ebp, ebp
je 0x1400514c2
neg ebx
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x10
test edi, eax
je 0x1400514b4
mov eax, 1
jmp 0x1400514cb
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x1400514cb
mov edx, ebx
mov ecx, edi
call fcn.14005caf0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140053b6c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x30
mov rcx, qword [str.___t_]
lea rbp, str.___t_
lea r14, [0x140003f38]
cmp rcx, rbp
je 0x140053bb0
test byte [rcx + 0x1c], 4
je 0x140053bb0
cmp byte [rcx + 0x19], 5
jb 0x140053bb0
mov rcx, qword [rcx + 0x10]
mov edx, 0x34
mov r8, r14
call fcn.14000e618
lea rax, [rsp + 0x58]
lea r8, [0x14000fc60]
xor ebx, ebx
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140053c24
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x140053d08
test byte [rax + 0x1c], 4
je 0x140053d08
cmp byte [rax + 0x19], 2
jb 0x140053d08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rbx + 0x35]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r14
call fcn.14000e63c
jmp 0x140053d08
mov r8d, 0x4e20
mov ecx, 3
call fcn.140030c8c
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140053ca3
cmp eax, 0x102
jne 0x140053c7e
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140053c76
test byte [rcx + 0x1c], 4
je 0x140053c76
cmp byte [rcx + 0x19], 5
jb 0x140053c76
mov rcx, qword [rcx + 0x10]
mov edx, 0x37
mov r8, r14
call fcn.14000e618
mov r8d, 0x7530
jmp 0x140053c2a
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x140053cff
test byte [rax + 0x1c], 4
je 0x140053cff
cmp byte [rax + 0x19], 2
jb 0x140053cff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x38
jmp 0x140053cd8
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x140053cf0
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x140053cff
test byte [rax + 0x1c], 4
je 0x140053cff
cmp byte [rax + 0x19], 2
jb 0x140053cff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x36
mov rcx, qword [str.___t_]
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.14000e63c
jmp 0x140053cff
mov ecx, dword [rsp + 0x50]
test ecx, ecx
sete bl
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
Function at 0x140059918
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov edi, ebx
mov rcx, qword [str.___t_]
lea rsi, str.___t_
cmp rcx, rsi
je 0x14005995f
test byte [rcx + 0x1c], 4
je 0x14005995f
cmp byte [rcx + 0x19], 5
jb 0x14005995f
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400040c0]
mov edx, 0x8f
call fcn.14000e618
lea rax, [rsp + 0x40]
lea r8, [0x1400559f0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14009a440], rax
test rax, rax
jne 0x1400599d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x1400599c5
test byte [rcx + 0x1c], 4
je 0x1400599c5
cmp byte [rcx + 0x19], 2
jb 0x1400599c5
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400040c0]
mov edx, 0x90
mov r9d, eax
call fcn.14000e63c
test edi, edi
je 0x1400599d3
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
mov rsi, qword [rsp + 0x50]
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14005ba90
Capabilities:
Get file size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax + 0x10], 0
xor edi, edi
mov edx, 0x80000000
and dword [rax - 0x20], edi
lea r8d, [rdi + 1]
mov dword [rax - 0x28], 3
call fcn.140074d38
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14005bacb
xor eax, eax
jmp 0x14005bb17
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movabs rcx, 0xfffffffff
mov ebx, eax
cmp rbx, rcx
jne 0x14005baf6
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
mov edi, eax
jmp 0x14005bb00
or eax, 0xffffffff
cmp dword [rsp + 0x58], edi
cmovne ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14005bb15
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14005c53c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rbx, r9
mov rsi, r8
xor edi, edi
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14005c58b
test byte [rcx + 0x1c], 4
je 0x14005c58b
cmp byte [rcx + 0x19], 5
jb 0x14005c58b
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x30]
lea r8, [0x140004140]
call fcn.14000e618
lea rcx, [0x14009a2e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x68]
mov r9, rbx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], edi
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14005c5e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14005c629
test byte [rcx + 0x1c], 4
je 0x14005c629
cmp byte [rcx + 0x19], 2
jb 0x14005c629
lea edx, [rbx + 0x31]
jmp 0x14005c616
call fcn.14005c334
test eax, eax
jne 0x14005c629
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14005c629
test byte [rax + 0x1c], 4
je 0x14005c629
cmp byte [rax + 0x19], 2
jb 0x14005c629
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x32
mov rcx, qword [rcx + 0x10]
lea r8, [0x140004140]
mov r9d, eax
call fcn.14000e63c
lea rcx, [0x14009a2e8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
jne 0x14005c643
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop r14
ret
Function at 0x14006bb0c
Capabilities:
Get geographical location

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov r14, rdx
mov rsi, rcx
lea r15, str.___t_
mov rcx, qword [str.___t_]
mov dil, 4
cmp rcx, r15
je 0x14006bb66
test byte [rcx + 0x1c], dil
je 0x14006bb66
cmp byte [rcx + 0x19], 5
jb 0x14006bb66
mov edx, 0xf
lea r8, [0x140004d30]
mov rcx, qword [rcx + 0x10]
call fcn.14000e618
xor ebx, ebx
mov r8d, dword [rsi + 0x30]
lea rdx, [0x140004c48]
mov rcx, r14
call fcn.1400761b0
test eax, eax
jne 0x14006bbc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x14006bd1d
test byte [rcx + 0x1c], dil
je 0x14006bd1d
cmp byte [rcx + 0x19], 2
jb 0x14006bd1d
mov edx, 0x10
mov r9d, eax
lea r8, [0x140004d30]
mov rcx, qword [rcx + 0x10]
call fcn.14000e63c
jmp 0x14006bd1d
mov r8d, dword [rsi + 0x34]
lea rdx, [0x140004c60]
mov rcx, r14
call fcn.1400761b0
test eax, eax
jne 0x14006bc12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x14006bd1d
test byte [rcx + 0x1c], dil
je 0x14006bd1d
cmp byte [rcx + 0x19], 2
jb 0x14006bd1d
mov edx, 0x11
jmp 0x14006bbb0
mov r8d, ebx
cmp dword [rsi + 0x2c], ebx
setne r8b
lea rdx, [0x140004c78]
mov rcx, r14
call fcn.1400761b0
test eax, eax
jne 0x14006bc65
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x14006bd1d
test byte [rcx + 0x1c], dil
je 0x14006bd1d
cmp byte [rcx + 0x19], 2
jb 0x14006bd1d
mov edx, 0x12
jmp 0x14006bbb0
cmp dword [rsi + 0x2c], ebx
jne 0x14006bcb3
mov r8d, dword [rsi + 0x28]
lea rdx, [0x140004c90]
mov rcx, r14
call fcn.1400761b0
test eax, eax
jne 0x14006bd17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x14006bd1d
test byte [rcx + 0x1c], dil
je 0x14006bd1d
cmp byte [rcx + 0x19], 2
jb 0x14006bd1d
mov edx, 0x13
jmp 0x14006bbb0
cmp qword [rsi + 0x20], 8
jb 0x14006bcc0
mov r9, qword [rsi + 8]
jmp 0x14006bcc4
lea r9, [rsi + 8]
lea r8, [0x140004ca8]
mov edx, 1
mov rcx, r14
call fcn.140076274
test eax, eax
jne 0x14006bd17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x14006bd15
test byte [rcx + 0x1c], dil
je 0x14006bd15
cmp byte [rcx + 0x19], 2
jb 0x14006bd15
mov edx, 0x14
mov r9d, eax
lea r8, [0x140004d30]
mov rcx, qword [rcx + 0x10]
call fcn.14000e63c
nop
jmp 0x14006bd1d
jmp 0x14006bd1d
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140072df4
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov r14, rcx
mov dword [rsp + 0x68], ebx
mov rcx, qword [str.___t_]
lea r12, str.___t_
lea r13, [0x140005238]
cmp rcx, r12
je 0x140072e44
test byte [rcx + 0x1c], 2
je 0x140072e44
cmp byte [rcx + 0x19], 5
jb 0x140072e44
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xa]
mov r8, r13
call fcn.14000e618
test rdi, rdi
jne 0x140072e53
mov eax, 0x57
jmp 0x140072fd5
cmp dword [rdi], 0x14
jne 0x140072e49
lea rdx, [rsp + 0x68]
mov rcx, r14
mov dword [rdi + 4], ebx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x140072eb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140072fd3
test byte [rcx + 0x1c], 2
je 0x140072fd3
cmp byte [rcx + 0x19], 2
jb 0x140072fd3
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov r9d, eax
mov r8, r13
call fcn.14000e63c
jmp 0x140072fd3
mov rcx, rsi
call fcn.140072274
mov rbp, rax
test rax, rax
jne 0x140072ef8
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140072eee
test byte [rcx + 0x1c], 2
je 0x140072eee
cmp byte [rcx + 0x19], 2
jb 0x140072eee
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0xc]
mov r9d, esi
mov r8, r13
call fcn.14000e63c
mov eax, 8
jmp 0x140072fd5
mov edx, dword [rsp + 0x68]
mov r9, rax
mov r8d, esi
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140072f42
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140072fcb
test byte [rcx + 0x1c], 2
je 0x140072fcb
cmp byte [rcx + 0x19], 2
jb 0x140072fcb
mov edx, 0xd
jmp 0x140072f85
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x78]
lea rdx, [0x140005158]
mov rcx, rbp
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x140072f96
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140072fcb
test byte [rcx + 0x1c], 2
je 0x140072fcb
cmp byte [rcx + 0x19], 2
jb 0x140072fcb
mov edx, 0xe
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
jmp 0x140072fcb
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + 0x1c]
and eax, 1
mov dword [rdi + 0x10], eax
movzx eax, word [rcx + 0x12]
mov word [rdi + 8], ax
movzx eax, word [rcx + 0x10]
mov word [rdi + 0xa], ax
movzx eax, word [rcx + 0x16]
mov word [rdi + 0xc], ax
movzx eax, word [rcx + 0x14]
mov dword [rdi + 4], 1
mov word [rdi + 0xe], ax
mov rcx, rbp
call fcn.140072328
mov eax, ebx
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140072fec
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x14007303b
test byte [rcx + 0x1c], 2
je 0x14007303b
cmp byte [rcx + 0x19], 5
jb 0x14007303b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140005238]
mov edx, 0xf
call fcn.14000e618
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ecx, ecx
test eax, eax
jne 0x1400730a7
mov rax, qword [str.___t_]
cmp rax, rdi
je 0x1400730a3
test byte [rax + 0x1c], 2
je 0x1400730a3
cmp byte [rax + 0x19], 2
jb 0x1400730a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140005238]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x10
call fcn.14000e63c
xor eax, eax
jmp 0x1400730b1
cmp dword [rsp + 0x24], 6
setae cl
mov eax, ecx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140088640
add rsp, 0x150
pop rdi
ret
Function at 0x14007365c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [str.___t_]
lea r14, str.___t_
lea r15, [0x140005358]
cmp rcx, r14
je 0x1400736af
test byte [rcx + 0x1c], 2
je 0x1400736af
cmp byte [rcx + 0x19], 5
jb 0x1400736af
mov rcx, qword [rcx + 0x10]
mov edx, 0x17
mov r8, r15
call fcn.14000e618
mov edx, 0x25
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcschr]
mov rcx, rsi
test rax, rax
jne 0x14007370b
call fcn.1400730d0
test rax, rax
jne 0x1400737e9
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400737e7
test byte [rcx + 0x1c], 2
je 0x1400737e7
cmp byte [rcx + 0x19], 2
jb 0x1400737e7
lea edx, [rax + 0x18]
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.14000e618
jmp 0x1400737e7
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, eax
test eax, eax
jne 0x14007375d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400737e7
test byte [rcx + 0x1c], 2
je 0x1400737e7
cmp byte [rcx + 0x19], 2
jb 0x1400737e7
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x19]
mov r9d, eax
mov r8, r15
call fcn.14000e63c
jmp 0x1400737e7
inc ebx
mov ecx, ebx
add rcx, rcx
call fcn.140072274
mov rdi, rax
test rax, rax
jne 0x140073791
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400737e7
test byte [rcx + 0x1c], 2
je 0x1400737e7
cmp byte [rcx + 0x19], 2
jb 0x1400737e7
lea edx, [rax + 0x1a]
jmp 0x1400736fa
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400737ad
cmp eax, ebx
ja 0x1400737ad
mov rax, rdi
jmp 0x1400737e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400737df
test byte [rcx + 0x1c], 2
je 0x1400737df
cmp byte [rcx + 0x19], 2
jb 0x1400737df
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b
mov r9d, eax
mov r8, r15
call fcn.14000e63c
mov rcx, rdi
call fcn.140072328
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x14007380c
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbp, rdx
mov r14, r8
mov rdi, rcx
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea esi, [rax - 1]
cmp esi, 0x103
ja 0x140073938
lea r8, [rsp + 0x30]
mov r9d, esi
mov edx, 1
mov ecx, 0x400
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x140073938
xor ebx, ebx
mov r10d, 0x7fffffff
mov r9d, ebx
mov eax, ebx
test rdi, rdi
je 0x1400738bd
mov edx, r10d
mov rcx, rdi
mov r8d, ebx
cmp word [rcx], bx
je 0x1400738ab
add rcx, 2
dec rdx
jne 0x14007389d
mov ecx, 0x80070057
test rdx, rdx
je 0x1400738c2
mov r9, r10
sub r9, rdx
jmp 0x1400738c5
mov ecx, 0x80070057
mov r8d, ecx
test r8d, r8d
js 0x140073938
test rbp, rbp
je 0x1400738ee
mov rdx, r10
mov rax, rbp
mov r8d, ebx
cmp word [rax], bx
je 0x1400738e6
add rax, 2
dec rdx
jne 0x1400738d8
test rdx, rdx
jne 0x140073930
mov rax, rbx
mov r8d, ecx
test r8d, r8d
js 0x140073938
mov r8d, esi
sub rax, r8
add rax, r9
cmp rax, 0x104
jae 0x140073938
lea r8, [rdi + rsi*2]
mov r9, rbp
mov edx, 0x104
mov qword [rsp + 0x20], r8
lea r8, [0x140002a68]
mov rcx, r14
call fcn.14001000c
test eax, eax
setns bl
mov eax, ebx
jmp 0x14007393a
mov rax, r10
sub rax, rdx
jmp 0x1400738f1
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140088640
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret