Function at 0x408570
Capabilities:
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x446388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [0x45c1e4]
push esi
mov dword [esp + 0x230], eax
mov eax, dword [0x45d16c]
push edi
mov edi, ecx
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0xbc]
mov ecx, dword [edx + 0x2c]
test ecx, ecx
je 0x408612
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xbc]
lea ecx, [eax + 4]
push ecx
add eax, 0x48
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00407ec0
mov eax, dword [0x45d16c]
mov esi, dword [esp + 0x10]
mov ecx, dword [eax + 0x28]
push esi
mov dword [esp + 0x244], 0
call fcn.00409500
lea eax, [esi - 0x10]
mov dword [esp + 0x240], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40860d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0xb4]
mov ecx, dword [edx + 0x2c]
test ecx, ecx
je 0x408662
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xb4]
lea ecx, [eax + 4]
push ecx
add eax, 0x48
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00407ec0
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408662
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, edi
call fcn.00407df0
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push 0x44abbc
add ecx, 0x24
push ecx
call fcn.004080c0
test al, al
je 0x4086b9
lea ecx, [esp + 0x1c]
call fcn.00410c70
lea ecx, [esp + 0x1c]
mov dword [esp + 0x240], 1
call fcn.00411070
lea ecx, [esp + 0x1c]
mov dword [esp + 0x240], 0xffffffff
call fcn.00410c10
jmp 0x408742
mov ecx, dword [0x45d16c]
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + 0x94]
mov esi, dword [edx + 0x2c]
test esi, esi
je 0x4086e5
mov ecx, dword [eax + 0x94]
push 0x44aba0
add ecx, 0x48
push ecx
lea edx, [esp + 0x18]
push edx
jmp 0x408709
mov eax, dword [eax + 0x98]
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x408742
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + 0x94]
push 0x44ab80
add edx, 0x48
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00403800
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408742
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x408799
push 0x409
mov ecx, edi
call fcn.0043d07c
mov edx, dword [eax + 0x1c]
push 0
push 0
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x408799
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
mov dword [ecx + 8], 2
mov eax, dword [0x45d16c]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx + 0x40]
push 1
push ecx
mov ecx, dword [eax + 0x34]
call fcn.00412340
call fcn.00438f74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 8]
push edx
lea eax, [esp + 0x14]
push 0x44ab6c
push eax
mov dword [esp + 0x24c], 2
call fcn.004037e0
mov ecx, dword [0x45d16c]
mov edx, dword [ecx + 0x14]
add esp, 0xc
push str.wnsoft.ini
add edx, 0x14
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00403800
mov ecx, dword [0x45d16c]
mov eax, dword [eax]
mov edx, dword [ecx + 0x14]
mov ecx, dword [edx + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push ecx
push str.StartInstallPath
push str.Globals
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408831
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push str.wnsoft.ini
add ecx, 0x14
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00403800
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push eax
push str.IsMainUrl
push str.Globals
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40887e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push str.wnsoft.ini
add ecx, 0x14
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00403800
mov ecx, dword [0x45d16c]
mov eax, dword [eax]
mov edx, dword [ecx + 0x14]
mov ecx, dword [edx + 0x2c]
push eax
push ecx
push str.StartPage
push str.Globals
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebp
push str.TT98
lea ecx, [esp + 0x10]
call fcn.004044b0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x45d16c]
mov ecx, dword [ecx + 0x28]
push 1
push eax
mov byte [esp + 0x24c], 3
call fcn.00409130
push 0x44ab18
call fcn.004293bb
add esp, 4
push eax
push 0x44ab18
lea ecx, [esp + 0x14]
call fcn.004030c0
mov edx, dword [esp + 0xc]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x28]
push 2
push edx
call fcn.00409130
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x40]
push 0
push 0
push edx
push ecx
mov ecx, dword [eax + 0x28]
call fcn.004092a0
push 0x44ab10
call fcn.004293bb
add esp, 4
push eax
push 0x44ab10
lea ecx, [esp + 0x14]
call fcn.004030c0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x45d16c]
mov ecx, dword [ecx + 0x28]
push 3
push eax
call fcn.00409130
push str.baidu
call fcn.004293bb
add esp, 4
push eax
push str.baidu
lea ecx, [esp + 0x14]
call fcn.004030c0
mov edx, dword [esp + 0xc]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x28]
push 4
push edx
call fcn.00409130
push 0x44aaf8
call fcn.004293bb
add esp, 4
push eax
push 0x44aaf8
lea ecx, [esp + 0x14]
call fcn.004030c0
mov ecx, dword [esp + 0xc]
mov edx, dword [0x45d16c]
push 5
push ecx
mov ecx, dword [edx + 0x28]
call fcn.00409130
push 0x44aaec
call fcn.004293bb
add esp, 4
push eax
push 0x44aaec
lea ecx, [esp + 0x14]
call fcn.004030c0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x45d16c]
mov ecx, dword [ecx + 0x28]
push 6
push eax
call fcn.00409130
push 0x44aae0
call fcn.004293bb
add esp, 4
push eax
push 0x44aae0
lea ecx, [esp + 0x14]
call fcn.004030c0
mov edx, dword [esp + 0xc]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x28]
push 7
push edx
call fcn.00409130
push 0x44aad4
call fcn.004293bb
add esp, 4
push eax
push 0x44aad4
lea ecx, [esp + 0x14]
call fcn.004030c0
mov ecx, dword [esp + 0xc]
mov edx, dword [0x45d16c]
push 8
push ecx
mov ecx, dword [edx + 0x28]
call fcn.00409130
mov ecx, dword [0x45d16c]
mov eax, dword [ecx + 0x14]
mov ebp, dword [eax + 0xe0]
cmp ebp, dword [eax + 0xe4]
je 0x408c71
lea esi, [ebp + 4]
push ebx
nop
mov eax, dword [esi + 4]
test eax, eax
je 0x408c4e
push 1
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00403220
mov eax, dword [eax]
push 0x44aad0
push eax
call fcn.0042928d
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408adc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
mov eax, dword [esi]
je 0x408b19
mov ecx, dword [0x45d16c]
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push 0x449cac
push ecx
call fcn.00428eda
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x28]
add esp, 0x10
lea edx, [esp + 0x34]
push edx
call fcn.00408ef0
jmp 0x408c4e
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x408bb1
push str._SETMAINLNK
push eax
call fcn.004292bf
add esp, 8
test eax, eax
je 0x408bb1
mov ecx, dword [esi]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x408bb1
mov edi, dword [ecx - 0xc]
test edi, edi
jg 0x408b4d
or eax, 0xffffffff
jmp 0x408b65
push 0x20
push ecx
call fcn.00429792
add esp, 8
test eax, eax
jne 0x408b61
or eax, 0xffffffff
jmp 0x408b65
sub eax, dword [esi]
sar eax, 1
sub edi, eax
dec edi
push edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004031b0
mov eax, dword [eax]
mov edx, dword [0x45d16c]
mov ecx, dword [edx + 0x34]
push 1
push eax
mov byte [esp + 0x250], 4
call fcn.00412340
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x248], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x408c44
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x408c4e
push str._NETURL
push eax
call fcn.004292bf
add esp, 8
test eax, eax
je 0x408c4e
mov ecx, dword [esi]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x408c4e
mov edi, dword [ecx - 0xc]
test edi, edi
jg 0x408be7
or eax, 0xffffffff
jmp 0x408bff
push 0x20
push ecx
call fcn.00429792
add esp, 8
test eax, eax
jne 0x408bfb
or eax, 0xffffffff
jmp 0x408bff
sub eax, dword [esi]
sar eax, 1
sub edi, eax
dec edi
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004031b0
mov eax, dword [eax]
mov ecx, dword [0x45d16c]
mov ecx, dword [ecx + 0x28]
push eax
mov byte [esp + 0x24c], 5
call fcn.00409450
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x248], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408c4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [0x45d16c]
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + 0xe4]
add eax, 0xdc
add ebp, 0xc
add esi, 0xc
cmp ebp, edx
jne 0x408a90
pop ebx
mov eax, dword [ecx + 0x14]
push 0x44aa90
add eax, 0x14
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00403800
mov edx, dword [0x45d16c]
mov eax, dword [edx + 0x14]
mov esi, dword [eax + 0xcc]
cmp esi, dword [eax + 0xd0]
mov byte [esp + 0x244], 6
pop ebp
je 0x408d18
mov eax, dword [esi]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x408cfe
push eax
push 0x44aa8c
lea eax, [esp + 0x1c]
push eax
call fcn.00407f70
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x248], 7
call fcn.00403330
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x240], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408cfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45d16c]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0xd0]
add eax, 0xc8
add esi, 4
cmp esi, ecx
jne 0x408ca7
push str.__mInstall
call fcn.004293bb
add esp, 4
push eax
push str.__mInstall
lea ecx, [esp + 0x14]
call fcn.00403330
mov ecx, dword [0x45d16c]
mov esi, dword [esp + 0xc]
mov ecx, dword [ecx + 0x28]
push esi
call fcn.00408ef0
lea eax, [esi - 0x10]
mov byte [esp + 0x240], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop esi
jg 0x408d6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov byte [esp + 0x238], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x238], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408db9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x22c]
call fcn.00428a01
add esp, 0x23c
ret