Function at 0x10047ed0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3477
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.10049c40
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jne 0x10047f48
push 0x100d02c8
mov ecx, dword [ebp + 8]
call fcn.10007e50
mov eax, dword [ebp - 0xd4]
or eax, 1
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 8]
jmp 0x10048299
mov byte [ebp - 0xd5], 0
lea ecx, [ebp - 0xd5]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
lea ecx, [ebp - 0x12c]
call fcn.10047420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.1006b790
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xe0]
push ecx
push 0
mov ecx, dword [ebp + 0xc]
call fcn.10049c40
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x10047fd8
push 0x100d02cc
mov ecx, dword [ebp + 8]
call fcn.10007e50
mov edx, dword [ebp - 0xd4]
or edx, 1
mov dword [ebp - 0xd4], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10062ab0
mov eax, dword [ebp + 8]
jmp 0x10048299
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xe8], 0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xdc]
push ecx
push 0x100d02d0
mov edx, dword [ebp - 0xe4]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x10048045
push 0x100d02d4
mov ecx, dword [ebp + 8]
call fcn.10007e50
mov eax, dword [ebp - 0xd4]
or eax, 1
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10062ab0
mov eax, dword [ebp + 8]
jmp 0x10048299
lea ecx, [ebp - 0x28]
call fcn.1002d970
mov byte [ebp - 4], 1
push 0x100d02d8
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.100356c0
add esp, 8
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.1002c190
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002e870
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.1000c290
push 0x100d02dc
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.100356c0
add esp, 8
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x100]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.1002c190
add esp, 0xc
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x108], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x108]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002e870
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.1000c290
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.1000c290
push 0x100d02e0
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.100356c0
add esp, 8
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x110]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.1002c190
add esp, 0xc
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002e870
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.1000c290
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.1000c290
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.100356c0
add esp, 8
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002e870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
call fcn.1000c290
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000c210
mov edx, dword [ebp - 0xd4]
or edx, 1
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10062ab0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret