Function at 0x406c30
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 [0x4365b5], 1
push 0x435568
lea eax, [ebp - 0x104]
push eax
call fcn.0041cc10
add esp, 8
push str.ReflexiveArcade.dll
lea eax, [ebp - 0x104]
push eax
call fcn.0041cc20
add esp, 8
mov esi, esp
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365b0], eax
cmp dword [0x4365b0], 0
jne 0x406d27
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.0041de53
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
cmp esi, esp
call fcn.0041de53
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 0x435670
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.0041de53
mov esi, esp
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x435670
mov ax, 3
jmp 0x4073b6
lea eax, [ebp - 0x104]
push eax
call fcn.00406400
add esp, 4
and eax, 0xff
test eax, eax
jne 0x406d67
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429b70
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_GetDLLVersionAsString
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x436598], eax
cmp dword [0x436598], 0
jne 0x406db7
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429b08
mov ax, 5
jmp 0x4073b6
mov esi, esp
call dword [0x436598]
cmp esi, esp
call fcn.0041de53
mov dword [ebp - 0x10c], eax
mov esi, esp
push str.radll_GetDLLVersionAsInt
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435e7c], eax
cmp dword [0x435e7c], 0
jne 0x406e1c
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429aa0
mov ax, 5
jmp 0x4073b6
mov esi, esp
call dword [0x435e7c]
cmp esi, esp
call fcn.0041de53
mov dword [ebp - 0x110], eax
mov esi, esp
push str.radll_Initialize
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435e80], eax
cmp dword [0x435e80], 0
jne 0x406e81
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429a48
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_ShutDown
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435564], eax
cmp dword [0x435564], 0
jne 0x406ed1
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x4299fc
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_HasTheProductBeenPurchased
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435e74], eax
cmp dword [0x435e74], 0
jne 0x406f21
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429988
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_EnterMenuSession
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435e78], eax
cmp dword [0x435e78], 0
jne 0x406f71
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429928
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_IsTheMenuSessionComplete
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435e84], eax
cmp dword [0x435e84], 0
jne 0x406fc1
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x4298b8
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_DrawNextFrameIntoBuffer
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435560], eax
cmp dword [0x435560], 0
jne 0x407011
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429848
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_GetNumberOfRectsToUpdate
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435550], eax
cmp dword [0x435550], 0
jne 0x407061
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x4297d8
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_GetUpdateRect
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x436290], eax
cmp dword [0x436290], 0
jne 0x4070b1
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429780
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_HandleWindowsMessage
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x43659c], eax
cmp dword [0x43659c], 0
jne 0x407101
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429718
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_SetPalette
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x43566c], eax
cmp dword [0x43566c], 0
jne 0x407151
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x4296c4
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_GetValueAsString
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435e70], eax
cmp dword [0x435e70], 0
jne 0x4071a1
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429668
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_GetValueAsInt
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435554], eax
cmp dword [0x435554], 0
jne 0x4071f1
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429610
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_GetValueAsFloat
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435558], eax
cmp dword [0x435558], 0
jne 0x407241
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x4295b0
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_IsASystemUpdateRequired
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x43628c], eax
cmp dword [0x43628c], 0
jne 0x407291
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429540
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_GetLastErrorInformation
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x436288], eax
cmp dword [0x436288], 0
jne 0x4072e1
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x4294d0
mov ax, 5
jmp 0x4073b6
mov esi, esp
push str.radll_EnableWindowsMouseCursor
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041de53
mov dword [0x435548], eax
cmp dword [0x435548], 0
jne 0x407331
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov dword [0x4365a4], 0x429460
mov ax, 5
jmp 0x4073b6
cmp dword [0x435e80], 0
jne 0x407359
movsx eax, word [0x42e17c]
add eax, 0xc9
push eax
push str.c:development_reflexivearcade_sdk_developmentlib_ra_apifunctions.cpp
push str.radll_Initialize___NULL
call fcn.0041d823
add esp, 0xc
mov esi, esp
mov eax, dword [0x42e160]
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 [0x435e80]
add esp, 0x18
cmp esi, esp
call fcn.0041de53
mov word [ebp - 0x112], ax
xor eax, eax
mov ax, word [ebp - 0x112]
test eax, eax
je 0x4073af
mov esi, esp
mov eax, dword [0x4365b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041de53
mov ax, word [ebp - 0x112]
pop edi
pop esi
pop ebx
add esp, 0x154
cmp ebp, esp
call fcn.0041de53
mov esp, ebp
pop ebp
ret