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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x20]
push eax
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x1001c8e1
push esi
call fcn.1008680d
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x1001c8e1
push eax
push esi
push dword [esp + 0x28]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1001c8ca
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
push 0x100b0dec
push dword [esp + 0x20]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1001c70c
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
test edx, edx
je 0x1001c6d7
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x1001c6e3
mov eax, dword [ecx + 0xc]
mov dword [edx], eax
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x1001c6ef
mov eax, dword [ecx + 0x10]
mov dword [edx], eax
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1001c6fb
mov eax, dword [ecx + 0x14]
mov dword [edx], eax
movzx eax, word [ecx + 0xa]
imul edx, eax, 0x64
movzx eax, word [ecx + 8]
add edx, eax
mov dword [esp + 0x1c], edx
cmp dword [ebp + 0x1c], 0
mov edi, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x30]
mov esi, dword [ebp + 0x28]
jne 0x1001c731
cmp dword [ebp + 0x20], 0
jne 0x1001c731
test esi, esi
jne 0x1001c731
test ebx, ebx
jne 0x1001c731
test edi, edi
je 0x1001c8ca
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
push str.VarFileInfoTranslation
push dword [esp + 0x20]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1001c767
cmp dword [esp + 0x18], 4
jb 0x1001c767
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
jmp 0x1001c769
xor ecx, ecx
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1001c772
mov dword [eax], ecx
cmp dword [ebp + 0x20], 0
jne 0x1001c788
test esi, esi
jne 0x1001c788
test ebx, ebx
jne 0x1001c788
test edi, edi
je 0x1001c8ca
call dword [sym.imp.KERNEL32.dll_GetACP]
movzx esi, ax
shl esi, 0x10
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
lea edx, [esp + 0x48]
or eax, esi
mov dword [esp + 0x38], 0x4b00409
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov ecx, eax
mov dword [esp + 0x3c], 0x4e40409
mov dword [esp + 0x40], 0x1b50409
mov dword [esp + 0x44], 0x409
mov dword [esp + 0x60], eax
mov dword [esp + 0x10], eax
cmp ecx, edx
je 0x1001c8ca
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x1001c838
push dword [ebp + 0x24]
lea ecx, [esp + 0x4c]
push eax
push 0x100ae664
call fcn.1001c8f0
movzx eax, al
neg eax
sbb eax, eax
not eax
and dword [ebp + 0x20], eax
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x1001c85f
push dword [ebp + 0x2c]
lea ecx, [esp + 0x4c]
push esi
push 0x100ae67c
call fcn.1001c8f0
movzx eax, al
neg eax
sbb eax, eax
not eax
and esi, eax
mov dword [ebp + 0x28], esi
test ebx, ebx
je 0x1001c880
push dword [ebp + 0x34]
lea ecx, [esp + 0x4c]
push ebx
push 0x100ae694
call fcn.1001c8f0
movzx eax, al
neg eax
sbb eax, eax
not eax
and ebx, eax
test edi, edi
je 0x1001c8a1
push dword [ebp + 0x3c]
lea ecx, [esp + 0x4c]
push edi
push 0x100ae6b4
call fcn.1001c8f0
movzx eax, al
neg eax
sbb eax, eax
not eax
and edi, eax
cmp dword [ebp + 0x20], 0
jne 0x1001c8b3
test esi, esi
jne 0x1001c8b3
test ebx, ebx
jne 0x1001c8b3
test edi, edi
je 0x1001c8ca
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x48]
add eax, 4
mov dword [esp + 0x10], eax
cmp eax, ecx
jne 0x1001c7e5
push dword [esp + 0x14]
call fcn.10086818
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret