Function at 0x4526a0
Capabilities:
Delete file
Get common file path
Get file size
Link many functions at runtime
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb50
push ebx
push esi
lea eax, [ebp - 0x950]
push edi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov esi, eax
xor ebx, ebx
inc esi
xor edi, edi
mov dword [ebp - 8], edi
push dword [edi*4 + 0x4a2cd4]
push esi
call fcn.0045c4a0
pop ecx
test eax, eax
pop ecx
jne 0x4526f2
inc edi
cmp edi, 0xf
mov dword [ebp - 8], edi
jl 0x4526d1
jmp 0x45288e
cmp edi, 0xe
jne 0x4527ff
mov dword [ebp - 8], 6
mov eax, dword [ebp - 8]
mov edi, eax
shl edi, 2
push dword [edi + 0x4a2c74]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x45288e
push dword [edi + 0x4a2c94]
lea eax, [ebp - 0x11c]
push str._sOpenArchive
push eax
call fcn.0048c636
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0xc]
call esi
push dword [edi + 0x4a2c94]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x11c]
push str._sFindFirst
push eax
call fcn.0048c636
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0xc]
call esi
push dword [edi + 0x4a2c94]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x11c]
push str._sCloseArchive
push eax
call fcn.0048c636
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0xc]
call esi
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
cmp dword [eax], ebx
je 0x45288e
mov dword [ebp + 0x18], eax
push 0x800000
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x452885
lea ecx, [ebp - 0x34c]
push ecx
mov ecx, dword [ebp + 0x18]
push dword [ecx]
push eax
call dword [ebp - 0x1c]
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
call dword [ebp - 0x10]
cmp dword [ebp - 4], ebx
je 0x452895
add dword [ebp + 0x18], 4
mov eax, dword [ebp + 0x18]
cmp dword [eax], ebx
jne 0x4527b4
jmp 0x452889
cmp edi, 8
jne 0x45280c
mov dword [ebp - 8], ebx
jmp 0x452702
cmp edi, 9
jne 0x45281a
mov dword [ebp - 8], 1
jmp 0x45282c
cmp edi, 0xa
jl 0x452826
mov dword [ebp - 8], 4
cmp dword [ebp - 8], 1
jne 0x45284b
cmp byte [0x528b95], bl
jne 0x452702
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0047a4f0
jmp 0x452872
cmp dword [ebp - 8], 2
jne 0x452702
cmp byte [0x528b95], bl
jne 0x452702
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0047a9c0
add esp, 0x10
test eax, eax
je 0x452702
xor eax, eax
inc eax
jmp 0x452a93
push ebx
call dword [ebp - 0x10]
cmp dword [ebp - 4], ebx
je 0x452895
xor eax, eax
jmp 0x452a93
mov eax, dword [edi + 0x4a2cb4]
cmp eax, ebx
je 0x45296d
lea ecx, [ebp - 0x332]
push ecx
lea ecx, [ebp - 0x950]
push ecx
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x54c]
push eax
call fcn.0048c636
add esp, 0x14
push dword [edi + 0x4a2c94]
push dword [ebp - 0xc]
call esi
push ebx
lea ecx, [ebp - 0x54c]
push ebx
push ecx
push dword [ebp + 8]
call eax
lea eax, [ebp - 0x332]
push eax
lea eax, [ebp - 0x950]
push eax
lea eax, [ebp - 0xb50]
push str._s_s
push eax
call fcn.0048c636
add esp, 0x10
lea eax, [ebp - 0xb50]
push ebx
push 0x8000000
push 3
push ebx
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x452a88
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 0x14]
push eax
mov dword [esi], eax
call fcn.0048ac32
pop ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [ecx], eax
lea ecx, [ebp + 0x10]
push ecx
push dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xb50]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi]
cmp eax, dword [ebp + 0x10]
jmp 0x452a83
cmp dword [ebp - 8], 1
jne 0x4529d2
lea eax, [ebp - 0x750]
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x332]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
mov eax, dword [ebp - 4]
je 0x4529a7
mov ecx, dword [ebp + 0x18]
mov al, byte [eax]
inc dword [ebp + 0x18]
inc dword [ebp - 4]
mov byte [ecx], al
jmp 0x4529bc
movsx eax, byte [eax]
sub eax, 0x5b
je 0x4529b3
dec eax
dec eax
jne 0x4529bc
mov eax, dword [ebp + 0x18]
inc dword [ebp + 0x18]
mov byte [eax], 0x5c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
inc dword [ebp + 0x18]
inc dword [ebp - 4]
mov al, byte [eax]
cmp al, bl
mov byte [ecx], al
jne 0x452985
jmp 0x4529e7
lea eax, [ebp - 0x332]
push eax
lea eax, [ebp - 0x750]
push eax
call fcn.0048bf50
pop ecx
pop ecx
mov eax, dword [ebp - 0x34c]
mov ecx, dword [ebp + 0x14]
push eax
mov dword [ecx], eax
call fcn.0048ac32
cmp dword [ebp - 8], 7
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [ebp - 0x750]
push eax
jne 0x452a2b
lea eax, [ebp - 0x950]
push eax
lea eax, [ebp - 0x54c]
push dword [ebp + 0x10]
push str._ex___s___s___s_
push eax
call fcn.0048c636
add esp, 0x14
jmp 0x452a42
push dword [ebp + 0x10]
lea eax, [ebp - 0x54c]
push str.__s____s_
push eax
call fcn.0048c636
add esp, 0x10
push dword [edi + 0x4a2c94]
lea eax, [ebp - 0x11c]
push str._sExtractMem
push eax
call fcn.0048c636
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0xc]
call esi
mov ecx, dword [ebp + 0x14]
push ebx
push ebx
push ebx
push dword [ecx]
mov ecx, dword [ebp + 0xc]
push dword [ecx]
lea ecx, [ebp - 0x54c]
push ecx
push dword [ebp + 8]
call eax
test eax, eax
jne 0x452a88
xor ebx, ebx
inc ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret