Function at 0x140041770
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 [0x14008b180]
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 0x140041bb4
xor edx, edx
lea rcx, [rbp - 0x60]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test eax, eax
je 0x140041bb4
mov ecx, ebx
lea rdx, [0x140070b80]
call fcn.140067430
mov r15, rax
test rax, rax
je 0x140041bb4
mov r9, rax
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x60]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x140041bac
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x30]
lea rdx, [0x140071130]
mov rcx, r15
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x140041bac
cmp dword [rsp + 0x58], r12d
je 0x140041bac
mov rbx, qword [rsp + 0x30]
cmp dword [rbx], 0xfeef04bd
jne 0x140041bac
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 0x140041922
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x140041973
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 0x14004198d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140022d00
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x1400419bc
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 0x1400419d0
mov r9b, 0x2e
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x38]
call fcn.1400229e0
lea rax, [rsp + 0x70]
mov r14, rsi
nop dword [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x1400419e0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x140041a31
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 0x140041a4b
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140022d00
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x140041a7a
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 0x140041a8e
mov r9b, 0x2e
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x38]
call fcn.1400229e0
lea rax, [rbp - 0x80]
mov r14, rsi
inc r14
cmp byte [rax + r14], 0
jne 0x140041a95
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x140041ae5
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 0x140041afe
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140022d00
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x140041b2d
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 0x140041b41
mov r9b, 0x2e
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x38]
call fcn.1400229e0
lea rax, [rbp - 0x70]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140041b45
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140041b93
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 0x140041bac
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140022d00
mov rcx, r15
call fcn.140067440
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.1400673e0
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