Function at 0x813e90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x813e98
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x814348
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.0040ac6c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x813eef
lea eax, [ebp - 0x18]
mov ecx, esi
mov edx, 0x814364
call fcn.0040aed8
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00805314
jmp 0x814318
mov eax, dword [ebp - 0xc]
call fcn.00406ba4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x814311
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, esi
call fcn.0040ac6c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x813f46
lea eax, [ebp - 0x1c]
mov ecx, esi
mov edx, 0x8143b0
call fcn.0040aed8
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.00805314
call fcn.00409710
jmp 0x814318
lea eax, [ebp - 0xc]
push eax
push edi
push 0x8143ec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x813f80
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, 0x81442c
call fcn.0040aed8
mov eax, dword [ebp - 0x20]
xor edx, edx
call fcn.00805314
call fcn.00409710
jmp 0x814318
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 4]
push eax
mov esi, dword [edi]
movzx eax, word [esi]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
movzx eax, word [esi + 2]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x814474
call fcn.0042479c
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x8144c4
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x34]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x813ff2
mov eax, ebx
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x8144ec
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x38]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x814038
lea eax, [ebx + 4]
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x81451c
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x3c]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x81407e
lea eax, [ebx + 8]
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x814544
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x40]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x8140c4
lea eax, [ebx + 0xc]
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x81456c
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x44]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x81410a
lea eax, [ebx + 0x10]
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x814598
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x48]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x814150
lea eax, [ebx + 0x14]
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x8145c8
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x4c]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x814196
lea eax, [ebx + 0x18]
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x8145f8
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x50]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x8141dc
lea eax, [ebx + 0x1c]
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x814620
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x54]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x814222
lea eax, [ebx + 0x20]
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x81464c
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x58]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x814268
lea eax, [ebx + 0x24]
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x81466c
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x5c]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x8142ae
lea eax, [ebx + 0x28]
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x814494
push dword [ebp - 4]
push 0x814694
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x60]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x8142f4
lea eax, [ebx + 0x2c]
mov edx, dword [edi]
call fcn.0040acd4
push 1
call sub.kernel32.dll_Sleep_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x814318
mov eax, dword [ebp - 0x10]
call fcn.00406bc0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x81434f
lea eax, [ebp - 0x60]
mov edx, 0xc
call fcn.00409fbc
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00409fbc
lea eax, [ebp - 4]
call fcn.00409f5c
ret