Function at 0x43f464
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x43f46d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406058
xor eax, eax
push ebp
push 0x43fa2f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x43f949
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x24]
push eax
mov eax, ebx
call fcn.004060fc
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x43f93f
mov eax, dword [ebp - 0x18]
call fcn.0040304c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x43f938
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x43f920
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x43fa44
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
push 0x43fa84
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov edx, 4
call fcn.0040d2a0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.0040d2a0
push dword [ebp - 0x30]
push 0x43fab4
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00406628
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405e58
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x43f5e9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x43fab8
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f5e9
cmp dword [ebp - 0x1c], 0
je 0x43f5e9
mov edx, dword [ebp - 0x1c]
add edx, 8
lea eax, [ebp - 8]
mov ecx, 8
call fcn.004061ac
push 0x43fa84
push dword [ebp - 8]
push 0x43fab4
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00406628
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0xc]
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x43fae0
mov edx, dword [ebp - 0xc]
call fcn.00405e68
mov eax, dword [ebp - 0x38]
call fcn.00405e58
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f62c
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x1c]
call fcn.0040621c
mov edx, dword [ebp - 0x3c]
mov eax, esi
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x43fafc
mov edx, dword [ebp - 0xc]
call fcn.00405e68
mov eax, dword [ebp - 0x40]
call fcn.00405e58
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f670
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x1c]
call fcn.0040621c
mov edx, dword [ebp - 0x44]
lea eax, [esi + 4]
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x48]
mov ecx, 0x43fb20
mov edx, dword [ebp - 0xc]
call fcn.00405e68
mov eax, dword [ebp - 0x48]
call fcn.00405e58
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f6b4
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
call fcn.0040621c
mov edx, dword [ebp - 0x4c]
lea eax, [esi + 8]
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x43fb3c
mov edx, dword [ebp - 0xc]
call fcn.00405e68
mov eax, dword [ebp - 0x50]
call fcn.00405e58
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f6f8
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x1c]
call fcn.0040621c
mov edx, dword [ebp - 0x54]
lea eax, [esi + 0xc]
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
mov ecx, 0x43fb5c
mov edx, dword [ebp - 0xc]
call fcn.00405e68
mov eax, dword [ebp - 0x58]
call fcn.00405e58
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f73c
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x1c]
call fcn.0040621c
mov edx, dword [ebp - 0x5c]
lea eax, [esi + 0x10]
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x43fb80
mov edx, dword [ebp - 0xc]
call fcn.00405e68
mov eax, dword [ebp - 0x60]
call fcn.00405e58
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f780
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x1c]
call fcn.0040621c
mov edx, dword [ebp - 0x64]
lea eax, [esi + 0x14]
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x68]
mov ecx, 0x43fba4
mov edx, dword [ebp - 0xc]
call fcn.00405e68
mov eax, dword [ebp - 0x68]
call fcn.00405e58
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f7c4
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x1c]
call fcn.0040621c
mov edx, dword [ebp - 0x6c]
lea eax, [esi + 0x18]
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x70]
mov ecx, 0x43fbcc
mov edx, dword [ebp - 0xc]
call fcn.00405e68
mov eax, dword [ebp - 0x70]
call fcn.00405e58
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f808
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 0x1c]
call fcn.0040621c
mov edx, dword [ebp - 0x74]
lea eax, [esi + 0x1c]
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x78]
mov ecx, 0x43fbe8
mov edx, dword [ebp - 0xc]
call fcn.00405e68
mov eax, dword [ebp - 0x78]
call fcn.00405e58
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f84c
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x1c]
call fcn.0040621c
mov edx, dword [ebp - 0x7c]
lea eax, [esi + 0x20]
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x80]
mov ecx, 0x43fc0c
mov edx, dword [ebp - 0xc]
call fcn.00405e68
mov eax, dword [ebp - 0x80]
call fcn.00405e58
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f896
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x1c]
call fcn.0040621c
mov edx, dword [ebp - 0x84]
lea eax, [esi + 0x24]
call fcn.004062ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x43fc20
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f8c1
mov eax, dword [ebp - 0x1c]
push esi
lea edi, [esi + 0x28]
mov esi, eax
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop esi
cmp dword [ebp - 4], 0
je 0x43f920
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0xc]
call fcn.004062d8
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 4]
call fcn.00406484
mov eax, dword [ebp - 0x88]
call fcn.004060fc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43f920
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x1c]
call fcn.0040621c
mov edx, dword [ebp - 0x8c]
lea eax, [esi + 0x5c]
call fcn.004062ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f93f
mov eax, dword [ebp - 0x14]
push eax
call fcn.004083ac
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43f957
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fa39
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.00406068
lea eax, [ebp - 0x80]
call fcn.00405c8c
lea eax, [ebp - 0x7c]
call fcn.00406060
lea eax, [ebp - 0x78]
call fcn.00405c8c
lea eax, [ebp - 0x74]
call fcn.00406060
lea eax, [ebp - 0x70]
call fcn.00405c8c
lea eax, [ebp - 0x6c]
call fcn.00406060
lea eax, [ebp - 0x68]
call fcn.00405c8c
lea eax, [ebp - 0x64]
call fcn.00406060
lea eax, [ebp - 0x60]
call fcn.00405c8c
lea eax, [ebp - 0x5c]
call fcn.00406060
lea eax, [ebp - 0x58]
call fcn.00405c8c
lea eax, [ebp - 0x54]
call fcn.00406060
lea eax, [ebp - 0x50]
call fcn.00405c8c
lea eax, [ebp - 0x4c]
call fcn.00406060
lea eax, [ebp - 0x48]
call fcn.00405c8c
lea eax, [ebp - 0x44]
call fcn.00406060
lea eax, [ebp - 0x40]
call fcn.00405c8c
lea eax, [ebp - 0x3c]
call fcn.00406060
lea eax, [ebp - 0x38]
call fcn.00405c8c
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00406068
lea eax, [ebp - 0xc]
call fcn.00405c8c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406068
ret