Function at 0x495a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov dword [esp + 0x40], ecx
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x38], ecx
mov edi, ecx
xor edi, 0x7fffffff
mov dword [esp + 0x3c], eax
mov esi, eax
not esi
mov eax, esi
or eax, edi
mov dword [esp + 0x7c], 4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
jne 0x495a69
mov dword [esp + 0x78], 0xffffffff
jmp 0x495ac7
mov edx, ecx
or edx, eax
je 0x495a79
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
jmp 0x495a8d
lea eax, [esp + 0x58]
mov dword [esp], eax
call fcn.0048f330
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
sub edx, ecx
mov ecx, dword [esp + 0x38]
sbb ecx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x80]
call fcn.0048f260
test edx, edx
jne 0x495d8e
mov dword [esp + 0x78], eax
test eax, eax
je 0x495d76
lea ebx, [esp + 0x78]
mov dword [esp + 0x54], esi
jmp 0x495aec
mov dword [esp + 0x78], eax
test eax, eax
je 0x495d76
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esp], ebx
call fcn.00413500
lea eax, [esp + 0x7c]
mov dword [esp], eax
call fcn.00413500
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x1cff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
sub esp, 0x14
test eax, eax
jne 0x495c4b
mov esi, edi
movzx eax, byte [0x63f2c4]
xor edi, edi
mov byte [esp + 0x37], al
test al, 0x19
jne 0x495ca4
mov dword [esp], 0x40
call dword [sym.imp.USER32.dll_GetQueueStatus]
sub esp, 4
mov ebx, eax
test byte [esp + 0x37], 0x19
je 0x495ba7
cmp byte [edi], 0
je 0x495ba7
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 8], xmm0
mov dword [esp], edi
mov dword [esp + 4], str.MessagePumpForUI::WaitForWork_GetQueueStatus
call fcn.004a10b0
test ebx, sym.software_reporter_tool.exe_Ordinal_0
jne 0x495d76
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
movzx eax, byte [0x63f2c4]
xor edi, edi
mov byte [esp + 0x37], al
test al, 0x19
jne 0x495d0d
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0x58]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_PeekMessageW]
sub esp, 0x14
mov ebx, eax
test byte [esp + 0x37], 0x19
je 0x495c31
cmp byte [edi], 0
je 0x495c31
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x84], eax
movsd xmm0, qword [esp + 0x80]
movsd qword [esp + 8], xmm0
mov dword [esp], edi
mov dword [esp + 4], str.MessagePumpForUI::WaitForWork_PeekMessage
call fcn.004a10b0
test ebx, ebx
jne 0x495d76
mov dword [esp + 0x7c], 0
mov edi, esi
mov esi, dword [esp + 0x54]
lea ebx, [esp + 0x78]
mov eax, 0xffffffff
mov ecx, esi
or ecx, edi
je 0x495ae0
lea eax, [esp + 0x58]
mov dword [esp], eax
call fcn.0048f330
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
sbb ecx, dword [esp + 0x5c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x80]
call fcn.0048f260
test edx, edx
je 0x495ae0
sar edx, 0x1f
not edx
mov eax, edx
jmp 0x495ae0
call fcn.0047aa60
mov ebx, eax
lea edi, [esp + 0x58]
mov dword [esp], edi
call fcn.0049af70
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.MessagePumpForUI::WaitForWork_GetQueueStatus
mov dword [esp + 4], 0x63f2c4
mov dword [esp], 0x58
call fcn.004a0f80
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edx
mov edi, 0x63f2c4
jmp 0x495b5d
call fcn.0047aa60
mov ebx, eax
lea edi, [esp + 0x58]
mov dword [esp], edi
call fcn.0049af70
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.MessagePumpForUI::WaitForWork_PeekMessage
mov dword [esp + 4], 0x63f2c4
mov dword [esp], 0x58
call fcn.004a0f80
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edx
mov edi, 0x63f2c4
jmp 0x495bd6
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00596351
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
sar edx, 0x1f
not edx
mov eax, edx
jmp 0x495abb