Function at 0x405b90
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6923e8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x790
mov eax, dword [0x75d580]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 0x14]
mov dword [eax], 1
cmp byte [esi + 0x398], 0
jne 0x405d2f
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x405d6f
cmp dword [esi + 0x3d4], eax
jne 0x405d51
push ecx
mov ecx, dword [0x75d004]
mov eax, esp
mov dword [ebp - 0x77c], esp
mov dword [eax], ecx
push ecx
mov edi, esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x790], esp
push 0x12
mov dword [edi], ecx
call fcn.004333f5
add esp, 4
test eax, eax
je 0x405c57
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov word [eax + 0x10], cx
lea ecx, [eax + 0xc]
mov dword [edi], ecx
mov eax, dword [0x7354a8]
mov dword [ecx], eax
push 0
push ecx
mov byte [ebp - 4], 1
mov edi, esp
mov eax, dword [0x75d004]
mov dword [ebp - 0x794], esp
push 0x12
mov dword [edi], eax
call fcn.004333f5
add esp, 4
test eax, eax
je 0x405ca1
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov word [eax + 0x10], cx
lea ecx, [eax + 0xc]
mov dword [edi], ecx
mov eax, dword [0x7354b0]
mov dword [ecx], eax
push ecx
mov edi, esp
mov byte [ebp - 4], 2
mov eax, dword [0x75d004]
push 0x1c
mov dword [edi], eax
call fcn.004333f5
add esp, 4
test eax, eax
je 0x405cfa
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 7
mov dword [eax + 8], 7
mov word [eax + 0x1a], cx
lea ecx, [eax + 0xc]
mov dword [edi], ecx
movq xmm0, qword [0x7354b8]
movq qword [ecx], xmm0
mov eax, dword [0x7354c0]
mov dword [ecx + 8], eax
mov ax, word [0x7354c4]
mov word [ecx + 0xc], ax
lea ecx, [ebp - 0x778]
mov dword [ebp - 4], 0xffffffff
call fcn.00409e60
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x778]
push dword [esi + 0x248]
call fcn.004465b6
lea ecx, [ebp - 0x778]
call fcn.0040a060
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048a267
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push 0
push 0
push 0x10
push dword [esi + 0x248]
mov dword [esi + 0x3d8], 0x69
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x405d2f
cmp eax, 1
jne 0x405d2f
cmp dword [esi + 0x3d4], 0
je 0x405f19
lea eax, [ebp - 0x7a0]
mov dword [ebp - 0x7a0], 0x101
push eax
push 0
push 0x4a
sub esp, 0x18
mov dword [ebp - 0x79c], 0
mov ecx, esp
mov dword [ebp - 0x798], 0x735258
xorps xmm0, xmm0
push 0x26
movups xmmword [ecx], xmm0
push str.F577FC53_15DA_4CB1_94B1_89FE76A43217
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00402060
call fcn.00404780
add esp, 0x18
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x78c], 0
mov dword [ebp - 0x788], 0
mov dword [ebp - 0x784], 0
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub esp, 0x18
mov dword [ebp - 0x77c], eax
mov ecx, esp
xorps xmm0, xmm0
push 6
movups xmmword [ecx], xmm0
push str.AK.exe
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00402060
lea edx, [ebp - 0x78c]
lea ecx, [ebp - 0x77c]
call fcn.00410540
mov esi, dword [ebp - 0x78c]
add esp, 0x18
test al, al
je 0x405ec4
mov eax, esi
mov dword [ebp - 0x77c], eax
cmp eax, dword [ebp - 0x788]
je 0x405ec4
nop dword [eax]
mov esi, eax
lea edi, [ebp - 0x248]
mov ecx, 0x8b
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x240]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x405ea5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x77c]
add eax, 0x22c
mov dword [ebp - 0x77c], eax
cmp eax, dword [ebp - 0x788]
jne 0x405e70
mov esi, dword [ebp - 0x78c]
test esi, esi
je 0x405f0f
mov ecx, dword [ebp - 0x784]
mov eax, 0x75ded953
sub ecx, esi
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x22c
mov eax, esi
cmp ecx, 0x1000
jb 0x405f05
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40609c
push ecx
push esi
call fcn.0048a4f6
add esp, 8
mov eax, 1
jmp 0x405d31
push ecx
mov ecx, dword [0x75d004]
mov eax, esp
mov dword [ebp - 0x780], esp
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [ebp - 4], 5
mov dword [ebp - 0x794], esp
mov dword [eax], ecx
push 1
push ecx
mov edi, esp
mov byte [ebp - 4], 6
mov dword [ebp - 0x790], esp
push 0x12
mov dword [edi], ecx
call fcn.004333f5
add esp, 4
test eax, eax
je 0x405f81
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov word [eax + 0x10], cx
lea ecx, [eax + 0xc]
mov dword [edi], ecx
mov eax, dword [0x7354b0]
mov dword [ecx], eax
push ecx
mov edi, esp
mov byte [ebp - 4], 7
mov eax, dword [0x75d004]
push 0x3a
mov dword [edi], eax
call fcn.004333f5
add esp, 4
test eax, eax
je 0x405fe6
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 0x16
mov dword [eax + 8], 0x16
mov word [eax + 0x38], cx
lea ecx, [eax + 0xc]
mov dword [edi], ecx
movups xmm0, xmmword [0x735528]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x735538]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [str._fTsQ__]
movq qword [ecx + 0x20], xmm0
mov eax, dword [0x735550]
mov dword [ecx + 0x28], eax
lea ecx, [ebp - 0x3c8]
mov dword [ebp - 4], 0xffffffff
call fcn.00409e60
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x3c8]
push dword [esi + 0x248]
call fcn.004465b6
cmp eax, 1
jne 0x406087
lea eax, [ebp - 0x78c]
mov dword [ebp - 0x78c], 0x101
push eax
push 0
push 0x4a
sub esp, 0x18
mov dword [ebp - 0x788], 0
mov ecx, esp
mov dword [ebp - 0x784], 0x735258
xorps xmm0, xmm0
push 0x26
movups xmmword [ecx], xmm0
push str.F577FC53_15DA_4CB1_94B1_89FE76A43217
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00402060
call fcn.00404780
add esp, 0x18
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x3c8]
call fcn.0040a060
mov eax, 1
jmp 0x405d31
lea ecx, [ebp - 0x3c8]
call fcn.0040a060
mov eax, 2
jmp 0x405d31
call fcn.00543627
int3