Function at 0x4475aa
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5864cb
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x954
mov eax, dword [0x5e6e00]
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.00454be9
mov byte [ebp - 0x920], 0
push 0x7ff
push 0
lea eax, [ebp - 0x91f]
push eax
call fcn.0055a880
add esp, 0xc
mov dword [ebp - 4], 0
push 0x5b4960
push str.motherboard_ui_title.json
call fcn.00557aab
add esp, 8
mov dword [ebp - 0x924], eax
cmp dword [ebp - 0x924], 0
je 0x447594
mov ecx, dword [ebp - 0x924]
push ecx
push 0x800
push 1
lea edx, [ebp - 0x920]
push edx
call fcn.005598fb
add esp, 0x10
mov eax, dword [ebp - 0x924]
push eax
call fcn.00556dd8
add esp, 4
jmp 0x4475a3
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 0x4475c5
mov edx, dword [ebp - 0x944]
sub edx, dword [ebp - 0x948]
mov dword [ebp - 0x950], edx
je 0x447609
lea eax, [ebp - 0x920]
push eax
mov ecx, dword [ebp - 0x940]
call fcn.00447970
mov ecx, dword [ebp - 0x940]
add ecx, 0x159
push ecx
call fcn.004047e0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4476c0
mov dword [ebp - 0x92c], 0
push 0x5b4980
mov edx, dword [ebp - 0x14]
push edx
call fcn.00405730
add esp, 8
mov dword [ebp - 0x92c], eax
cmp dword [ebp - 0x92c], 0
je 0x447667
mov eax, dword [ebp - 0x92c]
push eax
mov ecx, dword [ebp - 0x940]
call fcn.004487b0
mov dword [ebp - 0x92c], 0
push 0x5b4988
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00405730
add esp, 8
mov dword [ebp - 0x92c], eax
cmp dword [ebp - 0x92c], 0
je 0x4476a3
mov edx, dword [ebp - 0x92c]
push edx
mov ecx, dword [ebp - 0x940]
call fcn.00448c50
mov eax, dword [ebp - 0x14]
push eax
call fcn.00403a30
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x92c], 0
call fcn.0040e050
mov ecx, dword [ebp - 0x940]
mov dword [ecx + 0x154], eax
mov edx, dword [ebp - 0x940]
mov ecx, dword [edx + 0x154]
call fcn.0040eb80
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x940]
push eax
push 0x4474c0
call fcn.004662bf
mov ecx, dword [ebp - 0x940]
mov dword [ecx + 0x680], eax
mov edx, dword [ebp - 0x940]
cmp dword [edx + 0x680], 0
je 0x44773a
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.004327e0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x940]
push eax
push 0x4474d0
call fcn.004662bf
mov ecx, dword [ebp - 0x940]
mov dword [ecx + 0x684], eax
mov edx, dword [ebp - 0x940]
cmp dword [edx + 0x684], 0
je 0x447792
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.004327e0
mov ecx, dword [ebp - 0x940]
add ecx, 0xb8
call fcn.00403610
mov byte [ebp - 0x120], 0
push 0x103
push 0
lea eax, [ebp - 0x11f]
push eax
call fcn.0055a880
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push 0x5b4994
push 0x5b49a0
call fcn.0043b430
add esp, 0x10
mov dword [ebp - 0x954], 0x5b49a8
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 0x447852
cmp byte [ebp - 0x959], 0
je 0x447846
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 0x447852
add dword [ebp - 0x958], 2
add dword [ebp - 0x954], 2
cmp byte [ebp - 0x95a], 0
jne 0x4477f4
mov dword [ebp - 0x960], 0
jmp 0x44785d
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 0x447949
push 0x5b49b0
lea ecx, [ebp - 0x930]
call fcn.00403850
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x930]
call fcn.00401510
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [ebp - 0x934], eax
cmp dword [ebp - 0x934], 0
jne 0x4478c2
push 0
lea ecx, [ebp - 0x930]
call fcn.00401510
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [ebp - 0x93c]
push edx
call fcn.004327c0
lea ecx, [ebp - 0x93c]
call fcn.00432750
push eax
lea ecx, [ebp - 0x93c]
call fcn.00432670
push eax
lea ecx, [ebp - 0x93c]
call fcn.00432620
push eax
lea ecx, [ebp - 0x93c]
call fcn.004325d0
push eax
lea ecx, [ebp - 0x93c]
call fcn.00432580
push eax
lea ecx, [ebp - 0x93c]
call fcn.00432520
push eax
mov eax, dword [ebp - 0x930]
push eax
push 0x5b49c0
mov ecx, dword [ebp - 0x940]
add ecx, 0xb8
push ecx
call fcn.004014e0
add esp, 0x24
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x930]
call fcn.00401a10
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.0055413f
mov esp, ebp
pop ebp
ret