Function at 0x42063b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e4
mov eax, dword [0x44de90]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 4], eax
je 0x42065b
mov byte [ebx], 0
mov esi, 0x104
push esi
lea eax, [ebp - 0x108]
push eax
push edi
call dword [0x451e0c]
test eax, eax
je 0x42070b
push edi
push edi
lea eax, [ebp - 0x3e0]
push eax
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00426b7e
push edi
push edi
lea eax, [ebp - 0x3e0]
push eax
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00426aee
lea eax, [ebp - 0x108]
push eax
call fcn.00425700
add esp, 0x2c
cmp byte [ebp + eax - 0x109], 0x5c
mov edi, 0x43462c
je 0x4206dc
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00425610
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call fcn.00425610
pop ecx
pop ecx
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [0x451df0]
cmp eax, 0xffffffff
je 0x420710
jmp 0x4208ea
mov edi, 0x43462c
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x420776
lea eax, [ebp - 0x108]
push eax
call fcn.00425700
cmp byte [ebp + eax - 0x109], 0x5c
pop ecx
je 0x420748
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00425610
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call fcn.00425610
pop ecx
pop ecx
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [0x451df0]
cmp eax, 0xffffffff
jne 0x4208ea
push esi
lea eax, [ebp - 0x108]
push eax
call dword [0x451e00]
test eax, eax
je 0x4207dc
lea eax, [ebp - 0x108]
push eax
call fcn.00425700
cmp byte [ebp + eax - 0x109], 0x5c
pop ecx
je 0x4207ae
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00425610
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call fcn.00425610
pop ecx
pop ecx
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [0x451df0]
cmp eax, 0xffffffff
jne 0x4208ea
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x420842
lea eax, [ebp - 0x108]
push eax
call fcn.00425700
cmp byte [ebp + eax - 0x109], 0x5c
pop ecx
je 0x420814
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00425610
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call fcn.00425610
pop ecx
pop ecx
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [0x451df0]
cmp eax, 0xffffffff
jne 0x4208ea
push 0x24
pop ecx
xor eax, eax
lea edi, [ebp - 0x198]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x19c]
push eax
mov dword [ebp - 0x19c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x18c], 2
jne 0x42090b
push esi
lea eax, [ebp - 0x108]
push eax
call dword [0x451e00]
test eax, eax
je 0x42090b
lea eax, [ebp - 0x108]
push eax
call fcn.00425700
cmp byte [ebp + eax - 0x109], 0x5c
pop ecx
je 0x4208b3
lea eax, [ebp - 0x108]
push 0x43462c
push eax
call fcn.00425610
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push str.SYSTEM_
push eax
call fcn.00425610
pop ecx
pop ecx
push eax
call fcn.00425610
pop ecx
pop ecx
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [0x451df0]
cmp eax, 0xffffffff
je 0x42090b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0xc]
call fcn.00425600
test ebx, ebx
pop ecx
pop ecx
je 0x42094f
mov byte [ebx], 1
jmp 0x42094f
lea eax, [ebp - 0x108]
push eax
push str.PATH
push dword [ebp + 8]
call fcn.0042800d
lea eax, [ebp - 0x108]
push eax
call fcn.00425700
add esp, 0x10
test eax, eax
jne 0x420937
push dword [ebp + 8]
jmp 0x420945
test ebx, ebx
je 0x42093e
mov byte [ebx], 1
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0xc]
call fcn.00425600
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
call fcn.00425221
leave
ret