Function at 0x180d8c84
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x624
mov eax, dword [0x181c600c]
xor eax, esp
mov dword [esp + 0x620], eax
push ebx
mov ebx, ecx
lea ecx, [esp + 4]
push esi
push edi
mov eax, dword [ebx]
add eax, 8
push eax
call fcn.180a53c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebx]
mov dword [ebx + 0x1c], eax
add ecx, 0x38
lea eax, [ebx + 4]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.180d988b
mov eax, dword [eax]
mov dword [eax + 0x28], ebx
cmp byte [ebx + 0x42d], 0
jne 0x180d8d79
push 2
mov ecx, ebx
call fcn.180d8fc5
push 0x3c
pop esi
push esi
xor edi, edi
lea eax, [esp + 0x48]
push edi
push eax
call fcn.1812c700
add esp, 0xc
mov dword [esp + 0x44], esi
mov esi, 0x100
lea eax, [esp + 0x128]
push esi
push edi
push eax
call fcn.1812c700
add esp, 0xc
mov dword [esp + 0x58], esi
lea eax, [esp + 0x128]
mov esi, 0x400
mov dword [esp + 0x54], eax
lea eax, [esp + 0x228]
push esi
push edi
push eax
call fcn.1812c700
lea eax, [esp + 0x234]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], eax
add esp, 0xc
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 0x44]
add eax, 0x34
cmp dword [eax + 0x14], 0x10
jb 0x180d8d61
mov eax, dword [eax]
lea edx, [esp + 0x44]
push edx
push edi
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x180d8db0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x2ef1
push 3
mov ecx, ebx
call fcn.180d8fc5
push esi
mov ecx, ebx
call fcn.180d8ff0
push dword [esp + 0xc]
call fcn.18153ed1
pop ecx
mov ecx, dword [esp + 0x62c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18117a58
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push 3
push edi
push edi
push dword [esp + 0x70]
lea eax, [esp + 0x140]
push eax
mov eax, dword [ebx]
push dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, eax
mov dword [ebx + 0x20], edx
test edx, edx
je 0x180d8d73
mov ecx, dword [ebx + 0x28]
xor eax, eax
cmp dword [esp + 0x50], 4
mov dword [esp + 0x120], 0x181b8d70
setne al
mov dword [esp + 0x124], edi
dec eax
add ecx, 0x1c
and eax, 0x800000
add eax, 0x844c0300
cmp dword [ecx + 0x14], 0x10
jb 0x180d8e0b
mov ecx, dword [ecx]
push ebx
push eax
lea eax, [esp + 0x128]
push eax
push edi
push edi
lea eax, [esp + 0x23c]
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebx + 0x24], eax
test eax, eax
je 0x180d8d73
mov eax, dword [ebx]
cmp byte [eax + 0x40], 0
je 0x180d8e4f
mov ecx, ebx
call fcn.180d8be8
test al, al
jne 0x180d8e4f
mov esi, 0x2f89
jmp 0x180d8d7e
push 0x180d8fa0
push dword [ebx + 0x24]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push 0x98
lea eax, [esp + 0x8c]
push edi
push eax
call fcn.1812c700
pop ecx
pop ecx
lea ecx, [esp + 0x8c]
call fcn.180363ca
mov esi, dword [ebx + 0x28]
mov esi, dword [esi + 0x4c]
mov eax, dword [esi]
mov dword [esp + 0x80], eax
cmp eax, esi
je 0x180d8edd
lea edx, [eax + 0x10]
lea ecx, [esp + 0x88]
lea edi, [edx + 0x18]
call fcn.18037b91
mov edx, 0x1819d354
mov ecx, eax
call fcn.18025ba9
mov edx, edi
mov ecx, eax
call fcn.18037b91
mov edx, 0x18197e38
mov ecx, eax
call fcn.18025ba9
lea ecx, [esp + 0x80]
call fcn.1800f968
mov eax, dword [esp + 0x80]
cmp eax, esi
jne 0x180d8e91
xor edi, edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x8c]
call fcn.180d97d8
lea ecx, [esp + 0x8c]
mov esi, dword [eax + 8]
add esi, dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.18036e34
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
jb 0x180d8f13
mov eax, dword [esp + 0x10]
push 0xa0000000
push esi
push eax
push dword [ebx + 0x24]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.1801476d
test esi, esi
jne 0x180d8f3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 3
jmp 0x180d8f79
push 6
mov ecx, ebx
call fcn.180d8fc5
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 0x6c]
mov eax, dword [eax + 0x70]
sub eax, ecx
push eax
push ecx
push edi
push edi
push dword [ebx + 0x24]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 1
jne 0x180d8f8c
cmp eax, 0x3e5
je 0x180d8f8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
mov ecx, ebx
call fcn.180d8fc5
push 0x2ef1
mov ecx, ebx
call fcn.180d8ff0
lea ecx, [esp + 0x88]
call fcn.18035b8a
jmp 0x180d8d8f