Function at 0x47fdf0
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db1ed
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x51a3c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
lea eax, [ebx + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x47ffd6
mov eax, dword [ebx + 0x24]
lea ecx, [ebx + 0x24]
cmp dword [eax - 0xc], 0
jne 0x47fe47
push 3
push 0x4e1350
call fcn.00476770
call fcn.004762a0
mov ecx, eax
test ecx, ecx
je 0x4806ed
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
call fcn.004762a0
mov ecx, eax
test ecx, ecx
je 0x4806f7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x84], 0
mov ecx, 1
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x88], 0x3c
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 1
jge 0x47fefd
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.004763d0
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x78], edi
mov ecx, 1
mov dword [ebp - 0x74], 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x47ff2b
push 0x400
lea ecx, [ebp - 0x30]
call fcn.004763d0
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x5c], esi
push eax
push 0
push 0
push dword [ebx + 0x20]
mov dword [ebp - 0x58], 0x400
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [edi - 8]
mov dword [ebp - 0x38], eax
push edi
call fcn.004b1033
add esp, 8
test eax, eax
js 0x48071f
cmp eax, dword [edi - 8]
jg 0x48071f
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.004b1033
add esp, 8
test eax, eax
js 0x48071f
cmp eax, dword [esi - 8]
jg 0x48071f
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x38], ecx
jne 0x47fff4
mov byte [ebp - 4], cl
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47ffba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47ffd6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push 0
push dword [ebx + 0x18]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x480013
mov byte [ebp - 4], al
jmp 0x47ffa0
mov eax, dword [ebx + 0x1c]
cmp dword [eax - 0xc], 0
je 0x480047
push 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push 0x26
push ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 3
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x480537
mov ecx, dword [ebp - 0x24]
push 1
push 0
push 3
push 0
push 0
push dword [ebp - 0x70]
push edi
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x480537
push 1
push 0xe80000
push 0
push 0
push 0
push esi
push dword [ebx + 0x24]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4800d6
or ebx, 0xffffffff
mov byte [ebp - 4], al
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4800a3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4800bf
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x28]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
jmp 0x47ffd6
call fcn.004762a0
mov ecx, eax
test ecx, ecx
je 0x480701
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebx + 0x28]
add eax, 0x10
or ebx, 0xffffffff
mov dword [ebp - 0x10], eax
mov ecx, dword [edx]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
cmp ecx, edx
je 0x4801f2
call fcn.004762a0
test eax, eax
je 0x4806ed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x18]
push 0x4e0e40
mov dword [ebp - 0x18], eax
call fcn.00475eb0
test al, al
jne 0x480140
push 1
push 0x4e0e40
lea ecx, [ebp - 0x18]
call fcn.00476770
mov eax, dword [ebp - 0x14]
add eax, 0x14
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00480750
mov edx, dword [ebp - 0x18]
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480171
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x480189
push 1
push 0x4f37e0
lea ecx, [ebp - 0x10]
call fcn.0047be40
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov eax, dword [eax + 0x10]
push dword [eax - 0xc]
push eax
call fcn.0047be40
push 1
push 0x4e0e34
lea ecx, [ebp - 0x10]
call fcn.0047be40
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.0047be40
lea ecx, [ebp - 0x38]
call fcn.004784e0
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4801db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
cmp eax, dword [edx + 0x28]
jne 0x480106
mov eax, dword [ebp - 0x10]
jmp 0x4801f5
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 0x34]
mov ecx, dword [edx + 0x30]
sub ebx, ecx
mov edx, ebx
mov byte [ebp - 4], 2
neg edx
push ebx
mov ebx, dword [ebp - 0x20]
sbb edx, edx
and edx, ecx
push edx
push dword [eax - 0xc]
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x480225
or ebx, 0xffffffff
jmp 0x4804c6
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x3c], 0
je 0x480582
call fcn.004762a0
mov ecx, eax
test ecx, ecx
je 0x48070b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0x100
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x100
or ecx, edx
mov byte [ebp - 4], 3
jge 0x48027c
push 0x100
lea ecx, [ebp - 0x14]
call fcn.004763d0
mov eax, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x38]
push ecx
push eax
push 0x13
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
push dword [ecx - 8]
push ecx
call fcn.004b1033
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x48071f
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x48071f
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
test ebx, ebx
jne 0x4802cb
lea edx, [eax - 0x10]
or ebx, 0xffffffff
jmp 0x4804ae
push eax
call fcn.004b457f
add esp, 4
cmp eax, 0x12d
je 0x480313
cmp eax, 0x12e
je 0x480313
cmp eax, 0x12f
je 0x480313
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480585
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x480585
call fcn.004762a0
mov ecx, eax
test ecx, ecx
je 0x480715
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], 0x400
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x400
or ecx, edx
mov byte [ebp - 4], 4
jge 0x48035d
push 0x400
lea ecx, [ebp - 0x18]
call fcn.004763d0
mov eax, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x20]
push eax
push 0x21
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
push dword [ecx - 8]
push ecx
call fcn.004b1033
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x48071f
mov eax, dword [ebp - 0x18]
cmp ecx, dword [eax - 8]
jg 0x48071f
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
test ebx, ebx
je 0x48048a
cmp dword [eax - 0xc], edx
je 0x48048a
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x18]
push eax
call fcn.004758c0
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
mov ecx, dword [ebp - 0x28]
push ecx
call ebx
mov ecx, dword [ebp - 0x24]
push ecx
call ebx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
call fcn.0047fdf0
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480400
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48041e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48043c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x480457
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x480473
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
or ebx, 0xffffffff
mov byte [ebp - 4], 3
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4804a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov eax, ebx
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4804c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4804e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4804ff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x48051b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [ebp - 0x28]
push ecx
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
jmp 0x47ffd6
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x480555
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x480571
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x24]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
jmp 0x47ffd6
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4805a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4805be
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4805da
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e5650
push 4
call fcn.004a44fb
add esp, 8
test eax, eax
je 0x4805f4
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x4805f6
xor eax, eax
push dword [ebp + 8]
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.0047f210
push 0x4e5650
push 4
call fcn.004a44fb
add esp, 8
test eax, eax
je 0x48061e
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x480620
xor eax, eax
push dword [ebp + 8]
lea ecx, [ebx + 8]
push eax
call fcn.0047f210
push 0x4e5650
push 4
call fcn.004a44fb
add esp, 8
test eax, eax
je 0x480646
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
jmp 0x480648
xor eax, eax
push dword [ebp + 8]
lea ecx, [ebx + 0x10]
push eax
call fcn.0047f210
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x480671
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x10]
sub esp, 8
mov dword [ecx], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x480699
lock inc dword [eax + 4]
mov eax, dword [ebx + 8]
sub esp, 8
mov dword [ecx], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x4806c1
lock inc dword [eax + 4]
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
push esi
mov dword [ecx + 4], eax
call fcn.0047f730
add esp, 0x1c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00475e90
push 0x80004005
call fcn.00475e90
push 0x80004005
call fcn.00475e90
push 0x80004005
call fcn.00475e90
push 0x80004005
call fcn.00475e90
push 0x80070057
call fcn.00475e90
int3