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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5610e1
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5a6124]
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 esi, edx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x9c], 0
mov dword [ebp - 4], 0
movups xmm0, xmmword [str.MasterPDF]
mov eax, dword [0x584c84]
mov dword [ebp - 0x34], eax
mov ax, word [0x584ca0]
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x48], ax
movups xmm0, xmmword [str.PdfRecommand]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [0x584c98]
movq qword [ebp - 0x50], xmm0
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x476607
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x47661c
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x47661e
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x94], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0xc]
test edi, edi
je 0x47669e
lea ecx, [eax - 0x10]
lea esi, [ebx - 0x10]
cmp ecx, esi
je 0x476666
cmp dword [esi + 0xc], 0
jl 0x476689
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x476689
push ecx
call fcn.00407010
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.004081d0
add ebx, 0x10
mov dword [ebp - 0x94], ebx
or edi, 0xffffffff
mov esi, dword [ebp - 0x88]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x476732
mov dword [ebp - 0x90], eax
jmp 0x477224
push edi
push eax
lea ecx, [ebp - 0x94]
call fcn.00407990
mov ebx, dword [ebp - 0x94]
jmp 0x476666
lea ecx, [ebp - 0x90]
call fcn.00473610
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
push ecx
push dword [eax]
lea eax, [ebp - 0x94]
push str._s_s.exe
push eax
call fcn.0042ff80
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov ecx, dword [ebp - 0x90]
add esp, 0x10
add ecx, 0xfffffff0
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x476727
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476718
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x476718
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x94]
jmp 0x476669
mov ecx, edx
call esi
mov ebx, dword [ebp - 0x94]
jmp 0x476669
mov ebx, dword [ebp - 0x94]
jmp 0x47666f
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x476747
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x47675c
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x47675e
call edx
add eax, 0x10
mov dword [ebp - 0xac], eax
push ebx
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 3
push str._s_1
push eax
call fcn.0042ff80
add esp, 0xc
lea ecx, [ebp - 0x60]
test esi, esi
lea eax, [ebp - 0x44]
cmove eax, ecx
lea ecx, [ebp - 0xa4]
push eax
call fcn.00407b50
mov byte [ebp - 4], 4
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x4767b0
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4767c5
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4767c7
call edx
add eax, 0x10
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 5
mov eax, dword [0x585090]
movups xmm0, xmmword [str.SoftwareClients_]
mov dword [ebp - 0x64], eax
mov ax, word [0x583ccc]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0xa4]
push eax
push eax
movups xmmword [ebp - 0x84], xmm0
lea eax, [ebp - 0x84]
movups xmm0, xmmword [0x585080]
push eax
lea eax, [ebp - 0xa0]
movups xmmword [ebp - 0x74], xmm0
push str._s_s_s_s
movq xmm0, qword [0x583cc4]
push eax
movq qword [ebp - 0x24], xmm0
call fcn.0042ff80
mov eax, dword [ebp - 0xa4]
add esp, 0x18
mov edx, eax
lea esi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x476840
sub edx, esi
mov esi, dword [ebp - 0xa0]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push esi
push dword [ebp - 0x8c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ax, word [0x584cac]
lea ecx, [ebp - 0xa8]
movq xmm0, qword [str..pdf]
mov word [ebp - 0x28], ax
mov eax, dword [0x5850b0]
mov dword [ebp - 0x18], eax
mov eax, dword [0x5850b4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc4]
push eax
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0xc4], 0x8fc5
mov dword [ebp - 0xbc], 0x8bfb
call fcn.00407b50
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4768c5
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.004585f0
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4768f0
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.004585f0
cmp dword [ebp - 0x88], 0
je 0x476944
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff0
push eax
call fcn.00407010
add esp, 4
add eax, 0x10
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
mov eax, 1
jmp 0x476962
push str.pdfMaterReader
lea ecx, [ebp - 0xc8]
call fcn.00407b50
mov ecx, eax
mov dword [ebp - 4], 8
mov eax, 2
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x88], eax
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00407010
add esp, 4
mov dword [ebp - 0xd0], eax
lea edi, [eax + 0x10]
mov dword [ebp - 0xd4], edi
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x88]
test al, 2
je 0x4769b6
and eax, 0xfffffffd
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x88], eax
call fcn.00407c20
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 0xb
test al, 1
je 0x4769c9
lea ecx, [ebp - 0x98]
call fcn.00407c20
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x4769de
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4769f3
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4769f5
call edx
add eax, 0x10
mov dword [ebp - 0x9c], eax
push esi
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0xc
push str._sCapabilities
push eax
call fcn.0042ff80
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476a20
mov esi, dword [ebp - 0x9c]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push str.ApplicationDescription
push esi
push dword [ebp - 0x8c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0xac]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x90], ecx
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x476a60
sub edx, dword [ebp - 0x90]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ApplicationIcon
push esi
push dword [ebp - 0x8c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476a91
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
push str.ApplicationName
push esi
push dword [ebp - 0x8c]
call edi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476ac0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push dword [ebp - 0xa4]
push str.SOFTWARERegisteredApplications
push dword [ebp - 0x8c]
call edi
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x476afe
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476b13
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x476b15
call edx
add eax, 0x10
mov dword [ebp - 0x98], eax
push esi
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xd
push str._sFileAssociations
push eax
call fcn.0042ff80
mov eax, dword [ebp - 0xa4]
add esp, 0xc
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x476b42
sub edx, esi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x98]
push dword [ebp - 0x8c]
call edi
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x476b7f
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476b94
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x476b96
call edx
add eax, 0x10
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push str._sInstallInfo
push eax
call fcn.0042ff80
add esp, 0xc
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x476bd3
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476be8
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x476bea
call edx
add eax, 0x10
mov dword [ebp - 0xb4], eax
push ebx
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
push str.__s___HideShortcuts
push eax
call fcn.0042ff80
mov eax, dword [ebp - 0xb4]
add esp, 0xc
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x476c17
sub edx, esi
mov esi, dword [ebp - 0xb8]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.HideIconsCommand
push esi
push dword [ebp - 0x8c]
call edi
push 4
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], 1
push eax
push 4
push str.IconsVisible
push esi
push dword [ebp - 0x8c]
call edi
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x476c79
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476c8e
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x476c90
call edx
add eax, 0x10
mov dword [ebp - 0xb0], eax
push ebx
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x10
push str.__s___SetAsDefaultAppGlobal
push eax
call fcn.0042ff80
mov eax, dword [ebp - 0xb0]
add esp, 0xc
mov edx, eax
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x476cc0
sub edx, edi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ReinstallCommand
push esi
push dword [ebp - 0x8c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x476cfd
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476d12
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x476d14
call edx
add eax, 0x10
mov dword [ebp - 0x88], eax
push ebx
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x11
push str.__s___ShowShortcuts
push eax
call fcn.0042ff80
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x476d41
sub edx, edi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ShowIconsCommand
push esi
push dword [ebp - 0x8c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x476d7e
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476d93
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x476d95
call edx
add eax, 0x10
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xc0]
mov esi, dword [ebp - 0xa0]
push esi
push str._sDefaultIcon
push eax
call fcn.0042ff80
mov eax, dword [ebp - 0xac]
add esp, 0xc
mov edx, eax
lea edi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x476dd0
sub edx, edi
mov edi, dword [ebp - 0xc0]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push edi
push dword [ebp - 0x8c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x476e10
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476e25
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x476e27
call edx
add eax, 0x10
mov dword [ebp - 0x90], eax
push esi
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x13
push str._s_shellopencommand
push eax
call fcn.0042ff80
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476e50
mov esi, dword [ebp - 0x90]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push esi
push dword [ebp - 0x8c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x90], 1
add esi, 0xfffffff0
mov byte [ebp - 4], 0x12
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x476ec8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476ec6
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x476ec6
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call esi
jmp 0x476ece
call edx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0x11
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x476f0b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476f09
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x476f09
push 0
push dword [ecx + 4]
call esi
jmp 0x476f0b
call edx
mov byte [ebp - 4], 0x10
or edi, 0xffffffff
mov ecx, dword [ebp - 0x88]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x476f57
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476f53
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x476f53
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [edx + 4]
call eax
jmp 0x476f57
mov ecx, edx
call esi
mov byte [ebp - 4], 0xf
mov eax, edi
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x476f9f
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476f9b
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x476f9b
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x476f9f
mov ecx, edx
call esi
mov byte [ebp - 4], 0xe
mov eax, edi
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x476fe7
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476fe3
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x476fe3
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x476fe7
mov ecx, edx
call esi
mov byte [ebp - 4], 0xd
mov eax, edi
mov ecx, dword [ebp - 0xb8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x47702f
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x47702b
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x47702b
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x47702f
mov ecx, edx
call esi
mov byte [ebp - 4], 0xc
mov eax, edi
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x477077
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x477073
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x477073
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x477077
mov ecx, edx
call esi
mov byte [ebp - 4], 0xb
mov eax, edi
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4770bf
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4770bb
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4770bb
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4770bf
mov ecx, edx
call esi
mov ecx, dword [ebp - 0xd0]
mov eax, edi
mov byte [ebp - 4], 6
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x477104
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x477100
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x477100
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x477104
mov ecx, edx
call esi
mov byte [ebp - 4], 5
mov eax, edi
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x47714c
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x477148
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x477148
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x47714c
mov ecx, edx
call esi
mov byte [ebp - 4], 4
mov eax, edi
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x477194
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x477190
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x477190
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x477194
mov ecx, edx
call esi
mov byte [ebp - 4], 3
mov eax, edi
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4771dc
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4771d8
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4771d8
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4771dc
mov ecx, edx
call esi
mov byte [ebp - 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xac]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x477224
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x477220
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x477220
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x477224
mov ecx, edx
call esi
mov byte [ebp - 4], 0
add ebx, 0xfffffff0
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x477266
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x477264
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x477264
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call ebx
jmp 0x47726c
call edx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edi
dec edi
test edi, edi
jg 0x4772ae
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4772aa
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4772aa
push 0
push dword [edx + 4]
call ebx
jmp 0x4772ae
mov ecx, edx
call esi
mov eax, dword [ebp - 0x90]
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.00502bf3
mov esp, ebp
pop ebp
ret