Function at 0x41c440
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0080
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x41c485
lea ecx, [ebx + 0x174]
call fcn.0041f520
jmp 0x41c8b4
cmp eax, 2
jne 0x41c8b4
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4eab9c]
cmp eax, dword [ecx + 4]
jle 0x41c4e7
push 0x4eab9c
call fcn.0046e032
add esp, 4
cmp dword [0x4eab9c], 0xffffffff
jne 0x41c4e7
mov ecx, 0x4eaba0
mov dword [0x4eaba0], 0
call fcn.00403ad0
push 0x4b74e0
call fcn.0046e38e
add esp, 4
push 0x4eab9c
call fcn.0046dfe8
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
call fcn.004039d0
mov ecx, eax
test ecx, ecx
je 0x41c900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004425c0
cmp dword [ebx + 0x1b8], 0
je 0x41c56d
mov eax, dword [ebx + 0x1bc]
test eax, eax
jle 0x41c56d
mov edi, dword [ebp - 0x38]
cmp edi, eax
jg 0x41c56d
push dword [ebx + 0x1c0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c56d
mov esi, dword [ebx + 0x1b8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x24]
mov eax, dword [ebx + 0x1bc]
cdq
push edx
push eax
mov eax, edi
cdq
push edx
push eax
push dword [ebx + 0x1c0]
push esi
call ecx
mov edi, dword [ebp - 0x38]
cmp dword [0x4eab34], edi
jge 0x41c641
lea ecx, [ebx + 0xd0]
push edi
call fcn.00421250
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00403ad0
push 0x578
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00412d40
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
call fcn.00403ad0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
push edi
push esi
push eax
call fcn.0040f620
add esp, 8
mov byte [ebp - 0x2d], 0
mov edi, esp
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x34], eax
call fcn.00403c00
mov dl, byte [ebp - 0x2d]
lea ecx, [ebx + 0x100]
add eax, 0x10
mov dword [edi], eax
call fcn.00441ed0
mov edi, dword [ebp - 0x38]
add esp, 4
mov dword [0x4eab34], edi
or edi, 0xffffffff
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x34]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c622
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41c63d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
lea edx, [ebp - 0x14]
mov ecx, 0x4eaba0
call fcn.0041cad0
test al, al
je 0x41c6df
push ecx
mov edi, esp
mov byte [ebp - 0x2d], 0
mov dword [ebp - 0x34], edi
mov esi, dword [ebp - 0x14]
lea ecx, [esi - 0x10]
call fcn.00403c00
mov dl, byte [ebp - 0x2d]
lea ecx, [ebx + 0x104]
add eax, 0x10
mov dword [edi], eax
call fcn.00441ed0
mov edi, dword [0x4eaba0]
lea ecx, [esi - 0x10]
add edi, 0xfffffff0
add esp, 4
cmp ecx, edi
je 0x41c6df
mov eax, dword [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x41c6d1
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x41c6d1
call fcn.00403c00
mov esi, eax
mov byte [ebp - 4], 6
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c6c3
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [esi + 0x10]
mov byte [ebp - 4], 1
mov dword [0x4eaba0], eax
jmp 0x41c6df
push dword [ecx + 4]
mov ecx, 0x4eaba0
push esi
call fcn.0040c5f0
mov al, byte [0x4eaa55]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
test al, al
je 0x41c72c
inc dword [0x4eab30]
cmp dword [ebx + 0xfc], 0x64
je 0x41c72c
lea eax, [ebp - 0x2c]
mov dword [ebx + 0xfc], 0x64
push eax
push dword [ebx + 0xd4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 0xd4]
call esi
cmp dword [0x4eab30], 2
jle 0x41c892
cmp dword [ebx + 0x1b8], 0
je 0x41c766
push dword [ebx + 0x1c0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c766
mov ecx, dword [ebx + 0x1b8]
push 2
push dword [ebx + 0x1c0]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push 0
push dword [ebx + 4]
call esi
call fcn.00446fc0
mov esi, eax
test esi, esi
jne 0x41c7b7
call fcn.004506a0
push esi
lea ecx, [ebx + 0x100]
mov edx, 0x5b8
call fcn.00441a90
add esp, 4
lea ecx, [ebx + 0x104]
mov edx, 0x57a
push esi
call fcn.00441a90
add esp, 4
jmp 0x41c83a
cmp esi, 8
jne 0x41c8d4
call fcn.004506a0
push 0
lea ecx, [ebx + 0x100]
mov edx, 0x5b8
call fcn.00441a90
add esp, 4
lea ecx, [ebx + 0x104]
mov edx, 0x57b
push 0
call fcn.00441a90
add esp, 4
lea ecx, [ebx + 0x13c]
mov edx, 0x57c
push 0
call fcn.00441a90
add esp, 4
lea eax, [ebp - 0x48]
push 0x4e5fb8
push eax
call fcn.00403d00
push ecx
push eax
lea ecx, [ebx + 0x104]
call fcn.00403d90
push 0x4e5fc8
lea eax, [ebp - 0x58]
push eax
call fcn.00403d00
push ecx
push eax
lea ecx, [ebx + 0x13c]
call fcn.00403d90
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push dword [0x4eaa64]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0xd4]
call esi
push 5
push dword [ebx + 0x10c]
call esi
push 1
push dword [ebx + 0x13c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [ebx + 0x13c]
call esi
push dword [ebx + 0x13c]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov dword [ebp - 4], 8
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c8b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046de82
mov esp, ebp
pop ebp
ret 0x10
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.0044f050
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0041cb60
xor edx, edx
mov ecx, eax
call fcn.00450c10
lea ecx, [ebp - 0x34]
call fcn.00403ca0
push esi
call fcn.0048d39b
push 0x80004005
call fcn.00403b40
int3