Function at 0x4112b0
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, 0x465980
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
call fcn.00410f80
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 [0x465980], eax
call edi
push eax
call ebx
push str.ZwClose
push str.ntdll.dll
mov dword [0x465984], eax
call edi
push eax
call ebx
xor ebx, ebx
mov dword [0x465988], eax
cmp dword [0x465980], ebx
je 0x4114d3
cmp dword [0x465984], ebx
je 0x4114d3
cmp eax, ebx
je 0x4114d3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [0x4659cc], eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp eax, ebx
je 0x4114d3
push 0x4659d0
call fcn.00410c90
cmp eax, ebx
je 0x4114d3
mov eax, 1
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 0x20], edi
cmp edi, dword [esi + 0x54]
jae 0x4114c8
cmp eax, ebx
je 0x4114d3
cmp dword [ebp + 8], ebx
jne 0x4113c3
lea ecx, [esi + 0x50]
mov eax, edi
call fcn.00411a50
mov edx, dword [eax + 8]
cmp edx, dword [ebp - 0x1c]
jne 0x4114bd
cmp edi, dword [esi + 0x54]
jb 0x4113d2
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 0x410ff0
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.00413916
mov ebx, dword [ebp + 0xc]
add esp, 0x18
push 0
push 0
push esi
push 0x4110c0
push 0
push 0
mov dword [ebx], eax
call fcn.00413916
mov ecx, dword [ebx]
add esp, 0x18
mov dword [ebx + 4], eax
test ecx, ecx
je 0x411422
cmp ecx, 0xffffffff
jne 0x41142b
test eax, eax
je 0x411484
cmp eax, 0xffffffff
je 0x411484
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x411442
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 0x41148b
mov dword [ebp - 0x14], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x4114a5
cmp eax, 0xffffffff
je 0x4114a5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], 0
mov eax, dword [ebx]
test eax, eax
je 0x4114bd
cmp eax, 0xffffffff
je 0x4114bd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
mov eax, dword [ebp - 0x14]
inc edi
xor ebx, ebx
jmp 0x411394
cmp eax, ebx
je 0x4114d3
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