Function at 0x4205d3
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x4434f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xe0]
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0xdc], ebx
push eax
push ebx
mov dword [ebp - 0xd0], esi
mov edi, esi
mov dword [ebp - 0xe0], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0xd8], eax
test eax, eax
jne 0x4207cb
mov ecx, ebx
call fcn.0041f47f
test eax, eax
je 0x420886
push esi
push 0x80
push 3
push esi
xor eax, eax
inc eax
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xd8], eax
cmp eax, 0xffffffff
je 0x420886
lea ecx, [ebp - 0xf0]
push ecx
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4207b8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x4207b8
push 0xac
lea eax, [ebp - 0xc8]
push esi
push eax
call sub.msvcrt.dll_memset
movzx eax, word [ebp - 0x14]
add esp, 0xc
movzx edi, word [ebp - 0x12]
mov ebx, esi
mov dword [ebp - 0xd0], eax
movzx eax, word [ebp - 0xe]
shl edi, 0x10
or edi, eax
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x4207bd
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
jle 0x4206d6
movzx eax, cx
jmp 0x4206dd
mov eax, ecx
neg eax
movzx eax, ax
xor edx, edx
movzx eax, ax
mov dword [ebp - 0xcc], 0x3c
div dword [ebp - 0xcc]
cmp ecx, 1
mov cx, word [ebp - 0xe]
movzx edx, ax
mov ax, word [ebp - 0xc]
jge 0x420707
add ax, dx
jmp 0x420728
cmp ax, dx
jae 0x420725
mov dword [ebp - 0xcc], 0xffff
add cx, word [ebp - 0xcc]
add ax, 0x18
mov word [ebp - 0xe], cx
sub ax, dx
mov word [ebp - 0xc], ax
cmp ax, 0x17
jbe 0x420769
mov edx, 0xffe8
add ax, dx
inc cx
mov word [ebp - 0xc], ax
mov word [ebp - 0xe], cx
cmp cx, 0x20
jne 0x420769
mov ax, word [ebp - 0x12]
xor ecx, ecx
inc ecx
inc ax
mov word [ebp - 0xe], cx
mov word [ebp - 0x12], ax
cmp ax, 0xd
jne 0x420769
inc word [ebp - 0x14]
mov word [ebp - 0x12], cx
fldz
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x14]
push eax
fstp qword [ebp - 0xe8]
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x4207bd
fld qword [ebp - 0xe8]
lea eax, [ebp - 0x14]
push eax
push ecx
push ecx
fstp qword [esp]
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x4207bd
movzx eax, word [ebp - 0x14]
movzx edi, word [ebp - 0x12]
mov dword [ebp - 0xd0], eax
movzx eax, word [ebp - 0xe]
shl edi, 0x10
or edi, eax
jmp 0x4207bd
mov ebx, 0x80004005
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x420841
push eax
call fcn.0044183a
mov ebx, eax
pop ecx
test ebx, ebx
je 0x420886
push ebx
push dword [ebp - 0xd8]
mov dword [ebp - 0xcc], 0x80004005
push esi
push dword [ebp - 0xdc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x420834
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xdc]
push eax
push 0x4043e0
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x420834
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xcc], esi
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [ebp - 0xd0], ecx
push ebx
call fcn.00441807
mov ebx, dword [ebp - 0xcc]
pop ecx
test ebx, ebx
js 0x420886
mov ecx, dword [ebp - 0xd0]
mov eax, ecx
shr eax, 0x10
cdq
mov esi, eax
mov ebx, edx
shld ebx, esi, 0x10
movzx eax, cx
shl esi, 0x10
cdq
or esi, eax
or ebx, edx
shld ebx, esi, 0x10
mov eax, edi
shr eax, 0x10
shl esi, 0x10
cdq
or esi, eax
or ebx, edx
shld ebx, esi, 0x10
movzx eax, di
shl esi, 0x10
cdq
or esi, eax
or ebx, edx
jmp 0x420888
mov ebx, esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
mov edx, ebx
xor ecx, ebp
pop ebx
call fcn.00441b90
mov esp, ebp
pop ebp
ret