Function at 0x4af118
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0xac
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [esi + 4]
test edi, edi
je 0x4af14c
mov dword [ecx + 0xb8], 0x55d098
mov eax, 0x54abfc
mov dword [ecx + 0xbc], 0
mov dword [esp], eax
mov ecx, ebx
call fcn.0042d724
push eax
lea eax, [ebx + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, 0x54ac04
test edi, edi
jne 0x4af16c
lea eax, [esi + 0xc]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 0xc], edx
mov edx, dword [edx - 0xc]
mov dword [ebx + edx + 0xc], eax
mov eax, 0x54ac0c
test edi, edi
jne 0x4af187
lea eax, [esi + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 0x10], edx
mov edx, dword [edx - 0xc]
mov dword [ebx + edx + 0x10], eax
mov eax, 0x54ac14
test edi, edi
jne 0x4af1a2
lea eax, [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 0x14], edx
mov edx, dword [edx - 0xc]
mov dword [ebx + edx + 0x14], eax
mov eax, 0x54f5f8
test edi, edi
jne 0x4af1bc
mov eax, dword [esi]
mov dword [ebx], eax
test edi, edi
jne 0x4af1ca
mov edx, dword [esi + 0x24]
mov eax, dword [eax - 0xc]
jmp 0x4af1d4
mov edx, 0x54f754
mov eax, 0xb8
mov dword [ebx + eax], edx
mov eax, 0x54f6ec
test edi, edi
jne 0x4af1e3
mov eax, dword [esi + 0x28]
mov dword [ebx + 0xc], eax
mov eax, 0x54f708
test edi, edi
jne 0x4af1f2
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x10], eax
mov eax, 0x54f730
test edi, edi
jne 0x4af201
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x14], eax
lea ecx, [ebx + 0x48]
lea eax, [ebx + 0x30]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebp - 0x8c], eax
call fcn.004c6580
call fcn.0043d505
mov dword [ebx + 0x4c], eax
test eax, eax
je 0x4af27d
mov edx, dword [eax]
add eax, dword [edx - 0xc]
inc dword [eax + 4]
call fcn.0043d505
mov dword [ebx + 0x50], eax
test eax, eax
je 0x4af291
mov edx, dword [eax]
add eax, dword [edx - 0xc]
inc dword [eax + 4]
mov eax, dword [ebp + 0x10]
lea ecx, [ebx + 0x54]
lea esi, [ebp - 0x68]
mov dword [esp], eax
call fcn.00428f76
push eax
lea eax, [ebx + 0x58]
mov ecx, eax
call fcn.004c6580
lea eax, [ebx + 0x5c]
mov ecx, eax
call fcn.004c6580
lea eax, [ebx + 0x60]
mov ecx, eax
call fcn.004c6580
lea eax, [ebx + 0x68]
mov ecx, eax
call fcn.004c6580
lea eax, [ebx + 0x6c]
mov ecx, eax
call fcn.004c6580
mov word [ebx + 0x71], 0x100
lea eax, [ebx + 0x7c]
lea ecx, [ebp - 0x78]
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 1
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0xffffffff
mov byte [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0x5285cf
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0x5285d8
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], str.Architecture_Name
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], str.Board_Name
mov dword [ebx + 0xb4], 0
mov dword [ebp - 0x8c], eax
mov dword [0x568fe8], ebx
call fcn.004c6580
lea eax, [ebp - 0x78]
mov dword [esp + 4], 0x200003e8
mov ecx, esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0042786a
lea ecx, [ebx + 0x58]
sub esp, 0xc
mov dword [esp], esi
call fcn.004c69a8
mov ecx, esi
push eax
call fcn.004c641a
lea ecx, [ebp - 0x78]
call fcn.004c641a
lea ecx, [ebp - 0x78]
call fcn.004c6580
lea eax, [ebp - 0x78]
mov dword [esp + 4], 0x20000001
mov ecx, esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0042786a
lea ecx, [ebx + 0x5c]
sub esp, 0xc
mov dword [esp], esi
call fcn.004c69a8
mov ecx, esi
push edx
call fcn.004c641a
lea ecx, [ebp - 0x78]
call fcn.004c641a
lea ecx, [ebp - 0x78]
call fcn.004c6580
lea eax, [ebp - 0x78]
mov dword [esp + 4], 0x20000003
mov ecx, esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0042786a
lea ecx, [ebx + 0x60]
sub esp, 0xc
mov dword [esp], esi
call fcn.004c69a8
push ecx
mov ecx, esi
call fcn.004c641a
lea ecx, [ebp - 0x78]
call fcn.004c641a
mov dword [esp + 4], 0
mov ecx, dword [ebp + 0x10]
mov dword [esp], 0x3e9
call fcn.00427da2
lea ecx, [ebp - 0x7c]
push edx
mov byte [ebx + 0x64], al
push edx
call fcn.004c6580
lea eax, [ebp - 0x7c]
mov dword [esp + 4], 0x200003ea
lea ecx, [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0042786a
lea edx, [ebp - 0x78]
mov eax, esi
sub esp, 0xc
call fcn.004ac831
mov dword [esp], esi
lea ecx, [ebx + 0x68]
call fcn.004c69a8
push ecx
mov ecx, esi
call fcn.004c641a
lea ecx, [ebp - 0x78]
call fcn.004c641a
lea ecx, [ebp - 0x7c]
call fcn.004c641a
lea ecx, [ebp - 0x78]
call fcn.004c6580
lea eax, [ebp - 0x78]
mov dword [esp + 4], 0x200003f4
mov ecx, esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0042786a
lea ecx, [ebx + 0x6c]
sub esp, 0xc
mov dword [esp], esi
call fcn.004c69a8
mov ecx, esi
push eax
call fcn.004c641a
lea ecx, [ebp - 0x78]
call fcn.004c641a
mov dword [esp + 4], 0
mov ecx, dword [ebp + 0x10]
mov dword [esp], 0x3f3
call fcn.00427da2
mov byte [ebx + 0x70], al
push edx
push edx
call sym.winbox.exe_getLogin__
mov edx, eax
mov eax, dword [eax]
mov dword [ebp - 0x94], edx
mov eax, dword [eax + 8]
mov dword [esp], 0x18
mov dword [ebp - 0x8c], eax
call sub.msvcrt.dll_malloc
mov dword [eax + 0x10], 0x55d098
mov ecx, eax
mov dword [eax + 0x14], 0
mov dword [esp], 0x54ada0
mov dword [ebp - 0x90], eax
call fcn.00503cbc
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
push ecx
mov dword [eax], fcn.004d52c4
mov ecx, edx
mov dword [eax + 0x10], 0x54fbcc
mov dword [eax + 4], ebx
mov dword [eax + 8], 0x4b0360
mov dword [eax + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebx + 0x60]
mov dword [esp + 4], eax
lea eax, [ebx + 0x5c]
mov dword [esp], eax
mov eax, dword [ebp - 0x8c]
call eax
mov eax, dword [ebx + 0x58]
sub esp, 0xc
add eax, 4
mov dword [esp + 8], str._s__s___WinBox
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x5c]
mov dword [esp + 4], 0x50
add eax, 4
mov dword [esp], esi
mov dword [esp + 0xc], eax
call dword [sym.imp.msvcrt.dll__snprintf]
mov dword [esp], 0
mov ecx, ebx
call method.IWindow.setVisible_bool_
lea ecx, [ebp - 0x78]
push eax
mov dword [esp], esi
call fcn.004c664a
mov ecx, ebx
push eax
lea eax, [ebp - 0x78]
mov dword [esp], eax
call method.IWindow.setText_string_const_
lea ecx, [ebp - 0x78]
push eax
call fcn.004c641a
mov dword [esp], 0
mov ecx, ebx
call method.IWindow.create_IWindow_
push eax
mov eax, 0xb8
test edi, edi
jne 0x4af627
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
add eax, ebx
lea esi, [ebx + 0xc]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym.winbox.exe_registerPersistent_IBase__IPersistent_
mov dword [esp + 4], 0
mov dword [esp], 0
call sym.winbox.exe_createSurroundedPane_int__int_
mov esi, eax
test eax, eax
je 0x4af65c
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add edx, esi
inc dword [edx + 4]
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x4af66d
mov eax, dword [ecx]
add ecx, dword [eax - 0xc]
call fcn.00509a10
mov dword [ebx + 0x18], esi
mov ecx, ebx
mov dword [esp], esi
lea esi, [ebp - 0x78]
call method.IWindow.add_IWindow_
mov edi, dword [ebx + 0x18]
mov ecx, esi
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0xcc]
mov dword [ebp - 0x8c], edx
call fcn.004c6580
mov dword [esp], esi
call sym.winbox.exe_createHeader_string_const_
mov edx, dword [ebp - 0x8c]
mov ecx, edi
mov dword [esp], eax
call edx
mov ecx, esi
push eax
call fcn.004c641a
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], 2
call sym.winbox.exe_createFlowPane_int__bool__bool_
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x8c]
mov eax, dword [ecx]
mov dword [esp], esi
call dword [eax + 0xd4]
push eax
mov dword [esp], 0
call sym.winbox.exe_createToolbar_bool_
mov edi, eax
test eax, eax
je 0x4af706
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add edx, edi
inc dword [edx + 4]
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x4af717
mov eax, dword [ecx]
add ecx, dword [eax - 0xc]
call fcn.00509a10
mov dword [ebx + 0x1c], edi
mov eax, dword [edi]
lea esi, [ebp - 0x78]
mov ecx, edi
lea edi, [ebp - 0x7c]
mov eax, dword [eax + 0xc8]
mov dword [esp], esi
mov dword [ebp - 0x78], 2
mov dword [ebp - 0x74], 3
mov dword [ebp - 0x70], 0xa
mov dword [ebp - 0x6c], 2
call eax
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
mov dword [esp], edx
call dword [eax + 0x68]
mov ecx, dword [ebx + 0x1c]
push eax
mov eax, dword [ecx]
mov dword [esp], 3
call dword [eax + 0xdc]
mov eax, dword [ebx + 0x1c]
mov ecx, esi
push edx
mov edx, dword [eax]
mov dword [ebp - 0x94], eax
mov edx, dword [edx + 0xcc]
mov dword [ebp - 0x90], edx
call fcn.004c6580
mov dword [esp], str.Safe_Mode
mov ecx, edi
call fcn.004c664a
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
push ecx
mov ecx, eax
mov dword [esp + 4], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp], 4
call edx
mov ecx, edi
sub esp, 0x10
call fcn.004c641a
mov ecx, esi
call fcn.004c641a
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp], 4
call dword [eax + 0x118]
mov ecx, dword [ebx + 0x1c]
push edi
push edi
mov eax, dword [ecx]
mov dword [esp], 4
call dword [eax + 0xfc]
mov ecx, dword [ebx + 0x1c]
push eax
mov eax, dword [ecx]
mov dword [ebp - 0x90], ecx
mov edi, dword [eax + 0x10c]
mov dword [esp + 4], 0x4ae756
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.004ccd80
mov ecx, dword [ebp - 0x90]
mov dword [esp], 4
mov dword [esp + 4], eax
call edi
mov edi, dword [ebx + 0x1c]
push eax
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0xd4]
mov eax, dword [0x568840]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a0
mov dword [esp], eax
mov dword [ebp - 0x94], edx
call sym.winbox.exe_loadIconFromBitmap_HINSTANCE____int__int_
mov dword [esp], str.Undo
mov ecx, esi
mov dword [ebp - 0x90], eax
call fcn.004c664a
mov edx, dword [ebp - 0x94]
mov ecx, edi
push eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], 1
call edx
mov ecx, esi
sub esp, 0xc
call fcn.004c641a
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [eax + 0x118]
mov ecx, dword [ebx + 0x1c]
push eax
push eax
mov eax, dword [ecx]
mov dword [ebp - 0x90], ecx
mov edi, dword [eax + 0x10c]
mov dword [esp + 4], 0x4d42c4
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.004ccd80
mov ecx, dword [ebp - 0x90]
mov dword [esp], 1
mov dword [esp + 4], eax
call edi
mov edi, dword [ebx + 0x1c]
push eax
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0xd4]
mov eax, dword [0x568840]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a1
mov dword [esp], eax
mov dword [ebp - 0x94], edx
call sym.winbox.exe_loadIconFromBitmap_HINSTANCE____int__int_
mov dword [esp], str.Redo
mov ecx, esi
mov dword [ebp - 0x90], eax
call fcn.004c664a
mov eax, dword [ebp - 0x90]
mov ecx, edi
push edx
mov edx, dword [ebp - 0x94]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], 2
call edx
mov ecx, esi
sub esp, 0xc
call fcn.004c641a
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp], 2
call dword [eax + 0x118]
push ecx
push ecx
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
mov dword [ebp - 0x90], ecx
mov edi, dword [eax + 0x10c]
mov dword [esp + 4], 0x4d4250
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.004ccd80
mov ecx, dword [ebp - 0x90]
mov dword [esp], 2
mov dword [esp + 4], eax
call edi
push edi
push edi
mov dword [esp + 4], 0x4b08ca
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.004ccd20
mov dword [esp], eax
call fcn.00402a48
mov ecx, esi
call fcn.004c6580
mov dword [esp], esi
mov dword [esp + 4], 0
call sym.winbox.exe_createStaticBox_string_const__unsigned_int_
mov esi, eax
test eax, eax
je 0x4afa1c
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add edx, esi
inc dword [edx + 4]
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x4afa2d
mov eax, dword [ecx]
add ecx, dword [eax - 0xc]
call fcn.00509a10
mov dword [ebx + 0x34], esi
lea esi, [ebp - 0x78]
mov ecx, esi
call fcn.004c641a
mov ecx, dword [ebx + 0x34]
lea edx, [ebx + 0x68]
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0xa8]
mov eax, dword [ebp - 0x8c]
mov ecx, esi
push edi
mov eax, dword [eax]
mov edi, dword [eax + 0x68]
mov dword [esp], 0x528620
call fcn.004c664a
push eax
mov dword [esp], esi
mov dword [esp + 4], 0
call sym.winbox.exe_createLabel_string_const__bool_
mov ecx, dword [ebp - 0x8c]
mov dword [esp], eax
call edi
mov ecx, esi
push eax
call fcn.004c641a
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [eax]
mov dword [esp], edx
call dword [eax + 0x68]
push eax
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], 2
call sym.winbox.exe_createFlowPane_int__bool__bool_
mov esi, eax
test eax, eax
je 0x4afacd
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add edx, esi
inc dword [edx + 4]
mov eax, dword [esi]
lea edx, [ebp - 0x78]
mov ecx, esi
mov eax, dword [eax + 0xc0]
mov dword [esp], edx
mov dword [ebp - 0x78], 3
mov dword [ebp - 0x74], 5
mov dword [ebp - 0x70], 5
mov dword [ebp - 0x6c], 5
call eax
mov ecx, esi
push edi
mov edi, dword [ebx + 0x18]
mov eax, dword [edi]
mov edx, dword [eax + 0xc8]
mov eax, dword [esi]
mov dword [esp], 1
mov dword [ebp - 0x8c], edx
call dword [eax + 0x5c]
mov ecx, edi
push edx
mov edx, dword [ebp - 0x8c]
mov dword [esp], eax
call edx
push ecx
call sym.winbox.exe_createDashboard__
mov edi, eax
test eax, eax
je 0x4afb3f
mov eax, dword [eax]
mov edx, dword [eax - 0x10]
add edx, edi
inc dword [edx + 4]
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x4afb50
mov eax, dword [ecx]
add ecx, dword [eax - 0x10]
call fcn.00509a10
mov dword [ebx + 0x38], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x68]
test edi, edi
je 0x4afb61
mov edx, dword [edi]
add edi, dword [edx - 0xc]
mov ecx, esi
mov dword [esp], edi
call eax
push ecx
call sym.winbox.exe_createMeter__
mov edi, eax
test eax, eax
je 0x4afb7e
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add edx, edi
inc dword [edx + 4]
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x4afb8f
mov eax, dword [ecx]
add ecx, dword [eax - 0xc]
call fcn.00509a10
mov dword [ebx + 0x3c], edi
mov eax, dword [esi]
mov ecx, esi
mov dword [esp], edi
call dword [eax + 0x68]
push eax
call fcn.00408600
lea ecx, [ebx + 0x2c]
mov dword [esp], eax
call fcn.00519494
mov ecx, ebx
push eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call method.IWindow.add_IWindow_
push eax
call fcn.0043dfd2
lea ecx, [ebx + 0x30]
mov dword [esp], eax
call fcn.00519494
mov ecx, ebx
push eax
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call method.IWindow.add_IWindow_
push eax
mov dword [esp], 8
call sub.msvcrt.dll_malloc
lea ecx, [ebx + 0x74]
mov dword [eax + 4], 0
mov dword [eax], 0x557f1c
mov dword [esp], eax
call fcn.00519590
push edx
mov dword [esp], 8
call sub.msvcrt.dll_malloc
lea ecx, [ebx + 0x7c]
mov dword [eax + 4], 0
mov dword [eax], 0x55c658
mov dword [esp], eax
call fcn.00519590
push ecx
mov dword [esp], ebx
call fcn.0042c66f
call sym.winbox.exe_createMenu__
lea ecx, [ebx + 0x24]
mov dword [esp], eax
call fcn.00519084
lea ecx, [ebp - 0x78]
push edi
mov edi, dword [ebx + 0x24]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x528629
mov dword [ebp - 0x8c], eax
call fcn.004c664a
mov ecx, edi
push eax
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x71
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
mov edi, dword [ebx + 0x24]
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x52862d
mov dword [ebp - 0x8c], eax
call fcn.004c664a
mov ecx, edi
push eax
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x64
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
mov edi, dword [ebx + 0x24]
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], str.Save
mov dword [ebp - 0x8c], eax
call fcn.004c664a
mov ecx, edi
push eax
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x65
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
mov edi, dword [ebx + 0x24]
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x52863a
mov dword [ebp - 0x8c], eax
call fcn.004c664a
mov ecx, edi
push eax
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x66
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
mov dword [esp], 0x67
call dword [eax + 0x14]
mov edi, dword [ebx + 0x24]
lea ecx, [ebp - 0x78]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], str.Autosave_on_Close
mov dword [ebp - 0x8c], eax
call fcn.004c664a
lea eax, [ebp - 0x78]
mov ecx, edi
push edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x68
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
cmp byte [ebx + 0x70], 0
jne 0x4afdda
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
mov dword [esp + 4], 1
mov dword [esp], 0x68
call dword [eax + 0x1c]
push edi
push edi
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
mov dword [esp], 0x6e
call dword [eax + 0x14]
mov edi, dword [ebx + 0x24]
push ecx
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], str.Close_All_Windows
mov dword [ebp - 0x8c], eax
call fcn.004c664a
mov ecx, edi
push eax
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x73
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
mov dword [esp], 0x72
call dword [eax + 0x14]
mov edi, dword [ebx + 0x24]
lea ecx, [ebp - 0x78]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], str.Disconnect
mov dword [ebp - 0x8c], eax
call fcn.004c664a
mov ecx, edi
push eax
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x70
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
mov edi, dword [ebx + 0x24]
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x528008
mov dword [ebp - 0x8c], eax
call fcn.004c664a
mov ecx, edi
push eax
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x6f
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
call sym.winbox.exe_createMenu__
lea ecx, [ebx + 0x28]
mov dword [esp], eax
call fcn.00519084
mov edi, dword [ebx + 0x28]
lea ecx, [ebp - 0x78]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], str.Inline_Comments
mov dword [ebp - 0x8c], eax
call fcn.004c664a
lea eax, [ebp - 0x78]
mov ecx, edi
push edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x69
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
mov edi, dword [ebx + 0x28]
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], str.Hide_Passwords
mov dword [ebp - 0x8c], eax
call fcn.004c664a
lea eax, [ebp - 0x78]
push ecx
mov ecx, edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x6a
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
mov ecx, dword [ebx + 0x28]
movzx edx, byte [ebx + 0x72]
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov dword [esp], 0x6a
call dword [eax + 0x1c]
mov ecx, dword [ebx + 0x28]
push edi
push edi
mov eax, dword [ecx]
mov dword [esp], 0x6b
call dword [eax + 0x14]
mov edi, dword [ebx + 0x28]
lea ecx, [ebp - 0x78]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x528693
mov dword [ebp - 0x8c], eax
call fcn.004c664a
mov ecx, edi
push eax
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x6c
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
mov edi, dword [ebx + 0x28]
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x5286a2
mov dword [ebp - 0x8c], eax
call fcn.004c664a
mov ecx, edi
push eax
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp], 0x6d
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
call sym.winbox.exe_createMenu__
lea ecx, [ebx + 0x20]
mov dword [esp], eax
call fcn.00519084
mov edi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
lea ecx, [ebp - 0x78]
push eax
mov eax, dword [edi]
mov dword [ebp - 0x8c], edx
mov eax, dword [eax + 0x10]
mov dword [esp], 0x5286b2
mov dword [ebp - 0x90], eax
call fcn.004c664a
mov edx, dword [ebp - 0x8c]
mov ecx, edi
push eax
lea eax, [ebp - 0x78]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], 0
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
mov edi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x28]
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov dword [ebp - 0x8c], edx
mov eax, dword [eax + 0x10]
mov dword [esp], str.Settings
mov dword [ebp - 0x90], eax
call fcn.004c664a
lea eax, [ebp - 0x78]
mov ecx, edi
push edx
mov edx, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 8], edx
mov dword [esp], 1
call eax
lea ecx, [ebp - 0x78]
sub esp, 0xc
call fcn.004c641a
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, ebx
mov edi, eax
call method.IWindow.getHandle__
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetMenu]
push ecx
push ecx
lea ecx, [ebp - 0x78]
call fcn.004c731c
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], 6
lea ecx, [ebp - 0x78]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.004c73b4
sub esp, 0xc
lea edx, [eax + 0x18]
mov byte [eax], 0
add eax, 6
mov word [eax - 4], 0
mov word [eax - 2], 0
cmp edx, eax
jne 0x4b0138
mov eax, dword [ebp - 0x78]
mov ecx, ebx
mov byte [eax], 9
mov eax, dword [ebp - 0x78]
mov word [eax + 2], 0xbb
mov eax, dword [ebp - 0x78]
mov word [eax + 4], 0x6c
mov byte [eax + 6], 9
mov dword [eax + 8], 0x6c006b
mov byte [eax + 0xc], 9
mov dword [eax + 0xe], 0x6d00bd
mov byte [eax + 0x12], 9
mov dword [eax + 0x14], 0x6d006d
lea eax, [ebp - 0x78]
mov dword [esp], eax
call method.IWindow.createAccelerators_vector_tagACCEL__const_
mov ecx, ebx
push eax
call fcn.004ad584
mov ecx, ebx
call fcn.004ac558
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.004c7410
lea ecx, [ebp - 0x78]
push edx
push edx
call fcn.004c732a
mov eax, dword [esi]
add esi, dword [eax - 0xc]
mov ecx, esi
call fcn.00509a10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc