Function at 0x42557f
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x484c64]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0x64
mov eax, 0x4632ff
call fcn.0044ba5a
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 0x425a15
cmp eax, ebx
je 0x425a15
lea ecx, [ebp - 0x34]
call fcn.004064f0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x4256cc
push esi
call fcn.0044aa00
test eax, eax
pop ecx
jbe 0x4256cc
push esi
lea ecx, [ebp + 0x1c]
call fcn.00402f00
push dword [ebp - 0x1c]
or edi, 0xffffffff
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], edi
call fcn.00402f00
mov esi, 0x46977c
push esi
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 2
call fcn.00406ea0
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
call fcn.00406bd0
push dword [ebp - 0x38]
lea eax, [ebp - 0x70]
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.0040c340
push edi
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.00402b90
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00401c10
push edi
push ebx
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.004069d0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x34]
call fcn.004073b0
push edi
push esi
lea ecx, [ebp + 0x1c]
call fcn.0040b720
push ebx
push 1
lea ecx, [ebp]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
call fcn.00401c10
cmp dword [ebp - 0x38], edi
jne 0x425637
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.00401c10
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], bl
call fcn.00401c10
mov edi, dword [ebp - 0x24]
push dword [ebp - 0x1c]
lea ecx, [ebp + 0x38]
call fcn.00402f00
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.004073b0
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], bl
call fcn.00401c10
lea ecx, [ebp - 0x18]
call fcn.004064f0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
push 0x46c8dc
push edi
mov byte [ebp - 4], 6
call fcn.0044803e
test eax, eax
pop ecx
pop ecx
jne 0x425867
push 0x469944
push edi
call fcn.0044803e
test eax, eax
pop ecx
pop ecx
jne 0x425867
push 0x103
lea eax, [ebp + 0x361]
push ebx
push eax
mov byte [ebp + 0x360], bl
call fcn.00447ba0
mov esi, 0x104
push esi
lea eax, [ebp + 0x54]
push eax
push ebx
call fcn.004219be
push edi
lea eax, [ebp + 0x54]
push eax
push 0x46a180
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00447cf1
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.0040a950
add esp, 0x34
test eax, eax
je 0x4257b2
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp + 0x38]
call fcn.00402f00
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00422ac1
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.00401c10
lea eax, [ebp + 0x158]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
lea eax, [ebp + 0x158]
push eax
push 0x46a180
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00447cf1
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.0040a950
add esp, 0x1c
test eax, eax
je 0x42581c
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp + 0x38]
call fcn.00402f00
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00422ac1
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.00401c10
push esi
lea eax, [ebp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
lea eax, [ebp + 0x25c]
push eax
push 0x46a180
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00447cf1
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.0040a950
add esp, 0x1c
test eax, eax
je 0x42589a
push edi
lea ecx, [ebp + 0x38]
call fcn.00402f00
mov byte [ebp - 4], 0xa
jmp 0x42587f
push edi
call fcn.00403600
test eax, eax
pop ecx
je 0x42589a
push edi
lea ecx, [ebp + 0x38]
call fcn.00402f00
mov byte [ebp - 4], 7
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.00422ac1
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.00401c10
cmp dword [ebp - 0x10], ebx
jne 0x4258b6
lea ecx, [ebp - 0x18]
call fcn.00407350
lea ecx, [ebp - 0x34]
call fcn.00407350
mov eax, ebx
jmp 0x425a17
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
lea ecx, [ebp - 0x44]
call fcn.0040b6c0
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.0040b6c0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.00408740
test al, al
jne 0x425a05
push 0x10
pop edi
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
lea ecx, [ebp - 0x54]
call fcn.0040b6c0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
jmp 0x4259b7
lea ecx, [ebp - 0x28]
call fcn.004064c0
cmp dword [eax + 0x18], edi
jb 0x42592d
mov esi, dword [eax + 4]
jmp 0x425930
lea esi, [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.004064c0
cmp dword [eax + 0x18], edi
jb 0x425942
mov eax, dword [eax + 4]
jmp 0x425945
add eax, 4
push dword [ebp + 0x484]
push esi
push dword [ebp - 0x48]
push eax
push str.GetValueByQualifier__s___s___s___d__n
push 0x4866f8
call fcn.0041a1b0
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.004064c0
cmp dword [eax + 0x18], edi
jb 0x425974
mov esi, dword [eax + 4]
jmp 0x425977
lea esi, [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.004064c0
cmp dword [eax + 0x18], edi
jb 0x425989
mov eax, dword [eax + 4]
jmp 0x42598c
add eax, 4
push esi
push dword [ebp + 0x484]
push dword [ebp - 0x4c]
push 0x46853b
push dword [ebp - 0x48]
push eax
call fcn.0042555b
add esp, 0x18
test eax, eax
ja 0x425a3a
lea ecx, [ebp - 0x28]
call fcn.00406460
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0040b6c0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408740
test al, al
je 0x42591b
lea ecx, [ebp - 0x20]
call fcn.00406460
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
call fcn.0040b6c0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.00408740
test al, al
je 0x4258f9
lea ecx, [ebp - 0x18]
call fcn.00407350
lea ecx, [ebp - 0x34]
call fcn.00407350
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.00447b4c
add ebp, 0x468
leave
ret
xor ebx, ebx
inc ebx
jmp 0x42589f