Function at 0x46b94a
Capabilities:
Connect to http server
Create http request
Get http request uri
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0x1e4
mov eax, 0x5c6486
call fcn.00490260
mov edi, edx
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x1e0], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
and dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
call fcn.0045aea0
lea ecx, [ebp - 0xe8]
call fcn.00459520
mov ebx, eax
mov esi, ebx
lea eax, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1b8]
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
mov dword [ebp - 0x1e4], ecx
call fcn.0045f9f0
lea eax, [ebx + 0x28]
lea ecx, [esi + 0x28]
push eax
mov dword [ebp - 0x1e8], ecx
call fcn.0045f9f0
lea eax, [ebx + 0x40]
lea ecx, [esi + 0x40]
push eax
mov dword [ebp - 0x1d8], ecx
call fcn.0045f9f0
mov eax, dword [ebx + 0x58]
lea ecx, [esi + 0x60]
mov dword [esi + 0x58], eax
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x5c], eax
lea eax, [ebx + 0x60]
push eax
mov dword [ebp - 0x1bc], ecx
call fcn.0045f9f0
lea ecx, [ebp - 0xe8]
call fcn.004599a0
mov eax, dword [ebp - 0x1cc]
lea esi, [ebp - 0x40]
xorps xmm0, xmm0
xor ebx, ebx
push 6
pop ecx
mov edi, eax
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x18]
mov dword [eax], 1
call fcn.0045a8f0
lea ecx, [ebp - 0x1b0]
call fcn.0046988e
mov edi, dword [ebp - 0x1e0]
lea edx, [ebp - 0x1b0]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00469c9e
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x124], ebx
jne 0x46baa2
push 0x6a069c
lea ecx, [ebp - 0x28]
call fcn.004489c0
mov byte [ebp - 4], 2
inc ebx
jmp 0x46babb
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x40]
call fcn.00448a20
push 2
mov dword [ebp - 4], 3
pop ebx
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1b4], ebx
call fcn.004488d0
test bl, 2
je 0x46bae0
and ebx, 0xfffffffd
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x1b4], ebx
call fcn.00448970
xor esi, esi
inc esi
mov dword [ebp - 4], esi
test bl, 1
je 0x46bafc
and ebx, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1b4], ebx
call fcn.00448970
cmp dword [ebp - 0x10c], 0
jne 0x46bb1b
push 0x636ab8
lea ecx, [ebp - 0x28]
call fcn.004489c0
mov byte [ebp - 4], 4
or ebx, 4
jmp 0x46bb3a
lea eax, [ebp - 0x11c]
mov edx, 0x6a166c
push eax
lea ecx, [ebp - 0x40]
call fcn.0045b4d0
pop ecx
mov dword [ebp - 4], 5
or ebx, 8
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1b4], ebx
call fcn.004488d0
test bl, 8
je 0x46bb59
lea ecx, [ebp - 0x40]
and ebx, 0xfffffff7
call fcn.00448970
mov dword [ebp - 4], esi
test bl, 4
je 0x46bb69
lea ecx, [ebp - 0x28]
call fcn.00448970
xor ebx, ebx
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x58], bl
mov byte [ebp - 4], 6
mov esi, dword [edi + 0x90]
jmp 0x46bbb6
push esi
lea ecx, [ebp - 0x58]
call fcn.004488d0
push 0x635f98
lea ecx, [ebp - 0x58]
call fcn.00448860
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x58]
call fcn.004488d0
push 0x6a1670
lea ecx, [ebp - 0x58]
call fcn.00448860
add esi, 0x30
cmp esi, dword [edi + 0x94]
jne 0x46bb84
lea eax, [edi + 0x9c]
cmp dword [eax + 0x10], ebx
je 0x46bc10
push eax
mov edx, str.Content_Type:
lea ecx, [ebp - 0x28]
call fcn.0045b4d0
mov byte [ebp - 4], 7
mov dword [esp], 0x6a1670
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0045ef00
add esp, 0xc
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.004488d0
lea ecx, [ebp - 0x40]
call fcn.00448970
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00448970
lea eax, [edi + 0x60]
cmp dword [eax + 0x14], 0x10
jb 0x46bc1b
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, eax
mov eax, dword [ebp - 0x1d4]
mov dword [eax], ecx
test ecx, ecx
jne 0x46bc5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x6a02d8
push eax
lea ecx, [ebp - 0x1c]
call fcn.00448040
mov edi, dword [ebp - 0x1b8]
mov esi, eax
mov ebx, dword [ebp - 0x1d0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x46c292
lea esi, [edi + 0x48]
cmp dword [esi + 0x14], 0x10
jb 0x46bc69
mov esi, dword [esi]
lea edx, [edi + 0x30]
cmp dword [edx + 0x14], 0x10
jb 0x46bc74
mov edx, dword [edx]
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
push ebx
cmovae eax, dword [ebp - 0x150]
push ebx
push 3
push esi
push edx
push dword [ebp - 0x138]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, dword [ebp - 0x1dc]
mov dword [ebx], eax
test eax, eax
je 0x46bc34
and dword [ebp - 0x1ec], 0
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1f0], 0x6a1684
call fcn.00448a20
lea ecx, [ebp - 0x28]
call fcn.00463f80
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x18], 5
jne 0x46bcf7
push 5
mov edx, str.https
call fcn.004560f0
mov esi, 0x84800000
pop ecx
test eax, eax
je 0x46bcfc
mov esi, 0x84000000
lea ecx, [ebp - 0x28]
call fcn.00448970
lea eax, [edi + 0x78]
cmp dword [eax + 0x14], 0x10
jb 0x46bd0f
mov eax, dword [eax]
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
lea ecx, [edi + 0x18]
cmovae edx, dword [ebp - 0x70]
cmp dword [ecx + 0x14], 0x10
jb 0x46bd25
mov ecx, dword [ecx]
push 0
push esi
lea esi, [ebp - 0x1f0]
push esi
push eax
push 0
push edx
push ecx
push dword [ebx]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, dword [ebp - 0x1d0]
mov ecx, eax
mov dword [ebx], ecx
test ecx, ecx
jne 0x46bd6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x6a02d8
push eax
lea ecx, [ebp - 0x1c]
call fcn.00448040
mov edi, dword [ebp - 0x1b8]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x46c292
mov edx, dword [edi + 0xc4]
add edi, 0xb4
cmp dword [edi + 0x14], 0x10
jb 0x46bd82
mov edi, dword [edi]
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push edx
cmovae eax, dword [ebp - 0x58]
push edi
push dword [ebp - 0x48]
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x46bd4a
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push ecx
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 9
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push eax
push ecx
push 0x13
push dword [ebx]
mov dword [ebp - 0x1b4], ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x7a
jne 0x46be39
cmp dword [ebp - 0x1b4], 0
je 0x46be39
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1b4]
mov ecx, eax
call fcn.004650e3
push 0
lea eax, [ebp - 0x1b4]
push eax
push dword [ebp - 0x1c]
push 0x13
push dword [ebx]
call esi
test eax, eax
je 0x46be39
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1b4]
mov ecx, eax
call fcn.004650e3
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x40]
call fcn.00464898
mov ecx, eax
call fcn.0046c5d4
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x40]
call fcn.00448970
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46be4f
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00448d70
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push ecx
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0xa
push eax
push ecx
push 0x14
push dword [ebx]
mov dword [ebp - 0x1b4], ecx
call esi
call edi
cmp eax, 0x7a
jne 0x46beda
cmp dword [ebp - 0x1b4], 0
je 0x46beda
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1b4]
mov ecx, eax
call fcn.004650e3
push 0
lea eax, [ebp - 0x1b4]
push eax
push dword [ebp - 0x1c]
push 0x14
push dword [ebx]
call esi
test eax, eax
je 0x46beda
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1b4]
mov ecx, eax
call fcn.004650e3
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x40]
call fcn.00464898
mov ecx, dword [ebp - 0x1e4]
push eax
call fcn.0045f9f0
lea ecx, [ebp - 0x40]
call fcn.00448970
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46bef0
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00448d70
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push ecx
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0xb
push eax
push ecx
push 0x25
push dword [ebx]
mov dword [ebp - 0x1b4], ecx
call esi
call edi
cmp eax, 0x7a
jne 0x46bf7b
cmp dword [ebp - 0x1b4], 0
je 0x46bf7b
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1b4]
mov ecx, eax
call fcn.004650e3
push 0
lea eax, [ebp - 0x1b4]
push eax
push dword [ebp - 0x1c]
push 0x25
push dword [ebx]
call esi
test eax, eax
je 0x46bf7b
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1b4]
mov ecx, eax
call fcn.004650e3
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x40]
call fcn.00464898
mov ecx, dword [ebp - 0x1e8]
push eax
call fcn.0045f9f0
lea ecx, [ebp - 0x40]
call fcn.00448970
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46bf91
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00448d70
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push ecx
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0xc
push eax
push ecx
push 1
push dword [ebx]
mov dword [ebp - 0x1b4], ecx
call esi
call edi
cmp eax, 0x7a
jne 0x46c012
cmp dword [ebp - 0x1b4], 0
je 0x46c012
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1b4]
mov ecx, eax
call fcn.004650e3
push 0
lea eax, [ebp - 0x1b4]
push eax
push dword [ebp - 0x1c]
push 1
push dword [ebx]
call esi
test eax, eax
je 0x46c012
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1b4]
mov ecx, eax
call fcn.004650e3
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1bc]
push eax
push dword [ebp - 0x1c]
call fcn.00448af0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46c028
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00448d70
xor ecx, ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1bc], ecx
push ecx
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0xd
push eax
push ecx
push 5
push dword [ebx]
mov dword [ebp - 0x1b4], ecx
call esi
call edi
cmp eax, 0x7a
jne 0x46c0d1
cmp dword [ebp - 0x1b4], 0
je 0x46c0d1
lea eax, [ebp - 0x1c4]
push eax
push dword [ebp - 0x1b4]
mov ecx, eax
call fcn.004650e3
push 0
lea eax, [ebp - 0x1b4]
push eax
push dword [ebp - 0x1c4]
push 5
push dword [ebx]
call esi
test eax, eax
je 0x46c0d1
lea eax, [ebp - 0x1c4]
push eax
push dword [ebp - 0x1b4]
mov ecx, eax
call fcn.004650e3
lea edx, [ebp - 0x1c4]
lea ecx, [ebp - 0x40]
call fcn.00464898
mov ecx, eax
call fcn.0046c5d4
lea ecx, [ebp - 0x40]
mov esi, eax
xor edi, edi
call fcn.00448970
jmp 0x46c0d7
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
call fcn.0045aea0
mov eax, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x18]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0x1b8]
mov dword [eax + 0x58], esi
mov dword [eax + 0x5c], edi
call fcn.0045a8f0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c4]
test ecx, ecx
je 0x46c12c
mov eax, dword [ebp - 0x1bc]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x1c4]
call fcn.00448d70
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
call fcn.0045aea0
mov eax, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x18]
mov dword [eax], 2
call fcn.0045a8f0
mov esi, dword [ebp - 0x1d8]
mov ecx, esi
push 0
call fcn.00457590
lea ecx, [ebp - 0xe0]
call fcn.0046c3db
and dword [ebp - 0x1bc], 0
lea ecx, [ebp - 0x1c0]
mov dword [ebp - method.Core_Common::vector_buffer.virtual_0], vtable.Core_Common::vector_buffer.0
call fcn.004591e0
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x1bc]
mov ecx, edi
push 0x1000
call fcn.0045a300
and dword [ebp - 0x1c8], 0
mov ecx, 0x636ab8
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
sub edx, eax
cmp eax, dword [edi + 0xc]
cmovne ecx, eax
lea eax, [ebp - 0x1c8]
push eax
push edx
push ecx
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x46c268
cmp dword [ebp - 0x1c8], 0
je 0x46c287
mov eax, dword [edi + 8]
mov ecx, 0x636ab8
cmp eax, dword [edi + 0xc]
push dword [ebp - 0x1c8]
cmovne ecx, eax
push ecx
mov ecx, esi
call fcn.00448c10
mov esi, dword [ebp - 0x1c8]
lea ecx, [ebp - 0xe0]
call fcn.0046c412
mov eax, esi
mov byte [ebp - 0x14], 0
cdq
lea ecx, [ebp - 0x18]
add dword [ebp - 0x78], eax
mov eax, dword [ebp + 8]
adc dword [ebp - 0x74], edx
add dword [ebp - 0xd0], esi
mov dword [ebp - 0x18], eax
call fcn.0045aea0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xf
call fcn.0046c36b
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1c8]
add dword [ecx + 0x10], eax
adc dword [ecx + 0x14], 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.0045a8f0
mov esi, dword [ebp - 0x1d8]
jmp 0x46c19e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x6a02d8
push eax
lea ecx, [ebp - 0x1c]
call fcn.00448040
mov edi, dword [ebp - 0x1b8]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x1c0]
call fcn.004591c0
push dword [ebx]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov edi, dword [ebp - 0x1dc]
push dword [edi]
call esi
mov eax, dword [ebp - 0x1d4]
push dword [eax]
call esi
mov eax, dword [ebp - 0x1d4]
xor ecx, ecx
mov dword [ebx], ecx
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [ebp - 0x58]
call fcn.00448970
lea ecx, [ebp - 0x70]
call fcn.00448970
lea ecx, [ebp - 0x1b0]
call fcn.00469918
call fcn.0049020a
ret