Function at 0x618d08
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x618d10
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x6192b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, ebx
mov edx, dword [0x616464]
call fcn.0040ba60
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00407764
mov eax, ebx
mov edx, edi
call fcn.0040a370
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.0040aec8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jbe 0x619283
mov eax, esi
call fcn.0040668c
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x61927c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
mov eax, edi
call fcn.0040aec8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x619266
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x6192cc
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x619266
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.0061a724
movzx eax, ax
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.0061a728
movzx eax, ax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.0061a724
movzx eax, ax
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.0061a728
movzx eax, ax
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
call fcn.0061a724
movzx eax, ax
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
call fcn.0061a728
movzx eax, ax
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
call fcn.0061a724
movzx eax, ax
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
call fcn.0061a728
movzx eax, ax
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
and eax, 2
cmp eax, 2
sete al
mov byte [ebx + 0x54], al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x6192d0
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x618eab
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.0061a724
mov esi, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.0061a728
movzx edx, si
movzx eax, ax
shl eax, 0x10
or edx, eax
mov esi, edx
lea ecx, [ebp - 4]
mov edx, 8
mov eax, esi
call fcn.0042676c
jmp 0x618eb8
lea eax, [ebp - 4]
mov edx, 0x619310
call fcn.0040a3b8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x619330
push dword [ebp - 4]
push 0x619360
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040b1bc
mov eax, dword [ebp - 0x24]
call fcn.0040aec8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x618efb
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.0040af30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x619330
push dword [ebp - 4]
push 0x61938c
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040b1bc
mov eax, dword [ebp - 0x28]
call fcn.0040aec8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x618f3e
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x10]
call fcn.0040af30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x619330
push dword [ebp - 4]
push 0x6193b4
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040b1bc
mov eax, dword [ebp - 0x2c]
call fcn.0040aec8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x618f81
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.0040af30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x619330
push dword [ebp - 4]
push 0x6193e4
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040b1bc
mov eax, dword [ebp - 0x30]
call fcn.0040aec8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x618fc4
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.0040af30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x619330
push dword [ebp - 4]
push 0x619410
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040b1bc
mov eax, dword [ebp - 0x34]
call fcn.0040aec8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x619007
lea eax, [ebx + 0x20]
mov edx, dword [ebp - 0x10]
call fcn.0040af30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x619330
push dword [ebp - 4]
push 0x619440
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040b1bc
mov eax, dword [ebp - 0x38]
call fcn.0040aec8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61904a
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 0x10]
call fcn.0040af30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x619330
push dword [ebp - 4]
push 0x619460
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040b1bc
mov eax, dword [ebp - 0x3c]
call fcn.0040aec8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61908d
lea eax, [ebx + 0x50]
mov edx, dword [ebp - 0x10]
call fcn.0040af30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x619330
push dword [ebp - 4]
push 0x619488
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040b1bc
mov eax, dword [ebp - 0x40]
call fcn.0040aec8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6190d0
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.0040af30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x619330
push dword [ebp - 4]
push 0x6194b0
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040b1bc
mov eax, dword [ebp - 0x44]
call fcn.0040aec8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x619113
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.0040af30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x619330
push dword [ebp - 4]
push 0x6194d8
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040b1bc
mov eax, dword [ebp - 0x48]
call fcn.0040aec8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x619156
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0x10]
call fcn.0040af30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x619330
push dword [ebp - 4]
push 0x619500
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040b1bc
mov eax, dword [ebp - 0x4c]
call fcn.0040aec8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x619199
lea eax, [ebx + 0x28]
mov edx, dword [ebp - 0x10]
call fcn.0040af30
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
lea edx, [ebp - 0x70]
mov ecx, 3
mov eax, 0x619530
call fcn.004286c4
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 8]
call fcn.0040a370
cmp byte [ebx + 0x54], 0
je 0x619262
cmp dword [ebx + 0x3c], 0
jbe 0x61922b
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0x11
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0
lea edx, [ebp - 0x84]
mov ecx, 1
mov eax, 0x619554
call fcn.004286c4
mov edx, dword [ebp - 0x74]
lea eax, [ebx + 8]
call fcn.0040a370
jmp 0x619262
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0x11
lea edx, [ebp - 0x90]
xor ecx, ecx
mov eax, 0x619578
call fcn.004286c4
mov edx, dword [ebp - 0x88]
lea eax, [ebx + 8]
call fcn.0040a370
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x619283
mov eax, dword [ebp - 0x1c]
call fcn.004066dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6192c0
lea eax, [ebp - 0x88]
call fcn.00409f90
lea eax, [ebp - 0x74]
call fcn.00409f90
lea eax, [ebp - 0x50]
mov edx, 0xc
call fcn.00409ff0
lea eax, [ebp - 4]
call fcn.00409f90
ret