Function at 0x10070ed0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029c0bb
mov eax, dword fs:[0]
push eax
sub esp, 0xe74
mov eax, dword [0x10373f78]
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 eax, ecx
mov dword [ebp - 0xe6c], eax
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0xe60]
mov ebx, dword [ebp + 8]
mov ecx, 0x394
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xe70], ebx
mov byte [ebp - 0x14], 1
mov dword [ebp - 0xe68], 0
mov dword [ebp - 0xe64], 0
push 4
mov dword [ebp - 4], 0
lea esi, [eax + 4]
call fcn.10264bfb
add esp, 4
mov edi, eax
mov dword [ebp - 0xe70], edi
push esi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0xe80], edi
mov esi, dword [ebp - 0xe6c]
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x10070fdd
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10070fdd
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0xe60]
push edx
lea edx, [ebp - 0xe7c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea ecx, [ebp - 0xe68]
call fcn.101141f0
mov eax, dword [ebp - 0xe78]
mov dword [ebp - 0xe74], eax
test eax, eax
je 0x10070fdd
cmp byte [eax + 4], 0
je 0x10070fd2
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0xe74]
mov esi, dword [ebp - 0xe6c]
push 8
push eax
call fcn.1026505f
add esp, 8
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100710b3
lea eax, [ebp - 0xe60]
push eax
lea eax, [ebp - 0xe7c]
push eax
call fcn.10079140
mov ecx, eax
lea eax, [ebp - 0xe68]
cmp eax, ecx
je 0x10071067
mov eax, dword [ebp - 0xe68]
mov edx, 1
cmp dword [ecx], edx
cmove eax, edx
mov dword [ebp - 0xe68], eax
lea eax, [ecx + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x10071067
lea edx, [ebp - 0xe64]
cmp edx, eax
je 0x10071067
mov edi, dword [ebp - 0xe64]
mov dword [eax], 0
mov dword [ebp - 0xe64], ecx
test edi, edi
je 0x10071067
cmp byte [edi + 4], 0
je 0x1007105c
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 8
push edi
call fcn.1026505f
add esp, 8
mov edi, dword [ebp - 0xe78]
test edi, edi
je 0x10071092
cmp byte [edi + 4], 0
je 0x10071087
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 8
push edi
call fcn.1026505f
add esp, 8
lea eax, [ebp - 0xe68]
mov ecx, ebx
push eax
call fcn.10114180
mov esi, dword [ebp - 0xe70]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 4
push esi
jmp 0x100710cc
lea eax, [ebp - 0xe68]
mov ecx, ebx
push eax
call fcn.10114180
push dword [edi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 4
push edi
call fcn.1026505f
mov edi, dword [ebp - 0xe64]
add esp, 8
test edi, edi
je 0x100710ff
cmp byte [edi + 4], 0
je 0x100710f4
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 8
push edi
call fcn.1026505f
add esp, 8
mov eax, ebx
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.102649e4
mov esp, ebp
pop ebp
ret 8