Function at 0x4110a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5779a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x628f58]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x1c], edi
mov ebx, ecx
mov dword [ebp - 0x24], ebx
call fcn.00412c3c
mov ecx, eax
test ecx, ecx
je 0x4113d1
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4111b3
call fcn.00412c3c
mov ecx, eax
test ecx, ecx
je 0x4113db
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push 0x60c1d0
push eax
call fcn.00410be0
mov ecx, esi
mov dword [ebx + 0x10], 0
add esp, 0xc
mov dword [ebx + 0x14], 7
xor eax, eax
mov word [ebx], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411163
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.00402df0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41119c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jmp 0x4113b3
push eax
call fcn.00411587
add esp, 4
mov edi, eax
push edi
push dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x411280
call fcn.00412c3c
mov ecx, eax
test ecx, ecx
je 0x4113e5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push 0x60c1d0
push eax
call fcn.00410be0
push edi
call fcn.00411582
mov ecx, esi
mov dword [ebx + 0x10], 0
add esp, 0x10
mov dword [ebx + 0x14], 7
xor eax, eax
mov word [ebx], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411230
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.00402df0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41119c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], edi
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jmp 0x4113b3
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x605c44
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x41133d
call fcn.00412c3c
mov ecx, eax
test ecx, ecx
je 0x4113ef
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push 0x60c1d0
push eax
call fcn.00410be0
push edi
call fcn.00411582
mov ecx, esi
mov dword [ebx + 0x10], 0
add esp, 0x10
mov dword [ebx + 0x14], 7
xor eax, eax
mov word [ebx], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4112f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.00402df0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41119c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], edi
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jmp 0x4113b3
mov eax, dword [ebp - 0x14]
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x18]
push str._d._d._d._d
push eax
call fcn.00410be0
push edi
call fcn.00411582
mov esi, dword [ebp - 0x18]
add esp, 0x1c
mov ecx, esi
mov dword [ebx + 0x10], 0
xor eax, eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411386
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.00402df0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4113bd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404450
push 0x80004005
call fcn.00404450
push 0x80004005
call fcn.00404450
push 0x80004005
call fcn.00404450
int3