Function at 0x490780
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
mov dword [ebp - 0x44], edx
mov eax, 0x6568c4
call fcn.005da0b4
mov dword [ebp - 0x6c], 0x34
mov word [ebp - 0x58], 8
xor edx, edx
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], edx
mov edx, 0x656500
inc dword [ebp - 0x4c]
lea eax, [ebp - 8]
mov word [ebp - 0x58], 0x14
mov dword [ebp - 0x74], ecx
mov word [ebp - 0x58], 0x20
call fcn.005e6f90
inc dword [ebp - 0x4c]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.005e7248
dec dword [ebp - 0x4c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005e7218
push 0
xor ecx, ecx
mov word [ebp - 0x58], 0x2c
mov dword [ebp - 0xc], ecx
mov eax, dword [0x6772f8]
inc dword [ebp - 0x4c]
lea edx, [ebp - 0xc]
mov eax, dword [eax]
call fcn.00565d9c
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.005e6fc8
mov ebx, eax
inc dword [ebp - 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x490821
mov edx, dword [ebx]
jmp 0x490826
mov edx, 0x656501
push edx
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0x4c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005e7218
test ebx, ebx
je 0x490ac2
push ebx
call fcn.005d8228
mov esi, eax
pop ecx
push esi
push ebx
push 0
xor eax, eax
mov word [ebp - 0x58], 0x38
mov dword [ebp - 0x14], eax
mov ecx, dword [0x6772f8]
inc dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
mov eax, dword [ecx]
call fcn.00565d9c
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.005e6fc8
mov edi, eax
inc dword [ebp - 0x4c]
mov eax, dword [edi]
test eax, eax
je 0x49089b
mov edx, dword [edi]
jmp 0x4908a0
mov edx, 0x656502
push edx
call sub.VERSION.DLL_GetFileVersionInfoA
push eax
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005e7218
pop eax
test eax, eax
je 0x490abb
lea ecx, [ebp - 0x6c]
push ecx
mov eax, dword [ebp - 0x74]
push eax
push str....TTT
push esi
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x490abb
mov word [ebp - 0x58], 0x44
xor edx, edx
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x1c]
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 8]
shr eax, 0x10
movzx eax, ax
call fcn.005c0fa0
lea edx, [ebp - 0x1c]
push edx
mov edx, 0x656505
lea eax, [ebp - 0x20]
call fcn.005e6f90
inc dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x20]
inc dword [ebp - 0x4c]
lea ecx, [ebp - 0x24]
pop eax
call fcn.005e7270
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.005e725c
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005e7218
mov word [ebp - 0x58], 0x50
xor ecx, ecx
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x28]
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x70]
mov ax, word [eax + 8]
and ax, 0xffff
movzx eax, ax
call fcn.005c0fa0
lea edx, [ebp - 0x28]
push edx
mov edx, 0x656507
lea eax, [ebp - 0x2c]
call fcn.005e6f90
inc dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x2c]
inc dword [ebp - 0x4c]
lea ecx, [ebp - 0x30]
pop eax
call fcn.005e7270
lea edx, [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.005e725c
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.005e7218
mov word [ebp - 0x58], 0x5c
xor ecx, ecx
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x34]
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0xc]
shr eax, 0x10
movzx eax, ax
call fcn.005c0fa0
lea edx, [ebp - 0x34]
push edx
mov edx, 0x656509
lea eax, [ebp - 0x38]
call fcn.005e6f90
inc dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x38]
inc dword [ebp - 0x4c]
lea ecx, [ebp - 0x3c]
pop eax
call fcn.005e7270
lea edx, [ebp - 0x3c]
lea eax, [ebp - 4]
call fcn.005e725c
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.005e7218
mov word [ebp - 0x58], 0x68
xor ecx, ecx
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x40]
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x70]
mov ax, word [eax + 0xc]
and ax, 0xffff
movzx eax, ax
call fcn.005c0fa0
lea edx, [ebp - 0x40]
lea eax, [ebp - 4]
call fcn.005e725c
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.005e7218
push esi
call fcn.005d8060
pop ecx
mov word [ebp - 0x58], 0x74
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x44]
call fcn.005e7248
mov eax, dword [ebp - 0x44]
mov edx, 2
mov word [ebp - 0x58], 0x80
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x4c]
call fcn.005e7218
pop eax
mov word [ebp - 0x58], 0x74
inc dword [ebp - 0x4c]
mov edx, dword [ebp - 0x68]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret