Function at 0x426840
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x4ccbf8]
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 0x4268f2
mov eax, dword [0x4edee0]
test eax, eax
je 0x42687b
mov ecx, dword [eax + 0x190]
jmp 0x426881
mov ecx, dword [0x4edee4]
push str.AddDialogChild:_Bad_parent_dialog_specified
push str.AddDialogChild:_Bad_parent_dialog_specified
push eax
push ecx
push 0
push 0x1b34
push str.D:MyProjectsProPilotLibLibMain.c
push 0x103
call fcn.0045ad00
push 0x1b35
push str.D:MyProjectsProPilotLibLibMain.c
push str._hs__d__:_AddDialogChild:_Bad_parent_dialog_specified
lea eax, [ebp - 0x134]
push 0x12c
push eax
call fcn.00422fe0
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.0047f41c
mov esp, ebp
pop ebp
ret
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x148], eax
test eax, eax
jne 0x426951
mov eax, dword [0x4edee0]
test eax, eax
je 0x426915
mov ecx, dword [eax + 0x190]
jmp 0x42691b
mov ecx, dword [0x4edee4]
push str.AddDialogChild:_Bad_child_frame_id_specified
push str.AddDialogChild:_Bad_child_frame_id_specified
push eax
push ecx
push 0
push 0x1b3e
push str.D:MyProjectsProPilotLibLibMain.c
push 0x103
call fcn.0045ad00
push 0x1b3f
push str.D:MyProjectsProPilotLibLibMain.c
push str._hs__d__:_AddDialogChild:_Bad_child_frame_id_specified
jmp 0x4268b2
mov eax, dword [0x4edef8]
push esi
test eax, eax
je 0x42699d
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x42699d
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x426979
mov dword [0x4edefc], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x42699d
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x42699d
push 0x4a1824
push ebx
call eax
mov esi, eax
mov dword [ebp - 0x14c], esi
jmp 0x4269b0
push 0x4a1824
push ebx
call fcn.004364d0
mov esi, eax
mov dword [ebp - 0x14c], eax
add esp, 8
test esi, esi
jne 0x4269ca
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f41c
mov esp, ebp
pop ebp
ret
push edi
push esi
call fcn.00435c10
add esp, 8
test eax, eax
jne 0x426b00
push 0x1b49
push str.D:MyProjectsProPilotLibLibMain.c
push dword [ebp - 0x148]
push str.OCLD
push edi
call fcn.00441f90
push dword [ebp - 0x148]
push esi
call fcn.00435c10
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.00486927
add esp, 4
mov dword [esi + 0x5c], eax
test eax, eax
je 0x426ab8
push 0x60
push 0
push eax
call fcn.004811a0
mov eax, dword [esi + 0x5c]
add esp, 0xc
test eax, eax
jne 0x426ac2
push 0x60
call fcn.00486927
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 0x426b35
lea eax, [ebp - 0x144]
xorps xmm0, xmm0
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 ebx, dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x426b95
mov eax, dword [0x4edef8]
test eax, eax
je 0x426b7c
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x426b7c
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x426b60
mov dword [0x4edefc], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x426b7c
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x426b7c
push 0x4a1824
push edi
call eax
jmp 0x426b87
push 0x4a1824
push edi
call fcn.004364d0
add esp, 8
test eax, eax
je 0x426b95
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.0047f41c
mov esp, ebp
pop ebp
ret