Function at 0x4227e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x543720]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x422a65
test edi, edi
je 0x422a65
mov eax, dword [edi + 0x1284]
mov dword [esp + 0xc], eax
test eax, eax
je 0x422a65
push 0x3ff
lea eax, [esp + 0x15]
mov dword [esi + 4], ebx
push 0
push eax
mov byte [esp + 0x1c], 0
call fcn.004e4b60
add esp, 0xc
push str.edit_dir
push ebx
call fcn.0046abf0
test eax, eax
je 0x422881
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, eax
call fcn.00453ed0
mov ebx, eax
test ebx, ebx
je 0x422881
push ebx
lea eax, [esp + 0x14]
push 0x400
push eax
call fcn.004e2945
add esp, 0xc
push ebx
call fcn.004e0c7a
add esp, 4
cmp byte [esp + 0x10], 0
jne 0x4228b1
push 0x400
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004e4b60
add esp, 8
lea eax, [esp + 0x14]
push 0x10
push eax
push 0
call fcn.00419840
mov ecx, eax
call fcn.0043e740
push 0x52a664
lea eax, [esp + 0x14]
push 0x400
push eax
call fcn.004e1c45
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
add eax, 0x804
push 0x400
push eax
call fcn.004e2945
add esp, 0xc
push str.main_window
push dword [esi + 4]
call fcn.0046abf0
mov ebx, eax
test ebx, ebx
je 0x42290d
mov ecx, dword [ebx]
push str.main_window_style2
push ebx
call dword [ecx + 0xa4]
push 0
push ebx
call fcn.0046c270
push str.hwnd_tab
push dword [esi + 4]
call fcn.0046abf0
mov ebx, eax
test ebx, ebx
je 0x422953
push dword [esi + 0x18]
mov ecx, dword [ebx]
push ebx
call dword [ecx + 0x190]
mov eax, dword [ebx]
push 1
push ebx
call dword [eax + 0xb0]
push 0
push ebx
call fcn.0046c270
push 5
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_UpdateWindow]
push str.page2_softname
push dword [esi + 4]
call fcn.0046abf0
mov ebx, eax
test ebx, ebx
je 0x4229a9
mov ecx, dword [edi + 0x1284]
test ecx, ecx
je 0x4229a9
mov ecx, dword [ecx + 0xc04]
call fcn.00453e50
mov dword [esp + 0xc], eax
test eax, eax
je 0x4229a9
mov ecx, dword [ebx]
push eax
push ebx
call dword [ecx + 0xa8]
push 0
push ebx
call fcn.0046c300
push 0
push ebx
call fcn.0046c270
push dword [esp + 0xc]
call fcn.004e0c7a
add esp, 4
lea eax, [edi + 0x128c]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00422b40
push str.page2_bottom_content
push dword [esi + 4]
call fcn.0046abf0
mov ebx, eax
test ebx, ebx
je 0x4229df
push 0
push ebx
call fcn.0046c300
push 0
push ebx
call fcn.0046c270
call fcn.00409d30
cmp dword [eax + 0xc], 4
je 0x422a49
mov eax, dword [edi + 0x12a4]
lea ecx, [edi + 0x12a4]
cmp eax, dword [ecx + 4]
jne 0x422a2a
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004238d0
mov ecx, esi
call fcn.00423d90
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 8
push dword [edi + 0x12e8]
lea eax, [edi + 0x128c]
sub esp, 8
push ecx
push eax
mov ecx, esi
call fcn.00423030
mov ecx, esi
call fcn.00423d90
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x414]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 8