Function at 0x18000b0b0
Capabilities:
Get file version info
Identify system language via api

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x328], rbx
mov rax, qword [0x180050b58]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r12, r8
mov qword [rbp - 0x68], r8
mov r15, rdx
mov qword [rsp + 0x68], rdx
mov r13, rcx
mov qword [rbp - 0x58], r8
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rcx, [0x1800509f0]
mov rax, qword [0x1800509f0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, str.VarFileInfoTranslation
test rdx, 0xffffffffffff0000
jne 0x18000b155
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.180001260
test rax, rax
je 0x18000b166
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800057c0
jmp 0x18000b166
mov r8d, 0x18
lea rcx, [rsp + 0x48]
call fcn.180005490
nop
lea rcx, [0x1800509f0]
mov rax, qword [0x1800509f0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, str.StringFileInfo040904e4_
test rdx, 0xffffffffffff0000
jne 0x18000b1b3
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.180001260
test rax, rax
je 0x18000b1c4
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800057c0
jmp 0x18000b1c4
mov r8d, 0x19
lea rcx, [rsp + 0x40]
call fcn.180005490
nop
mov rax, qword [r12]
or rsi, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
jne 0x18000b208
lea rcx, [rsp + 0x60]
call fcn.180007050
nop
mov rdx, rax
mov rcx, r12
call fcn.180007670
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b208
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor edx, edx
mov rcx, qword [r12]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
jne 0x18000b28d
lea rdx, [0x180038c44]
mov rcx, r13
call fcn.18000a050
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b249
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b269
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [r12]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x18000b285
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, r13
jmp 0x18000b6c1
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.180008980
nop
mov r14, qword [rsp + 0x78]
mov r9, r14
mov r8d, edi
xor edx, edx
mov rcx, qword [r12]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x18000b325
lea rdx, [0x180038c44]
mov rcx, r13
call fcn.18000a050
nop
test r14, r14
je 0x18000b2e0
mov rcx, r14
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b300
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b320
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x18000b269
mov qword [rsp + 0x50], rbx
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x18000b378
cmp dword [rsp + 0x30], 4
jne 0x18000b378
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
mov eax, ecx
shr eax, 0x10
movzx r9d, cx
mov dword [rsp + 0x20], eax
lea r8, str.StringFileInfo_04X_04X_
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCR100.dll_swprintf_s]
jmp 0x18000b398
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx r9d, ax
lea r8, str.StringFileInfo_04X04B0_
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCR100.dll_swprintf_s]
lea rcx, [0x1800509f0]
mov rax, qword [0x1800509f0]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x50]
lea rax, [rbp - 0x50]
test rax, 0xffffffffffff0000
jne 0x18000b3ec
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.180001260
test rax, rax
je 0x18000b4f1
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1800057c0
jmp 0x18000b4f1
xor eax, eax
mov rcx, rsi
lea rdi, [rbp - 0x50]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x18000b467
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x18000b4f1
cmp dword [rdx + 0x10], eax
jge 0x18000b435
cmp dword [rbx - 0xc], eax
jge 0x18000b42a
mov ecx, 0x80070057
call fcn.1800011a0
int3
mov dword [rbx - 0x10], eax
mov word [rbx], ax
jmp 0x18000b4f1
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b44b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0x78]
jmp 0x18000b4f1
mov r15d, dword [rbx - 0x10]
lea r12, [rbp - 0x50]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x18000b484
mov ecx, 0x80070057
call fcn.1800011a0
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x18000b4a6
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.1800023c0
mov rbx, qword [rsp + 0x38]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x18000b4cb
lea r8, [rbx + r12*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x18000b4d5
lea r8, [rbp - 0x50]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp edi, dword [rbx - 0xc]
jg 0x18000b6b6
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r15 + rbx], ax
mov r12, qword [rbp - 0x68]
mov r15, qword [rsp + 0x68]
mov rdx, qword [r15]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.1800058a0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x38]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x18000b5fb
mov r8, r15
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.180007200
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rdx, qword [rax]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
sete dil
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b56d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test dil, dil
je 0x18000b5fb
lea rdx, [0x180038c44]
mov rcx, r13
call fcn.18000a050
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b5a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18000b5b6
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b5d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b5f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x18000b269
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.18000a050
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xffffffffffffffe8
call fcn.180002420
add rax, 0x18
mov qword [r13], rax
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b641
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b661
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18000b671
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b691
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b6b1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x18000b269
mov ecx, 0x80070057
call fcn.1800011a0
nop
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18002f870
mov rbx, qword [rsp + 0x328]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret