Function at 0x401020
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40f2f6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x147c
call fcn.0040cdc0
mov eax, dword [0x415040]
xor eax, esp
mov dword [esp + 0x1478], eax
push ebx
push esi
push edi
mov eax, dword [0x415040]
xor eax, esp
push eax
lea eax, [esp + 0x1490]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x401339
push eax
lea ebx, [esp + 0x48]
call fcn.004023b0
xor edi, edi
mov dword [esp + 0x1498], edi
mov eax, 4
lea ecx, [esp + 0x18]
mov ebx, 1
mov word [esp + 0x3c], ax
mov eax, ebx
mov esi, ecx
mov byte [esp + 0x3e], bl
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x14], edi
call fcn.004026a0
cmp byte [esp + 0x3e], 0
mov eax, esi
jne 0x4010c0
mov eax, dword [esp + 0x38]
xor edx, edx
mov word [eax + 4], dx
mov byte [esp + 0x1498], bl
cmp dword [esp + 0x44], edi
jbe 0x401131
lea eax, [esp + 0x48]
cmp byte [esp + 0x6e], dl
jne 0x4010e1
mov eax, dword [esp + 0x68]
lea esi, [eax + 4]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4010f0
sub eax, edx
push str._SGWallPaper
sar eax, 1
push esi
call fcn.004025b0
add esp, 8
cmp eax, edi
je 0x401131
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x401131
lea ecx, [eax + 0xc]
push ecx
lea ebx, [esp + 0x48]
call fcn.00402530
mov eax, str.SGWallPaper.exe
jmp 0x4011b6
mov edi, str._SGCalendar
lea eax, [esp + 0x44]
call main
cmp eax, 0xffffffff
je 0x401166
lea edx, [eax + 0xb]
push edx
lea ebx, [esp + 0x48]
call fcn.00402530
call fcn.004021c0
test al, al
mov eax, str.SGWPDtSMan64.exe
jne 0x4011b6
mov eax, str.SGWPDtSMan.exe
jmp 0x4011b6
mov edi, str._SGThemeMall
lea eax, [esp + 0x44]
call main
cmp eax, 0xffffffff
je 0x40118d
lea ecx, [eax + 0xc]
push ecx
lea ebx, [esp + 0x48]
call fcn.00402530
mov eax, str.SGWPThemeMall.exe
jmp 0x4011b6
mov edi, str._SGWPNote
lea eax, [esp + 0x44]
call main
cmp eax, 0xffffffff
je 0x401322
lea edx, [eax + 9]
push edx
lea ebx, [esp + 0x48]
call fcn.00402530
mov eax, str.SGWPNote.exe
lea edx, [esp + 0x14]
call fcn.00402460
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x7e]
push ecx
mov word [esp + 0x80], ax
call fcn.004077d0
lea edx, [esp + 0x20]
add esp, 0xc
push edx
lea esi, [esp + 0x78]
call fcn.00401360
add esp, 4
test al, al
jne 0x401235
cmp byte [esp + 0x3e], al
jne 0x40120c
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x40120c
push eax
call fcn.0040295c
add esp, 4
cmp byte [esp + 0x6e], 0
jne 0x401339
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x48]
cmp eax, edx
je 0x401339
push eax
call fcn.0040295c
add esp, 4
jmp 0x401339
cmp byte [esp + 0x6e], 0
lea esi, [esp + 0x48]
jne 0x401244
mov esi, dword [esp + 0x68]
lea ecx, [esp + 0x74]
call fcn.00401eb0
test al, al
jne 0x401261
push str._checksignature
call dword [0x411018]
jmp 0x4012e8
push 1
push 0
add esi, 4
push esi
lea eax, [esp + 0x80]
push eax
push str.open
push 0
call dword [0x41116c]
cmp eax, 0x1f
jne 0x4012e8
push 1
xor ebx, ebx
lea esi, [esp + 0x78]
xor edi, edi
call fcn.00402250
add esp, 4
test al, al
jne 0x4012e8
xor ecx, ecx
push 0xffe
push ecx
lea edx, [esp + 0x48e]
push edx
mov word [esp + 0x490], cx
call fcn.004077d0
add esp, 0xc
mov eax, esi
push eax
push str.shell32.dll_OpenAs_RunDLL___s_
lea edx, [esp + 0x48c]
call fcn.00402390
add esp, 8
push 1
push edi
lea ecx, [esp + 0x48c]
push ecx
push str.rundll32.exe
push edi
push edi
call dword [0x41116c]
cmp byte [esp + 0x3e], 0
jne 0x401304
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x401304
push eax
call fcn.0040295c
add esp, 4
cmp byte [esp + 0x6e], 0
jne 0x401339
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x401339
push eax
call fcn.0040295c
add esp, 4
jmp 0x401339
call fcn.00401530
lea eax, [esp + 0x14]
call fcn.00402440
lea eax, [esp + 0x44]
call fcn.00402440
mov ecx, dword [esp + 0x1490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1478]
xor ecx, esp
call fcn.00402720
mov esp, ebp
pop ebp
ret