Function at 0x43e2a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448b94
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x467a74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push esi
call dword [0x44adf4]
lea eax, [ebp - 0x14]
push eax
call fcn.00407f50
add esp, 8
push eax
lea ecx, [ebx + 0x50]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push esi
lea ecx, [ebp - 0x10]
call dword [0x44adf4]
push 0x44b36c
lea ecx, [ebx + 0x60]
mov dword [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebx + 0x5c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea edx, [ebp - 0x10]
lea ecx, [ebx + 0x6c]
push edx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea edi, [ebx + 0x48]
mov ecx, edi
call dword [sym.imp.mfc100u.dll_]
push eax
lea ecx, [ebx + 0x5c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x43e3b1
push 0x44b36c
lea ecx, [ebx + 0x5c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x43e3b1
push edi
lea eax, [ebp - 0x14]
push 0x44c2a8
push eax
call fcn.00404580
add esp, 0xc
push 0x44b36c
mov ecx, eax
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100u.dll_]
push eax
lea ecx, [ebx + 0x5c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
jmp 0x43e3bf
push str.CURRENTDIR
lea ecx, [ebx + 0x5c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov ecx, edi
call dword [sym.imp.mfc100u.dll_]
push eax
lea ecx, [ebx + 0x6c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
jne 0x43e3e5
push 0x44b36c
lea ecx, [ebx + 0x6c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
jmp 0x43e41f
push edi
lea ecx, [ebp - 0x18]
push 0x44c2a8
push ecx
call fcn.00404580
add esp, 0xc
push 0x44b36c
mov ecx, eax
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100u.dll_]
push eax
lea ecx, [ebx + 0x6c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x43e470
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43e448
and eax, 0xffff
or eax, 0x80070000
test eax, eax
mov esi, 0x80004005
jns 0x43e451
mov esi, eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc100u.dll_new__
mov ecx, dword [ebp + 8]
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x1c]
push edi
push esi
push eax
push ecx
mov dword [ebp - 0x18], edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x43e4e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43e4b9
and eax, 0xffff
or eax, 0x80070000
test eax, eax
mov esi, 0x80004005
jns 0x43e4c2
mov esi, eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
push 0x44c2a8
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x43e536
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43e50e
and eax, 0xffff
or eax, 0x80070000
test eax, eax
mov esi, 0x80004005
jns 0x43e517
mov esi, eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x18]
push ecx
call sub.mfc100u.dll_delete__
movzx edx, word [ebx + 0x14]
movzx eax, word [ebx + 0x16]
movzx ecx, word [ebx + 0x10]
mov esi, dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push edx
movzx edx, word [ebx + 0x12]
push eax
push ecx
push edx
lea eax, [ebx + 0x4c]
push 0x456708
push eax
call esi
movzx ecx, word [ebx + 0x1c]
movzx edx, word [ebx + 0x1e]
movzx eax, word [ebx + 0x18]
push ecx
movzx ecx, word [ebx + 0x1a]
push edx
push eax
push ecx
push 0x456708
add ebx, 0x54
push ebx
call esi
add esp, 0x34
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8