Function at 0x41bb30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a3a2
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x54112c]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x134], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov dword [ebp - 4], 1
mov byte [edi], 0
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x134], 1
push eax
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41be96
lea eax, [ebp - 0x135]
push eax
push ebx
lea ecx, [ebp - 0x15c]
call fcn.00419210
mov esi, dword [ebp - 0x15c]
push esi
push ebx
push dword [ebp - 0x13c]
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41be62
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x144]
push eax
push 0x5114f4
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41be62
cmp dword [ebp - 0x140], 0
jbe 0x41be62
mov eax, dword [ebp - 0x144]
cmp dword [eax], 0xfeef04bd
jne 0x41be62
movzx ecx, word [eax + 0xa]
movzx ebx, word [eax + 0xe]
mov dword [ebp - 0x14c], ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xc]
push eax
lea eax, [ebp - 0x13]
mov dword [ebp - 0x148], ecx
push eax
call fcn.00406480
mov ecx, eax
mov dword [ebp - 0x90], 0
lea eax, [ebp - 0x13]
mov dword [ebp - 0x8c], 0xf
add esp, 8
mov byte [ebp - 0xa0], 0
cmp ecx, eax
je 0x41bc7d
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0xa0]
call fcn.0040e880
mov dword [ebp - 0x134], 7
lea eax, [ebp - 0x2b]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.00406480
mov ecx, eax
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x2b]
mov dword [ebp - 0x74], 0xf
add esp, 8
mov byte [ebp - 0x88], 0
cmp ecx, eax
je 0x41bcc5
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.0040e880
mov dword [ebp - 0x134], 0x1f
mov eax, dword [ebp - 0x148]
movzx eax, ax
push eax
lea eax, [ebp - 0x13]
mov byte [ebp - 4], 4
push eax
call fcn.00406480
mov ecx, eax
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x13]
mov dword [ebp - 0x5c], 0xf
add esp, 8
mov byte [ebp - 0x70], 0
cmp ecx, eax
je 0x41bd10
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.0040e880
mov dword [ebp - 0x134], 0x7f
mov eax, dword [ebp - 0x14c]
movzx eax, ax
push eax
lea eax, [ebp - 0x2b]
mov byte [ebp - 4], 5
push eax
call fcn.00406480
mov ecx, eax
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x2b]
mov dword [ebp - 0x44], 0xf
add esp, 8
mov byte [ebp - 0x58], 0
cmp ecx, eax
je 0x41bd5b
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.0040e880
mov dword [ebp - 0x134], 0x1ff
push 0x5107d8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00405210
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00405110
push 0x5107d8
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 8
push eax
call fcn.00405210
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00405110
push 0x5107d8
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xa
push eax
call fcn.00405210
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00405110
add esp, 0x48
mov ecx, edi
push eax
call fcn.0041a3a0
lea ecx, [ebp - 0xb8]
call fcn.00401aa0
lea ecx, [ebp - 0xd0]
call fcn.00401aa0
lea ecx, [ebp - 0xe8]
call fcn.00401aa0
lea ecx, [ebp - 0x100]
call fcn.00401aa0
lea ecx, [ebp - 0x118]
call fcn.00401aa0
lea ecx, [ebp - 0x130]
call fcn.00401aa0
lea ecx, [ebp - 0x58]
call fcn.00401aa0
lea ecx, [ebp - 0x70]
call fcn.00401aa0
lea ecx, [ebp - 0x88]
call fcn.00401aa0
lea ecx, [ebp - 0xa0]
call fcn.00401aa0
mov byte [ebp - 4], 1
test esi, esi
je 0x41be96
mov ecx, dword [ebp - 0x154]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x41be8c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bed3
push ecx
push esi
call fcn.0048bf7f
add esp, 8
mov esi, dword [ebp + 0xc]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41beb5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.0048bf8d
mov esp, ebp
pop ebp
ret
call fcn.004bce09
int3