Function at 0x10001560
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fb394
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x1014f644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x300]
mov dword [ebp - 0x240], 0
mov esi, dword [0x1015a500]
push eax
mov dword [ebp - 0x250], edi
call fcn.10001ca0
push 0x20a
lea ecx, [ebp - 0x220]
push 0
mov ebx, 1
push ecx
mov dword [ebp - 4], ebx
call fcn.1007ada0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x220]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x10001663
lea esi, [ebp - 0x23c]
lea eax, [ebp - 0x300]
call fcn.10001dd0
mov esi, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], esi
jb 0x10001607
mov ecx, dword [eax]
jmp 0x10001609
mov ecx, eax
push edi
call fcn.10006710
mov dword [ebp - 0x240], ebx
cmp dword [ebp - 0x228], esi
jb 0x1000162c
mov eax, dword [ebp - 0x23c]
push eax
call fcn.100719b6
add esp, 4
xor ecx, ecx
mov word [ebp - 0x23c], cx
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x22c], 0
call fcn.10001d40
lea edx, [ebp - 0x2a0]
push edx
jmp 0x100018d4
push 0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x100016e5
lea esi, [ebp - 0x23c]
lea eax, [ebp - 0x300]
call fcn.10001dd0
mov esi, 8
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], esi
jb 0x1000169b
mov ecx, dword [eax]
jmp 0x1000169d
mov ecx, eax
push edi
call fcn.10006710
mov dword [ebp - 0x240], ebx
cmp dword [ebp - 0x228], esi
jb 0x100016c0
mov ecx, dword [ebp - 0x23c]
push ecx
call fcn.100719b6
add esp, 4
xor edx, edx
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], dx
mov byte [ebp - 4], dl
jmp 0x100018c2
push esi
call fcn.1006e7e5
mov ebx, eax
add esp, 4
mov dword [ebp - 0x258], ebx
push ebx
push esi
push 0
lea ecx, [ebp - 0x220]
push ecx
mov byte [ebp - 4], 4
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x100017a4
lea esi, [ebp - 0x23c]
lea eax, [ebp - 0x300]
call fcn.10001dd0
mov esi, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], esi
jb 0x10001736
mov ecx, dword [eax]
jmp 0x10001738
mov ecx, eax
push edi
call fcn.10006710
mov dword [ebp - 0x240], 1
cmp dword [ebp - 0x228], esi
jb 0x1000175f
mov edx, dword [ebp - 0x23c]
push edx
call fcn.100719b6
add esp, 4
xor eax, eax
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], ax
test ebx, ebx
je 0x10001789
push ebx
call fcn.100719b6
add esp, 4
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0
call fcn.10001d40
lea ecx, [ebp - 0x2a0]
push ecx
jmp 0x100018d4
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x254]
push eax
push str.VarFileInfoTranslation
push ebx
mov dword [ebp - 0x248], 0x34
call esi
test eax, eax
je 0x10001848
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x24c]
push edx
push 0x1012f5d4
push ebx
mov dword [ebp - 0x244], 0
call esi
test eax, eax
je 0x10001848
mov eax, dword [ebp - 0x24c]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
push ecx
push edx
movzx edx, word [eax + 0xa]
push ecx
movzx ecx, word [eax + 8]
push ecx
push ecx
push edx
lea eax, [ebp - 0x2f0]
push eax
call fcn.10001930
push eax
call fcn.100042f0
add esp, 8
push eax
call fcn.10001930
push eax
call fcn.100042f0
add esp, 8
push eax
call fcn.10001930
push eax
call fcn.100042f0
add esp, 8
push eax
call fcn.10001930
lea esi, [ebp - 0x23c]
lea eax, [ebp - 0x300]
call fcn.10001dd0
mov esi, 8
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], esi
jb 0x1000186b
mov ecx, dword [eax]
jmp 0x1000186d
mov ecx, eax
push edi
call fcn.10006710
mov dword [ebp - 0x240], 1
cmp dword [ebp - 0x228], esi
jb 0x10001894
mov ecx, dword [ebp - 0x23c]
push ecx
call fcn.100719b6
add esp, 4
xor edx, edx
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], dx
test ebx, ebx
je 0x100018be
push ebx
call fcn.100719b6
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a0]
call fcn.10001d40
lea eax, [ebp - 0x2a0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1006e8b0
mov eax, edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100719c1
mov esp, ebp
pop ebp
ret