Function at 0x10013440
Capabilities:
Allocate thread local storage
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011a4e5
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x1016f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 1
push 0x10176960
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x100137fb
mov eax, dword [edi + 4]
test eax, eax
jne 0x10013673
push 4
call fcn.100da635
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [eax], vtable.RCMinHookApiHook.0
mov dword [ebp - 4], 0xffffffff
push 0x110
mov dword [edi + 4], eax
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.100f2c30
add esp, 0x10
mov dword [ebp - 0x130], 0x114
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x148]
mov dword [0x10173e6c], eax
mov eax, dword [ebp - 0x128]
mov dword [0x10173e5c], eax
mov eax, dword [ebp - 0x124]
mov dword [0x10173e68], eax
xor eax, eax
push 0x24
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
push str.FE749968_FFD1_497C_88B1_A715672EDBC3
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 7
mov word [ebp - 0x148], ax
call fcn.10004bf0
mov dword [ebp - 4], 1
xor eax, eax
push eax
mov dword [ebp - 0x150], 0
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x14c], 0
push 0x10143c14
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 7
mov word [ebp - 0x160], ax
call fcn.10004bf0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x160]
push ecx
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.1008f9b0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14c]
cmp edx, 8
jb 0x100135e7
mov ecx, dword [ebp - 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100135dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013819
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 7
mov word [ebp - 0x160], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x134]
cmp edx, 8
jb 0x1001364b
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013641
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001381e
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x138], 0
mov word [ebp - 0x148], ax
mov eax, dword [edi + 4]
mov dword [ebp - 0x134], 7
test eax, eax
je 0x100137fb
call fcn.1002f960
mov ebx, eax
mov dword [0x10175e78], ebx
test ebx, ebx
jne 0x1001368b
xor al, al
jmp 0x100137fd
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0xc8
push 0x10115f90
mov dword [0x10173e70], eax
call fcn.101166f0
add esp, 8
lea ecx, [edi + 8]
push 1
push 0x10009770
push ebx
call fcn.10115e60
test al, al
je 0x100136e4
lea ecx, [edi + 8]
call fcn.10115df0
lea ecx, [edi + 8]
mov dword [0x10173e64], eax
call fcn.10115f00
lea eax, [ebx - 4]
push eax
call fcn.10116050
add esp, 4
push 1
push 0x10009410
lea eax, [ebx - 0xc]
push eax
lea ecx, [edi + 0x40]
call fcn.10115e60
lea ecx, [edi + 0x40]
call fcn.10115df0
lea ecx, [edi + 0x40]
mov dword [0x10173e60], eax
call fcn.10115f00
mov eax, dword [0x10173e60]
test eax, eax
je 0x10013738
push 1
mov dword [ebp - 0x14], eax
lea ecx, [edi + 0x1c]
push 0x100093e0
lea eax, [ebp - 0x14]
push eax
call fcn.10116550
lea ecx, [edi + 0x1c]
call fcn.10116520
mov dword [0x10173e58], eax
push 0
push 0
push edi
push 0x10013320
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.10014460
test al, al
je 0x100137f1
call fcn.1002f9e0
test eax, eax
je 0x100137f1
push 1
push 0x10009e10
push eax
lea ecx, [edi + 0x54]
call fcn.10115e60
test al, al
je 0x100137f1
lea ecx, [edi + 0x54]
call fcn.10115df0
mov ecx, dword [edi + 4]
mov dword [0x10173e54], eax
test ecx, ecx
jne 0x10013798
lea ecx, [edi + 0x54]
call fcn.10115e00
jmp 0x100137f1
xor eax, eax
mov dword [ebp - 0x138], 0x1000a080
mov word [ebp - 0x133], ax
lea edx, [ebp - 0x148]
mov byte [ebp - 0x131], al
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x134], al
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], eax
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 4]
call eax
test al, al
je 0x1001378e
mov eax, dword [ebp - 0x13c]
mov dword [0x10173e50], eax
mov ecx, dword [edi + 4]
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100da624
mov esp, ebp
pop ebp
ret
call fcn.100f5ab9
call fcn.100f5ab9
int3