Function at 0x41b5f0
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af6e0
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 0x41b635
lea ecx, [ebx + 0x174]
call fcn.0041e890
jmp 0x41ba64
cmp eax, 2
jne 0x41ba64
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4eab9c]
cmp eax, dword [ecx + 4]
jle 0x41b697
push 0x4eab9c
call fcn.0046d6f6
add esp, 4
cmp dword [0x4eab9c], 0xffffffff
jne 0x41b697
mov ecx, 0x4eaba0
mov dword [0x4eaba0], 0
call fcn.00403b40
push 0x4b6ba0
call fcn.0046da52
add esp, 4
push 0x4eab9c
call fcn.0046d6ac
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
call fcn.00403a40
mov ecx, eax
test ecx, ecx
je 0x41bab0
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.00442620
cmp dword [ebx + 0x1b8], 0
je 0x41b71d
mov eax, dword [ebx + 0x1bc]
test eax, eax
jle 0x41b71d
mov edi, dword [ebp - 0x38]
cmp edi, eax
jg 0x41b71d
push dword [ebx + 0x1c0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b71d
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 0x41b7f1
lea ecx, [ebx + 0xd0]
push edi
call fcn.004211f0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00403b40
push 0x578
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0041c060
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
call fcn.00403b40
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
push edi
push esi
push eax
call fcn.0040f680
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.00403c70
mov dl, byte [ebp - 0x2d]
lea ecx, [ebx + 0x100]
add eax, 0x10
mov dword [edi], eax
call fcn.00441f30
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 0x41b7d2
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 0x41b7ed
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.0041bc80
test al, al
je 0x41b88f
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.00403c70
mov dl, byte [ebp - 0x2d]
lea ecx, [ebx + 0x104]
add eax, 0x10
mov dword [edi], eax
call fcn.00441f30
mov edi, dword [0x4eaba0]
lea ecx, [esi - 0x10]
add edi, 0xfffffff0
add esp, 4
cmp ecx, edi
je 0x41b88f
mov eax, dword [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x41b881
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x41b881
call fcn.00403c70
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 0x41b873
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 0x41b88f
push dword [ecx + 4]
mov ecx, 0x4eaba0
push esi
call fcn.0040c650
mov al, byte [0x4eaa51]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
test al, al
je 0x41b8dc
inc dword [0x4eab30]
cmp dword [ebx + 0xfc], 0x64
je 0x41b8dc
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 0x41ba42
cmp dword [ebx + 0x1b8], 0
je 0x41b916
push dword [ebx + 0x1c0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b916
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.00447020
mov esi, eax
test esi, esi
jne 0x41b967
call fcn.004500f0
push esi
lea ecx, [ebx + 0x100]
mov edx, 0x5b8
call fcn.00441af0
add esp, 4
lea ecx, [ebx + 0x104]
mov edx, 0x57a
push esi
call fcn.00441af0
add esp, 4
jmp 0x41b9ea
cmp esi, 8
jne 0x41ba84
call fcn.004500f0
push 0
lea ecx, [ebx + 0x100]
mov edx, 0x5b8
call fcn.00441af0
add esp, 4
lea ecx, [ebx + 0x104]
mov edx, 0x57b
push 0
call fcn.00441af0
add esp, 4
lea ecx, [ebx + 0x13c]
mov edx, 0x57c
push 0
call fcn.00441af0
add esp, 4
lea eax, [ebp - 0x48]
push 0x4e5fb8
push eax
call fcn.00403d70
push ecx
push eax
lea ecx, [ebx + 0x104]
call fcn.00403e00
push 0x4e5fc8
lea eax, [ebp - 0x58]
push eax
call fcn.00403d70
push ecx
push eax
lea ecx, [ebx + 0x13c]
call fcn.00403e00
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push dword [0x4eaa60]
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 0x41ba64
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.0046d546
mov esp, ebp
pop ebp
ret 0x10
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.0044f060
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0041bd10
xor edx, edx
mov ecx, eax
call fcn.00450570
lea ecx, [ebp - 0x34]
call fcn.00403d10
push esi
call fcn.0048ca6b
push 0x80004005
call fcn.00403bb0
int3