Function at 0x415b5c
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [0x44333c]
push esi
xor esi, esi
mov dword [ebp - 8], esi
cmp ecx, esi
je 0x415b80
push 0x408b5c
push esi
push 0x64
call fcn.00426404
lea eax, [ebp - 8]
push eax
call fcn.0041575c
cmp eax, esi
mov dword [ebp - 4], eax
jge 0x415bb0
mov ecx, dword [0x44333c]
cmp ecx, esi
je 0x415e19
push 0x408b00
push esi
push 0x3c
call fcn.00426404
jmp 0x415e19
push ebx
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
mov edi, 0x408208
push edi
call esi
mov ebx, 0x80000000
test eax, eax
jne 0x415c69
push 0x2710
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x415e17
push 0
push edi
call esi
test eax, eax
jne 0x415c69
mov ecx, dword [0x44333c]
xor esi, esi
cmp ecx, esi
je 0x415c06
push 0x408a90
push esi
push 0x3c
call fcn.00426404
cmp dword [0x444664], esi
je 0x415ccd
mov al, byte [0x444668]
cmp al, 3
jae 0x415c23
test al, al
jne 0x415ccd
mov ecx, dword [0x444654]
and ecx, ebx
xor eax, eax
or eax, ecx
je 0x415ccd
mov ecx, dword [0x44465c]
mov eax, ecx
xor edx, edx
and eax, ebx
cmp edx, dword [0x444658]
jne 0x415ccd
cmp eax, ecx
jne 0x415ccd
push 0x406958
push dword [0x444634]
push dword [0x444630]
call fcn.0041269f
jmp 0x415ccd
push 0
push 0xf060
push 0x112
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
jne 0x415cb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x415c94
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x44333c]
test eax, eax
je 0x415cb5
push dword [ebp - 4]
push 0x408a20
push 0
push 0x3c
push eax
call fcn.004264d9
add esp, 0x14
push 0x2710
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x415e17
xor esi, esi
push 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x415d7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x415cf4
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x44333c]
cmp eax, esi
je 0x415d14
push dword [ebp - 4]
push 0x408998
push esi
push 0x3c
push eax
call fcn.004264d9
add esp, 0x14
cmp dword [0x444664], esi
je 0x415e17
mov al, byte [0x444668]
cmp al, 3
jae 0x415d31
test al, al
jne 0x415e17
mov ecx, dword [0x444654]
and ecx, ebx
xor eax, eax
or eax, ecx
je 0x415e17
mov ecx, dword [0x44465c]
mov eax, ecx
xor edx, edx
and eax, ebx
cmp edx, dword [0x444658]
jne 0x415e17
cmp eax, ecx
jne 0x415e17
push 0x406968
push dword [0x444634]
push dword [0x444630]
call fcn.0041269f
jmp 0x415e17
cmp dword [0x444664], esi
je 0x415dcf
mov al, byte [0x444668]
cmp al, 3
jae 0x415d93
test al, al
jne 0x415dcf
mov ecx, dword [0x444654]
and ecx, ebx
xor eax, eax
or eax, ecx
je 0x415dcf
mov ecx, dword [0x44465c]
mov eax, ecx
xor edx, edx
and eax, ebx
cmp edx, dword [0x444658]
jne 0x415dcf
cmp eax, ecx
jne 0x415dcf
push 0x406948
push dword [0x444634]
push dword [0x444630]
call fcn.0041269f
mov ecx, dword [0x44333c]
cmp ecx, esi
je 0x415de6
push 0x408910
push esi
push 0x64
call fcn.00426404
push 0x7d0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x415e17
mov ecx, dword [0x44333c]
mov dword [ebp - 4], 0x80004005
cmp ecx, esi
je 0x415e17
push 0x408858
push 0
push 0x3c
call fcn.00426404
pop edi
pop ebx
cmp dword [ebp - 8], 0
pop esi
je 0x415e29
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x44333c]
test eax, eax
je 0x415e47
push dword [ebp - 4]
push 0x408828
push 0
push 0x64
push eax
call fcn.004264d9
add esp, 0x14
mov eax, dword [ebp - 4]
leave
ret