Function at 0x401530
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x40f2b1
mov eax, dword fs:[0]
push eax
mov eax, 0x10a4
call fcn.0040cdc0
mov eax, dword [0x415040]
xor eax, esp
mov dword [esp + 0x10a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x415040]
xor eax, esp
push eax
lea eax, [esp + 0x10b8]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 4
lea ecx, [esp + 0x28]
mov word [esp + 0x4c], ax
lea eax, [ebx + 1]
mov esi, ecx
mov byte [esp + 0x4e], 1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], ebx
call fcn.004026a0
mov eax, esi
cmp byte [esp + 0x4e], bl
jne 0x4015aa
mov eax, dword [esp + 0x48]
xor edx, edx
mov word [eax + 4], dx
mov dword [esp + 0x10c0], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x80000001
mov byte [esp + 0x20], bl
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push str.SoftwareSogouWallPaper
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
sete al
cmp al, bl
je 0x4018cb
mov ecx, 4
lea edx, [esp + 0x58]
push 0x24
mov word [esp + 0x80], cx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x82], bl
call fcn.00402a39
mov esi, eax
movsx eax, word [esp + 0x80]
add esp, 4
push eax
lea ecx, [esp + 0x5c]
push ecx
push esi
call fcn.00408880
add esp, 0xc
mov dword [esp + 0x78], esi
cmp byte [esp + 0x7e], bl
je 0x401651
lea esi, [esp + 0x58]
mov dword [esi], 0x10
lea eax, [esp + 0x58]
cmp byte [esp + 0x7e], bl
jne 0x401665
mov eax, dword [esp + 0x78]
xor edx, edx
mov word [eax + 4], dx
lea eax, [esp + 0x54]
push eax
push str.InstallLocation
lea ecx, [esp + 0x20]
push ecx
call fcn.00401de0
test al, al
jne 0x40169c
cmp byte [esp + 0x7e], bl
jne 0x4018cb
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x58]
cmp eax, edx
jmp 0x4018c0
mov eax, 4
lea ecx, [esp + 0x88]
push 0x24
mov word [esp + 0xb0], ax
mov dword [esp + 0xac], ecx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x88], ebx
mov byte [esp + 0xb2], bl
call fcn.00402a39
movsx edx, word [esp + 0xb0]
add esp, 4
mov esi, eax
push edx
lea eax, [esp + 0x8c]
push eax
push esi
call fcn.00408880
add esp, 0xc
mov dword [esp + 0xa8], esi
cmp byte [esp + 0xae], bl
je 0x401710
lea esi, [esp + 0x88]
mov dword [esi], 0x10
lea eax, [esp + 0x88]
cmp byte [esp + 0xae], bl
jne 0x40172d
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0x84]
xor ecx, ecx
push edx
mov word [eax + 4], cx
push str.Version
lea eax, [esp + 0x20]
push eax
call fcn.00401de0
test al, al
jne 0x40178b
cmp byte [esp + 0xae], bl
jne 0x401772
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x88]
cmp eax, ecx
je 0x401772
push eax
call fcn.0040295c
add esp, 4
cmp byte [esp + 0x7e], bl
jne 0x4018cb
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x58]
cmp eax, edx
jmp 0x4018c0
lea ebp, [esp + 0x58]
cmp byte [esp + 0x7e], bl
jne 0x401799
mov ebp, dword [esp + 0x78]
add ebp, 4
cmp ebp, ebx
je 0x4017e9
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4017a5
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov dword [esp + 0x24], eax
mov eax, edi
lea esi, [esp + 0x28]
call fcn.004026a0
mov eax, esi
cmp byte [esp + 0x4e], bl
jne 0x4017d2
mov eax, dword [esp + 0x48]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebp
push eax
call fcn.00408880
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
lea esi, [esp + 0x88]
cmp byte [esp + 0xae], bl
jne 0x401800
mov esi, dword [esp + 0xa8]
add esi, 4
cmp esi, ebx
je 0x40184f
cmp word [esi], 0x2e
je 0x40184f
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x40182e
lea eax, [esp + 0x28]
cmp byte [esp + 0x4e], bl
jne 0x401823
mov eax, dword [esp + 0x48]
movzx eax, word [eax + ecx*2 + 2]
cmp ax, 0x5c
je 0x40183c
push 0x4132a4
lea eax, [esp + 0x28]
call fcn.004024b0
cmp word [esi], 0x5c
lea eax, [esp + 0x24]
jne 0x401849
add esi, 2
push esi
call fcn.004024b0
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x401870
lea eax, [esp + 0x28]
cmp byte [esp + 0x4e], bl
jne 0x401865
mov eax, dword [esp + 0x48]
movzx eax, word [eax + ecx*2 + 2]
cmp ax, 0x5c
je 0x40187e
push 0x4132a4
lea eax, [esp + 0x28]
call fcn.004024b0
push str.SGWallPaper.exe
lea eax, [esp + 0x28]
call fcn.004024b0
cmp byte [esp + 0xae], bl
jne 0x4018b0
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0x88]
cmp eax, edx
je 0x4018b0
push eax
call fcn.0040295c
add esp, 4
cmp byte [esp + 0x7e], bl
jne 0x4018cb
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x4018cb
push eax
call fcn.0040295c
add esp, 4
mov byte [esp + 0x10c0], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4018dd
push eax
call edi
cmp dword [esp + 0x24], ebx
je 0x40191a
lea eax, [esp + 0x28]
cmp byte [esp + 0x4e], bl
jne 0x4018f1
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x84]
push edx
add eax, 4
push eax
call fcn.0040319e
add esp, 8
cmp eax, ebx
jne 0x40191a
test dword [esp + 0x8a], 0x4000
je 0x401ccb
mov eax, 0x4132b0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401922
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov dword [esp + 0x24], eax
mov eax, edi
lea esi, [esp + 0x28]
call fcn.004026a0
mov eax, esi
cmp byte [esp + 0x4e], bl
jne 0x40194f
mov eax, dword [esp + 0x48]
lea edx, [edi + edi]
push edx
add eax, 4
push 0x4132b0
push eax
call fcn.00408880
add esp, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x80000002
mov byte [esp + 0x20], bl
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push str.SoftwareSogouWallPaper
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
sete al
cmp al, bl
je 0x401c70
mov ecx, 4
lea edx, [esp + 0x58]
push 0x24
mov word [esp + 0x80], cx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x82], bl
call fcn.00402a39
mov esi, eax
movsx eax, word [esp + 0x80]
add esp, 4
push eax
lea ecx, [esp + 0x5c]
push ecx
push esi
call fcn.00408880
add esp, 0xc
mov dword [esp + 0x78], esi
cmp byte [esp + 0x7e], bl
je 0x4019f8
lea esi, [esp + 0x58]
mov dword [esi], 0x10
lea eax, [esp + 0x58]
cmp byte [esp + 0x7e], bl
jne 0x401a0c
mov eax, dword [esp + 0x78]
xor edx, edx
mov word [eax + 4], dx
lea eax, [esp + 0x54]
push eax
push str.InstallLocation
lea ecx, [esp + 0x20]
push ecx
call fcn.00401de0
test al, al
jne 0x401a43
cmp byte [esp + 0x7e], bl
jne 0x401c70
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x58]
cmp eax, edx
jmp 0x401c65
mov eax, 4
lea ecx, [esp + 0x88]
push 0x24
mov word [esp + 0xb0], ax
mov dword [esp + 0xac], ecx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x88], ebx
mov byte [esp + 0xb2], bl
call fcn.00402a39
movsx edx, word [esp + 0xb0]
add esp, 4
mov esi, eax
push edx
lea eax, [esp + 0x8c]
push eax
push esi
call fcn.00408880
add esp, 0xc
mov dword [esp + 0xa8], esi
cmp byte [esp + 0xae], bl
je 0x401ab7
lea esi, [esp + 0x88]
mov dword [esi], 0x10
lea eax, [esp + 0x88]
cmp byte [esp + 0xae], bl
jne 0x401ad4
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0x84]
xor ecx, ecx
push edx
mov word [eax + 4], cx
push str.Version
lea eax, [esp + 0x20]
push eax
call fcn.00401de0
test al, al
jne 0x401b32
cmp byte [esp + 0xae], bl
jne 0x401b19
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x88]
cmp eax, ecx
je 0x401b19
push eax
call fcn.0040295c
add esp, 4
cmp byte [esp + 0x7e], bl
jne 0x401c70
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x58]
cmp eax, edx
jmp 0x401c65
lea eax, [esp + 0x58]
cmp byte [esp + 0x7e], bl
jne 0x401b40
mov eax, dword [esp + 0x78]
lea ebp, [eax + 4]
cmp ebp, ebx
je 0x401b8e
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401b50
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov dword [esp + 0x24], eax
mov eax, edi
lea esi, [esp + 0x28]
call fcn.004026a0
mov eax, esi
cmp byte [esp + 0x4e], bl
jne 0x401b7d
mov eax, dword [esp + 0x48]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebp
push eax
call fcn.00408880
add esp, 0xc
lea esi, [esp + 0x88]
cmp byte [esp + 0xae], bl
jne 0x401ba5
mov esi, dword [esp + 0xa8]
add esi, 4
cmp esi, ebx
je 0x401bf4
cmp word [esi], 0x2e
je 0x401bf4
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x401bd3
lea eax, [esp + 0x28]
cmp byte [esp + 0x4e], bl
jne 0x401bc8
mov eax, dword [esp + 0x48]
movzx eax, word [eax + ecx*2 + 2]
cmp ax, 0x5c
je 0x401be1
push 0x4132a4
lea eax, [esp + 0x28]
call fcn.004024b0
cmp word [esi], 0x5c
lea eax, [esp + 0x24]
jne 0x401bee
add esi, 2
push esi
call fcn.004024b0
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x401c15
lea eax, [esp + 0x28]
cmp byte [esp + 0x4e], bl
jne 0x401c0a
mov eax, dword [esp + 0x48]
movzx eax, word [eax + ecx*2 + 2]
cmp ax, 0x5c
je 0x401c23
push 0x4132a4
lea eax, [esp + 0x28]
call fcn.004024b0
push str.SGWallPaper.exe
lea eax, [esp + 0x28]
call fcn.004024b0
cmp byte [esp + 0xae], bl
jne 0x401c55
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0x88]
cmp eax, edx
je 0x401c55
push eax
call fcn.0040295c
add esp, 4
cmp byte [esp + 0x7e], bl
jne 0x401c70
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x401c70
push eax
call fcn.0040295c
add esp, 4
mov byte [esp + 0x10c0], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x401c86
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], ebx
je 0x401d72
lea eax, [esp + 0x28]
cmp byte [esp + 0x4e], bl
jne 0x401c9e
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x84]
push edx
add eax, 4
push eax
call fcn.0040319e
add esp, 8
test eax, eax
jne 0x401d72
test dword [esp + 0x8a], 0x4000
jne 0x401d72
lea esi, [esp + 0x28]
cmp byte [esp + 0x4e], bl
jne 0x401cd9
mov esi, dword [esp + 0x48]
add esi, 4
mov ecx, esi
call fcn.00401eb0
test al, al
jne 0x401cf7
push str._checksignature
call dword [0x411018]
jmp 0x401d72
mov ebp, dword [0x41116c]
push 1
push ebx
push 0x4132a8
push esi
push str.open
push ebx
call ebp
cmp eax, 0x1f
jne 0x401d72
cmp esi, ebx
je 0x401d29
push 1
xor ebx, ebx
xor edi, edi
call fcn.00402250
add esp, 4
test al, al
jne 0x401d72
push 0xffe
lea ecx, [esp + 0xba]
xor eax, eax
push ebx
push ecx
mov word [esp + 0xc0], ax
call fcn.004077d0
add esp, 0xc
push esi
push str.shell32.dll_OpenAs_RunDLL___s_
lea edx, [esp + 0xbc]
call fcn.00402390
add esp, 8
push 1
push ebx
lea edx, [esp + 0xbc]
push edx
push str.rundll32.exe
push ebx
push ebx
call ebp
cmp byte [esp + 0x4e], bl
jne 0x401d8d
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x401d8d
push eax
call fcn.0040295c
add esp, 4
mov ecx, dword [esp + 0x10b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10a0]
xor ecx, esp
call fcn.00402720
add esp, 0x10b0
ret