Function at 0x140002140
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14002e010]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r12d, r12d
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r12b
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp - 0x60]
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
dec eax
cmp eax, 0x102
ja 0x140002562
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test eax, eax
je 0x140002562
mov ecx, ebx
lea rdx, [0x14000b5e0]
call fcn.1400099d8
mov r15, rax
test rax, rax
je 0x140002562
mov r9, rax
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x14000255a
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x30]
lea rdx, [0x14000b7fc]
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x14000255a
cmp dword [rsp + 0x58], r12d
je 0x14000255a
mov rbx, qword [rsp + 0x30]
cmp dword [rbx], 0xfeef04bd
jne 0x14000255a
xor eax, eax
mov qword [rsp + 0x60], rax
mov word [rsp + 0x68], ax
movzx ecx, word [rbx + 0xa]
mov r9d, 0xa
mov r8d, r9d
lea rdx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
xor eax, eax
mov qword [rsp + 0x70], rax
mov word [rsp + 0x78], ax
movzx ecx, word [rbx + 8]
mov r9d, 0xa
mov r8d, r9d
lea rdx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
xor eax, eax
mov qword [rbp - 0x80], rax
mov word [rbp - 0x78], ax
movzx ecx, word [rbx + 0xe]
mov r9d, 0xa
mov r8d, r9d
lea rdx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
xor eax, eax
mov qword [rbp - 0x70], rax
mov word [rbp - 0x68], ax
movzx ecx, word [rbx + 0xc]
mov r9d, 0xa
mov r8d, r9d
lea rdx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
lea rax, [rsp + 0x60]
mov rsi, 0xffffffffffffffff
mov r14, rsi
inc r14
cmp byte [rax + r14], 0
jne 0x1400022f5
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x140002346
lea rax, [r14 + rcx]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8, r14
lea rdx, [rsp + 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x14000235d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140005020
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14000238c
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x2e
jmp 0x140002399
mov r9b, 0x2e
lea rcx, [rsp + 0x38]
call fcn.140004d00
lea rax, [rsp + 0x70]
mov r14, rsi
inc r14
cmp byte [rax + r14], 0
jne 0x1400023a1
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1400023f2
lea rax, [r14 + rcx]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8, r14
lea rdx, [rsp + 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x140002409
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140005020
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x140002438
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x2e
jmp 0x140002445
mov r9b, 0x2e
lea rcx, [rsp + 0x38]
call fcn.140004d00
lea rax, [rbp - 0x80]
mov r14, rsi
nop dword [rax]
inc r14
cmp byte [rax + r14], 0
jne 0x140002450
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1400024a0
lea rax, [rcx + r14]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8, r14
lea rdx, [rbp - 0x80]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x1400024b6
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x80]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140005020
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x1400024e5
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x2e
jmp 0x1400024f2
mov r9b, 0x2e
lea rcx, [rsp + 0x38]
call fcn.140004d00
lea rax, [rbp - 0x70]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400024f6
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140002544
lea rax, [rcx + rsi]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8, rsi
lea rdx, [rbp - 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14000255a
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x70]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140005020
mov rcx, r15
call fcn.140009330
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdi + 0x10], xmm1
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140009310
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret