Function at 0x438b2a
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x44f710
call fcn.0044061c
mov eax, 0x163c
call fcn.00441060
push ebx
push edi
mov edi, ecx
push 0x465524
lea ecx, [ebp - 0x1c]
call fcn.00438ddc
xor ebx, ebx
cmp dword [0x465524], 0x40
mov dword [ebp - 4], ebx
jl 0x438b75
push ebx
push str.Error__include_depth_exceeded.__Make_sure_there_are_no_recursive_includes.
push str.AutoIt
call fcn.0043c24d
add esp, 0xc
jmp 0x438dbe
push 0x457d88
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov byte [ebp - 0xd], 1
mov byte [ebp - 0x10], 1
mov byte [ebp - 0xf], bl
call fcn.0044137e
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
jne 0x438bd3
lea eax, [ebp - 0x1648]
push str.Error_reading_the_file:_n_n
push eax
call fcn.00440a20
push dword [ebp + 8]
lea eax, [ebp - 0x1648]
push eax
call fcn.00440a30
lea eax, [ebp - 0x1648]
push ebx
push eax
push str.AutoIt
call fcn.0043c24d
add esp, 0x1c
jmp 0x438dbe
push esi
lea eax, [ebp - 0x440]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x12c]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0044114d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00440a20
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00440a30
add esp, 0x24
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp byte [ebp - 0x10], 1
jne 0x438da4
push dword [ebp - 0x18]
lea eax, [ebp - 0x1648]
push 0xfff
push eax
call fcn.00442baa
add esp, 0xc
test eax, eax
je 0x438da4
inc dword [ebp - 0x14]
lea eax, [ebp - 0x1648]
push eax
mov ecx, edi
mov byte [ebp - 0x649], bl
call fcn.004389bf
test al, al
je 0x438d75
lea eax, [ebp - 0x1648]
mov ecx, edi
push eax
call fcn.00438981
lea eax, [ebp - 0x1648]
mov ecx, edi
push eax
call fcn.00438946
lea eax, [ebp - 0x1648]
mov byte [ebp - 0xe], bl
push eax
call fcn.004401c0
mov esi, eax
pop ecx
cmp esi, 2
jle 0x438cfb
mov al, byte [ebp + esi - 0x164a]
and eax, 0x7f
push eax
call fcn.00441deb
test eax, eax
pop ecx
je 0x438cfb
cmp byte [ebp + esi - 0x1649], 0x5f
lea eax, [ebp + esi - 0x1649]
jne 0x438cfb
mov byte [eax], bl
mov byte [ebp - 0xe], 1
cmp byte [ebp - 0xf], 1
jne 0x438d11
lea eax, [ebp - 0x1648]
mov ecx, edi
push eax
call fcn.0043862b
jmp 0x438d61
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x1648]
push eax
call fcn.00438dee
cmp eax, ebx
je 0x438d5e
cmp eax, 1
jle 0x438d61
cmp eax, 3
jle 0x438d48
cmp eax, 4
jne 0x438d61
mov byte [ebp - 0x10], bl
jmp 0x438d61
push dword [ebp + 0xc]
lea eax, [ebp - 0x1648]
mov ecx, edi
push eax
push dword [ebp - 0x14]
call fcn.004385bf
jmp 0x438d61
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xe], 1
sete byte [ebp - 0xf]
cmp byte [ebp - 0xd], 1
je 0x438c54
jmp 0x438da4
push dword [ebp - 0x14]
lea eax, [ebp - 0x1648]
push dword [ebp + 8]
push str.Unterminated_string_in_file__s__line__d
push eax
call fcn.00440db3
lea eax, [ebp - 0x1648]
push ebx
push eax
push str.AutoIt
call fcn.0043c24d
add esp, 0x1c
mov byte [ebp - 0xd], bl
push dword [ebp - 0x18]
call fcn.0044108f
pop ecx
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov bl, byte [ebp - 0xd]
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00438de9
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8