Function at 0x47ecf0
Capabilities:
Get common file path
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 8
push ebx
mov ebx, 1
mov dword [eax], ebx
mov ax, word [esp + 0x14]
push ebp
push esi
cmp ax, 0x806c
push edi
mov esi, ecx
jne 0x47eff5
push ebx
push ecx
mov ecx, esp
push str.tree_mode
mov dword [0x55bbec], ebx
call fcn.00412590
mov ecx, esi
call fcn.00466e90
lea ecx, [esi + 0x49c4]
mov dword [0x55f248], 0
call fcn.004eddb0
lea ecx, [esi + 0x507c]
call fcn.004eddb0
lea ecx, [esi + 0x5734]
call fcn.004eddb0
lea ecx, [esi + 0x5dec]
call fcn.004eddb0
mov eax, dword [esi + 0x25c]
lea edi, [esi + 0x214]
cmp eax, 0xffffffff
je 0x47ed88
xor ecx, ecx
push 5
test eax, eax
sete cl
mov edx, dword [edi + ecx*4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
mov dword [edi + 0x48], 0xffffffff
call fcn.0042dce0
mov eax, dword [esi + 0x64f4]
mov dword [esi + 0x244], eax
lea eax, [esi + 0x1f4]
test eax, eax
je 0x47edb4
lea ecx, [esi + 0x1f8]
jmp 0x47edb6
xor ecx, ecx
lea edx, [esi + 0x64a4]
test edx, edx
je 0x47edc8
lea eax, [esi + 0x64a8]
jmp 0x47edca
xor eax, eax
mov ecx, dword [ecx]
mov edx, dword [eax]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, esi
call fcn.00478c90
lea ebx, [esi + 0x268]
mov ebp, eax
mov ecx, ebx
call fcn.0045ea30
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor eax, eax
test ebp, ebp
je 0x47ee33
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.004db5c0
test eax, eax
je 0x47ee1e
add eax, 4
jmp 0x47ee20
xor eax, eax
mov edx, dword [eax]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], edx
call fcn.00510740
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, ebx
call fcn.0045e880
lea eax, [esi + 0x1f4]
test eax, eax
je 0x47ee52
lea eax, [esi + 0x1f8]
jmp 0x47ee54
xor eax, eax
cmp dword [eax], 0
je 0x47efc7
mov eax, dword [esi + 0x250]
test eax, eax
je 0x47ef14
test edi, edi
je 0x47ee74
lea eax, [edi - 0x20]
jmp 0x47ee76
xor eax, eax
mov ecx, dword [eax + 4]
lea ebx, [edi + 8]
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [edi + 0x44], 1
je 0x47eefa
mov eax, dword [edi + 0x18]
test eax, eax
je 0x47eea2
mov eax, dword [edi + 0x10]
mov ebp, dword [edi + 0x30]
mov edx, dword [edi + 0x24]
mov ecx, dword [ebx]
sub eax, ebp
sub eax, edx
jmp 0x47eeb2
mov eax, dword [edi + 0x14]
mov ebx, dword [edi + 0x30]
mov edx, dword [edi + 0x24]
mov ecx, dword [edi + 0xc]
sub eax, ebx
sub eax, edx
sub eax, ecx
test eax, eax
jle 0x47efc0
mov edx, dword [edi + 0x3c]
push 0x2710
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
test edi, edi
mov byte [edi + 0x40], 0
je 0x47eee7
lea ecx, [edi - 0x20]
push 0
push eax
add ecx, 0x20
call fcn.0042e050
jmp 0x47efc0
xor ecx, ecx
push ecx
push eax
mov ecx, 0x20
call fcn.0042e050
jmp 0x47efc0
mov eax, dword [edi + 0x44]
shr eax, 2
test al, 1
je 0x47efc0
mov ecx, edi
call fcn.0042df00
jmp 0x47efc0
mov eax, dword [edi + 0x18]
mov ebp, 0x96
test eax, eax
je 0x47ef28
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
jmp 0x47ef2e
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x30]
sub eax, ecx
mov ecx, dword [edi + 0x2c]
lea ebx, [ecx + edx]
cmp ebx, 0x96
jle 0x47ef45
mov ebp, ecx
jmp 0x47ef55
sub eax, dword [edi + 0x24]
sub eax, ecx
sub eax, edx
cmp eax, 0x96
jge 0x47ef55
mov ebp, eax
mov ecx, dword [edi + 0x1c]
mov al, byte [edi + 0x40]
cmp ecx, ebp
mov dword [edi + 0x1c], ebp
setne bl
test al, al
je 0x47efb8
test byte [edi + 0x44], 1
je 0x47ef76
mov ecx, edi
call fcn.00484100
jmp 0x47efbc
mov ecx, dword [edi + 0x44]
shr ecx, 2
test cl, 1
je 0x47efbc
mov eax, dword [edi + 0x18]
test eax, eax
je 0x47ef95
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x24]
sub eax, ecx
mov ecx, dword [edi + 8]
jmp 0x47efa0
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x24]
sub eax, ecx
mov ecx, dword [edi + 0xc]
sub eax, ecx
sub eax, edx
test eax, eax
jle 0x47efaf
sub eax, ebp
mov dword [edi + 0x3c], eax
jmp 0x47efbc
mov dword [edi + 0x3c], 0
jmp 0x47efbc
mov byte [edi + 0x40], 1
test bl, bl
je 0x47efc7
mov ecx, edi
call fcn.0042dce0
push 1
mov ecx, esi
call fcn.00473530
mov ecx, esi
call fcn.0047f270
mov edx, dword [0x55bbec]
lea ecx, [esi + 0x5c]
push edx
call fcn.004228b0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
cmp ax, 0x806d
jne 0x47f0d2
push 2
push ecx
mov ecx, esp
push str.tree_mode
mov dword [0x55bbec], 2
call fcn.00412590
mov ecx, esi
call fcn.00466e90
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x55f248], ebx
mov eax, dword [esi + 0x64a8]
push 0
push eax
call ebp
lea ecx, [esi + 0x49c4]
call fcn.004eddb0
lea ecx, [esi + 0x507c]
call fcn.004eddb0
lea ecx, [esi + 0x5734]
call fcn.004eddb0
lea ecx, [esi + 0x5dec]
call fcn.004eddb0
mov ecx, dword [esi + 0x218]
lea edi, [esi + 0x214]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x47f081
mov edx, dword [edi + 4]
push 5
push edx
call ebp
mov eax, dword [edi]
push 0
push eax
call ebp
cmp dword [edi + 0x20], ebx
je 0x47f090
mov dword [edi + 0x20], ebx
mov ecx, edi
mov dword [edi + 0x48], ebx
call fcn.0042dce0
lea ecx, [esi + 0x268]
call fcn.0045ea30
mov ecx, dword [esi + 0x64a8]
push 5
push ecx
call ebp
mov ecx, esi
call fcn.0047f270
mov edx, dword [0x55bbec]
lea ecx, [esi + 0x5c]
push edx
call fcn.004228b0
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
cmp ax, 0x806b
jne 0x47f19b
xor ebx, ebx
push ebx
push ecx
mov ecx, esp
push str.tree_mode
mov dword [0x55bbec], ebx
call fcn.00412590
mov ecx, esi
call fcn.00466e90
lea ecx, [esi + 0x49c4]
mov dword [0x55f248], ebx
call fcn.004eddb0
lea ecx, [esi + 0x507c]
call fcn.004eddb0
lea ecx, [esi + 0x5734]
call fcn.004eddb0
lea ecx, [esi + 0x5dec]
call fcn.004eddb0
mov eax, dword [esi + 0x218]
lea edi, [esi + 0x214]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x47f150
mov ecx, dword [edi + 4]
push 5
push ecx
call ebp
mov edx, dword [edi]
push ebx
push edx
call ebp
mov eax, dword [edi + 0x20]
mov ebx, 1
cmp eax, ebx
je 0x47f165
mov dword [edi + 0x20], ebx
mov ecx, edi
mov dword [edi + 0x48], ebx
call fcn.0042dce0
lea ecx, [esi + 0x268]
call fcn.0045ea30
mov ecx, esi
call fcn.0047f270
mov eax, dword [0x55bbec]
lea ecx, [esi + 0x5c]
push eax
call fcn.004228b0
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
cmp ax, 0x806a
jne 0x47f1c2
mov eax, dword [0x55bbec]
mov ecx, eax
inc eax
push ecx
mov ecx, esi
mov dword [0x55bbec], eax
call fcn.0047f2f0
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
cmp ax, 0x413
jb 0x47f264
cmp ax, 0x415
ja 0x47f264
mov ecx, dword [0x550b9c]
cmp ax, 0x413
mov edx, ecx
jne 0x47f1e8
xor ecx, ecx
jmp 0x47f1fd
cmp ax, 0x414
jne 0x47f1f2
mov ecx, ebx
jmp 0x47f1fd
cmp ax, 0x415
jne 0x47f203
mov ecx, 2
mov dword [0x550b9c], ecx
cmp edx, ecx
je 0x47f212
call fcn.00516970
inc dword [0x54e5c8]
lea ecx, [esi + 0x714]
call fcn.005170e0
lea ecx, [esi + 0x4c7c]
call fcn.005170e0
lea ecx, [esi + 0x5334]
call fcn.005170e0
lea ecx, [esi + 0x59ec]
call fcn.005170e0
lea ecx, [esi + 0x60a4]
call fcn.005170e0
mov ecx, dword [0x550b9c]
push ecx
push ecx
mov ecx, esp
push 0x54ba14
call fcn.00412590
mov ecx, esi
call fcn.00466e90
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret 0x10