Function at 0x180b8603
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 [0x1822b00c]
xor eax, esp
mov dword [esp + 0x620], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x18], ebx
mov edi, dword [ebx]
add edi, 8
push edi
call fcn.1819a775
pop ecx
push eax
call fcn.1809aa0f
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebx]
mov dword [ebx + 0x1c], eax
add ecx, 0x38
lea eax, [ebx + 4]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.180b9138
mov eax, dword [eax]
mov dword [eax + 0x28], ebx
cmp byte [ebx + 0x42d], 0
mov ecx, dword [ebx + 0x1c]
je 0x180b8672
test ecx, ecx
je 0x180b8799
push 0
jmp 0x180b878f
test ecx, ecx
je 0x180b8682
mov eax, dword [ecx]
push 0
push dword [ebx + 0x24]
push 2
call dword [eax + 8]
push 0x3c
pop esi
push esi
lea eax, [esp + 0x28]
push 0
push eax
call fcn.181757a0
add esp, 0xc
mov dword [esp + 0x24], esi
mov esi, 0x100
lea eax, [esp + 0x128]
push esi
push 0
push eax
call fcn.181757a0
add esp, 0xc
mov dword [esp + 0x38], esi
lea eax, [esp + 0x128]
mov esi, 0x400
mov dword [esp + 0x34], eax
lea eax, [esp + 0x228]
push esi
push 0
push eax
call fcn.181757a0
lea eax, [esp + 0x234]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], eax
add esp, 0xc
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 0x44]
add eax, 0x34
cmp dword [eax + 0x14], 0x10
jb 0x180b86f8
mov eax, dword [eax]
lea edx, [esp + 0x24]
xor esi, esi
push edx
push esi
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x180b8781
push ebx
push esi
push 3
push esi
push esi
push dword [esp + 0x50]
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 0x180b8781
mov ecx, dword [ebx + 0x28]
xor eax, eax
cmp dword [esp + 0x30], 4
mov dword [esp + 0x1c], 0x18213a94
setne al
mov dword [esp + 0x20], esi
dec eax
add ecx, 0x1c
and eax, 0x800000
add eax, 0x844c0300
cmp dword [ecx + 0x14], 0x10
jb 0x180b8761
mov ecx, dword [ecx]
push ebx
push eax
lea eax, [esp + 0x24]
push eax
push esi
push esi
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
jne 0x180b87a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x180b8799
push esi
push dword [ebx + 0x24]
mov eax, dword [ecx]
push 3
call dword [eax + 8]
mov eax, 0x2ef1
jmp 0x180b87ca
mov eax, dword [ebx]
cmp byte [eax + 0x40], 0
je 0x180b87d7
mov ecx, ebx
call fcn.180b857e
test al, al
jne 0x180b87d7
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x180b87c5
mov eax, dword [ecx]
push esi
push dword [ebx + 0x24]
push 3
call dword [eax + 8]
mov eax, 0x2f89
push eax
mov ecx, ebx
call fcn.180b8970
jmp 0x180b8926
push 0x180b894b
push dword [ebx + 0x24]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push ecx
lea ecx, [esp + 0x7c]
call fcn.180b4cad
mov esi, dword [ebx + 0x28]
mov esi, dword [esi + 0x4c]
mov eax, dword [esi]
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x180b8844
lea edx, [eax + 0x10]
lea ecx, [esp + 0x78]
lea ebx, [edx + 0x18]
call fcn.18025577
mov edx, 0x181f8d58
mov ecx, eax
call fcn.18020d4f
mov edx, ebx
mov ecx, eax
call fcn.18025577
mov edx, 0x181f4230
mov ecx, eax
call fcn.18020d4f
lea ecx, [esp + 0x10]
call fcn.1800e8a6
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x180b87ff
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x7c]
call fcn.180b90d4
lea ecx, [esp + 0x7c]
mov esi, dword [eax + 8]
add esi, dword [eax]
lea eax, [esp + 0x110]
push eax
call fcn.180ad9dc
cmp dword [esp + 0x124], 0x10
lea eax, [esp + 0x110]
jb 0x180b8880
mov eax, dword [esp + 0x110]
push 0xa0000000
push esi
push eax
push dword [ebx + 0x24]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
lea ecx, [esp + 0x110]
mov esi, eax
call fcn.18012edc
test esi, esi
jne 0x180b88b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x180b8911
push esi
push dword [ebx + 0x24]
push 3
jmp 0x180b890c
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x180b88ca
mov eax, dword [ecx]
push 0
push dword [ebx + 0x24]
push 6
call dword [eax + 8]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 0x6c]
mov eax, dword [eax + 0x70]
sub eax, ecx
push eax
push ecx
push 0
push 0
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 0x180b891d
cmp eax, 0x3e5
je 0x180b891d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x180b8911
push 0
push dword [ebx + 0x24]
push 5
mov eax, dword [ecx]
call dword [eax + 8]
push 0x2ef1
mov ecx, ebx
call fcn.180b8970
lea ecx, [esp + 0x78]
call fcn.180b4c26
push edi
call fcn.1819a7d0
pop ecx
push eax
call fcn.1809aa0f
pop ecx
mov ecx, dword [esp + 0x62c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.181605f4
mov esp, ebp
pop ebp
ret 4