Function at 0x404e10
Capabilities:
Check mutex on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585ff9
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5ee034]
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 - 0x90], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x84], eax
movlpd qword [ebp - 0x20], xmm0
call fcn.004207b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x68]
mov ecx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0x60]
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx + 4], eax
test eax, eax
jne 0x404ea0
lea ecx, [ebp - 0x68]
call fcn.00404720
mov dword [ebp - 4], 1
jmp 0x404ecc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404efe
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x68]
mov dword [ebx + 4], 0
call fcn.00404720
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x404ef4
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x404ef4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x404ef4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, 1
jmp 0x4055ab
lea ecx, [ebp - 0x68]
call fcn.00404720
mov dword [ebp - 4], 3
or edi, 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x404f36
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x404f36
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x404f36
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x84]
test edx, edx
je 0x404f79
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404f60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00404780
mov ecx, ebx
call fcn.004058d0
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movlpd qword [ebp - 0x30], xmm0
call fcn.0040d330
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x30]
test ebx, ebx
setne byte [ebp - 0x8a]
test ebx, ebx
je 0x404fb8
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 4]
call eax
test al, al
je 0x404fb8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movlpd qword [ebp - 0x28], xmm0
call fcn.0040d3f0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x28]
test esi, esi
setne byte [ebp - 0x89]
test esi, esi
je 0x404ff0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x404ff0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
movlpd qword [ebp - 0x48], xmm0
call fcn.0040cff0
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x48]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x40501b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
movlpd qword [ebp - 0x40], xmm0
call fcn.0040d670
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x40]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x405046
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
push 0xdc
call fcn.0057d388
mov esi, eax
mov dword [ebp - 0x1c], esi
push 0xdc
push 0
push esi
mov byte [ebp - 4], 9
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [esi], vtable.RC::RCWallpaperOnlineRemindBusiness.0
lea ecx, [esi + 4]
call fcn.00405750
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
add esi, 0x34
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x84], esi
lea ecx, [esi + 8]
xor eax, eax
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x5a6dd8
mov word [ecx], ax
call fcn.00404780
xor eax, eax
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x20]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x5a6dd8
mov word [ecx], ax
call fcn.00404780
mov dword [esi + 0x38], 0
mov byte [esi + 0x3c], 0
mov esi, dword [ebp - 0x1c]
push 2
lea eax, [esi + 0x80]
mov dword [esi + 0x74], 0
push eax
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea eax, [esi + 0xb0]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 0xc
mov byte [esi + 0xd8], 0
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0041b5c0
test al, al
je 0x405245
mov eax, dword [esi + 0x24]
test eax, eax
je 0x405177
mov ecx, dword [eax]
test ecx, ecx
je 0x405177
cmp byte [eax + 4], 0
je 0x405245
cmp byte [ecx + 0x6c], 0
je 0x405245
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], esi
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
push eax
movlpd qword [ebp - 0x18], xmm0
call fcn.0041e7e0
push 0x14
mov byte [ebp - 4], 0xe
call fcn.0057d388
mov edx, eax
add esp, 8
mov dword [ebp - 0x84], edx
mov dword [edx + 4], 1
lea ecx, [edx + 0xc]
mov dword [edx + 8], 1
mov dword [edx], vtable.std::_Ref_count_obj_class_std::shared_future_void__.0
lea eax, [ebp - 0x18]
mov dword [ecx], 0
cmp ecx, eax
je 0x4051da
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ecx], eax
mov dword [ebp - 0x18], esi
jmp 0x4051dd
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov byte [ecx + 4], 0
mov dword [eax + 0x24], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x84], ecx
mov dword [eax + 0x28], edx
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x40521c
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x40521c
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x84]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x40521c
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
test esi, esi
je 0x405241
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x405241
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x405239
mov eax, dword [ecx]
push esi
jmp 0x40523f
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov byte [ebp - 4], 8
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
call fcn.0040d4b0
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x18]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x405270
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
xorps xmm0, xmm0
lea ecx, [ebp - 0x50]
movlpd qword [ebp - 0x50], xmm0
call fcn.004207b0
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x80]
mov ecx, dword [ebp - 0x50]
push edx
mov eax, dword [ecx]
call dword [eax + 0x58]
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
cmovae eax, dword [ebp - 0x80]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
lea ecx, [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x84], esi
movlpd qword [ebp - 0x38], xmm0
call fcn.00420580
push 0x2710
push esi
mov byte [ebp - 4], 0x16
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405324
mov esi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x405301
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x405301
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, esi
call fcn.00405ed0
push 0x2710
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4052e7
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x40532f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
call fcn.0041b910
mov ecx, dword [ebp - 0x1c]
call fcn.0041b800
mov esi, dword [ebp - 0x40]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp - 0x18]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp - 0x48]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
cmp byte [ebp - 0x89], 0
je 0x4053e0
mov esi, dword [ebp - 0x28]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x84], 0
call fcn.00406250
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x4053dc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4053dc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4053dc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x16
cmp byte [ebp - 0x8a], 0
je 0x405447
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x84], 0
call fcn.00406250
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x405447
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x405447
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x405447
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
test eax, eax
je 0x405474
mov esi, dword [eax]
test esi, esi
je 0x405474
mov ecx, esi
mov dword [eax], 0
call fcn.004826b2
push 0xc8
push esi
call fcn.0057d635
add esp, 8
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x40549e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40549e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40549e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.00404720
mov byte [ebp - 4], 0x1a
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x4054d0
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4054d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4054d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4054fa
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4054fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4054fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x1c
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x405524
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x405524
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x405524
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x1d
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x40554e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40554e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40554e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x1e
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x405578
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x405578
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x405578
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x1f
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4055a1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4055a1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4055a1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x68]
call fcn.00404720
xor eax, eax
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.0057d0c6
mov esp, ebp
pop ebp
ret 4