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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d428
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x558384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x20]
lea ebx, [ecx + 0x20]
mov dword [ebp - 0x50], ebx
cmp dword [eax - 0xc], 0
je 0x48b64a
mov eax, dword [ecx + 0x24]
add ecx, 0x24
mov dword [ebp - 0x28], ecx
cmp dword [eax - 0xc], 0
jne 0x48b49c
push 3
push 0x514c50
call fcn.00482220
mov dword [ebp - 4], 0
call fcn.00481c30
mov ecx, eax
test ecx, ecx
je 0x48bc06
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 2
call fcn.00481c30
mov ecx, eax
test ecx, ecx
je 0x48bc10
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x94], 0
mov ecx, 1
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x98], 0x3c
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 3
jge 0x48b55f
push 0x104
lea ecx, [ebp - 0x38]
call fcn.00481e70
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x88], esi
mov ecx, 1
mov dword [ebp - 0x84], 0x104
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
jge 0x48b593
push 0x400
lea ecx, [ebp - 0x3c]
call fcn.00481e70
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x6c], edi
push eax
push 0
push 0
push dword [ebx]
mov dword [ebp - 0x68], 0x400
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov dword [ebp - 0x2c], eax
lea ebx, [esi - 0x10]
test esi, esi
jne 0x48b5be
xor eax, eax
jmp 0x48b5d2
push dword [ebx + 8]
push esi
call fcn.004e30a7
add esp, 8
test eax, eax
js 0x48bc2e
cmp eax, dword [ebx + 8]
jg 0x48bc2e
xor ecx, ecx
mov dword [ebx + 4], eax
mov word [esi + eax*2], cx
lea edx, [edi - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], edx
test edi, edi
jne 0x48b5f5
xor eax, eax
jmp 0x48b60a
push eax
push edi
call fcn.004e30a7
add esp, 8
test eax, eax
js 0x48bc2e
lea edx, [edi - 0x10]
cmp eax, dword [edx + 8]
jg 0x48bc2e
xor ecx, ecx
mov dword [edx + 4], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x2c], ecx
jne 0x48b66e
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b638
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x48b64a
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
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
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0
push 0
push dword [eax + 0x18]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x48b695
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov eax, edi
jmp 0x48b626
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax - 0xc], 0
je 0x48b705
push 0xc
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push eax
push 0x26
push ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 3
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x48b702
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b6df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x48b6f1
mov ecx, dword [ebx]
push ebx
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 0x48b64a
mov ecx, dword [ebp - 0x24]
push 1
push 0
push 3
push 0
push 0
push dword [ebp - 0x80]
push esi
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, eax
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x48b6c5
mov eax, dword [ebp - 0x28]
push 1
push 0xe80000
push 0
push 0
push 0
push edi
push dword [eax]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x48b787
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b75e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x48b770
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x34]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
jmp 0x48b64a
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x28]
call fcn.0048bfa0
mov edx, dword [esi + 0x34]
sub edx, dword [esi + 0x30]
mov eax, dword [ebp - 0x40]
mov ecx, edx
neg ecx
push edx
sbb ecx, ecx
and ecx, dword [esi + 0x30]
lea edi, [eax - 0x10]
push ecx
push dword [eax - 0xc]
mov dword [ebp - 0x18], edi
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
or edi, 0xffffffff
test eax, eax
je 0x48bab4
cmp dword [esi + 0x3c], 0
je 0x48b8bd
mov byte [ebp - 4], 5
call fcn.00481c30
mov ecx, eax
test ecx, ecx
je 0x48bc1a
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x44], 0x100
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
mov byte [ebp - 4], 6
jge 0x48b81f
push 0x100
lea ecx, [ebp - 0x28]
call fcn.00481e70
mov esi, dword [ebp - 0x28]
push 0
lea eax, [ebp - 0x44]
push eax
push esi
push 0x13
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [esi - 8]
lea edx, [esi - 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], edx
test esi, esi
jne 0x48b845
xor eax, eax
jmp 0x48b85a
push ecx
push esi
call fcn.004e30a7
add esp, 8
test eax, eax
js 0x48bc2e
lea edx, [esi - 0x10]
cmp eax, dword [edx + 8]
jg 0x48bc2e
xor ecx, ecx
mov dword [edx + 4], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x20], ecx
jne 0x48b879
or edi, 0xffffffff
jmp 0x48baa0
push esi
call fcn.004e67c2
add esp, 4
cmp eax, 0x12d
je 0x48b925
cmp eax, 0x12e
je 0x48b925
cmp eax, 0x12f
je 0x48b925
mov eax, edi
lea edx, [esi - 0x10]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b8ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b8d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b8eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x48b904
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x56469c
push 4
call fcn.004bd1fd
add esp, 8
test eax, eax
je 0x48bb10
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x48bb12
mov byte [ebp - 4], 7
call fcn.00481c30
mov ecx, eax
test ecx, ecx
je 0x48bc24
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x48], 0x400
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
mov byte [ebp - 4], 8
jge 0x48b972
push 0x400
lea ecx, [ebp - 0x20]
call fcn.00481e70
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
push 0
push eax
push esi
push 0x21
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [esi - 8]
lea edx, [esi - 0x10]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], edx
test esi, esi
jne 0x48b999
xor eax, eax
jmp 0x48b9ae
push ecx
push esi
call fcn.004e30a7
add esp, 8
test eax, eax
js 0x48bc2e
lea edx, [esi - 0x10]
cmp eax, dword [edx + 8]
jg 0x48bc2e
xor ecx, ecx
mov dword [edx + 4], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x4c], ecx
je 0x48ba86
cmp dword [edx + 4], ecx
je 0x48ba86
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x20]
push eax
call fcn.00485130
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov ecx, dword [ebp - 0x34]
push ecx
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0048b440
mov edx, dword [ebp - 0x30]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ba19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ba30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ba47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ba5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x48ba70
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
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
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ba9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48bab4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48bacb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48bae2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x48baf4
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [ebp - 0x34]
push ecx
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
jmp 0x48b64a
xor eax, eax
push dword [ebp + 8]
mov ecx, esi
push eax
call fcn.0048a870
push 0x56469c
push 4
call fcn.004bd1fd
add esp, 8
test eax, eax
je 0x48bb37
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
jmp 0x48bb39
xor eax, eax
push dword [ebp + 8]
lea ecx, [esi + 8]
push eax
call fcn.0048a870
push 0x56469c
push 4
call fcn.004bd1fd
add esp, 8
test eax, eax
je 0x48bb5f
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x48bb61
xor eax, eax
push dword [ebp + 8]
lea ecx, [esi + 0x10]
push eax
call fcn.0048a870
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48bb8a
lock inc dword [eax + 4]
mov eax, dword [esi + 0x10]
sub esp, 8
mov dword [ecx], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x48bbb2
lock inc dword [eax + 4]
mov eax, dword [esi + 8]
sub esp, 8
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x48bbda
lock inc dword [eax + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov esi, dword [ebp + 8]
push esi
mov dword [ecx + 4], eax
call fcn.0048ad80
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.004818f0
push 0x80004005
call fcn.004818f0
push 0x80004005
call fcn.004818f0
push 0x80004005
call fcn.004818f0
push 0x80070057
call fcn.004818f0
int3