Function at 0x41f3f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x6c], 0
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], esi
jne 0x41f499
mov eax, dword [ebp + 0x14]
cmp esi, dword [edi + 0xb8]
jne 0x41f43b
cmp eax, dword [edi + 0xbc]
je 0x41f499
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push eax
push esi
mov ecx, edi
movups xmmword [ebp - 0x20], xmm0
call fcn.00481500
test eax, eax
jne 0x41f4a0
mov dword [edi + 0xb8], 0xffffffff
mov dword [edi + 0xbc], 0xffffffff
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi + 0x1e8]
jne 0x41f47b
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [edi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41f499
push 0
push dword [edi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x41f6b2
push dword [ebp + 0x14]
mov ecx, edi
call fcn.004ae920
movups xmm0, xmmword [ebp - 0x20]
mov edx, dword [ebp + 0x14]
neg edx
mov dword [ebp - 0x3c], eax
movd ecx, xmm0
lea eax, [ebp - 0x30]
sbb edx, edx
push 0
add edx, 4
push 0xfffffffffffffffc
add edx, ecx
movups xmmword [ebp - 0x30], xmm0
push eax
mov dword [ebp - 0x30], edx
call dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [ebp - 0x78]
call fcn.00413720
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x3c]
mov ecx, edi
push esi
call fcn.00468aa0
test eax, eax
je 0x41f672
cmp dword [ebp - 0x78], 0
je 0x41f672
push dword [ebp - 0x3c]
mov ecx, edi
push esi
call fcn.00468c20
sub eax, 2
jne 0x41f603
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041f910
add esp, 8
mov ecx, edi
movups xmm0, xmmword [eax]
push dword [ebp - 0x3c]
movups xmmword [ebp - 0x20], xmm0
push esi
call fcn.00468b60
test eax, 0x400
je 0x41f55c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00417da0
add esp, 8
mov byte [ebp - 4], 1
jmp 0x41f577
test eax, 0x800
lea eax, [ebp - 0x20]
push eax
je 0x41f58e
lea eax, [ebp - 0x38]
push eax
call fcn.00417e10
add esp, 8
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x60]
call fcn.00414200
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00413a30
jmp 0x41f603
lea eax, [ebp - 0x4c]
push eax
call fcn.00417e10
mov esi, eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00417da0
push 0x54dba4
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
call fcn.004143d0
push esi
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push eax
call fcn.00414270
add esp, 0x28
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.00414200
lea ecx, [ebp - 0x38]
call fcn.00413a30
lea ecx, [ebp - 0x44]
call fcn.00413a30
lea ecx, [ebp - 0x48]
call fcn.00413a30
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00413a30
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], 0
je 0x41f669
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 4]
call fcn.004153a0
push dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
mov ecx, edi
push esi
push eax
call fcn.00509650
push dword [eax]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 7
push dword [ebp - 0x60]
lea ecx, [edi + 0x1e4]
push eax
call fcn.0041f1e0
test eax, eax
lea ecx, [ebp - 0x40]
sete byte [ebp - 0x31]
call fcn.00413a30
cmp byte [ebp - 0x31], 0
jne 0x41f669
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xb8], esi
mov dword [edi + 0xbc], eax
mov edi, 1
jmp 0x41f674
push 1
mov ecx, edi
call fcn.00418900
xor edi, edi
mov edx, dword [ebp - 0x5c]
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41f698
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x41f6b0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0x10