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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0x21c], 0
push ebx
mov ebx, edx
mov dword [ebp - 0x210], ebx
je 0x47849f
mov eax, dword [ebp + 8]
push eax
push ecx
mov ecx, edi
call fcn.00477670
mov edx, dword [edi + 0x21c]
cmp byte [edx + 0x415], 0
mov eax, dword [edi + 0x5c]
je 0x4781cd
test eax, eax
je 0x4781bd
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4781f1
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x58], 6
jmp 0x4781f1
test eax, eax
je 0x4781e3
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4781f1
mov edx, dword [edi + 0x58]
mov eax, dword [edx + 4]
mov dword [edi + eax + 0x58], 6
mov edx, dword [edi + 0x21c]
xor ecx, ecx
push ecx
mov word [ebp - 0x20c], cx
mov eax, dword [edx + 0x410]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x20c], 0
je 0x47823a
push 0x54ede0
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.0052010e
add esp, 0xc
mov eax, dword [edi + 0x21c]
push esi
add eax, 0x208
push eax
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0052010e
mov eax, dword [edi + 0xa4]
add esp, 0xc
test eax, eax
je 0x478295
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4782a9
mov eax, dword [edi + 0xa0]
mov ebx, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + edi + 0xa0], eax
mov ebx, dword [ebp - 0x210]
jmp 0x4782a9
mov ecx, dword [edi + 0xa0]
mov edx, dword [ecx + 4]
mov dword [edi + edx + 0xa0], 0x57
mov eax, dword [edi + 0x21c]
cmp byte [eax + 0x414], 0
mov eax, dword [edi + 0x104]
je 0x4782ea
test eax, eax
je 0x4782d4
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x478314
mov ecx, dword [edi + 0x100]
mov edx, dword [ecx + 4]
mov dword [edi + edx + 0x100], 6
jmp 0x478314
test eax, eax
je 0x478300
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x478314
mov eax, dword [edi + 0x100]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x100], 6
test ebx, ebx
je 0x478328
push 0
push 0
push 0x8365
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [edi + 0x21c]
add ecx, 0x41c
lea eax, [edi + 0x188]
call fcn.00405d30
cmp byte [edi + 0x438], 0
mov eax, dword [edi + 0x74]
jne 0x478416
test eax, eax
je 0x47835e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47836c
mov edx, dword [edi + 0x7c]
mov eax, dword [edx + 4]
mov dword [eax + edi + 0x7c], 6
mov eax, dword [edi + 0x144]
test eax, eax
je 0x478381
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x478395
mov ecx, dword [edi + 0x14c]
mov edx, dword [ecx + 4]
mov dword [edx + edi + 0x14c], 6
push 0
lea esi, [edi + 0x160]
call fcn.004bed40
mov eax, dword [edi + 0x190]
test eax, eax
je 0x4783b7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4783cb
mov eax, dword [edi + 0x198]
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0x198], 6
mov eax, dword [edi + 0x1b4]
test eax, eax
je 0x4783f0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret 4
mov edx, dword [edi + 0x1bc]
mov eax, dword [edx + 4]
pop esi
mov dword [eax + edi + 0x1bc], 6
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x478427
push 0
push eax
call esi
jmp 0x478435
mov ecx, dword [edi + 0x7c]
mov edx, dword [ecx + 4]
mov dword [edx + edi + 0x7c], 6
mov eax, dword [edi + 0x144]
test eax, eax
je 0x478446
push 5
push eax
call esi
jmp 0x47845a
mov eax, dword [edi + 0x14c]
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0x14c], 6
lea esi, [edi + 0x160]
push 1
call fcn.004bed40
mov edx, dword [edi + 0x21c]
cmp dword [edx + 0x418], 2
mov eax, 0x9d8
je 0x478480
mov eax, 0x9d7
call fcn.004beda0
cmp dword [edi + 0x178], 0x9d8
mov esi, edi
jne 0x478497
push 1
jmp 0x478499
push 0
call fcn.00479090
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret 4