Function at 0x407040
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a40e
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4ae1dc]
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 edi, ecx
cmp dword [edi + 0x38], 0
jne 0x40710f
lea ecx, [ebp - 0xb9]
call fcn.004026b0
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xb9]
call fcn.004200e4
mov ebx, eax
lea esi, [edi + 0x28]
cmp esi, ebx
je 0x4070df
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x4070ba
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00405df0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x4070d2
mov eax, dword [esi]
jmp 0x4070d4
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.00408210
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x4070fd
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00405df0
lea ecx, [ebp - 0xb9]
mov dword [ebp - 4], 0xffffffff
call fcn.00406530
cmp dword [edi + 0x68], 0
jne 0x4071d7
push 0xb
xor eax, eax
mov dword [ebp - 0x14], 7
push str.YZWallpaper
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402070
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041abab
add esp, 8
lea esi, [edi + 0x58]
mov ebx, eax
cmp esi, ebx
je 0x407194
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x40716f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00405df0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x407187
mov eax, dword [esi]
jmp 0x407189
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.00408210
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4071a9
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00405df0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x4071d7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402170
cmp dword [edi + 0x80], 0
jne 0x4072a2
push 7
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.3.0.1.7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00402070
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041abab
add esp, 8
lea esi, [edi + 0x70]
mov ebx, eax
cmp esi, ebx
je 0x40725f
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x40723a
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00405df0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x407252
mov eax, dword [esi]
jmp 0x407254
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.00408210
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x407274
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00405df0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x4072a2
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402170
cmp dword [0x4afb80], 0
jne 0x4072b0
call fcn.00405980
mov ecx, dword [0x4afb80]
lea eax, [ebp - 0xb8]
push eax
call fcn.00408f40
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 6
push eax
call fcn.0041abab
add esp, 8
lea esi, [edi + 0x40]
mov ebx, eax
cmp esi, ebx
je 0x40731a
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x4072f5
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00405df0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x40730d
mov eax, dword [esi]
jmp 0x40730f
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.00408210
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x407335
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00405df0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 8
jb 0x407368
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00402170
cmp dword [ebp + 8], 0
je 0x40738d
lea eax, [ebp - 0xc0]
mov byte [edi], 1
push eax
push 0
push edi
push 0x406e60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], 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.004134d9
mov esp, ebp
pop ebp
ret 4