Function at 0x52cd10
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d483c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x68d01c]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
call fcn.0054f2f0
mov eax, dword [esi + 0xd4]
mov ebx, 2
cmp dword [eax + 4], ebx
jne 0x52cd9e
mov ecx, dword [esi + 0x31b4]
cmp ecx, edi
je 0x52cd74
cmp dword [esi + 0x31b8], edi
je 0x52cd9e
lea edx, [esi + 0x31a8]
push 1
push edx
lea edx, [esi + 0x31b8]
push edx
mov edx, dword [eax + 0x154]
push edx
mov edx, dword [eax + 0x150]
push edx
add eax, 8
push ecx
push eax
mov ecx, esi
call fcn.00533970
mov eax, dword [esi + 0xd4]
mov byte [eax + 0x128], 0
mov edx, dword [esi + 0xd4]
cmp dword [edx + 4], 3
jne 0x52d0cc
mov edi, dword [edx + 0x10c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x52d0cc
mov byte [edx + 0x128], 1
mov ecx, dword [0x68d01c]
mov dword [ebp - 0x28], ecx
mov eax, dword [esi + 0xa4]
mov byte [ebp - 4], 2
test eax, eax
je 0x52cdf4
mov edi, dword [eax + 0xc]
jmp 0x52cdfd
mov edx, dword [esi + 0xa0]
mov edi, dword [edx + 0x14]
test eax, eax
jne 0x52ce1d
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.005adcbb
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 3
mov eax, dword [eax]
push edi
push eax
lea edx, [ebp - 0x28]
push str._s:_ld
push edx
call fcn.005a6a18
mov al, byte [ebp - 0x14]
add esp, 0x10
test al, 1
mov dword [ebp - 4], ebx
je 0x52ce4c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
and al, 0xfe
mov dword [ebp - 0x14], eax
call fcn.005adc4d
mov eax, dword [0x68d01c]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0xd4]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
mov edx, dword [ecx + 0x124]
push edx
push str._08X
push eax
call fcn.005a6a18
mov eax, dword [esi + 0xd4]
add esp, 0xc
lea edi, [ebp - 0x5b]
mov ecx, dword [eax + 0x124]
inc ecx
mov dword [eax + 0x124], ecx
mov cl, byte [0x691568]
mov byte [ebp - 0x5c], cl
mov ecx, 8
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xd4]
mov ebx, dword [eax + 0x118]
mov ecx, dword [eax + 0x110]
mov edx, dword [eax + 0x10c]
mov edi, dword [eax + 0x114]
mov dword [ebp - 0x1c], ebx
lea ebx, [ebp - 0x80]
push ebx
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [eax + 0x154]
mov eax, dword [eax + 0x150]
push edx
push edi
push eax
push ecx
call fcn.00517e40
mov eax, dword [esi + 0xa0]
add esp, 0x1c
mov cl, byte [eax + 0x15c]
test cl, cl
jne 0x52ceff
mov cl, byte [eax + 0x170]
mov edi, 0x682764
test cl, cl
je 0x52cf04
mov edi, str.POST
mov eax, dword [esi + 0xd4]
lea ebx, [ebp - 0xa4]
push ebx
lea ebx, [ebp - 0x5c]
mov ecx, dword [eax + 0x11c]
mov edx, dword [eax + 0x110]
mov eax, dword [eax + 0x10c]
push ebx
mov ebx, dword [ebp - 0x28]
push ebx
push edi
push ecx
push edx
mov edx, dword [ebp - 0x20]
push edx
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00517fa0
mov eax, dword [0x68d01c]
add esp, 0x24
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov edx, dword [esi + 0xd4]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 6
mov edi, dword [edx + 0x11c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x52cf89
mov ecx, dword [edx + 0x110]
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, dword [edx + 0x11c]
push eax
push ecx
lea edx, [ebp - 0x2c]
push str.qop_s__nc_s__cnonce__s__
push edx
call fcn.005a6a18
add esp, 0x14
mov edx, dword [esi + 0xd4]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [edx + 0x120]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x52cfb9
mov eax, dword [edx + 0x120]
lea ecx, [ebp - 0x30]
push eax
push str.__opaque__s_
push ecx
call fcn.005a6a18
add esp, 0xc
mov edx, dword [esi + 0xd4]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [edx + 0x120]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x52cfd6
mov ebx, dword [ebp - 0x30]
jmp 0x52cfed
push 0x691568
lea ecx, [ebp - 0x34]
call fcn.005adcbb
or dword [ebp - 0x14], 2
mov ebx, dword [eax]
mov byte [ebp - 4], 7
mov eax, dword [esi + 0xd4]
or ecx, 0xffffffff
mov edi, dword [eax + 0x11c]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x52d00a
mov ecx, dword [ebp - 0x2c]
jmp 0x52d024
push 0x691568
lea ecx, [ebp - 0x1c]
call fcn.005adcbb
or dword [ebp - 0x14], 4
mov ecx, dword [eax]
mov dword [ebp - 4], 8
mov eax, dword [esi + 0xd4]
lea edx, [ebp - 0xa4]
push ebx
push edx
mov edx, dword [eax + 0x10c]
push ecx
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [eax + 0x114]
push edx
mov edx, dword [eax + 0x150]
push ecx
push edx
lea eax, [esi + 0x31a8]
push str.Proxy_Authorization:_Digest_username__s___realm__s___nonce__s___uri__s____sresponse__s__s_r_n
push eax
call fcn.005a6a18
mov ebx, dword [ebp - 0x14]
add esp, 0x24
test bl, 4
mov dword [ebp - 4], 7
je 0x52d07d
and ebx, 0xfffffffb
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call fcn.005adc4d
test bl, 2
mov dword [ebp - 4], 6
je 0x52d097
and ebx, 0xfffffffd
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], ebx
call fcn.005adc4d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.005adc4d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.005adc4d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.005adc4d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.005adc4d
mov ebx, 2
push 0x691568
lea ecx, [ebp - 0x18]
call fcn.005adcbb
mov ecx, dword [esi + 0xd4]
mov byte [ebp - 4], 9
cmp dword [ecx + 4], 1
jne 0x52d105
mov eax, dword [esi + 0x3110]
test eax, eax
je 0x52d105
push eax
lea edx, [ebp - 0x18]
push 0x665f68
push edx
call fcn.005a6a18
add esp, 0xc
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x52d117
cmp eax, 3
jne 0x52d12f
mov ecx, dword [esi + 0x31a8]
lea edx, [ebp - 0x18]
push ecx
push 0x665f68
push edx
call fcn.005a6a18
add esp, 0xc
mov eax, dword [esi + 0x3194]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x52d160
mov ecx, dword [esi + 0xa0]
mov dl, byte [ecx + 0x176]
test dl, dl
sete al
test al, al
je 0x52d160
mov edx, dword [esi + 0x3198]
test edx, edx
sete al
test al, al
jne 0x52d184
mov edx, dword [esi + 0x31a8]
mov eax, dword [edx - 8]
test eax, eax
je 0x52d17d
mov eax, dword [esi + 0xd4]
cmp dword [eax + 4], ebx
sete al
test al, al
jne 0x52d184
mov ebx, 0x691568
jmp 0x52d189
mov ebx, str.Connection:_Keep_Alive_r_n
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x52d198
mov edi, dword [eax + 0xc]
jmp 0x52d1a1
mov ecx, dword [esi + 0xa0]
mov edi, dword [ecx + 0x14]
test eax, eax
jne 0x52d1be
mov edx, dword [esi + 0xa0]
lea ecx, [ebp - 0x34]
mov eax, dword [edx]
push eax
call fcn.005adcbb
or dword [ebp - 0x14], 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
push ecx
push ebx
push edi
push eax
lea edx, [ebp - 0x24]
push str.CONNECT__s:_ld_HTTP_1.1_r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_5.00__Windows_98__r_n_s_s_r_n
push edx
call fcn.005a6a18
mov al, byte [ebp - 0x14]
add esp, 0x18
test al, 8
mov dword [ebp - 4], 9
je 0x52d1ee
lea ecx, [ebp - 0x34]
call fcn.005adc4d
mov ecx, esi
mov dword [esi + 0x7c], 0x10
call fcn.00514da0
mov eax, dword [ebp - 0x24]
push str.send___CONNECT
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 0x30e4]
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov edi, eax
test edi, edi
jne 0x52d263
mov eax, dword [ebp + 8]
test eax, eax
je 0x52d263
push edi
mov ecx, esi
call fcn.0052c010
lea ecx, [ebp - 0x18]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.005adc4d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.005adc4d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4