Function at 0x449fe9
Capabilities:
Hide graphical window

Disassembly:
push 0xcc
mov eax, 0x518556
call fcn.004d8af2
mov ebx, ecx
mov dword [ebp - 0x84], ebx
cmp dword [ebx + 0x68], 0
lea edi, [ebx + 0x24]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xac], edi
jne 0x44a028
xor ecx, ecx
mov eax, ebx
test edi, edi
push 1
cmove eax, ecx
push dword [eax + 4]
call esi
mov dword [ebx + 0x68], eax
cmp dword [ebx + 0x6c], 0
jne 0x44a041
xor ecx, ecx
mov eax, ebx
test edi, edi
push 2
cmove eax, ecx
push dword [eax + 4]
call esi
mov dword [ebx + 0x6c], eax
cmp dword [ebx + 0x70], 0
jne 0x44a05d
xor ecx, ecx
mov eax, ebx
test edi, edi
push 0x3ed
cmove eax, ecx
push dword [eax + 4]
call esi
mov dword [ebx + 0x70], eax
and dword [ebp - 0x70], 0
lea eax, [ebx + 4]
mov esi, dword [ebx + 0x7c]
xor edi, edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x74], eax
cmp esi, dword [ebx + 0x80]
je 0x44a658
lea eax, [ebx + 0x88]
mov dword [ebp - 0xcc], 0x53d648
mov dword [ebp - 0xa8], eax
mov ecx, dword [esi + 0x10]
sub ecx, 0x10
call fcn.004070e7
add eax, 0x10
mov dword [ebp - 0x6c], eax
and dword [ebp - 4], 0
mov eax, dword [esi + 0xc]
push 0x98
mov dword [ebp - 0x88], eax
call fcn.004d8429
mov edi, eax
pop ecx
mov ecx, edi
mov dword [ebp - 0xa0], edi
call fcn.00449433
lea ebx, [edi + 0x30]
xor eax, eax
mov dword [ebx + 4], eax
lea ecx, [edi + 0x54]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [edi], vtable.CAppOptionsChildDialogBaseT_class_CAppOptionsAppDialog_.0
mov dword [ebx], vtable.CAppOptionsChildDialogBaseT_class_CAppOptionsAppDialog_.1.0
call fcn.0044a7d3
mov dword [edi], vtable.CAppOptionsAppDialog.1.0
mov dword [ebx], vtable.CAppOptionsAppDialog.0
and dword [edi + 0x90], 0
and dword [edi + 0x94], 0
mov dword [ebp - 0x8c], edi
push 0x10
mov byte [ebp - 4], 1
call fcn.004d8429
pop ecx
mov ecx, eax
xor edx, edx
mov edi, ecx
mov dword [ebp - 0x7c], ecx
xor eax, eax
mov dword [ebp - 0xc4], ecx
inc edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0xa0]
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx], vtable.std::_Ref_count_class_CAppOptionsAppDialog_.0
mov dword [ecx + 0xc], edi
mov dword [ebp - 0xc8], edi
mov eax, dword [ebp - 0x84]
mov byte [ebp - 4], 2
lea ecx, [eax + 0x20]
mov dword [ebp - 0xb0], ecx
mov ecx, eax
add eax, 0x20
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x6c]
mov dword [edi + 4], ecx
lea ecx, [edi + 0x2c]
push eax
call fcn.00405d6e
mov eax, dword [ebp - 0x74]
push ecx
mov ecx, ebx
push dword [eax]
call fcn.004ac0e8
xor ebx, ebx
lea ecx, [edi + 0x34]
push ebx
push 0x800000
push ebx
call fcn.00405c3e
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], ebx
push eax
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_GetClientRect]
push 5
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
push 1
push ecx
push eax
push dword [ebp - 0x80]
push ebx
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [ebp - 0x6c]
push dword [edi + 0x90]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push dword [ebp - 0x88]
push 0x170
push dword [edi + 0x94]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x70]
cmp ecx, eax
cmovbe ecx, eax
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.004070e7
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0xd0], eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.004070e7
add eax, 0x10
mov dword [ebp - 0xb8], eax
push 0x53d648
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 4
call fcn.00406fea
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 5
push eax
call fcn.004b5e7b
mov edx, dword [ebp - 0x7c]
mov eax, dword [eax]
lea ecx, [edx + 4]
lock inc dword [ecx]
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edx
test ecx, ecx
je 0x44a286
call fcn.00405adf
lea ecx, [ebp - 0xb8]
call fcn.00407c33
mov ecx, ebx
call fcn.00407189
mov ecx, dword [esi]
mov edi, dword [ebp - 0x80]
mov edx, edi
mov dword [ebp - 0x68], edx
mov eax, dword [ecx]
mov dword [ebp - 0x88], eax
cmp eax, ecx
je 0x44a619
mov ecx, dword [ebp - 0x84]
add ecx, 0x74
mov dword [ebp - 0x8c], ecx
xor edi, edi
lea ecx, [eax + 8]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], edi
mov byte [ebp - 4], 6
cmp byte [ecx + 0x10], 0
je 0x44a359
push 0x98
call fcn.004d8429
mov ebx, eax
pop ecx
mov ecx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x78], ebx
call fcn.00449433
mov dword [ebx + 0x34], edi
lea ecx, [ebx + 0x54]
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x4c], edi
mov dword [ebx], vtable.CAppOptionsChildDialogBaseT_class_CAppOptionsCheckDialog_.0
mov dword [ebx + 0x30], vtable.CAppOptionsChildDialogBaseT_class_CAppOptionsCheckDialog_.1.0
call fcn.0044a7d3
mov dword [ebx], vtable.CAppOptionsCheckDialog.1.0
mov dword [ebx + 0x30], vtable.CAppOptionsCheckDialog.0
mov dword [ebx + 0x94], edi
mov dword [ebp - 0x78], ebx
push 0x10
mov byte [ebp - 4], 7
call fcn.004d8429
pop ecx
mov ecx, eax
xor eax, eax
mov edi, ecx
mov dword [ebp - 0x64], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx], vtable.std::_Ref_count_class_CAppOptionsCheckDialog_.0
jmp 0x44a453
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x14]
sar eax, 2
push 0x9c
test eax, eax
je 0x44a3e0
call fcn.004d8429
mov ebx, eax
pop ecx
mov ecx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x64], ebx
call fcn.00449433
mov dword [ebx + 0x34], edi
lea ecx, [ebx + 0x54]
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x4c], edi
mov dword [ebx], vtable.CAppOptionsChildDialogBaseT_class_CAppOptionsChoiceDialog_.0
mov dword [ebx + 0x30], vtable.CAppOptionsChildDialogBaseT_class_CAppOptionsChoiceDialog_.1.0
call fcn.0044a7d3
mov dword [ebx], vtable.CAppOptionsChoiceDialog.1.0
mov dword [ebx + 0x30], vtable.CAppOptionsChoiceDialog.0
mov dword [ebx + 0x94], edi
mov dword [ebx + 0x98], edi
mov dword [ebp - 0x64], ebx
push 0x10
mov byte [ebp - 4], 8
call fcn.004d8429
pop ecx
mov ecx, eax
xor eax, eax
mov edi, ecx
mov dword [ebp - 0x64], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx], vtable.std::_Ref_count_class_CAppOptionsChoiceDialog_.0
jmp 0x44a453
call fcn.004d8429
mov ebx, eax
pop ecx
mov ecx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x64], ebx
call fcn.00449433
mov dword [ebx + 0x34], edi
lea ecx, [ebx + 0x54]
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x4c], edi
mov dword [ebx], vtable.CAppOptionsChildDialogBaseT_class_CAppOptionsTextDialog_.0
mov dword [ebx + 0x30], vtable.CAppOptionsChildDialogBaseT_class_CAppOptionsTextDialog_.1.0
call fcn.0044a7d3
mov dword [ebx], vtable.CAppOptionsTextDialog.1.0
mov dword [ebx + 0x30], vtable.CAppOptionsTextDialog.0
mov dword [ebx + 0x94], edi
mov dword [ebx + 0x98], edi
mov dword [ebp - 0x64], ebx
push 0x10
mov byte [ebp - 4], 9
call fcn.004d8429
pop ecx
mov ecx, eax
xor eax, eax
mov edi, ecx
mov dword [ebp - 0x64], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx], vtable.std::_Ref_count_class_CAppOptionsTextDialog_.0
mov edi, dword [ebp - 0xa4]
xor eax, eax
mov byte [ebp - 4], 6
inc eax
mov dword [ecx + 0xc], ebx
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
lea eax, [edi + 8]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x98], ecx
lea ecx, [ebx + 0x2c]
push eax
mov dword [ebp - 0x9c], ebx
call fcn.00405d6e
mov eax, dword [ebp - 0xb0]
lea ecx, [ebx + 8]
push edi
mov dword [ebx + 4], eax
call fcn.0044a857
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebx]
push dword [ecx]
mov ecx, ebx
call dword [eax + 8]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x8c]
mov ebx, dword [eax + 0xc]
lea eax, [ebp - 0x6c]
push eax
call fcn.004ad550
push edi
mov ecx, eax
call fcn.00409159
push ecx
mov edi, esp
mov dword [ebp - 0x64], edi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.004070e7
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp - 0x90]
mov ecx, edi
call ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, edi
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_GetClientRect]
push 5
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 4], 1
mov ebx, dword [ebp - 0x24]
jne 0x44a534
mov eax, ebx
sub eax, dword [ebp - 0x2c]
cdq
sub eax, edx
mov edx, dword [ebp - 0x68]
sar eax, 1
add edx, eax
mov dword [ebp - 0x68], edx
jmp 0x44a537
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x28]
sub ebx, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
add eax, ecx
push 1
push ebx
push eax
push edx
push ecx
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
add eax, ecx
mov ecx, dword [ebp - 0x70]
cmp ecx, eax
cmovbe ecx, eax
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0xa
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.004070e7
add eax, 0x10
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
push eax
call fcn.004b5e7b
mov ebx, dword [ebp - 0x78]
mov eax, dword [eax]
test ebx, ebx
je 0x44a5c5
lock inc dword [ebx + 4]
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ebx
test ecx, ecx
je 0x44a5d7
call fcn.00405adf
lea ecx, [ebp - 0xc0]
call fcn.00407c33
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x68]
add edx, eax
mov dword [ebp - 0x68], edx
test ebx, ebx
je 0x44a5fe
mov ecx, ebx
call fcn.00405adf
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
mov eax, ecx
mov dword [ebp - 0x88], ecx
cmp ecx, dword [esi]
jne 0x44a2c1
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x7c]
add edi, eax
cmp edi, edx
cmovbe edi, edx
mov dword [ebp - 0x80], edi
call fcn.00405adf
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ebx, dword [ebp - 0x84]
add esi, 0x14
cmp esi, dword [ebx + 0x80]
jne 0x44a091
lea eax, [ebx + 4]
and dword [ebp - 0x50], 0
lea ecx, [ebp - 0x50]
and dword [ebp - 0x4c], 0
and dword [ebp - 0x48], 0
and dword [ebp - 0x44], 0
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x50]
sub esi, eax
add esi, dword [ebp - 0x70]
add eax, esi
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebx + 4]
call fcn.004d5a69
mov eax, dword [ebx + 0x68]
sub edi, dword [ebp - 0x5c]
add dword [ebp - 0x44], edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x70]
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + eax*4 - 0x20]
lea ecx, [ebp - 0x30]
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
push ecx
push eax
mov dword [ebp - 0x8c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.004d5a69
push edi
push esi
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004d597c
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp eax, 3
jb 0x44a6cb
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x74]
push eax
push edx
call fcn.004d575a
mov ecx, dword [ebp - 0xac]
mov byte [ecx], 1
mov ecx, dword [ebp - 0x84]
add ecx, 0x20
mov edx, dword [ecx]
call dword [edx]
xor eax, eax
inc eax
call fcn.004d8aa1
ret 8