Function at 0x41f880
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x45a204]
sub esp, 0x14
push esi
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call esi
test eax, eax
je 0x41f8d3
mov ecx, dword [0x45a204]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41f8d3
mov esi, 0x80000000
test dword [0x45a258], esi
je 0x41f92a
mov edx, dword [0x45a204]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [0x45a25c], esi
mov eax, 1
pop esi
add esp, 0x14
ret
test dword [0x45a258], 0x80000000
jne 0x41f8c9
mov eax, dword [0x45a204]
push eax
call esi
test eax, eax
je 0x41f8fc
mov ecx, dword [0x45a204]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41f920
mov edx, dword [0x45a200]
mov eax, dword [0x459f78]
push 0
push 0x41fdf0
push edx
push 0xa1
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x45a204], eax
and dword [0x45a25c], 0x7fffffff
mov esi, dword [0x45a234]
mov edx, dword [0x45a22c]
mov ecx, dword [0x45a238]
push ebx
push ebp
mov ebp, dword [0x45a238]
push edi
mov edi, dword [0x45a230]
mov eax, esi
xor ebx, ebx
sub eax, edx
sub ecx, edi
mov dword [esp + 0x20], ebp
mov ebp, dword [0x45a21c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x30], ebx
je 0x41f99e
mov edi, dword [0x45a220]
add edi, 0x14
lea edx, [ebp + 0x14]
lea ebx, [edi + ecx]
lea esi, [edx + eax]
mov dword [0x45a238], ebx
mov dword [0x45a22c], edx
mov dword [0x45a234], esi
mov dword [0x45a230], edi
mov ebx, 1
lea ebp, [eax + ebp + 0x28]
cmp dword [esp + 0x28], ebp
jge 0x41f9ca
add esi, 0x14
cmp esi, dword [esp + 0x28]
jle 0x41f9fc
mov edx, dword [0x45a224]
add edx, 0xffffffec
mov dword [0x45a234], edx
sub edx, eax
mov dword [0x45a22c], edx
jmp 0x41f9fb
mov ebp, dword [0x45a224]
mov esi, dword [esp + 0x28]
sub ebp, eax
sub ebp, 0x28
cmp esi, ebp
jle 0x41f9fc
add edx, 0xffffffec
cmp edx, esi
jge 0x41f9fc
mov edx, dword [0x45a21c]
add edx, 0x14
mov dword [0x45a22c], edx
add edx, eax
mov dword [0x45a234], edx
inc ebx
mov edx, dword [0x45a220]
mov eax, dword [esp + 0x2c]
lea esi, [edx + ecx + 0x28]
cmp eax, esi
jge 0x41fa31
mov edx, dword [0x45a238]
add edx, 0x14
cmp edx, eax
jle 0x41fa57
mov eax, dword [0x45a228]
add eax, 0xffffffec
mov dword [0x45a238], eax
sub eax, ecx
mov dword [0x45a230], eax
jmp 0x41fa56
mov esi, dword [0x45a228]
sub esi, ecx
sub esi, 0x28
cmp eax, esi
jle 0x41fa57
add edi, 0xffffffec
cmp edi, eax
jge 0x41fa57
lea eax, [edx + 0x14]
mov dword [0x45a230], eax
add eax, ecx
mov dword [0x45a238], eax
inc ebx
test ebx, ebx
jle 0x41fb5d
mov eax, dword [0x45a200]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 6
push esi
call dword [sym.imp.GDI32.dll_SetROP2]
cmp dword [0x45a260], 0
mov ebp, dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
je 0x41fad8
mov ecx, dword [0x45a238]
mov edx, dword [0x45a234]
mov eax, dword [0x45a230]
push ecx
mov ecx, dword [0x45a22c]
push edx
push eax
push ecx
call ebp
mov ebx, eax
push ebx
push esi
call edi
push 4
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [0x45a260]
push eax
push edx
push esi
call dword [sym.imp.GDI32.dll_FillRgn]
mov eax, dword [esp + 0x10]
push eax
push esi
call edi
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x45a230]
mov edx, dword [0x45a22c]
mov eax, dword [0x45a204]
push 5
push 0
push 0
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [0x45a260], 0
je 0x41fb43
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call ebp
mov ebx, eax
push ebx
push esi
call edi
push 4
mov ebp, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [0x45a260]
push eax
push edx
push esi
call dword [sym.imp.GDI32.dll_FillRgn]
push ebp
push esi
call edi
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x45a200]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x14
ret
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x14
ret