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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ee06d
mov eax, dword fs:[0]
push eax
mov eax, 0x2960
call fcn.0057c720
mov eax, dword [0x65f810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0x8c]
movzx ecx, byte [eax]
cmp ecx, 1
jne 0x5d88ec
mov dword [ebp - 0x293c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00436170
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.00436170
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x44]
call fcn.00436170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x60]
call fcn.00436170
mov eax, dword [ebp - 0x293c]
jmp 0x5d9252
lea ecx, [ebp - 0x74]
call fcn.00436140
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00436140
mov byte [ebp - 4], 5
push 0x618608
lea ecx, [ebp - 0x58]
call fcn.00436a10
mov byte [ebp - 4], 6
push str.Explorer
lea ecx, [ebp - 0xf4]
call fcn.00436a10
mov byte [ebp - 4], 7
lea edx, [ebp + 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.00435d30
mov byte [ebp - 4], 8
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp - 0x124]
call fcn.00435d30
mov byte [ebp - 4], 9
push 0x618618
lea ecx, [ebp - 0xd4]
call fcn.00436a10
mov byte [ebp - 4], 0xa
push 0x6183fa
lea ecx, [ebp - 0xb8]
call fcn.00436a10
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0xd4]
call fcn.00435d90
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x78], 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x5d8a7e
mov dword [ebp - 0x2940], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00436170
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.00436170
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x124]
call fcn.00436170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00436170
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call fcn.00436170
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00436170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00436170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00436170
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00436170
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.00436170
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x44]
call fcn.00436170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x60]
call fcn.00436170
mov eax, dword [ebp - 0x2940]
jmp 0x5d9252
push 0
push 0
push 3
push 0x6183fb
push 0x618413
movzx ecx, word [ebp + 0x40]
push ecx
lea ecx, [ebp + 8]
call fcn.00435d90
push eax
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x5d8b7a
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2944], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00436170
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.00436170
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x124]
call fcn.00436170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00436170
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call fcn.00436170
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00436170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00436170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00436170
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00436170
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.00436170
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x44]
call fcn.00436170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x60]
call fcn.00436170
mov eax, dword [ebp - 0x2944]
jmp 0x5d9252
mov dword [ebp - 0x18], str.Accept:_
mov dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp - 0x78]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0x618628
lea ecx, [ebp + 0x24]
call fcn.00435d90
push eax
push 0
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x5d8c92
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2948], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00436170
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.00436170
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x124]
call fcn.00436170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00436170
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call fcn.00436170
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00436170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00436170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00436170
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00436170
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.00436170
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x44]
call fcn.00436170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x60]
call fcn.00436170
mov eax, dword [ebp - 0x2948]
jmp 0x5d9252
push 4
lea eax, [ebp + 0x7c]
push eax
push 2
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea edx, [ebp + 0x7c]
push edx
push 8
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x5d8dbf
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x294c], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00436170
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.00436170
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x124]
call fcn.00436170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00436170
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call fcn.00436170
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00436170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00436170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00436170
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00436170
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.00436170
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x44]
call fcn.00436170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x60]
call fcn.00436170
mov eax, dword [ebp - 0x294c]
jmp 0x5d9252
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xf8], 0x400
mov edx, dword [ebp - 0xf8]
push edx
call fcn.004cf9f2
add esp, 4
mov dword [ebp - 0x2950], eax
mov eax, dword [ebp - 0x2950]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x5d8ed6
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2954], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00436170
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.00436170
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x124]
call fcn.00436170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00436170
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call fcn.00436170
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00436170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00436170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00436170
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00436170
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.00436170
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x44]
call fcn.00436170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x60]
call fcn.00436170
mov eax, dword [ebp - 0x2954]
jmp 0x5d9252
mov ecx, dword [ebp - 0xf8]
push ecx
push 0
mov edx, dword [ebp - 0x38]
push edx
call fcn.00578cb0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 5
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x5d8f28
cmp dword [ebp + 0x88], 0
jne 0x5d9071
mov dword [ebp - 0x128], 0
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0057ded1
add esp, 4
mov dword [ebp - 0xd8], eax
push 0
mov edx, dword [ebp - 0xd8]
push edx
push 0x17f7
mov eax, dword [ebp + 0x84]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, 1
test ecx, ecx
je 0x5d903b
lea edx, [ebp - 0xfc]
push edx
push 0x2800
lea eax, [ebp - 0x292c]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x5d8f97
jmp 0x5d903b
cmp dword [ebp - 0xfc], 0
jne 0x5d8fa7
jmp 0x5d903b
mov edx, dword [ebp - 0xfc]
push edx
lea eax, [ebp - 0x292c]
push eax
mov ecx, dword [ebp + 0x80]
add ecx, 8
call fcn.00436cf0
mov ecx, dword [ebp - 0x128]
add ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x2968], edx
mov dword [ebp - 0x2964], 0
fild qword [ebp - 0x2968]
fmul qword [0x61ec18]
fild dword [ebp - 0xd8]
fmul qword [0x61ec18]
fdivp st(1)
fmul qword [0x61ebd8]
fstp dword [ebp - 0x296c]
fld dword [ebp - 0x296c]
push ecx
fstp dword [esp]
push 6
push 1
call fcn.005da0c0
add esp, 0xc
mov eax, dword [ebp + 0x8c]
movzx ecx, byte [eax]
test ecx, ecx
je 0x5d9036
jmp 0x5d903b
jmp 0x5d8f5f
cmp dword [ebp + 0x88], 0
je 0x5d905d
mov edx, dword [ebp - 0xd8]
xor eax, eax
cmp edx, dword [ebp - 0x128]
sete al
mov dword [ebp - 0x98], eax
jmp 0x5d906f
xor ecx, ecx
cmp ecx, dword [ebp - 0x128]
sbb edx, edx
neg edx
mov dword [ebp - 0x98], edx
jmp 0x5d9087
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x2934], eax
mov dword [ebp - 0x2930], 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2958], eax
mov ecx, dword [ebp - 0x2958]
push ecx
call fcn.00579478
add esp, 4
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp + 0x8c]
movzx eax, byte [edx]
test eax, eax
je 0x5d918b
mov dword [ebp - 0x295c], 2
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00436170
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.00436170
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x124]
call fcn.00436170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00436170
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call fcn.00436170
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00436170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00436170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00436170
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00436170
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.00436170
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x44]
call fcn.00436170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x60]
call fcn.00436170
mov eax, dword [ebp - 0x295c]
jmp 0x5d9252
cmp dword [ebp - 0x98], 0
jne 0x5d919e
mov dword [ebp - 0x2938], 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x2960], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00436170
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.00436170
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x124]
call fcn.00436170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00436170
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call fcn.00436170
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00436170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00436170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00436170
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00436170
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.00436170
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x44]
call fcn.00436170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x60]
call fcn.00436170
mov eax, dword [ebp - 0x2960]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005792fc
mov esp, ebp
pop ebp
ret