Function at 0x4391e0
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x438
mov eax, dword [0x57c54c]
xor eax, esp
mov dword [esp + 0x434], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x4395c1
test edi, edi
je 0x4395c1
mov ecx, dword [edi + 0x1288]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4395c1
push 0x400
mov dword [esi + 4], eax
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00503920
add esp, 0xc
push str.edit_dir
push dword [ebp + 8]
call fcn.00489920
test eax, eax
je 0x439282
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, eax
call fcn.0046f340
mov dword [esp + 0x18], eax
test eax, eax
je 0x439282
push eax
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.0050c68a
add esp, 0xc
push dword [esp + 0x18]
call fcn.005010e5
add esp, 4
cmp byte [esp + 0x38], 0
jne 0x4392b2
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00503920
add esp, 8
lea eax, [esp + 0x3c]
push 0x10
push eax
push 0
call fcn.00407620
mov ecx, eax
call fcn.00457b00
push 0x55ff98
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.00507fcc
add esp, 0xc
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
add eax, 0x1008
push 0x400
push eax
call fcn.0050c68a
add esp, 0xc
push str.main_window
push dword [esi + 4]
call fcn.00489920
mov dword [esp + 0x18], eax
test eax, eax
je 0x439313
mov ecx, dword [eax]
push str.main_window_style2
push eax
call dword [ecx + 0xa4]
push 0
push dword [esp + 0x1c]
call fcn.0048b130
push str.hwnd_tab
push dword [esi + 4]
call fcn.00489920
mov dword [esp + 0x14], eax
test eax, eax
je 0x439362
push dword [esi + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x190]
mov ecx, dword [esp + 0x14]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0xb0]
push 0
push dword [esp + 0x18]
call fcn.0048b130
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.00489920
mov dword [esp + 0x14], eax
test eax, eax
je 0x4393c6
mov ecx, dword [edi + 0x1288]
test ecx, ecx
je 0x4393c6
mov ecx, dword [ecx + 0x1408]
call fcn.0046f2c0
mov edx, eax
mov dword [esp + 0x18], edx
test edx, edx
je 0x4393c6
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
push 0
push dword [esp + 0x18]
call fcn.0048b1c0
push 0
push dword [esp + 0x18]
call fcn.0048b130
push dword [esp + 0x18]
call fcn.005010e5
add esp, 4
lea eax, [edi + 0x1290]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.004396a0
push str.page2_bottom_content
push dword [esi + 4]
call fcn.00489920
mov dword [esp + 0x18], eax
test eax, eax
je 0x439401
push 0
push eax
call fcn.0048b1c0
push 0
push dword [esp + 0x1c]
call fcn.0048b130
call fcn.00418fd0
cmp dword [eax + 0xc], 4
je 0x4395a6
mov eax, dword [edi + 0x12a8]
lea ecx, [edi + 0x12a8]
cmp eax, dword [ecx + 4]
jne 0x43942f
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.0043a410
jmp 0x439447
push dword [edi + 0x13c8]
lea eax, [edi + 0x1290]
sub esp, 8
push ecx
push eax
mov ecx, esi
call fcn.00439ba0
push str.page2_manual_arrange
push dword [esi + 4]
call fcn.00489920
test eax, eax
je 0x4395a6
xor edi, edi
mov dword [esp + 0x18], 1
cmp dword [esi + 8], 1
mov dword [esp + 0x14], 1
jl 0x4395a6
nop dword [eax + eax]
push 0x20a
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00503920
add esp, 0xc
lea eax, [esp + 0x38]
push dword [esp + 0x14]
push str.page2_list_item__d
push eax
call fcn.00438860
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push dword [esi + 4]
call fcn.00489920
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x43952a
cmp dword [esp + 0x18], 0
je 0x4394ff
push str.page2_check_item_text_1
push dword [esi + 4]
call fcn.00489920
test eax, eax
je 0x4394f5
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
xorps xmm0, xmm0
push eax
movaps xmmword [esp + 0x28], xmm0
call dword [ecx + 0x5c]
mov eax, dword [esp + 0x28]
add eax, 5
add edi, eax
mov dword [esp + 0x18], 0
jmp 0x439518
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0xd8]
mov ecx, dword [esp + 0x1c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x78]
add eax, 5
add edi, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 8]
jle 0x439480
mov dword [esp + 0x14], edi
test edi, edi
je 0x4395a6
mov edi, 1
cmp dword [esi + 0xc], edi
jl 0x4395a6
nop dword [eax]
push 0x20a
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00503920
add esp, 0xc
lea eax, [esp + 0x38]
push edi
push str.page2_bottom_check_lk__d
push eax
call fcn.00438860
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push dword [esi + 4]
call fcn.00489920
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4395a0
push dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd8]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov ecx, dword [esp + 0x14]
add ecx, 5
add ecx, eax
mov dword [esp + 0x14], ecx
inc edi
cmp edi, dword [esi + 0xc]
jle 0x439540
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.00500b45
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x43c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00500b45
mov esp, ebp
pop ebp
ret 8