Function at 0x403d30
Capabilities:
Access peb ldr_data
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4636c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call dword [0x46e148]
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0
call dword [0x46e148]
mov eax, dword [str.launcherpatch.exe.cab]
mov ecx, dword [0x4b3a44]
push eax
push str.BossRan_
push ecx
lea edx, [esp + 0x18]
push str._s_s_s
mov bl, 1
push edx
mov byte [esp + 0x64], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
lea ecx, [esp + 0x18]
call sub.MFC71.DLL_CFileFind::CFileFind
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
lea ecx, [esp + 0x20]
call sub.MFC71.DLL_CFileFind::FindFile
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x403de5
push 0x80
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call esi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], bl
call fcn.00450a98
mov eax, dword [str.launcherpatch.exe.cab]
mov ecx, dword [0x4b3a40]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x46f7ec
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 0x18]
call sub.MFC71.DLL_CFileFind::CFileFind
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 3
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
lea ecx, [esp + 0x20]
call sub.MFC71.DLL_CFileFind::FindFile
test eax, eax
je 0x403e59
push 0x80
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], bl
call fcn.00450a98
mov eax, dword [str.launcherpatch.exe.cab]
mov ecx, dword [0x4b3a40]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x46f7ec
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
push 0x2e
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x30]
call sub.MFC71.DLL_CFileFind::CFileFind
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 5
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
lea ecx, [esp + 0x38]
call sub.MFC71.DLL_CFileFind::FindFile
test eax, eax
je 0x403f07
push 0x80
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call esi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], bl
call fcn.00450a98
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret