Function at 0x10009fa0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x72c
push ebx
push esi
xor ebx, ebx
push edi
push 0x114010c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.10011093
mov esi, eax
pop ecx
mov dword [esp + 0x24], esi
cmp esi, ebx
jne 0x10009fda
or eax, 0xffffffff
jmp 0x1000a331
cmp dword [0x1002cf44], 6
jb 0x1000a009
cmp dword [0x1002e370], 3
jne 0x1000a04a
mov edi, 0x354b
call fcn.10013190
push 0x1002e998
push dword [0x1002eba4]
push eax
push 0x208
jmp 0x1000a02d
call fcn.10017383
test eax, eax
je 0x1000a04a
mov edi, 0x8f6
call fcn.10013190
push dword [0x1002eba4]
push 0x1002e998
push eax
push 0x104
mov dword [esp + 0x20], eax
lea eax, [esp + 0x338]
push eax
call fcn.1001120a
add esp, 0x14
lea eax, [esp + 0x10]
call fcn.100132d0
cmp word [esp + 0x328], bx
je 0x1000a081
xor edi, edi
inc edi
push edi
push ebx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x334]
push eax
call fcn.10015e46
add esp, 0x10
test eax, eax
je 0x1000a081
push 0x1388
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x14], ebx
jbe 0x1000a0d8
and dword [esp + 0x10], ebx
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x10]
lea eax, [eax + ebx*2]
mov cx, word [eax]
add edi, esi
mov word [edi + 0x114], cx
movzx eax, word [eax]
push eax
call fcn.10012340
pop ecx
mov dword [edi + 0x10c], eax
test eax, eax
js 0x1000a0b6
inc dword [esi]
or dword [edi + 0x110], 0xffffffff
and dword [edi + 0x118], 0
inc dword [esi + 0x108]
add dword [esp + 0x10], 0x114
inc ebx
cmp ebx, dword [ebp + 0x14]
jb 0x1000a08a
push 0x1002d99c
push 0x14
lea edi, [esi + 8]
push 0x32
pop eax
mov ebx, edi
call fcn.100134fd
xor ebx, ebx
pop ecx
pop ecx
cmp dword [esp + 0x18], ebx
jne 0x1000a101
push 0x1d4c0
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
push esi
push 0x10009c37
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x1000a126
mov dword [esp + 0x10], 0xfffffffe
jmp 0x1000a2ca
mov eax, 0xe43
call fcn.1001321d
push ebx
push eax
push dword [ebp + 0xc]
mov dword [esp + 0x20], eax
push 0x10020bc4
push dword [ebp + 8]
lea eax, [esp + 0x23c]
push str.https:__
push 0xff
push eax
push 0x10020bc1
call fcn.1001379e
add esp, 0x24
lea eax, [esp + 0x14]
call fcn.100132bb
mov eax, 0x520
call fcn.1001321d
push edi
push eax
mov dword [esp + 0x1c], eax
mov edi, 0x1ff
lea eax, [esp + 0x30]
push edi
push eax
call fcn.100111ca
add esp, 0x10
lea eax, [esp + 0x14]
call fcn.100132bb
mov dword [esp + 0x10], ebx
cmp dword [ebp + 0x14], ebx
jbe 0x1000a209
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esi + 0x114]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], 0
jbe 0x1000a1c5
push 0x10020f88
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
push eax
push 0x10020bd4
lea eax, [esp + 0x30]
push eax
call ebx
mov ecx, edi
sub ecx, eax
push ecx
lea eax, [esp + 0x34]
push eax
call ebx
lea eax, [esp + eax + 0x34]
push eax
call fcn.100111ca
add dword [esp + 0x24], 0x114
add esp, 0x10
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0x14]
jb 0x1000a1ae
xor ebx, ebx
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000a210
push ebx
lea ecx, [esp + 0x24]
push ecx
sub eax, edx
lea ecx, [esp + 0x24]
push ecx
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x23c]
push eax
call fcn.10012eb6
add esp, 0x18
test eax, eax
jns 0x1000a253
push ebx
push dword [esp + 0x1c]
mov dword [esp + 0x18], 0xfffffffd
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1000a2ca
push 0x100
lea eax, [esp + 0x22c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x200
lea eax, [esp + 0x2c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x88b8
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp + 0x14]
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp edx, ebx
jbe 0x1000a2c1
lea eax, [esi + 0x114]
mov dword [esp + 0x14], edx
cmp dword [eax + 4], ebx
je 0x1000a2b2
mov dx, word [eax]
mov edi, dword [ebp + 0x18]
mov word [edi + ecx*2], dx
inc ecx
add eax, 0x114
dec dword [esp + 0x14]
jne 0x1000a2a2
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x1000a2ca
mov dword [eax], ecx
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
cmp eax, ebx
jbe 0x1000a312
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
add esi, 0x110
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
or edi, 0xffffffff
cmp eax, edi
je 0x1000a2fb
push eax
call ebx
mov dword [esi - 4], edi
mov eax, dword [esi]
cmp eax, edi
je 0x1000a306
push eax
call ebx
mov dword [esi], edi
add esi, 0x114
dec dword [esp + 0x18]
jne 0x1000a2eb
mov eax, 0x114010c
lea esi, [esp + 0x24]
call fcn.100110a9
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x1c]
call fcn.100110a9
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret