Function at 0x401b00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x30
mov eax, dword [0x42f140]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
push str.utils.dll
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401b46
mov eax, dword [0x430284]
cmp dword [eax], 0
jne 0x401b46
push str.utils.dll
push str.freedom_utils.cs
call fcn.00402f10
add esp, 8
test eax, eax
je 0x401bd6
push 0
push str.freedom_utils.cs
push str._out:utils.dll
push str._target:library
push str._optimize
push str._nologo
push 0x425fa8
call fcn.00402770
mov esi, edx
mov edi, eax
push esi
push edi
push 0x425788
call fcn.00402620
push eax
push str.CMD:__s
call fcn.004010a0
push 0
push 0
push esi
push edi
call fcn.004024f0
add esp, 0x40
push eax
call fcn.004037a0
add esp, 4
push 1
push 0
push 0
push str.utils_dll
push 0
push str.baked_utils_dll.h
push str.include
call fcn.00402770
push edx
push eax
push 0x4257d8
call fcn.00402620
add esp, 0x18
push eax
push str.utils.dll
call fcn.004017b0
add esp, 0x18
push 0
push str.vendor_imgui_backends_
push str.vendor_imgui_
push str.freedom_ui_
push str.freedom_features_
push str.freedom_
push str.freedom_dll_
call fcn.004016b0
push 0
call fcn.00402770
add esp, 0x20
mov dword [esp + 0x20], eax
xor esi, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], str.freedom_dll_
mov dword [esp + 0x28], str.freedom_
mov dword [esp + 0x2c], str.freedom_features_
mov dword [esp + 0x30], str.freedom_ui_
mov dword [esp + 0x34], str.vendor_imgui_
mov dword [esp + 0x38], str.vendor_imgui_backends_
mov dword [esp + 0x10], esi
mov esi, dword [esp + esi*4 + 0x24]
push esi
mov dword [esp + 0x18], esi
call fcn.00403360
add esp, 4
mov ebx, eax
mov dword [esp + 0x18], ebx
call fcn.0040a8bd
test ebx, ebx
je 0x402062
mov dword [eax], 0
nop dword [eax]
cmp dword [ebx + 0x144], 0
jne 0x401c90
push 0x105
push 1
call fcn.0040ab44
add esp, 8
mov dword [ebx + 0x144], eax
jmp 0x401ca4
lea eax, [ebx + 4]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x401dbe
push 0x105
push 0
push dword [ebx + 0x144]
call fcn.00408a90
push 0x104
lea eax, [ebx + 0x30]
push eax
push dword [ebx + 0x144]
call fcn.0040aa20
mov ebp, dword [ebx + 0x144]
add esp, 0x18
test ebp, ebp
je 0x401dd4
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ce0
sub ecx, edx
cmp ecx, 4
jb 0x401c70
lea eax, [ebp - 4]
mov edx, str..cpp
add eax, ecx
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x401d18
test cl, cl
je 0x401d14
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x401d18
add eax, 2
add edx, 2
test cl, cl
jne 0x401cf8
xor eax, eax
jmp 0x401d1d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401c70
mov esi, ebp
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x401d30
sub esi, ecx
je 0x401d4c
nop dword [eax + eax]
cmp byte [esi + ebp - 1], 0x2e
je 0x401da4
sub esi, 1
jne 0x401d40
mov edi, ebp
push 0
push str..obj
push edi
call fcn.00402770
push edx
push eax
push 0x4256fe
call fcn.00402620
mov esi, dword [esp + 0x34]
mov ebx, eax
lea ebp, [esi + 1]
lea ecx, [ebp*4]
push ecx
call fcn.0040ab6a
shl esi, 2
mov edi, eax
push esi
push dword [esp + 0x40]
push edi
call fcn.00408510
mov dword [esi + edi], ebx
add esp, 0x28
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebp
jmp 0x401c70
push esi
call fcn.0040ab6a
push esi
mov edi, eax
push ebp
push edi
call fcn.00408510
add esp, 0x10
mov byte [edi + esi - 1], 0
jmp 0x401d4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x401dd4
call fcn.0040a8bd
mov dword [eax], 0x28
call fcn.0040a8bd
cmp dword [eax], 0
jg 0x402078
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x401dfb
call fcn.0040a8bd
mov dword [eax], 0x28
jmp 0x401e17
mov eax, dword [ebx + 0x144]
test eax, eax
je 0x401e0e
push eax
call fcn.0040ab4f
add esp, 4
push ebx
call fcn.0040ab4f
add esp, 4
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
cmp esi, 6
jb 0x401c43
mov eax, dword [0x430280]
cmp dword [eax], 0
je 0x401edf
cmp dword [0x430294], 0
je 0x401fa5
push 0
push str._MACHINE:x86
push str._DEBUG
push str._OUT:freedom.dll
push str._DLL
push str.LINK
call fcn.00402770
xor ebp, ebp
add esp, 0x18
mov ebx, eax
mov edi, edx
cmp dword [esp + 0x1c], ebp
jbe 0x401f7a
mov dword [esp + 0x14], eax
mov eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
nop word [eax + eax]
mov ecx, dword [esp + 0x20]
lea edi, [eax + 1]
lea eax, [edi*4]
push eax
mov esi, dword [ecx + ebp*4]
call fcn.0040ab6a
mov ebx, eax
mov eax, dword [esp + 0x14]
shl eax, 2
push eax
push dword [esp + 0x1c]
push ebx
call fcn.00408510
mov eax, dword [esp + 0x28]
inc ebp
add esp, 0x10
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [ebx + eax*4], esi
mov eax, edi
cmp ebp, dword [esp + 0x1c]
jb 0x401e90
jmp 0x401f7a
cmp dword [0x430294], 0
je 0x401fa5
push 0
push str._MACHINE:x86
push str._LTCG
push str._OUT:freedom.dll
push str._DLL
push str.LINK
call fcn.00402770
xor ebp, ebp
add esp, 0x18
mov ebx, eax
mov edi, edx
cmp dword [esp + 0x1c], ebp
jbe 0x401f7a
mov dword [esp + 0x14], eax
mov eax, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edx
nop dword [eax]
mov ecx, dword [esp + 0x20]
lea edi, [eax + 1]
lea eax, [edi*4]
push eax
mov esi, dword [ecx + ebp*4]
call fcn.0040ab6a
mov ebx, eax
mov eax, dword [esp + 0x1c]
shl eax, 2
push eax
push dword [esp + 0x1c]
push ebx
call fcn.00408510
mov eax, dword [esp + 0x20]
inc ebp
add esp, 0x10
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [ebx + eax*4], esi
mov eax, edi
cmp ebp, dword [esp + 0x1c]
jb 0x401f30
push edi
push ebx
push 0x425788
call fcn.00402620
push eax
push str.CMD:__s
call fcn.004010a0
push 0
push 0
push edi
push ebx
call fcn.004024f0
push eax
call fcn.004037a0
add esp, 0x28
push str.freedom_injector.exe
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401fd5
mov eax, dword [0x430284]
cmp dword [eax], 0
jne 0x401fd5
push str.freedom_injector.exe
push str.injector.cpp
call fcn.00402f10
add esp, 8
test eax, eax
je 0x40204f
push 0
push str._MACHINE:x86
push str._link
push str.injector.cpp
push str._Fe:freedom_injector.exe
push str._nologo
push str._EHsc
push 0x425d94
push 0x425d90
push str._std:clatest
push str._DUNICODE
push str._DNDEBUG
push str._DWIN32_LEAN_AND_MEAN
push 0x425d88
call fcn.00402770
mov esi, edx
mov edi, eax
push esi
push edi
push 0x425788
call fcn.00402620
add esp, 0x44
push eax
push str.CMD:__s
call fcn.004010a0
push 0
push 0
push esi
push edi
call fcn.004024f0
push eax
call fcn.004037a0
add esp, 0x1c
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004076d6
add esp, 0x30
ret
push dword [eax]
call fcn.0040aa0a
add esp, 4
push eax
push esi
push str.could_not_open_directory__s:__s
call fcn.004010f0
call fcn.0040a8bd
push dword [eax]
call fcn.0040aa0a
add esp, 4
push eax
push dword [esp + 0x18]
push str.could_not_read_directory__s:__s
call fcn.004010f0
int3