Function at 0x4270b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529e3e
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x588088]
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.00427a80
push ebx
call fcn.00488f70
add esp, 4
test al, al
je 0x427a3e
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 0x427a3e
push 0x58b719
push edi
call fcn.004e2279
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x427a3e
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 0x427180
push ebx
call fcn.004e1d0d
add esp, 4
jmp 0x427a3e
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
push 0x555c14
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x4271ca
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x4271ca
cmp dword [ebp - 0x1c], 0x34
jne 0x4271ca
push 0x34
push eax
push esi
call fcn.004e37f0
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 0x427a2e
cmp dword [ebp - 0x16c], esi
je 0x427a2e
xor edi, edi
test dword [ebp - 0x1c], 0xfffffffc
jbe 0x42730e
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 0x42727a
push esi
push 4
call fcn.004028d0
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 0x427299
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00427b70
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 0x4272ff
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x174], eax
mov eax, 0x409
mov word [ebp - 0x174], ax
cmp ecx, esi
je 0x4272da
push esi
push 4
call fcn.004028d0
add esp, 8
mov ecx, dword [ebp - 0x174]
mov dword [eax], ecx
add esi, 4
mov dword [ebp - 0x24], esi
jmp 0x4272ff
lea eax, [ebp - 0x174]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00427b70
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 0x427240
mov edi, dword [ebp - 0x17c]
mov dword [ebp - 0x170], edi
cmp edi, esi
je 0x4279cc
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.00402ac0
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.0048b8e0
push 0x55a568
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00412f50
add esp, 0x1c
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x174]
call fcn.00404470
test al, al
je 0x42743c
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 0x427442
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42743c
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x174]
call fcn.00402b50
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x55a580
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1a8]
call fcn.00404470
test al, al
je 0x4274a5
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 0x4274a5
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x4274a5
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x1a8]
call fcn.00402b50
push 0x55a5a0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1a4]
call fcn.00404470
test al, al
je 0x427514
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 0x42751a
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x427514
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x1a4]
call fcn.00402b50
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x55a5b8
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1a0]
call fcn.00404470
test al, al
je 0x427583
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 0x427583
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x427583
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x1a0]
call fcn.00402b50
push 0x55a5d4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x19c]
call fcn.00404470
test al, al
je 0x4275f2
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 0x4275f8
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x4275f2
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x19c]
call fcn.00402b50
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push str.OriginalFileName
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x198]
call fcn.00404470
test al, al
je 0x427661
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 0x427661
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x427661
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x198]
call fcn.00402b50
push 0x55a618
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x194]
call fcn.00404470
test al, al
je 0x4276d0
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 0x4276d6
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x4276d0
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x194]
call fcn.00402b50
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x55a630
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x190]
call fcn.00404470
test al, al
je 0x42773f
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 0x42773f
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42773f
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x190]
call fcn.00402b50
push 0x55a650
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x18c]
call fcn.00404470
test al, al
je 0x4277ae
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 0x4277b4
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x4277ae
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x18c]
call fcn.00402b50
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push str.LegalTrademarks
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x188]
call fcn.00404470
test al, al
je 0x42781d
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 0x42781d
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42781d
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x188]
call fcn.00402b50
push str.PrivateBuild
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x184]
call fcn.00404470
test al, al
je 0x42788c
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 0x427892
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x42788c
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x184]
call fcn.00402b50
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push str.SpecialBuild
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x180]
call fcn.00404470
test al, al
je 0x4278fb
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 0x4278fb
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x4278fb
push edi
call fcn.00402d60
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x180]
call fcn.00402b50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x164]
call fcn.00402a60
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14c]
call fcn.00402a60
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x134]
call fcn.00402a60
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x11c]
call fcn.00402a60
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x104]
call fcn.00402a60
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xec]
call fcn.00402a60
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd4]
call fcn.00402a60
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.00402a60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.00402a60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.00402a60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.00402a60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00402a60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00402a60
mov edi, dword [ebp - 0x170]
add edi, 4
mov dword [ebp - 0x170], edi
cmp edi, esi
jne 0x4273b0
push ebx
call fcn.004e1d0d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x17c]
test edx, edx
je 0x427a2a
mov ecx, dword [ebp - 0x178]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x427a0b
add ecx, 0x23
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427a6e
push ecx
push edx
call fcn.004e1a65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov al, 1
jmp 0x427a40
push ebx
call fcn.004e1d0d
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.004e1a24
mov esp, ebp
pop ebp
ret 4
call fcn.004ecb59
int3