Function at 0x428950
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4580a6
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x472008]
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 ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 0
push 0x45ab72
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00403d00
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push str.kernel32.dll
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x428a15
push 0x45c95c
push 0x45c960
call fcn.004046d0
add esp, 8
mov dword [ebx + 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebx + 0x10], edi
mov ecx, ebx
mov byte [ebx], 0
push eax
call fcn.00408b80
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x428a0e
push 1
inc ecx
push ecx
push dword [ebp - 0x28]
call fcn.004035c0
add esp, 0xc
mov eax, ebx
jmp 0x428c5a
push edi
call fcn.00423d44
add esp, 4
mov esi, eax
mov dword [ebp - 0x98], esi
push esi
push edi
push dword [ebp - 0x2c]
push str.kernel32.dll
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x428a8b
push 0x45c9ac
push 0x45c960
call fcn.004046d0
push esi
call fcn.00423d4d
add esp, 0xc
mov dword [ebx + 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov byte [ebx], 0
push eax
call fcn.00408b80
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x428a0e
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.004035c0
add esp, 0xc
mov eax, ebx
jmp 0x428c5a
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x94]
push eax
push 0x45c9b0
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x428ae8
push 0x45c9b4
push 0x45c960
call fcn.004046d0
push esi
call fcn.00423d4d
add esp, 0xc
mov dword [ebx + 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov byte [ebx], 0
push eax
call fcn.00408b80
lea ecx, [ebp - 0x28]
call fcn.00402850
mov eax, ebx
jmp 0x428c5a
mov eax, dword [ebp - 0x94]
movzx ecx, word [eax + 0xa]
movzx esi, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx ebx, word [eax + 0xc]
lea eax, [ebp - 0x90]
push ecx
push eax
call fcn.00422560
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.00422560
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push edi
push eax
call fcn.00422560
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.00422560
add esp, 0x20
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.004037b0
push 1
push 0x45c8b0
lea ecx, [ebp - 0x28]
call fcn.004038a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x28]
call fcn.004037b0
push 1
push 0x45c8b0
lea ecx, [ebp - 0x28]
call fcn.004038a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x28]
call fcn.004037b0
push 1
push 0x45c8b0
lea ecx, [ebp - 0x28]
call fcn.004038a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.004037b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x428bcf
mov eax, dword [ecx]
jmp 0x428bd1
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00403be0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push 0x45c9b8
call fcn.00406980
mov byte [ebp - 4], 4
call fcn.004046e0
push dword [ebp - 0x98]
call fcn.00423d4d
mov esi, dword [ebp - 0x9c]
lea eax, [ebp - 0x28]
add esp, 0x34
mov ecx, esi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push eax
mov byte [esi], 0
call fcn.00408b80
lea ecx, [ebp - 0x48]
call fcn.00402850
lea ecx, [ebp - 0x60]
call fcn.00402850
lea ecx, [ebp - 0x78]
call fcn.00402850
lea ecx, [ebp - 0x90]
call fcn.00402850
lea ecx, [ebp - 0x28]
call fcn.00402850
mov eax, esi
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.0040219c
mov esp, ebp
pop ebp
ret