Function at 0x1001d4e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b8
mov eax, dword [0x100a71bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [0x100a86d0], eax
push 0
call sym.Enable40.dll_enaInitEnableEdit
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0
jge 0x1001d5a5
mov ecx, dword [ebp + 0x14]
and ecx, 1
je 0x1001d59a
push 0x7e
call fcn.10008d70
add esp, 4
cmp dword [ebp - 0x34c], eax
jne 0x1001d54c
push 0x30
mov edx, dword [0x100a0320]
push edx
push str.The_module_RICHED20.DLL_could_not_be_found.
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1001d59a
push 0
push 0
lea eax, [ebp - 0x35c]
push eax
push 0x400
mov ecx, dword [ebp - 0x34c]
push ecx
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x30
mov edx, dword [0x100a0320]
push edx
mov eax, dword [ebp - 0x35c]
push eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x34c]
jmp 0x1001d8da
mov dword [ebp - 0x344], 0
push 0x134
push 0
lea edx, [ebp - 0x340]
push edx
call fcn.10065850
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x1001d5d6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x360], eax
jmp 0x1001d5e2
lea ecx, [ebp - 0x344]
mov dword [ebp - 0x360], ecx
mov edx, dword [ebp - 0x360]
mov dword [0x100a86d8], edx
mov eax, dword [0x100a86d8]
cmp dword [eax + 4], 0
jne 0x1001d608
mov ecx, dword [0x100a86d8]
mov edx, dword [0x100a0320]
mov dword [ecx + 4], edx
mov eax, dword [0x100a86d8]
cmp dword [eax], 0x138
jne 0x1001d687
mov ecx, dword [0x100a86d8]
cmp dword [ecx + 0x134], 0
je 0x1001d687
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0xffffffffffffffff
mov eax, dword [0x100a86d8]
mov ecx, dword [eax + 0x134]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x100a86ec
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0
jl 0x1001d687
push 0x100a86e0
mov eax, dword [0x100a86ec]
mov ecx, dword [eax]
mov edx, dword [0x100a86ec]
push edx
mov eax, dword [ecx + 0x20]
call eax
mov dword [ebp - 0x34c], eax
mov ecx, dword [0x100a86d8]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x350], edx
mov dword [ebp - 0x348], 0
cmp dword [ebp - 0x350], 0
je 0x1001d6c8
lea eax, [ebp - 0x348]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x350]
push eax
mov ecx, dword [edx + 0x10]
call ecx
cmp dword [ebp - 0x348], 0
je 0x1001d73d
mov dword [ebp - 0x368], 0
lea edx, [ebp - 0x368]
push edx
push 0
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x348]
push edx
mov eax, dword [ecx + 0x24]
call eax
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0x80004001
je 0x1001d729
push 0x100a86dc
mov ecx, dword [ebp - 0x348]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x348]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x364], eax
mov edx, dword [ebp - 0x348]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x348]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [0x100a7e88]
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x39c], 0x30
mov dword [ebp - 0x398], 3
mov dword [ebp - 0x394], 0x1001e3d0
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 0xc
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x388], ecx
mov dword [ebp - 0x384], 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 0x10070d58
mov edx, dword [0x100a0320]
mov dword [ebp - 0x374], edx
mov dword [ebp - 0x370], 0
lea eax, [ebp - 0x39c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ecx, dword [0x100a86d8]
add ecx, 0x30
push ecx
mov edx, dword [ebp - 0x354]
push edx
push 0
push 0
push MenuHelp
push MenuHelp
push MenuHelp
push MenuHelp
push 0xcf0000
push 0
mov eax, dword [0x100a0320]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x358]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x358]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push str.Editor
mov ecx, dword [ebp - 0x354]
push ecx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [ebp - 0x36c], eax
push 0
push 0
push 0
lea edx, [ebp - 0x3b8]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x1001d8c7
cmp dword [0x100a86d4], 0
je 0x1001d88c
lea eax, [ebp - 0x3b8]
push eax
mov ecx, dword [0x100a86d4]
push ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x1001d8c5
lea edx, [ebp - 0x3b8]
push edx
mov eax, dword [ebp - 0x36c]
push eax
mov ecx, dword [ebp - 0x358]
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x1001d8c5
lea edx, [ebp - 0x3b8]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3b8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x1001d854
mov ecx, dword [0x100a86d8]
mov dword [ecx + 0x1c], 0
mov eax, dword [ebp - 0x3b0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100454bc
mov esp, ebp
pop ebp
ret 0x10