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

Disassembly:
push 0xffffffffffffffff
push 0x4a4f2b
mov eax, dword fs:[0]
push eax
mov eax, 0x1038
call fcn.0049cd30
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x1034], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x104c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1064]
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x1054], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
push ebx
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x1068], 2
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
cmp ebp, ebx
jne 0x468154
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c360c
push 0x4c34f8
call fcn.00474370
push eax
call fcn.004743e0
add esp, 0x10
jmp 0x4682ee
mov ecx, dword [esp + 0x105c]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x20], edi
jne 0x468199
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c360c
push 0x4c3538
call fcn.00474370
push eax
call fcn.004743e0
add esp, 0x10
jmp 0x4682de
mov edx, dword [esp + 0x1060]
push ebx
push 0x84000200
push ebx
push ebx
push ebx
push edx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
jne 0x4681dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c360c
push 0x4c3580
call fcn.00474370
push eax
call fcn.004743e0
add esp, 0x10
jmp 0x4682d3
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x46820f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c360c
push 0x4c35c8
call fcn.00474370
push eax
call fcn.004743e0
add esp, 0x10
jmp 0x4682d3
push 0x1000
lea eax, [esp + 0x45]
push ebx
push eax
mov byte [esp + 0x4c], bl
call int.0048bd10
add esp, 0xc
push 0x1000
lea ecx, [esp + 0x44]
push ebx
push ecx
mov dword [esp + 0x20], ebx
call int.0048bd10
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0x1000
lea eax, [esp + 0x48]
push eax
push esi
call edi
cmp dword [esp + 0x14], ebx
je 0x4682b0
jmp 0x468260
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x468267
sub eax, edx
push eax
lea ecx, [esp + 0x44]
push ecx
lea eax, [esp + 0x2c]
call fcn.004689a0
push 0x1000
lea edx, [esp + 0x44]
push ebx
push edx
mov dword [esp + 0x20], ebx
call int.0048bd10
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x48]
push ecx
push esi
call edi
cmp dword [esp + 0x14], ebx
jne 0x468260
cmp dword [esp + 0x38], ebx
je 0x4682cf
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x24], 1
call fcn.0040cab0
mov edi, dword [esp + 0x20]
cmp esi, ebx
je 0x4682de
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
cmp edi, ebx
je 0x4682ee
push edi
call esi
cmp dword [esp + 0x3c], 0x10
jb 0x468302
mov eax, dword [esp + 0x28]
push eax
call fcn.00487c06
add esp, 4
mov byte [esp + 0x1054], bl
mov eax, dword [esp + 0x105c]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46833c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1054], 0xffffffff
mov eax, dword [esp + 0x1060]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46836a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x104c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1034]
xor ecx, esp
call fcn.00488fa3
add esp, 0x1044
ret