Function at 0x1001e57d
Capabilities:
Connect to http server

Disassembly:
push 0x1c
mov eax, 0x100a160a
call fcn.1009de3f
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
xor ebx, ebx
mov ecx, edi
push eax
cmp byte [edi + 0x20], bl
jne 0x1001e5bf
call fcn.10042763
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
call fcn.1001eaae
lea ecx, [ebp - 0x24]
mov esi, eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
mov eax, esi
jmp 0x1001e822
call fcn.1000276b
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
lea ecx, [esi + 0x10]
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_3355]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
call esi
mov ecx, dword [0x100f5db8]
call fcn.1006fb0c
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1001e5ff
call fcn.1001ea76
jmp 0x1001e822
push edi
lea ecx, [ebp - 0x20]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4871]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5888]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call esi
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_2954]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call esi
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov byte [ebp - 4], 6
inc edx
mov eax, dword [edi + 0x1c]
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_2017]
shr eax, 2
and eax, edx
mov dword [ecx + 4], eax
je 0x1001e6f1
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1001e6f1
add eax, 4
lea ecx, [ebp - 0x24]
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_4871]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5888]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_985]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 0x20]
add eax, 8
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_4871]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5888]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.fpsrvutl.dll_Ordinal_985]
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1001e6fc
lock inc dword [esi + 0x2c]
mov eax, dword [ecx + 4]
test eax, eax
push 3
pop ecx
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
je 0x1001e71d
mov eax, dword [edi + 0x1c]
and eax, 0x14
mov dword [ebp - 0x24], 0x8000000
cmp al, 0x14
je 0x1001e720
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4936]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call dword [sym.imp.fpsrvutl.dll_Ordinal_3213]
lea ecx, [ebp - 0x14]
push ecx
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.fpsrvutl.dll_Ordinal_1162]
test al, al
je 0x1001e774
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5888]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.fpsrvutl.dll_Ordinal_985]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call dword [sym.imp.fpsrvutl.dll_Ordinal_2017]
movzx eax, word [edi + 0xc]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
push dword [ebp + 8]
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, dword [ebp - 0x10]
mov dword [ebp + 0xc], ebx
mov dword [edi + 0xc], eax
test eax, eax
jne 0x1001e7b2
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, eax
mov dword [ebp + 0xc], ecx
cmp ecx, 0x3e5
je 0x1001e7ca
or eax, 0xffffffff
test esi, esi
je 0x1001e7cd
mov ecx, eax
lock xadd dword [esi + 0x2c], ecx
jne 0x1001e7cd
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
or eax, 0xffffffff
cmp dword [edi + 0xc], ebx
je 0x1001e7ef
test esi, esi
je 0x1001e7e6
lock xadd dword [esi + 0x2c], eax
dec eax
jne 0x1001e7e6
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov dword [edi + 8], 1
jmp 0x1001e802
mov eax, dword [ebp + 0xc]
cmp eax, 0x3e5
je 0x1001e802
mov ecx, eax
call fcn.1002ec4f
mov ebx, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_2017]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp + 8]
call esi
mov eax, ebx
call fcn.1009de13
ret 8