Function at 0x450590
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
call fcn.00404960
mov dword [ebp - 0x24], eax
push edi
call dword [sym.imp.USER32.DLL_GetDC]
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x14], eax
push edi
call dword [sym.imp.USER32.DLL_GetWindowRect]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
push dword [0x479fc0]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.DLL_SelectObject]
test esi, esi
je 0x45061b
mov dword [ebp + 8], edi
xor edi, edi
mov ebx, edi
cmp dword [esi + edi*4], 0
je 0x450622
lea edx, [ebp - 0x30]
push edx
push dword [esi + ebx*4]
call fcn.00460634
add esp, 4
push eax
push dword [esi + ebx*4]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.DLL_GetTextExtentPoint32A]
cmp edi, dword [ebp - 0x30]
jg 0x450612
mov edi, dword [ebp - 0x30]
inc ebx
cmp dword [esi + ebx*4], 0
jne 0x4505ee
jmp 0x450622
mov dword [ebp + 8], edi
xor ebx, ebx
mov edi, ebx
lea ecx, [edi + 0x2a]
cmp ecx, dword [ebp - 0x1c]
jl 0x45062d
mov dword [ebp - 0x1c], ecx
mov edx, ebx
imul edx, dword [ebp - 0x2c]
add edx, 0x3c
cmp edx, dword [ebp - 0x20]
jl 0x45063e
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x24]
fld dword [ecx + 0x39c]
ftst
fnstsw ax
fstp st(0)
sahf
jne 0x450696
fld dword [ecx + 0x3a0]
ftst
fnstsw ax
fstp st(0)
sahf
jne 0x450696
push 0
mov edi, dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetSystemMetrics]
sub eax, dword [ebp - 0x1c]
test eax, eax
jns 0x450672
inc eax
sar eax, 1
mov ebx, eax
push 1
call dword [sym.imp.USER32.DLL_GetSystemMetrics]
mov ecx, eax
mov eax, 0x55555556
sub ecx, dword [ebp - 0x20]
imul ecx
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov dword [ebp - 0x28], edx
jmp 0x45069e
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], ebx
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push ebx
push edi
call dword [sym.imp.USER32.DLL_MoveWindow]
test esi, esi
je 0x450702
mov edx, dword [esi]
mov ecx, 0x57
cmp byte [edx], cl
je 0x4506c5
cmp byte [edx + 1], cl
jne 0x4506cc
mov dword [ebp + 0x10], 1
xor ebx, ebx
cmp dword [esi + ebx*4], 0
je 0x450702
push 0
lea edx, [ebx + 0x321]
push dword [0x479fc0]
push 0x30
push edx
mov dword [ebp - 0x18], edx
push edi
call dword [sym.imp.USER32.DLL_SendDlgItemMessageA]
push dword [esi + ebx*4]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.USER32.DLL_SetDlgItemTextA]
inc ebx
cmp ebx, 9
jb 0x4506ce
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x450719
push 0x472dac
push edi
call fcn.00450c6d
add esp, 8
jmp 0x450755
cmp esi, 1
jne 0x45072e
push 0x472db0
push edi
call fcn.00450c6d
add esp, 8
jmp 0x450755
cmp esi, 2
jne 0x450743
push 0x472db8
push edi
call fcn.00450c6d
add esp, 8
jmp 0x450755
test esi, esi
je 0x450755
push 0x472dc0
push edi
call fcn.00450c6d
add esp, 8
lea eax, [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0x24]
add ebx, 0x39c
push ebx
push edi
call fcn.00450d23
push 0
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edi
call dword [sym.imp.USER32.DLL_MoveWindow]
push 5
push edi
call dword [sym.imp.USER32.DLL_ShowWindow]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.USER32.DLL_ReleaseDC]
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret