Function at 0x478030
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 0x47836f
mov eax, dword [ebp + 8]
push eax
push ecx
mov ecx, edi
call fcn.00477530
mov edx, dword [edi + 0x21c]
cmp byte [edx + 0x415], 0
mov eax, dword [edi + 0x5c]
je 0x47809d
test eax, eax
je 0x47808d
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4780c1
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x58], 6
jmp 0x4780c1
test eax, eax
je 0x4780b3
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4780c1
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 0x47810a
push 0x54ede0
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.0052003e
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.0052003e
mov eax, dword [edi + 0xa4]
add esp, 0xc
test eax, eax
je 0x478165
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x478179
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 0x478179
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 0x4781ba
test eax, eax
je 0x4781a4
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4781e4
mov ecx, dword [edi + 0x100]
mov edx, dword [ecx + 4]
mov dword [edi + edx + 0x100], 6
jmp 0x4781e4
test eax, eax
je 0x4781d0
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4781e4
mov eax, dword [edi + 0x100]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x100], 6
test ebx, ebx
je 0x4781f8
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 0x4782e6
test eax, eax
je 0x47822e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47823c
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 0x478251
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x478265
mov ecx, dword [edi + 0x14c]
mov edx, dword [ecx + 4]
mov dword [edx + edi + 0x14c], 6
push 0
lea esi, [edi + 0x160]
call fcn.004bed50
mov eax, dword [edi + 0x190]
test eax, eax
je 0x478287
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47829b
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 0x4782c0
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.0051eacc
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.0051eacc
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4782f7
push 0
push eax
call esi
jmp 0x478305
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 0x478316
push 5
push eax
call esi
jmp 0x47832a
mov eax, dword [edi + 0x14c]
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0x14c], 6
lea esi, [edi + 0x160]
push 1
call fcn.004bed50
mov edx, dword [edi + 0x21c]
cmp dword [edx + 0x418], 2
mov eax, 0x9d8
je 0x478350
mov eax, 0x9d7
call fcn.004bedb0
cmp dword [edi + 0x178], 0x9d8
mov esi, edi
jne 0x478367
push 1
jmp 0x478369
push 0
call fcn.00478f60
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0051eacc
mov esp, ebp
pop ebp
ret 4