Function at 0x443e80
Capabilities:
Terminate process

Disassembly:
mov eax, 0x5014
call fcn.0049a510
push ebp
push esi
push edi
push str.Exit_with_an_error._n
call fcn.00444320
push str.close_log
call fcn.00444320
mov eax, dword [0x52b0dc]
mov ebp, dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 8
mov byte [esp + 0x1020], 0
test eax, eax
je 0x443f29
dec eax
cmp eax, 3
ja case.default.0x443ec1
jmp dword [eax*4 + 0x444108]
mov eax, str.Cant_load_fonts
jmp 0x443ee9
mov eax, str.Cant_init_sound
jmp 0x443ee9
mov eax, str.Cant_init_graphics
jmp 0x443ee9
mov eax, str.Cant_change_video_mode
jmp 0x443ee9
mov eax, str.Error_not_defined
push eax
lea eax, [esp + 0x24]
push str.Library__built_in__message:__s._n_n
push eax
call ebp
lea eax, [esp + 0x2c]
add esp, 0xc
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x443f00
lea edi, [esp + 0x1020]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x443f13
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x52b40c]
test edx, edx
je 0x443f8e
cmp byte [edx + 0x1205c], 0
lea eax, [edx + 0x1205c]
je 0x443f8e
push eax
lea ecx, [esp + 0x24]
push str.Error_message:__s_n_n
push ecx
call ebp
lea eax, [esp + 0x2c]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x443f58
lea edi, [esp + 0x1020]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x443f70
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x443f70
mov edx, dword [0x52b40c]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x443fcc
lea eax, [esp + 0x1020]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x443f96
mov ecx, dword [str.Error_detected._n_n]
mov dword [eax], ecx
mov ecx, dword [0x49f6c0]
mov dword [eax + 4], ecx
mov ecx, dword [0x49f6c4]
mov dword [eax + 8], ecx
mov ecx, dword [0x49f6c8]
mov dword [eax + 0xc], ecx
mov cx, word [0x49f6cc]
mov word [eax + 0x10], cx
cmp byte [0x52be60], 0
je 0x44401f
push 0x52be60
lea edx, [esp + 0x24]
push str.Library_error_message:__s_n_n
push edx
call ebp
lea eax, [esp + 0x2c]
add esp, 0xc
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443ff0
lea edi, [esp + 0x1020]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x444001
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [0x52b40c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x52b0d8], 0
je 0x44406f
lea eax, [esp + 0x20]
push str.Out_of_memory_error._n_n
push eax
call ebp
lea eax, [esp + 0x28]
add esp, 8
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444040
lea edi, [esp + 0x1020]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x444051
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [0x52b40c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
test edx, edx
je 0x44408a
cmp dword [edx + 0x10e8c], 0
je 0x44408a
call fcn.00415330
mov edx, dword [0x52b40c]
mov dword [0x52b32c], 0
test edx, edx
je 0x4440a7
cmp byte [edx], 0
je 0x4440a7
push edx
call dword [sym.imp.MSVCR90.dll__chdir]
add esp, 4
xor eax, eax
lea ecx, [esp]
push ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call sub.SDL.dll_SDL_GetWMInfo
add esp, 4
neg eax
lea ecx, [esp + 0xc]
push ecx
sbb eax, eax
and eax, dword [esp + 8]
push 0x444460
push eax
push 0xc8
lea edx, [esp + 0x1024]
push 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], str.M.U.G.E.N_Error
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
call sub.SDL.dll_SDL_Quit
push 1
call dword [sym.imp.MSVCR90.dll_exit]
enter 0x443e, 0
iretd