Function at 0x1002f3ec
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100812df
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.10067670
mov eax, dword [0x100b02c0]
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 [0x100b4082], 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 0x1002f445
call fcn.1002ed82
cmp byte [ebx + 0x24], 0
je 0x1002f45d
mov esi, ebx
call fcn.1002f7aa
push 0xffffffffffffffff
push dword [ebx + 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0x1000
cmp dword [ebx + 0x28], esi
jae 0x1002f482
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x1002f475
push eax
call fcn.1006004e
pop ecx
push esi
call fcn.1006074f
pop ecx
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x28], esi
mov eax, 0x10012551
mov ecx, eax
test ecx, ecx
je 0x1002f490
mov dword [ebx + 0xc], eax
and dword [ebx + 0x2c], 0
mov byte [ebx + 0x24], 1
call fcn.10045100
mov esi, eax
mov dword [ebp - 0x1020], esi
test esi, esi
jne 0x1002f4d5
push str.curl_easy_init_failed._Last_error:
mov esi, dword [ebp - 0x101c]
call fcn.1002d486
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x101c]
call fcn.1002d548
mov eax, esi
jmp 0x1002f743
push 0x1002eed3
push 0x4e2b
push esi
call fcn.10045132
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.10045132
add esp, 0xc
push 0x1002ee32
push 0x4e58
push esi
call fcn.10045132
add esp, 0xc
push ebx
push 0x2749
push esi
call fcn.10045132
add esp, 0xc
push 0
push 0x2b
push esi
call fcn.10045132
add esp, 0xc
push ebx
push 0x272d
push esi
call fcn.10045132
add esp, 0xc
push 0x1002ef63
push 0x4e6f
push esi
call fcn.10045132
add esp, 0xc
push 1
push 0x34
push esi
call fcn.10045132
add esp, 0xc
push edi
mov ecx, 0x100b41b8
call fcn.1002fc28
test eax, eax
je 0x1002f573
push eax
push 0x2714
push esi
call fcn.10045132
add esp, 0xc
push 0x1e
push 0x4e
push esi
call fcn.10045132
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.1002f359
pop ecx
pop ecx
test eax, eax
je 0x1002f5c3
mov esi, dword [ebp - 0x101c]
push str.Curl_BuildFilePath_failed._Last_error:
call fcn.1002d486
push 0xfffffffffffffffe
pop esi
jmp 0x1002f4bc
push 0x80
push 0x10
push 0x8102
lea eax, [ebp - 0x1014]
push eax
lea esi, [ebx + 0xa4]
push esi
call fcn.10068ae3
xor edi, edi
add esp, 0x14
cmp eax, edi
je 0x1002f5f5
push str.Curl__wsopen_s_failed._Last_error:
jmp 0x1002f4ae
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xa0], eax
cmp eax, edi
je 0x1002f613
push eax
push 0x15
push dword [ebp - 0x1020]
call fcn.10045132
add esp, 0xc
push edi
push dword [ebp + 0x10]
push dword [esi]
call fcn.10068b78
add esp, 0xc
push dword [ebp - 0x1018]
push 0x2712
push dword [ebp - 0x1020]
call fcn.10045132
mov eax, dword [ebp - 0x1020]
add esp, 0xc
mov dword [ebx + 0x74], eax
lea eax, [ebx + 0x5c]
push eax
push 4
push ebx
push 0x1002eff0
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.10061b68
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.10068cf0
mov edi, dword [ebx + 0x70]
neg edi
sbb edi, edi
pop ecx
jne 0x1002f734
mov eax, dword [ebx + 0x78]
cmp eax, 0xc8
jl 0x1002f6bc
cmp eax, 0x190
jl 0x1002f734
mov esi, dword [ebp - 0x101c]
push 0x1009de6a
call fcn.1002d486
push 0x1000
or edi, 0xffffffff
call fcn.1005fb39
mov dword [ebp - 0x1018], eax
pop ecx
lea eax, [ebp - 0x1018]
push eax
mov eax, ebx
call fcn.1002f2cb
test al, al
je 0x1002f707
push dword [ebp - 0x1018]
call fcn.1002d4f1
push 0x100a0640
call fcn.1002d4f1
lea ecx, [ebp - 0x1028]
mov eax, ebx
call fcn.1002efd5
and dword [ebp - 4], 0
push dword [eax]
call fcn.1002d4f1
cmp dword [ebp - 0x1028], 0
je 0x1002f734
push dword [ebp - 0x1028]
call fcn.10060146
pop ecx
push dword [ebx + 0x74]
call fcn.100451e7
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.1005fc2b
leave
ret 0xc