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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b218
mov eax, dword fs:[0]
push eax
sub esp, 0x48
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 dword [ebp - 0x40], edx
mov dword [ebp - 0x14], ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 2
push eax
mov edx, str.MasterPDF_
lea ecx, [ebp - 0x48]
call fcn.0041c750
add esp, 4
mov byte [ebp - 4], 3
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4103c2
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4103d7
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4103d9
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax - 0xc]
test ebx, ebx
je 0x410447
lea ecx, [eax - 0x10]
lea edi, [esi - 0x10]
cmp ecx, edi
je 0x41041e
cmp dword [edi + 0xc], 0
jl 0x410438
mov edx, dword [ecx]
cmp edx, dword [edi]
jne 0x410438
push ecx
call fcn.00405650
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00407070
add esi, 0x10
mov dword [ebp - 0x10], esi
or edi, 0xffffffff
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4104be
mov dword [ebp - 0x44], eax
jmp 0x410dbb
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.00405730
mov esi, dword [ebp - 0x10]
jmp 0x41041e
lea ecx, [ebp - 0x44]
call fcn.0040c540
push str.MasterPDF
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x10]
push str._s_s.exe
push eax
call fcn.00420660
mov byte [ebp - 4], 4
add esp, 0x10
mov ecx, dword [ebp - 0x44]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4104b6
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4104b2
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4104b2
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x10]
jmp 0x410421
mov ecx, edx
call esi
mov esi, dword [ebp - 0x10]
jmp 0x410421
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4104d3
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4104e8
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4104ea
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push esi
push str._s__d
push eax
call fcn.00420660
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
push eax
call fcn.00405650
add esp, 0x14
mov dword [ebp - 0x50], eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x54], ebx
mov byte [ebp - 4], 7
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x410537
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41054c
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x41054e
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.MasterPDF
push ebx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push str.SoftwareClients_s_s.exe
push eax
call fcn.00420660
mov ecx, ebx
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410574
mov esi, dword [ebp - 0x18]
sub ecx, edx
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push esi
push dword [ebp - 0x14]
call edi
push 0x5a48cc
lea ecx, [ebp - 0x38]
call fcn.00404e80
mov byte [ebp - 4], 9
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4105c1
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4105d6
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4105d8
call edx
add eax, 0x10
mov dword [ebp - 0x34], eax
push esi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xa
push str._sCapabilities
push eax
call fcn.00420660
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x410600
sub edx, esi
mov esi, dword [ebp - 0x34]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ApplicationDescription
push esi
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0x1c]
mov edx, eax
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x410630
sub edx, edi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ApplicationIcon
push esi
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x38]
mov edx, eax
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x410660
sub edx, edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ApplicationName
push esi
push dword [ebp - 0x14]
call edi
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410690
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push ebx
push str.SOFTWARERegisteredApplications
push dword [ebp - 0x14]
call edi
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4106c6
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4106db
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4106dd
call edx
add eax, 0x10
mov dword [ebp - 0x30], eax
push esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push str._sFileAssociations
push eax
call fcn.00420660
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x41073b
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410710
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push dword [esi]
push dword [ebp - 0x30]
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esi, 4
cmp esi, edi
jne 0x410705
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x410750
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410765
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x410767
call edx
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
push edi
push str._sInstallInfo
push eax
call fcn.00420660
add esp, 0xc
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x41079b
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4107b0
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4107b2
call edx
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x10]
push esi
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 dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4107e0
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 - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 1
push eax
push 4
push str.IconsVisible
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x41083b
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410850
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x410852
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
push esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xe
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 0x410880
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 - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4108bb
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4108d0
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4108d2
call edx
add eax, 0x10
mov dword [ebp - 0x20], eax
push esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xf
push str.__s___ShowShortcuts
push eax
call fcn.00420660
mov eax, dword [ebp - 0x20]
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 0x410900
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 - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x41093b
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410950
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x410952
call edx
add eax, 0x10
mov dword [ebp - 0x3c], eax
push edi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
push str._sDefaultIcon
push eax
call fcn.00420660
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov edx, eax
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x410976
sub edx, ebx
mov ebx, dword [ebp - 0x3c]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4109b0
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4109c5
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4109c7
call edx
add eax, 0x10
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x40]
push dword [ebp + 8]
push esi
push str.__s____s____1____
push eax
call fcn.00420660
add esp, 0x10
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4109fb
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410a10
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x410a12
call edx
add eax, 0x10
mov dword [ebp - 0x44], eax
push edi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x12
push str._s_shellopencommand
push eax
call fcn.00420660
mov edi, dword [ebp - 0x40]
add esp, 0xc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410a36
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 - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x44], 1
add esi, 0xfffffff0
mov byte [ebp - 4], 0x11
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410aa5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410aa3
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410aa3
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call esi
jmp 0x410aab
call edx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0x10
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x410ae8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410ae6
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410ae6
push 0
push dword [ecx + 4]
call esi
jmp 0x410ae8
call edx
or edi, 0xffffffff
mov byte [ebp - 4], 0xf
add ebx, 0xfffffff0
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x410b2d
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410b2b
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410b2b
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call ebx
jmp 0x410b33
call edx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0xe
mov eax, edi
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410b74
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410b70
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410b70
push 0
push dword [edx + 4]
call ebx
jmp 0x410b74
mov ecx, edx
call esi
mov byte [ebp - 4], 0xd
mov eax, edi
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410bb5
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410bb1
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410bb1
push 0
push dword [edx + 4]
call ebx
jmp 0x410bb5
mov ecx, edx
call esi
mov byte [ebp - 4], 0xc
mov eax, edi
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410bf6
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410bf2
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410bf2
push 0
push dword [edx + 4]
call ebx
jmp 0x410bf6
mov ecx, edx
call esi
mov byte [ebp - 4], 0xb
mov eax, edi
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410c37
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410c33
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410c33
push 0
push dword [edx + 4]
call ebx
jmp 0x410c37
mov ecx, edx
call esi
mov byte [ebp - 4], 0xa
mov eax, edi
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410c78
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410c74
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410c74
push 0
push dword [edx + 4]
call ebx
jmp 0x410c78
mov ecx, edx
call esi
mov byte [ebp - 4], 9
mov eax, edi
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410cb9
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410cb5
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410cb5
push 0
push dword [edx + 4]
call ebx
jmp 0x410cb9
mov ecx, edx
call esi
mov byte [ebp - 4], 8
mov eax, edi
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410cfa
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410cf6
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410cf6
push 0
push dword [edx + 4]
call ebx
jmp 0x410cfa
mov ecx, edx
call esi
mov byte [ebp - 4], 7
mov eax, edi
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410d39
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410d37
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410d37
push 0
push dword [ecx + 4]
call ebx
jmp 0x410d39
call edx
mov ecx, dword [ebp - 0x50]
mov eax, edi
mov byte [ebp - 4], 6
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410d77
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410d73
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410d73
push 0
push dword [edx + 4]
call ebx
jmp 0x410d77
mov ecx, edx
call esi
mov byte [ebp - 4], 4
mov eax, edi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410db8
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410db4
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410db4
push 0
push dword [edx + 4]
call ebx
jmp 0x410db8
mov ecx, edx
call esi
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410dfd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410dfb
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410dfb
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call ebx
jmp 0x410e03
call edx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 2
mov eax, edi
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410e44
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410e40
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410e40
push 0
push dword [edx + 4]
call ebx
jmp 0x410e44
mov ecx, edx
call esi
mov byte [ebp - 4], 1
mov eax, edi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410e85
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410e81
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410e81
push 0
push dword [edx + 4]
call ebx
jmp 0x410e85
mov ecx, edx
call esi
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x410ec6
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410ec2
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410ec2
push 0
push dword [edx + 4]
call ebx
jmp 0x410ec6
mov ecx, edx
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edi
dec edi
test edi, edi
jg 0x410f08
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x410f04
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x410f04
push 0
push dword [edx + 4]
call ebx
jmp 0x410f08
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