Function at 0x416f50
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ccc3
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x562494]
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 ebx, ecx
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040ad50
add esp, 4
mov dword [ebp - 4], 0
mov edi, dword [eax]
mov dword [ebp - 0x140], 0x730069
mov dword [ebp - 0x13c], 0x630020
mov dword [ebp - 0x138], 0x650072
mov dword [ebp - 0x134], 0x740061
mov dword [ebp - 0x130], 0x200065
mov dword [ebp - 0x12c], 0x6e0075
mov dword [ebp - 0x128], 0x6e0069
mov dword [ebp - 0x124], 0x740073
mov dword [ebp - 0x120], 0x6c0061
mov dword [ebp - 0x11c], 0x20006c
mov dword [ebp - 0x118], 0x650072
mov dword [ebp - 0x114], 0x67
call fcn.00409bb0
mov ecx, eax
test ecx, ecx
je 0x417c8e
mov eax, dword [ecx]
push 2
push 0x17
call dword [eax]
test eax, eax
je 0x417c98
cmp dword [eax + 8], 0x17
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
jl 0x417c84
xor eax, eax
mov dword [esi - 0xc], 0x17
mov word [esi + 0x2e], ax
mov edx, 0x2e
lea eax, [ebp - 0x140]
mov ecx, esi
push 0x2e
push eax
call fcn.0040a070
add esp, 8
push 1
push 2
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 1
call fcn.0040b060
test esi, esi
mov byte [ebp - 4], 2
mov eax, 0x54c0d8
cmovne eax, esi
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.0040dbf0
add esp, 8
lea ecx, [ebp - 0x1d8]
push dword [ebx + 4]
call fcn.0040b870
lea eax, [ebp - 0x1d8]
mov ecx, edi
push eax
mov eax, dword [edi]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1dc], eax
lea ecx, [ebp - 0x1d4]
call fcn.0040b750
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1dc], eax
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00430cf5
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esp, 4
lea ecx, [esi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x417170
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417c9d
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417c9d
push 0
push dword [edx + 4]
call edi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4171c3
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4171c3
mov eax, dword [esi]
mov edx, dword [eax]
cmp eax, vtable.std::_Ref_count_class_Utils::LoggerImpl_.0
jne 0x417ca6
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4171a3
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4171c3
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 4]
cmp eax, vtable.std::_Ref_count_class_Utils::LoggerImpl_.0
jne 0x417caf
push 1
call dword [eax + 8]
mov esi, dword [ebp - 0x30]
cmp dword [esi + 4], 0
je 0x417c68
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xb0], 0x6e0041
mov dword [ebp - 0xac], 0x740079
mov dword [ebp - 0xa8], 0x690068
mov dword [ebp - 0xa4], 0x67006e
mov dword [ebp - 0xa0], 0x65002e
mov dword [ebp - 0x9c], 0x650078
mov word [ebp - 0x98], ax
call fcn.00409bb0
mov ecx, eax
test ecx, ecx
je 0x417cb6
mov eax, dword [ecx]
push 2
push 0xc
call dword [eax]
test eax, eax
je 0x417cc0
cmp dword [eax + 8], 0xc
lea ecx, [eax + 0x10]
mov dword [ebp - 0x18], ecx
jl 0x417c84
xor eax, eax
mov dword [ecx - 0xc], 0xc
mov word [ecx + 0x18], ax
mov edx, 0x18
lea eax, [ebp - 0xb0]
push 0x18
push eax
call fcn.0040a070
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004069d0
add esp, 0x14
mov byte [ebp - 4], 6
mov eax, ebx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4172c6
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417cc5
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417cc5
push 0
push dword [edx + 4]
call edi
mov dword [ebp - 0x7c], 0x690044
mov dword [ebp - 0x78], 0x700073
mov dword [ebp - 0x74], 0x61006c
mov dword [ebp - 0x70], 0x490079
mov dword [ebp - 0x6c], 0x6f0063
mov dword [ebp - 0x68], 0x6e
call fcn.00409bb0
mov ecx, eax
test ecx, ecx
je 0x417cce
mov eax, dword [ecx]
push 2
push 0xb
call dword [eax]
test eax, eax
je 0x417cd8
cmp dword [eax + 8], 0xb
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
jl 0x417c84
xor eax, eax
mov dword [esi - 0xc], 0xb
mov word [esi + 0x16], ax
mov edx, 0x16
lea eax, [ebp - 0x7c]
mov ecx, esi
push 0x16
push eax
call fcn.0040a070
add esp, 8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
call fcn.00417e50
mov ecx, dword [ebp - 0x1c]
mov edx, eax
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push esi
push dword [edx]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x2c]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4173b4
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417ce7
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x18]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417cdd
push 0
push dword [edx + 4]
call edi
mov byte [ebp - 4], 6
lea ecx, [esi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4173f4
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417cf1
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417cf1
push 0
push dword [edx + 4]
call edi
xor eax, eax
mov dword [ebp - 0x4c], 0x6e0041
mov dword [ebp - 0x48], 0x740079
mov dword [ebp - 0x44], 0x690068
mov dword [ebp - 0x40], 0x67006e
mov word [ebp - 0x3c], ax
call fcn.00409bb0
mov ecx, eax
test ecx, ecx
je 0x417cfa
mov eax, dword [ecx]
push 2
push 8
call dword [eax]
test eax, eax
je 0x417d04
cmp dword [eax + 8], 8
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
jl 0x417c84
xor eax, eax
mov dword [esi - 0xc], 8
mov word [esi + 0x10], ax
mov edx, 0x10
lea eax, [ebp - 0x4c]
mov ecx, esi
push 0x10
push eax
call fcn.0040a070
add esp, 8
mov byte [ebp - 4], 8
mov dword [ebp - 0x94], 0x690044
mov dword [ebp - 0x90], 0x700073
mov dword [ebp - 0x8c], 0x61006c
mov dword [ebp - 0x88], 0x4e0079
mov dword [ebp - 0x84], 0x6d0061
mov dword [ebp - 0x80], 0x65
call fcn.00409bb0
mov ecx, eax
test ecx, ecx
je 0x417d09
mov eax, dword [ecx]
push 2
push 0xb
call dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x417d13
add eax, 0x10
mov dword [ebp - 0x28], eax
cmp dword [eax - 8], 0xb
jl 0x417c84
xor ecx, ecx
mov dword [eax - 0xc], 0xb
mov word [eax + 0x16], cx
mov edx, 0x16
lea ecx, [ebp - 0x94]
push 0x16
push ecx
mov ecx, eax
call fcn.0040a070
add esp, 8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
call fcn.00417e50
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 0x14]
push esi
push 1
add eax, 0x10
push eax
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x2c]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x417572
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x18]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417d22
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x18]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417d18
push 0
push dword [edx + 4]
call edi
mov byte [ebp - 4], 8
mov eax, ebx
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4175bd
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417d36
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x18]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417d2c
push 0
push dword [edx + 4]
call edi
call fcn.00409bb0
mov ecx, eax
test ecx, ecx
je 0x417d40
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417d4a
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004052b0
add esp, 8
mov dword [ebp - 0xd0], 0x690044
xor eax, eax
mov dword [ebp - 0xcc], 0x700073
mov dword [ebp - 0xc8], 0x61006c
mov dword [ebp - 0xc4], 0x560079
mov dword [ebp - 0xc0], 0x720065
mov dword [ebp - 0xbc], 0x690073
mov dword [ebp - 0xb8], 0x6e006f
mov word [ebp - 0xb4], ax
call fcn.00409bb0
mov ecx, eax
test ecx, ecx
je 0x417d51
mov eax, dword [ecx]
push 2
push 0xe
call dword [eax]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x417d5b
add eax, 0x10
mov dword [ebp - 0x34], eax
cmp dword [eax - 8], 0xe
jl 0x417c84
xor ecx, ecx
mov dword [eax - 0xc], 0xe
mov word [eax + 0x1c], cx
mov edx, 0x1c
lea ecx, [ebp - 0xd0]
push 0x1c
push ecx
mov ecx, eax
call fcn.0040a070
add esp, 8
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push eax
call fcn.00417e50
mov edi, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [edi - 0xc]
add eax, eax
push eax
mov eax, dword [ebp - 0x2c]
push edi
push 1
add eax, 0x10
push eax
push dword [ecx]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x24]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x417721
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417d6a
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417d60
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov ecx, dword [ebp - 0x2c]
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x417771
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417d7e
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417d74
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0xf0], 0x6e0049
mov dword [ebp - 0xec], 0x740073
mov dword [ebp - 0xe8], 0x6c0061
mov dword [ebp - 0xe4], 0x4c006c
mov dword [ebp - 0xe0], 0x63006f
mov dword [ebp - 0xdc], 0x740061
mov dword [ebp - 0xd8], 0x6f0069
mov dword [ebp - 0xd4], 0x6e
call fcn.00409bb0
mov ecx, eax
test ecx, ecx
je 0x417d88
mov eax, dword [ecx]
push 2
push 0xf
call dword [eax]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x417d92
add eax, 0x10
mov dword [ebp - 0x34], eax
cmp dword [eax - 8], 0xf
jl 0x417c84
xor ecx, ecx
mov dword [eax - 0xc], 0xf
mov word [eax + 0x1e], cx
mov edx, 0x1e
lea ecx, [ebp - 0xf0]
push 0x1e
push ecx
mov ecx, eax
call fcn.0040a070
add esp, 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
call fcn.00417e50
mov edx, dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [edx]
mov eax, dword [edx - 0xc]
add eax, eax
push eax
mov eax, dword [ebp - 0x2c]
push edx
push 1
add eax, 0x10
push eax
push dword [ecx]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x28]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x417898
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417da1
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417d97
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov ecx, dword [ebp - 0x2c]
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4178e8
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417db5
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417dab
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x64], 0x6e0075
mov dword [ebp - 0x60], 0x6e0069
mov dword [ebp - 0x5c], 0x740073
mov dword [ebp - 0x58], 0x65002e
mov dword [ebp - 0x54], 0x650078
mov word [ebp - 0x50], ax
call fcn.00409bb0
mov ecx, eax
test ecx, ecx
je 0x417dbf
mov eax, dword [ecx]
push 2
push 0xa
call dword [eax]
test eax, eax
je 0x417dc9
cmp dword [eax + 8], 0xa
lea ecx, [eax + 0x10]
mov dword [ebp - 0x2c], ecx
jl 0x417c84
xor eax, eax
mov dword [ecx - 0xc], 0xa
mov word [ecx + 0x14], ax
mov edx, 0x14
lea eax, [ebp - 0x64]
push 0x14
push eax
call fcn.0040a070
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
call fcn.004069d0
add esp, 0x14
mov byte [ebp - 4], 0xf
mov eax, ebx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4179ce
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417dd8
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417dce
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x110], 0x6e0055
mov dword [ebp - 0x10c], 0x6e0069
mov dword [ebp - 0x108], 0x740073
mov dword [ebp - 0x104], 0x6c0061
mov dword [ebp - method.DuiLib::CProgressUI.virtual_148], 0x53006c
mov dword [ebp - 0xfc], 0x720074
mov dword [ebp - 0xf8], 0x6e0069
mov dword [ebp - 0xf4], 0x67
call fcn.00409bb0
mov ecx, eax
test ecx, ecx
je 0x417de2
mov eax, dword [ecx]
push 2
push 0xf
call dword [eax]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x417dec
add eax, 0x10
mov dword [ebp - 0x34], eax
cmp dword [eax - 8], 0xf
jl 0x417c84
xor ecx, ecx
mov dword [eax - 0xc], 0xf
mov word [eax + 0x1e], cx
mov edx, 0x1e
lea ecx, [ebp - 0x110]
push 0x1e
push ecx
mov ecx, eax
call fcn.0040a070
add esp, 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push eax
call fcn.00417e50
mov ecx, dword [ebp - 0x20]
mov edx, eax
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
mov eax, dword [ebp - 0x2c]
push ecx
push 1
add eax, 0x10
push eax
push dword [edx]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x28]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x417af3
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417dfb
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417df1
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0xf
mov eax, ebx
mov ecx, dword [ebp - 0x2c]
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x417b43
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417e0f
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417e05
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x417b96
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417e23
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417e19
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 8
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x417bde
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417e2d
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417e2d
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call edi
jmp 0x417be4
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417c24
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417e34
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417e34
push 0
push dword [ecx + 4]
call edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x417c68
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x417e3b
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x417e3b
push 0
push dword [edx + 4]
call edi
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.004affa8
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040a130
push 0x80004005
call fcn.0040a130
call fcn.00409240
mov ecx, edx
call esi
jmp 0x417170
mov ecx, esi
call edx
jmp 0x4171a3
call edx
jmp 0x4171c3
push 0x80004005
call fcn.0040a130
call fcn.00409240
mov ecx, edx
call esi
jmp 0x4172c6
push 0x80004005
call fcn.0040a130
call fcn.00409240
mov ecx, edx
call dword [ebp - 0x14]
jmp 0x4173b4
mov ecx, edx
call dword [ebp - 0x14]
jmp 0x4173b4
mov ecx, edx
call esi
jmp 0x4173f4
push 0x80004005
call fcn.0040a130
call fcn.00409240
push 0x80004005
call fcn.0040a130
call fcn.00409240
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x417572
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x417572
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x4175bd
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x4175bd
push 0x80004005
call fcn.0040a130
call edx
jmp 0x4175e3
push 0x80004005
call fcn.0040a130
call fcn.00409240
mov ecx, edx
call dword [ebp - 0x28]
jmp 0x417721
mov ecx, edx
call dword [ebp - 0x28]
jmp 0x417721
mov ecx, edx
call dword [ebp - 0x28]
jmp 0x417771
mov ecx, edx
call dword [ebp - 0x28]
jmp 0x417771
push 0x80004005
call fcn.0040a130
call fcn.00409240
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x417898
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x417898
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x4178e8
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x4178e8
push 0x80004005
call fcn.0040a130
call fcn.00409240
mov ecx, edx
call dword [ebp - 0x28]
jmp 0x4179ce
mov ecx, edx
call dword [ebp - 0x28]
jmp 0x4179ce
push 0x80004005
call fcn.0040a130
call fcn.00409240
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x417af3
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x417af3
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x417b43
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x417b43
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x417b96
mov ecx, edx
call dword [ebp - 0x24]
jmp 0x417b96
call edx
jmp 0x417bde
call edx
jmp 0x417c24
mov ecx, edx
call esi
jmp 0x417c68