Function at 0x401ed8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0
push str.SysTreeView32
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401f10
push 0
push str.SHBrowseForFolder_ShellNameSpace_Control
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
call fcn.0040129e
cmp dword [ebp - 4], 0
je 0x4021c7
mov dword [ebp - 0x74], 0
push 0
push str.Edit
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x34]
call fcn.0040129e
cmp dword [ebp - 0x4c], 0
je 0x401f85
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
and ecx, 0x10
test ecx, ecx
je 0x401f85
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004021cb
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.004012b7
mov dword [ebp - 0x74], eax
jmp 0x401fb8
cmp dword [ebp - 0x4c], 0
je 0x401fb8
push 0
push 0xa
push 0xa
push 0x4e20
push 0x4e20
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x4c], 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0xc]
add ecx, 0x28
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
add edx, 0x1e
mov dword [ebp - 8], edx
cmp dword [ebp - 0x4c], 0
je 0x401feb
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 5]
mov dword [ebp - 8], edx
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004021ef
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0x5c], 0xa
mov dword [ebp - 0x70], 0xa
xor ecx, ecx
test ecx, ecx
je 0x40202a
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x6c]
call fcn.0040129e
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x402055
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004021cb
add esp, 8
lea ecx, [ebp - 0x6c]
call fcn.004012b7
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x6c]
call fcn.0040105a
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x70]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
sub edx, dword [ebp - 0x54]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x58], 0
je 0x4020b7
push 0
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.004021ef
add esp, 0xc
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.004011ae
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4020ea
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004021cb
add esp, 8
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x6c]
sub edx, 0xa
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x38], 0
je 0x402130
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.004021ef
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.0040129e
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004021cb
add esp, 8
cmp dword [ebp - 0x4c], 0
je 0x402197
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x74]
mov dword [ebp - 0x28], ecx
push 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004021ef
add esp, 0xc
mov ecx, dword [ebp - 0x28]
add ecx, 5
mov dword [ebp - 0x44], ecx
jmp 0x40219d
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 0xa
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x5c]
mov dword [ebp - 0x40], edx
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004021ef
add esp, 0xc
mov esp, ebp
pop ebp
ret