Function at 0x449620
Capabilities:
Check if file exists
Create directory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58872b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x954
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x940], ecx
mov ecx, dword [ebp - 0x940]
call fcn.00456cd9
mov byte [ebp - 0x920], 0
push 0x7ff
push 0
lea eax, [ebp - 0x91f]
push eax
call fcn.0055ca00
add esp, 0xc
mov dword [ebp - 4], 0
push 0x5b6958
push str.motherboard_ui_title.json
call fcn.00559c2b
add esp, 8
mov dword [ebp - 0x924], eax
cmp dword [ebp - 0x924], 0
je 0x4496d4
mov ecx, dword [ebp - 0x924]
push ecx
push 0x800
push 1
lea edx, [ebp - 0x920]
push edx
call fcn.0055ba7b
add esp, 0x10
mov eax, dword [ebp - 0x924]
push eax
call fcn.00558f58
add esp, 4
jmp 0x4496e3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x920]
mov dword [ebp - 0x944], ecx
mov edx, dword [ebp - 0x944]
add edx, 1
mov dword [ebp - 0x948], edx
mov eax, dword [ebp - 0x944]
mov cl, byte [eax]
mov byte [ebp - 0x949], cl
add dword [ebp - 0x944], 1
cmp byte [ebp - 0x949], 0
jne 0x449705
mov edx, dword [ebp - 0x944]
sub edx, dword [ebp - 0x948]
mov dword [ebp - 0x950], edx
je 0x449749
lea eax, [ebp - 0x920]
push eax
mov ecx, dword [ebp - 0x940]
call fcn.00449ab0
mov ecx, dword [ebp - 0x940]
add ecx, 0x159
push ecx
call fcn.00404890
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x449800
mov dword [ebp - 0x92c], 0
push 0x5b6978
mov edx, dword [ebp - 0x14]
push edx
call fcn.004057e0
add esp, 8
mov dword [ebp - 0x92c], eax
cmp dword [ebp - 0x92c], 0
je 0x4497a7
mov eax, dword [ebp - 0x92c]
push eax
mov ecx, dword [ebp - 0x940]
call fcn.0044a8f0
mov dword [ebp - 0x92c], 0
push 0x5b6980
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004057e0
add esp, 8
mov dword [ebp - 0x92c], eax
cmp dword [ebp - 0x92c], 0
je 0x4497e3
mov edx, dword [ebp - 0x92c]
push edx
mov ecx, dword [ebp - 0x940]
call fcn.0044ad90
mov eax, dword [ebp - 0x14]
push eax
call fcn.00403ae0
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x92c], 0
call fcn.0040e0b0
mov ecx, dword [ebp - 0x940]
mov dword [ecx + 0x154], eax
mov edx, dword [ebp - 0x940]
mov ecx, dword [edx + 0x154]
call fcn.0040ea90
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x940]
push eax
push 0x449600
call fcn.0046838d
mov ecx, dword [ebp - 0x940]
mov dword [ecx + 0x680], eax
mov edx, dword [ebp - 0x940]
cmp dword [edx + 0x680], 0
je 0x44987a
mov eax, dword [ebp - 0x940]
mov ecx, dword [eax + 0x680]
mov dword [ecx + 0x28], 1
mov edx, dword [ebp - 0x940]
mov ecx, dword [edx + 0x680]
call fcn.00434210
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x940]
push eax
push 0x449610
call fcn.0046838d
mov ecx, dword [ebp - 0x940]
mov dword [ecx + 0x684], eax
mov edx, dword [ebp - 0x940]
cmp dword [edx + 0x684], 0
je 0x4498d2
mov eax, dword [ebp - 0x940]
mov ecx, dword [eax + 0x684]
mov dword [ecx + 0x28], 1
mov edx, dword [ebp - 0x940]
mov ecx, dword [edx + 0x684]
call fcn.00434210
mov ecx, dword [ebp - 0x940]
add ecx, 0xb8
call fcn.004036b0
mov byte [ebp - 0x120], 0
push 0x103
push 0
lea eax, [ebp - 0x11f]
push eax
call fcn.0055ca00
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push 0x5b698c
push 0x5b6998
call fcn.0043cee0
add esp, 0x10
mov dword [ebp - 0x954], 0x5b69a0
lea edx, [ebp - 0x120]
mov dword [ebp - 0x958], edx
mov eax, dword [ebp - 0x958]
mov cl, byte [eax]
mov byte [ebp - 0x959], cl
mov edx, dword [ebp - 0x954]
cmp cl, byte [edx]
jne 0x449992
cmp byte [ebp - 0x959], 0
je 0x449986
mov eax, dword [ebp - 0x958]
mov cl, byte [eax + 1]
mov byte [ebp - 0x95a], cl
mov edx, dword [ebp - 0x954]
cmp cl, byte [edx + 1]
jne 0x449992
add dword [ebp - 0x958], 2
add dword [ebp - 0x954], 2
cmp byte [ebp - 0x95a], 0
jne 0x449934
mov dword [ebp - 0x960], 0
jmp 0x44999d
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x960], eax
mov ecx, dword [ebp - 0x960]
mov dword [ebp - 0x964], ecx
cmp dword [ebp - 0x964], 0
jne 0x449a89
push 0x5b69a8
lea ecx, [ebp - 0x930]
call fcn.00403900
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x930]
call fcn.00403740
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [ebp - 0x934], eax
cmp dword [ebp - 0x934], 0
jne 0x449a02
push 0
lea ecx, [ebp - 0x930]
call fcn.00403740
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [ebp - 0x93c]
push edx
call fcn.004341f0
lea ecx, [ebp - 0x93c]
call fcn.00434180
push eax
lea ecx, [ebp - 0x93c]
call fcn.004340a0
push eax
lea ecx, [ebp - 0x93c]
call fcn.00434050
push eax
lea ecx, [ebp - 0x93c]
call fcn.00434000
push eax
lea ecx, [ebp - 0x93c]
call fcn.00433fb0
push eax
lea ecx, [ebp - 0x93c]
call fcn.00433f50
push eax
mov eax, dword [ebp - 0x930]
push eax
push 0x5b69b8
mov ecx, dword [ebp - 0x940]
add ecx, 0xb8
push ecx
call fcn.004011f0
add esp, 0x24
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x930]
call fcn.00401720
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005562bb
mov esp, ebp
pop ebp
ret