Function at 0x1001dba0
Capabilities:
Get common file path
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x1012b8f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x10194180]
push ebx
push ebp
push esi
push edi
push 0x105
mov dword [esp + 0x7c], eax
mov dword [esp + 0x14], ecx
call fcn.101209d2
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, eax
xor eax, eax
mov ecx, 0x41
mov edi, esi
rep stosd dword es:[edi], eax
add esp, 4
push 0x104
push esi
stosb byte es:[edi], al
call ebp
mov edi, eax
xor ebx, ebx
cmp edi, 0x104
jbe 0x1001dd2f
push esi
call fcn.101209d7
inc edi
push edi
call fcn.101209d2
add esp, 8
mov esi, eax
push 0x104
push esi
call ebp
mov eax, esi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001dc31
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.100020c0
mov dword [esp + 0x84], ebx
push esi
call fcn.101209d7
add esp, 4
push 0xd
push 0x1013880c
lea ecx, [esp + 0x28]
call fcn.10002380
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x40]
call fcn.100ee2e0
mov byte [esp + 0x84], 1
lea ecx, [esp + 0x3c]
call fcn.100ee620
test al, al
je 0x1001dd96
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
jae 0x1001dc9f
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jbe 0x1001dd86
push esi
call fcn.101209d2
mov ebp, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x3c]
add esp, 4
cmp eax, 0x10
mov eax, dword [esp + 0x24]
jae 0x1001dce4
lea eax, [esp + 0x24]
push ebp
push esi
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1001dd6d
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.VarFileInfoTranslation
push ebp
mov dword [esp + 0x24], ebx
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [esp + 0x14]
and edx, 0xfffffffc
cmp edx, 4
jae 0x1001dd53
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [esp + 0x10]
push ebp
mov word [ecx + 0x10], ax
call fcn.101209d7
add esp, 4
jmp 0x1001dda4
cmp edi, ebx
jne 0x1001dc1c
push esi
call fcn.101209d7
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [esp + 0x10]
mov word [ecx + 0x10], ax
jmp 0x1001dde3
mov edx, dword [esp + 0x1c]
mov ax, word [edx]
mov ecx, dword [esp + 0x10]
push ebp
mov word [ecx + 0x10], ax
call fcn.101209d7
add esp, 4
jmp 0x1001dda4
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, dword [esp + 0x10]
push ebp
mov word [edx + 0x10], ax
call fcn.101209d7
add esp, 4
jmp 0x1001dda4
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [esp + 0x10]
mov word [ecx + 0x10], ax
jmp 0x1001dda4
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, dword [esp + 0x10]
mov word [edx + 0x10], ax
mov byte [esp + 0x84], bl
lea ecx, [esp + 0x3c]
call fcn.100ee470
mov dword [esp + 0x84], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x1001ddd3
mov eax, dword [esp + 0x24]
push eax
call fcn.101209d7
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x6c]
pop ebx
call fcn.100571c6
add esp, 0x78
ret