Function at 0x1001e550
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043efb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x10059008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8c], edi
mov eax, dword [0x1005b478]
test al, 1
jne 0x1001e5ce
or eax, 1
mov dword [0x1005b478], eax
mov dword [ebp - 4], 0
push 0x1250
push 0
push 0x1005a228
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.100090d0
mov byte [ebp - 4], 0
push 0x10047af0
call fcn.1003edeb
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x40], 0
lea esi, [edi + 0x40]
jne 0x1001e5f1
push 0x3e8
push dword [0x1005a228]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1005a228], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jbe 0x1001e61a
push dword [0x1005a22c]
call esi
push dword [0x1005a228]
call esi
xorps xmm0, xmm0
movups xmmword [0x1005a228], xmm0
mov eax, dword [edi + 0x54]
test eax, eax
je 0x1001e64f
push 0xffffffffffffffff
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x1001e64f
mov eax, dword [eax + 8]
test eax, eax
je 0x1001e64f
cmp byte [eax + 8], 0
je 0x1001e64f
mov ecx, dword [edi + 0x4c]
push 0x3e8
call fcn.1002cb80
cmp dword [edi + 0x50], 0
je 0x1001eb6e
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], vtable.RC::RCBuffer_char_.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
push 0x88
call fcn.1001f610
mov eax, dword [ebp - 0x18]
push 0
push 0x88
push eax
push 3
mov dword [eax], 0x20
push dword [edi + 0x50]
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x1001eb42
push 0x10
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x3c]
push 0x1004b2c4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.10003250
mov byte [ebp - 4], 3
xor edi, edi
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], edi
jbe 0x1001e858
mov ecx, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x88], eax
mov eax, dword [eax]
test eax, eax
je 0x1001e83f
push eax
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1001e83c
mov edx, esi
lea ecx, [ebp - 0x84]
call fcn.100307e0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x6c]
call fcn.1002d350
mov byte [ebp - 4], 5
lea eax, [ebp - 0x6c]
push 1
push eax
mov ecx, 0x1005a228
call fcn.10009930
test al, al
jne 0x1001e78b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
push eax
call fcn.10008c60
push 3
push 0x1004b2e8
lea ecx, [ebp - 0x3c]
call fcn.10008c60
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x1001e7d0
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e7c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ea61
push edx
push ecx
call fcn.1003ee00
add esp, 8
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x1001e825
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e81b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ea61
push edx
push ecx
call fcn.1003ee00
add esp, 8
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x88]
inc edi
add eax, 4
mov dword [ebp - 0x88], eax
cmp edi, dword [ecx + 4]
jb 0x1001e703
mov eax, dword [0x1005b56c]
test al, 1
jne 0x1001e899
or eax, 1
mov dword [0x1005b56c], eax
mov byte [ebp - 4], 6
push 0x40
push 0
push 0x1005b4d0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.1000b0b0
push 0x10047c40
call fcn.1003edeb
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [0x1005b56c]
cmp dword [0x1005b4f0], 0
jg 0x1001eae2
xor ecx, ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], cx
mov byte [ebp - 4], 7
lea esi, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
cmovae esi, dword [ebp - 0x3c]
test al, 1
jne 0x1001e90d
or eax, 1
mov dword [0x1005b56c], eax
mov byte [ebp - 4], 8
push 0x40
push ecx
push 0x1005b4d0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.1000b0b0
push 0x10047c40
call fcn.1003edeb
add esp, 4
mov byte [ebp - 4], 7
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e912
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x54]
call fcn.10003250
cmp dword [ebp - 0x40], 8
lea edx, [ebp - 0x54]
mov dword [ebp - 0x94], 0
cmovae edx, dword [ebp - 0x54]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e970
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.10003250
mov byte [ebp - 4], 9
mov eax, dword [0x1005b56c]
test al, 1
jne 0x1001e9cc
or eax, 1
mov dword [0x1005b56c], eax
mov byte [ebp - 4], 0xa
push 0x40
push 0
push 0x1005b4d0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.1000b0b0
push 0x10047c40
call fcn.1003edeb
add esp, 4
mov byte [ebp - 4], 9
mov eax, dword [0x1005b4ec]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x24], 0x1005b4ec
test eax, eax
je 0x1001e9ea
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xa4]
push 0xbb
push str.RC::RCSetupThread::Clean
push 0x1004b328
push eax
push 0
mov ecx, 0x1005b4d0
call fcn.1000bf10
mov byte [ebp - 4], 9
mov eax, dword [0x1005b4ec]
test eax, eax
je 0x1001ea24
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x1001ea71
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ea67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001ea67
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003ee00
add esp, 8
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x1001eace
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001eac4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001eac4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003ee00
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x1001eb22
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001eb18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001eb18
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003ee00
add esp, 8
mov edi, dword [ebp - 0x8c]
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
push dword [edi + 0x50]
call esi
mov dword [edi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
mov dword [ebp - 0x20], vtable.RC::RCBuffer_char_.0
call fcn.1003ef0c
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003ea51
mov esp, ebp
pop ebp
ret