Function at 0x4132f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580b40
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x636f58]
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.00414e0c
mov ecx, eax
test ecx, ecx
je 0x41359d
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 0x413403
call fcn.00414e0c
mov ecx, eax
test ecx, ecx
je 0x4135a7
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 0x6187e0
push eax
call fcn.00410730
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 0x4133b3
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.00402ed0
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 0x4133ec
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 0x41357f
push eax
call fcn.00413757
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 0x4134d0
call fcn.00414e0c
mov ecx, eax
test ecx, ecx
je 0x4135b1
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 0x6187e0
push eax
call fcn.00410730
push edi
call fcn.00413752
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 0x413480
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.00402ed0
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 0x4133ec
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 0x41357f
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x611a4c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x413531
call fcn.00414e0c
mov ecx, eax
test ecx, ecx
je 0x4135bb
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 0x6187e0
push eax
call fcn.00410730
push edi
call fcn.00413752
add esp, 0x10
mov ecx, ebx
push esi
call fcn.004029c0
jmp 0x4133cb
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.00410730
push edi
call fcn.00413752
mov esi, dword [ebp - 0x18]
add esp, 0x1c
mov ecx, ebx
push esi
call fcn.004029c0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x413589
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.00404570
push 0x80004005
call fcn.00404570
push 0x80004005
call fcn.00404570
push 0x80004005
call fcn.00404570
int3