Function at 0x42a010
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b1ae
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x58a088]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x180], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x170], ebx
call fcn.0042a9c0
push ebx
call fcn.0048de30
add esp, 4
test al, al
je 0x42a986
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00403390
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x42a986
push 0x58d701
push edi
call fcn.004e2849
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x42a986
push ebx
push edi
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x170]
call fcn.00403390
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x42a0e0
push ebx
call fcn.004e22dd
add esp, 4
jmp 0x42a986
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
push 0x5567fc
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x42a12a
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x42a12a
cmp dword [ebp - 0x1c], 0x34
jne 0x42a12a
push 0x34
push eax
push esi
call fcn.004e3dc0
add esp, 0xc
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x16c]
push eax
push str.VarFileInfoTranslation
push ebx
call edi
test eax, eax
je 0x42a976
cmp dword [ebp - 0x16c], esi
je 0x42a976
xor edi, edi
test dword [ebp - 0x1c], 0xfffffffc
jbe 0x42a26e
nop dword [eax + eax]
mov eax, dword [ebp - 0x16c]
lea eax, [eax + edi*4]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x178], esi
je 0x42a1da
push esi
push 4
call fcn.004028a0
add esp, 8
mov ecx, dword [ebp - 0x170]
mov ecx, dword [ecx]
mov dword [eax], ecx
add esi, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x178]
jmp 0x42a1f9
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0042aa50
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x178], ecx
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x16c]
cmp word [eax + edi*4], 0
jne 0x42a25f
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x174], eax
mov eax, 0x409
mov word [ebp - 0x174], ax
cmp ecx, esi
je 0x42a23a
push esi
push 4
call fcn.004028a0
add esp, 8
mov ecx, dword [ebp - 0x174]
mov dword [eax], ecx
add esi, 4
mov dword [ebp - 0x24], esi
jmp 0x42a25f
lea eax, [ebp - 0x174]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0042aa50
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x178], eax
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x17c], eax
inc edi
mov eax, dword [ebp - 0x1c]
shr eax, 2
cmp edi, eax
jb 0x42a1a0
mov edi, dword [ebp - 0x17c]
mov dword [ebp - 0x170], edi
cmp edi, esi
je 0x42a914
mov eax, dword [ebp - 0x180]
lea ecx, [eax + 0x34]
mov dword [ebp - 0x174], ecx
lea ecx, [eax + 0x4c]
mov dword [ebp - 0x1a8], ecx
lea ecx, [eax + 0x64]
mov dword [ebp - 0x1a4], ecx
lea ecx, [eax + 0x7c]
mov dword [ebp - 0x1a0], ecx
lea ecx, [eax + 0x94]
mov dword [ebp - 0x19c], ecx
lea ecx, [eax + 0xac]
mov dword [ebp - 0x198], ecx
lea ecx, [eax + 0xc4]
mov dword [ebp - 0x194], ecx
lea ecx, [eax + 0xdc]
mov dword [ebp - 0x190], ecx
lea ecx, [eax + 0xf4]
mov dword [ebp - 0x18c], ecx
lea ecx, [eax + 0x10c]
mov dword [ebp - 0x188], ecx
lea ecx, [eax + 0x124]
mov dword [ebp - 0x184], ecx
add eax, 0x13c
mov dword [ebp - 0x180], eax
nop dword [eax + eax]
lea ecx, [ebp - 0x44]
call fcn.00402a90
mov byte [ebp - 4], 3
movzx eax, word [edi + 2]
push eax
movzx eax, word [edi]
push eax
push str.StringFileInfo_04x_04x_
lea eax, [ebp - 0x44]
push eax
call fcn.004907c0
push 0x55bf40
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.00413050
add esp, 0x14
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x174]
call fcn.00404470
test al, al
je 0x42a39a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403390
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x42a3a0
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a39a
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x174]
call fcn.00402b20
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x55bf58
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1a8]
call fcn.00404470
test al, al
je 0x42a401
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x74]
call fcn.00403390
push eax
push ebx
call edi
test eax, eax
je 0x42a401
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a401
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x1a8]
call fcn.00402b20
push 0x55bf78
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x8c]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1a4]
call fcn.00404470
test al, al
je 0x42a46e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00403390
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x42a474
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a46e
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x1a4]
call fcn.00402b20
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x55bf90
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xa4]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1a0]
call fcn.00404470
test al, al
je 0x42a4db
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00403390
push eax
push ebx
call edi
test eax, eax
je 0x42a4db
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a4db
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x1a0]
call fcn.00402b20
push 0x55bfac
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xbc]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x19c]
call fcn.00404470
test al, al
je 0x42a548
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00403390
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x42a54e
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a548
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x19c]
call fcn.00402b20
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push str.OriginalFileName
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xd4]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x198]
call fcn.00404470
test al, al
je 0x42a5b5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00403390
push eax
push ebx
call edi
test eax, eax
je 0x42a5b5
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a5b5
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x198]
call fcn.00402b20
push 0x55bff0
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xec]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x194]
call fcn.00404470
test al, al
je 0x42a622
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xec]
call fcn.00403390
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x42a628
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a622
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x194]
call fcn.00402b20
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x55c008
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x104]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x190]
call fcn.00404470
test al, al
je 0x42a68f
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x104]
call fcn.00403390
push eax
push ebx
call edi
test eax, eax
je 0x42a68f
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a68f
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x190]
call fcn.00402b20
push 0x55c028
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x11c]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x18c]
call fcn.00404470
test al, al
je 0x42a6fc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403390
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x42a702
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a6fc
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x18c]
call fcn.00402b20
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push str.LegalTrademarks
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x134]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x188]
call fcn.00404470
test al, al
je 0x42a769
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x134]
call fcn.00403390
push eax
push ebx
call edi
test eax, eax
je 0x42a769
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a769
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x188]
call fcn.00402b20
push str.PrivateBuild
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x14c]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x184]
call fcn.00404470
test al, al
je 0x42a7d6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00403390
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x42a7dc
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a7d6
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x184]
call fcn.00402b20
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push str.SpecialBuild
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x164]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x180]
call fcn.00404470
test al, al
je 0x42a843
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x164]
call fcn.00403390
push eax
push ebx
call edi
test eax, eax
je 0x42a843
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42a843
push edi
call fcn.00402d30
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x180]
call fcn.00402b20
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x164]
call fcn.00402a30
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14c]
call fcn.00402a30
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x134]
call fcn.00402a30
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x11c]
call fcn.00402a30
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x104]
call fcn.00402a30
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xec]
call fcn.00402a30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd4]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.00402a30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.00402a30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.00402a30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.00402a30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00402a30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00402a30
mov edi, dword [ebp - 0x170]
add edi, 4
mov dword [ebp - 0x170], edi
cmp edi, esi
jne 0x42a310
push ebx
call fcn.004e22dd
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x17c]
test edx, edx
je 0x42a972
mov ecx, dword [ebp - 0x178]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x42a953
add ecx, 0x23
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a9b6
push ecx
push edx
call fcn.004e2035
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov al, 1
jmp 0x42a988
push ebx
call fcn.004e22dd
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004e1ff4
mov esp, ebp
pop ebp
ret 4
call fcn.004ed129
int3