Function at 0x41d830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678957
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x71a06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00418ee0
mov ecx, eax
call fcn.004cfedd
test al, al
jne 0x41da8a
mov ecx, dword [edi]
mov eax, dword [ecx + 0x6c]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x41da8a
cmp byte [eax], 0
je 0x41da8a
cmp dword [ecx + 0x70], 0
jne 0x41d8c5
push 0x5c
call fcn.0042eb71
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00402890
mov dword [esi], vtable.CWonderfulTask.0
lea edx, [esi + 0x58]
xor cl, cl
xchg byte [edx], cl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
mov dword [eax + 0x70], esi
push 0x20
call fcn.0042eb71
mov ecx, eax
xorps xmm0, xmm0
lea edx, [ecx + 4]
mov dword [ebp - 0x40], ecx
add esp, 4
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
mov al, byte [eax]
mov byte [ecx], al
mov eax, dword [edi]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
add eax, 4
cmp edx, eax
je 0x41d922
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x41d917
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00407210
push 0x4c
call fcn.0042eb71
push 0x4c
mov esi, eax
push 0
push esi
call fcn.00507e90
add esp, 0x10
mov ecx, esi
call fcn.00415d30
mov esi, dword [ebp - 0x40]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x68]
mov ecx, dword [ecx + 0x1c]
mov cl, byte [ecx]
mov byte [eax], cl
mov edx, dword [edi]
mov ecx, dword [esi + 0x1c]
mov eax, dword [edx + 0x6c]
lea esi, [ecx + 4]
mov dword [ebp - 0x3c], esi
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x1c]
add eax, 4
cmp esi, eax
mov esi, dword [ebp - 0x40]
je 0x41d98d
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41d97c
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
push edx
call fcn.00407210
mov edx, dword [edi]
mov ecx, dword [esi + 0x1c]
mov eax, dword [edx + 0x6c]
lea esi, [ecx + 0x1c]
mov dword [ebp - 0x3c], esi
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x1c]
add eax, 0x1c
cmp esi, eax
mov esi, dword [ebp - 0x40]
je 0x41d9c1
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41d9b0
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
push edx
call fcn.00407210
mov edx, dword [edi]
mov ecx, dword [esi + 0x1c]
mov eax, dword [edx + 0x6c]
lea edx, [ecx + 0x34]
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x1c]
add eax, 0x34
cmp edx, eax
je 0x41d9f0
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41d9e1
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
push edx
call fcn.00407210
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + 0x34]
push eax
call fcn.0041d1a0
mov eax, dword [edi]
mov esi, dword [eax + 0x70]
mov al, 1
lea ecx, [esi + 0x58]
xchg byte [ecx], al
cmp dword [esi + 4], 0
jne 0x41da2f
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 0
push 0x402960
mov dword [esi + 8], eax
call fcn.0050d6a4
add esp, 0xc
mov dword [esi + 4], eax
push str.startbrowser
push str.browser
push 0
call fcn.00418e10
mov ecx, eax
call fcn.004064d0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_d258e7683f86d19a39fcd3ea7cf9a082___void__void__.0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], eax
push eax
push dword [ebp - 0x40]
mov ecx, esi
mov dword [ebp - 4], 1
push 0x65
call fcn.00402a40
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x41da8a
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e4f5
mov esp, ebp
pop ebp
ret