Function at 0x4566e0
Capabilities:
Enumerate gui resources
Enumerate process modules
Get graphical window text
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2a66
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4226c
call fcn.005c33c0
mov eax, dword [0x674ff8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x42278], eax
mov dword [ebp - 4], 0
cmp dword [eax + 0x6c], 1
jl 0x456da5
push 0x42040
lea eax, [ebp - 0x4225c]
mov dword [ebp - 0x42268], 0
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x42268]
push eax
push 0x42040
lea eax, [ebp - 0x4225c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x456da5
mov eax, dword [ebp - 0x42268]
test eax, eax
je 0x456da5
xorps xmm0, xmm0
shr eax, 2
push 0
movq qword [ebp - 0x42264], xmm0
push 0
mov dword [ebp - 0x42268], eax
mov dword [ebp - 0x42264], 0
mov dword [ebp - 0x42260], 0
call fcn.0044d9a0
mov dword [ebp - 0x42264], eax
lea ecx, [ebp - 0x42264]
mov byte [ebp - 4], 1
call fcn.0045e010
mov edi, dword [ebp - 0x42260]
xor ebx, ebx
nop dword [eax]
cmp ebx, dword [ebp - 0x42268]
jae 0x45696e
lea eax, [ebp - 0x4225c]
lea eax, [eax + ebx*4]
mov eax, dword [eax]
test eax, eax
je 0x456968
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x456968
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push esi
test eax, eax
jne 0x456840
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
jmp 0x4567d0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x4226c], 0
push eax
lea ecx, [ebp - 0x4226c]
call fcn.00404b00
lea ecx, [ebp - 0x4226c]
mov byte [ebp - 4], 2
call fcn.00418aa0
push eax
lea ecx, [ebp - 0x4226c]
call fcn.00404270
lea eax, [ebp - 0x4226c]
push eax
mov eax, dword [ebp - 0x42278]
add eax, 0x40
push eax
call fcn.00426de0
add esp, 8
test al, al
mov eax, dword [ebp - 0x4226c]
push dword [eax - 8]
push eax
je 0x4568eb
call fcn.005cc68a
mov edx, eax
add esp, 8
test edx, edx
js 0x4568e1
mov ecx, dword [ebp - 0x4226c]
cmp edx, dword [ecx - 8]
jg 0x4568e1
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x4226c]
mov byte [ebp - 4], 1
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x4226c]
call fcn.00405250
inc ebx
jmp 0x4567d0
push 0x80070057
call fcn.004050a0
call fcn.005cc68a
mov edx, eax
add esp, 8
test edx, edx
js 0x4568e1
mov ecx, dword [ebp - 0x4226c]
cmp edx, dword [ecx - 8]
jg 0x4568e1
mov esi, dword [ebp - 0x42264]
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x4226c]
mov word [eax + edx*2], cx
lea eax, [ebp - 0x4225c]
lea eax, [eax + ebx*4]
push eax
push dword [esi + 4]
push esi
call fcn.0044d9e0
mov edi, dword [ebp - 0x42260]
mov ecx, 0x15555554
sub ecx, edi
mov edx, eax
cmp ecx, 1
jae 0x45694a
push str.list_T__too_long
call fcn.005c3e12
mov dword [esi + 4], edx
lea ecx, [ebp - 0x4226c]
mov eax, dword [edx + 4]
inc edi
mov dword [ebp - 0x42260], edi
mov byte [ebp - 4], 1
mov dword [eax], edx
call fcn.00405250
inc ebx
jmp 0x4567d0
xor bl, bl
mov byte [ebp - 0x42271], bl
cmp edi, 1
jae 0x456a8e
mov ebx, dword [ebp - 0x42278]
mov edi, dword [ebx + 0x64]
test edi, edi
je 0x456a44
mov eax, dword [ebx + 0xc]
mov esi, dword [edi + 8]
mov edi, dword [edi]
test eax, eax
jne 0x4569a6
push 0x80004005
call fcn.004050a0
mov ecx, dword [esi + 0x10]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4569d6
test dx, dx
je 0x4569d2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4569d6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4569b0
xor eax, eax
jmp 0x4569db
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
jne 0x456988
cmp dword [esi + 0x1c], 0
je 0x456988
cmp dword [esi + 0x14], 0
jg 0x456a1e
call fcn.0040f620
push str.CPlayerManager::CheckPlayerState
push str.__s__:_change_on
push eax
call fcn.0043a270
add esp, 0xc
mov ecx, ebx
push dword [esi + 0x18]
call fcn.00452aa0
mov byte [ebp - 0x42271], 1
jmp 0x456988
call fcn.0040f620
push dword [esi + 0x14]
push dword [esi + 0x20]
push str.CPlayerManager::CheckPlayerState
push str.__s__:_state_rest_id__d____add_stop_count__d_
push eax
call fcn.0043a270
add esp, 0x14
dec dword [esi + 0x14]
jmp 0x456988
mov bl, byte [ebp - 0x42271]
test bl, bl
je 0x456a7c
call fcn.0040f620
push str.CPlayerManager::CheckPlayerState
push str.__s__:_state_change
push eax
call fcn.0043a270
mov eax, dword [ebp - 0x42278]
add esp, 0xc
push 0
push 0
push dword [eax + 0x58]
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x42264]
call fcn.00412290
mov al, bl
jmp 0x456da7
mov edi, dword [ebp - 0x42278]
mov ebx, dword [edi + 0x64]
test ebx, ebx
je 0x456bcd
mov eax, dword [edi + 0xc]
mov esi, dword [ebx + 8]
mov ebx, dword [ebx]
test eax, eax
jne 0x456ab5
push 0x80004005
call fcn.004050a0
mov ecx, dword [esi + 0x10]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x456ade
test dx, dx
je 0x456ada
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x456ade
add ecx, 4
add eax, 4
test dx, dx
jne 0x456ab8
xor eax, eax
jmp 0x456ae3
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
jne 0x456a97
mov edx, dword [ebp - 0x42264]
mov eax, dword [edx]
cmp edx, eax
je 0x456b11
mov ecx, dword [esi + 8]
lea edi, [esi + 8]
nop
cmp dword [eax + 8], ecx
je 0x456b4f
mov eax, dword [eax]
cmp edx, eax
jne 0x456b00
mov edi, dword [ebp - 0x42278]
cmp dword [esi + 0x1c], 0
je 0x456a97
cmp dword [esi + 0x14], 0
jg 0x456ba7
call fcn.0040f620
push str.CPlayerManager::CheckPlayerState
push str.__s__:_process_not_find
push eax
call fcn.0043a270
add esp, 0xc
mov ecx, edi
push dword [esi + 0x18]
call fcn.00452aa0
mov byte [ebp - 0x42271], 1
jmp 0x456a97
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x456b0b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea ecx, [ebp - 0x42264]
call fcn.0044d920
cmp dword [esi + 0x1c], 0
mov edi, dword [ebp - 0x42278]
jne 0x456a97
mov eax, dword [esi + 0x14]
test eax, eax
jg 0x456b9e
mov dword [esi + 0x1c], 2
mov byte [ebp - 0x42271], 1
jmp 0x456a97
dec eax
mov dword [esi + 0x14], eax
jmp 0x456a97
call fcn.0040f620
push dword [esi + 0x14]
push dword [esi + 0x20]
push str.CPlayerManager::CheckPlayerState
push str.__s__:_process_not_find_id__d____add_stop_count___d_
push eax
call fcn.0043a270
add esp, 0x14
dec dword [esi + 0x14]
jmp 0x456a97
mov ebx, dword [ebp - 0x42264]
mov esi, dword [ebx]
mov cl, byte [ebp - 0x42271]
nop dword [eax + eax]
cmp ebx, esi
je 0x456d0f
mov dword [ebp - 0x42270], 0
mov dword [ebp - 0x4226c], 0
mov eax, dword [esi + 8]
mov dword [ebp - 0x42270], eax
lea eax, [ebp - 0x42270]
push eax
push 0x44fdb0
mov dword [ebp - 0x4226c], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [ebp - 0x4226c]
test edi, edi
jne 0x456c2f
mov esi, dword [esi]
jmp 0x456bd5
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 0x42278]
mov edi, dword [eax + 0x64]
test edi, edi
je 0x456ccc
mov ebx, dword [edi + 8]
lea ecx, [ebp - 0x21c]
mov edi, dword [edi]
mov eax, dword [ebx + 0x30]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x456c99
test dx, dx
je 0x456c95
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x456c99
add ecx, 4
add eax, 4
test dx, dx
jne 0x456c73
xor eax, eax
jmp 0x456c9e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x456c61
cmp dword [ebx + 0x1c], eax
jne 0x456c61
mov eax, dword [ebp - 0x42270]
mov cl, 1
mov dword [ebx + 8], eax
mov dword [ebx + 0x1c], 2
mov esi, dword [esi]
mov ebx, dword [ebp - 0x42264]
mov byte [ebp - 0x42271], cl
jmp 0x456be0
mov cl, byte [ebp - 0x42271]
test cl, cl
jne 0x456d02
push dword [ebp - 0x42270]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x456cfc
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, byte [ebp - 0x42271]
mov esi, dword [esi]
mov ebx, dword [ebp - 0x42264]
jmp 0x456be0
mov eax, dword [ebx]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov dword [ebp - 0x42260], 0
cmp eax, ebx
je 0x456d3b
mov esi, dword [eax]
push eax
call fcn.0047d17e
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x456d24
mov cl, byte [ebp - 0x42271]
test cl, cl
je 0x456d6d
call fcn.0040f620
push str.CPlayerManager::CheckPlayerState
push str.__s__:_change_on
push eax
call fcn.0043a270
mov eax, dword [ebp - 0x42278]
add esp, 0xc
push 0
push 0
push dword [eax + 0x58]
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x42264]
call fcn.00412290
mov al, byte [ebp - 0x42271]
jmp 0x456da7
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c2ae8
mov esp, ebp
pop ebp
ret