Function at 0x40f8d0
Capabilities:
Check if file exists
Persist via default file association registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b158
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x5ca104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x40f91c
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40f931
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x40f933
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 0xc]
test ebx, ebx
je 0x40f9a1
lea ecx, [eax - 0x10]
lea esi, [edi - 0x10]
cmp ecx, esi
je 0x40f975
cmp dword [esi + 0xc], 0
jl 0x40f992
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40f992
push ecx
call fcn.00405650
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.00407070
add edi, 0x10
mov dword [ebp - 0x14], edi
or ebx, 0xffffffff
mov esi, dword [ebp - 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40fa24
mov dword [ebp - 0x44], eax
jmp 0x4102ba
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00405730
mov edi, dword [ebp - 0x14]
jmp 0x40f975
lea ecx, [ebp - 0x44]
call fcn.0040c540
push str.MasterPDF
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push str._s_s.exe
push eax
call fcn.00420660
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x44]
add esp, 0x10
add ecx, 0xfffffff0
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40fa1c
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40fa10
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x40fa10
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [edx + 4]
call eax
mov edi, dword [ebp - 0x14]
jmp 0x40f978
mov ecx, edx
call esi
mov edi, dword [ebp - 0x14]
jmp 0x40f978
mov edi, dword [ebp - 0x14]
jmp 0x40f97b
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x40fa39
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40fa4e
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x40fa50
call edx
add eax, 0x10
mov dword [ebp - 0x20], eax
push edi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push str._s_1
push eax
call fcn.00420660
add esp, 0xc
mov ecx, str.PdfRecommand
test esi, esi
mov eax, str.MasterPDF
cmove eax, ecx
lea ecx, [ebp - 0x1c]
push eax
call fcn.00404e80
mov byte [ebp - 4], 4
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x40fa9d
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40fab2
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x40fab4
call edx
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
push eax
push eax
lea eax, [ebp - 0x3c]
push str.SoftwareClients_s_s.exe
push eax
call fcn.00420660
mov eax, dword [ebp - 0x1c]
add esp, 0x10
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40fae0
sub edx, esi
mov esi, dword [ebp - 0x3c]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 0x18], 0
mov ecx, str.pdfMaterReader
mov eax, 0x5a48cc
cmove eax, ecx
lea ecx, [ebp - 0x38]
push eax
call fcn.00404e80
mov byte [ebp - 4], 6
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x40fb38
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40fb4d
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x40fb4f
call edx
add eax, 0x10
mov dword [ebp - 0x34], eax
push esi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 7
push str._sCapabilities
push eax
call fcn.00420660
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov edx, eax
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40fb73
sub edx, ebx
mov ebx, dword [ebp - 0x34]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ApplicationDescription
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x20]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x44], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40fba6
sub edx, dword [ebp - 0x44]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ApplicationIcon
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x38]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x44], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40fbd7
sub edx, dword [ebp - 0x44]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ApplicationName
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fc02
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push dword [ebp - 0x1c]
push str.SOFTWARERegisteredApplications
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x40fc3e
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40fc53
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x40fc55
call edx
add eax, 0x10
mov dword [ebp - 0x30], eax
push ebx
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 8
push str._sFileAssociations
push eax
call fcn.00420660
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov edx, eax
lea ebx, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40fc80
sub edx, ebx
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str..pdf
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x40fcbc
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40fcd1
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x40fcd3
call edx
add eax, 0x10
mov dword [ebp - 0x2c], eax
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push str._sInstallInfo
push eax
call fcn.00420660
add esp, 0xc
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x40fd04
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40fd19
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x40fd1b
call edx
add eax, 0x10
mov dword [ebp - 0x28], eax
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push str.__s___HideShortcuts
push eax
call fcn.00420660
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov edx, eax
lea ebx, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40fd40
sub edx, ebx
mov ebx, dword [ebp - 0x2c]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.HideIconsCommand
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 1
push eax
push 4
push str.IconsVisible
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x40fd9b
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40fdb0
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x40fdb2
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push str.__s___SetAsDefaultAppGlobal
push eax
call fcn.00420660
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x44], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40fde0
sub edx, dword [ebp - 0x44]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ReinstallCommand
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x40fe1b
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40fe30
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x40fe32
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xc
push str.__s___ShowShortcuts
push eax
call fcn.00420660
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x44], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40fe60
sub edx, dword [ebp - 0x44]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ShowIconsCommand
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x40fe9b
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40feb0
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x40feb2
call edx
add eax, 0x10
mov dword [ebp - 0x40], eax
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xd
push str._sDefaultIcon
push eax
call fcn.00420660
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov edx, eax
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40fed6
sub edx, ebx
mov ebx, dword [ebp - 0x40]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x40ff10
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40ff25
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x40ff27
call edx
add eax, 0x10
mov dword [ebp - 0x44], eax
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xe
push str._s_shellopencommand
push eax
call fcn.00420660
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ff50
mov esi, dword [ebp - 0x44]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x44], 1
add esi, 0xfffffff0
mov byte [ebp - 4], 0xd
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40ffbf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x40ffbd
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x40ffbd
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call esi
jmp 0x40ffc5
call edx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0xc
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x410002
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410000
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410000
push 0
push dword [ecx + 4]
call esi
jmp 0x410002
call edx
mov byte [ebp - 4], 0xb
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x18]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x41004b
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410047
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410047
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [edx + 4]
call eax
jmp 0x41004b
mov ecx, edx
call esi
mov byte [ebp - 4], 0xa
mov eax, ebx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410090
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41008c
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x41008c
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x410090
mov ecx, edx
call esi
mov byte [ebp - 4], 9
mov eax, ebx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4100d5
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4100d1
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4100d1
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4100d5
mov ecx, edx
call esi
mov byte [ebp - 4], 8
mov eax, ebx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x41011a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410116
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410116
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x41011a
mov ecx, edx
call esi
mov byte [ebp - 4], 7
mov eax, ebx
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x41015f
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41015b
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x41015b
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x41015f
mov ecx, edx
call esi
mov byte [ebp - 4], 6
mov eax, ebx
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4101a4
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4101a0
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4101a0
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4101a4
mov ecx, edx
call esi
mov byte [ebp - 4], 5
mov eax, ebx
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4101e9
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4101e5
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4101e5
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4101e9
mov ecx, edx
call esi
mov byte [ebp - 4], 4
mov eax, ebx
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x41022e
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41022a
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x41022a
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x41022e
mov ecx, edx
call esi
mov byte [ebp - 4], 3
mov eax, ebx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410273
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41026f
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x41026f
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x410273
mov ecx, edx
call esi
mov byte [ebp - 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4102ba
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4102b6
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4102b6
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [edx + 4]
call esi
jmp 0x4102c0
mov ecx, edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4102fc
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4102fa
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4102fa
push 0
push dword [ecx + 4]
call esi
jmp 0x4102fc
call edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x410342
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41033e
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x41033e
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x410342
mov ecx, edx
call esi
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret