Function at 0x405e60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
push edi
lea edi, [ebp - 0x154]
mov ecx, 0x55
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [0x418bd5], 1
push 0x417b88
lea eax, [ebp - 0x104]
push eax
call fcn.00407cc0
add esp, 8
push str.ReflexiveArcade.dll
lea eax, [ebp - 0x104]
push eax
call fcn.00407cd0
add esp, 8
mov esi, esp
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bd0], eax
cmp dword [0x418bd0], 0
jne 0x405f57
mov esi, esp
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0x400
mov edi, esp
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp edi, esp
call fcn.0040887a
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.DLL_FormatMessageA]
cmp esi, esp
call fcn.0040887a
mov esi, esp
mov eax, dword [ebp - 0x108]
push eax
push str.The_ReflexiveArcade.dll_file_could_not_be_loaded._If_could_be_corrupted_or_in_the_wrong_location._nThe_correct_location_is_in_the__ReflexiveArcade__subfolder_in_the_same_folder_as_the_applications_exe._n_nWin32_Error:__s
push 0x417c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.0040887a
mov esi, esp
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_LocalFree]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x417c90
mov ax, 3
jmp 0x406596
lea eax, [ebp - 0x104]
push eax
call fcn.00405630
add esp, 4
and eax, 0xff
test eax, eax
jne 0x405f97
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x410ad0
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_GetDLLVersionAsString
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bb8], eax
cmp dword [0x418bb8], 0
jne 0x405fe7
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x410a68
mov ax, 5
jmp 0x406596
mov esi, esp
call dword [0x418bb8]
cmp esi, esp
call fcn.0040887a
mov dword [ebp - 0x10c], eax
mov esi, esp
push str.radll_GetDLLVersionAsInt
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x41849c], eax
cmp dword [0x41849c], 0
jne 0x40604c
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x410a00
mov ax, 5
jmp 0x406596
mov esi, esp
call dword [0x41849c]
cmp esi, esp
call fcn.0040887a
mov dword [ebp - 0x110], eax
mov esi, esp
push str.radll_Initialize
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x4184a0], eax
cmp dword [0x4184a0], 0
jne 0x4060b1
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x4109a8
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_ShutDown
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x417b80], eax
cmp dword [0x417b80], 0
jne 0x406101
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x41095c
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_HasTheProductBeenPurchased
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x418494], eax
cmp dword [0x418494], 0
jne 0x406151
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x4108e8
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_EnterMenuSession
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x418498], eax
cmp dword [0x418498], 0
jne 0x4061a1
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x410888
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_IsTheMenuSessionComplete
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x4184a4], eax
cmp dword [0x4184a4], 0
jne 0x4061f1
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x410818
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_DrawNextFrameIntoBuffer
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x417b7c], eax
cmp dword [0x417b7c], 0
jne 0x406241
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x4107a8
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_GetNumberOfRectsToUpdate
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x417b6c], eax
cmp dword [0x417b6c], 0
jne 0x406291
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x410738
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_GetUpdateRect
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x4188b0], eax
cmp dword [0x4188b0], 0
jne 0x4062e1
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x4106e0
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_HandleWindowsMessage
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bbc], eax
cmp dword [0x418bbc], 0
jne 0x406331
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x410678
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_SetPalette
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x417c8c], eax
cmp dword [0x417c8c], 0
jne 0x406381
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x410624
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_GetValueAsString
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x418490], eax
cmp dword [0x418490], 0
jne 0x4063d1
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x4105c8
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_GetValueAsInt
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x417b70], eax
cmp dword [0x417b70], 0
jne 0x406421
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x410570
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_GetValueAsFloat
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x417b74], eax
cmp dword [0x417b74], 0
jne 0x406471
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x410510
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_IsASystemUpdateRequired
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x4188ac], eax
cmp dword [0x4188ac], 0
jne 0x4064c1
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x4104a0
mov ax, 5
jmp 0x406596
mov esi, esp
push str.radll_GetLastErrorInformation
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.0040887a
mov dword [0x4188a8], eax
cmp dword [0x4188a8], 0
jne 0x406511
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov dword [0x418bc4], 0x410430
mov ax, 5
jmp 0x406596
cmp dword [0x4184a0], 0
jne 0x406539
movsx eax, word [0x4143cc]
add eax, 0xbd
push eax
push str.c:development_reflexivearcade_sdk_developmentlib_ra_apifunctions.cpp
push str.radll_Initialize___NULL
call fcn.004082c4
add esp, 0xc
mov esi, esp
mov eax, dword [0x4143b0]
push eax
mov cx, word [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x4184a0]
add esp, 0x18
cmp esi, esp
call fcn.0040887a
mov word [ebp - 0x112], ax
xor eax, eax
mov ax, word [ebp - 0x112]
test eax, eax
je 0x40658f
mov esi, esp
mov eax, dword [0x418bd0]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp esi, esp
call fcn.0040887a
mov ax, word [ebp - 0x112]
pop edi
pop esi
pop ebx
add esp, 0x154
cmp ebp, esp
call fcn.0040887a
mov esp, ebp
pop ebp
ret