Function at 0x41f1f0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
push edi
mov edi, ecx
mov ecx, 0x43bc08
mov dword [esp + 4], edi
call fcn.0040fca0
test eax, eax
jne 0x41f212
mov eax, dword [edi + 4]
pop edi
add esp, 0x34
ret 0x10
mov eax, dword [0x43d848]
push ebx
push ebp
cmp eax, 7
push esi
jne 0x41f297
mov eax, dword [0x43d86c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41f289
mov eax, dword [0x43d86c]
mov dword [eax + 8], eax
lea esi, [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x43d7e4
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x43d818]
push 0x43d7e4
mov dword [esi + 8], edx
mov dword [0x43d818], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x50]
mov ecx, dword [0x43d7b8]
push 0
push 0x413e70
push eax
push 0xee
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov eax, dword [0x43d86c]
test eax, eax
je 0x41f30f
lea ebp, [eax + 4]
jmp 0x41f311
mov eax, dword [0x43d860]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41f301
mov eax, dword [0x43d860]
mov dword [eax + 8], eax
lea esi, [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x43d7e4
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x43d818]
push 0x43d7e4
mov dword [esi + 8], edx
mov dword [0x43d818], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x50]
mov ecx, dword [0x43d7b8]
push 0
push 0x413e70
push eax
push 0xef
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov eax, dword [0x43d860]
test eax, eax
je 0x41f30f
lea ebp, [eax + 4]
jmp 0x41f311
xor ebp, ebp
mov edx, dword [edi + 4]
mov esi, dword [esp + 0x4c]
mov dword [eax + 0x20], edx
mov eax, dword [ebp]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test esi, esi
jne 0x41f351
test edi, 0x40000000
je 0x41f343
mov ecx, dword [ebp]
push ecx
call ebx
jmp 0x41f34f
mov edx, dword [ebp]
push 4
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov ecx, dword [ebp]
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
test edi, 0x40000000
jne 0x41f3ca
test esi, esi
je 0x41f385
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x41f383
test eax, 0x20000000
je 0x41f385
xor esi, esi
lea edx, [esp + 0x24]
push 0
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test esi, esi
jne 0x41f3bc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x41f3f7
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x41f3f7
mov edx, dword [ebp]
push edx
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
mov edi, eax
lea eax, [esp + 0x24]
push eax
push edi
call ebx
lea ecx, [esp + 0x14]
push ecx
push esi
call ebx
lea edx, [esp + 0x14]
push 2
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
add eax, ecx
sub ebx, edx
cdq
sub eax, edx
sub edi, esi
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x18]
add eax, edx
cdq
sub eax, edx
mov esi, eax
mov eax, ebx
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x24]
cmp ecx, eax
jl 0x41f454
mov eax, dword [esp + 0x2c]
lea edx, [ecx + edi]
cmp edx, eax
jle 0x41f456
sub eax, edi
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp esi, eax
jl 0x41f46b
mov eax, dword [esp + 0x30]
lea edx, [esi + ebx]
cmp edx, eax
jle 0x41f46d
sub eax, ebx
mov esi, eax
mov eax, dword [ebp]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [ecx + 4]
push edx
call esi
mov eax, dword [ebp]
push 5
push eax
call esi
mov eax, dword [ebp]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x34
ret 0x10