Function at 0x406187
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
lea eax, [ebp - 0x104]
push 0x422890
push eax
mov byte [0x4238dd], 1
call fcn.004116a0
lea eax, [ebp - 0x104]
push str.ReflexiveArcade.dll
push eax
call fcn.004116b0
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4238d8], eax
jne 0x406221
push eax
push eax
lea eax, [ebp + 0x18]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp + 0x18]
mov esi, 0x422998
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 esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x4238cc], esi
mov ax, 3
jmp 0x4065cb
lea eax, [ebp - 0x104]
push eax
call fcn.00405d7b
test al, al
pop ecx
jne 0x40624d
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41dc40
jmp 0x40658d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.radll_GetDLLVersionAsString
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x4238c0], eax
jne 0x406284
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41dbd8
jmp 0x40658d
call eax
push str.radll_GetDLLVersionAsInt
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x4231a4], eax
jne 0x4062b7
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41db70
jmp 0x40658d
call eax
push str.radll_Initialize
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x4231a8], eax
jne 0x4062ea
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41db18
jmp 0x40658d
push str.radll_ShutDown
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x422888], eax
jne 0x40631b
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41dacc
jmp 0x40658d
push str.radll_HasTheProductBeenPurchased
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x42319c], eax
jne 0x40634c
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41da58
jmp 0x40658d
push str.radll_EnterMenuSession
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x4231a0], eax
jne 0x40637d
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d9f8
jmp 0x40658d
push str.radll_IsTheMenuSessionComplete
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x4231ac], eax
jne 0x4063ae
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d988
jmp 0x40658d
push str.radll_DrawNextFrameIntoBuffer
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x422884], eax
jne 0x4063df
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d918
jmp 0x40658d
push str.radll_GetNumberOfRectsToUpdate
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x422874], eax
jne 0x406410
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d8a8
jmp 0x40658d
push str.radll_GetUpdateRect
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x4235b8], eax
jne 0x406441
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d850
jmp 0x40658d
push str.radll_HandleWindowsMessage
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x4238c4], eax
jne 0x406472
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d7e8
jmp 0x40658d
push str.radll_SetPalette
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x422994], eax
jne 0x4064a3
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d794
jmp 0x40658d
push str.radll_GetValueAsString
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x423198], eax
jne 0x4064d4
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d738
jmp 0x40658d
push str.radll_GetValueAsInt
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x422878], eax
jne 0x406505
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d6e0
jmp 0x40658d
push str.radll_GetValueAsFloat
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x42287c], eax
jne 0x406533
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d680
jmp 0x40658d
push str.radll_IsASystemUpdateRequired
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x4235b4], eax
jne 0x406561
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d610
jmp 0x40658d
push str.radll_GetLastErrorInformation
push dword [0x4238d8]
call esi
test eax, eax
mov dword [0x4235b0], eax
jne 0x406593
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4238cc], 0x41d5a0
mov ax, 5
jmp 0x4065cb
push dword [0x41d4c8]
fld dword [ebp + 0x14]
push dword [ebp + 0x18]
push ecx
fstp dword [esp]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4231a8]
mov esi, eax
add esp, 0x18
test si, si
je 0x4065c8
push dword [0x4238d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ax, si
pop esi
leave
ret