Function at 0x44e800
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583251
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x5eb770]
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 eax, dword [ebp + 8]
mov ebx, edx
xor esi, esi
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], ecx
cmp dword [ebx + 0x10], esi
je 0x44eacf
cmp dword [eax + 0x10], esi
je 0x44eacf
cmp ecx, esi
je 0x44eacf
push str.GetFileVersionHelper_____Start
call fcn.0045c120
add esp, 4
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x154], esi
jb 0x44e878
mov eax, dword [ebx]
jmp 0x44e87a
mov eax, ebx
push esi
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
cmp edi, esi
je 0x44eaab
lea eax, [ebp - 0x14d]
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x170], esi
push eax
lea esi, [ebp - 0x178]
mov byte [ebp - 0x14d], 0
call fcn.00451d70
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x44e8c6
mov ebx, dword [ebx]
mov esi, dword [ebp - 0x178]
push esi
push edi
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x44ea92
lea ecx, [ebp - 0x158]
push ecx
lea edx, [ebp - 0x15c]
push edx
push str.VarFileInfoTranslation
xor edi, edi
push esi
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x15c], edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x44ea7b
mov eax, dword [ebp - 0x158]
and eax, 0xfffffffc
cmp eax, 4
jb 0x44ea9e
mov eax, 0x5b69a4
lea ecx, [ebp - 0x130]
call fcn.00401a40
push pe_nt_image_headers32
lea ecx, [ebp - 0x114]
push edi
push ecx
mov byte [ebp - 4], 1
call fcn.0055ca80
mov eax, dword [ebp - 0x15c]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str.StringFileInfo_04x_04x_
lea ecx, [ebp - 0x114]
push 0x80
push ecx
call fcn.005578c0
mov ebx, dword [ebp - 0x164]
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x14c]
push eax
call fcn.00451dd0
add esp, 0x28
mov edi, eax
lea esi, [ebp - 0x130]
mov byte [ebp - 4], 2
call fcn.00402350
lea esi, [ebp - 0x14c]
call fcn.004024e0
cmp dword [ebp - 0x11c], 8
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x160], 0
jae 0x44e9c3
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x158]
push ecx
lea edx, [ebp - 0x160]
push edx
push eax
mov eax, dword [ebp - 0x178]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov edx, dword [ebp - 0x160]
test edx, edx
je 0x44ea59
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44e9f0
sub eax, esi
sar eax, 1
inc eax
cmp eax, 0x104
ja 0x44ea37
mov ecx, dword [ebp - 0x168]
push edx
push 0x104
push ecx
call fcn.005579b2
add esp, 0xc
lea esi, [ebp - 0x130]
call fcn.004024e0
lea esi, [ebp - 0x178]
call fcn.00457620
jmp 0x44eab7
lea esi, [ebp - 0x130]
mov dword [ebp - 0x154], 0x7a
call fcn.004024e0
lea esi, [ebp - 0x178]
call fcn.00457620
jmp 0x44eab7
lea esi, [ebp - 0x130]
mov dword [ebp - 0x154], 0x54f
call fcn.004024e0
lea esi, [ebp - 0x178]
call fcn.00457620
jmp 0x44eab7
lea esi, [ebp - 0x178]
mov dword [ebp - 0x154], 0x54f
call fcn.00457620
jmp 0x44eab7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x154], eax
lea esi, [ebp - 0x178]
call fcn.00457620
jmp 0x44eab7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x154], eax
mov esi, dword [ebp - 0x154]
push esi
push str.GetFileVersionHelper_____End:_d
call fcn.0045c120
add esp, 8
mov eax, esi
jmp 0x44ead4
mov eax, 0x57
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.0055649d
mov esp, ebp
pop ebp
ret