Function at 0x401530
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x54
push esi
mov esi, dword [esp + 0x5c]
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push str.SysTreeView32
push 0
push esi
call edi
test eax, eax
mov dword [esp + 8], eax
jne 0x401569
push eax
push str.SHBrowseForFolder_ShellNameSpace_Control
push eax
push esi
call edi
test eax, eax
mov dword [esp + 8], eax
je 0x4017a5
push ebx
push 0
push str.Edit
push 0
push esi
mov dword [esp + 0x74], 0
call edi
mov ebx, eax
test ebx, ebx
je 0x4015da
mov eax, dword [esp + 0x68]
test byte [eax + 8], 0x10
je 0x4015b8
lea ecx, [esp + 0x40]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x40]
push edx
push esi
call fcn.004017b0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
add esp, 8
sub eax, ecx
mov dword [esp + 0x64], eax
jmp 0x4015da
push 0
push 0xa
push 0xa
push 0x4e20
push 0x4e20
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x20]
push eax
push esi
call edi
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add edx, 0x28
add ecx, 0x1e
test ebx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
je 0x40160e
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx + 5]
mov dword [esp + 0x2c], eax
push ebp
lea ecx, [esp + 0x24]
push 1
push ecx
push esi
call fcn.004017d0
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
test ebp, ebp
je 0x401642
lea eax, [esp + 0x14]
push eax
push ebp
call edi
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.004017b0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub eax, edx
mov edx, dword [esp + 0x38]
sub edi, ecx
add esp, 8
lea ecx, [edx - 0xa]
mov dword [esp + 0x20], ecx
sub ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
add eax, 0xfffffff6
mov dword [esp + 0x1c], eax
sub eax, edi
mov dword [esp + 0x14], eax
xor eax, eax
cmp ebp, eax
je 0x40169d
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
call fcn.004017d0
add esp, 0xc
xor eax, eax
push 1
push esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
test ebp, ebp
je 0x4016c8
lea edx, [esp + 0x34]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x34]
push eax
push esi
call fcn.004017b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add eax, 0xfffffff6
mov dword [esp + 0x44], eax
add esp, 8
sub eax, edi
mov dword [esp + 0x40], ecx
test ebp, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
je 0x40170b
lea ecx, [esp + 0x34]
push 0
push ecx
push ebp
call fcn.004017d0
add esp, 0xc
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x54]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x54]
push eax
push esi
call fcn.004017b0
add esp, 8
test ebx, ebx
pop ebp
je 0x40176d
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
mov esi, 0xa
lea eax, [esp + 0x40]
push 0
add ecx, 0xfffffff6
add edx, esi
push eax
push ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], edx
call fcn.004017d0
mov ecx, dword [esp + 0x58]
add esp, 0xc
add ecx, 5
mov dword [esp + 0x54], ecx
jmp 0x40177a
mov dword [esp + 0x54], 0xa
mov esi, 0xa
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x50]
push 0
add edx, 0xfffffff6
add eax, 0xfffffff6
push ecx
push edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
call fcn.004017d0
add esp, 0xc
pop ebx
pop edi
pop esi
add esp, 0x54
ret