Function at 0x405b10
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x48af40]
sub esp, 8
mov ecx, dword [eax + 0xc]
push ebx
push esi
push edi
push ecx
call fcn.00405af0
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x405df3
mov edx, dword [0x48af40]
lea esi, [ebx + ebx*2]
shl esi, 5
push ebp
mov eax, dword [esi + edx + 0x48]
push eax
call fcn.00405e00
mov ecx, dword [0x48af40]
mov eax, dword [esi + ecx + 0x44]
push eax
mov dword [esp + 0x1c], eax
call fcn.00405af0
add esp, 8
lea ebp, [esi + 0x4c]
mov dword [esp + 0x10], 4
mov edx, dword [0x48af40]
mov eax, dword [edx + ebp]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
xor edx, edx
cmp edi, edx
je 0x405b9c
push 0x3e7
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov eax, dword [esp + 0x10]
add ebp, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x405b6b
mov ecx, dword [0x48af40]
mov dword [esi + ecx + 0x44], edx
mov eax, dword [0x48af40]
mov dword [esi + eax + 0x48], edx
mov ecx, dword [0x48af40]
mov dword [esi + ecx + 0x4c], edx
mov eax, dword [0x48af40]
mov dword [esi + eax + 0x50], edx
mov ecx, dword [0x48af40]
mov dword [esi + ecx + 0x54], edx
mov eax, dword [0x48af40]
mov dword [esi + eax + 0x58], edx
mov ecx, dword [0x48af40]
lea eax, [ebx + ebx*2 + 3]
mov dword [esi + ecx + 0x5c], edx
mov ecx, dword [0x48af40]
shl eax, 5
mov dword [eax + ecx], edx
mov eax, dword [0x48af40]
xor ecx, ecx
mov dword [esi + eax + 0xa0], edx
mov eax, dword [0x48af40]
lea eax, [esi + eax + 0x64]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov word [eax + 0xc], cx
mov eax, dword [0x48af40]
lea eax, [esi + eax + 0x82]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov eax, dword [0x48af38]
mov cx, word [eax + ebx*8 + 8]
mov word [eax], cx
mov eax, dword [0x48af38]
mov dword [eax + ebx*8 + 4], edx
mov ecx, dword [0x48af38]
mov word [ecx + ebx*8 + 8], dx
mov edi, dword [0x48af40]
jmp 0x405c5f
xor edx, edx
mov dword [esp + 0x10], edx
mov eax, 0x27
lea ecx, [edi + 0xee8]
cmp dword [ecx], 0
jne 0x405c7e
dec eax
sub ecx, 0x60
cmp eax, 3
jge 0x405c6e
jmp 0x405c85
inc eax
mov dword [esp + 0x10], eax
mov edx, eax
mov ebx, 3
cmp edx, ebx
jle 0x405d22
lea eax, [edi + 0x168]
cmp dword [eax], 0
je 0x405ca7
inc ebx
add eax, 0x60
cmp ebx, edx
jge 0x405d22
jmp 0x405c98
lea ebp, [edx - 1]
cmp ebx, ebp
jge 0x405ced
lea edx, [ebx + ebx*2]
shl edx, 5
lea esi, [edx + edi + 0xa4]
lea edi, [edx + edi + 0x44]
mov ecx, 0x18
add edx, 0x60
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x48af38]
mov ecx, dword [eax + ebx*8 + 0xc]
lea eax, [eax + ebx*8]
inc ebx
mov dword [eax + 4], ecx
mov ecx, dword [eax + 0x10]
mov dword [eax + 8], ecx
mov edi, dword [0x48af40]
cmp ebx, ebp
jl 0x405cb4
mov edx, dword [esp + 0x10]
test edx, edx
jle 0x405c5d
lea esi, [edx + edx*2]
xor eax, eax
shl esi, 5
mov ecx, 0x18
lea edi, [esi + edi - 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x48af38]
lea edx, [ecx + edx*8 - 4]
mov dword [edx], eax
mov dword [edx + 4], eax
mov edi, dword [0x48af40]
jmp 0x405c5d
mov eax, dword [0x4ca430]
pop ebp
cmp byte [eax + 0x22069], 0x44
jne 0x405d41
pop edi
mov byte [eax + 0x22069], 0x30
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push eax
call fcn.00405af0
add esp, 4
cmp eax, 0xffffffff
je 0x405df3
mov ecx, dword [0x48af40]
lea esi, [eax + eax*2]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
shl esi, 5
push 0
mov eax, dword [esi + ecx + 0xa0]
test eax, eax
je 0x405d84
mov edx, dword [0x46a558]
push edx
push eax
call edi
jmp 0x405d8e
push 0x457e18
call fcn.0043c372
mov eax, dword [0x48af40]
mov eax, dword [esi + eax + 0xa0]
test eax, eax
je 0x405da7
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [0x48af40]
mov eax, dword [esi + ecx + 0xa0]
test eax, eax
je 0x405dc6
mov edx, dword [0x46a560]
push 0
push 0
push edx
push eax
call edi
mov eax, dword [0x48af40]
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + eax + 0xa0]
test eax, eax
je 0x405ddf
push eax
call edi
mov ecx, dword [0x48af40]
mov esi, dword [esi + ecx + 0xa0]
test esi, esi
je 0x405df3
push esi
call edi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret