Function at 0x436a80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fadcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x66c
push ebx
push esi
push edi
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004ab6e0
add esp, 4
lea ecx, [ebp - 0x30]
push ecx
call fcn.00401350
add esp, 4
lea edx, [ebp - 0x678]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x678]
lea ecx, [ebp - 0x578]
push eax
push str._s_repair_sam
push ecx
call fcn.004f175f
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x578]
push edx
push eax
call fcn.004b83e0
add esp, 0x14
mov esi, 1
lea ecx, [ebp - 0x178]
push esi
call fcn.004f0653
mov ecx, dword [0x4fe4e8]
mov byte [ebp - 4], 1
push ecx
push 8
push str.c:endpcacheprocess_log.txt
lea ecx, [ebp - 0x178]
call fcn.004f0727
mov eax, dword [0xe56bd8]
mov byte [ebp - 0x3f8], bl
cmp eax, esi
jne 0x436dba
cmp dword [0xe56d8c], esi
jne 0x436b8a
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x30]
push edx
push 0x51b44c
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0xb0]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x3f8]
push eax
push 0x51b434
push edx
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56d98], esi
jne 0x436bcf
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x30]
push eax
push 0x51b3f0
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0xb0]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x3f8]
push 0x51b434
push eax
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56da0], esi
jne 0x436c14
lea ecx, [ebp - 0x130]
lea edx, [ebp - 0x30]
push ecx
push 0x51b3a8
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x3f8]
push eax
push 0x51b434
push ecx
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56d94], esi
jne 0x436ce7
mov eax, dword [0xe56dbc]
cmp eax, ebx
jne 0x436c60
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x30]
push edx
push 0x51b364
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0xb0]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x3f8]
push eax
push 0x51b434
push edx
jmp 0x436cdf
cmp eax, esi
jne 0x436ca1
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x30]
push eax
push 0x51b31c
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0xb0]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x3f8]
push 0x51b434
push eax
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56dbc], 2
jne 0x436ce7
lea ecx, [ebp - 0x130]
lea edx, [ebp - 0x30]
push ecx
push 0x51b2d0
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x3f8]
push eax
push 0x51b434
push ecx
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56d9c], esi
jne 0x436dba
mov eax, dword [0xe56dbc]
cmp eax, ebx
jne 0x436d33
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x30]
push edx
push 0x51b288
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0xb0]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x3f8]
push eax
push 0x51b434
push edx
jmp 0x436db2
cmp eax, esi
jne 0x436d74
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x30]
push eax
push 0x51b23c
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0xb0]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x3f8]
push 0x51b434
push eax
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56dbc], 2
jne 0x436dba
lea ecx, [ebp - 0x130]
lea edx, [ebp - 0x30]
push ecx
push 0x51b23c
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x3f8]
push eax
push 0x51b434
push ecx
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56bd8], ebx
jne 0x43703b
cmp dword [0xe56d8c], esi
jne 0x436e0b
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x30]
push edx
push 0x51b1fc
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0xb0]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x3f8]
push eax
push 0x51b434
push edx
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56d98], esi
jne 0x436e50
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x30]
push eax
push 0x51b1b8
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0xb0]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x3f8]
push 0x51b434
push eax
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56da0], esi
jne 0x436e95
lea ecx, [ebp - 0x130]
lea edx, [ebp - 0x30]
push ecx
push 0x51b170
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x3f8]
push eax
push 0x51b434
push ecx
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56d94], esi
jne 0x436f68
mov eax, dword [0xe56dbc]
cmp eax, ebx
jne 0x436ee1
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x30]
push edx
push 0x51b12c
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0xb0]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x3f8]
push eax
push 0x51b434
push edx
jmp 0x436f60
cmp eax, esi
jne 0x436f22
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x30]
push eax
push 0x51b0e4
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0xb0]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x3f8]
push 0x51b434
push eax
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56dbc], 2
jne 0x436f68
lea ecx, [ebp - 0x130]
lea edx, [ebp - 0x30]
push ecx
push 0x51b098
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x3f8]
push eax
push 0x51b434
push ecx
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56d9c], esi
jne 0x43703b
mov eax, dword [0xe56dbc]
cmp eax, ebx
jne 0x436fb4
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x30]
push edx
push 0x51b050
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0xb0]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x3f8]
push eax
push 0x51b434
push edx
jmp 0x437033
cmp eax, esi
jne 0x436ff5
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x30]
push eax
push 0x51b004
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0xb0]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x3f8]
push 0x51b434
push eax
call fcn.004f175f
add esp, 0x18
cmp dword [0xe56dbc], 2
jne 0x43703b
lea ecx, [ebp - 0x130]
lea edx, [ebp - 0x30]
push ecx
push 0x51b004
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x3f8]
push eax
push 0x51b434
push ecx
call fcn.004f175f
add esp, 0x18
mov edx, dword [0xe56fd0]
push 0x51afec
push edx
lea eax, [ebp - 0x478]
push str._d_s
push eax
call fcn.004f175f
lea edi, [ebp - 0x478]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x3f8]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0xe56dbc]
mov ecx, edx
mov edx, dword [ebp + 0x1b0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x1b4]
cmp eax, ebx
lea eax, [ebp - 0x3f8]
push eax
push ecx
push edx
jne 0x4370c3
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x4370da
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea eax, [ebp - 0x3f8]
lea ecx, [ebp - 0x16c]
push eax
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea ecx, [ebp - 0x178]
call fcn.004f076e
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], bl
call fcn.004f0714
lea ecx, [ebp - 0x164]
call fcn.004f05fb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret