Function at 0x4624e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov edi, eax
xor eax, eax
push ebp
push 0x462784
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.00404f24
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46275c
lea eax, [ebx + 0x10]
call fcn.00402e80
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x462755
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x20]
push eax
push ebx
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x462798
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4625c0
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x10]
shr edx, 0x10
mov ecx, dword [ebp - 0xc]
mov word [ecx], dx
movzx edx, word [eax + 0x10]
and dx, 0xffff
mov ecx, dword [ebp - 0x10]
mov word [ecx], dx
mov edx, dword [eax + 0x14]
shr edx, 0x10
mov ecx, dword [ebp + 0xc]
mov word [ecx], dx
movzx eax, word [eax + 0x14]
and ax, 0xffff
mov edx, dword [ebp + 8]
mov word [edx], ax
mov byte [ebp - 0x11], 1
call fcn.0040456c
jmp 0x46275c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x46279c
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
mov eax, ebx
shl eax, 0x10
shr ebx, 0x10
or eax, ebx
mov ebx, eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.00408dd8
push 0x4627c0
push dword [ebp - 4]
push 0x4627dc
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404e28
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f24
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46273f
mov dl, 1
mov eax, dword [0x416988]
call fcn.00403c34
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x462738
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [0x4627ec]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x24]
call fcn.00404c8c
mov eax, dword [ebp - 0x34]
mov ecx, 0x4627f8
mov edx, 0x462804
call fcn.0040e400
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor eax, eax
push ebp
push 0x462718
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x38]
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x38]
call fcn.00408e08
mov edx, dword [ebp - 0xc]
mov word [edx], ax
lea ecx, [ebp - 0x3c]
mov edx, 1
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x3c]
call fcn.00408e08
mov edx, dword [ebp - 0x10]
mov word [edx], ax
lea ecx, [ebp - 0x40]
mov edx, 2
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x40]
call fcn.00408e08
mov edx, dword [ebp + 0xc]
mov word [edx], ax
lea ecx, [ebp - 0x44]
mov edx, 3
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x44]
call fcn.00408e08
mov edx, dword [ebp + 8]
mov word [edx], ax
mov byte [ebp - 0x11], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462722
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46273f
mov eax, dword [ebp - 0x2c]
call fcn.00403c64
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46275c
mov eax, dword [ebp - 0x20]
call fcn.00402e9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46278b
lea eax, [ebp - 0x44]
mov edx, 6
call fcn.00404ab8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ab8
ret