Function at 0x44e7b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2a70
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4e406c]
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 0x44e803
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 0x44e8c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0045e3b0
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44e836
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, 0x4cfcfc
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x30
mov ecx, eax
call fcn.0040df40
mov edx, str.:_Error_calling_GetFileVersionInfoSize:
mov ecx, eax
call fcn.0040f940
push esi
mov ecx, eax
call fcn.004196c0
push eax
call fcn.0040fcb0
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 8
jb 0x44e8be
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e8b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eabc
push edx
push ecx
call fcn.0046d84e
add esp, 8
xor al, al
jmp 0x44eaa0
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.004541a0
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x44e8f5
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 0x44e9b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x64]
mov edi, eax
call fcn.0045e3b0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44e92b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, 0x4cfcfc
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x39
mov ecx, eax
call fcn.0040df40
mov edx, str.:_Error_calling_GetFileVersionInfo:
mov ecx, eax
call fcn.0040f940
push edi
mov ecx, eax
call fcn.004196c0
push eax
call fcn.0040fcb0
mov edx, dword [ebp - 0x50]
add esp, 4
cmp edx, 8
jb 0x44ea40
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ea36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eac1
jmp 0x44ea36
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], 0
push eax
push 0x4cc4f8
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x44ea44
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x64]
mov edi, eax
call fcn.0045e3b0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44e9fb
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, 0x4cfcfc
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x43
mov ecx, eax
call fcn.0040df40
mov edx, str.:_Error_calling_VerQueryValue:
jmp 0x44e961
push edx
push ecx
call fcn.0046d84e
add esp, 8
xor bl, bl
jmp 0x44ea71
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 0x44ea9e
mov ecx, dword [ebp - 0x20]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x44ea94
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eac1
push ecx
push esi
call fcn.0046d84e
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.0046d32d
mov esp, ebp
pop ebp
ret
call fcn.0048879c
call fcn.0048879c
int3