Function at 0x41b680
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0890
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e706c]
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 0x41b6c5
lea ecx, [ebx + 0x174]
call fcn.0041e920
jmp 0x41baf4
cmp eax, 2
jne 0x41baf4
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4ecb9c]
cmp eax, dword [ecx + 4]
jle 0x41b727
push 0x4ecb9c
call fcn.0046e8bf
add esp, 4
cmp dword [0x4ecb9c], 0xffffffff
jne 0x41b727
mov ecx, 0x4ecba0
mov dword [0x4ecba0], 0
call fcn.00403b40
push 0x4b7ea0
call fcn.0046ec1b
add esp, 4
push 0x4ecb9c
call fcn.0046e875
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
call fcn.00403a40
mov ecx, eax
test ecx, ecx
je 0x41bb40
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.004426e0
cmp dword [ebx + 0x1b8], 0
je 0x41b7ad
mov eax, dword [ebx + 0x1bc]
test eax, eax
jle 0x41b7ad
mov edi, dword [ebp - 0x38]
cmp edi, eax
jg 0x41b7ad
push dword [ebx + 0x1c0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b7ad
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 [0x4ecb34], edi
jge 0x41b881
lea ecx, [ebx + 0xd0]
push edi
call fcn.00421290
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.0041c0e0
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.00441ff0
mov edi, dword [ebp - 0x38]
add esp, 4
mov dword [0x4ecb34], 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 0x41b862
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 0x41b87d
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, 0x4ecba0
call fcn.0041bd10
test al, al
je 0x41b91f
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.00441ff0
mov edi, dword [0x4ecba0]
lea ecx, [esi - 0x10]
add edi, 0xfffffff0
add esp, 4
cmp ecx, edi
je 0x41b91f
mov eax, dword [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x41b911
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x41b911
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 0x41b903
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 [0x4ecba0], eax
jmp 0x41b91f
push dword [ecx + 4]
mov ecx, 0x4ecba0
push esi
call fcn.0040c650
mov al, byte [0x4eca51]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
test al, al
je 0x41b96c
inc dword [0x4ecb30]
cmp dword [ebx + 0xfc], 0x64
je 0x41b96c
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 [0x4ecb30], 2
jle 0x41bad2
cmp dword [ebx + 0x1b8], 0
je 0x41b9a6
push dword [ebx + 0x1c0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b9a6
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.004470e0
mov esi, eax
test esi, esi
jne 0x41b9f7
call fcn.00450770
push esi
lea ecx, [ebx + 0x100]
mov edx, 0x5b8
call fcn.00441bb0
add esp, 4
lea ecx, [ebx + 0x104]
mov edx, 0x57a
push esi
call fcn.00441bb0
add esp, 4
jmp 0x41ba7a
cmp esi, 8
jne 0x41bb14
call fcn.00450770
push 0
lea ecx, [ebx + 0x100]
mov edx, 0x5b8
call fcn.00441bb0
add esp, 4
lea ecx, [ebx + 0x104]
mov edx, 0x57b
push 0
call fcn.00441bb0
add esp, 4
lea ecx, [ebx + 0x13c]
mov edx, 0x57c
push 0
call fcn.00441bb0
add esp, 4
lea eax, [ebp - 0x48]
push 0x4e7fb8
push eax
call fcn.00403d70
push ecx
push eax
lea ecx, [ebx + 0x104]
call fcn.00403e00
push 0x4e7fc8
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 [0x4eca60]
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 0x41baf4
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.0046e70f
mov esp, ebp
pop ebp
ret 0x10
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.0044f120
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0041bda0
xor edx, edx
mov ecx, eax
call fcn.00450ce0
lea ecx, [ebp - 0x34]
call fcn.00403d10
push esi
call fcn.0048dc1b
push 0x80004005
call fcn.00403bb0
int3