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

Disassembly:
test dword [0x7eda90], 0xffffff80
jne 0x4e4aa0
test dword [0x7eda90], 0xffffffff
jne 0x4e4c98
call fcn.006a6b5c
jmp fcn.004e4a78
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x448
call fcn.00696350
mov ecx, dword [esp + 0x448]
mov dword [esp + 0x444], 0x6c3da0
xor eax, eax
mov dword [esp + 0x448], eax
push eax
push eax
push eax
push eax
push 0x6c3da4
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
test ebp, ebp
je 0x4e4c89
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 0x4e4c7e
mov dword [esp + 0x440], 0
call fcn.006962e6
lea edx, [esp + 0x408]
push eax
push 0x6c3d0c
push edx
call fcn.006964d6
add esp, 0xc
lea ecx, [esp + 0x408]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4e4b46
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4e4b31
dec eax
mov edi, eax
lea eax, [esp]
push str.TallyShop.php
push eax
call fcn.006964d6
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 0x6c3dd8
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4e4c73
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4e4b9d
xor edi, edi
jmp 0x4e4c6a
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 0x4e4b96
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.004e5944
mov eax, dword [esp + 0x400]
mov edx, dword [esp + 0x43c]
cmp edx, 0x80
jbe 0x4e4c46
shr edx, 7
test edx, edx
je 0x4e4c55
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.00584616
add ebp, 0x80
mov ecx, dword [esp + 0x43c]
shr ecx, 7
inc ebx
cmp ebx, ecx
jb 0x4e4c13
mov ebx, dword [esp + 0x400]
mov ebp, dword [esp + 0x404]
jmp 0x4e4c55
lea ecx, [esp]
mov edx, dword [esp + 0x440]
call fcn.00584616
mov ecx, dword [esp + 0x440]
call fcn.004db418
mov byte [esp + edi], 0
mov edi, 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4c75
xor edi, edi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4c80
xor edi, edi
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4c8b
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.00696350
mov ecx, dword [esp + 0x448]
mov dword [esp + 0x444], 0x6c3da0
xor eax, eax
mov dword [esp + 0x448], eax
push eax
push eax
push eax
push eax
push 0x6c3da4
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
test ebp, ebp
je 0x4e4e80
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 0x4e4e75
mov dword [esp + 0x440], 0
call fcn.006962e6
lea edx, [esp + 0x408]
push eax
push 0x6c3d0c
push edx
call fcn.006964d6
add esp, 0xc
lea ecx, [esp + 0x408]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4e4d3e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4e4d29
dec eax
mov edi, eax
lea eax, [esp]
push str.TallyShop.php
push eax
call fcn.006964d6
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 0x6c3dd8
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4e4e6a
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4e4d95
xor edi, edi
jmp 0x4e4e61
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 0x4e4d8e
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.004e5944
mov eax, dword [esp + 0x400]
mov edx, dword [esp + 0x43c]
cmp edx, 0x80
jbe 0x4e4e3e
shr edx, 7
test edx, edx
je 0x4e4e4c
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.00584616
add ebp, 0x80
mov ecx, dword [esp + 0x43c]
shr ecx, 7
inc ebx
cmp ebx, ecx
jb 0x4e4e0b
mov ebx, dword [esp + 0x400]
mov ebp, dword [esp + 0x404]
jmp 0x4e4e4c
mov ecx, eax
mov edx, dword [esp + 0x440]
call fcn.00584616
mov ecx, dword [esp + 0x440]
call fcn.004db418
mov byte [esp + edi], 0
mov edi, 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4e6c
xor edi, edi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4e77
xor edi, edi
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4e4e82
xor edi, edi
mov eax, edi
add esp, 0x44c
pop ebx
pop ebp
pop esi
pop edi
ret