Function at 0x41d160
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678427
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x71906c]
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.00418810
mov ecx, eax
call fcn.004cfb8d
test al, al
jne 0x41d3ba
mov ecx, dword [edi]
mov eax, dword [ecx + 0x6c]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x41d3ba
cmp byte [eax], 0
je 0x41d3ba
cmp dword [ecx + 0x70], 0
jne 0x41d1f5
push 0x5c
call fcn.0042e861
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.0042e861
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 0x41d252
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x41d247
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00407210
push 0x4c
call fcn.0042e861
push 0x4c
mov esi, eax
push 0
push esi
call fcn.00507ac0
add esp, 0x10
mov ecx, esi
call fcn.00415660
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 0x41d2bd
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41d2ac
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 0x41d2f1
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41d2e0
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 0x41d320
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41d311
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.0041cad0
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 0x41d35f
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.0050d2d4
add esp, 0xc
mov dword [esi + 4], eax
push str.startbrowser
push str.browser
push 0
call fcn.00418740
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 0x41d3ba
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.0042e1e5
mov esp, ebp
pop ebp
ret