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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x559024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov ecx, dword [edi + 0x2ac]
mov dword [ebp - 0x210], ebx
test ecx, ecx
je 0x46fbd7
lea eax, [edi + 0x24]
call fcn.00402f90
mov eax, dword [edi + 0x2ac]
cmp byte [eax + 0x415], 0
mov eax, dword [edi + 0x5c]
je 0x46f89a
test eax, eax
je 0x46f88a
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46f8be
mov ecx, dword [edi + 0x58]
mov edx, dword [ecx + 4]
mov dword [edi + edx + 0x58], 6
jmp 0x46f8be
test eax, eax
je 0x46f8b0
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46f8be
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x58], 6
mov eax, dword [edi + 0x2ac]
xor edx, edx
push edx
mov word [ebp - 0x20c], dx
mov ecx, dword [eax + 0x410]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x20c], 0
je 0x46f907
push 0x5388e8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005149bd
add esp, 0xc
mov ecx, dword [edi + 0x2ac]
push esi
add ecx, 0x208
push ecx
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.005149bd
mov eax, dword [edi + 0x134]
add esp, 0xc
test eax, eax
je 0x46f963
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x46f977
mov edx, dword [edi + 0x130]
mov ebx, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + edi + 0x130], eax
mov ebx, dword [ebp - 0x210]
jmp 0x46f977
mov eax, dword [edi + 0x130]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x130], 0x57
mov edx, dword [edi + 0x2ac]
cmp byte [edx + 0x414], 0
mov eax, dword [edi + 0x194]
je 0x46f9b8
test eax, eax
je 0x46f9a2
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46f9e2
mov eax, dword [edi + 0x190]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x190], 6
jmp 0x46f9e2
test eax, eax
je 0x46f9ce
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46f9e2
mov edx, dword [edi + 0x190]
mov eax, dword [edx + 4]
mov dword [edi + eax + 0x190], 6
mov ecx, dword [edi + 0x2ac]
cmp byte [ecx + 0x416], 0
mov eax, dword [edi + 0x80]
je 0x46fa1d
test eax, eax
je 0x46fa0d
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46fa41
mov edx, dword [edi + 0x7c]
mov eax, dword [edx + 4]
mov dword [edi + eax + 0x7c], 6
jmp 0x46fa41
test eax, eax
je 0x46fa33
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46fa41
mov ecx, dword [edi + 0x7c]
mov edx, dword [ecx + 4]
mov dword [edi + edx + 0x7c], 6
test ebx, ebx
je 0x46fa55
push 0
push 0
push 0x8365
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [edi + 0x2ac]
add ecx, 0x41c
lea eax, [edi + 0x218]
call fcn.00402f90
cmp byte [edi + 0x4c8], 0
mov eax, dword [edi + 0x104]
jne 0x46fb48
test eax, eax
je 0x46fa8e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46faa2
mov eax, dword [edi + 0x10c]
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0x10c], 6
mov eax, dword [edi + 0x1d4]
test eax, eax
je 0x46fab7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46facb
mov edx, dword [edi + 0x1dc]
mov eax, dword [edx + 4]
mov dword [eax + edi + 0x1dc], 6
push 0
lea esi, [edi + 0x1f0]
call fcn.004b5070
mov eax, dword [edi + 0x220]
test eax, eax
je 0x46faed
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46fb01
mov ecx, dword [edi + 0x228]
mov edx, dword [ecx + 4]
mov dword [edx + edi + 0x228], 6
mov eax, dword [edi + 0x244]
test eax, eax
je 0x46fb24
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.00513498
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x24c]
mov ecx, dword [eax + 4]
pop esi
mov dword [ecx + edi + 0x24c], 6
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00513498
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x46fb59
push 0
push eax
call esi
jmp 0x46fb6d
mov edx, dword [edi + 0x10c]
mov eax, dword [edx + 4]
mov dword [eax + edi + 0x10c], 6
mov eax, dword [edi + 0x1d4]
test eax, eax
je 0x46fb7e
push 5
push eax
call esi
jmp 0x46fb92
mov ecx, dword [edi + 0x1dc]
mov edx, dword [ecx + 4]
mov dword [edx + edi + 0x1dc], 6
lea esi, [edi + 0x1f0]
push 1
call fcn.004b5070
mov eax, dword [edi + 0x2ac]
cmp dword [eax + 0x418], 2
mov eax, 0x9d8
je 0x46fbb8
mov eax, 0x9d7
call fcn.004b50d0
cmp dword [edi + 0x208], 0x9d8
mov esi, edi
jne 0x46fbcf
push 1
jmp 0x46fbd1
push 0
call fcn.00470a60
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00513498
mov esp, ebp
pop ebp
ret