Function at 0x100e0f50
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov dword [ebp - 4], 0xb
xor eax, eax
mov ebx, esi
inc eax
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp dword [0x101deaf4], ebx
je 0x100e0f81
mov ebx, 0x800f0920
jmp 0x100e1180
cmp dword [0x101dea30], ebx
jne 0x100e11b7
push 0x1002b964
push esi
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov esi, 0x1002f048
push 0x1002b990
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100ea948
mov ecx, dword [0x101dca50]
lea eax, [ebp - 4]
add esp, 0x14
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10102e9c
test eax, eax
jns 0x100e0fec
push 0x1002b9e0
push 1
push eax
push 0x3000000
call fcn.100ab973
add esp, 0x10
push dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.101054ed
push 0x101dea54
push 0x1002ba14
mov edi, 0x1002ba40
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push 1
mov edx, edi
call fcn.100ae0e0
mov esi, 0x80070002
test eax, eax
jns 0x100e1039
cmp eax, esi
je 0x100e1039
push 0x1002baa8
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
cmp dword [0x101dea54], ebx
jne 0x100e104b
mov dword [0x101dea54], 0x1b7740
push 0x101dea64
push 0x1002badc
push 1
mov edx, edi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.100ae0e0
test eax, eax
jns 0x100e1080
cmp eax, esi
je 0x100e1080
push 0x1002bb04
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov eax, dword [0x101dea64]
test eax, eax
jne 0x100e108e
mov eax, 0x384
mov edi, dword [ebp + 8]
mov ecx, dword [0x101dea54]
imul eax, eax, 0x3e8
push ecx
mov dword [0x101dea50], ecx
push edi
mov dword [0x101dea64], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101e07c0]
call esi
test eax, eax
jns 0x100e10d2
push 0x1002bb38
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
push dword [0x101dea64]
xor esi, esi
push dword [0x101dea54]
push 0x1002bb58
push esi
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x18
push esi
push esi
push 1
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov dword [0x101dea20], eax
test eax, eax
jne 0x100e112e
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x100e111a
movzx eax, ax
or eax, 0x80070000
mov ebx, eax
test eax, eax
js 0x100e1127
mov ebx, 0x80004005
mov eax, ebx
mov ecx, 0x1002bb94
jmp 0x100e116b
push esi
push esi
push edi
push 0x100e35b0
push esi
push esi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov dword [0x101dea30], eax
test eax, eax
jne 0x100e11b7
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x100e1159
movzx eax, ax
or eax, 0x80070000
mov ebx, eax
test eax, eax
js 0x100e1166
mov ebx, 0x80004005
mov eax, ebx
mov ecx, 0x1002bbc8
push ecx
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
test ebx, ebx
jns 0x100e11b7
mov eax, dword [0x101dea20]
test eax, eax
je 0x100e119b
cmp eax, 0xffffffff
je 0x100e119b
push eax
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov dword [0x101dea20], esi
mov ecx, dword [0x101dea30]
test ecx, ecx
je 0x100e11b7
cmp ecx, 0xffffffff
je 0x100e11b7
push ecx
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov dword [0x101dea30], esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8