Function at 0x4e9a35
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x664d22
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x190d8
call fcn.00609980
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x190d8], esi
mov dword [ebp - 0x190dc], esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1909c], edi
push 0x6ec643
lea ecx, [ebp - 0x19048]
call fcn.0041c804
mov dword [esi + 0x14], 0xf
xor ebx, ebx
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [esi + 0x18], ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0x10], ebx
jne 0x4e9ac7
mov dword [ebp - 0x190b4], 0xe
push 0x706300
lea eax, [ebp - 0x190b4]
push eax
call fcn.0060efe1
push 0x6809b0
lea ecx, [ebp - 0x19094]
call fcn.004177e7
mov eax, dword [0x735aa0]
cmp dword [eax - 0xc], 0
jne 0x4e9b0a
push ebx
lea eax, [ebp - 0x190a0]
push eax
call fcn.00484b7d
pop ecx
pop ecx
push eax
mov ecx, 0x735aa0
call fcn.00418bac
mov ecx, dword [ebp - 0x190a0]
lea ecx, [ecx - 0x10]
call fcn.00419521
push str.1.29
push str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__mytime_win32_native__s_Chrome_60.0.3729.169_Safari_537.36
lea eax, [ebp - 0x19094]
push eax
call fcn.0041a1e9
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
mov esi, dword [ebp - 0x19094]
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x190a0], eax
test eax, eax
jne 0x4e9b58
mov dword [ebp - 0x190b8], 1
push 0x706300
lea eax, [ebp - 0x190b8]
jmp 0x4e9ac1
call fcn.00484028
cmp eax, 0x13
jge 0x4e9baa
sub esp, 0x18
mov ecx, esp
push str.http:__
call fcn.0041c804
sub esp, 0x18
mov ecx, esp
push 0x691c98
call fcn.0041c804
push edi
lea eax, [ebp - 0x19090]
push eax
call fcn.0051493d
add esp, 0x38
push eax
mov ecx, edi
call fcn.004252bf
push ebx
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x19090]
call fcn.0041f932
jmp 0x4e9bad
xor edi, edi
inc edi
mov dword [ebp - 0x19094], 0x1bb
push 0x6ec643
lea ecx, [ebp - 0x19078]
call fcn.0041c804
push 0x6ec643
lea ecx, [ebp - 0x19060]
call fcn.0041c804
mov dword [ebp - 0x190a4], edi
push dword [ebp + 0x2c]
lea eax, [ebp - 0x190a4]
push eax
lea eax, [ebp - 0x19094]
push eax
lea eax, [ebp - 0x19060]
push eax
lea eax, [ebp - 0x19078]
push eax
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x1909c]
call fcn.0041c7de
call fcn.004e2c54
add esp, 0x2c
lea eax, [ebp - 0x19078]
cmp dword [ebp - 0x19064], 0x10
cmovae eax, dword [ebp - 0x19078]
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x19094]
push eax
push dword [ebp - 0x190a0]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x1909c], eax
test eax, eax
jne 0x4e9c65
mov dword [ebp - 0x190bc], 2
push 0x706300
lea eax, [ebp - 0x190bc]
jmp 0x4e9ac1
mov dword [ebp - 0x19020], ebx
mov dword [ebp - 0x1901c], ebx
mov dword [ebp - 0x1901c], 0xf
mov dword [ebp - 0x19020], ebx
mov byte [ebp - 0x19030], bl
mov dword [ebp - 0x190e4], 0x691df4
mov dword [ebp - 0x190e0], ebx
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4e9cb1
push 0x691df8
call fcn.006182a0
pop ecx
push eax
push 0x691df8
jmp 0x4e9d0e
cmp eax, edi
jne 0x4e9cc8
push str.POST
call fcn.006182a0
pop ecx
push eax
push str.POST
jmp 0x4e9d0e
cmp eax, 2
jne 0x4e9ce0
push str.PATCH
call fcn.006182a0
pop ecx
push eax
push str.PATCH
jmp 0x4e9d0e
cmp eax, 3
jne 0x4e9cf8
push str.DELETE
call fcn.006182a0
pop ecx
push eax
push str.DELETE
jmp 0x4e9d0e
cmp eax, 4
jne 0x4e9d19
push 0x691e14
call fcn.006182a0
pop ecx
push eax
push 0x691e14
lea ecx, [ebp - 0x19030]
call fcn.0041fbf6
mov eax, dword [ebp + 0x34]
sub eax, dword [ebp + 0x30]
cdq
push 0x18
pop ecx
idiv ecx
test eax, eax
jne 0x4e9d55
push str.Content_Type:_application_json
lea ecx, [ebp - 0x19090]
call fcn.0041c804
lea eax, [ebp - 0x19090]
push eax
lea ecx, [ebp + 0x30]
call fcn.0042ea4b
push ebx
push edi
lea ecx, [ebp - 0x19090]
call fcn.0041f932
mov edx, SysReAllocString
mov dword [ebp - 0x190c0], edx
mov eax, 0x80800000
cmp dword [ebp - 0x190a4], edi
cmove edx, eax
mov dword [ebp - 0x190c0], edx
lea ecx, [ebp - 0x19060]
cmp dword [ebp - 0x1904c], 0x10
cmovae ecx, dword [ebp - 0x19060]
lea eax, [ebp - 0x19030]
cmp dword [ebp - 0x1901c], 0x10
cmovae eax, dword [ebp - 0x19030]
push ebx
push edx
lea edx, [ebp - 0x190e4]
push edx
push ebx
push str.HTTP_1.1
push ecx
push eax
push dword [ebp - 0x1909c]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x19094], eax
test eax, eax
jne 0x4e9dd9
mov dword [ebp - 0x190c4], edi
push 0x706300
lea eax, [ebp - 0x190c4]
jmp 0x4e9ac1
mov dword [ebp - 0x190c8], 0x4e20
push 4
lea ecx, [ebp - 0x190c8]
push ecx
push 2
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x19098], ebx
mov dword [ebp - 0x190cc], 4
lea eax, [ebp - 0x190cc]
push eax
lea eax, [ebp - 0x19098]
push eax
push 0x1f
mov edi, dword [ebp - 0x19094]
push edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
jne 0x4e9e2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x19098]
or eax, 0x80
mov dword [ebp - 0x19098], eax
or eax, 0x100
mov dword [ebp - 0x19098], eax
or eax, 0x2000
mov dword [ebp - 0x19098], eax
or eax, 0x1000
mov dword [ebp - 0x19098], eax
push 4
lea eax, [ebp - 0x19098]
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x4e9e7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, ebx
mov dword [ebp - 0x190d0], edi
mov eax, dword [ebp + 0x34]
sub eax, dword [ebp + 0x30]
cdq
push 0x18
pop ecx
idiv ecx
cmp edi, eax
jae 0x4e9eb7
imul eax, edi, 0x18
add eax, dword [ebp + 0x30]
cmp dword [eax + 0x14], 0x10
jb 0x4e9ea0
mov eax, dword [eax]
push 0xa0000000
push 0xffffffffffffffff
push eax
push dword [ebp - 0x19094]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
inc edi
jmp 0x4e9e7c
cmp dword [ebp + 0x10], 0
jne 0x4e9ec1
push ebx
push ebx
jmp 0x4e9eea
cmp dword [ebp + 0x24], 0
jne 0x4e9ecb
mov eax, ebx
jmp 0x4e9edd
lea eax, [ebp + 0x14]
cmp dword [ebp + 0x28], 0x10
cmovae eax, dword [ebp + 0x14]
push eax
call fcn.006182a0
pop ecx
lea ecx, [ebp + 0x14]
cmp dword [ebp + 0x28], 0x10
cmovae ecx, dword [ebp + 0x14]
push eax
push ecx
push ebx
push ebx
mov edi, dword [ebp - 0x19094]
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4e9f03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x190ac], ebx
mov dword [ebp - 0x190d4], 4
push ebx
lea eax, [ebp - 0x190d4]
push eax
lea eax, [ebp - 0x190ac]
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push 0x19001
push ebx
lea eax, [ebp - 0x19018]
push eax
call fcn.0060b7a0
add esp, 0xc
mov dword [ebp - 0x190a8], 0x19000
lea eax, [ebp - 0x190a8]
push eax
push 0x19000
lea eax, [ebp - 0x19018]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4e9fb7
mov eax, dword [ebp - 0x190a8]
test eax, eax
je 0x4e9fb7
cmp eax, 0x19001
jae 0x4e9fb2
mov byte [ebp + eax - 0x19018], bl
cmp byte [ebp - 0x19018], 0
jne 0x4e9f90
mov eax, ebx
jmp 0x4e9f9d
lea eax, [ebp - 0x19018]
push eax
call fcn.006182a0
pop ecx
push eax
lea eax, [ebp - 0x19018]
push eax
lea ecx, [ebp - 0x19048]
call fcn.0041fabd
jmp 0x4e9f4d
call fcn.00609610
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp - 0x1909c]
call edi
push dword [ebp - 0x190a0]
call edi
lea eax, [ebp - 0x19048]
cmp dword [ebp - 0x19034], 0x10
cmovae eax, dword [ebp - 0x19048]
push 0xfde9
push eax
lea eax, [ebp - 0x190b0]
push eax
call fcn.004b2a76
add esp, 0xc
push ebx
push 0x691e44
lea ecx, [ebp - 0x190b0]
call fcn.004713d7
test eax, eax
jle 0x4ea021
push ebx
push ebx
push 0x569
push dword [0x735624]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x190ac]
mov edi, dword [ebp - 0x190d8]
mov dword [edi + 0x18], eax
lea eax, [ebp - 0x19048]
push eax
mov ecx, edi
call fcn.004252bf
mov ecx, dword [ebp - 0x190b0]
lea ecx, [ecx - 0x10]
call fcn.00419521
push ebx
push 1
lea ecx, [ebp - 0x19030]
call fcn.0041f932
push ebx
push 1
lea ecx, [ebp - 0x19060]
call fcn.0041f932
push ebx
push 1
lea ecx, [ebp - 0x19078]
call fcn.0041f932
lea ecx, [esi - 0x10]
call fcn.00419521
or dword [ebp - 4], 0xffffffff
jmp 0x4ea096
push ebx
push 1
lea ecx, [ebp - 0x19048]
call fcn.0041f932
push ebx
push 1
lea ecx, [ebp + 0x14]
call fcn.0041f932
lea ecx, [ebp + 0x30]
call fcn.00426246
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00609802
mov esp, ebp
pop ebp
ret