Function at 0x451363
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x612120]
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 0x4513a3
push 0x3020
push dword [esi + 0x20]
call ebx
test eax, eax
je 0x4513a3
push edi
push edi
push 0x200
push eax
call fcn.0043e04e
test dword [esi + 0x84], 0x1000020
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
jne 0x4514ac
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.00447851
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 0x4514ac
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 + 0x611518]
push dword [esi + 0x20]
call ebx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x451476
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.00447851
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 0x451434
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.004445d7
mov ecx, esi
call fcn.0043d23b
mov dword [ebp - 0x28], eax
xor eax, eax
cmp dword [esi + 0xd4], eax
je 0x451558
test dword [esi + 0x84], 0x1000020
jne 0x451558
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 0x451525
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.004445d7
xor edi, edi
push dword [edi + 0x611518]
push dword [esi + 0x20]
call ebx
mov ebx, eax
test ebx, ebx
je 0x45154a
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 0x451527
mov ecx, esi
call fcn.00444133
test eax, 0x40000000
jne 0x45156f
push 0
mov ecx, esi
call fcn.0043cd23
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00564ee1
mov esp, ebp
pop ebp
ret