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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e753b
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x112764a4]
cmp eax, 0xffffffff
jne 0x1114abdd
lea ecx, [ebp - 0x290]
call fcn.11030fd0
mov eax, dword [ebp - 0x244]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x1114a952
mov eax, dword [ebp - 0x290]
push str.Wow64DisableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x244], eax
cmp eax, ebx
je 0x1114a95d
lea ecx, [ebp - 0x230]
push ecx
call eax
jmp 0x1114a965
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x104
lea edx, [ebp - 0x218]
push edx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x220], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x1114a990
mov ecx, 7
mov esi, str.gdihook5.dll
lea eax, [ebp - 0x22c]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x218]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x1114ab35
push esi
call fcn.11170a40
mov edx, dword [ebp - 0x22c]
add esp, 4
mov edi, eax
push edi
push esi
push edx
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x234], edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1114ab24
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x21c]
push edx
push str.StringFileInfo040904e4ProductVersion
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1114aa4e
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push str.StringFileInfo080904b0ProductVersion
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1114aa4e
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x21c]
push eax
push str.StringFileInfo040904b0ProductVersion
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1114ab24
mov esi, dword [ebp - 0x21c]
test esi, esi
je 0x1114ab24
mov edi, dword [sym.imp.MSVCR100.dll_iswdigit]
cmp word [esi], bx
je 0x1114aa7c
movzx ecx, word [esi]
push ecx
call edi
add esp, 4
test eax, eax
jne 0x1114aa7c
add esi, 2
cmp word [esi], bx
jne 0x1114aa67
mov ebx, dword [sym.imp.MSVCR100.dll__wtoi]
push esi
call ebx
movzx edx, word [esi]
push edx
mov dword [ebp - 0x228], eax
call edi
add esp, 8
test eax, eax
je 0x1114aaa9
movzx eax, word [esi + 2]
add esi, 2
push eax
call edi
add esp, 4
test eax, eax
jne 0x1114aa98
movzx eax, word [esi]
test ax, ax
je 0x1114aac7
push eax
call edi
add esp, 4
test eax, eax
jne 0x1114aac7
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x1114aab1
push esi
call ebx
movzx ecx, word [esi]
push ecx
mov dword [ebp - 0x220], eax
call edi
add esp, 8
test eax, eax
je 0x1114aaf1
lea ecx, [ecx]
movzx edx, word [esi + 2]
add esi, 2
push edx
call edi
add esp, 4
test eax, eax
jne 0x1114aae0
movzx eax, word [esi]
mov dword [ebp - 0x238], eax
test ax, ax
je 0x1114ab16
nop
push eax
call edi
add esp, 4
test eax, eax
jne 0x1114ab16
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x1114ab00
push esi
call ebx
mov edi, dword [ebp - 0x234]
add esp, 4
mov ebx, eax
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
mov edi, dword [ebp - 0x228]
add esp, 4
jmp 0x1114ab44
mov edi, 9
mov dword [ebp - 0x220], 5
mov dword [0x112764a4], 1
cmp edi, 7
jl 0x1114ab6c
jne 0x1114ab76
cmp dword [ebp - 0x220], 0
jne 0x1114ab76
cmp dword [ebp - 0x238], 0x69
jne 0x1114ab76
cmp ebx, 0xb
jg 0x1114ab76
mov dword [0x112764a4], 0
mov eax, dword [ebp - 0x240]
mov esi, dword [ebp - 0x230]
mov ebx, dword [ebp - 0x290]
test eax, eax
jne 0x1114aba2
push str.Wow64RevertWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x240], eax
test eax, eax
je 0x1114aba7
push esi
call eax
jmp 0x1114abaf
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0x220]
mov eax, dword [0x112764a4]
push edx
push edi
push eax
push str.IsMirrorUnloadable_returning__d__v_d__d__n
call fcn.111bd7b0
mov esi, dword [0x112764a4]
add esp, 0x10
test ebx, ebx
je 0x1114abdb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret