Function at 0x47aa00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db32f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x340
mov eax, dword [0x50ffd8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34c], 0
lea ecx, [ebp - 0x130]
call fcn.004014a0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x12c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0045c060
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x18]
call fcn.0046d080
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x18]
call fcn.0046d080
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x47ac35
mov eax, dword [ebp - 0x1c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x348], eax
mov edx, dword [ebp - 0x348]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0046d080
push eax
call sub.VERSION.dll_GetFileVersionInfoA
push str.VarFileInfoTranslation
lea edx, [ebp - 0x344]
push edx
call fcn.004992a0
add esp, 8
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x344]
push edx
mov eax, dword [ebp - 0x348]
push eax
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x140], eax
push str.StringFileInfo_
lea ecx, [ebp - 0x344]
push ecx
call fcn.004992a0
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
movzx ecx, word [eax + 2]
push ecx
mov edx, dword [ebp - 0x13c]
movzx eax, word [edx]
push eax
push str._.4X_.4X_
lea ecx, [ebp - 0x344]
push ecx
call fcn.004980d0
add esp, 4
lea edx, [ebp + eax - 0x344]
push edx
call fcn.004998e8
add esp, 0x10
push 0x4e59b4
lea eax, [ebp - 0x344]
push eax
call fcn.004992b0
add esp, 8
lea ecx, [ebp - 0x144]
push ecx
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x344]
push eax
mov ecx, dword [ebp - 0x348]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x138]
push edx
lea eax, [ebp - 0x244]
push eax
call fcn.004992a0
add esp, 8
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x130]
call fcn.0045c0f0
lea ecx, [ebp - 0x130]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004014c0
mov edx, dword [ebp - 0x34c]
or edx, 1
mov dword [ebp - 0x34c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004014e0
mov eax, dword [ebp + 8]
jmp 0x47ac74
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
call fcn.004014c0
mov ecx, dword [ebp - 0x34c]
or ecx, 1
mov dword [ebp - 0x34c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004014e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x20]
call fcn.00497e50
mov esp, ebp
pop ebp
ret