Function at 0x4bcf90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x553150]
xor eax, esp
mov dword [esp + 0x10c], eax
mov ecx, 0x104
mov eax, esi
jmp 0x4bcfb0
cmp byte [eax], 0
je 0x4bcfbf
add eax, 1
sub ecx, 1
jne 0x4bcfb0
jmp 0x4bcfde
test ecx, ecx
je 0x4bcfde
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [esi + eax]
mov eax, 0x530328
call fcn.00411e30
push str._NT_SYMBOL_PATH
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
call fcn.004e908f
add esp, 0xc
test eax, eax
je 0x4bd061
mov ecx, 0x104
mov eax, esi
cmp byte [eax], 0
je 0x4bd00f
add eax, 1
sub ecx, 1
jne 0x4bd000
jmp 0x4bd02e
test ecx, ecx
je 0x4bd02e
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [esi + eax]
mov eax, 0x53033c
call fcn.00411e30
mov ecx, 0x104
mov eax, esi
cmp byte [eax], 0
je 0x4bd044
add eax, 1
sub ecx, 1
jne 0x4bd035
jmp 0x4bd061
test ecx, ecx
je 0x4bd061
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [esi + eax]
mov eax, dword [esp]
call fcn.00411e30
push str._NT_ALT_SYMBOL_PATH
lea edx, [esp + 8]
push edx
lea eax, [esp + 8]
push eax
call fcn.004e908f
add esp, 0xc
test eax, eax
je 0x4bd0e4
mov ecx, 0x104
mov eax, esi
cmp byte [eax], 0
je 0x4bd092
add eax, 1
sub ecx, 1
jne 0x4bd083
jmp 0x4bd0b1
test ecx, ecx
je 0x4bd0b1
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
mov eax, 0x53033c
call fcn.00411e30
mov ecx, 0x104
mov eax, esi
cmp byte [eax], 0
je 0x4bd0c7
add eax, 1
sub ecx, 1
jne 0x4bd0b8
jmp 0x4bd0e4
test ecx, ecx
je 0x4bd0e4
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
mov eax, dword [esp]
call fcn.00411e30
push str.SYSTEMROOT
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
call fcn.004e908f
add esp, 0xc
test eax, eax
je 0x4bd228
mov ecx, 0x104
mov eax, esi
lea ebx, [ebx]
cmp byte [eax], 0
je 0x4bd11f
add eax, 1
sub ecx, 1
jne 0x4bd110
jmp 0x4bd13e
test ecx, ecx
je 0x4bd13e
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
mov eax, 0x53033c
call fcn.00411e30
mov ecx, 0x104
mov eax, esi
cmp byte [eax], 0
je 0x4bd154
add eax, 1
sub ecx, 1
jne 0x4bd145
jmp 0x4bd171
test ecx, ecx
je 0x4bd171
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
mov eax, dword [esp]
call fcn.00411e30
mov ecx, 0x104
mov eax, esi
cmp byte [eax], 0
je 0x4bd187
add eax, 1
sub ecx, 1
jne 0x4bd178
jmp 0x4bd1a6
test ecx, ecx
je 0x4bd1a6
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
mov eax, 0x53033c
call fcn.00411e30
mov ecx, 0x104
mov eax, esi
lea ecx, [ecx]
cmp byte [eax], 0
je 0x4bd1bf
add eax, 1
sub ecx, 1
jne 0x4bd1b0
jmp 0x4bd1dc
test ecx, ecx
je 0x4bd1dc
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
mov eax, dword [esp]
call fcn.00411e30
mov ecx, 0x104
mov eax, esi
cmp byte [eax], 0
je 0x4bd205
add eax, 1
sub ecx, 1
jne 0x4bd1e3
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004e6578
add esp, 0x110
ret
test ecx, ecx
je 0x4bd365
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
mov eax, str.System32
jmp 0x4bd360
push 0x103
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4bd365
mov ecx, 0x104
mov eax, esi
cmp byte [eax], 0
je 0x4bd256
add eax, 1
sub ecx, 1
jne 0x4bd247
jmp 0x4bd275
test ecx, ecx
je 0x4bd275
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
mov eax, 0x53033c
call fcn.00411e30
mov ecx, 0x104
mov eax, esi
lea esp, [esp]
cmp byte [eax], 0
je 0x4bd28f
add eax, 1
sub ecx, 1
jne 0x4bd280
jmp 0x4bd2ad
test ecx, ecx
je 0x4bd2ad
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
lea eax, [esp + 8]
call fcn.00411e30
mov ecx, 0x104
mov eax, esi
cmp byte [eax], 0
je 0x4bd2c3
add eax, 1
sub ecx, 1
jne 0x4bd2b4
jmp 0x4bd2e2
test ecx, ecx
je 0x4bd2e2
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
mov eax, 0x53033c
call fcn.00411e30
mov ecx, 0x104
mov eax, esi
lea esp, [esp]
cmp byte [eax], 0
je 0x4bd2ff
add eax, 1
sub ecx, 1
jne 0x4bd2f0
jmp 0x4bd31d
test ecx, ecx
je 0x4bd31d
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
lea eax, [esp + 8]
call fcn.00411e30
mov ecx, 0x104
mov eax, esi
cmp byte [eax], 0
je 0x4bd346
add eax, 1
sub ecx, 1
jne 0x4bd324
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004e6578
add esp, 0x110
ret
test ecx, ecx
je 0x4bd365
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [eax + esi]
mov eax, str.System
call fcn.00411e30
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004e6578
add esp, 0x110
ret