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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfc98
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x505070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
lea eax, [ebx + 0x20]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x46a306
mov eax, dword [ebx + 0x24]
lea ecx, [ebx + 0x24]
cmp dword [eax - 0xc], 0
jne 0x46a1a1
push 3
push 0x4dfc58
call fcn.00405580
call fcn.00405a90
mov ecx, eax
test ecx, ecx
jne 0x46a1b6
push 0x80004005
call fcn.00405cb0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
call fcn.00405a90
mov ecx, eax
test ecx, ecx
jne 0x46a1dd
push 0x80004005
call fcn.00405cb0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
push 0x3c
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004a1ef0
mov dword [ebp - 0x8c], 0x3c
mov ecx, 1
mov eax, dword [edi - 8]
add esp, 0xc
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x46a22d
push 0x104
lea ecx, [ebp - 0x28]
call fcn.00405750
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x7c], edi
mov ecx, 1
mov dword [ebp - 0x78], 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x46a25b
push 0x400
lea ecx, [ebp - 0x2c]
call fcn.00405750
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x60], esi
push eax
push 0
push 0
push dword [ebx + 0x20]
mov dword [ebp - 0x5c], 0x400
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [edi - 8]
mov dword [ebp - 0x30], eax
push edi
call fcn.004afb42
add esp, 8
test eax, eax
js 0x46a89d
cmp eax, dword [edi - 8]
jg 0x46a89d
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.004afb42
add esp, 8
test eax, eax
js 0x46a89d
cmp eax, dword [esi - 8]
jg 0x46a89d
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x30], ecx
jne 0x46a32a
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 0x46a2ea
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 0x46a306
mov ecx, dword [edi]
push edi
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
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 - 0x1c], ecx
test ecx, ecx
jne 0x46a349
mov byte [ebp - 4], al
jmp 0x46a2d0
mov eax, dword [ebx + 0x1c]
cmp dword [eax - 0xc], 0
je 0x46a37d
push 0xc
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
push 0x26
push ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 3
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x46a852
mov ecx, dword [ebp - 0x1c]
push 1
push 0
push 3
push 0
push 0
push dword [ebp - 0x74]
push edi
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x46a852
push 1
push 0x680000
push 0
push 0
push 0
push esi
push dword [ebx + 0x24]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x46a40c
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 0x46a3d9
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 0x46a3f5
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
mov ecx, dword [ebp - 0x1c]
push ecx
call esi
jmp 0x46a306
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x28]
call fcn.00469db0
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x34]
sub eax, dword [ebx + 0x30]
je 0x46a429
mov edx, dword [ebx + 0x30]
jmp 0x46a42b
xor edx, edx
mov ecx, dword [ebx + 0x34]
sub ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
push ecx
push edx
push dword [eax - 0xc]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
or ebx, 0xffffffff
test eax, eax
je 0x46a7e1
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3c], 0
je 0x46a536
call fcn.00405a90
mov ecx, eax
test ecx, ecx
jne 0x46a470
push 0x80004005
call fcn.00405cb0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 3
mov ecx, 1
mov dword [ebp - 0x34], 0x100
mov eax, dword [ebx - 8]
sub ecx, dword [ebx - 4]
sub eax, 0x100
or eax, ecx
jge 0x46a4aa
push 0x100
lea ecx, [ebp - 0x30]
call fcn.00405750
mov ebx, dword [ebp - 0x30]
push 0
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x13
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push dword [ebx - 8]
mov dword [ebp - 0x10], eax
push ebx
call fcn.004afb42
add esp, 8
test eax, eax
js 0x46a89d
cmp eax, dword [ebx - 8]
jg 0x46a89d
xor ecx, ecx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], cx
cmp dword [ebp - 0x10], ecx
je 0x46a7c3
push ebx
call fcn.004b101b
add esp, 4
cmp eax, 0x12d
je 0x46a625
cmp eax, 0x12e
je 0x46a625
cmp eax, 0x12f
je 0x46a625
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a536
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a554
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 0x46a56f
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 0x46a58b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 4
call fcn.0049f1e8
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov ebx, dword [ebp - 0x20]
mov dword [eax], ecx
mov ecx, ebx
push dword [ebp + 8]
push eax
call fcn.0046acf0
push 4
call fcn.0049f1e8
mov ecx, dword [ebp - 0x24]
lea edi, [ebx + 8]
add esp, 4
mov dword [eax], ecx
mov ecx, edi
push dword [ebp + 8]
push eax
call fcn.0046acf0
push 4
call fcn.0049f1e8
mov ecx, dword [ebp - 0x18]
lea esi, [ebx + 0x10]
add esp, 4
mov dword [eax], ecx
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.0046acf0
sub esp, 8
mov ecx, esp
push esi
call fcn.004037d0
sub esp, 8
mov ecx, esp
push edi
call fcn.004037d0
sub esp, 8
mov ecx, esp
push ebx
call fcn.004037d0
mov ecx, dword [ebp + 8]
call fcn.00469650
mov eax, dword [ebp + 8]
add esp, 0x18
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
call fcn.00405a90
mov ecx, eax
test ecx, ecx
jne 0x46a63a
push 0x80004005
call fcn.00405cb0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
mov edx, 1
mov dword [ebp - 0x38], 0x400
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x400
or ecx, edx
jge 0x46a675
push 0x400
lea ecx, [ebp - 0x10]
call fcn.00405750
mov eax, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0x38]
push ecx
push eax
push 0x21
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
push dword [ecx - 8]
push ecx
call fcn.004afb42
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x46a89d
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax - 8]
jg 0x46a89d
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x3c], edx
je 0x46a7a7
cmp dword [eax - 0xc], edx
je 0x46a7a7
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x10]
push eax
call fcn.00403c60
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
call fcn.0046a140
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a71d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a73b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a759
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 0x46a774
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 0x46a790
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
lea edx, [eax - 0x10]
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a7c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a7e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a7ff
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 0x46a81a
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 0x46a836
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
mov ecx, dword [ebp - 0x1c]
push ecx
call esi
jmp 0x46a306
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 0x46a870
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 0x46a88c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
jmp 0x46a306
push 0x80070057
call fcn.00405cb0
int3