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

Disassembly:
test dword [0x7eeab0], 0xffffff80
jne 0x4e4bcc
test dword [0x7eeab0], 0xffffffff
jne 0x4e4dc4
call fcn.006a7b4c
jmp fcn.004e4ba4
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x448
call fcn.00697340
mov ecx, dword [esp + 0x448]
mov dword [esp + 0x444], 0x6c4da0
xor eax, eax
mov dword [esp + 0x448], eax
push eax
push eax
push eax
push eax
push 0x6c4da4
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
test ebp, ebp
je 0x4e4db5
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push eax
push str.experts.tallysolutions.com
push ebp
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x4e4daa
mov dword [esp + 0x440], 0
call fcn.006972d6
lea edx, [esp + 0x408]
push eax
push 0x6c4d0c
push edx
call fcn.006974c6
add esp, 0xc
lea ecx, [esp + 0x408]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4e4c72
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4e4c5d
dec eax
mov edi, eax
lea eax, [esp]
push str.TallyShop.php
push eax
call fcn.006974c6
add esp, 8
lea ecx, [esp]
xor edx, edx
lea eax, [esp + 0x444]
push edx
push 0x84200000
push eax
push edx
push edx
push ecx
push 0x6c4dd8
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4e4d9f
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4e4cc9
xor edi, edi
jmp 0x4e4d96
lea edx, [esp]
lea eax, [esp + 0x43c]
push eax
push 0x3ff
push edx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4e4cc2
lea eax, [esp]
mov edx, dword [esp + 0x43c]
mov byte [esp + edx], 0
push edi
lea ecx, [esp + 0x444]
lea edx, [esp + 0x40c]
mov dword [esp + 0x404], eax
call fcn.004e5a74
mov eax, dword [esp + 0x400]
mov edx, dword [esp + 0x43c]
cmp edx, 0x80
jbe 0x4e4d72
shr edx, 7
test edx, edx
je 0x4e4d81
xor edx, edx
mov dword [esp + 0x400], ebx
mov dword [esp + 0x404], ebp
mov ebp, eax
mov ebx, edx
mov ecx, ebp
mov edx, dword [esp + 0x440]
call fcn.005848e2
add ebp, 0x80
mov ecx, dword [esp + 0x43c]
shr ecx, 7
inc ebx
cmp ebx, ecx
jb 0x4e4d3f
mov ebx, dword [esp + 0x400]
mov ebp, dword [esp + 0x404]
jmp 0x4e4d81
lea ecx, [esp]
mov edx, dword [esp + 0x440]
call fcn.005848e2
mov ecx, dword [esp + 0x440]
call fcn.004db4f8
mov byte [esp + edi], 0
mov edi, 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4da1
xor edi, edi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4dac
xor edi, edi
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4db7
xor edi, edi
mov eax, edi
add esp, 0x44c
pop ebx
pop ebp
pop esi
pop edi
ret
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x448
call fcn.00697340
mov ecx, dword [esp + 0x448]
mov dword [esp + 0x444], 0x6c4da0
xor eax, eax
mov dword [esp + 0x448], eax
push eax
push eax
push eax
push eax
push 0x6c4da4
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
test ebp, ebp
je 0x4e4fac
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push eax
push str.experts.tallysolutions.com
push ebp
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x4e4fa1
mov dword [esp + 0x440], 0
call fcn.006972d6
lea edx, [esp + 0x408]
push eax
push 0x6c4d0c
push edx
call fcn.006974c6
add esp, 0xc
lea ecx, [esp + 0x408]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4e4e6a
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4e4e55
dec eax
mov edi, eax
lea eax, [esp]
push str.TallyShop.php
push eax
call fcn.006974c6
add esp, 8
lea ecx, [esp]
xor edx, edx
lea eax, [esp + 0x444]
push edx
push 0x84200000
push eax
push edx
push edx
push ecx
push 0x6c4dd8
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4e4f96
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4e4ec1
xor edi, edi
jmp 0x4e4f8d
lea edx, [esp]
lea eax, [esp + 0x43c]
push eax
push 0x3ff
push edx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4e4eba
lea eax, [esp]
mov edx, dword [esp + 0x43c]
mov byte [eax + edx], 0
push edi
lea ecx, [esp + 0x444]
lea edx, [esp + 0x40c]
mov dword [esp + 0x404], eax
call fcn.004e5a74
mov eax, dword [esp + 0x400]
mov edx, dword [esp + 0x43c]
cmp edx, 0x80
jbe 0x4e4f6a
shr edx, 7
test edx, edx
je 0x4e4f78
xor edx, edx
mov dword [esp + 0x400], ebx
mov dword [esp + 0x404], ebp
mov ebp, eax
mov ebx, edx
mov ecx, ebp
mov edx, dword [esp + 0x440]
call fcn.005848e2
add ebp, 0x80
mov ecx, dword [esp + 0x43c]
shr ecx, 7
inc ebx
cmp ebx, ecx
jb 0x4e4f37
mov ebx, dword [esp + 0x400]
mov ebp, dword [esp + 0x404]
jmp 0x4e4f78
mov ecx, eax
mov edx, dword [esp + 0x440]
call fcn.005848e2
mov ecx, dword [esp + 0x440]
call fcn.004db4f8
mov byte [esp + edi], 0
mov edi, 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4f98
xor edi, edi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4fa3
xor edi, edi
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4fae
xor edi, edi
mov eax, edi
add esp, 0x44c
pop ebx
pop ebp
pop esi
pop edi
ret