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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1f26
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4226c
call fcn.005a3e00
mov eax, dword [0x64dff0]
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 + 0x5c], 1
jl 0x440a86
push 0x42040
lea eax, [ebp - 0x4225c]
mov dword [ebp - 0x42268], 0
push 0
push eax
call fcn.005a7a20
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 0x440a86
mov eax, dword [ebp - 0x42268]
test eax, eax
je 0x440a86
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.00438b30
mov dword [ebp - 0x42264], eax
lea ecx, [ebp - 0x42264]
mov byte [ebp - 4], 1
call fcn.00446760
mov edi, dword [ebp - 0x42260]
xor ebx, ebx
nop dword [eax]
cmp ebx, dword [ebp - 0x42268]
jae 0x4406ae
lea eax, [ebp - 0x4225c]
lea eax, [eax + ebx*4]
mov eax, dword [eax]
test eax, eax
je 0x4406a8
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4406a8
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005a7a20
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 0x440580
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
jmp 0x440510
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x4226c], 0
push eax
lea ecx, [ebp - 0x4226c]
call fcn.00406cf0
lea ecx, [ebp - 0x4226c]
mov byte [ebp - 4], 2
call fcn.0040d1f0
push eax
lea ecx, [ebp - 0x4226c]
call fcn.00403f70
lea eax, [ebp - 0x4226c]
push eax
mov eax, dword [ebp - 0x42278]
add eax, 0x34
push eax
call fcn.0041acd0
add esp, 8
test al, al
mov eax, dword [ebp - 0x4226c]
push dword [eax - 8]
push eax
je 0x44062b
call fcn.005ae443
mov edx, eax
add esp, 8
test edx, edx
js 0x440621
mov ecx, dword [ebp - 0x4226c]
cmp edx, dword [ecx - 8]
jg 0x440621
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.00404030
inc ebx
jmp 0x440510
push 0x80070057
call fcn.00402d80
call fcn.005ae443
mov edx, eax
add esp, 8
test edx, edx
js 0x440621
mov ecx, dword [ebp - 0x4226c]
cmp edx, dword [ecx - 8]
jg 0x440621
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.00438b70
mov edi, dword [ebp - 0x42260]
mov ecx, 0x15555554
sub ecx, edi
mov edx, eax
cmp ecx, 1
jae 0x44068a
push str.list_T__too_long
call fcn.005a480c
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.00404030
inc ebx
jmp 0x440510
xor bl, bl
mov byte [ebp - 0x42271], bl
cmp edi, 1
jae 0x4407b2
mov ebx, dword [ebp - 0x42278]
mov edi, dword [ebx + 0x54]
test edi, edi
je 0x440768
mov eax, dword [ebx + 0xc]
mov esi, dword [edi + 8]
mov edi, dword [edi]
test eax, eax
jne 0x4406e6
push 0x80004005
call fcn.00402d80
mov ecx, dword [esi + 0xc]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x440716
test dx, dx
je 0x440712
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x440716
add ecx, 4
add eax, 4
test dx, dx
jne 0x4406f0
xor eax, eax
jmp 0x44071b
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
jne 0x4406c8
cmp dword [esi + 0x18], 0
je 0x4406c8
mov eax, dword [esi + 0x10]
test eax, eax
jg 0x44075f
call fcn.00404190
push str.CPlayerManager::CheckPlayerState
push str.__s__:_change_on
push eax
call fcn.00425940
add esp, 0xc
mov ecx, ebx
push dword [esi + 0x14]
call fcn.0043d900
mov byte [ebp - 0x42271], 1
jmp 0x4406c8
dec eax
mov dword [esi + 0x10], eax
jmp 0x4406c8
mov bl, byte [ebp - 0x42271]
test bl, bl
je 0x4407a0
call fcn.00404190
push str.CPlayerManager::CheckPlayerState
push str.__s__:_change_on
push eax
call fcn.00425940
mov eax, dword [ebp - 0x42278]
add esp, 0xc
push 0
push 0
push dword [eax + 0x48]
push dword [eax + 0x44]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x42264]
call fcn.0040bfc0
mov al, bl
jmp 0x440a88
mov edi, dword [ebp - 0x42278]
mov ebx, dword [edi + 0x54]
nop dword [eax + eax]
test ebx, ebx
je 0x4408b3
mov eax, dword [edi + 0xc]
mov esi, dword [ebx + 8]
mov ebx, dword [ebx]
test eax, eax
jne 0x4407de
push 0x80004005
call fcn.00402d80
mov ecx, dword [esi + 0xc]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x440807
test dx, dx
je 0x440803
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x440807
add ecx, 4
add eax, 4
test dx, dx
jne 0x4407e1
xor eax, eax
jmp 0x44080c
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
jne 0x4407c0
mov edx, dword [ebp - 0x42264]
mov eax, dword [edx]
cmp edx, eax
je 0x440838
mov ecx, dword [esi + 4]
lea edi, [esi + 4]
cmp dword [eax + 8], ecx
je 0x44085b
mov eax, dword [eax]
cmp edx, eax
jne 0x440827
mov edi, dword [ebp - 0x42278]
cmp dword [esi + 0x18], 0
je 0x4407c0
mov eax, dword [esi + 0x10]
test eax, eax
jg 0x4408aa
push dword [esi + 0x14]
mov ecx, edi
call fcn.0043d900
mov byte [ebp - 0x42271], 1
jmp 0x4407c0
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x440832
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea ecx, [ebp - 0x42264]
call fcn.00438ab0
cmp dword [esi + 0x18], 0
mov edi, dword [ebp - 0x42278]
jne 0x4407c0
mov eax, dword [esi + 0x10]
test eax, eax
jg 0x4408aa
mov dword [esi + 0x18], 2
mov byte [ebp - 0x42271], 1
jmp 0x4407c0
dec eax
mov dword [esi + 0x10], eax
jmp 0x4407c0
mov ebx, dword [ebp - 0x42264]
mov esi, dword [ebx]
mov cl, byte [ebp - 0x42271]
cmp ebx, esi
je 0x4409f0
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 0x43adb0
mov dword [ebp - 0x4226c], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [ebp - 0x4226c]
test edi, edi
jne 0x440910
mov esi, dword [esi]
jmp 0x4408bb
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005a7a20
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 + 0x54]
test edi, edi
je 0x4409ad
mov ebx, dword [edi + 8]
lea ecx, [ebp - 0x21c]
mov edi, dword [edi]
mov eax, dword [ebx + 0x2c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x44097a
test dx, dx
je 0x440976
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x44097a
add ecx, 4
add eax, 4
test dx, dx
jne 0x440954
xor eax, eax
jmp 0x44097f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x440942
cmp dword [ebx + 0x18], eax
jne 0x440942
mov eax, dword [ebp - 0x42270]
mov cl, 1
mov dword [ebx + 4], eax
mov dword [ebx + 0x18], 2
mov esi, dword [esi]
mov ebx, dword [ebp - 0x42264]
mov byte [ebp - 0x42271], cl
jmp 0x4408c1
mov cl, byte [ebp - 0x42271]
test cl, cl
jne 0x4409e3
push dword [ebp - 0x42270]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4409dd
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 0x4408c1
mov eax, dword [ebx]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov dword [ebp - 0x42260], 0
cmp eax, ebx
je 0x440a1c
mov esi, dword [eax]
push eax
call fcn.0045dc22
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x440a05
mov cl, byte [ebp - 0x42271]
test cl, cl
je 0x440a4e
call fcn.00404190
push str.CPlayerManager::CheckPlayerState
push str.__s__:_change_on
push eax
call fcn.00425940
mov eax, dword [ebp - 0x42278]
add esp, 0xc
push 0
push 0
push dword [eax + 0x48]
push dword [eax + 0x44]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x42264]
call fcn.0040bfc0
mov al, byte [ebp - 0x42271]
jmp 0x440a88
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.005a3521
mov esp, ebp
pop ebp
ret