Function at 0x44e240
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b39a0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4e606c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov edi, ecx
cmp dword [edi + 0x14], 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, edi
mov dword [ebp - 0x18], 0
jb 0x44e293
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x44e355
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0045ebe0
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44e2c6
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ea4d8
call fcn.00410550
add esp, 4
mov edx, 0x4d2060
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x32
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_calling_GetFileVersionInfoSize:
mov ecx, eax
call fcn.0040f730
push esi
mov ecx, eax
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 8
jb 0x44e34e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e344
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e54c
push edx
push ecx
call fcn.0046e8d1
add esp, 8
xor al, al
jmp 0x44e530
push ecx
lea eax, [ebp - 0x39]
mov dword [ebp - 0x20], 0
push eax
xorps xmm0, xmm0
mov byte [ebp - 0x39], 0
push ebx
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.00455220
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x44e385
mov edi, dword [edi]
mov esi, dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x18]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x44e446
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x64]
mov edi, eax
call fcn.0045ebe0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44e3bb
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ea4d8
call fcn.00410550
add esp, 4
mov edx, 0x4d2060
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x3b
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_calling_GetFileVersionInfo:
mov ecx, eax
call fcn.0040f730
push edi
mov ecx, eax
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x50]
add esp, 4
cmp edx, 8
jb 0x44e4d0
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e4c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e551
jmp 0x44e4c6
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], 0
push eax
push 0x4ce864
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x44e4d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x64]
mov edi, eax
call fcn.0045ebe0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44e48b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ea4d8
call fcn.00410550
add esp, 4
mov edx, 0x4d2060
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x45
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_calling_VerQueryValue:
jmp 0x44e3f1
push edx
push ecx
call fcn.0046e8d1
add esp, 8
xor bl, bl
jmp 0x44e501
mov ecx, dword [ebp - 0x38]
mov bl, 1
mov edx, dword [ebp - 0x40]
movzx eax, word [ecx + 0xa]
mov word [edx], ax
movzx eax, word [ecx + 8]
mov edx, dword [ebp - 0x44]
mov word [edx], ax
movzx eax, word [ecx + 0xe]
mov edx, dword [ebp - 0x48]
mov word [edx], ax
movzx eax, word [ecx + 0xc]
mov ecx, dword [ebp - 0x4c]
mov word [ecx], ax
test esi, esi
je 0x44e52e
mov ecx, dword [ebp - 0x20]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x44e524
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e551
push ecx
push esi
call fcn.0046e8d1
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046e3b0
mov esp, ebp
pop ebp
ret
call fcn.0048981c
call fcn.0048981c
int3