Function at 0x4631d5
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x5df38e
call fcn.00592017
mov ebx, ecx
mov eax, dword [ebx + 0x794]
cmp eax, 2
je 0x463374
cmp eax, 1
je 0x463374
cmp eax, 4
je 0x463374
cmp eax, 3
jne 0x463406
push 0x8c
call fcn.00590c07
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.00459fd9
xor edi, edi
mov dword [ebx + 0x6dc], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
call fcn.0040c387
mov dword [ebp - 0x4c], eax
lea edx, [ebx + 0x7f0]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004d23fd
push eax
lea ecx, [ebp - 0x4c]
call fcn.004648b9
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
push eax
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.0046492f
push 0x40
push dword [ebp - 0x54]
call fcn.004047e6
cmp byte [ebx + 0x7ee], 0
pop ecx
pop ecx
je 0x46334d
cmp dword [ebp - 0x48], edi
je 0x46334d
mov esi, dword [ebp - 0x4c]
mov eax, dword [esi]
mov dword [ebp - 0x50], eax
cmp eax, esi
je 0x463350
add eax, 0x10
push str.skin
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.004115b6
test al, al
jne 0x46333a
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 0x63aa40
add edx, 0x18
call fcn.0041154b
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.00430a1c
add esp, 0x18
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x4632f8
mov eax, dword [eax]
mov ecx, eax
call fcn.00459e86
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 0x5c2
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.0040b67b
lea ecx, [ebp - 0x50]
call fcn.0040590a
mov eax, dword [ebp - 0x50]
cmp eax, esi
jne 0x46329c
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.0046492f
push 0x40
push dword [ebp - 0x4c]
call fcn.004047e6
pop ecx
pop ecx
jmp 0x463406
push 0x100
call fcn.00590c07
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.0045a666
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4633a2
add eax, 0x24
jmp 0x4633a4
mov eax, edi
cmp byte [ebx + 0x7ee], 0
mov dword [ebx + 0x6dc], eax
je 0x463406
cmp dword [0x6e1d64], edi
jne 0x463406
cmp byte [ebx + 0x7c5], 0
je 0x463406
push 0x18
call fcn.00590c07
mov ecx, eax
mov dword [ebp - 0x50], ecx
lea eax, [ebx + 0x7f0]
mov dword [ebp - 4], 1
push eax
push 0x63c384
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 0x45fa6f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebx + 0x6dc]
test ecx, ecx
jne 0x463431
push dword [ebx + 0x794]
push 0x5c9
push str.WorkerWnd::CreateWorkerRender
push str.__s__d___worker_render_false_type_:
call fcn.0040a649
add esp, 0x10
xor al, al
jmp 0x463445
mov edi, dword [ecx]
lea edx, [ebx + 0x71c]
push edx
lea esi, [ebx + 0x6d8]
push esi
call dword [edi]
mov al, 1
call fcn.00591fc1
ret