Function at 0x41c873
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
push esi
mov esi, ecx
push 0x3ee
mov dword [esp + 8], esi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x41ca77
mov eax, dword [0x43d85c]
push ebx
push ebp
push edi
push eax
add eax, 8
push eax
push 0x43d7b0
call fcn.00418f60
mov ecx, dword [esp + 0x50]
mov edx, dword [0x43d7b8]
push 0
push 0x413e70
push ecx
push 0xf3
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov eax, dword [0x43d85c]
mov esi, dword [esp + 0x4c]
push 0xfffffffffffffff0
mov ecx, dword [eax + 4]
lea ebp, [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test esi, esi
jne 0x41c908
test edi, 0x40000000
je 0x41c8fa
mov edx, dword [ebp]
push edx
call ebx
jmp 0x41c906
mov eax, dword [ebp]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov edx, dword [ebp]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
test edi, 0x40000000
jne 0x41c981
test esi, esi
je 0x41c93c
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x41c93a
test eax, 0x20000000
je 0x41c93c
xor esi, esi
lea eax, [esp + 0x24]
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test esi, esi
jne 0x41c973
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x41c9ae
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x41c9ae
mov eax, dword [ebp]
push eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x24]
mov edi, eax
push ecx
push edi
call ebx
lea edx, [esp + 0x14]
push edx
push esi
call ebx
lea eax, [esp + 0x14]
push 2
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
sub ebx, edx
mov edx, dword [esp + 0x14]
sub edi, esi
lea eax, [ecx + edx]
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x20]
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 0x41ca0c
mov eax, dword [esp + 0x2c]
lea edx, [ecx + edi]
cmp edx, eax
jle 0x41ca0e
sub eax, edi
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp esi, eax
jl 0x41ca23
mov eax, dword [esp + 0x30]
lea edx, [esi + ebx]
cmp edx, eax
jle 0x41ca25
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 eax, dword [esp + 0x10]
mov edx, dword [0x43d85c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [eax + 4]
mov dword [edx + 0x20], ecx
mov eax, dword [eax + 4]
push eax
call esi
mov ecx, dword [0x43d85c]
push 5
mov edx, dword [ecx + 4]
push edx
call esi
mov eax, dword [0x43d85c]
pop edi
pop ebp
pop ebx
mov eax, dword [eax + 4]
pop esi
add esp, 0x34
ret 0x10
mov eax, dword [0x43d858]
push eax
add eax, 8
push eax
push 0x43d7b0
call fcn.00418f60
mov ecx, dword [esp + 0x44]
mov edx, dword [0x43d7b8]
push 0
push 0x413e70
push ecx
push 0xf4
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov eax, dword [esp + 0x40]
mov ecx, dword [0x43d858]
push eax
add ecx, 4
call fcn.00418fc0
mov eax, dword [0x43d858]
mov edx, dword [esi + 4]
push 0
mov dword [eax + 0x20], edx
mov ecx, dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push ecx
call esi
mov edx, dword [0x43d858]
push 5
mov eax, dword [edx + 4]
push eax
call esi
mov ecx, dword [0x43d858]
pop esi
mov eax, dword [ecx + 4]
add esp, 0x34
ret 0x10