Function at 0x427ed3
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x491d88]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0x64
mov eax, 0x46ddd7
call fcn.0045736a
mov eax, dword [ebp + 0x474]
mov edi, dword [ebp + 0x470]
mov esi, dword [ebp + 0x478]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x47c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x480]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x4c], eax
je 0x428369
cmp eax, ebx
je 0x428369
lea ecx, [ebp - 0x34]
call fcn.00405b50
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x428020
push esi
call fcn.00456310
test eax, eax
pop ecx
jbe 0x428020
push esi
lea ecx, [ebp + 0x1c]
call fcn.004043b0
push dword [ebp - 0x1c]
or edi, 0xffffffff
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], edi
call fcn.004043b0
mov esi, 0x47304c
push esi
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 2
call fcn.004064c0
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
call fcn.004041d0
push dword [ebp - 0x38]
lea eax, [ebp - 0x70]
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.00406ae0
push edi
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.00403cf0
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00402f50
push edi
push ebx
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00405de0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x34]
call fcn.004080a0
push edi
push esi
lea ecx, [ebp + 0x1c]
call fcn.00405ac0
push ebx
push 1
lea ecx, [ebp]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
call fcn.00402f50
cmp dword [ebp - 0x38], edi
jne 0x427f8b
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.00402f50
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], bl
call fcn.00402f50
mov edi, dword [ebp - 0x24]
push dword [ebp - 0x1c]
lea ecx, [ebp + 0x38]
call fcn.004043b0
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.004080a0
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], bl
call fcn.00402f50
lea ecx, [ebp - 0x18]
call fcn.00405b50
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
push 0x475a9c
push edi
mov byte [ebp - 4], 6
call fcn.004538a0
test eax, eax
pop ecx
pop ecx
jne 0x4281bb
push 0x4730f4
push edi
call fcn.004538a0
test eax, eax
pop ecx
pop ecx
jne 0x4281bb
push 0x103
lea eax, [ebp + 0x361]
push ebx
push eax
mov byte [ebp + 0x360], bl
call fcn.004530b0
mov esi, 0x104
push esi
lea eax, [ebp + 0x54]
push eax
push ebx
call fcn.004250d7
push edi
lea eax, [ebp + 0x54]
push eax
push 0x47345c
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.004543d1
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00405020
add esp, 0x34
test eax, eax
je 0x428106
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp + 0x38]
call fcn.004043b0
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00425909
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.00402f50
lea eax, [ebp + 0x158]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
lea eax, [ebp + 0x158]
push eax
push 0x47345c
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.004543d1
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00405020
add esp, 0x1c
test eax, eax
je 0x428170
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp + 0x38]
call fcn.004043b0
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00425909
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.00402f50
push esi
lea eax, [ebp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
lea eax, [ebp + 0x25c]
push eax
push 0x47345c
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.004543d1
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00405020
add esp, 0x1c
test eax, eax
je 0x4281ee
push edi
lea ecx, [ebp + 0x38]
call fcn.004043b0
mov byte [ebp - 4], 0xa
jmp 0x4281d3
push edi
call fcn.00401280
test eax, eax
pop ecx
je 0x4281ee
push edi
lea ecx, [ebp + 0x38]
call fcn.004043b0
mov byte [ebp - 4], 7
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.00425909
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.00402f50
cmp dword [ebp - 0x10], ebx
jne 0x42820a
lea ecx, [ebp - 0x18]
call fcn.00407cf0
lea ecx, [ebp - 0x34]
call fcn.00407cf0
mov eax, ebx
jmp 0x42836b
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
lea ecx, [ebp - 0x44]
call fcn.00405a60
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
call fcn.00405a60
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405610
test al, al
jne 0x428359
push 0x10
pop edi
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
lea ecx, [ebp - 0x54]
call fcn.00405a60
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
jmp 0x42830b
lea ecx, [ebp - 0x28]
call fcn.0040aa30
cmp dword [eax + 0x18], edi
jb 0x428281
mov esi, dword [eax + 4]
jmp 0x428284
lea esi, [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.0040aa30
cmp dword [eax + 0x18], edi
jb 0x428296
mov eax, dword [eax + 4]
jmp 0x428299
add eax, 4
push dword [ebp + 0x484]
push esi
push dword [ebp - 0x48]
push eax
push str.GetValueByQualifier__s___s___s___d__n
push 0x4932a8
call fcn.0041ffa2
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.0040aa30
cmp dword [eax + 0x18], edi
jb 0x4282c8
mov esi, dword [eax + 4]
jmp 0x4282cb
lea esi, [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.0040aa30
cmp dword [eax + 0x18], edi
jb 0x4282dd
mov eax, dword [eax + 4]
jmp 0x4282e0
add eax, 4
push esi
push dword [ebp + 0x484]
push dword [ebp - 0x4c]
push 0x473048
push dword [ebp - 0x48]
push eax
call fcn.00427eaf
add esp, 0x18
test eax, eax
ja 0x42838e
lea ecx, [ebp - 0x28]
call fcn.0040cff0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.00405a60
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405610
test al, al
je 0x42826f
lea ecx, [ebp - 0x20]
call fcn.0040cff0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
call fcn.00405a60
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405610
test al, al
je 0x42824d
lea ecx, [ebp - 0x18]
call fcn.00407cf0
lea ecx, [ebp - 0x34]
call fcn.00407cf0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x464]
xor ecx, ebp
call fcn.0045309e
add ebp, 0x468
leave
ret
xor ebx, ebx
inc ebx
jmp 0x4281f3