Function at 0x453030
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5c36cb
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x38]
call fcn.004155e0
xor edi, edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], edi
call fcn.00406100
mov edx, dword [esp + 0x60]
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x68], 1
call fcn.004526e0
test eax, eax
je 0x453292
mov esi, dword [esp + 0x64]
mov ecx, esi
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4530c0
mov ecx, esi
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp esi, eax
jbe 0x4530d5
call fcn.00585229
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
lea esp, [esp]
mov ebp, eax
cmp dword [esp + 0x2c], eax
jbe 0x4530ed
call fcn.00585229
test edi, edi
je 0x4530f7
cmp edi, dword [esp + 0x20]
je 0x4530fc
call fcn.00585229
cmp esi, ebp
je 0x453153
test edi, edi
jne 0x45314b
call fcn.00585229
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x453115
call fcn.00585229
mov eax, dword [esp + 0x64]
mov ecx, dword [esi]
push eax
push ecx
mov ecx, ebx
call fcn.00436740
call fcn.0048d520
test eax, eax
jne 0x453153
test edi, edi
jne 0x45314f
call fcn.00585229
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x453142
call fcn.00585229
mov eax, dword [esp + 0x30]
add esi, 4
jmp 0x4530e0
mov eax, dword [edi]
jmp 0x45310b
mov eax, dword [edi]
jmp 0x453138
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
cmp esi, eax
jbe 0x453168
call fcn.00585229
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x38]
lea esp, [esp]
mov edi, eax
cmp dword [esp + 0x44], eax
jbe 0x45317d
call fcn.00585229
test ebp, ebp
je 0x453187
cmp ebp, dword [esp + 0x38]
je 0x45318c
call fcn.00585229
cmp esi, edi
je 0x453290
test ebp, ebp
jne 0x45327e
call fcn.00585229
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4531ad
call fcn.00585229
mov edx, dword [esi]
mov ecx, dword [ebx + 0x400]
push edx
call fcn.004262e0
push 1
mov ecx, eax
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00431b60
mov ecx, dword [esp + 0x64]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x64], 2
call fcn.004357a0
push 0x5d2de4
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x64], 3
call fcn.00435830
mov edi, eax
mov byte [esp + 0x58], 4
test ebp, ebp
jne 0x453286
call fcn.00585229
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x453218
call fcn.00585229
mov ecx, dword [esi]
push edi
push ecx
mov ecx, ebx
call fcn.00453030
test eax, eax
lea ecx, [esp + 0x60]
sete bl
mov byte [esp + 0x58], 3
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 2
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 1
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
test bl, bl
jne 0x453290
test ebp, ebp
jne 0x45328b
call fcn.00585229
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x45326e
call fcn.00585229
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x1c]
add esi, 4
jmp 0x453170
mov eax, dword [ebp]
jmp 0x4531a3
mov eax, dword [ebp]
jmp 0x45320e
mov eax, dword [ebp]
jmp 0x453264
xor edi, edi
call fcn.0048d520
mov esi, eax
mov eax, dword [esp + 0x2c]
neg esi
sbb esi, esi
inc esi
cmp eax, edi
je 0x4532af
push eax
call fcn.0053e6ed
add esp, 4
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.0053e6ed
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, edi
je 0x4532d9
push eax
call fcn.0053e6ed
add esp, 4
mov eax, dword [esp + 0x38]
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.0053e6ed
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8