Function at 0x41c440
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42291b
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x42e07c]
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 edi, dword [ebp + 8]
test edi, edi
je 0x41cb3f
mov eax, dword [edi]
lea ecx, [ebp - 0x288]
push ecx
push str.p5_rew_b
push edi
mov dword [ebp - 0x288], 0
call dword [eax]
test eax, eax
js 0x41cb5d
mov esi, dword [ebp - 0x288]
mov dword [ebp - 0x2ac], esi
lea eax, [ebp - 0x290]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0xa
push str.NewMessage
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
test eax, eax
js 0x41cb63
mov eax, dword [esi]
lea ecx, [ebp - 0x215]
push ecx
push dword [ebp - 0x290]
push esi
call dword [eax + 0x20]
test eax, eax
js 0x41cb69
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp byte [ebp - 0x215], 0
je 0x41cb3f
mov eax, dword [edi]
lea ecx, [ebp - 0x288]
push ecx
push str.p5_rew_b
push edi
mov dword [ebp - 0x288], 0
call dword [eax]
test eax, eax
js 0x41cb6f
mov esi, dword [ebp - 0x288]
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x2ac], esi
lea eax, [ebp - 0x29c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0xa
push str.NewMessage
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
test eax, eax
js 0x41cb75
push dword [ebp - 0x29c]
push esi
call fcn.0041dad0
add esp, 8
mov dword [ebp - 0x2a0], eax
push 1
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.vccorlib140.DLL_class_Platform::String____stdcall___abi_details::__abi_ObjectToString_class_Platform::Object___bool_]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x41c5ba
lea ecx, [ebp - 0x298]
push ecx
push eax
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDuplicateString
test eax, eax
js 0x41cb7b
mov esi, dword [ebp - 0x298]
mov eax, dword [ebp - 0x290]
jmp 0x41c5bc
xor esi, esi
push eax
mov dword [ebp - 0x28c], esi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov dword [ebp - 0x290], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x41c5f3
lea eax, [ebp - 0x2a4]
push eax
push esi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDuplicateString
test eax, eax
js 0x41cb81
mov esi, dword [ebp - 0x2a4]
jmp 0x41c5f5
xor esi, esi
mov dword [ebp - 0x290], esi
push dword [ebp - 0x28c]
mov dword [ebp - 0x2b4], esi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x41c620
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x41c637
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x294]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x2f4]
push eax
push 0x16
push str.NewChannelUriAvailable
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
test eax, eax
js 0x41cb87
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x28c], 0
push eax
push dword [ebp - 0x294]
push esi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCompareStringOrdinal
cmp dword [ebp - 0x28c], 0
jne 0x41cb39
lea eax, [ebp - 0x214]
push str.FN__NotificationManager::ServiceNewMessage_NewCUriAvailable
push eax
call fcn.00401880
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x214]
add esp, 8
push eax
call esi
push 0x423484
call esi
mov eax, dword [edi]
lea ecx, [ebp - 0x28c]
push ecx
push str.p5_rew_b
push edi
mov dword [ebp - 0x28c], 0
call dword [eax]
test eax, eax
js 0x41cb8d
mov esi, dword [ebp - 0x28c]
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2b0], esi
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x2f4]
push eax
push 7
push str.NewCuri
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
test eax, eax
js 0x41cb93
push dword [ebp - 0x294]
push esi
call fcn.0041dad0
add esp, 8
mov dword [ebp - 0x29c], eax
push 1
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.vccorlib140.DLL_class_Platform::String____stdcall___abi_details::__abi_ObjectToString_class_Platform::Object___bool_]
mov edi, eax
mov dword [ebp - 0x298], edi
mov byte [ebp - 4], 8
test edi, edi
je 0x41c75e
lea eax, [ebp - 0x2a0]
push eax
push edi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDuplicateString
test eax, eax
js 0x41cb99
mov esi, dword [ebp - 0x2a0]
jmp 0x41c760
xor esi, esi
push edi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov dword [ebp - 0x288], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x41c791
lea eax, [ebp - 0x298]
push eax
push esi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDuplicateString
test eax, eax
js 0x41cb9f
mov edi, dword [ebp - 0x298]
jmp 0x41c793
xor edi, edi
push esi
mov dword [ebp - 0x288], edi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x29c]
test ecx, ecx
je 0x41c7b3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2ac]
test ecx, ecx
je 0x41c7c7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push edi
mov byte [ebp - 4], 0xa
call fcn.0041c210
mov esi, eax
add esp, 4
mov dword [ebp - 0x2b0], esi
push 0
push esi
mov byte [ebp - 4], 0xb
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
xor ecx, ecx
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], cx
lea ecx, [ebp - 0x248]
push eax
mov dword [ebp - 0x234], 7
call fcn.00401810
push esi
mov byte [ebp - 4], 0xd
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x230]
cmovae edx, dword [ebp - 0x248]
call fcn.0041c2d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0xe
push str.NotificationRequest
lea ecx, [ebp - 0x2cc]
movups xmmword [ebp - 0x284], xmm0
movups xmmword [ebp - 0x274], xmm0
call fcn.00402d30
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x284]
call fcn.0041abe0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x2b8]
cmp edx, 0x10
jb 0x41c8b5
mov ecx, dword [ebp - 0x2cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c8ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c8ab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041ed03
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x2bc], 0
mov ecx, esp
mov dword [ebp - 0x2b0], esp
mov dword [ebp - 0x2b8], 0xf
mov byte [ebp - 0x2cc], 0
push str.RegisterChannelUri
call fcn.00402d30
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
push 0x4246c8
call fcn.00402d30
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x11
call fcn.0041ace0
cmp dword [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x215]
cmovae ecx, dword [ebp - 0x230]
add eax, ecx
mov byte [ebp - 0x215], 0x23
cmp dword [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x230]
push eax
cmovae ecx, dword [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x2a5]
mov byte [ebp - 0x2a5], 0x25
call fcn.0041db70
sub esp, 0x10
lea eax, [ebp - 0x230]
mov ecx, esp
mov dword [ebp - 0x2b0], esp
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00402e70
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
push 0x4246cc
call fcn.00402d30
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x11
call fcn.0041ace0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x264]
xorps xmm0, xmm0
mov dword [ebp - 0x24c], 0
movups xmmword [ebp - 0x264], xmm0
movq qword [ebp - 0x254], xmm0
call fcn.0041de30
sub esp, 0x20
mov byte [ebp - 4], 0x15
mov esi, esp
lea eax, [ebp - 0x284]
mov dword [ebp - 0x2b0], esi
mov ecx, esi
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00402e70
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0x16
push ecx
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x2ac], ecx
push eax
call fcn.0041dbb0
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x15
call fcn.0041e300
lea ecx, [ebp - 0x264]
call fcn.0041e810
lea ecx, [ebp - 0x264]
call fcn.0041dff0
mov esi, dword [ebp - 0x2b4]
jmp 0x41ca78
lea ecx, [ebp - 0x284]
call fcn.0041ac60
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x41cab9
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41caaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cb06
push edx
push ecx
call fcn.0041ed03
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp edx, 8
jb 0x41cb16
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cb0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41cb0c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041ed03
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
push edi
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
push esi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
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.0041ecc2
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.004010a0
push eax
call fcn.004010a0
push eax
call fcn.004010a0
push eax
call fcn.004010a0
push eax
call fcn.004010a0
push eax
call fcn.004010a0
push eax
call fcn.004010a0
push eax
call fcn.004010a0
push eax
call fcn.004010a0
push eax
call fcn.004010a0
push eax
call fcn.004010a0
push eax
call fcn.004010a0
int3