Function at 0x10028844
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c2ae
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.10061440
mov eax, dword [0x100a82b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100aba30], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1024], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x101c], eax
jne 0x1002889d
call fcn.10028215
cmp byte [ebx + 0x24], 0
je 0x100288b5
mov esi, ebx
call fcn.10028c06
push 0xffffffffffffffff
push dword [ebx + 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0x1000
cmp dword [ebx + 0x28], esi
jae 0x100288da
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x100288cd
push eax
call fcn.1005a0d8
pop ecx
push esi
call fcn.1005a7d9
pop ecx
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x28], esi
mov eax, 0x1000ff01
mov ecx, eax
test ecx, ecx
je 0x100288e8
mov dword [ebx + 0xc], eax
and dword [ebx + 0x2c], 0
mov byte [ebx + 0x24], 1
call fcn.1003f1bc
mov esi, eax
mov dword [ebp - 0x1020], esi
test esi, esi
jne 0x1002892d
push str.curl_easy_init_failed._Last_error:
mov esi, dword [ebp - 0x101c]
call fcn.10027362
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x101c]
call fcn.1002749a
mov eax, esi
jmp 0x10028b9f
push 0x10028366
push 0x4e2b
push esi
call fcn.1003f1ee
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.1003f1ee
add esp, 0xc
push 0x100282c5
push 0x4e58
push esi
call fcn.1003f1ee
add esp, 0xc
push ebx
push 0x2749
push esi
call fcn.1003f1ee
add esp, 0xc
push 0
push 0x2b
push esi
call fcn.1003f1ee
add esp, 0xc
push ebx
push 0x272d
push esi
call fcn.1003f1ee
add esp, 0xc
push 0x100283f6
push 0x4e6f
push esi
call fcn.1003f1ee
add esp, 0xc
push 1
push 0x34
push esi
call fcn.1003f1ee
add esp, 0xc
push edi
mov ecx, 0x100aba78
call fcn.10029084
test eax, eax
je 0x100289cb
push eax
push 0x2714
push esi
call fcn.1003f1ee
add esp, 0xc
push 0x1e
push 0x4e
push esi
call fcn.1003f1ee
mov esi, dword [ebp - 0x1018]
add esp, 0xc
push 0x800
push dword [ebp - 0x1024]
xor eax, eax
lea edi, [ebp - 0x1014]
mov word [ebp - 0x1014], ax
call fcn.100287b1
pop ecx
pop ecx
test eax, eax
je 0x10028a1b
mov esi, dword [ebp - 0x101c]
push str.Curl_BuildFilePath_failed._Last_error:
call fcn.10027362
push 0xfffffffffffffffe
pop esi
jmp 0x10028914
push 0x80
push 0x10
push 0x8102
lea eax, [ebp - 0x1014]
push eax
lea esi, [ebx + 0xa4]
push esi
call fcn.10062676
xor edi, edi
add esp, 0x14
cmp eax, edi
je 0x10028a4d
push str.Curl__wsopen_s_failed._Last_error:
jmp 0x10028906
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xa0], eax
cmp eax, edi
je 0x10028a6b
push eax
push 0x15
push dword [ebp - 0x1020]
call fcn.1003f1ee
add esp, 0xc
push edi
push dword [ebp + 0x10]
push dword [esi]
call fcn.1006270b
add esp, 0xc
push dword [ebp - 0x1018]
push 0x2712
push dword [ebp - 0x1020]
call fcn.1003f1ee
mov eax, dword [ebp - 0x1020]
add esp, 0xc
mov dword [ebx + 0x74], eax
lea eax, [ebx + 0x5c]
push eax
push 4
push ebx
push 0x10028483
push edi
push edi
mov byte [ebx + 0xa8], 1
mov dword [ebx + 0x20], 0xa
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
call fcn.1005b758
add esp, 0x18
push eax
mov dword [ebx + 0x58], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebx + 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebx + 0x58]
mov byte [ebx + 0x24], 0
mov byte [ebx + 0xa8], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi]
call fcn.10062883
mov edi, dword [ebx + 0x70]
neg edi
sbb edi, edi
pop ecx
jne 0x10028b90
mov eax, dword [ebx + 0x78]
cmp eax, 0xc8
jl 0x10028b14
cmp eax, 0x190
jl 0x10028b90
mov esi, dword [ebp - 0x101c]
push 0x10097162
call fcn.10027362
push 0x1000
or edi, 0xffffffff
call fcn.10059bd9
mov dword [ebp - 0x1018], eax
pop ecx
lea eax, [ebp - 0x1018]
push eax
mov eax, ebx
call fcn.10028723
test al, al
je 0x10028b5f
push dword [ebp - 0x1018]
call fcn.10027443
push 0x100996d8
call fcn.10027443
lea ecx, [ebp - 0x1028]
mov eax, ebx
call fcn.10028468
and dword [ebp - 4], 0
push dword [eax]
call fcn.10027443
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1028], 0
je 0x10028b90
push dword [ebp - 0x1028]
call fcn.1005a1d0
pop ecx
push dword [ebx + 0x74]
call fcn.1003f2a3
and dword [ebx + 0x74], 0
pop ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10059ccb
leave
ret 0xc