Function at 0x4e503c
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 0x4e5064
test dword [0x7eeab0], 0xffffffff
jne 0x4e525c
call fcn.006a7fbc
jmp fcn.004e503c
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x448
call fcn.006977b0
mov ecx, dword [esp + 0x448]
mov dword [esp + 0x444], 0x6c4e24
xor eax, eax
mov dword [esp + 0x448], eax
push eax
push eax
push eax
push eax
push 0x6c4e28
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
test ebp, ebp
je 0x4e524d
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 0x4e5242
mov dword [esp + 0x440], 0
call fcn.00697746
lea edx, [esp + 0x408]
push eax
push 0x6c4d90
push edx
call fcn.00697936
add esp, 0xc
lea ecx, [esp + 0x408]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4e510a
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4e50f5
dec eax
mov edi, eax
lea eax, [esp]
push str.TallyShop.php
push eax
call fcn.00697936
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 0x6c4e5c
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4e5237
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4e5161
xor edi, edi
jmp 0x4e522e
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 0x4e515a
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.004e5f04
mov eax, dword [esp + 0x400]
mov edx, dword [esp + 0x43c]
cmp edx, 0x80
jbe 0x4e520a
shr edx, 7
test edx, edx
je 0x4e5219
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.00584d5e
add ebp, 0x80
mov ecx, dword [esp + 0x43c]
shr ecx, 7
inc ebx
cmp ebx, ecx
jb 0x4e51d7
mov ebx, dword [esp + 0x400]
mov ebp, dword [esp + 0x404]
jmp 0x4e5219
lea ecx, [esp]
mov edx, dword [esp + 0x440]
call fcn.00584d5e
mov ecx, dword [esp + 0x440]
call fcn.004db958
mov byte [esp + edi], 0
mov edi, 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e5239
xor edi, edi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e5244
xor edi, edi
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e524f
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.006977b0
mov ecx, dword [esp + 0x448]
mov dword [esp + 0x444], 0x6c4e24
xor eax, eax
mov dword [esp + 0x448], eax
push eax
push eax
push eax
push eax
push 0x6c4e28
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
test ebp, ebp
je 0x4e5444
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 0x4e5439
mov dword [esp + 0x440], 0
call fcn.00697746
lea edx, [esp + 0x408]
push eax
push 0x6c4d90
push edx
call fcn.00697936
add esp, 0xc
lea ecx, [esp + 0x408]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4e5302
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4e52ed
dec eax
mov edi, eax
lea eax, [esp]
push str.TallyShop.php
push eax
call fcn.00697936
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 0x6c4e5c
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4e542e
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4e5359
xor edi, edi
jmp 0x4e5425
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 0x4e5352
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.004e5f04
mov eax, dword [esp + 0x400]
mov edx, dword [esp + 0x43c]
cmp edx, 0x80
jbe 0x4e5402
shr edx, 7
test edx, edx
je 0x4e5410
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.00584d5e
add ebp, 0x80
mov ecx, dword [esp + 0x43c]
shr ecx, 7
inc ebx
cmp ebx, ecx
jb 0x4e53cf
mov ebx, dword [esp + 0x400]
mov ebp, dword [esp + 0x404]
jmp 0x4e5410
mov ecx, eax
mov edx, dword [esp + 0x440]
call fcn.00584d5e
mov ecx, dword [esp + 0x440]
call fcn.004db958
mov byte [esp + edi], 0
mov edi, 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e5430
xor edi, edi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e543b
xor edi, edi
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e5446
xor edi, edi
mov eax, edi
add esp, 0x44c
pop ebx
pop ebp
pop esi
pop edi
ret