Function at 0x441bda
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xd0], eax
test esi, esi
je 0x441e77
test edi, edi
je 0x441e77
test eax, eax
je 0x441e77
and dword [ebp - 0xdc], 0
lea eax, [ebp - 0xdc]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x441df8
push esi
call fcn.00440bc3
test eax, eax
jne 0x441c50
mov eax, 0x80070002
jmp 0x441e7c
xor eax, eax
push eax
push 0x80
push 3
push eax
xor ecx, ecx
inc ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, reloc.ADVAPI32.dll_TraceMessage
je 0x441e77
lea eax, [ebp - 0xec]
push eax
push 0
push 0
push ebx
mov esi, 0x80004005
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x441dea
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x441dea
push 0xac
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.msvcrt.dll_memset
movzx eax, word [ebp - 0x18]
movzx ecx, word [ebp - 0x16]
mov esi, dword [ebp - 0xd0]
and dword [ebp - 0xd0], 0
mov dword [edi], eax
movzx eax, word [ebp - 0x12]
shl ecx, 0x10
or ecx, eax
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, reloc.ADVAPI32.dll_TraceMessage
je 0x441de4
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
jle 0x441d07
movzx eax, cx
jmp 0x441d0e
mov eax, ecx
neg eax
movzx eax, ax
movzx eax, ax
cdq
mov dword [ebp - 0xd4], 0x3c
idiv dword [ebp - 0xd4]
cmp ecx, 1
mov cx, word [ebp - 0x12]
movzx edx, ax
mov ax, word [ebp - 0x10]
jge 0x441d37
add ax, dx
jmp 0x441d58
cmp ax, dx
jae 0x441d55
mov dword [ebp - 0xd4], reloc.ADVAPI32.dll_TraceMessage
add cx, word [ebp - 0xd4]
add ax, 0x18
mov word [ebp - 0x12], cx
sub ax, dx
mov word [ebp - 0x10], ax
cmp ax, 0x17
jbe 0x441d99
mov edx, 0xffe8
add ax, dx
inc cx
mov word [ebp - 0x10], ax
mov word [ebp - 0x12], cx
cmp cx, 0x20
jne 0x441d99
mov ax, word [ebp - 0x16]
xor ecx, ecx
inc ecx
inc ax
mov word [ebp - 0x12], cx
mov word [ebp - 0x16], ax
cmp ax, 0xd
jne 0x441d99
inc word [ebp - 0x18]
mov word [ebp - 0x16], cx
fldz
lea eax, [ebp - 0xe4]
push eax
fstp qword [ebp - 0xe4]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x441de4
fld qword [ebp - 0xe4]
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
fstp qword [esp]
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x441de4
movzx edx, word [ebp - 0x16]
movzx ecx, word [ebp - 0x12]
movzx eax, word [ebp - 0x18]
shl edx, 0x10
or edx, ecx
mov dword [edi], eax
mov dword [esi], edx
mov esi, dword [ebp - 0xd0]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x441e7c
push ebx
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
mov edi, eax
pop ecx
test edi, edi
jne 0x441e0d
mov eax, 0x8007000e
jmp 0x441e7c
push edi
push ebx
push 0
push esi
mov dword [ebp - 0xd4], 0x80004005
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x441e67
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x41d1ec
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x441e67
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx + 8]
mov edx, dword [ebp - 0xe8]
mov esi, dword [ebp - 0xd0]
and dword [ebp - 0xd4], 0
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov dword [esi], eax
push edi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
mov eax, dword [ebp - 0xd4]
pop ecx
jmp 0x441e7c
mov eax, 0x80004005
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret 4