Function at 0x1001e9f0
Capabilities:
Connect to http server

Disassembly:
push 0x18
mov eax, 0x100a0a98
call fcn.1009cbf0
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
cmp byte [edi + 0x20], 0
jne 0x1001ea2f
call fcn.1000e791
and dword [ebp - 4], 0
mov ecx, dword [eax]
call fcn.1001ef7b
lea ecx, [ebp - 0x20]
mov esi, eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
mov eax, esi
jmp 0x1001ec75
call fcn.10002754
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
lea ecx, [ebx + 0x10]
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_3355]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
call esi
mov ecx, dword [0x100f55b0]
call fcn.1000e791
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x1001ea6f
call fcn.1001ef2d
jmp 0x1001ec75
push edi
lea ecx, [ebp - 0x1c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4871]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5888]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call esi
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_2954]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call esi
mov byte [ebp - 4], 6
xor edx, edx
mov eax, dword [edi + 0x1c]
inc edx
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_2017]
shr eax, 2
and eax, edx
mov dword [ebx + 4], eax
je 0x1001eb5b
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1001eb5b
add eax, 4
lea ecx, [ebp - 0x20]
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_4871]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5888]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.fpsrvutl.dll_Ordinal_985]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 0x1c]
add eax, 8
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_4871]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5888]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.fpsrvutl.dll_Ordinal_985]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
xor edx, edx
inc edx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1001eb66
lock inc dword [esi + 0x2c]
mov eax, dword [ebx + 4]
test eax, eax
push 3
pop ecx
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
je 0x1001eb89
mov eax, dword [edi + 0x1c]
and eax, 0x14
cmp al, 0x14
jne 0x1001eb89
mov dword [ebp - 0x20], 0x8000000
jmp 0x1001eb8d
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0x10]
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 - 0x10]
push ecx
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.fpsrvutl.dll_Ordinal_1162]
test al, al
je 0x1001ebe1
lea eax, [ebp - 0x10]
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 - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push dword [ebp + 8]
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetConnectW]
xor edi, edi
mov dword [ebx + 0xc], eax
mov dword [ebp + 0xc], edi
test eax, eax
jne 0x1001ec1e
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, eax
mov dword [ebp + 0xc], ecx
cmp ecx, 0x3e5
je 0x1001ec29
test esi, esi
je 0x1001ec29
mov ecx, esi
call fcn.1001e9db
cmp dword [ebx + 0xc], edi
je 0x1001ec42
test esi, esi
je 0x1001ec39
mov ecx, esi
call fcn.1001e9db
mov dword [ebx + 8], 1
jmp 0x1001ec55
mov eax, dword [ebp + 0xc]
cmp eax, 0x3e5
je 0x1001ec55
mov ecx, eax
call fcn.1002f915
mov edi, eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
mov ebx, dword [sym.imp.fpsrvutl.dll_Ordinal_2017]
lea ecx, [ebp - 0x14]
call ebx
lea ecx, [ebp - 0x18]
call ebx
lea ecx, [ebp + 8]
call ebx
mov eax, edi
call fcn.1009cbc1
ret 8