Function at 0x402cf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c666
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4362dc]
mov dword [ebp - 0x38], eax
xor edi, edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x402d3a
mov ecx, dword [eax + 0x3c]
mov edi, dword [ecx + eax + 0x58]
push str._Loader
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str._Loader
mov ebx, eax
lea esi, [ebp - 0x38]
call fcn.004028d0
mov bl, byte [ebp + 8]
test bl, 2
je 0x402e1a
mov ecx, dword [0x4362dc]
mov dword [ebp - 0x34], ecx
push edi
push str.http:__yz.app.sogou.com_appinfo_num_u
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004020c0
mov edx, dword [0x4362dc]
add esp, 8
mov dword [ebp - 0x30], edx
push 0
push 0xbb8
push ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
mov eax, esp
lea esi, [ebp - 0x30]
mov dword [ebp - 0x48], esp
call fcn.00401f10
mov ecx, esi
call fcn.004050e0
add esp, 0xc
test eax, eax
jne 0x402ebd
push str.Request_download_soft_info_fail___
push str._error___CInstaller::RunDownLoadbyKey
push 1
call fcn.00404c20
mov ecx, eax
call fcn.00404ca0
mov eax, dword [ebp - 0x30]
lea ecx, [eax - 0xc]
add esp, 0xc
cmp ecx, 0x4362cc
je 0x402df5
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x402df5
push esi
call fcn.00411ad6
add esp, 4
mov eax, dword [ebp - 0x34]
lea edx, [eax - 0xc]
cmp edx, 0x4362cc
je 0x402e1a
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x402e1a
push esi
call fcn.00411ad6
add esp, 4
mov ecx, dword [0x4362dc]
mov dword [ebp - 0x40], ecx
push edi
mov bl, 5
push str.keynum_u
lea edx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.004020c0
add esp, 8
test byte [0x437ea4], 1
jne 0x402e62
or dword [0x437ea4], 1
mov byte [ebp - 4], 6
call fcn.00405a60
push 0x42cdc0
call fcn.004122eb
add esp, 4
mov byte [ebp - 4], bl
push 0xffffffffffffffff
push 0x437e78
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [0x437e74]
test edx, edx
jne 0x402e7e
call fcn.00406510
mov esi, dword [ebp - 0x40]
mov ecx, esi
mov edx, 0x437e30
call fcn.00405f90
lea eax, [esi - 0xc]
cmp eax, 0x4362cc
je 0x402f70
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x402f76
push esi
call fcn.00411ad6
add esp, 4
jmp 0x402f76
mov esi, dword [ebp - 0x30]
mov eax, dword [esi - 8]
test eax, eax
jg 0x402edc
lea esi, [ebp - 0x30]
call fcn.00402800
lea esi, [ebp - 0x34]
call fcn.00402800
jmp 0x402e1a
js 0x402ec7
push str.statustrue
push esi
call fcn.00411a76
add esp, 8
test eax, eax
je 0x402ec7
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x402ec7
test bl, 1
je 0x402f38
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov ecx, str._Loader__DownLoad_
call fcn.00402b00
mov edi, eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00402040
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00402800
call fcn.00405b70
mov ecx, eax
call fcn.00405e90
jmp 0x402f60
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, str._DownLoad_
call fcn.00402b00
mov edi, eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00402040
lea esi, [ebp - 0x4c]
call fcn.00402800
lea esi, [ebp - 0x30]
call fcn.00402800
lea esi, [ebp - 0x34]
call fcn.00402800
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [0x4362dc]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.00403750
test eax, eax
jne 0x402fd8
mov eax, dword [ebp - 0x3c]
lea edx, [eax - 0xc]
cmp edx, 0x4362cc
je 0x402fb0
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x402fb0
push esi
call fcn.00411ad6
add esp, 4
mov eax, dword [ebp - 0x38]
lea ecx, [eax - 0xc]
cmp ecx, 0x4362cc
je 0x402fd1
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x402fd1
push esi
call fcn.00411ad6
add esp, 4
xor eax, eax
jmp 0x40315a
xor eax, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 8
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x48], eax
call fcn.00401990
add esp, 4
test eax, eax
je 0x403056
cmp dword [ebp - 0x18], 0x10
mov ebx, dword [ebp - 0x2c]
jae 0x40300d
lea ebx, [ebp - 0x2c]
lea eax, [ebp - 0x44]
call fcn.00401fc0
push eax
mov eax, 1
mov byte [ebp - 4], 9
call fcn.00402770
mov esi, eax
call fcn.004039f0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x44]
lea ecx, [eax - 0xc]
cmp ecx, 0x4362cc
je 0x403056
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x403056
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff4
push edx
call fcn.00411ad6
add esp, 4
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
push 1
push 0
push ebx
push esi
push str.open
xor edi, edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jge 0x4030f1
push eax
push str.Execute_luncher_fail__error_Num___d
push str._error___CInstaller::RunDownLoadbyKey
push 1
call fcn.00404c20
mov ecx, eax
call fcn.00404ca0
add esp, 0x10
cmp dword [ebp - 0x18], 0x10
jb 0x4030a3
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041155e
add esp, 4
lea ecx, [esi - 0xc]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp ecx, 0x4362cc
je 0x4030d3
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4030d3
push esi
call fcn.00411ad6
add esp, 4
lea edx, [ebx - 0xc]
cmp edx, 0x4362cc
je 0x402fd1
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x402fc4
cmp dword [ebp - 0x18], 0x10
jb 0x403103
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041155e
add esp, 4
lea ecx, [esi - 0xc]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp ecx, 0x4362cc
je 0x403133
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x403133
push esi
call fcn.00411ad6
add esp, 4
lea edx, [ebx - 0xc]
cmp edx, 0x4362cc
je 0x403155
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x403155
push esi
call fcn.00411ad6
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret