Function at 0x4112c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424e50
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x42d520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor eax, eax
mov esi, 0x464840
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
call fcn.00410f90
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.ZwOpenProcess
push str.ntdll.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.ZwTerminateProcess
push str.ntdll.dll
mov dword [0x464840], eax
call edi
push eax
call ebx
push str.ZwClose
push str.ntdll.dll
mov dword [0x464844], eax
call edi
push eax
call ebx
xor ebx, ebx
mov dword [0x464848], eax
cmp dword [0x464840], ebx
je 0x4114e3
cmp dword [0x464844], ebx
je 0x4114e3
cmp eax, ebx
je 0x4114e3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [0x46488c], eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp eax, ebx
je 0x4114e3
push 0x464890
call fcn.00410ca0
cmp eax, ebx
je 0x4114e3
mov eax, 1
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 0x20], edi
cmp edi, dword [esi + 0x54]
jae 0x4114d8
cmp eax, ebx
je 0x4114e3
cmp dword [ebp + 8], ebx
jne 0x4113d3
lea ecx, [esi + 0x50]
mov eax, edi
call fcn.00411a60
mov edx, dword [eax + 8]
cmp edx, dword [ebp - 0x1c]
jne 0x4114cd
cmp edi, dword [esi + 0x54]
jb 0x4113e2
push 0x80070057
call fcn.004070f0
mov ecx, dword [esi + 0x50]
push ebx
push ebx
push esi
lea eax, [edi + edi*2]
mov edx, dword [ecx + eax*4]
push 0x411000
lea eax, [ecx + eax*4]
push ebx
push ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x28], ebx
call fcn.00413926
mov ebx, dword [ebp + 0xc]
add esp, 0x18
push 0
push 0
push esi
push 0x4110d0
push 0
push 0
mov dword [ebx], eax
call fcn.00413926
mov ecx, dword [ebx]
add esp, 0x18
mov dword [ebx + 4], eax
test ecx, ecx
je 0x411432
cmp ecx, 0xffffffff
jne 0x41143b
test eax, eax
je 0x411494
cmp eax, 0xffffffff
je 0x411494
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x411452
mov dword [ebp - 0x14], 0
lea edi, [esi + 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [esi + 0x44], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [esi + 0x28], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xffffffffffffffff
push 1
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, dword [ebp - 0x20]
jmp 0x41149b
mov dword [ebp - 0x14], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x4114b5
cmp eax, 0xffffffff
je 0x4114b5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], 0
mov eax, dword [ebx]
test eax, eax
je 0x4114cd
cmp eax, 0xffffffff
je 0x4114cd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
mov eax, dword [ebp - 0x14]
inc edi
xor ebx, ebx
jmp 0x4113a4
cmp eax, ebx
je 0x4114e3
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8