Function at 0x4432a0
Capabilities:
Connect socket
Get socket status
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe6c
mov eax, dword [0x48aaf0]
mov edx, dword [ebp + 0x20]
xor eax, ebp
push ebx
mov dword [esp + 0xe6c], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x2c]
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], edx
call dword [sym.imp.MSVCR71.dll_rand]
mov edx, eax
xor eax, eax
mov ecx, 0x180
lea edi, [esp + 0x270]
rep stosd dword es:[edi], eax
mov byte [esp + 0x271], al
mov byte [esp + 0x270], al
mov byte [esp + 0x27e], al
mov byte [esp + 0x27d], al
mov byte [esp + 0x27c], al
mov eax, edx
mov dword [esp + 0x2c], edx
cdq
mov cl, 8
mov byte [esp + 0x277], 0x60
mov byte [esp + 0x276], 0x39
mov byte [esp + 0x275], 0x20
mov byte [esp + 0x274], 0x54
mov byte [esp + 0x273], 0x34
mov byte [esp + 0x272], 8
mov byte [esp + 0x27f], 0x32
mov byte [esp + 0x283], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x282], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x281], al
call fcn.0046b880
mov edx, dword [ebp + 0x14]
mov byte [esp + 0x280], al
mov eax, dword [ebp + 0x10]
mov cl, 8
mov byte [esp + 0x28b], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x28a], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x289], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x288], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x287], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x286], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x285], al
call fcn.0046b880
mov byte [esp + 0x284], al
lea eax, [esp + 0x28c]
mov edi, esi
sub eax, esi
mov cl, byte [edi]
mov byte [eax + edi], cl
inc edi
test cl, cl
jne 0x443411
lea eax, [esi + 1]
mov edi, edi
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x443420
sub esi, eax
add esi, 0x1d
lea eax, [esi - 0xc]
push eax
lea ecx, [esp + 0x280]
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], esi
call fcn.0040aa70
cdq
mov cl, 8
mov byte [esp + 0x27b], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x27a], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x279], al
call fcn.0046b880
mov byte [esp + 0x278], al
mov eax, dword [ebx + 0xaf0]
test eax, eax
push esi
je 0x4434db
lea edx, [esp + 0x274]
push edx
lea eax, [esp + 0x282]
push eax
call dword [sym.imp.MSVCR71.dll_memmove]
lea ecx, [ebx + 0xaf4]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov cx, word [ecx + 8]
add esp, 0xc
mov dword [esp + 0x270], edx
push esi
lea edx, [esp + 0x27e]
mov word [esp + 0x27c], cx
push edx
lea ecx, [ebx + 0xb00]
mov dword [esp + 0x27c], eax
call fcn.00461330
add esi, 0xa
mov dword [esp + 0x14], esi
jmp 0x4434ee
lea eax, [esp + 0x274]
push eax
lea ecx, [ebx + 0x404]
call fcn.00461330
push 2
mov ecx, ebx
call fcn.00446690
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
je 0x443904
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esp + 0x250], ecx
mov dword [esp + 0x254], ecx
mov dword [esp + 0x258], ecx
push edx
mov dword [esp + 0x260], ecx
mov word [esp + 0x254], 2
call dword [0x472dd4]
mov word [esp + 0x252], ax
mov eax, dword [esp + 0x10]
push eax
call dword [0x472e04]
cmp eax, 0xffffffff
mov dword [esp + 0x254], eax
jne 0x443574
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x472dd8]
test eax, eax
je 0x44357e
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0x254], ecx
mov dword [esp + 0x10], 5
jmp 0x4435b0
push edi
call dword [0x472e10]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe68]
xor ecx, ebp
call fcn.0046b58e
mov esp, ebp
pop ebp
ret 0x28
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
jmp 0x4435b0
mov eax, dword [esp + 0x10]
push 0x10
lea edx, [esp + 0x254]
push edx
dec eax
push 0
mov dword [esp + 0x1c], eax
push esi
lea eax, [esp + 0x280]
push eax
push edi
call dword [0x472df4]
mov esi, 0x14
jmp 0x4435e0
mov edi, dword [esp + 0xc]
dec esi
push 0x64
mov ecx, ebx
mov dword [esp + 0x1c], esi
call fcn.00442e40
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x264]
push edx
push 0
push 0x5fc
lea eax, [esp + 0x880]
push eax
push edi
mov dword [esp + 0x4c], 0x10
call dword [0x472de0]
mov edi, eax
cmp edi, 0x14
jl 0x4436c2
mov eax, dword [ebx + 0xaf0]
test eax, eax
je 0x443678
push 0xa
lea ecx, [esp + 0x874]
lea esi, [ebx + 0xb1c]
push ecx
mov ecx, esi
call fcn.00461200
sub edi, 0xa
push edi
lea edx, [esp + 0x87e]
push edx
lea eax, [esp + 0x878]
push eax
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
push edi
lea ecx, [esp + 0x874]
push ecx
mov ecx, esi
call fcn.00461380
mov esi, dword [esp + 0x18]
jmp 0x44368c
push edi
lea edx, [esp + 0x874]
push edx
lea ecx, [ebx + 0x404]
call fcn.00461380
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push edi
lea eax, [esp + 0x88c]
push eax
mov ecx, ebx
call fcn.00442f00
test eax, eax
jne 0x44382b
test esi, esi
jg 0x4435dc
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x44359e
mov eax, dword [esp + 0xc]
xor esi, esi
cmp eax, esi
je 0x4436e7
push eax
call dword [0x472e10]
push 1
mov ecx, ebx
mov dword [ebx + 0xaec], esi
mov dword [ebx + 0xae8], esi
call fcn.00446690
push 0x10
lea edx, [esp + 0x254]
mov esi, eax
push edx
push esi
mov dword [esp + 0x18], esi
call dword [0x472de4]
cmp eax, 0xffffffff
jne 0x4437ba
call dword [0x472de8]
cmp eax, 0x2733
jne 0x4438fd
mov edi, 0x1f4
push 0xa
mov ecx, ebx
dec edi
call fcn.00442e40
mov eax, 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x148], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14c]
push ecx
lea edx, [esp + 0x48]
push edx
push 0
lea eax, [esi + 1]
push eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x160], esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x2710
call dword [0x472dec]
test eax, eax
jle 0x443852
lea eax, [esp + 0x148]
push eax
push esi
call fcn.0046bc66
test eax, eax
jne 0x44385a
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.0046bc66
test eax, eax
jne 0x4437ba
test edi, edi
jg 0x443732
cmp esi, 0xffffffff
jne 0x443921
push 1
mov ecx, ebx
call fcn.00446690
mov esi, eax
push 0x50
mov dword [esp + 0x10], esi
call dword [0x472dd4]
push 0x10
lea edx, [esp + 0x254]
push edx
push esi
mov word [esp + 0x25e], ax
call dword [0x472de4]
cmp eax, 0xffffffff
jne 0x44391d
call dword [0x472de8]
cmp eax, 0x2733
je 0x443866
mov eax, esi
push eax
call dword [0x472e10]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe68]
xor ecx, ebp
call fcn.0046b58e
mov esp, ebp
pop ebp
ret 0x28
mov ecx, dword [esp + 0xc]
push ecx
call dword [0x472e10]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe68]
xor ecx, ebp
call fcn.0046b58e
mov esp, ebp
pop ebp
ret 0x28
test edi, edi
jg 0x443732
push esi
call dword [0x472e10]
jmp 0x4437c3
mov esi, dword [esp + 0xc]
lea ecx, [esi + 1]
mov edi, 0x1f4
mov dword [esp + 0x18], ecx
push 0xa
mov ecx, ebx
dec edi
call fcn.00442e40
mov eax, 1
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x14c], eax
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x48]
push ecx
push 0
push edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x160], esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x2710
call dword [0x472dec]
test eax, eax
jle 0x4438f5
lea eax, [esp + 0x148]
push eax
push esi
call fcn.0046bc66
test eax, eax
jne 0x4438fd
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.0046bc66
test eax, eax
jne 0x44391d
mov esi, dword [esp + 0xc]
jmp 0x443876
test edi, edi
jg 0x443876
push esi
call dword [0x472e10]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe68]
xor ecx, ebp
call fcn.0046b58e
mov esp, ebp
pop ebp
ret 0x28
mov esi, dword [esp + 0xc]
push 0x50
call dword [0x472dd4]
cmp word [esp + 0x252], ax
jne 0x443a77
lea edx, [ebx + 0x4d0]
xor eax, eax
mov ecx, 0x180
mov edi, edx
mov dword [ebx + 0xae8], 1
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xaf0]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x4439c5
lea eax, [ebx + 0xaf4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov ax, word [eax + 8]
mov dword [edx + 4], ecx
mov word [edx + 8], ax
mov edx, dword [str.GET__QUERY]
lea ecx, [ebx + 0x4da]
mov dword [ecx], edx
mov eax, dword [0x4795c4]
mov dword [ecx + 4], eax
mov dx, word [0x4795c8]
mov word [ecx + 8], dx
mov al, byte [0x4795ca]
mov byte [ecx + 0xa], al
push 0x14
lea ecx, [ebx + 0x4da]
push ecx
lea ecx, [ebx + 0xb00]
mov dword [esp + 0x18], 0xa
call fcn.00461330
mov edi, dword [esp + 0x10]
jmp 0x4439e8
mov eax, dword [str.GET__QUERY]
mov dword [edx], eax
mov ecx, dword [0x4795c4]
mov dword [edx + 4], ecx
mov ax, word [0x4795c8]
mov word [edx + 8], ax
mov cl, byte [0x4795ca]
mov byte [edx + 0xa], cl
mov esi, dword [esp + 0x14]
lea eax, [esi + 8]
cdq
mov cl, 8
mov byte [ebx + edi + 0x4e7], al
call fcn.0046b880
mov cl, 8
mov byte [ebx + edi + 0x4e6], al
call fcn.0046b880
mov cl, 8
mov byte [ebx + edi + 0x4e5], al
call fcn.0046b880
mov byte [ebx + edi + 0x4e4], al
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, ecx
lea edi, [ebx + edi + 0x4ec]
shr ecx, 2
mov byte [edi - 1], 0
mov byte [edi - 2], 0
mov byte [edi - 3], 0
mov byte [edi - 4], 0
lea esi, [esp + 0x270]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
mov ecx, edx
lea edx, [eax + ecx + 0x1c]
push edx
lea eax, [ebx + 0x4d0]
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [0x472dfc]
mov esi, dword [esp + 0xc]
jmp 0x443b08
mov edi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x274]
push ecx
lea edx, [esp + 0x280]
push edx
mov dword [ebx + 0xae8], 0
call dword [sym.imp.MSVCR71.dll_memmove]
add edi, 8
mov eax, edi
cdq
add esp, 0xc
mov cl, 8
mov byte [esp + 0x273], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x272], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x271], al
call fcn.0046b880
push 0
mov byte [esp + 0x274], al
push edi
lea eax, [esp + 0x278]
push eax
push esi
mov byte [esp + 0x287], 0
mov byte [esp + 0x286], 0
mov byte [esp + 0x285], 0
mov byte [esp + 0x284], 0
call dword [0x472dfc]
mov ecx, 0x180
xor eax, eax
lea edi, [esp + 0x870]
mov dword [esp + 0x10], 0x320
mov dword [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
dec edi
push 0xa
mov ecx, ebx
mov dword [esp + 0x14], edi
call fcn.00442e40
mov edi, dword [esp + 0xc]
push 0
mov ecx, 0x5fc
sub ecx, edi
push ecx
lea edx, [esp + edi + 0x878]
push edx
push esi
call dword [0x472df0]
test eax, eax
mov dword [esp + 0x34], eax
jle 0x443c07
add edi, eax
lea eax, [esp + 0x870]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xc], edi
xor ecx, ecx
mov dword [esp + 0x18], 4
mov edx, dword [esp + 0x14]
shld ecx, eax, 8
shl eax, 8
mov edi, eax
movzx eax, byte [edx]
cdq
or edi, eax
or ecx, edx
mov edx, dword [esp + 0x18]
mov eax, edi
mov edi, dword [esp + 0x14]
inc edi
dec edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
jne 0x443b80
mov edi, dword [esp + 0xc]
cmp edi, eax
jl 0x443c16
mov eax, dword [ebx + 0xaf0]
test eax, eax
je 0x443c43
push 0xa
lea eax, [esp + 0x87c]
lea ecx, [ebx + 0xb1c]
push eax
call fcn.00461200
sub edi, 0xa
push edi
lea ecx, [esp + 0x886]
push ecx
lea edx, [esp + 0x880]
push edx
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
add edi, 0xfffffff8
push edi
lea eax, [esp + 0x87c]
push eax
lea ecx, [ebx + 0xb1c]
jmp 0x443c55
jge 0x443c16
call dword [0x472160]
cmp eax, 0x2733
jne 0x443c22
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x443b28
push esi
call dword [0x472e10]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe68]
xor ecx, ebp
call fcn.0046b58e
mov esp, ebp
pop ebp
ret 0x28
add edi, 0xfffffff8
lea ecx, [esp + 0x878]
push edi
push ecx
lea ecx, [ebx + 0x404]
call fcn.00461380
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
push edi
lea edx, [esp + 0x894]
push edx
mov ecx, ebx
call fcn.00442f00
test eax, eax
je 0x443c22
push esi
call dword [0x472e10]
mov ecx, dword [esp + 0xe74]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0046b58e
mov esp, ebp
pop ebp
ret 0x28