Function at 0x402fc4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
lea ebx, [ebp - 0x4c]
mov eax, 0x49b478
call fcn.0047b534
mov word [ebx + 0x10], 0x14
xor edx, edx
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
inc dword [ebx + 0x1c]
mov eax, dword [0x4a4568]
mov eax, dword [eax]
call fcn.00466674
mov word [ebx + 0x10], 8
lea edx, [ebp - 0x50]
push edx
cmp dword [ebp - 4], 0
je 0x40300c
mov ecx, dword [ebp - 4]
jmp 0x403011
mov ecx, 0x49a7e9
push ecx
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
ja 0x403080
mov word [ebx + 0x10], 0x20
mov edx, 0x49a7ea
lea eax, [ebp - 0x10]
call fcn.00485610
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.00485814
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebx + 0x10], 0x2c
push eax
lea eax, [ebp - 0x10]
dec dword [ebx + 0x1c]
call fcn.004857e4
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004857e4
pop eax
mov word [ebx + 0x10], 0x20
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x40326b
push edi
call fcn.0047a890
pop ecx
mov esi, eax
mov word [ebx + 0x10], 8
push esi
push edi
push 0
cmp dword [ebp - 4], 0
je 0x40309e
mov eax, dword [ebp - 4]
jmp 0x4030a3
mov eax, 0x49a7eb
push eax
call sub.VERSION.DLL_GetFileVersionInfoA
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.DLL_VerQueryValueA
mov word [ebx + 0x10], 0x38
xor eax, eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1c]
inc dword [ebx + 0x1c]
mov edx, dword [ebp - 0x54]
movzx eax, word [edx + 2]
mov edx, 4
call fcn.00427ee0
lea ecx, [ebp - 0x1c]
xor eax, eax
push ecx
mov dword [ebp - 0x14], eax
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x54]
movzx eax, word [edx]
mov edx, 4
call fcn.00427ee0
lea edx, [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
inc dword [ebx + 0x1c]
mov eax, str.StringFileInfo_
call fcn.00485bec
lea eax, [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x20]
inc dword [ebx + 0x1c]
pop edx
call fcn.0048583c
lea eax, [ebp - 0x20]
push eax
mov edx, 0x49a816
lea eax, [ebp - 0x24]
call fcn.00485610
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x24]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 8]
pop eax
call fcn.0048583c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004857e4
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004857e4
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004857e4
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004857e4
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004857e4
mov word [ebx + 0x10], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x54]
push ecx
push eax
cmp dword [ebp - 8], 0
je 0x4031ba
mov edx, dword [ebp - 8]
jmp 0x4031bf
mov edx, 0x49a823
push edx
push esi
call sub.VERSION.DLL_VerQueryValueA
mov word [ebx + 0x10], 0x44
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x54]
call fcn.00485610
inc dword [ebx + 0x1c]
mov edx, dword [ebp - 0x58]
dec edx
call fcn.00485964
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00485648
inc dword [ebx + 0x1c]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004857e4
mov word [ebx + 0x10], 8
push esi
call fcn.0047a6b8
pop ecx
lea edx, [ebp - 0xc]
mov word [ebx + 0x10], 0x50
mov eax, dword [ebp + 8]
call fcn.00485814
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebx + 0x10], 0x5c
push eax
lea eax, [ebp - 0xc]
dec dword [ebx + 0x1c]
call fcn.004857e4
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004857e4
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004857e4
pop eax
mov word [ebx + 0x10], 0x50
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret