Function at 0x4015e0
Capabilities:
Create http request

Disassembly:
mov eax, 0x1118
call fcn.0040dd50
mov eax, dword [0x4173f4]
xor eax, esp
mov dword [esp + 0x1114], eax
cmp dword [0x418f28], 0
mov eax, dword [esp + 0x111c]
push esi
push edi
mov edi, dword [esp + 0x1128]
mov esi, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
je 0x401625
mov dword [esp + 0x14], 0
jmp 0x401650
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [0x418f28], eax
test eax, eax
jne 0x40161b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4019b4
push ebp
push 0x41000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x401675
lea ebp, [eax + 8]
jmp 0x40199d
add eax, 0x1020
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
call fcn.00403330
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
jne 0x40169d
lea ebp, [eax + 0xd]
jmp 0x40197c
cmp dword [esi], 0
push ebx
jne 0x4016e4
mov edx, dword [esi + 0x1c]
mov ebx, 0x415938
sub ebx, 4
add esi, 8
push ebx
call edx
mov ebp, dword [esi + 8]
mov ecx, eax
xor edx, edx
div dword [ebp*4 + 0x418420]
mov eax, dword [esi + 4]
push ecx
push ebx
push esi
lea eax, [eax + edx*8]
mov ebx, eax
call fcn.00401ca0
add esp, 0x10
test eax, eax
je 0x4016e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4016ee
mov esi, dword [esp + 0x14]
mov ebp, 0xd
jmp 0x40197b
cmp dword [eax], 2
jne 0x40196c
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x40196c
push 0x1000
lea ecx, [esp + 0x128]
push ecx
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x401737
push ebx
lea edx, [esp + 0x128]
push 0x41593c
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
jne 0x401853
mov ecx, dword [esi + 0x14]
mov ebx, str.verb
sub ebx, 4
push ebx
call ecx
mov ebp, dword [esi + 8]
mov ecx, eax
xor edx, edx
div dword [ebp*4 + 0x418420]
mov eax, dword [esi + 4]
push ecx
push ebx
push esi
lea eax, [eax + edx*8]
mov ebx, eax
call fcn.00401ca0
add esp, 0x10
test eax, eax
je 0x4017c8
mov eax, dword [eax + 4]
test eax, eax
je 0x4017c8
cmp dword [eax], 2
jne 0x4017c8
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x4017c8
mov ebp, dword [esp + 0x10]
mov edx, 0x20
mov eax, ebp
sub ebx, ebp
jmp 0x4017a0
lea ecx, [edx + 0x7fffffde]
test ecx, ecx
je 0x4017be
mov cl, byte [ebx + eax]
test cl, cl
je 0x4017be
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4017a0
dec eax
mov byte [eax], dl
jmp 0x4017cc
test edx, edx
jne 0x4017c3
dec eax
mov byte [eax], 0
jmp 0x4017cc
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp dword [edx], 0
jne 0x401857
mov eax, dword [esi + 0x14]
mov ebx, str.payload
sub ebx, 4
push ebx
call eax
mov ebp, dword [esi + 8]
mov ecx, eax
xor edx, edx
div dword [ebp*4 + 0x418420]
mov eax, dword [esi + 4]
push ecx
push ebx
push esi
lea eax, [eax + edx*8]
mov ebx, eax
call fcn.00401ca0
add esp, 0x10
test eax, eax
je 0x401853
mov eax, dword [eax + 4]
test eax, eax
je 0x401853
cmp dword [eax], 2
jne 0x401853
mov edx, dword [eax + 8]
test edx, edx
je 0x401853
mov eax, dword [esp + 0x10]
add eax, 0x20
mov esi, 0x1000
sub edx, eax
lea ecx, [ecx]
lea ecx, [esi + 0x7fffeffe]
test ecx, ecx
je 0x40184b
mov cl, byte [edx + eax]
test cl, cl
je 0x40184b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x401830
jmp 0x40184f
test esi, esi
jne 0x401850
dec eax
mov byte [eax], 0
mov ebp, dword [esp + 0x10]
push str.post
push ebp
call fcn.0041181a
add esp, 8
test eax, eax
jne 0x401929
lea eax, [ebp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401873
mov esi, dword [esp + 0x24]
sub eax, edx
push esi
push eax
lea eax, [ebp + 0x20]
push eax
lea edx, [esp + 0x130]
push edx
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.00403f20
add esp, 0x10
mov ebp, eax
test edi, edi
je 0x401977
mov eax, dword [edi]
test eax, eax
jbe 0x401977
cmp eax, 0x10
jb 0x4018ba
mov eax, 0x10
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
cmp eax, 1
jne 0x401977
mov ecx, dword [edi]
test ecx, ecx
je 0x4018ea
cmp ecx, 0x7fffffff
ja 0x4018ea
mov ebx, dword [esp + 0x18]
mov eax, esi
mov edx, ebx
call fcn.00401590
jmp 0x4018ee
mov ebx, dword [esp + 0x18]
mov eax, dword [edi]
push eax
push 0
push esi
call fcn.00409850
mov ecx, dword [edi]
add esp, 0xc
push 0
push 0
push ecx
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x401977
mov ecx, dword [edi]
push ebx
push 0x41595c
mov edi, esi
call fcn.00401530
add esp, 8
jmp 0x401977
push 0x415960
push ebp
call fcn.0041181a
add esp, 8
test eax, eax
jne 0x401973
lea eax, [ebp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401941
mov esi, dword [esp + 0x24]
sub eax, edx
push esi
push eax
lea eax, [ebp + 0x20]
push eax
lea edx, [esp + 0x130]
push edx
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.00403de0
jmp 0x401899
mov ebp, 0xd
jmp 0x401977
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
pop ebx
test esi, esi
je 0x401999
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x401999
add eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x401999
push esi
call fcn.00403a20
add esp, 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4019b1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x111c]
pop edi
pop esi
xor ecx, esp
call fcn.00404057
add esp, 0x1118
ret