Function at 0x4daef0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5774a5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x3c], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
push 0x641cfc
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__30]
push dword [ebp - 0x38]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x3c], 1
push str.Application_name_is__s
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__31]
mov ebx, 1
add esp, 0xc
mov dword [ebp - 0x3c], ebx
and ebx, 0xfffffffe
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [edi + 0xb8]
xorps xmm0, xmm0
push 1
push eax
lea ecx, [ebp - 0x24]
movlpd qword [ebp - 0x24], xmm0
call fcn.004f6560
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x4dafc3
mov eax, dword [ecx]
push dword [ebp - 0x18]
call dword [eax + 0x60]
mov ecx, dword [edi + 0xb4]
push 0x5a15e0
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [edi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004f6620
xor eax, eax
lea ecx, [edi + 0xe0]
push 0x587818
mov dword [edi + 0xe4], eax
mov dword [edi + 0xe8], eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
push 0x641cfc
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__30]
lea eax, [ebp - 0x34]
or ebx, 2
push eax
mov dword [ebp - 0x3c], ebx
push dword [ebp - 0x38]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
and ebx, 0xfffffffd
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x4db5b5
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.mfc140u.dll_operator_1]
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x4db070
mov eax, dword [0x641a88]
push 0x12c
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbuscommandhandler.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
add esp, 0x10
jmp 0x4db5b5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
push 0x641cfc
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__30]
push esi
or ebx, 4
mov dword [ebp - 0x3c], ebx
push dword [ebp - 0x2c]
push 0
push dword [ebp - 0x44]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
and ebx, 0xfffffffb
mov esi, eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ebx, dword [ebp - 0x1c]
test esi, esi
je 0x4db48e
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push str.StringFileInfo040904B0FileVersion
push ebx
call esi
test eax, eax
je 0x4db1c4
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4db10a
mov eax, dword [0x641a88]
push 0x137
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbuscommandhandler.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
push ebx
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 0x14
jmp 0x4db5b5
cmp byte [0x641d4d], 0
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__31]
push eax
lea eax, [ebp - 0x18]
je 0x4db134
cmp byte [0x641d4e], 0
je 0x4db12d
push str.Application_Version_is__s__Internal_Engineering_Build_
jmp 0x4db139
push str.Application_Version_is__s__Engineering_Build_
jmp 0x4db139
push str.Application_Version_is__s
push eax
call esi
add esp, 0xc
lea eax, [edi + 0xb8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movlpd qword [ebp - 0x24], xmm0
push 1
push eax
call fcn.004f6560
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x4db189
mov eax, dword [ecx]
push dword [ebp - 0x18]
call dword [eax + 0x60]
mov ecx, dword [edi + 0xb4]
push 0x5a15e0
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [edi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004f6620
push dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 6
lea ecx, [edi + 0xe0]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4db2d0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push str.StringFileInfo040904E4FileVersion
push ebx
call esi
test eax, eax
je 0x4db2a8
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4db211
mov eax, dword [0x641a88]
push 0x158
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbuscommandhandler.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
push ebx
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 0x14
jmp 0x4db5b5
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__31]
push eax
lea eax, [ebp - 0x18]
push str.Application_Version_is__s
push eax
call esi
add esp, 0xc
lea eax, [edi + 0xb8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movlpd qword [ebp - 0x24], xmm0
push 1
push eax
call fcn.004f6560
mov byte [ebp - 4], 7
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x4db270
mov eax, dword [ecx]
push dword [ebp - 0x18]
call dword [eax + 0x60]
mov ecx, dword [edi + 0xb4]
push 0x5a15e0
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [edi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004f6620
push dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 8
lea ecx, [edi + 0xe0]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4db2d0
mov eax, dword [0x641a88]
push 0x169
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbuscommandhandler.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__31]
add esp, 0x10
lea eax, [edi + 0xe0]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__30]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
push 0
push 0x58d8e4
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__25]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
jle 0x4db47f
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
mov byte [ebp - 4], 0xa
push dword [ebp - 0x1c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov word [edi + 0xe4], ax
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add esp, 4
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x2c]
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
push 0
push 0x58d8e4
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__25]
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
jle 0x4db465
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
mov byte [ebp - 4], 0xc
push dword [ebp - 0x2c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov word [edi + 0xe6], ax
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add esp, 4
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x40]
dec eax
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
push 0
push 0x58d8e4
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__25]
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
jle 0x4db458
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x40]
dec eax
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [edi + 0xe8], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4db494
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__31]
cmp dword [edi + 0xe8], 0x7fa8
ja 0x4db4c2
mov eax, dword [0x641a88]
push 0x19e
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbuscommandhandler.cpp
add eax, 0x32c
push 0x587798
push eax
call fcn.004ec040
add esp, 0x10
mov eax, dword [edi + 0xe8]
cmp eax, 0x7fa8
jae 0x4db534
push eax
lea eax, [ebp - 0x18]
push str._Application_Build_Number___d__Failure___should_be_bigger_
push eax
call esi
add esp, 0xc
lea eax, [edi + 0xb8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movlpd qword [ebp - 0x24], xmm0
push 1
push eax
call fcn.004f6560
mov byte [ebp - 4], 0x10
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x4db528
mov eax, dword [ecx]
push dword [ebp - 0x18]
call dword [eax + 0x60]
mov ecx, dword [edi + 0xb4]
push 0x5a15e0
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [edi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004f6620
call fcn.00501f60
test al, al
je 0x4db5ab
mov eax, dword [0x641c48]
test eax, eax
je 0x4db5ab
push eax
lea eax, [ebp - 0x18]
push str.Simulation_clone_devices_have_simulated_comms_latency_enabled__latency_is__ldms_
push eax
call esi
add esp, 0xc
lea eax, [edi + 0xb8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movlpd qword [ebp - 0x24], xmm0
push 1
push eax
call fcn.004f6560
mov byte [ebp - 4], 0x11
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x4db59f
mov eax, dword [ecx]
push dword [ebp - 0x18]
call dword [eax + 0x60]
mov ecx, dword [edi + 0xb4]
push 0x5a15e0
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [edi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004f6620
push ebx
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret