joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400363e0
Capabilities:
Get disk information

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x298
mov rax, qword [0x140064270]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x2b0]
movzx eax, word [rax]
cmp eax, 0x5c
je 0x140036440
mov edx, dword [rsp + 0x2c0]
mov r8, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x2b8]
call fcn.140010c78
mov eax, 1
jmp 0x140036674
mov qword [rsp + 0x268], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x140036468
xor eax, eax
jmp 0x140036674
mov eax, dword [rsp + 0x38]
add eax, 1
mov ecx, eax
shl rcx, 1
call fcn.1400104f8
mov qword [rsp + 0x268], rax
mov ecx, dword [rsp + 0x38]
add ecx, 1
mov rdx, qword [rsp + 0x268]
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [rsp + 0x260], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x260], eax
ja 0x1400364b4
cmp dword [rsp + 0x260], 0
jne 0x1400364c8
mov rcx, qword [rsp + 0x268]
call fcn.1400102e4
xor eax, eax
jmp 0x140036674
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x48]
lea rsi, [0x140053264]
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
xor eax, eax
mov word [rsp + 0x50], ax
lea rdi, [rsp + 0x52]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov byte [rsp + 0x270], 0
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov word [rsp + 0x48], ax
mov r8d, 0x104
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1400365fd
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov dword [rsp + 0x278], ecx
cmp dword [rsp + 0x278], 0x104
jae 0x1400365fd
mov r8d, dword [rsp + 0x278]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2b0]
call fcn.140010450
test eax, eax
jne 0x14003658b
mov dword [rsp + 0x27c], 1
jmp 0x140036596
mov dword [rsp + 0x27c], 0
movzx eax, byte [rsp + 0x27c]
mov byte [rsp + 0x270], al
movzx eax, byte [rsp + 0x270]
test eax, eax
je 0x1400365fd
mov ecx, dword [rsp + 0x278]
mov rax, qword [rsp + 0x2b0]
lea rcx, [rax + rcx*2]
mov eax, dword [rsp + 0x2c0]
sub eax, 1
mov r8d, eax
mov edx, dword [rsp + 0x2c0]
mov qword [rsp + 0x28], rcx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, str._s_s
mov rcx, qword [rsp + 0x2b8]
call fcn.14000fdc0
jmp 0x14003665f
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov dword [rsp + 0x274], ecx
cmp dword [rsp + 0x274], 0
jne 0x140036628
jmp 0x14003665f
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rax, qword [rsp + 0x30]
lea rax, [rax + rcx*2 + 2]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
test eax, eax
jne 0x140036505
mov rcx, qword [rsp + 0x268]
call fcn.1400102e4
movzx eax, byte [rsp + 0x270]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14000fd20
add rsp, 0x298
pop rdi
pop rsi
ret
Function at 0x1400368b0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov byte [rsp + 0x24], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14003690b
xor al, al
jmp 0x140036a61
mov ecx, dword [rsp + 0x30]
call fcn.1400104f8
mov qword [rsp + 0x28], rax
mov r9, qword [rsp + 0x28]
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x14003693d
jmp 0x140036a4b
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x38]
lea rdx, [0x140052db4]
mov rcx, qword [rsp + 0x28]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140036966
jmp 0x140036a4b
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 8]
shr rcx, 0x10
and rcx, 0xffff
mov rax, qword [rsp + 0x68]
mov word [rax], cx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 8]
and rcx, 0xffff
mov rax, qword [rsp + 0x68]
mov word [rax + 2], cx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
shr rcx, 0x10
and rcx, 0xffff
mov rax, qword [rsp + 0x68]
mov word [rax + 4], cx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
and rcx, 0xffff
mov rax, qword [rsp + 0x68]
mov word [rax + 6], cx
cmp qword [rsp + 0x70], 0
je 0x140036a46
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x10]
shr rcx, 0x10
and rcx, 0xffff
mov rax, qword [rsp + 0x70]
mov word [rax], cx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x10]
and rcx, 0xffff
mov rax, qword [rsp + 0x70]
mov word [rax + 2], cx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x14]
shr rcx, 0x10
and rcx, 0xffff
mov rax, qword [rsp + 0x70]
mov word [rax + 4], cx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x14]
and rcx, 0xffff
mov rax, qword [rsp + 0x70]
mov word [rax + 6], cx
mov byte [rsp + 0x24], 1
cmp qword [rsp + 0x28], 0
je 0x140036a5d
mov rcx, qword [rsp + 0x28]
call fcn.1400102e4
mov al, byte [rsp + 0x24]
add rsp, 0x58
ret
Function at 0x140036a70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
mov rax, qword [0x140064270]
xor rax, rsp
mov qword [rsp + 0x248], rax
xor eax, eax
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140036ac4
xor al, al
jmp 0x140036bc6
lea rdx, [0x140053010]
lea rcx, [rsp + 0x30]
call fcn.140003544
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call fcn.1400368b0
movzx eax, al
test eax, eax
jne 0x140036afa
xor al, al
jmp 0x140036bc6
mov rax, qword [rsp + 0x260]
mov dword [rax], 0x114
movzx ecx, word [rsp + 0x240]
mov rax, qword [rsp + 0x260]
mov dword [rax + 4], ecx
movzx ecx, word [rsp + 0x242]
mov rax, qword [rsp + 0x260]
mov dword [rax + 8], ecx
movzx ecx, word [rsp + 0x244]
mov rax, qword [rsp + 0x260]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x260]
mov dword [rax + 0x10], 2
xor ecx, ecx
mov rax, qword [rsp + 0x260]
mov word [rax + 0x14], cx
cmp qword [rsp + 0x268], 0
je 0x140036bc4
mov rax, qword [rsp + 0x268]
mov dword [rax], 0x114
movzx ecx, word [rsp + 0x28]
mov rax, qword [rsp + 0x268]
mov dword [rax + 4], ecx
movzx ecx, word [rsp + 0x2a]
mov rax, qword [rsp + 0x268]
mov dword [rax + 8], ecx
movzx ecx, word [rsp + 0x2c]
mov rax, qword [rsp + 0x268]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x268]
mov dword [rax + 0x10], 2
xor ecx, ecx
mov rax, qword [rsp + 0x268]
mov word [rax + 0x14], cx
mov al, 1
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14000fd20
add rsp, 0x250
pop rdi
ret
Function at 0x140036f90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x6b8
mov qword [rsp + 0x698], 0xfffffffffffffffe
mov rax, qword [0x140064270]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
lea rcx, [rsp + 0x190]
call fcn.14003a5d0
nop
mov edx, 0x104
lea rcx, [rsp + 0x190]
call fcn.14003a4e0
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x140037086
lea rcx, [rsp + 0x190]
call fcn.14003a590
mov edx, 0x104
lea rcx, [rsp + 0x190]
call fcn.14003a4e0
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x140037086
lea rcx, [rsp + 0x190]
call fcn.14003a590
lea rdx, [0x1400533e0]
mov rcx, qword [rsp + 0x6c0]
call fcn.1400010b4
mov rcx, rax
call fcn.140004608
mov byte [rsp + 0x550], al
lea rcx, [rsp + 0x190]
call fcn.14003a260
mov al, byte [rsp + 0x550]
jmp 0x140037228
lea rcx, [rsp + 0x190]
call fcn.14003a9a0
lea rcx, [rsp + 0x190]
call fcn.14003a0f0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14003d780
nop
call fcn.140036c70
movzx eax, al
test eax, eax
je 0x1400371db
lea rcx, [rsp + 0x50]
call fcn.14003cc20
mov rdx, rax
lea rcx, [rsp + 0x2d0]
call fcn.14003acc0
nop
lea rdx, [0x1400533f8]
lea rcx, [rsp + 0x2d0]
call fcn.14003a1f0
movzx eax, al
test eax, eax
je 0x1400371ce
lea rdx, [0x140053420]
lea rcx, [rsp + 0x2d0]
call fcn.14003ac60
lea rcx, [rsp + 0x410]
call fcn.14003d9e0
nop
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x50]
call fcn.14003dca0
lea rcx, [rsp + 0x2d0]
call fcn.14003a0f0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x558]
call fcn.14003d780
lea rdx, [rsp + 0x558]
lea rcx, [rsp + 0x410]
call fcn.14003d620
lea rcx, [rsp + 0x558]
call fcn.14003cdf0
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x50]
call fcn.14003d5f0
nop
lea rcx, [rsp + 0x410]
call fcn.14003cdf0
nop
lea rcx, [rsp + 0x2d0]
call fcn.14003a260
lea rcx, [rsp + 0x50]
call fcn.14003cdb0
mov rdx, rax
mov rcx, qword [rsp + 0x6c8]
call fcn.14003ac60
mov rcx, qword [rsp + 0x6c0]
call fcn.1400010b0
mov byte [rsp + 0x690], al
lea rcx, [rsp + 0x50]
call fcn.14003cdf0
nop
lea rcx, [rsp + 0x190]
call fcn.14003a260
mov al, byte [rsp + 0x690]
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.14000fd20
add rsp, 0x6b8
ret
Function at 0x1400377f0
Capabilities:
Query or enumerate registry key

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov edx, 0x400
mov rcx, qword [rsp + 0x50]
call fcn.14003a4e0
mov qword [rsp + 0x28], rax
mov r9d, 0x3ff
mov r8, qword [rsp + 0x28]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14003789d
mov rcx, qword [rsp + 0x50]
call fcn.14003a9a0
mov rcx, qword [rsp + 0x50]
call fcn.14003a590
mov rcx, qword [rsp + 0x40]
add rcx, 0x18
call fcn.14003a130
mov rbx, rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.14003bc80
lea rdx, [0x140054690]
mov rcx, rax
call fcn.14003ba10
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x1400378b1
mov rcx, qword [rsp + 0x50]
call fcn.14003a9a0
mov rcx, qword [rsp + 0x48]
call fcn.1400010b0
add rsp, 0x30
pop rbx
ret

Function at 0x140037aa0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140037bca
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x140037b03
cmp dword [rsp + 0x20], 2
jne 0x140037b03
mov rcx, qword [rsp + 0x48]
call fcn.1400010b0
jmp 0x140037bd4
cmp qword [rsp + 0x58], 0
je 0x140037b17
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
test eax, eax
jne 0x140037b5c
mov rcx, qword [rsp + 0x40]
add rcx, 0x18
call fcn.14003a130
mov rbx, rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.14003bc80
lea rdx, [0x140054620]
mov rcx, rax
call fcn.14003ba10
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x140037bd4
mov rcx, qword [rsp + 0x40]
add rcx, 0x18
call fcn.14003a130
mov rbx, rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.14003bc80
lea rdx, [0x140054638]
mov rcx, rax
call fcn.14003ba10
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
lea rdx, [0x140054650]
mov rcx, rax
call fcn.14003ba10
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.14003ba10
lea rdx, [0x140054658]
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x140037bd4
mov rcx, qword [rsp + 0x48]
call fcn.1400010b0
add rsp, 0x30
pop rbx
ret
Function at 0x140037be0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x78]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140037cfd
cmp qword [rsp + 0x70], 0
je 0x140037c4a
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
test eax, eax
jne 0x140037c8f
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
call fcn.14003a130
mov rbx, rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.14003bc80
lea rdx, [0x1400545a0]
mov rcx, rax
call fcn.14003ba10
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x140037d07
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
call fcn.14003a130
mov rbx, rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.14003bc80
lea rdx, [0x1400545b8]
mov rcx, rax
call fcn.14003ba10
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
lea rdx, [0x1400545d0]
mov rcx, rax
call fcn.14003ba10
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.14003ba10
lea rdx, [0x1400545d8]
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x140037d07
mov rcx, qword [rsp + 0x58]
call fcn.1400010b0
add rsp, 0x40
pop rbx
ret
Function at 0x140037d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140037e49
cmp qword [rsp + 0x70], 0
je 0x140037d9f
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
test eax, eax
jne 0x140037de7
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
call fcn.14003a130
mov rbx, rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.14003bc80
lea rdx, [0x140054550]
mov rcx, rax
call fcn.14003ba10
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x140037f19
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
call fcn.14003a130
mov rbx, rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.14003bc80
lea rdx, [0x140054560]
mov rcx, rax
call fcn.14003ba10
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
lea rdx, [0x14005349c]
mov rcx, rax
call fcn.14003ba10
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x140037f19
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x34], eax
je 0x140037f03
cmp qword [rsp + 0x70], 0
je 0x140037e6b
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
test eax, eax
jne 0x140037ea4
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
call fcn.14003a130
mov rbx, rax
lea rdx, [0x140054570]
mov rcx, qword [rsp + 0x58]
call fcn.1400010b4
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x140037f19
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
call fcn.14003a130
mov rbx, rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.14003bc80
lea rdx, [0x140054588]
mov rcx, rax
call fcn.14003ba10
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
lea rdx, [0x140053554]
mov rcx, rax
call fcn.14003ba10
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x140037f19
mov ecx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x68]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x58]
call fcn.1400010b0
add rsp, 0x40
pop rbx
ret
Function at 0x140038e00
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x480
mov rax, qword [0x140064270]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov byte [rsp + 0x2c], 0
xor eax, eax
mov word [rsp + 0x260], ax
lea rdi, [rsp + 0x262]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x260]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140038e65
xor al, al
jmp 0x140038ffa
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x28], 0
xor eax, eax
mov word [rsp + 0x50], ax
lea rdi, [rsp + 0x52]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x260]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140038ec8
xor al, al
jmp 0x140038ffa
mov ecx, dword [rsp + 0x30]
call fcn.1400104f8
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140038ee5
xor al, al
jmp 0x140038ffa
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
mov edx, dword [rsp + 0x34]
lea rcx, [rsp + 0x260]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140038f0e
jmp 0x140038fe4
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rsp + 0x38]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140038f37
jmp 0x140038fe4
mov eax, dword [rsp + 0x28]
cmp rax, 4
jae 0x140038f4b
jmp 0x140038fe4
mov rax, qword [rsp + 0x20]
movzx r9d, word [rax + 2]
mov rax, qword [rsp + 0x20]
movzx r8d, word [rax]
lea rdx, str.StringFileInfo_04x_04xCompanyName
lea rcx, [rsp + 0x50]
call fcn.14000b190
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140038f90
jmp 0x140038fe4
mov eax, dword [rsp + 0x28]
cmp rax, 2
ja 0x140038f9e
jmp 0x140038fe4
mov eax, dword [rsp + 0x28]
sub eax, 1
mov ecx, eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + rcx*2]
test eax, eax
jne 0x140038fc8
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x498]
call fcn.14003abe0
jmp 0x140038fdf
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x498]
call fcn.14003ab40
mov byte [rsp + 0x2c], 1
cmp qword [rsp + 0x38], 0
je 0x140038ff6
mov rcx, qword [rsp + 0x38]
call fcn.1400102e4
mov al, byte [rsp + 0x2c]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14000fd20
add rsp, 0x480
pop rdi
ret
Function at 0x14003b630
Capabilities:
Create thread

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov byte [rax + 8], 0
mov edx, 0x20808
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14003b676
jmp 0x14003b7b0
mov rdx, qword [rsp + 0x30]
mov ecx, 0x20808
call fcn.1400010d4
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14003b6f5
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x88]
mov qword [rcx], rax
cmp qword [rsp + 0x60], 0
jne 0x14003b6c3
lea rax, [0x140059020]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
add rcx, 8
mov r8, qword [rsp + 0x60]
mov edx, 0x400
call fcn.140010c78
xor ecx, ecx
mov rax, qword [rsp + 0x58]
mov word [rax + 0x808], cx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
jmp 0x14003b6fe
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
add rdx, 0x808
lea rax, [0x140055820]
mov qword [rsp + 0x28], rax
lea rax, [0x14005582c]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rsp + 0x98]
mov r8d, 0x10000
mov rcx, qword [rsp + 0x80]
call fcn.14003b0e0
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x808]
test eax, eax
jne 0x14003b764
jmp 0x14003b7a5
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x38]
lea r8, [0x14003b020]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14003b7a3
jmp 0x14003b7a5
jmp 0x14003b7b0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
add rsp, 0x78
ret

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.14003a130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14003cc9b
xor al, al
jmp 0x14003ccbc
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
jne 0x14003ccb0
mov dword [rsp + 0x24], 1
jmp 0x14003ccb8
mov dword [rsp + 0x24], 0
mov al, byte [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x14003d350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2e8
mov rax, qword [0x140064270]
xor rax, rsp
mov qword [rsp + 0x2d8], rax
mov rcx, qword [rsp + 0x2f0]
call fcn.14003a130
movzx eax, word [rax + 2]
cmp eax, 0x3a
jne 0x14003d460
mov rcx, qword [rsp + 0x2f0]
call fcn.14003a130
movzx eax, word [rax + 4]
test eax, eax
jne 0x14003d460
mov rdx, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x180]
call fcn.14003ad30
lea rdx, [0x140054534]
lea rcx, [rsp + 0x180]
call fcn.14003a880
lea rcx, [rsp + 0x180]
call fcn.14003a130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x2c0], eax
cmp dword [rsp + 0x2c0], 0xffffffff
jne 0x14003d412
mov byte [rsp + 0x2c4], 0
lea rcx, [rsp + 0x180]
call fcn.14003a260
mov al, byte [rsp + 0x2c4]
jmp 0x14003d5ca
mov eax, dword [rsp + 0x2c0]
and eax, 0x10
test eax, eax
je 0x14003d42d
mov dword [rsp + 0x2cc], 1
jmp 0x14003d438
mov dword [rsp + 0x2cc], 0
movzx eax, byte [rsp + 0x2cc]
mov byte [rsp + 0x2c5], al
lea rcx, [rsp + 0x180]
call fcn.14003a260
mov al, byte [rsp + 0x2c5]
jmp 0x14003d5ca
mov rdx, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x30]
call fcn.14003ad30
mov rcx, qword [rsp + 0x2f0]
call fcn.14003a130
movzx eax, word [rax + 2]
cmp eax, 0x3a
jne 0x14003d4b3
mov rcx, qword [rsp + 0x2f0]
call fcn.14003a130
movzx eax, word [rax + 4]
cmp eax, 0x5c
jne 0x14003d4b3
mov rcx, qword [rsp + 0x2f0]
call fcn.14003a130
movzx eax, word [rax + 6]
test eax, eax
je 0x14003d4e6
mov rcx, qword [rsp + 0x2f0]
call fcn.14003a2f0
movzx eax, ax
cmp eax, 0x5c
jne 0x14003d4e6
mov rcx, qword [rsp + 0x2f0]
call fcn.140039ee0
mov rdx, rax
sub rdx, 1
lea rcx, [rsp + 0x30]
call fcn.14003a4a0
lea rcx, [rsp + 0x30]
call fcn.14003a130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x170], eax
cmp dword [rsp + 0x170], 0xffffffff
jne 0x14003d528
mov byte [rsp + 0x2c6], 0
lea rcx, [rsp + 0x30]
call fcn.14003a260
mov al, byte [rsp + 0x2c6]
jmp 0x14003d5ca
mov rcx, qword [rsp + 0x2f0]
call fcn.14003a130
movzx eax, word [rax + 2]
cmp eax, 0x3a
jne 0x14003d584
mov rcx, qword [rsp + 0x2f0]
call fcn.14003a130
movzx eax, word [rax + 4]
cmp eax, 0x5c
jne 0x14003d584
mov rcx, qword [rsp + 0x2f0]
call fcn.14003a130
movzx eax, word [rax + 6]
test eax, eax
jne 0x14003d584
mov byte [rsp + 0x2c7], 1
lea rcx, [rsp + 0x30]
call fcn.14003a260
mov al, byte [rsp + 0x2c7]
jmp 0x14003d5ca
mov eax, dword [rsp + 0x170]
and eax, 0x10
test eax, eax
je 0x14003d59f
mov dword [rsp + 0x2d0], 1
jmp 0x14003d5aa
mov dword [rsp + 0x2d0], 0
movzx eax, byte [rsp + 0x2d0]
mov byte [rsp + 0x2c8], al
lea rcx, [rsp + 0x30]
call fcn.14003a260
mov al, byte [rsp + 0x2c8]
mov rcx, qword [rsp + 0x2d8]
xor rcx, rsp
call fcn.14000fd20
add rsp, 0x2e8
ret