Function at 0x423770
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472e0d
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x108], 0
call fcn.0042f5b0
mov dword [ebp - 4], 0
add eax, 0x34
push eax
lea ecx, [ebp - 0x120]
call fcn.00407a80
mov dword [ebp - 0x108], 1
cmp dword [eax + 0x14], 8
jb 0x4237d6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, 1
mov dword [ebp - 0x108], eax
and eax, 0xfffffffe
mov dword [ebp - 0x108], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00404570
mov ecx, dword [esi + 0x424]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
push eax
lea ecx, [ebp - 0x50]
call fcn.00407a80
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.0042f5b0
add eax, 0x84
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040af70
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
mov esi, eax
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x104], eax
cmp esi, edi
je 0x423909
nop dword [eax]
cmp dword [ebp - 0x3c], 8
lea edx, [ebp - 0x50]
mov eax, dword [esi + 0x10]
mov ecx, esi
cmovae edx, dword [ebp - 0x50]
cmp dword [esi + 0x14], 8
jb 0x423878
mov ecx, dword [esi]
cmp eax, dword [ebp - 0x40]
jne 0x42388a
push eax
call fcn.0040d150
add esp, 4
test eax, eax
je 0x423891
add esi, 0x18
cmp esi, edi
jne 0x423860
mov eax, dword [ebp - 0x104]
cmp esi, edi
je 0x423909
lea eax, [esi + 0x18]
mov dword [ebp - 0x104], eax
cmp eax, edi
je 0x4238ef
cmp esi, eax
je 0x4238dc
mov ecx, esi
call fcn.00404570
mov eax, dword [ebp - 0x104]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 7
mov word [eax], cx
add eax, 0x18
add esi, 0x18
mov dword [ebp - 0x104], eax
cmp eax, edi
jne 0x4238a8
mov edi, dword [ebp - 0x18]
lea ecx, [edi - 0x18]
call fcn.00404570
mov edi, dword [ebp - 0x18]
sub edi, 0x18
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x104], eax
cmp edi, dword [ebp - 0x14]
je 0x4239f9
cmp eax, edi
jne 0x42392a
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.00407a80
add dword [ebp - 0x18], 0x18
jmp 0x423a06
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x50]
push eax
call fcn.00407a80
mov byte [ebp - 4], 3
lea esi, [edi - 0x18]
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov word [esi], ax
mov eax, dword [ebp - 0x104]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
add dword [ebp - 0x18], 0x18
cmp esi, eax
je 0x4239b2
sub esi, 0x18
sub edi, 0x18
cmp edi, esi
je 0x4239ae
mov ecx, edi
call fcn.00404570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov word [esi], ax
mov eax, dword [ebp - 0x104]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
cmp esi, eax
jne 0x423974
mov esi, dword [ebp - 0x104]
lea eax, [ebp - 0x34]
cmp esi, eax
je 0x4239eb
mov ecx, esi
call fcn.00404570
movups xmm0, xmmword [ebp - 0x34]
xor eax, eax
mov word [ebp - 0x34], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00404570
jmp 0x423a06
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004247e0
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x1c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jb 0x423a2b
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00413c20
push 0xb0
lea eax, [ebp - 0x100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push str.Recent.txt
lea ecx, [ebp - 0x100]
call fcn.00415850
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x423acd
nop dword [eax]
push esi
lea ecx, [ebp - 0x120]
call fcn.00407a80
mov byte [ebp - 4], 5
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x34]
call fcn.00404a10
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x423a8d
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x100]
call fcn.00414370
add esp, 4
mov ecx, eax
push 0x414340
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00405e80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.00404570
add esi, 0x18
cmp esi, edi
jne 0x423a60
lea ecx, [ebp - 0xfc]
call fcn.00413070
test eax, eax
jne 0x423af7
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x100]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
call fcn.0042f5b0
lea ecx, [eax + 0x84]
lea eax, [ebp - 0x1c]
cmp ecx, eax
je 0x423b1a
push dword [ebp - 0x104]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0040b550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x100]
call fcn.00414060
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00407e40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00404570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c079
mov esp, ebp
pop ebp
ret