Function at 0x4d3cd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b70f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
push edi
lea edi, [ebp - 0x1a0]
mov ecx, 0x65
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x55370c]
mov dword [ebp - 0x10], eax
mov esi, esp
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0
mov esi, esp
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
cmp esi, esp
call fcn.004f90e1
lea edx, [ebp - 0x134]
push edx
mov esi, esp
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp esi, esp
call fcn.004f90e1
add eax, 1
mov esi, esp
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
cmp esi, esp
call fcn.004f90e1
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4d40c7
mov eax, dword [ebp - 0x12c]
push eax
call sub.MFC71.DLL_operator_new
add esp, 4
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x12c]
push eax
push 0
mov esi, esp
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp esi, esp
call fcn.004f90e1
add eax, 1
mov esi, esp
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
cmp esi, esp
call fcn.004f90e1
push eax
call sub.VERSION.dll_GetFileVersionInfoA
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x4d40ac
mov dword [ebp - 0x150], 0x34
push 0x34
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x144], ecx
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x144]
push eax
push 0x525354
mov ecx, dword [ebp - 0x158]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x4d40ac
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x10]
shr eax, 0x10
movzx ecx, ax
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x10]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x160], ecx
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x14]
shr eax, 0x10
movzx ecx, ax
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x14]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x168], ecx
mov esi, esp
mov edx, dword [ebp - 0x15c]
push edx
push 0x525358
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
cmp esi, esp
call fcn.004f90e1
push 0x52535c
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x174]
push edx
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x190], eax
mov byte [ebp - 4], 1
mov esi, esp
mov ecx, dword [ebp - 0x190]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x174]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov edx, dword [ebp - 0x160]
push edx
push 0x525360
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
cmp esi, esp
call fcn.004f90e1
push 0x525364
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x178]
push edx
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 2
mov esi, esp
mov ecx, dword [ebp - 0x198]
push ecx
mov ecx, dword [ebp + 8]
call dword [0x5103f4]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x178]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov edx, dword [ebp - 0x164]
push edx
push 0x525368
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
cmp esi, esp
call fcn.004f90e1
push 0x52536c
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 3
mov esi, esp
mov ecx, dword [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp + 8]
call dword [0x5103f4]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x17c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov edx, dword [ebp - 0x168]
push edx
push 0x525370
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call dword [0x5103f4]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x180], 1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov eax, dword [ebp - 0x180]
jmp 0x4d4104
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
push eax
call sub.MFC71.DLL_operator_delete
add esp, 4
mov esi, esp
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x188], 0
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov eax, dword [ebp - 0x188]
push edx
mov ecx, ebp
push eax
lea edx, [0x4d413a]
call fcn.004f9104
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004f90d3
pop edi
pop esi
add esp, 0x1a0
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret