Function at 0x1000a0a5
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.10011198
mov esi, eax
pop ecx
mov dword [esp + 0x24], esi
cmp esi, ebx
jne 0x1000a0df
or eax, 0xffffffff
jmp 0x1000a436
cmp dword [0x1002df44], 6
jb 0x1000a10e
cmp dword [0x1002f370], 3
jne 0x1000a14f
mov edi, 0x1e73
call fcn.10013293
push 0x1002f998
push dword [0x1002fba4]
push eax
push 0x208
jmp 0x1000a132
call fcn.100175c2
test eax, eax
je 0x1000a14f
mov edi, 0x335d
call fcn.10013293
push dword [0x1002fba4]
push 0x1002f998
push eax
push 0x104
mov dword [esp + 0x20], eax
lea eax, [esp + 0x338]
push eax
call fcn.1001130f
add esp, 0x14
lea eax, [esp + 0x10]
call fcn.100133d3
cmp word [esp + 0x328], bx
je 0x1000a186
xor edi, edi
inc edi
push edi
push ebx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x334]
push eax
call fcn.10016085
add esp, 0x10
test eax, eax
je 0x1000a186
push 0x1388
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x14], ebx
jbe 0x1000a1dd
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.10012443
pop ecx
mov dword [edi + 0x10c], eax
test eax, eax
js 0x1000a1bb
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 0x1000a18f
push 0x1002e99c
push 0x14
lea edi, [esi + 8]
push 0x32
pop eax
mov ebx, edi
call fcn.10013600
xor ebx, ebx
pop ecx
pop ecx
cmp dword [esp + 0x18], ebx
jne 0x1000a206
push 0x1d4c0
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
push esi
push 0x10009d3c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x1000a22b
mov dword [esp + 0x10], 0xfffffffe
jmp 0x1000a3cf
mov eax, 0x29c5
call fcn.10013320
push ebx
push eax
push dword [ebp + 0xc]
mov dword [esp + 0x20], eax
push 0x10020bd4
push dword [ebp + 8]
lea eax, [esp + 0x23c]
push str.https:__
push 0xff
push eax
push 0x10020bd1
call fcn.100138a1
add esp, 0x24
lea eax, [esp + 0x14]
call fcn.100133be
mov eax, 0x2ef0
call fcn.10013320
push edi
push eax
mov dword [esp + 0x1c], eax
mov edi, 0x1ff
lea eax, [esp + 0x30]
push edi
push eax
call fcn.100112cf
add esp, 0x10
lea eax, [esp + 0x14]
call fcn.100133be
mov dword [esp + 0x10], ebx
cmp dword [ebp + 0x14], ebx
jbe 0x1000a30e
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esi + 0x114]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], 0
jbe 0x1000a2ca
push 0x10020fb0
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 0x10020be4
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.100112cf
add dword [esp + 0x24], 0x114
add esp, 0x10
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0x14]
jb 0x1000a2b3
xor ebx, ebx
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000a315
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.10012fb9
add esp, 0x18
test eax, eax
jns 0x1000a358
push ebx
push dword [esp + 0x1c]
mov dword [esp + 0x18], 0xfffffffd
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1000a3cf
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 0x1000a3c6
lea eax, [esi + 0x114]
mov dword [esp + 0x14], edx
cmp dword [eax + 4], ebx
je 0x1000a3b7
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 0x1000a3a7
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x1000a3cf
mov dword [eax], ecx
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
cmp eax, ebx
jbe 0x1000a417
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 0x1000a400
push eax
call ebx
mov dword [esi - 4], edi
mov eax, dword [esi]
cmp eax, edi
je 0x1000a40b
push eax
call ebx
mov dword [esi], edi
add esi, 0x114
dec dword [esp + 0x18]
jne 0x1000a3f0
mov eax, 0x114010c
lea esi, [esp + 0x24]
call fcn.100111ae
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x1c]
call fcn.100111ae
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret