Function at 0x41c5b7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5c3dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0xd0], edi
jne 0x41c5f7
push 0x3020
push dword [esi + 0x20]
call ebx
test eax, eax
je 0x41c5f7
push edi
push edi
push 0x200
push eax
call fcn.00410bd0
test dword [esi + 0x84], 0x1000020
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
jne 0x41c700
push 0x3020
push dword [esi + 0x20]
call ebx
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
call edi
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00417d0a
xor eax, eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
jge 0x41c700
sub eax, dword [ebp - 0x10]
xor edi, edi
sub eax, dword [ebp - 0x18]
push 0x16
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push edi
push edi
push edi
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 0x5c3280]
push dword [esi + 0x20]
call ebx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41c6ca
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00417d0a
mov eax, dword [ebp - 0x10]
xor ecx, ecx
sub eax, dword [ebp - 0x2c]
push 0x15
push ecx
push ecx
push eax
push dword [ebp - 0x14]
push ecx
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
add edi, 4
cmp edi, 0x10
jb 0x41c688
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
call edi
mov eax, dword [ebp - 8]
mov ecx, esi
sub eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x2c]
push 0x16
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
xor eax, eax
push eax
push eax
push eax
call fcn.00414d6a
mov ecx, esi
call fcn.0040fdc0
mov dword [ebp - 0x28], eax
xor eax, eax
cmp dword [esi + 0xd4], eax
je 0x41c7ac
test dword [esi + 0x84], 0x1000020
jne 0x41c7ac
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x20]
call edi
xor eax, eax
push 1
push dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call ebx
test eax, eax
je 0x41c779
lea ecx, [ebp - 0x14]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x10]
mov ecx, esi
sub eax, dword [ebp - 0x20]
push 0x16
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
xor eax, eax
push eax
push eax
push eax
call fcn.00414d6a
xor edi, edi
push dword [edi + 0x5c3280]
push dword [esi + 0x20]
call ebx
mov ebx, eax
test ebx, ebx
je 0x41c79e
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
add edi, 4
cmp edi, 0x10
jb 0x41c77b
mov ecx, esi
call fcn.00414b3b
test eax, 0x40000000
jne 0x41c7c3
push 0
mov ecx, esi
call fcn.0040f89d
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005235c9
mov esp, ebp
pop ebp
ret