Function at 0x44e670
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4210
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4e706c]
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 0x44e6c3
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 0x44e785
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0045f3e0
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44e6f6
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, 0x4d1f70
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x32
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error_calling_GetFileVersionInfoSize:
mov ecx, eax
call fcn.0040f7a0
push esi
mov ecx, eax
call fcn.00418700
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 8
jb 0x44e77e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e774
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e97c
push edx
push ecx
call fcn.0046f0d0
add esp, 8
xor al, al
jmp 0x44e960
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.00455a20
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x44e7b5
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 0x44e876
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x64]
mov edi, eax
call fcn.0045f3e0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44e7eb
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, 0x4d1f70
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x3b
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error_calling_GetFileVersionInfo:
mov ecx, eax
call fcn.0040f7a0
push edi
mov ecx, eax
call fcn.00418700
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x50]
add esp, 4
cmp edx, 8
jb 0x44e900
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e8f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e981
jmp 0x44e8f6
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], 0
push eax
push 0x4ce774
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x44e904
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x64]
mov edi, eax
call fcn.0045f3e0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44e8bb
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, 0x4d1f70
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x45
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error_calling_VerQueryValue:
jmp 0x44e821
push edx
push ecx
call fcn.0046f0d0
add esp, 8
xor bl, bl
jmp 0x44e931
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 0x44e95e
mov ecx, dword [ebp - 0x20]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x44e954
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e981
push ecx
push esi
call fcn.0046f0d0
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.0046ebaf
mov esp, ebp
pop ebp
ret
call fcn.0048a05c
call fcn.0048a05c
int3