Function at 0x4fd560
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a7d0
mov eax, dword fs:[0]
push eax
sub esp, 0x908
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x874], ecx
mov dword [ebp - 0x880], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x854], xmm0
movq qword [ebp - 0x844], xmm0
mov dword [ebp - 0x83c], 0
push ecx
lea ecx, [ebp - 0x854]
call fcn.004ffea0
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x878], ecx
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__31]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100
lea eax, [ebp - 0x214]
push eax
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4fde9f
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x214]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4fde8d
mov dword [ebp - 0x824], 0x100
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x814]
push eax
push 0x589e3c
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x4fde85
lea eax, [ebp - 0x858]
push eax
push 0x589e3c
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4fde85
mov dword [ebp - 0x82c], 0x100
mov dword [ebp - 0x830], 0x100
push 0x200
push eax
lea eax, [ebp - 0x614]
push eax
call sub.VCRUNTIME140.dll_memset
push 0x200
push 0
lea eax, [ebp - 0x414]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x588d54
push dword [ebp - 0x858]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x4fde7d
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x614]
push eax
push 0x588d60
push dword [ebp - 0x858]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x4fde7d
push 0x78
call dword [sym.imp.mfc140u.dll_operator]
add esp, 4
mov edi, eax
mov dword [ebp - 0x8dc], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x4fd733
push 0x78
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
call fcn.004f7f00
mov edi, eax
jmp 0x4fd735
xor edi, edi
mov dword [ebp - 0x868], edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x214]
push eax
lea ecx, [edi + 4]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
lea eax, [ebp - 0x614]
push eax
lea ecx, [edi + 0x34]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
mov dword [ebp - 0x824], 0x100
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x814]
push eax
push str.CLSID
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x4fd7e1
push ecx
mov ecx, esp
mov dword [ebp - 0x900], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x904], esp
push str.CLSID
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
lea edx, [edi + 8]
mov ecx, dword [ebp - 0x85c]
call fcn.0050de20
add esp, 8
lea eax, [ebp - 0x860]
push eax
push 0x588d54
push dword [ebp - 0x858]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4fd949
mov dword [ebp - 0x870], 1
lea ecx, [ebp - 0x818]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 5
nop dword [eax + eax]
push 0x10
call dword [sym.imp.mfc140u.dll_operator]
add esp, 4
mov dword [ebp - 0x908], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4fd84a
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, eax
call fcn.004f7de0
mov edi, eax
jmp 0x4fd84c
xor edi, edi
mov dword [ebp - 0x86c], edi
mov byte [ebp - 4], 5
push dword [ebp - 0x870]
push str.ID_1d
lea eax, [ebp - 0x818]
push eax
call esi
add esp, 8
mov ecx, esp
mov dword [ebp - 0x90c], esp
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__30]
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x910], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 8
mov byte [ebp - 4], 5
lea edx, [edi + 8]
mov ecx, dword [ebp - 0x860]
call fcn.0050dcd0
add esp, 8
test al, al
je 0x4fd91c
push dword [ebp - 0x870]
push str.ID_1dSTR
lea eax, [ebp - 0x818]
push eax
call esi
add esp, 8
mov ecx, esp
mov dword [ebp - 0x884], esp
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__30]
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x888], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 5
lea edx, [edi + 4]
mov ecx, dword [ebp - 0x860]
call fcn.0050de20
add esp, 8
test al, al
jne 0x4fda61
mov ecx, dword [ebp - 0x86c]
test ecx, ecx
je 0x4fd92d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push dword [ebp - 0x860]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x818]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x864]
push eax
push 0x588d60
push dword [ebp - 0x858]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4fdaa1
push 0x588d60
lea ecx, [ebp - 0x820]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x868]
push ecx
mov ecx, esp
mov dword [ebp - 0x88c], esp
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__30]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x890], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xb
lea edx, [edi + 0x38]
mov ecx, dword [ebp - 0x864]
call fcn.0050dcd0
add esp, 8
test al, al
je 0x4fda85
mov edi, 1
mov dword [ebp - 0x87c], edi
push edi
push str.VersionSupported_1d
lea eax, [ebp - 0x820]
push eax
call esi
mov dword [ebp - 0x828], 0
add esp, 8
mov ecx, esp
mov dword [ebp - 0x894], esp
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__30]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x898], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x828]
mov ecx, dword [ebp - 0x864]
call fcn.0050da10
add esp, 8
test al, al
je 0x4fda85
push dword [ebp - 0x828]
mov ecx, dword [ebp - 0x868]
lea ecx, [ecx + 0x5c]
call fcn.004f8790
inc edi
jmp 0x4fd9d8
mov eax, dword [ebp - 0x86c]
mov edi, dword [ebp - 0x868]
mov dword [eax + 0xc], edi
push eax
lea ecx, [edi + 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_2006]
inc dword [ebp - 0x870]
jmp 0x4fd820
push dword [ebp - 0x864]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x820]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edi, dword [ebp - 0x868]
push ecx
mov ecx, esp
mov dword [ebp - 0x89c], esp
push str.SimulationSupported
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x8a0], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 1
lea edx, [edi + 0x14]
mov ecx, dword [ebp - 0x858]
call fcn.0050d940
add esp, 4
mov ecx, esp
mov dword [ebp - 0x8a4], esp
push str.StrictVersionMatching
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x12
push ecx
mov ecx, esp
mov dword [ebp - 0x8a8], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 1
lea edx, [edi + 0x15]
mov ecx, dword [ebp - 0x858]
call fcn.0050d940
add esp, 4
mov ecx, esp
mov dword [ebp - 0x8ac], esp
push str.CNOMO_Manufacturer_ID
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x8b0], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 1
lea edx, [edi + 0xc]
mov ecx, dword [ebp - 0x858]
call fcn.0050dcd0
add esp, 4
mov ecx, esp
mov dword [ebp - 0x8b4], esp
push str.DeviceTypeAddress
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x16
push ecx
mov ecx, esp
mov dword [ebp - 0x8b8], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 1
lea edx, [edi + 0x3a]
mov ecx, dword [ebp - 0x858]
call fcn.0050dcd0
add esp, 4
mov ecx, esp
mov dword [ebp - 0x8bc], esp
push str.DeviceVersionAddress
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x18
push ecx
mov ecx, esp
mov dword [ebp - 0x8c0], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 1
lea edx, [edi + 0x3c]
mov ecx, dword [ebp - 0x858]
call fcn.0050dcd0
add esp, 4
mov ecx, esp
mov dword [ebp - 0x8c4], esp
push str.CommsProtocol
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, esp
mov dword [ebp - 0x8c8], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 1
lea edx, [edi + 0x48]
mov ecx, dword [ebp - 0x858]
call fcn.0050dcd0
add esp, 4
mov ecx, esp
mov dword [ebp - 0x8cc], esp
push str.IDMWantsToReceiveOutOfServiceTagValues
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x8d0], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 1
lea edx, [edi + 0x4a]
mov ecx, dword [ebp - 0x858]
call fcn.0050d940
add esp, 4
mov ecx, esp
mov dword [ebp - 0x8d4], esp
push str.CommsWordSwapped
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x1e
push ecx
mov ecx, esp
mov dword [ebp - 0x8d8], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x1f
mov byte [ebp - 4], 1
lea edx, [edi + 0x4b]
mov ecx, dword [ebp - 0x858]
call fcn.0050d940
add esp, 4
mov ecx, esp
mov dword [ebp - 0x8f8], esp
push str.DTMSupport
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x20
push ecx
mov ecx, esp
mov dword [ebp - 0x8e0], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 1
lea edx, [edi + 0x4c]
mov ecx, dword [ebp - 0x858]
call fcn.0050d940
mov dword [ebp - 0x81c], 0
lea edi, [ebp - 0x81c]
add esp, 4
mov ecx, esp
mov dword [ebp - 0x8e4], esp
push str.CommsTypeValueIsHexNumber
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x22
push ecx
mov ecx, esp
mov dword [ebp - 0x8e8], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 1
mov edx, edi
mov ecx, dword [ebp - 0x858]
call fcn.0050dcd0
add esp, 8
mov edi, dword [ebp - 0x868]
test al, al
je 0x4fdd73
movzx eax, word [ebp - 0x81c]
mov dword [edi + 0x40], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x8ec], esp
push str.CommsVersionValueIsHexNumber
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x24
push ecx
mov ecx, esp
mov dword [ebp - 0x8f0], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], 1
lea edx, [ebp - 0x81c]
mov ecx, dword [ebp - 0x858]
call fcn.0050dcd0
add esp, 8
test al, al
je 0x4fddc9
movzx eax, word [ebp - 0x81c]
mov dword [edi + 0x40], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x8f4], esp
push str.DeviceIsAlwaysHiddenFromOPCBrowse
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x26
push ecx
mov ecx, esp
mov dword [ebp - 0x914], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x27
mov byte [ebp - 4], 1
lea edx, [edi + 0x58]
mov ecx, dword [ebp - 0x858]
call fcn.0050d940
mov edi, dword [ebp - 0x868]
add esp, 4
mov ecx, esp
mov dword [ebp - 0x8fc], esp
push str.CommsPasswordSetAddress
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x28
push ecx
mov ecx, esp
mov dword [ebp - 0x834], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 0x29
mov byte [ebp - 4], 1
lea edx, [edi + 0x50]
mov ecx, dword [ebp - 0x858]
call fcn.0050db60
add esp, 8
test al, al
jne 0x4fde6a
mov dword [edi + 0x50], 0xffff
mov dword [edi + 0x54], 0
push edi
lea ecx, [ebp - 0x854]
call dword [sym.imp.mfc140u.dll_Ordinal_2006]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x858]
call edi
push dword [ebp - 0x85c]
call edi
mov ecx, dword [ebp - 0x878]
inc ecx
mov dword [ebp - 0x878], ecx
jmp 0x4fd5e4
xorps xmm0, xmm0
movlpd qword [ebp - 0x838], xmm0
push 1
mov edi, dword [ebp - 0x874]
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x838]
call fcn.004f6560
mov byte [ebp - 4], 0x2a
cmp byte [ebp + 8], 0
je 0x4fdeea
mov esi, dword [sym.imp.mfc140u.dll_Ordinal_12743]
cmp dword [edi + 0xc], 0
je 0x4fdeea
mov ecx, edi
call esi
test eax, eax
je 0x4fded1
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
jmp 0x4fded1
mov eax, dword [ebp - 0x850]
mov dword [ebp - 0x868], eax
test eax, eax
je 0x4fdf87
lea eax, [ebp - 0x868]
push eax
call fcn.004044d0
mov esi, dword [eax]
test esi, esi
je 0x4fdf7c
cmp byte [ebp + 8], 0
jne 0x4fdf73
mov eax, dword [edi + 4]
mov dword [ebp - 0x86c], eax
nop
test eax, eax
je 0x4fdf6d
lea eax, [ebp - 0x86c]
push eax
call fcn.004044d0
mov edi, dword [eax]
test edi, edi
je 0x4fdf65
push dword [esi + 4]
lea ecx, [edi + 4]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__29]
test eax, eax
jne 0x4fdf65
push esi
mov ecx, edi
call fcn.004f81d0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x874]
mov eax, dword [ebp - 0x868]
jmp 0x4fdef6
mov eax, dword [ebp - 0x86c]
jmp 0x4fdf20
mov edi, dword [ebp - 0x874]
push esi
mov ecx, edi
call dword [sym.imp.mfc140u.dll_Ordinal_2006]
mov eax, dword [ebp - 0x868]
jmp 0x4fdef6
mov eax, dword [0x641b70]
cmp byte [eax + 0x104], 0
jne 0x4fdf9a
call fcn.00448130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x838]
call fcn.004f6620
mov ecx, dword [0x641a88]
test ecx, ecx
je 0x4fdfbe
add ecx, 0x2cc
call fcn.004b2600
mov byte [ebp - 4], 0x2b
mov byte [ebp - 4], 0x2c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x854]
call dword [sym.imp.mfc140u.dll_CObList::CObList]
mov al, 1
jmp 0x4fe033
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret 4