Function at 0x467140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x467149
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov byte [ebp - 6], dl
mov byte [ebp - 5], al
mov eax, dword [ebp - 4]
call fcn.00404460
mov edi, 0x46cc30
xor eax, eax
push ebp
push 0x46779b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x46cc2c]
mov eax, dword [eax + 0x314]
call fcn.00432e1c
dec eax
test al, al
jb 0x4671d0
inc eax
mov byte [ebp - 0x11], al
mov bl, 0
mov esi, ebx
and esi, 0xff
mov eax, dword [0x46cc40]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x224]
mov edx, dword [eax]
call dword [edx + 0xd8]
mov eax, dword [0x46cc40]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x22c]
mov edx, dword [eax]
call dword [edx + 0xd8]
inc ebx
dec byte [ebp - 0x11]
jne 0x467196
mov dword [ebp - 0x10], 0x105
mov eax, dword [ebp - 0x10]
call fcn.004026d4
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
mov al, byte [eax + 8]
dec eax
test al, al
jb 0x467758
inc eax
mov byte [ebp - 0x11], al
mov bl, 0
mov eax, dword [0x46cc2c]
mov eax, dword [eax + 0x314]
call fcn.00432e1c
dec eax
test al, al
jb 0x46774e
inc eax
mov byte [ebp - 0x12], al
mov byte [ebp - 7], 0
mov esi, ebx
and esi, 0xff
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
mov eax, dword [eax + 4]
push eax
xor edx, edx
mov dl, byte [ebp - 7]
mov eax, dword [0x46cc2c]
mov eax, dword [eax + 0x314]
call fcn.00432e04
lea edx, [ebp - 0x18]
call fcn.0043fefc
mov edx, dword [ebp - 0x18]
pop eax
call fcn.004043bc
jne 0x467742
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
cmp dword [eax + 0x14], 0
je 0x467505
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
mov eax, dword [eax + 0x18]
push eax
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
mov eax, dword [eax + 0x14]
pop edx
call fcn.00465bcc
test al, al
je 0x4673ce
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
push dword [eax + 8]
push 0x4677b4
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
push dword [eax + 0x3c]
push dword [eax + 0x38]
lea eax, [ebp - 0x20]
call fcn.0040a4f8
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404330
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x224]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp byte [ebp - 5], 0
je 0x46731e
cmp byte [ebp - 6], 0
je 0x46731e
push ebp
xor edx, edx
mov dl, bl
mov eax, dword [edi]
call fcn.00424150
xor edx, edx
mov dl, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx + 0x224]
call fcn.00466fd0
pop ecx
mov esi, ebx
and esi, 0xff
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
cmp dword [eax + 0x20], 0
je 0x46774e
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
mov eax, dword [eax + 0x24]
push eax
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
mov eax, dword [eax + 0x20]
pop edx
call fcn.00465bcc
test al, al
jne 0x46774e
xor eax, eax
mov al, byte [ebp - 7]
mov edx, dword [0x46cc40]
mov eax, dword [edx + eax*4]
mov esi, dword [eax + 0x224]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
dec edx
xor eax, eax
mov al, byte [ebp - 7]
mov eax, esi
xor ecx, ecx
call fcn.00463adc
xor eax, eax
mov al, byte [ebp - 7]
mov edx, dword [0x46cc40]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x224]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
dec edx
xor eax, eax
mov al, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x224]
xor ecx, ecx
call fcn.00463aa8
jmp 0x46774e
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
push dword [eax + 8]
push 0x4677b4
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
push dword [eax + 0x3c]
push dword [eax + 0x38]
lea eax, [ebp - 0x28]
call fcn.0040a4f8
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404330
mov edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x22c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp byte [ebp - 5], 0
je 0x467452
push ebp
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
xor edx, edx
mov dl, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx + 0x22c]
call fcn.00466fd0
pop ecx
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
cmp dword [eax + 0x20], 0
je 0x46774e
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
mov eax, dword [eax + 0x24]
push eax
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
mov eax, dword [eax + 0x20]
pop edx
call fcn.00465bcc
test al, al
jne 0x46774e
xor eax, eax
mov al, byte [ebp - 7]
mov edx, dword [0x46cc40]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x22c]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
dec edx
xor eax, eax
mov al, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x22c]
xor ecx, ecx
call fcn.00463adc
xor eax, eax
mov al, byte [ebp - 7]
mov edx, dword [0x46cc40]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x22c]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
dec edx
xor eax, eax
mov al, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x22c]
xor ecx, ecx
call fcn.00463aa8
jmp 0x46774e
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
cmp dword [eax + 0x1c], 0
je 0x4676b0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x130]
mov edx, dword [ebp - 0xc]
call fcn.00402d70
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x30]
call fcn.00404214
push dword [ebp - 0x30]
push 0x4677c0
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
push dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404330
mov eax, dword [ebp - 0x2c]
call fcn.00408404
test al, al
je 0x467617
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
push dword [eax + 8]
push 0x4677b4
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
push dword [eax + 0x3c]
push dword [eax + 0x38]
lea eax, [ebp - 0x138]
call fcn.0040a4f8
push dword [ebp - 0x138]
lea eax, [ebp - 0x134]
mov edx, 3
call fcn.00404330
mov edx, dword [ebp - 0x134]
xor eax, eax
mov al, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x224]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp byte [ebp - 5], 0
je 0x46774e
cmp byte [ebp - 6], 0
je 0x46774e
push ebp
xor edx, edx
mov dl, bl
mov eax, dword [edi]
call fcn.00424150
xor edx, edx
mov dl, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx + 0x224]
call fcn.00466fd0
pop ecx
jmp 0x46774e
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
push dword [eax + 8]
push 0x4677b4
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
push dword [eax + 0x3c]
push dword [eax + 0x38]
lea eax, [ebp - 0x140]
call fcn.0040a4f8
push dword [ebp - 0x140]
lea eax, [ebp - 0x13c]
mov edx, 3
call fcn.00404330
mov edx, dword [ebp - 0x13c]
xor eax, eax
mov al, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x22c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp byte [ebp - 5], 0
je 0x46774e
push ebp
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
xor edx, edx
mov dl, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx + 0x22c]
call fcn.00466fd0
pop ecx
jmp 0x46774e
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
push dword [eax + 8]
push 0x4677b4
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
push dword [eax + 0x3c]
push dword [eax + 0x38]
lea eax, [ebp - 0x148]
call fcn.0040a4f8
push dword [ebp - 0x148]
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404330
mov edx, dword [ebp - 0x144]
xor eax, eax
mov al, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x22c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp byte [ebp - 5], 0
je 0x46774e
push ebp
mov edx, esi
mov eax, dword [edi]
call fcn.00424150
xor edx, edx
mov dl, byte [ebp - 7]
mov ecx, dword [0x46cc40]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx + 0x22c]
call fcn.00466fd0
pop ecx
jmp 0x46774e
inc byte [ebp - 7]
dec byte [ebp - 0x12]
jne 0x467217
inc ebx
dec byte [ebp - 0x11]
jne 0x4671f6
mov eax, dword [ebp - 0xc]
call fcn.004026f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4677a2
lea eax, [ebp - 0x148]
mov edx, 6
call fcn.00403fd4
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00403fd4
lea eax, [ebp - 0x18]
call fcn.00403fb0
lea eax, [ebp - 4]
call fcn.00403fb0
ret