Function at 0x11035e0
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 0x11035fc
xor eax, eax
jmp 0x11038d6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push 0x1028a84
push dword [ebp + 8]
call esi
push 0x1028a70
push dword [ebp + 8]
mov edi, eax
call esi
push 0x1028a5c
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call esi
push 0x1028a4c
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call esi
push 0x1028a34
push dword [ebp + 8]
mov dword [ebp - 8], eax
call esi
push 0x1028770
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
call esi
cmp edi, ebx
mov dword [ebp - 0x20], eax
je 0x11038d2
cmp dword [ebp - 0xc], ebx
je 0x11038d2
cmp dword [ebp - 0x10], ebx
je 0x11038d2
cmp dword [ebp - 8], ebx
je 0x11038d2
cmp dword [ebp - 0x18], ebx
je 0x11038d2
cmp eax, ebx
je 0x11038d2
push 0x340
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x11038d2
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0xc]
call edi
cmp eax, ebx
mov dword [esi + 0x10c], eax
je 0x11038b9
mov ecx, dword [ebp + 0x14]
neg ecx
sbb ecx, ecx
push ebx
and ecx, 0x80000000
or ecx, 0x10
push ecx
push 0xffffffffffffffff
push 0x1028a24
push dword [ebp + 0x10]
push eax
call dword [ebp - 0xc]
cmp eax, ebx
mov dword [esi + 0x110], eax
jne 0x11036ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x11038bf
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 0x1103819
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 0x110374f
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 0x1103775
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 0x1103833
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 0x11038c3
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 0x110384d
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
jbe 0x1103815
mov eax, dword [esi + 0x338]
cmp eax, ebx
jbe 0x110380b
mov dword [esi + 0x11c], ebx
add eax, ecx
mov dword [esi + 0x338], eax
cmp ecx, ebx
jne 0x11037d6
jmp 0x110385c
cmp dword [edi], 0xc8
je 0x1103720
mov eax, dword [ebp + 0x18]
mov dword [eax], 0x2ee3
jmp 0x11038c3
mov eax, 0xfa0
cmp dword [edi], eax
jbe 0x11037ac
mov dword [edi], eax
mov dword [esi + 0x11c], ebx
jmp 0x11037b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x11038c3
cmp dword [esi + 0x11c], ebx
je 0x1103877
mov eax, dword [esi + 0x338]
cmp eax, ebx
jbe 0x1103877
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 0x1103899
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 0x11038b9
cmp dword [ebp - 0x1c], ebx
jne 0x11038db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x11038db
push esi
push dword [ebp + 8]
call fcn.01100fad
push esi
call fcn.01101019
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.01100f43
test eax, eax
je 0x11038ff
mov dword [esi + 0x120], 1
mov eax, esi
jmp 0x11038d4