Function at 0x4690f8
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x5e96b3
call fcn.0059bbd7
mov ebx, ecx
mov eax, dword [ebx + 0x794]
cmp eax, 2
je 0x469297
cmp eax, 1
je 0x469297
cmp eax, 4
je 0x469297
cmp eax, 3
jne 0x469329
push 0x8c
call fcn.0059a7c1
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.0045f90d
xor edi, edi
mov dword [ebx + 0x6dc], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
call fcn.0040c38a
mov dword [ebp - 0x4c], eax
lea edx, [ebx + 0x7f0]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004dbe91
push eax
lea ecx, [ebp - 0x4c]
call fcn.0046a859
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
push eax
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.0046a8cf
push 0x40
push dword [ebp - 0x54]
call fcn.004047e6
cmp byte [ebx + 0x7ee], 0
pop ecx
pop ecx
je 0x469270
cmp dword [ebp - 0x48], edi
je 0x469270
mov esi, dword [ebp - 0x4c]
mov eax, dword [esi]
mov dword [ebp - 0x50], eax
cmp eax, esi
je 0x469273
add eax, 0x10
push str.skin
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.004115c4
test al, al
jne 0x46925d
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 0x646a18
add edx, 0x18
call fcn.00411559
sub esp, 0x14
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp - 0x28]
push eax
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.0040b155
lea ecx, [ebp - 0x40]
call fcn.00435a2c
add esp, 0x18
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x46921b
mov eax, dword [eax]
mov ecx, eax
call fcn.0045f7ba
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00404812
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x64b
push str.WorkerWnd::CreateWorkerRender
push str.__s__d___AddWallpaper_path:__s
call fcn.0040a649
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x50]
call fcn.0040590a
mov eax, dword [ebp - 0x50]
cmp eax, esi
jne 0x4691bf
mov esi, dword [ebp - 0x4c]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
push esi
push dword [esi]
lea ecx, [ebp - 0x4c]
push eax
call fcn.0046a8cf
push 0x40
push dword [ebp - 0x4c]
call fcn.004047e6
pop ecx
pop ecx
jmp 0x469329
push 0x100
call fcn.0059a7c1
pop ecx
mov ecx, eax
mov dword [ebp - 0x44], ecx
lea eax, [ebx + 0x79c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0045ff9f
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4692c5
add eax, 0x24
jmp 0x4692c7
mov eax, edi
cmp byte [ebx + 0x7ee], 0
mov dword [ebx + 0x6dc], eax
je 0x469329
cmp dword [0x6f0e24], edi
jne 0x469329
cmp byte [ebx + 0x7c5], 0
je 0x469329
push 0x18
call fcn.0059a7c1
mov ecx, eax
mov dword [ebp - 0x50], ecx
lea eax, [ebx + 0x7f0]
mov dword [ebp - 4], 1
push eax
push 0x64848c
push ecx
call fcn.00445efc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
add esp, 0x10
mov dword [ebp - 0x44], edi
push ecx
push edi
push eax
push 0x4653fd
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebx + 0x6dc]
test ecx, ecx
jne 0x469354
push dword [ebx + 0x794]
push 0x652
push str.WorkerWnd::CreateWorkerRender
push str.__s__d___worker_render_false_type_:
call fcn.0040a649
add esp, 0x10
xor al, al
jmp 0x469368
mov edi, dword [ecx]
lea edx, [ebx + 0x71c]
push edx
lea esi, [ebx + 0x6d8]
push esi
call dword [edi]
mov al, 1
call fcn.0059bb81
ret