Function at 0x40a060
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536c60
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x593e04]
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
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x64], ecx
call fcn.00409f40
add esp, 4
mov dword [ebp - 4], 0
call fcn.0041eb0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a0bb
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 1
call fcn.0041eb0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a0e8
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x60], eax
push 0x55
xor esi, esi
push str.https:__update.sanmaosoft.com_smtp_cracker_update.php_token_sver_suser_shwid_s
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], esi
xor edi, edi
mov dword [ebp - 0x44], esi
call fcn.004014f0
mov eax, dword [ebp - 0x60]
mov ebx, 0x51d02
xor ecx, ecx
lea edx, [eax + 1]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edx
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a130
sub eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x4c], eax
cmp eax, 2
jl 0x40a191
lea eax, [edx + 1]
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffffe
shr edx, 1
inc edx
lea ecx, [edx + edx]
mov dword [ebp - 0x54], ecx
jmp 0x40a160
mov ebx, dword [ebp - 0x60]
movsx ecx, byte [ebx + eax - 1]
imul ecx, eax
add esi, ecx
sub edi, ecx
movsx ecx, byte [eax + ebx]
lea ebx, [eax + 1]
imul ecx, ebx
add dword [ebp - 0x50], ecx
sub dword [ebp - 0x44], ecx
add eax, 2
dec edx
jne 0x40a160
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
cmp edx, eax
jae 0x40a1a9
mov eax, dword [ebp - 0x60]
movsx eax, byte [edx + eax]
inc edx
imul eax, edx
mov ebx, 0x51d02
mov ecx, eax
sub ebx, eax
add esi, dword [ebp - 0x50]
add edi, dword [ebp - 0x44]
add ecx, esi
add ebx, edi
cmp ecx, 0x51d02
je 0x40a1da
call fcn.00428832
test eax, eax
je 0x40a1cf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x40a1d1
xor eax, eax
push 0
mov ecx, eax
call fcn.0041f12b
test ebx, ebx
je 0x40a1e6
push 0x64
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, dword [ebp - 0x64]
mov eax, dword [edi + 0x43c]
push 1
push ecx
sub eax, 0x10
mov dword [ebp - 0x58], esp
mov esi, esp
push eax
call fcn.00401350
lea ecx, [ebp - 0x48]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00409be0
add esp, 0xc
mov edx, dword [eax]
mov eax, dword [edi + 0x438]
push edx
push 1
push ecx
sub eax, 0x10
mov dword [ebp - 0x54], esp
mov esi, esp
push eax
mov byte [ebp - 4], 3
call fcn.00401350
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x58]
add esp, 4
push eax
call fcn.00409be0
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
push ecx
push str.v1.8.3
push edx
push eax
lea ecx, [ebp - 0x78]
push ecx
mov byte [ebp - 4], 4
call fcn.00402460
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a289
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a2ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x547140
call fcn.00401680
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x547140
mov byte [ebp - 4], 5
call fcn.00401680
mov eax, dword [ebp - 0x78]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x58], esp
mov esi, esp
push eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x58], eax
call fcn.00401350
add eax, 0x10
lea ecx, [ebp - 0x5c]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 2
call fcn.00402690
add esp, 0x1c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.00404b30
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x546ee0
call fcn.00401680
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.token
mov byte [ebp - 4], 8
call fcn.00401680
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0xfffffff0
mov ebx, 9
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
mov byte [ebp - 4], bl
call fcn.00401350
add eax, 0x10
lea edx, [ebp - 0x6c]
add esp, 4
mov dword [esi], eax
push edx
mov byte [ebp - 4], 7
call fcn.0041cbc0
add esp, 0x10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.00419e50
mov eax, dword [ebp - 0x70]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov esi, esp
push eax
call fcn.00401350
add esp, 4
add eax, 0x10
mov dword [esi], eax
lea ecx, [ebp - 0x40]
call fcn.00419e60
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x40]
call fcn.00419ea0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xb
call fcn.00404a50
mov ecx, dword [ebp - 0x68]
cmp dword [ecx - 0xc], 0x20
jne 0x40a5e4
mov eax, dword [ebp - 0x6c]
mov ecx, 8
cmp dword [eax - 0xc], ecx
jne 0x40a5e4
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0x13
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x20], 0x1e
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x18], 0x1a
mov dword [ebp - 0x14], 0x15
mov dword [ebp - 0x44], 0
jmp 0x40a409
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x44]
test esi, esi
js 0x40a5a7
cmp esi, dword [eax - 0xc]
jg 0x40a5a7
mov bl, byte [esi + eax]
call fcn.0041eb0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40a0b1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x4c], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
dec eax
or eax, ecx
mov byte [ebp - 4], 0xc
jge 0x40a464
push 1
lea ecx, [ebp - 0x4c]
call fcn.004012f0
mov edi, dword [ebp - 0x4c]
movsx ecx, bl
movzx edx, cl
shl cx, 8
or cx, dx
mov eax, 1
mov byte [edi], cl
cmp dword [edi - 8], eax
jl 0x40a5a7
mov dword [edi - 0xc], eax
mov byte [edi + 1], 0
mov eax, dword [ebp + esi*4 - 0x30]
mov byte [ebp - 4], 0xd
test eax, eax
js 0x40a5a7
mov ecx, dword [ebp - 0x68]
cmp eax, dword [ecx - 0xc]
jg 0x40a5a7
mov bl, byte [eax + ecx]
call fcn.0041eb0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40a0b1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
dec eax
or eax, ecx
mov byte [ebp - 4], 0xe
jge 0x40a4eb
push 1
lea ecx, [ebp - 0x50]
call fcn.004012f0
mov esi, dword [ebp - 0x50]
movsx ecx, bl
movzx edx, cl
shl cx, 8
or cx, dx
mov byte [esi], cl
cmp dword [esi - 8], 1
jl 0x40a5a7
mov dword [esi - 0xc], 1
mov byte [esi + 1], 0
push esi
push edi
call fcn.0051d984
add esi, 0xfffffff0
add esp, 8
or ecx, 0xffffffff
test eax, eax
mov byte [ebp - 4], 0xd
lea eax, [esi + 0xc]
jne 0x40a5b1
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a541
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a561
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp eax, 8
jl 0x40a406
mov esi, dword [ebp - 0x5c]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x48], esp
mov ebx, esp
call edx
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x40a614
cmp eax, dword [esi - 0x10]
jne 0x40a614
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40a646
push 0x80070057
call fcn.00401000
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a5c4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a5e4
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov esi, dword [ebp - 0x64]
push 0
mov ecx, esi
call fcn.00426abe
push 0x40
push str.Authentication_failed
push str.Authentication_failed__r_nPlease_check_network_connection_or_contact_the_builder_from_https:__www.sanmaosoft.com_
mov ecx, esi
call fcn.00421c4e
push 0
mov ecx, esi
call fcn.0041f12b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x40a62d
call fcn.00401170
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0051cff8
add esp, 0x10
lea edx, [ebp - 0x74]
add edi, 0x10
push edx
mov dword [ebx], edi
call fcn.0041cd40
mov eax, dword [ebp - 0x74]
push str.ForceClose
push eax
mov byte [ebp - 4], 0x10
call fcn.0051d984
add esp, 0x10
test eax, eax
jne 0x40a71c
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x546ee0
call fcn.00401680
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.text
mov byte [ebp - 4], 0x11
call fcn.00401680
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x54], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0x12
call fcn.00401350
add eax, 0x10
lea ecx, [ebp - 0x44]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x10
call fcn.0041cbc0
add esp, 0x10
push 0x546ee0
push str.newline
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.00404770
mov edx, dword [ebp - 0x44]
cmp dword [edx - 0xc], 0
push 0
jne 0x40a6f4
mov ecx, dword [ebp - 0x64]
call fcn.0041f12b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [ebp - 0x64]
mov ecx, esi
call fcn.00426abe
mov eax, dword [ebp - 0x44]
push 0
push 0
push eax
call fcn.00427694
push 0
mov ecx, esi
call fcn.0041f12b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x74]
push str.NewVerTip
push ecx
call fcn.0051d984
add esp, 8
test eax, eax
jne 0x40a8fc
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x546ee0
call fcn.00401680
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.text
mov byte [ebp - 4], 0x14
call fcn.00401680
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0x15
call fcn.00401350
add eax, 0x10
lea edx, [ebp - 0x50]
add esp, 4
mov dword [esi], eax
push edx
mov byte [ebp - 4], 0x10
call fcn.0041cbc0
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x546ee0
mov byte [ebp - 4], 0x16
call fcn.00401680
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x547ec0
mov byte [ebp - 4], 0x17
call fcn.00401680
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0x18
call fcn.00401350
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x44]
add esp, 4
push eax
mov byte [ebp - 4], 0x16
call fcn.0041cbc0
add esp, 0x10
push 0
push ecx
mov dword [ebp - 0x48], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
mov bl, 0x19
push 0x546ee0
mov byte [ebp - 4], bl
call fcn.00401680
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.forceclose
mov byte [ebp - 4], 0x1a
call fcn.00401680
mov byte [ebp - 4], 0x1b
push ecx
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
call fcn.00401350
add eax, 0x10
add esp, 4
mov dword [esi], eax
push edi
mov byte [ebp - 4], bl
call fcn.0041cbc0
add esp, 0x10
call fcn.0041be90
add esp, 8
push 0x546ee0
push str.newline
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.00404770
test esi, esi
je 0x40a861
mov ecx, dword [ebp - 0x64]
push 0
call fcn.00426abe
mov ecx, dword [ebp - 0x44]
cmp dword [ecx - 0xc], 0
push 0
je 0x40a895
mov edx, dword [ebp - 0x50]
push 4
push edx
call fcn.00427694
cmp eax, 6
jne 0x40a8a0
mov eax, dword [ebp - 0x44]
push 1
push 0
push 0
push eax
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40a8a0
mov ecx, dword [ebp - 0x50]
push 0
push ecx
call fcn.00427694
test esi, esi
je 0x40a8b6
mov ecx, dword [ebp - 0x64]
push 0
call fcn.0041f12b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x16
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a8d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a8fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a91f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a942
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a965
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a988
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a9ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a9cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a9f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0051d4a4
mov esp, ebp
pop ebp
ret