Function at 0x443cb0
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
mov dword [esp + 0xe68], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x30]
push edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], eax
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 al, 0x34
mov byte [esp + 0x273], al
mov byte [esp + 0x27f], 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 + 0x272], 8
mov byte [esp + 0x271], 0
mov byte [esp + 0x270], 0
mov byte [esp + 0x27e], 0
mov byte [esp + 0x27d], 0
mov byte [esp + 0x27c], 0
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 + 0x2ab], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x2aa], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x2a9], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x2a8], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x2a7], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x2a6], al
call fcn.0046b880
mov cl, 8
mov byte [esp + 0x2a5], al
call fcn.0046b880
mov byte [esp + 0x2a4], al
lea eax, [esp + 0x28c]
mov edi, esi
sub eax, esi
lea ecx, [ecx]
mov cl, byte [edi]
mov byte [eax + edi], cl
inc edi
test cl, cl
jne 0x443e30
lea ecx, [esi + 1]
lea ecx, [ecx]
mov al, byte [esi]
inc esi
test al, al
jne 0x443e40
mov eax, dword [esp + 0x18]
sub esi, ecx
add esi, 0x1d
mov edx, esi
sub edx, eax
mov ecx, eax
lea edi, [esp + edx + 0x270]
lea ecx, [ecx]
mov dl, byte [ecx]
mov byte [edi + ecx], dl
inc ecx
test dl, dl
jne 0x443e60
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443e70
sub eax, edi
lea esi, [esi + eax + 1]
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 0x443f2c
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 0x443f3f
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 0x444354
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 0x443fc5
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x472dd8]
test eax, eax
je 0x443fcf
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0x254], ecx
mov dword [esp + 0x10], 5
jmp 0x444000
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 0x2c
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
jmp 0x444000
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 0x444030
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 0x444112
mov eax, dword [ebx + 0xaf0]
test eax, eax
je 0x4440c8
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 0x4440dc
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.004430d0
test eax, eax
jne 0x44427b
test esi, esi
jg 0x44402c
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x443fef
mov eax, dword [esp + 0xc]
xor esi, esi
cmp eax, esi
je 0x444137
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 0x44420a
call dword [0x472de8]
cmp eax, 0x2733
jne 0x44434d
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 0x4442a2
lea eax, [esp + 0x148]
push eax
push esi
call fcn.0046bc66
test eax, eax
jne 0x4442aa
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.0046bc66
test eax, eax
jne 0x44420a
test edi, edi
jg 0x444182
cmp esi, 0xffffffff
jne 0x444371
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 0x44436d
call dword [0x472de8]
cmp eax, 0x2733
je 0x4442b6
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 0x2c
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 0x2c
test edi, edi
jg 0x444182
push esi
call dword [0x472e10]
jmp 0x444213
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 0x444345
lea eax, [esp + 0x148]
push eax
push esi
call fcn.0046bc66
test eax, eax
jne 0x44434d
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.0046bc66
test eax, eax
jne 0x44436d
mov esi, dword [esp + 0xc]
jmp 0x4442c6
test edi, edi
jg 0x4442c6
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 0x2c
mov esi, dword [esp + 0xc]
push 0x50
call dword [0x472dd4]
cmp word [esp + 0x252], ax
jne 0x4444c7
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 0x444415
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 0x444438
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 0x444558
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 0x444657
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 0x4445d0
mov edi, dword [esp + 0xc]
cmp edi, eax
jl 0x444666
mov eax, dword [ebx + 0xaf0]
test eax, eax
je 0x444693
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 0x4446a5
jge 0x444666
call dword [0x472160]
cmp eax, 0x2733
jne 0x444672
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x444578
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 0x2c
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.004430d0
test eax, eax
je 0x444672
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 0x2c