Function at 0x410cc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x4a9bf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov byte [ebp - 8], 0
push edi
mov edi, dword [ebp + 0x10]
test ebx, ebx
jne 0x410d72
mov eax, dword [0x4bd720]
test eax, eax
je 0x410cfb
mov ecx, dword [eax + 0x190]
jmp 0x410d01
mov ecx, dword [0x4bd724]
push str.AddDialogChild:_Bad_parent_dialog_specified
push str.AddDialogChild:_Bad_parent_dialog_specified
push eax
push ecx
push 0
push 0x1b2c
push str.D:MyProjectsProPilotLibLibMain.c
push 0x103
call fcn.00430d40
push 0x1b2d
push str.D:MyProjectsProPilotLibLibMain.c
push str._hs__d__:_AddDialogChild:_Bad_parent_dialog_specified
lea eax, [ebp - 0x134]
push 0x12c
push eax
call fcn.0040d540
add esp, 0x34
mov byte [ebp - 8], 0
lea eax, [ebp - 0x134]
push 0x10
push str.Program_error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046300c
mov esp, ebp
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov dword [ebp - 0x148], esi
test esi, esi
jne 0x410e14
mov eax, dword [0x4bd720]
test eax, eax
je 0x410d9c
mov ecx, dword [eax + 0x190]
jmp 0x410da2
mov ecx, dword [0x4bd724]
push str.AddDialogChild:_Bad_child_frame_id_specified
push str.AddDialogChild:_Bad_child_frame_id_specified
push eax
push ecx
push 0
push 0x1b36
push str.D:MyProjectsProPilotLibLibMain.c
push 0x103
call fcn.00430d40
push 0x1b37
push str.D:MyProjectsProPilotLibLibMain.c
push str._hs__d__:_AddDialogChild:_Bad_child_frame_id_specified
lea eax, [ebp - 0x134]
push 0x12c
push eax
call fcn.0040d540
add esp, 0x34
mov byte [ebp - 8], 0
lea eax, [ebp - 0x134]
push 0x10
push str.Program_error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046300c
mov esp, ebp
pop ebp
ret
push 0x4807d4
push ebx
call fcn.004204c0
add esp, 8
mov dword [ebp - 0x14c], eax
test eax, eax
je 0x410e01
push edi
push eax
call fcn.0041fa50
add esp, 8
test eax, eax
jne 0x410f5d
push 0x1b41
push str.D:MyProjectsProPilotLibLibMain.c
push esi
push str.OCLD
push edi
call fcn.0042b750
push esi
push dword [ebp - 0x14c]
call fcn.0041fa50
add esp, 0x1c
mov esi, eax
push 0
push dword [ebp - 0x148]
mov dword [esi + 0x50], 7
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x148]
movups xmmword [ebp - 0x144], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x144]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [ebp - 0x14c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, word [edx + 0x118]
add ax, word [ebp - 0x140]
movzx ecx, ax
movzx eax, word [edx + 0x114]
add ax, word [ebp - 0x144]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x900d
push edi
call ebx
push 0x60
call fcn.0046dc45
add esp, 4
mov dword [esi + 0x5c], eax
test eax, eax
je 0x410f15
push 0x60
push 0
push eax
call fcn.00464960
mov eax, dword [esi + 0x5c]
add esp, 0xc
test eax, eax
jne 0x410f1f
push 0x60
call fcn.0046dc45
add esp, 4
movups xmm0, xmmword [esi]
mov ecx, dword [ebp - 0x150]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [eax + 0x40], xmm0
movups xmm0, xmmword [esi + 0x50]
movups xmmword [eax + 0x50], xmm0
mov eax, dword [esi + 0x5c]
mov dword [eax], edi
mov dword [eax + 0x5c], ecx
jmp 0x410f8d
lea eax, [ebp - 0x144]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x144], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x144]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x4807d4
push edi
call fcn.004204c0
add esp, 8
test eax, eax
je 0x410fa6
mov dword [eax + 0x44], 1
push 0
push 0
push 5
push edi
call ebx
mov ecx, dword [ebp - 0x138]
mov esi, dword [ebp - 0x140]
sub ecx, esi
mov edx, dword [ebp - 0x144]
push 0
push ecx
mov ecx, dword [ebp - 0x13c]
sub ecx, edx
push ecx
push esi
push edx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 4]
mov eax, edi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0046300c
mov esp, ebp
pop ebp
ret