Function at 0x47e420
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 0x47e725
push ebx
push ecx
mov ecx, esp
push str.tree_mode
mov dword [0x55ab4c], ebx
call fcn.00412740
mov ecx, esi
call fcn.004665c0
lea ecx, [esi + 0x49c4]
mov dword [0x55e190], 0
call fcn.004ed1f0
lea ecx, [esi + 0x507c]
call fcn.004ed1f0
lea ecx, [esi + 0x5734]
call fcn.004ed1f0
lea ecx, [esi + 0x5dec]
call fcn.004ed1f0
mov eax, dword [esi + 0x25c]
lea edi, [esi + 0x214]
cmp eax, 0xffffffff
je 0x47e4b8
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.0042dc40
mov eax, dword [esi + 0x64f4]
mov dword [esi + 0x244], eax
lea eax, [esi + 0x1f4]
test eax, eax
je 0x47e4e4
lea ecx, [esi + 0x1f8]
jmp 0x47e4e6
xor ecx, ecx
lea edx, [esi + 0x64a4]
test edx, edx
je 0x47e4f8
lea eax, [esi + 0x64a8]
jmp 0x47e4fa
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.004783c0
lea ebx, [esi + 0x268]
mov ebp, eax
mov ecx, ebx
call fcn.0045e130
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 0x47e563
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.004daa00
test eax, eax
je 0x47e54e
add eax, 4
jmp 0x47e550
xor eax, eax
mov edx, dword [eax]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], edx
call fcn.0050fe40
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, ebx
call fcn.0045df80
lea eax, [esi + 0x1f4]
test eax, eax
je 0x47e582
lea eax, [esi + 0x1f8]
jmp 0x47e584
xor eax, eax
cmp dword [eax], 0
je 0x47e6f7
mov eax, dword [esi + 0x250]
test eax, eax
je 0x47e644
test edi, edi
je 0x47e5a4
lea eax, [edi - 0x20]
jmp 0x47e5a6
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 0x47e62a
mov eax, dword [edi + 0x18]
test eax, eax
je 0x47e5d2
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 0x47e5e2
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 0x47e6f0
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 0x47e617
lea ecx, [edi - 0x20]
push 0
push eax
add ecx, 0x20
call fcn.0042dfb0
jmp 0x47e6f0
xor ecx, ecx
push ecx
push eax
mov ecx, 0x20
call fcn.0042dfb0
jmp 0x47e6f0
mov eax, dword [edi + 0x44]
shr eax, 2
test al, 1
je 0x47e6f0
mov ecx, edi
call fcn.0042de60
jmp 0x47e6f0
mov eax, dword [edi + 0x18]
mov ebp, 0x96
test eax, eax
je 0x47e658
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
jmp 0x47e65e
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 0x47e675
mov ebp, ecx
jmp 0x47e685
sub eax, dword [edi + 0x24]
sub eax, ecx
sub eax, edx
cmp eax, 0x96
jge 0x47e685
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 0x47e6e8
test byte [edi + 0x44], 1
je 0x47e6a6
mov ecx, edi
call fcn.00483840
jmp 0x47e6ec
mov ecx, dword [edi + 0x44]
shr ecx, 2
test cl, 1
je 0x47e6ec
mov eax, dword [edi + 0x18]
test eax, eax
je 0x47e6c5
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x24]
sub eax, ecx
mov ecx, dword [edi + 8]
jmp 0x47e6d0
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 0x47e6df
sub eax, ebp
mov dword [edi + 0x3c], eax
jmp 0x47e6ec
mov dword [edi + 0x3c], 0
jmp 0x47e6ec
mov byte [edi + 0x40], 1
test bl, bl
je 0x47e6f7
mov ecx, edi
call fcn.0042dc40
push 1
mov ecx, esi
call fcn.00472c60
mov ecx, esi
call fcn.0047e9a0
mov edx, dword [0x55ab4c]
lea ecx, [esi + 0x5c]
push edx
call fcn.004229e0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
cmp ax, 0x806d
jne 0x47e802
push 2
push ecx
mov ecx, esp
push str.tree_mode
mov dword [0x55ab4c], 2
call fcn.00412740
mov ecx, esi
call fcn.004665c0
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x55e190], ebx
mov eax, dword [esi + 0x64a8]
push 0
push eax
call ebp
lea ecx, [esi + 0x49c4]
call fcn.004ed1f0
lea ecx, [esi + 0x507c]
call fcn.004ed1f0
lea ecx, [esi + 0x5734]
call fcn.004ed1f0
lea ecx, [esi + 0x5dec]
call fcn.004ed1f0
mov ecx, dword [esi + 0x218]
lea edi, [esi + 0x214]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x47e7b1
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 0x47e7c0
mov dword [edi + 0x20], ebx
mov ecx, edi
mov dword [edi + 0x48], ebx
call fcn.0042dc40
lea ecx, [esi + 0x268]
call fcn.0045e130
mov ecx, dword [esi + 0x64a8]
push 5
push ecx
call ebp
mov ecx, esi
call fcn.0047e9a0
mov edx, dword [0x55ab4c]
lea ecx, [esi + 0x5c]
push edx
call fcn.004229e0
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
cmp ax, 0x806b
jne 0x47e8cb
xor ebx, ebx
push ebx
push ecx
mov ecx, esp
push str.tree_mode
mov dword [0x55ab4c], ebx
call fcn.00412740
mov ecx, esi
call fcn.004665c0
lea ecx, [esi + 0x49c4]
mov dword [0x55e190], ebx
call fcn.004ed1f0
lea ecx, [esi + 0x507c]
call fcn.004ed1f0
lea ecx, [esi + 0x5734]
call fcn.004ed1f0
lea ecx, [esi + 0x5dec]
call fcn.004ed1f0
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 0x47e880
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 0x47e895
mov dword [edi + 0x20], ebx
mov ecx, edi
mov dword [edi + 0x48], ebx
call fcn.0042dc40
lea ecx, [esi + 0x268]
call fcn.0045e130
mov ecx, esi
call fcn.0047e9a0
mov eax, dword [0x55ab4c]
lea ecx, [esi + 0x5c]
push eax
call fcn.004229e0
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
cmp ax, 0x806a
jne 0x47e8f2
mov eax, dword [0x55ab4c]
mov ecx, eax
inc eax
push ecx
mov ecx, esi
mov dword [0x55ab4c], eax
call fcn.0047ea20
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
cmp ax, 0x413
jb 0x47e994
cmp ax, 0x415
ja 0x47e994
mov ecx, dword [0x54fb2c]
cmp ax, 0x413
mov edx, ecx
jne 0x47e918
xor ecx, ecx
jmp 0x47e92d
cmp ax, 0x414
jne 0x47e922
mov ecx, ebx
jmp 0x47e92d
cmp ax, 0x415
jne 0x47e933
mov ecx, 2
mov dword [0x54fb2c], ecx
cmp edx, ecx
je 0x47e942
call fcn.00461820
inc dword [0x54d558]
lea ecx, [esi + 0x714]
call fcn.00516780
lea ecx, [esi + 0x4c7c]
call fcn.00516780
lea ecx, [esi + 0x5334]
call fcn.00516780
lea ecx, [esi + 0x59ec]
call fcn.00516780
lea ecx, [esi + 0x60a4]
call fcn.00516780
mov ecx, dword [0x54fb2c]
push ecx
push ecx
mov ecx, esp
push 0x54a9cc
call fcn.00412740
mov ecx, esi
call fcn.004665c0
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret 0x10