Function at 0x43634c
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x517774]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0x84
mov eax, 0x4cb6ae
call fcn.0049aeba
mov eax, dword [ebp + 0x474]
mov edi, dword [ebp + 0x470]
mov esi, dword [ebp + 0x478]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x47c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x480]
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x50], eax
cmp edi, ebx
je 0x436803
cmp eax, ebx
je 0x436803
lea ecx, [ebp - 0x6c]
call fcn.00407e10
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x43649c
push esi
call fcn.004998a0
pop ecx
test eax, eax
jbe 0x43649c
push esi
lea ecx, [ebp + 0x1c]
call fcn.00402a30
push dword [ebp - 0x10]
or edi, 0xffffffff
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], edi
call fcn.00402a30
mov esi, 0x4d76fc
push esi
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 2
call fcn.00407de0
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
call fcn.004022a0
push dword [ebp - 0x20]
lea eax, [ebp - 0x90]
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.00414db0
push edi
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.00402080
push ebx
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.00401a30
push edi
push ebx
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00407a90
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041b7a0
push edi
push esi
lea ecx, [ebp + 0x1c]
call fcn.00413570
push ebx
push 1
lea ecx, [ebp]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
call fcn.00401a30
cmp dword [ebp - 0x20], edi
jne 0x436401
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.00401a30
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], bl
call fcn.00401a30
mov edi, dword [ebp - 0x18]
push dword [ebp - 0x10]
lea ecx, [ebp + 0x38]
call fcn.00402a30
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.0041b7a0
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], bl
call fcn.00401a30
lea ecx, [ebp - 0x4c]
call fcn.00407e10
push 0x4dc298
push edi
mov byte [ebp - 4], 6
call fcn.0049858b
pop ecx
pop ecx
test eax, eax
jne 0x436631
push 0x4d7bbc
push edi
call fcn.0049858b
pop ecx
pop ecx
test eax, eax
jne 0x436631
push 0x103
lea eax, [ebp + 0x361]
push ebx
push eax
mov byte [ebp + 0x360], bl
call fcn.00497680
mov esi, 0x104
push esi
lea eax, [ebp + 0x54]
push eax
push ebx
call fcn.0042e4d8
push edi
lea eax, [ebp + 0x54]
push eax
push 0x4d91b0
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00497562
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00410b30
add esp, 0x34
test eax, eax
je 0x43657c
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp + 0x38]
call fcn.00402a30
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.004326a9
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.00401a30
lea eax, [ebp + 0x158]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
lea eax, [ebp + 0x158]
push eax
push 0x4d91b0
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00497562
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00410b30
add esp, 0x1c
test eax, eax
je 0x4365e6
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp + 0x38]
call fcn.00402a30
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.004326a9
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.00401a30
push esi
lea eax, [ebp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
lea eax, [ebp + 0x25c]
push eax
push 0x4d91b0
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00497562
lea eax, [ebp + 0x360]
push esi
push eax
call fcn.00410b30
add esp, 0x1c
test eax, eax
je 0x436664
push edi
lea ecx, [ebp + 0x38]
call fcn.00402a30
mov byte [ebp - 4], 0xa
jmp 0x436649
push edi
call fcn.0040b500
pop ecx
test eax, eax
je 0x436664
push edi
lea ecx, [ebp + 0x38]
call fcn.00402a30
mov byte [ebp - 4], 7
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004326a9
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.00401a30
cmp dword [ebp - 0x34], ebx
jne 0x436692
lea ecx, [ebp - 0x4c]
call fcn.004066e0
push dword [ebp - 0x4c]
call fcn.004462ff
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.004066e0
push dword [ebp - 0x6c]
call fcn.004462ff
pop ecx
mov eax, ebx
jmp 0x436805
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x58]
push dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.00404fb0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x2c]
call fcn.00404fb0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404970
test al, al
jne 0x4367e1
push 0x10
pop edi
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x38]
push dword [eax]
lea ecx, [ebp - 0x74]
call fcn.00404fb0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
jmp 0x436793
lea ecx, [ebp - 0x1c]
call fcn.00404fe0
cmp dword [eax + 0x18], edi
jb 0x436709
mov esi, dword [eax + 4]
jmp 0x43670c
lea esi, [eax + 4]
lea ecx, [ebp - 0x14]
call fcn.00404fe0
cmp dword [eax + 0x18], edi
jb 0x43671e
mov eax, dword [eax + 4]
jmp 0x436721
add eax, 4
push dword [ebp + 0x484]
push esi
push dword [ebp - 0x30]
push eax
push str.GetValueByQualifier__s___s___s___d__n
push 0x519518
call fcn.00427473
add esp, 0x18
lea ecx, [ebp - 0x1c]
call fcn.00404fe0
cmp dword [eax + 0x18], edi
jb 0x436750
mov esi, dword [eax + 4]
jmp 0x436753
lea esi, [eax + 4]
lea ecx, [ebp - 0x14]
call fcn.00404fe0
cmp dword [eax + 0x18], edi
jb 0x436765
mov eax, dword [eax + 4]
jmp 0x436768
add eax, 4
push esi
push dword [ebp + 0x484]
push dword [ebp - 0x50]
push 0x4d41fc
push dword [ebp - 0x30]
push eax
call fcn.004362a9
add esp, 0x18
test eax, eax
ja 0x436828
lea ecx, [ebp - 0x1c]
call fcn.00404a00
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0x24]
call fcn.00404fb0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404970
test al, al
je 0x4366f7
lea ecx, [ebp - 0x14]
call fcn.00404a00
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x2c]
call fcn.00404fb0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404970
test al, al
je 0x4366d5
lea ecx, [ebp - 0x4c]
call fcn.004066e0
push dword [ebp - 0x4c]
call fcn.004462ff
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.004066e0
push dword [ebp - 0x6c]
call fcn.004462ff
pop ecx
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.004974ba
add ebp, 0x468
leave
ret
xor ebx, ebx
inc ebx
jmp 0x436669