Function at 0x454320
Capabilities:
Delete file

Disassembly:
mov eax, dword [0x52b40c]
sub esp, 8
push ebp
mov ecx, 0x1000000
push 0x49dd8c
xor ebp, ebp
push str._mugen__.tmp
mov dword [eax + 0x4a00], ebp
mov dword [eax + 0x404], ecx
mov dword [eax + 0x408], ecx
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
cmp eax, ebp
je 0x45437e
mov ecx, dword [0x52b40c]
push eax
mov dword [ecx + 0x400], 1
call dword [sym.imp.MSVCR90.dll_fclose]
push str._mugen__.tmp
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 8
mov eax, dword [0x52b40c]
mov ecx, dword [eax + 0x11858]
mov eax, dword [eax + 0x11854]
push ecx
push eax
call fcn.00434d60
mov edx, dword [0x52b40c]
add esp, 8
mov dword [edx + 0x80a0], eax
cmp eax, ebp
jne 0x4543ce
call fcn.004547e0
mov eax, dword [0x52b40c]
add eax, 0x1205c
push str.Cant_create_screen_buffer.
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 8
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, eax
call fcn.00434ee0
xor ecx, ecx
call fcn.004354b0
mov eax, dword [0x52b40c]
mov ecx, dword [eax + 0x80a0]
mov dword [eax + 0x80a4], ecx
mov eax, dword [eax + 0x118c4]
shl eax, 0xa
push eax
call fcn.00412780
add esp, 4
mov dword [0x52b394], eax
cmp eax, ebp
jne 0x45442f
call fcn.004547e0
mov edx, dword [0x52b40c]
add edx, 0x1205c
push str.Cant_allocate_sprite_decompression_buffer.
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 8
xor eax, eax
pop ebp
add esp, 8
ret
mov eax, dword [0x52b40c]
push esi
mov esi, dword [eax + 0x118c0]
call fcn.00402510
mov ecx, dword [0x52b40c]
mov dword [ecx + 0x80bc], eax
cmp eax, ebp
jne 0x45445f
call fcn.004547e0
push str.Cant_create_priority_sprites_layer_1.
jmp 0x454683
call fcn.00402860
mov ecx, dword [0x52b40c]
mov dword [ecx + 0x80b8], eax
cmp eax, ebp
jne 0x45449a
call fcn.004547e0
mov eax, dword [0x52b40c]
add eax, 0x1205c
push str.Cant_create_persistent_animation_array.
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 8
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
push ebx
mov ebx, dword [ecx + 0x118bc]
call fcn.00454a60
mov ecx, dword [0x52b40c]
mov dword [ecx + 0x80c4], eax
pop ebx
cmp eax, ebp
jne 0x4544c6
call fcn.004547e0
push str.Cant_init_afterimages.
jmp 0x454683
mov eax, 0xc
lea ecx, [eax - 0xb]
call fcn.0040e1b0
mov ecx, dword [0x52b40c]
mov dword [ecx + 0x80c0], eax
cmp eax, ebp
jne 0x454509
call fcn.004547e0
mov eax, dword [0x52b40c]
add eax, 0x1205c
push str.Cant_create_palgroup_array.
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 8
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
push edi
lea esi, [ecx + 0x11110]
mov edi, 0x20
call fcn.00411f50
pop edi
test eax, eax
jne 0x45452c
call fcn.004547e0
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov eax, dword [0x52b40c]
fldz
mov ecx, dword [eax + 0x11868]
mov dword [eax + 0x80d4], ecx
mov esi, 1
mov dword [eax + 0xfcac], esi
mov edx, dword [str.system.def]
mov dword [eax + 0xfcb8], edx
mov ecx, dword [0x4a0b04]
mov dword [eax + 0xfcbc], ecx
mov dx, word [0x4a0b08]
mov word [eax + 0xfcc0], dx
mov cl, byte [0x4a0b0a]
mov byte [eax + 0xfcc2], cl
mov edx, dword [str.data_]
mov dword [eax + 0xfeb8], edx
mov cx, word [0x49f71c]
fst dword [eax + 0x10efc]
mov word [eax + 0xfebc], cx
fstp dword [eax + 0x10ef8]
mov ecx, 0xffffffff
mov dword [eax + 0x10eac], ecx
mov dword [eax + 0x11434], ecx
mov ecx, dword [eax + 0x118d0]
mov dword [eax + 0x11124], ecx
add ecx, 4
push ebp
mov dword [eax + 0x10ea8], ebp
mov dword [eax + 0x10eb4], ebp
mov dword [eax + 0x10eb0], ebp
mov dword [eax + 0x10f04], ebp
mov dword [eax + 0x10f00], ebp
mov dword [eax + 0x10f1c], ebp
mov dword [eax + 0x10f14], ebp
mov dword [eax + 0x10f10], ebp
mov dword [eax + 0x809c], ebp
mov dword [eax + 0x11334], esi
mov dword [eax + 0x11338], esi
mov dword [eax + 0x1133c], ebp
mov dword [eax + 0x11340], ebp
mov dword [eax + 0x11128], 4
mov dword [eax + 0x11120], ecx
mov dword [eax + 0x4a04], esi
mov dword [eax + 0x4a08], 2
call dword [sym.imp.MSVCR90.dll__time64]
mov dword [esp + 0x10], edx
mov edx, dword [0x52b40c]
push eax
mov dword [edx + 0x10ec0], eax
call dword [sym.imp.MSVCR90.dll_srand]
mov eax, dword [0x52b40c]
mov eax, dword [eax + 0x10ec4]
add esp, 8
call fcn.00457040
lea eax, [esi + 7]
call fcn.0040abb0
mov ecx, dword [0x52b40c]
mov dword [ecx + 0x12058], eax
cmp eax, ebp
jne 0x4546a1
call fcn.004547e0
push str.Cant_create_clipboard.
mov edx, dword [0x52b40c]
add edx, 0x1205c
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 8
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov eax, esi
pop esi
pop ebp
add esp, 8
ret