Function at 0x4dafa0
Capabilities:
Get file version info
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f9aad
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x80]
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.MSVCR90.dll__stat64i32]
add esp, 8
test eax, eax
jne 0x4daff1
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], eax
jmp 0x4dafff
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov eax, dword [esi + 0x80]
lea ecx, [esp + 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x4db067
xor edx, edx
mov word [esi + 0x5e], ax
mov word [esi + 0x5c], dx
lea eax, [esp + 0x18]
xor ecx, ecx
mov edx, 1
push eax
mov word [esi + 0x60], cx
mov word [esi + 0x62], dx
call fcn.00491540
mov dword [esp + 0x5c], edi
mov ecx, dword [eax]
mov edx, dword [esi + 0x80]
push ecx
push edx
push str.Version_0.0.0.1__s__err:__s_
push 8
call fcn.0043d500
add esp, 0x14
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x4db26d
lea ebx, [edi + 1]
push ebx
call sub.mfc90.dll_Ordinal_265
push ebx
push 0
push eax
mov dword [esi + 0x14], eax
call sub.MSVCR90.dll_memset
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x80]
add esp, 0x10
push ecx
push edi
push edx
push eax
mov dword [esi + 0x18], edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4db0db
xor ecx, ecx
mov word [esi + 0x5e], cx
mov word [esi + 0x5c], ax
lea ecx, [esp + 0x18]
xor edx, edx
mov eax, 2
push ecx
mov word [esi + 0x60], dx
mov word [esi + 0x62], ax
call fcn.00491540
mov dword [esp + 0x5c], 1
mov edx, dword [eax]
mov eax, dword [esi + 0x80]
push edx
push eax
push str.Version_0.0.0.2__s__err:__s_
jmp 0x4db04c
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ebx, 2
mov dword [esp + 0x58], ebx
lea ecx, [esi + 0x10]
push ecx
lea edx, [esi + 0xc]
push edx
lea eax, [esi + 8]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004da600
lea edx, [esi + 0x1c]
push edx
mov ecx, esi
call fcn.004da2c0
test eax, eax
je 0x4db210
movzx ecx, word [esi + 0x24]
movzx eax, word [esi + 0x26]
movzx edx, word [esi + 0x2a]
mov word [esi + 0x5e], cx
movzx ecx, word [esi + 0x2e]
mov word [esi + 0x5c], ax
movzx eax, word [esi + 0x28]
mov word [esi + 0x60], dx
movzx edx, word [esi + 0x2c]
mov word [esi + 0x64], cx
movzx ecx, word [esi + 0x30]
mov word [esi + 0x62], ax
movzx eax, word [esi + 0x32]
mov word [esi + 0x66], dx
mov edx, dword [esi + 0x38]
mov word [esi + 0x6a], cx
mov ecx, dword [esi + 0x40]
mov word [esi + 0x68], ax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x44]
mov dword [esi + 0x74], ecx
lea ecx, [esp + 0x14]
mov dword [esi + 0x70], eax
mov dword [esi + 0x78], edx
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x58], 4
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004dadc0
lea ecx, [esi + 0x84]
push ecx
push 0x51d79c
mov ecx, esi
call fcn.004da3a0
lea edx, [esi + 0x88]
push edx
push 0x50aa74
mov ecx, esi
call fcn.004da3a0
lea eax, [esi + 0x8c]
push eax
push 0x50d3a0
mov ecx, esi
call fcn.004da3a0
lea ecx, [esi + 0x90]
push ecx
push 0x51d7b8
mov ecx, esi
call fcn.004da3a0
mov byte [esp + 0x58], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [ebx - 1]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
xor eax, eax
xor edx, edx
mov word [esi + 0x5e], ax
mov word [esi + 0x5c], dx
lea eax, [esp + 0x18]
xor ecx, ecx
mov edx, 3
push eax
mov word [esi + 0x60], cx
mov word [esi + 0x62], dx
call fcn.00491540
mov byte [esp + 0x5c], 3
mov ecx, dword [eax]
mov edx, dword [esi + 0x80]
push ecx
push edx
push str.Version_0.0.0.3__s__err:__s_
push 8
call fcn.0043d500
add esp, 0x14
mov byte [esp + 0x58], bl
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x4c
ret