Function at 0x102e4b0
Capabilities:
Resume thread
Terminate process

Disassembly:
push 0xa0
push 0x102e7f8
call fcn.010027c0
mov edi, dword [ebp + 8]
mov dword [ebp - 0xb0], edi
mov esi, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0xa4], eax
mov ecx, dword [esi]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], eax
call fcn.01017d3c
xor ebx, ebx
inc ebx
mov dword [ebp - 0xac], ebx
cmp dword [0x10401e0], 0
jne 0x102e510
mov dword [ebp - 0xa4], 0x45b
jmp 0x102e6c3
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x102e646
push 0x28
call fcn.01001fd2
mov dword [ebp - 0xa0], eax
test eax, eax
jne 0x102e53e
mov dword [ebp - 0xa4], 0xe
jmp 0x102e6c3
mov dword [ebp - 0xa8], ebx
add eax, 8
push eax
call dword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_AllocateLocallyUniqueId]
mov eax, dword [ebp - 0xa0]
push dword [eax + 8]
push dword [eax + 0xc]
push 0x102e7cc
push 0x40
lea eax, [ebp - 0x9c]
push eax
call fcn.01004d53
add esp, 0x14
lea eax, [ebp - 0x9c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x10], 0
jne 0x102e5a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa4], eax
jmp 0x102e6c3
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x102e646
mov dword [eax + 0x24], ecx
cmp ecx, 0xffffffff
je 0x102e5cf
mov edi, dword [ebp - 0xa0]
add edi, 0x24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add dword [edi], eax
mov edi, dword [ebp - 0xb0]
push 8
push dword [ebp + 0xc]
mov eax, dword [ebp - 0xa0]
push eax
push 0x102e265
push dword [edi]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x102e640
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa4], eax
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x102e6c3
test dword [eax + 0x1c], 0x200
je 0x102e6c3
cmp byte [eax + 0x19], 2
jb 0x102e6c3
push dword [ebp - 0xa4]
push 0x100da8c
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001f65
jmp 0x102e6c3
mov eax, dword [ebp - 0xa0]
push dword [edi]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x102e68b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa4], eax
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x102e6c3
test dword [eax + 0x1c], 0x200
je 0x102e6c3
cmp byte [eax + 0x19], 3
jb 0x102e6c3
push dword [ebp - 0xa4]
push 0x100da8c
push 0x1c
jmp 0x102e630
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x102e594
mov eax, dword [ebp - 0xa0]
mov dword [eax + 0x20], ebx
mov eax, dword [edi]
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x14], eax
and dword [edi], 0
mov eax, dword [ebp - 0xa0]
mov dword [esi], eax
and dword [ebp - 0xa4], 0
mov dword [ebp - 4], 0xfffffffe
call fcn.0102e745
xor ecx, ecx
cmp dword [ebp - 0xa4], ecx
je 0x102e748
mov eax, dword [ebp - 0xa0]
cmp eax, ecx
je 0x102e72e
cmp dword [ebp - 0xa8], ecx
je 0x102e72e
cmp dword [eax + 0x18], ecx
je 0x102e70d
call fcn.01018360
and dword [ebp - 0xac], 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0xa0]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x10], 0
je 0x102e722
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xa0]
push eax
call fcn.01001fac
push 5
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x102e7af
cmp dword [ebp - 0xa8], ecx
je 0x102e7af
mov eax, dword [ebp - 0xa0]
mov ecx, dword [0x1040278]
mov dword [eax], ecx
mov dword [eax + 4], 0x1040278
mov dword [ecx + 4], eax
mov dword [0x1040278], eax
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x102e7af
test dword [eax + 0x1c], 0x200
je 0x102e7af
cmp byte [eax + 0x19], 4
jb 0x102e7af
mov ecx, dword [ebp - 0xa0]
push dword [ecx + 0x1c]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push dword [ecx + 0xc]
push dword [ecx + 8]
push 0x100da8c
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028b75
cmp dword [ebp - 0xac], 0
je 0x102e7bd
call fcn.01018360
mov eax, dword [ebp - 0xa4]
call fcn.01002808
ret 0xc