Function at 0x426997
Capabilities:
Get common file path

Disassembly:
mov eax, 0x458d68
call fcn.004385b8
sub esp, 0x438
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x426dd4
cmp dword [ebp + 0x18], ebx
je 0x426dd4
mov al, byte [ebp + 0xb]
push esi
push edi
push ebx
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00404540
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
cmp dword [ebp + 0x10], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
je 0x426a5b
push dword [ebp + 0x10]
call fcn.004386d0
test eax, eax
pop ecx
jbe 0x426a5b
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00404400
push edi
call fcn.004386d0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00404770
mov esi, 0x46e6d8
mov byte [ebp - 4], 1
push esi
call fcn.004386d0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00403db0
push dword [ebp + 0x10]
call fcn.004386d0
pop ecx
push eax
lea ecx, [ebp - 0x1c]
push dword [ebp + 0x10]
call fcn.00403db0
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push eax
lea eax, [ebp + 0x10]
push dword [ebp - 0x30]
push eax
call fcn.00404450
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00404400
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00404400
push edi
call fcn.004386d0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00404770
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push eax
lea eax, [ebp + 0x10]
push dword [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
call fcn.00404450
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00404400
mov al, byte [ebp + 0xb]
push ebx
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call fcn.00404540
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
mov esi, dword [ebp + 8]
push 0x46f33c
push esi
mov byte [ebp - 4], 3
call fcn.00437d01
pop ecx
test eax, eax
pop ecx
jne 0x426cc1
push sym.HPZshl01.exe____C__02NNKG__2_2__AA_
push esi
call fcn.00437d01
pop ecx
test eax, eax
pop ecx
jne 0x426cc1
mov al, byte [0x48840c]
push 0x40
mov byte [ebp - 0x138], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x137]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x104
lea eax, [ebp - 0x340]
push edi
push eax
push ebx
call fcn.00427527
add esp, 0xc
lea eax, [ebp - 0x340]
push esi
push eax
mov esi, str._s_s
lea eax, [ebp - 0x138]
push esi
push eax
call fcn.0043714d
lea eax, [ebp - 0x138]
push eax
call fcn.0041d497
add esp, 0x14
test eax, eax
je 0x426ba0
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00404400
lea eax, [ebp - 0x138]
push eax
call fcn.004386d0
pop ecx
push eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404770
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 5
call fcn.00414bc0
push dword [eax]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00404450
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00404400
lea eax, [ebp - 0x23c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [ebp + 8]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x138]
push esi
push eax
call fcn.0043714d
lea eax, [ebp - 0x138]
push eax
call fcn.0041d497
add esp, 0x14
test eax, eax
je 0x426c34
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00404400
lea eax, [ebp - 0x138]
push eax
call fcn.004386d0
pop ecx
push eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404770
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.00414bc0
push dword [eax]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00404450
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00404400
lea eax, [ebp - 0x444]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push dword [ebp + 8]
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x138]
push esi
push eax
call fcn.0043714d
lea eax, [ebp - 0x138]
push eax
call fcn.0041d497
add esp, 0x14
test eax, eax
je 0x426d1c
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00404400
push dword [ebp + 8]
call fcn.004386d0
pop ecx
push eax
lea ecx, [ebp - 0x1c]
push dword [ebp + 8]
call fcn.00404770
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 7
call fcn.00414bc0
push dword [eax]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00404450
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x1c]
jmp 0x426d17
push esi
call fcn.0041d497
test eax, eax
pop ecx
je 0x426d1c
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00404400
push esi
call fcn.004386d0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00404770
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 4
call fcn.00414bc0
push dword [eax]
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00404450
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x1c]
call fcn.00404400
cmp dword [ebp - 0x20], ebx
je 0x426db5
mov eax, dword [ebp - 0x30]
mov edi, 0x45b980
mov edx, dword [eax]
mov dword [ebp + 8], edx
cmp edx, dword [ebp - 0x30]
je 0x426db5
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
cmp esi, dword [ebp - 0x24]
je 0x426da7
mov eax, dword [esi + 0xc]
mov ecx, edi
cmp eax, ebx
je 0x426d4c
mov ecx, eax
mov eax, dword [edx + 0xc]
cmp eax, ebx
jne 0x426d55
mov eax, edi
push dword [ebp + 0x1c]
push ecx
push dword [ebp + 0x14]
push eax
push str.GetValueByQualifier__s___s___s___d__n
push 0x4788a8
call fcn.0041f7d9
mov eax, dword [esi + 0xc]
add esp, 0x18
cmp eax, ebx
jne 0x426d78
mov eax, edi
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
cmp ecx, ebx
jne 0x426d84
mov ecx, edi
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 0x48840c
push dword [ebp + 0x14]
push ecx
call fcn.00426956
add esp, 0x18
test eax, eax
ja 0x426db0
mov esi, dword [esi]
mov edx, dword [ebp + 8]
jmp 0x426d3c
mov eax, dword [edx]
mov dword [ebp + 8], eax
mov edx, eax
jmp 0x426d32
push 1
pop esi
jmp 0x426db7
xor esi, esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00403a80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403a80
mov eax, esi
pop edi
pop esi
jmp 0x426dd6
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret