Function at 0x1103689
Capabilities:
Check http status code
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x18]
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [eax], ebx
jne 0x11036a5
xor eax, eax
jmp 0x110397f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push 0x1028aa4
push dword [ebp + 8]
call esi
push 0x1028a90
push dword [ebp + 8]
mov edi, eax
call esi
push 0x1028a7c
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call esi
push 0x1028a6c
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call esi
push 0x1028a54
push dword [ebp + 8]
mov dword [ebp - 8], eax
call esi
push 0x1028790
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
call esi
cmp edi, ebx
mov dword [ebp - 0x20], eax
je 0x110397b
cmp dword [ebp - 0xc], ebx
je 0x110397b
cmp dword [ebp - 0x10], ebx
je 0x110397b
cmp dword [ebp - 8], ebx
je 0x110397b
cmp dword [ebp - 0x18], ebx
je 0x110397b
cmp eax, ebx
je 0x110397b
push 0x340
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x110397b
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0xc]
call edi
cmp eax, ebx
mov dword [esi + 0x10c], eax
je 0x1103962
mov ecx, dword [ebp + 0x14]
neg ecx
sbb ecx, ecx
push ebx
and ecx, 0x80000000
or ecx, 0x10
push ecx
push 0xffffffffffffffff
push 0x1028a44
push dword [ebp + 0x10]
push eax
call dword [ebp - 0xc]
cmp eax, ebx
mov dword [esi + 0x110], eax
jne 0x1103797
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x1103968
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
lea edi, [esi + 0x33c]
push edi
push 0x20000013
push eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 4], 4
mov dword [edi], ebx
call dword [ebp - 8]
test eax, eax
jne 0x11038c2
mov dword [edi], 0xc8
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
lea eax, [esi + 0x12c]
push eax
push 1
push dword [esi + 0x110]
mov edi, 0x104
mov dword [ebp + 0xc], ebx
mov dword [ebp - 4], edi
call dword [ebp - 8]
test eax, eax
jne 0x11037f8
mov byte [esi + 0x12c], bl
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], edi
lea edi, [esi + 0x231]
push edi
push 0x33
push dword [esi + 0x110]
mov dword [ebp + 0xc], ebx
call dword [ebp - 8]
test eax, eax
jne 0x110381e
mov byte [edi], bl
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea edi, [esi + 0x128]
push edi
push 0x20000005
push dword [esi + 0x110]
mov dword [ebp + 0xc], ebx
mov dword [ebp - 4], 4
mov dword [edi], ebx
call dword [ebp - 8]
test eax, eax
jne 0x11038dc
mov dword [edi], 0xfa0
mov dword [esi + 0x11c], 1
mov eax, dword [edi]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [esi + 0x124], eax
je 0x110396c
mov dword [esi + 0x338], ebx
mov ecx, dword [edi]
mov eax, dword [esi + 0x124]
lea edx, [ebp - 0x14]
push edx
push ecx
push eax
push dword [esi + 0x110]
mov dword [ebp - 0x14], ebx
call dword [ebp - 0x10]
test eax, eax
je 0x11038f6
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
jbe 0x11038be
mov eax, dword [esi + 0x338]
cmp eax, ebx
jbe 0x11038b4
mov dword [esi + 0x11c], ebx
add eax, ecx
mov dword [esi + 0x338], eax
cmp ecx, ebx
jne 0x110387f
jmp 0x1103905
cmp dword [edi], 0xc8
je 0x11037c9
mov eax, dword [ebp + 0x18]
mov dword [eax], 0x2ee3
jmp 0x110396c
mov eax, 0xfa0
cmp dword [edi], eax
jbe 0x1103855
mov dword [edi], eax
mov dword [esi + 0x11c], ebx
jmp 0x110385f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x110396c
cmp dword [esi + 0x11c], ebx
je 0x1103920
mov eax, dword [esi + 0x338]
cmp eax, ebx
jbe 0x1103920
mov ecx, dword [esi + 0x124]
mov byte [eax + ecx], bl
lea eax, [esi + 0x114]
push eax
push dword [esi + 0x110]
lea edi, [esi + 0x118]
mov dword [edi], 1
call dword [ebp - 0x18]
test eax, eax
jne 0x1103942
mov dword [edi], ebx
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x21
push dword [esi + 0x110]
mov dword [ebp - 0x1c], 0x104
call dword [ebp - 0x20]
test eax, eax
je 0x1103962
cmp dword [ebp - 0x1c], ebx
jne 0x1103984
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x1103984
push esi
push dword [ebp + 8]
call fcn.01101056
push esi
call fcn.011010c2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
lea eax, [esi + 0x12c]
push eax
lea eax, [esi + 0x231]
push eax
push dword [ebp + 0x10]
call fcn.01100fec
test eax, eax
je 0x11039a8
mov dword [esi + 0x120], 1
mov eax, esi
jmp 0x110397d