Function at 0x4a5fd5
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x20
mov eax, 0x5d430a
call fcn.00506e32
mov ebx, ecx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 1
cmp dword [eax - 0xc], 0x20
jg 0x4a602f
push edi
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x2c], esi
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x24]
pop ecx
push eax
call fcn.00477bf0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00411f3a
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov byte [ebp - 4], 3
call fcn.0041279d
push eax
lea ecx, [ebp - 0x18]
call fcn.00411d94
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push str.https:__my.ruanmei.com_validateLogin.aspx_u_sp_sr_dn1d1c6
push eax
call fcn.00412690
add esp, 0x14
mov byte [ebp - 4], 5
cmp dword [ebp + 0x10], 0
mov esi, edi
mov dword [ebp - 0x1c], edi
push edi
push edi
push edi
je 0x4a607b
push edi
jmp 0x4a607d
push 1
push edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x4a613a
push 4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
push ecx
push 2
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push edi
push 0x102
push edi
push edi
push dword [ebp - 0x18]
push dword [ebp + 0x10]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4a6131
push 0x100000
call fcn.00506f2d
pop ecx
push 0x100000
mov esi, eax
push edi
push esi
mov dword [ebp - 0x20], esi
call fcn.0056b050
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x100000
push esi
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
inc eax
push eax
mov dword [ebp - 0x2c], eax
call fcn.00506f2d
pop ecx
push dword [ebp - 0x2c]
mov esi, eax
push edi
push esi
call fcn.0056b050
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push esi
call fcn.0056a550
mov eax, dword [ebp - 0x20]
add esp, 0x18
test eax, eax
je 0x4a6128
push eax
call fcn.00506f36
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp + 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 4], 4
test esi, esi
je 0x4a628e
mov eax, dword [ebp - 0x14]
cmp eax, 2
jl 0x4a62ab
cmp byte [esi], 0x6f
jne 0x4a62ab
cmp byte [esi + 1], 0x6b
jne 0x4a62ab
add eax, 0xfffffffe
push eax
call fcn.00506f2d
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffffe
mov dword [ebp + 0x10], eax
push ecx
push edi
push eax
call fcn.0056b050
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffe
push eax
lea eax, [esi + 3]
push eax
push dword [ebp + 0x10]
call fcn.0059b6d0
push edi
push dword [ebp + 0x10]
call fcn.004a6a45
mov ecx, eax
add esp, 0x20
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x4a61b8
push eax
call fcn.00506f36
pop ecx
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4a61c3
push ecx
call fcn.00506f36
pop ecx
mov eax, dword [ebp + 0xc]
mov ecx, 0x6833d0
mov dword [ebp + 0x10], eax
call fcn.00493154
push dword [ebp + 0x10]
add eax, 0x408
push 0x100
push eax
call fcn.0059c31f
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, 0x6833d0
mov dword [ebp + 0x10], eax
call fcn.00493154
push dword [ebp + 0x10]
add eax, 8
push 0x100
push eax
call fcn.0059c31f
add esp, 0xc
cmp dword [ebx + 0x20], edi
jne 0x4a6227
push dword [ebx + 0x1c]
push dword [ebx + 0x28]
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x20], 0
je 0x4a6272
cmp dword [ebx + 0x24], edi
jne 0x4a624a
push edi
push edi
push edi
push 0xf001f
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 0x24], eax
cmp eax, edi
je 0x4a6272
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x4a6261
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00412624
mov eax, dword [ebp + 8]
push eax
push 0x400
push dword [ebx + 0x24]
call fcn.0059c31f
add esp, 0xc
mov ecx, dword [ebp + 0x14]
push 0x624034
call fcn.0041421f
jmp 0x4a62b7
mov ecx, dword [ebp + 0x14]
push 2
pop edi
push 0x62403c
call fcn.0041421f
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
jmp 0x4a62dd
mov ecx, dword [ebp + 0x14]
xor edi, edi
push esi
inc edi
call fcn.00411f8a
push esi
call fcn.00506f36
pop ecx
jmp 0x4a629e
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00412ac4
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, edi
call fcn.00506d90
ret 0x10