Function at 0x4aee70
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 0x4aeea4
mov dword [ecx + 0xb8], 0x55d078
mov eax, 0x54abdc
mov dword [ecx + 0xbc], 0
mov dword [esp], eax
mov ecx, ebx
call fcn.0042d624
push eax
lea eax, [ebx + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, 0x54abe4
test edi, edi
jne 0x4aeec4
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, 0x54abec
test edi, edi
jne 0x4aeedf
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, 0x54abf4
test edi, edi
jne 0x4aeefa
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, 0x54f5d8
test edi, edi
jne 0x4aef14
mov eax, dword [esi]
mov dword [ebx], eax
test edi, edi
jne 0x4aef22
mov edx, dword [esi + 0x24]
mov eax, dword [eax - 0xc]
jmp 0x4aef2c
mov edx, 0x54f734
mov eax, 0xb8
mov dword [ebx + eax], edx
mov eax, 0x54f6cc
test edi, edi
jne 0x4aef3b
mov eax, dword [esi + 0x28]
mov dword [ebx + 0xc], eax
mov eax, 0x54f6e8
test edi, edi
jne 0x4aef4a
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x10], eax
mov eax, 0x54f710
test edi, edi
jne 0x4aef59
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.004c62d0
call fcn.0043d405
mov dword [ebx + 0x4c], eax
test eax, eax
je 0x4aefd5
mov edx, dword [eax]
add eax, dword [edx - 0xc]
inc dword [eax + 4]
call fcn.0043d405
mov dword [ebx + 0x50], eax
test eax, eax
je 0x4aefe9
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.00428e76
push eax
lea eax, [ebx + 0x58]
mov ecx, eax
call fcn.004c62d0
lea eax, [ebx + 0x5c]
mov ecx, eax
call fcn.004c62d0
lea eax, [ebx + 0x60]
mov ecx, eax
call fcn.004c62d0
lea eax, [ebx + 0x68]
mov ecx, eax
call fcn.004c62d0
lea eax, [ebx + 0x6c]
mov ecx, eax
call fcn.004c62d0
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], 0x5285af
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0x5285b8
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 [0x568fc8], ebx
call fcn.004c62d0
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.0042776a
lea ecx, [ebx + 0x58]
sub esp, 0xc
mov dword [esp], esi
call fcn.004c66f8
mov ecx, esi
push eax
call fcn.004c616a
lea ecx, [ebp - 0x78]
call fcn.004c616a
lea ecx, [ebp - 0x78]
call fcn.004c62d0
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.0042776a
lea ecx, [ebx + 0x5c]
sub esp, 0xc
mov dword [esp], esi
call fcn.004c66f8
mov ecx, esi
push edx
call fcn.004c616a
lea ecx, [ebp - 0x78]
call fcn.004c616a
lea ecx, [ebp - 0x78]
call fcn.004c62d0
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.0042776a
lea ecx, [ebx + 0x60]
sub esp, 0xc
mov dword [esp], esi
call fcn.004c66f8
push ecx
mov ecx, esi
call fcn.004c616a
lea ecx, [ebp - 0x78]
call fcn.004c616a
mov dword [esp + 4], 0
mov ecx, dword [ebp + 0x10]
mov dword [esp], 0x3e9
call fcn.00427ca2
lea ecx, [ebp - 0x7c]
push edx
mov byte [ebx + 0x64], al
push edx
call fcn.004c62d0
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.0042776a
lea edx, [ebp - 0x78]
mov eax, esi
sub esp, 0xc
call fcn.004ac589
mov dword [esp], esi
lea ecx, [ebx + 0x68]
call fcn.004c66f8
push ecx
mov ecx, esi
call fcn.004c616a
lea ecx, [ebp - 0x78]
call fcn.004c616a
lea ecx, [ebp - 0x7c]
call fcn.004c616a
lea ecx, [ebp - 0x78]
call fcn.004c62d0
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.0042776a
lea ecx, [ebx + 0x6c]
sub esp, 0xc
mov dword [esp], esi
call fcn.004c66f8
mov ecx, esi
push eax
call fcn.004c616a
lea ecx, [ebp - 0x78]
call fcn.004c616a
mov dword [esp + 4], 0
mov ecx, dword [ebp + 0x10]
mov dword [esp], 0x3f3
call fcn.00427ca2
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], 0x55d078
mov ecx, eax
mov dword [eax + 0x14], 0
mov dword [esp], 0x54ad80
mov dword [ebp - 0x90], eax
call fcn.005039f4
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
push ecx
mov dword [eax], fcn.004d5014
mov ecx, edx
mov dword [eax + 0x10], 0x54fbac
mov dword [eax + 4], ebx
mov dword [eax + 8], 0x4b00b8
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.004c639a
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.004c616a
mov dword [esp], 0
mov ecx, ebx
call method.IWindow.create_IWindow_
push eax
mov eax, 0xb8
test edi, edi
jne 0x4af37f
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 0x4af3b4
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 0x4af3c5
mov eax, dword [ecx]
add ecx, dword [eax - 0xc]
call fcn.00509740
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.004c62d0
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.004c616a
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 0x4af45e
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 0x4af46f
mov eax, dword [ecx]
add ecx, dword [eax - 0xc]
call fcn.00509740
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.004c62d0
mov dword [esp], str.Safe_Mode
mov ecx, edi
call fcn.004c639a
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.004c616a
mov ecx, esi
call fcn.004c616a
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], 0x4ae4ae
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.004ccad0
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 [0x568820]
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.004c639a
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.004c616a
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], 0x4d4014
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.004ccad0
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 [0x568820]
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.004c639a
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.004c616a
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], 0x4d3fa0
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.004ccad0
mov ecx, dword [ebp - 0x90]
mov dword [esp], 2
mov dword [esp + 4], eax
call edi
push edi
push edi
mov dword [esp + 4], 0x4b0622
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.004cca70
mov dword [esp], eax
call fcn.00402a48
mov ecx, esi
call fcn.004c62d0
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 0x4af774
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 0x4af785
mov eax, dword [ecx]
add ecx, dword [eax - 0xc]
call fcn.00509740
mov dword [ebx + 0x34], esi
lea esi, [ebp - 0x78]
mov ecx, esi
call fcn.004c616a
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], 0x528600
call fcn.004c639a
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.004c616a
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 0x4af825
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 0x4af897
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 0x4af8a8
mov eax, dword [ecx]
add ecx, dword [eax - 0x10]
call fcn.00509740
mov dword [ebx + 0x38], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x68]
test edi, edi
je 0x4af8b9
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 0x4af8d6
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 0x4af8e7
mov eax, dword [ecx]
add ecx, dword [eax - 0xc]
call fcn.00509740
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.005190d0
mov ecx, ebx
push eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call method.IWindow.add_IWindow_
push eax
call fcn.0043ded2
lea ecx, [ebx + 0x30]
mov dword [esp], eax
call fcn.005190d0
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], 0x557efc
mov dword [esp], eax
call fcn.005191cc
push edx
mov dword [esp], 8
call sub.msvcrt.dll_malloc
lea ecx, [ebx + 0x7c]
mov dword [eax + 4], 0
mov dword [eax], 0x55c638
mov dword [esp], eax
call fcn.005191cc
push ecx
mov dword [esp], ebx
call fcn.0042c56f
call sym.winbox.exe_createMenu__
lea ecx, [ebx + 0x24]
mov dword [esp], eax
call fcn.00518cc0
lea ecx, [ebp - 0x78]
push edi
mov edi, dword [ebx + 0x24]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x528609
mov dword [ebp - 0x8c], eax
call fcn.004c639a
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.004c616a
mov edi, dword [ebx + 0x24]
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x52860d
mov dword [ebp - 0x8c], eax
call fcn.004c639a
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.004c616a
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.004c639a
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.004c616a
mov edi, dword [ebx + 0x24]
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x52861a
mov dword [ebp - 0x8c], eax
call fcn.004c639a
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.004c616a
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.004c639a
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.004c616a
cmp byte [ebx + 0x70], 0
jne 0x4afb32
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.004c639a
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.004c616a
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.004c639a
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.004c616a
mov edi, dword [ebx + 0x24]
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x527fe8
mov dword [ebp - 0x8c], eax
call fcn.004c639a
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.004c616a
call sym.winbox.exe_createMenu__
lea ecx, [ebx + 0x28]
mov dword [esp], eax
call fcn.00518cc0
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.004c639a
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.004c616a
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.004c639a
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.004c616a
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], 0x528673
mov dword [ebp - 0x8c], eax
call fcn.004c639a
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.004c616a
mov edi, dword [ebx + 0x28]
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x528682
mov dword [ebp - 0x8c], eax
call fcn.004c639a
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.004c616a
call sym.winbox.exe_createMenu__
lea ecx, [ebx + 0x20]
mov dword [esp], eax
call fcn.00518cc0
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], 0x528692
mov dword [ebp - 0x90], eax
call fcn.004c639a
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.004c616a
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.004c639a
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.004c616a
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.004c706c
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.004c7104
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 0x4afe90
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.004ad2dc
mov ecx, ebx
call fcn.004ac2b0
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.004c7160
lea ecx, [ebp - 0x78]
push edx
push edx
call fcn.004c707a
mov eax, dword [esi]
add esi, dword [eax - 0xc]
mov ecx, esi
call fcn.00509740
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc