Function at 0x46ed10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cbed
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x559024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebp + 0xc]
mov edi, ecx
push 0x755e
lea ecx, [ebp - 0x23c]
mov ebx, edx
push ecx
mov ecx, 0x55a400
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], ebx
mov byte [edi + 0x4c8], al
call fcn.00467b90
lea esi, [edi + 0xfc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], esi
test ebx, ebx
je 0x46edbd
push 0x1794
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x46eda9
push 0x1794
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x21c]
jmp 0x46edcd
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x46edcd
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x23c]
test ecx, ecx
jne 0x46eddc
mov ecx, 0x538640
mov eax, dword [edi + 0x110]
lea esi, [edi + 0x10c]
test eax, eax
je 0x46ee12
test ecx, ecx
je 0x46ee12
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x46ee1e
mov eax, dword [esi]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x21c]
jmp 0x46ee1e
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
push 0x7582
lea edx, [ebp - 0x230]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x46ee5a
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x1cc]
mov dword [ebp - 0x244], esi
test ebx, ebx
je 0x46eea3
push 0x17d6
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x46ee8f
push 0x17d6
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x21c]
jmp 0x46eeb3
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x46eeb3
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x23c]
test ecx, ecx
jne 0x46eec2
mov ecx, 0x538640
mov eax, dword [edi + 0x1e0]
lea esi, [edi + 0x1dc]
test eax, eax
je 0x46eef2
test ecx, ecx
je 0x46eef2
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x46eefe
mov ecx, dword [esi]
mov edi, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
jmp 0x46eefe
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
mov esi, dword [ebp - 0x21c]
mov edx, 0x9d8
add esi, 0x1f0
push ebx
lea ecx, [edx - 1]
mov edi, 2
mov dword [ebp - 0x240], esi
call fcn.004b4d90
push 0x9d7
mov ebx, esi
call fcn.004b4f90
push 0x9d8
call fcn.004b4f90
push 0x88cc
lea eax, [ebp - 0x230]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x46ef75
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0x23c]
test ecx, ecx
jne 0x46ef84
mov ecx, 0x538640
mov eax, 0x9d7
call fcn.004b5130
push 0x88cd
lea ecx, [ebp - 0x230]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x46efca
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0x23c]
test ecx, ecx
jne 0x46efd9
mov ecx, 0x538640
mov eax, 0x9d8
call fcn.004b5130
mov ebx, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x220]
push 0x102
lea edx, [ebx + 0x120]
mov eax, 0x1198
mov ecx, edi
call fcn.0043cb80
mov eax, dword [ebx + 0x2ac]
xor edx, edx
push edx
mov word [ebp - 0x218], dx
mov ecx, dword [eax + 0x410]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x218], 0
je 0x46f04f
push 0x5388e8
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.005149bd
add esp, 0xc
mov eax, dword [ebx + 0x2ac]
add eax, 0x208
push eax
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.005149bd
mov eax, dword [ebx + 0x134]
add esp, 0xc
test eax, eax
je 0x46f0a9
lea edx, [ebp - 0x218]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x46f0bd
mov eax, dword [ebx + 0x130]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0x130], eax
mov edi, dword [ebp - 0x220]
jmp 0x46f0bd
mov ecx, dword [ebx + 0x130]
mov eax, dword [ecx + 4]
mov dword [eax + ebx + 0x130], 0x57
lea edx, [ebx + 0x218]
push 0x40f
mov eax, 0x11a0
mov ecx, edi
mov dword [ebp - 0x254], edx
call fcn.0043cb80
mov eax, dword [ebx + 0x2ac]
mov ecx, dword [ebx + 0x22c]
add eax, 0x41c
test ecx, ecx
je 0x46f11d
test eax, eax
je 0x46f11d
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x46f131
mov edx, dword [ebx + 0x228]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0x228], eax
mov edi, dword [ebp - 0x220]
jmp 0x46f131
mov eax, dword [ebx + 0x228]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x228], 0x57
push 0x810c
lea ecx, [ebp - 0x230]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x46f16d
push eax
call fcn.005134a7
add esp, 4
lea esi, [ebx + 0x23c]
mov dword [ebp - 0x250], esi
test edi, edi
je 0x46f1bc
push 0x3f7
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x46f1a8
mov edx, dword [ebp - 0x220]
push 0x3f7
push edx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x220]
jmp 0x46f1cc
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x46f1cc
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x23c]
test ecx, ecx
jne 0x46f1db
mov ecx, 0x538640
mov eax, dword [ebx + 0x250]
test eax, eax
je 0x46f213
test ecx, ecx
je 0x46f213
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x46f227
mov ecx, dword [ebx + 0x24c]
mov edi, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0x24c], eax
mov edi, dword [ebp - 0x220]
jmp 0x46f227
mov edx, dword [ebx + 0x24c]
mov eax, dword [edx + 4]
mov dword [eax + ebx + 0x24c], 0x57
mov eax, dword [0x55a3f8]
push 0xc367
push 0xc367
push eax
push 0x3f0
lea ecx, [ebx + 0x144]
mov eax, edi
call fcn.0041ecb0
mov eax, dword [0x55a418]
and eax, 0x3ff
dec eax
cmp eax, 0x59
ja case.0x46f260.2
movzx ecx, byte [eax + 0x46f5b8]
jmp dword [ecx*4 + 0x46f5b0]
mov byte [ebp - 0x224], 1
jmp 0x46f277
mov byte [ebp - 0x224], 0
mov edx, dword [ebp - 0x224]
lea eax, [ebx + 0x1a4]
push edx
push 0
mov ebx, edi
mov ecx, 0x40
mov dword [ebp - 0x24c], eax
call fcn.005069b0
mov eax, dword [ebp - 0x21c]
mov esi, dword [eax + 0x14c]
push 0x55f1
lea ecx, [ebp - 0x230]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 5
call fcn.004fce50
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x230]
cmp eax, ebx
je 0x46f2e1
push eax
call fcn.005134a7
add esp, 4
mov edi, dword [ebp - 0x23c]
cmp edi, ebx
jne 0x46f2f0
mov edi, 0x538640
mov ecx, dword [ebp - 0x24c]
call fcn.00506a20
mov al, byte [ebp + 8]
mov edx, dword [ebp - 0x21c]
mov byte [edx + 0x2a8], al
cmp al, bl
je 0x46f424
push 0x84d7
lea eax, [ebp - 0x230]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 6
call fcn.004fce50
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x230]
cmp eax, ebx
je 0x46f35f
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov esi, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x220]
add esi, 0x180
cmp edi, ebx
je 0x46f3a8
push 0x7d8
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
je 0x46f394
push 0x7d8
push edi
mov edi, eax
call fcn.0042dc20
jmp 0x46f3b8
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea edi, [edx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
jmp 0x46f3b8
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x23c]
cmp ecx, ebx
jne 0x46f3c7
mov ecx, 0x538640
mov eax, esi
call fcn.00402f90
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x2ac]
mov ecx, dword [esi + 0x14]
cmp byte [eax + 0x414], bl
je 0x46f402
cmp ecx, ebx
je 0x46f3fa
push ebx
push 1
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46f424
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 4]
jmp 0x46f41c
cmp ecx, ebx
je 0x46f416
push ebx
push ebx
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46f424
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 4]
mov dword [ecx + esi + 0x10], 6
mov ecx, dword [ebp - 0x248]
mov eax, dword [ecx + 8]
cmp byte [ebp + 0xc], bl
jne 0x46f4e0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, ebx
je 0x46f447
push 5
push eax
call edi
jmp 0x46f457
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 4]
lea eax, [edx + ecx + 0x10]
mov dword [eax], 6
mov ecx, dword [ebp - 0x244]
mov eax, dword [ecx + 8]
cmp eax, ebx
je 0x46f46a
push ebx
push eax
call edi
jmp 0x46f47a
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 4]
lea eax, [edx + ecx + 0x10]
mov dword [eax], 6
mov esi, dword [ebp - 0x240]
push ebx
call fcn.004b5070
mov ecx, dword [ebp - 0x254]
mov eax, dword [ecx + 8]
cmp eax, ebx
je 0x46f499
push ebx
push eax
call edi
jmp 0x46f4a9
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 4]
lea eax, [edx + ecx + 0x10]
mov dword [eax], 6
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx + 8]
cmp eax, ebx
je 0x46f4c5
push ebx
push eax
call edi
mov edi, dword [ebp - 0x21c]
jmp 0x46f56d
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 4]
mov edi, dword [ebp - 0x21c]
lea eax, [edx + ecx + 0x10]
mov dword [eax], 6
jmp 0x46f56d
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, ebx
je 0x46f4f0
push ebx
push eax
call esi
jmp 0x46f500
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 4]
lea eax, [edx + ecx + 0x10]
mov dword [eax], 6
mov ecx, dword [ebp - 0x244]
mov eax, dword [ecx + 8]
cmp eax, ebx
je 0x46f514
push 5
push eax
call esi
jmp 0x46f524
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 4]
lea eax, [edx + ecx + 0x10]
mov dword [eax], 6
mov esi, dword [ebp - 0x240]
push 1
call fcn.004b5070
mov edi, dword [ebp - 0x21c]
mov eax, dword [edi + 0x2ac]
cmp dword [eax + 0x418], 2
mov eax, 0x9d8
je 0x46f550
mov eax, 0x9d7
call fcn.004b50d0
cmp dword [edi + 0x208], 0x9d8
mov esi, edi
jne 0x46f567
push 1
jmp 0x46f568
push ebx
call fcn.00470a60
lea eax, [edi + 0x260]
call fcn.00440760
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x23c]
cmp eax, ebx
je 0x46f592
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513498
mov esp, ebp
pop ebp
ret 8