Function at 0x463c9c
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x5e0fb3
call fcn.00593b07
mov ebx, ecx
mov eax, dword [ebx + 0x794]
cmp eax, 2
je 0x463e3b
cmp eax, 1
je 0x463e3b
cmp eax, 4
je 0x463e3b
cmp eax, 3
jne 0x463ecd
push 0x8c
call fcn.005926f7
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.0045a868
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.004d3ec5
push eax
lea ecx, [ebp - 0x4c]
call fcn.00465389
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
push eax
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.004653ff
push 0x40
push dword [ebp - 0x54]
call fcn.004047e6
cmp byte [ebx + 0x7ee], 0
pop ecx
pop ecx
je 0x463e14
cmp dword [ebp - 0x48], edi
je 0x463e14
mov esi, dword [ebp - 0x4c]
mov eax, dword [esi]
mov dword [ebp - 0x50], eax
cmp eax, esi
je 0x463e17
add eax, 0x10
push str.skin
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.004115b9
test al, al
jne 0x463e01
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 0x63cc30
add edx, 0x18
call fcn.0041154e
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.00430a1f
add esp, 0x18
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x463dbf
mov eax, dword [eax]
mov ecx, eax
call fcn.0045a715
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 0x5f4
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 0x463d63
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.004653ff
push 0x40
push dword [ebp - 0x4c]
call fcn.004047e6
pop ecx
pop ecx
jmp 0x463ecd
push 0x100
call fcn.005926f7
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.0045aef5
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x463e69
add eax, 0x24
jmp 0x463e6b
mov eax, edi
cmp byte [ebx + 0x7ee], 0
mov dword [ebx + 0x6dc], eax
je 0x463ecd
cmp dword [0x6e4db4], edi
jne 0x463ecd
cmp byte [ebx + 0x7c5], 0
je 0x463ecd
push 0x18
call fcn.005926f7
mov ecx, eax
mov dword [ebp - 0x50], ecx
lea eax, [ebx + 0x7f0]
mov dword [ebp - 4], 1
push eax
push 0x63e584
push ecx
call fcn.00440e2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
add esp, 0x10
mov dword [ebp - 0x44], edi
push ecx
push edi
push eax
push 0x460320
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebx + 0x6dc]
test ecx, ecx
jne 0x463ef8
push dword [ebx + 0x794]
push 0x5fb
push str.WorkerWnd::CreateWorkerRender
push str.__s__d___worker_render_false_type_:
call fcn.0040a649
add esp, 0x10
xor al, al
jmp 0x463f0c
mov edi, dword [ecx]
lea edx, [ebx + 0x71c]
push edx
lea esi, [ebx + 0x6d8]
push esi
call dword [edi]
mov al, 1
call fcn.00593ab1
ret