Function at 0x4627f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], 0
mov byte [ebp - 8], 0
test esi, esi
jne 0x4628ca
call fcn.00436990
test eax, eax
je 0x4628b9
call fcn.00436990
cmp dword [eax], esi
je 0x4628b9
mov eax, dword [0x4eeee0]
test eax, eax
je 0x462878
mov esi, dword [eax + 0x190]
jmp 0x46287e
mov esi, dword [0x4eeee4]
call fcn.00436990
test eax, eax
je 0x462890
call fcn.00436990
mov eax, dword [eax]
jmp 0x462892
xor eax, eax
push str.Error:_No_name_specified_in_call_to_AddTreeNode
push str.Error:_No_name_specified_in_call_to_AddTreeNode
push dword [0x4eeee0]
push esi
push 0
push 0x1c7
push str.D:MyProjectsProPilotLibMainDialog.c
push 0x103
call eax
add esp, 0x20
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.00463420
mov ecx, dword [0x5507dc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x462928
test ecx, ecx
je 0x462928
xor edi, edi
cmp edi, dword [ecx + 4]
jge 0x462928
mov eax, dword [ecx + 8]
mov eax, dword [eax + edi*4]
push dword [eax]
push ebx
call fcn.0048eaa2
mov ecx, dword [0x5507dc]
add esp, 8
test eax, eax
je 0x462913
inc edi
cmp edi, dword [ecx + 4]
jl 0x4628f2
cmp edi, dword [ecx + 4]
jge 0x462928
mov eax, dword [ecx + 8]
mov edi, dword [eax + edi*4]
mov dword [ebp - 0x144], edi
test edi, edi
jne 0x462959
mov edx, dword [ecx + 8]
test edx, edx
je 0x46293e
mov eax, dword [ecx + 4]
mov edi, dword [edx + eax*4 - 4]
mov dword [ebp - 0x144], edi
jmp 0x462959
push 0
push 0
push 0
push str._default_
call fcn.00462620
add esp, 0x10
mov dword [ebp - 0x144], eax
mov edi, eax
lea eax, [ebp - 0x138]
push eax
call fcn.00463420
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x462a14
mov ecx, dword [edi + 0x28]
mov edi, dword [ecx + 0x38]
mov dword [ebp - 0x13c], edi
test edi, edi
je 0x462a16
mov edi, dword [ebp - 0x138]
mov esi, dword [ebp - 0x13c]
push dword [esi]
push ebx
call fcn.0048eaa2
add esp, 8
test eax, eax
jne 0x4629f9
test edi, edi
je 0x462a00
push 0x5c
push edi
call fcn.0048d4ac
push 0xc5
mov ecx, eax
mov dword [0x5507e8], eax
sub ecx, edi
xor edx, edx
push str.D:MyProjectsProPilotLibMainDialog.c
test eax, eax
push fcn.004845db
cmovne edx, ecx
push edx
push edi
push 0x5507e4
call fcn.0041e700
mov edi, dword [0x5507e8]
add esp, 0x20
test edi, edi
je 0x4629e8
inc edi
jmp 0x4629ea
xor edi, edi
mov ebx, dword [0x5507e4]
test ebx, ebx
je 0x462a00
mov esi, dword [esi + 0x34]
jmp 0x4629fc
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x462992
mov dword [ebp - 0x13c], esi
mov esi, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x13c]
jmp 0x462a16
xor edi, edi
mov eax, dword [ebp - 0x150]
and eax, 0x200
mov dword [ebp - 0x14c], eax
je 0x462a3d
mov ebx, dword [esi + 0x18]
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x13c], ebx
jmp 0x462b64
mov eax, dword [ebp - 0x140]
mov ebx, dword [ebp - 0x144]
test eax, eax
jne 0x462a6a
push eax
push 0x463370
push dword [ebx + 0xc]
push str.EmptyDialog
call fcn.00436990
mov eax, dword [eax + 0x14]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0
push eax
push dword [ebx + 0xc]
call fcn.0042bf30
add esp, 0xc
mov dword [ebp - 0x140], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x80
call fcn.00487397
mov ebx, eax
add esp, 4
mov dword [ebp - 0x13c], ebx
test ebx, ebx
je 0x462ab0
push 0x80
push 0
push ebx
call fcn.00481c10
add esp, 0xc
mov eax, dword [ebp - 0x150]
mov edx, esi
and eax, 0xff00ffff
mov dword [ebx + 0x5c], eax
mov al, byte [esi]
test al, al
je 0x462b3a
mov ecx, esi
cmp al, 0x11
jae 0x462b15
cmp al, 9
jb 0x462ad4
cmp al, 0xd
jbe 0x462b15
movsx eax, al
inc esi
dec eax
cmp eax, 0xe
ja case.0x462ae5.8
movzx eax, byte [eax + 0x462ee0]
jmp dword [eax*4 + 0x462ecc]
lea esi, [ecx + 2]
jmp case.0x462ae5.8
lea esi, [ecx + 0x11]
jmp case.0x462ae5.8
xor eax, eax
cmp byte [esi], 0x20
jle 0x462b04
inc eax
inc esi
cmp eax, 8
jl 0x462af8
cmp byte [esi], 3
jne case.0x462ae5.8
inc esi
jmp case.0x462ae5.8
lea esi, [ecx + 7]
mov al, byte [esi]
test al, al
jne 0x462ac6
cmp esi, edx
jbe 0x462b3a
push 0x20e
push str.D:MyProjectsProPilotLibMainDialog.c
push fcn.004845db
mov eax, esi
sub eax, edx
push eax
push edx
lea eax, [ebx + 0x60]
push eax
call fcn.0041e700
add esp, 0x18
push 0x210
push str.D:MyProjectsProPilotLibMainDialog.c
push fcn.004845db
push 0
push esi
push ebx
call fcn.0041e700
mov eax, dword [ebp - 0x140]
add esp, 0x18
mov dword [ebx + 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x462bc9
test edi, edi
jne 0x462bbf
cmp eax, 0xfffffffe
je 0x462bc9
mov eax, dword [eax + 0x18]
test eax, eax
je 0x462bee
push dword [eax]
push dword [eax + 4]
lea eax, [ebp - 0x134]
push str._sN_s
push 0x12c
push eax
call fcn.00423b40
push 0x21a
push str.D:MyProjectsProPilotLibMainDialog.c
push fcn.004845db
push 0
lea eax, [ebp - 0x134]
push eax
lea eax, [ebx + 4]
push eax
call fcn.0041e700
add esp, 0x2c
jmp 0x462bee
cmp eax, 0xfffffffe
jne 0x462b77
mov eax, dword [edi + 0x18]
jmp 0x462b7a
mov eax, dword [ebp - 0x144]
push 0x21e
push str.D:MyProjectsProPilotLibMainDialog.c
push fcn.004845db
push 0
push dword [eax]
lea eax, [ebx + 4]
push eax
call fcn.0041e700
add esp, 0x18
cmp dword [ebp - 0x14c], 0
jne 0x462e55
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x462db2
mov eax, dword [ebp + 0x1c]
add ebx, 8
cmp eax, 0xffffffff
jne 0x462cde
push 0
push 2
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0
push 0x10
push 0x10
push 1
push dword [ebp - 0x148]
mov dword [ebx], eax
call fcn.00436990
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 0xffffffffffffffff
push dword [ebx]
mov dword [ebp - 0x140], eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
cmp eax, 0xffffffff
jne 0x462ccd
call fcn.00436990
test eax, eax
je 0x462ccd
call fcn.00436990
cmp dword [eax], 0
je 0x462ccd
mov eax, dword [0x4eeee0]
test eax, eax
je 0x462c81
mov eax, dword [eax + 0x190]
jmp 0x462c86
mov eax, dword [0x4eeee4]
mov dword [ebp - 0x138], eax
call fcn.00436990
test eax, eax
je 0x462c9e
call fcn.00436990
mov eax, dword [eax]
jmp 0x462ca0
xor eax, eax
push str.Error:_AddIcon_failed_for_node__s
push esi
push str.Error:_AddIcon_failed_for_node__s
push dword [0x4eeee0]
push dword [ebp - 0x138]
push 0
push 0x226
push str.D:MyProjectsProPilotLibMainDialog.c
push 0x103
call eax
add esp, 0x24
push dword [ebp - 0x140]
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x462d8b
mov esi, dword [ebp - 0x13c]
add esi, 0x10
push esi
push ebx
push eax
push ecx
mov dword [ebp - 0x140], esi
call fcn.004369a0
add esp, 0x10
test eax, eax
jne 0x462d8b
push eax
push esi
push ebx
push dword [ebp - 0x148]
call fcn.00436be0
add esp, 0x10
test eax, eax
jne 0x462d8b
call fcn.00439330
test eax, eax
je 0x462d5f
push 0x2000
push 0
push 0
push 0
push dword [ebp - 0x148]
call fcn.00436990
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push 8
push 0x10
mov esi, eax
push esi
push 0
push 0
call fcn.00426f30
add esp, 0x14
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x140]
push 0x2000
push 0
push 0xff00ff
push 0
push 0
push dword [ebp - 0x148]
call fcn.00436990
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageA]
mov dword [ebx], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi], eax
push dword [ebx]
call fcn.0042b780
mov ecx, dword [ebp - 0x13c]
add esp, 4
mov dword [ecx + 0xc], eax
mov ecx, dword [ebx]
mov ebx, dword [ebp - 0x13c]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x1c], eax
call fcn.00436990
cmp dword [eax + 0xdd0], 0
je 0x462e55
cmp dword [0x5507ec], 0
jne 0x462de2
push 0
push 2
push 0x11
push 0xf
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [0x5507ec], eax
mov ecx, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [ebx + 8]
mov dword [ebp - 0x140], eax
mov esi, eax
mov ebx, 6
cmp dword [eax], 0
je 0x462e29
push dword [esi]
mov eax, dword [ebp - 0x144]
push 1
push 0x1003
push 0x7ed
push dword [eax + 0x10]
call ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x140]
mov ecx, dword [sym.imp.USER32.dll_GetDlgItem]
add esi, 0xc
sub ebx, 1
jne 0x462df8
push dword [0x5507ec]
mov eax, dword [ebp - 0x144]
push 1
push 0x1003
push 0x7ed
push dword [eax + 0x10]
call ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x150]
mov ebx, dword [ebp - 0x14c]
mov eax, ebx
mov edx, dword [ebp - 0x144]
shr ecx, 0x10
shl eax, 8
not ecx
and ecx, 1
inc dword [edx + 0x24]
or ecx, eax
push 0x4631f0
push ecx
mov ecx, dword [ebp - 0x13c]
test ebx, ebx
push 0
mov eax, ecx
cmovne eax, dword [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x15c]
cmp eax, 0xfffffffe
push dword [ecx]
cmove eax, edi
push eax
mov eax, dword [ebp - 0x158]
cmp eax, 0xfffffffe
cmove eax, edi
push eax
push dword [edx + 0x28]
call fcn.004556b0
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop ebx
pop esi
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret