Function at 0x407920
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push ebx
push esi
push edi
lea edi, [ebp - 0x158]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [0x438c55], 1
push 0x438b40
lea eax, [ebp - 0x104]
push eax
call fcn.00417cd0
add esp, 8
push str.ReflexiveArcade.dll
lea eax, [ebp - 0x104]
push eax
call fcn.00417ce0
add esp, 8
mov esi, esp
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c50], eax
cmp dword [0x438c50], 0
jne 0x407a21
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.00418ecd
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
cmp esi, esp
call fcn.00418ecd
mov esi, esp
mov eax, dword [ebp - 0x108]
push eax
push 0x438b40
push str.ReflexiveArcade.dll
push str.The__s_file_could_not_be_loaded._If_could_be_corrupted_or_in_the_wrong_location._nThe_correct_location_is_in_the___s__subfolder_in_the_same_folder_as_the_applications_exe._n_nWin32_Error:__s
push 0x437bf8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp esi, esp
call fcn.00418ecd
mov esi, esp
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x437bf8
mov ax, 3
jmp 0x4081a1
lea eax, [ebp - 0x104]
push eax
call fcn.004074c0
add esp, 4
and eax, 0xff
test eax, eax
jne 0x407a61
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42ac68
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_GetDLLVersionAsString
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438b30], eax
cmp dword [0x438b30], 0
jne 0x407ab1
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42ac00
mov ax, 5
jmp 0x4081a1
mov esi, esp
call dword [0x438b30]
cmp esi, esp
call fcn.00418ecd
mov dword [ebp - 0x10c], eax
mov esi, esp
push str.radll_GetDLLVersionAsInt
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438404], eax
cmp dword [0x438404], 0
jne 0x407b16
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42ab98
mov ax, 5
jmp 0x4081a1
mov esi, esp
call dword [0x438404]
cmp esi, esp
call fcn.00418ecd
mov dword [ebp - 0x110], eax
mov esi, esp
push str.unittest_GetBrandedApplicationID
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x407b7c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42ab5c
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_Initialize
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438408], eax
cmp dword [0x438408], 0
jne 0x407bcc
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42ab08
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_ShutDown
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x437bec], eax
cmp dword [0x437bec], 0
jne 0x407c1c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42aabc
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_HasTheProductBeenPurchased
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x4383fc], eax
cmp dword [0x4383fc], 0
jne 0x407c6c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42aa48
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_EnterMenuSession
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438400], eax
cmp dword [0x438400], 0
jne 0x407cbc
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a9e8
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_IsTheMenuSessionComplete
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x43840c], eax
cmp dword [0x43840c], 0
jne 0x407d0c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a978
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_DrawNextFrameIntoBuffer
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x437be8], eax
cmp dword [0x437be8], 0
jne 0x407d5c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a908
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_GetNumberOfRectsToUpdate
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x437bd8], eax
cmp dword [0x437bd8], 0
jne 0x407dac
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a898
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_GetUpdateRect
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438824], eax
cmp dword [0x438824], 0
jne 0x407dfc
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a840
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_HandleWindowsMessage
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438b34], eax
cmp dword [0x438b34], 0
jne 0x407e4c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a7d8
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_SetPalette
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x437bf0], eax
cmp dword [0x437bf0], 0
jne 0x407e9c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a784
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_GetValueAsString
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x4383f8], eax
cmp dword [0x4383f8], 0
jne 0x407eec
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a728
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_GetValueAsInt
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x437bdc], eax
cmp dword [0x437bdc], 0
jne 0x407f3c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a6d0
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_GetValueAsFloat
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x437be0], eax
cmp dword [0x437be0], 0
jne 0x407f8c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a670
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_IsASystemUpdateRequired
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438820], eax
cmp dword [0x438820], 0
jne 0x407fdc
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a600
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_GetLastErrorInformation
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x43881c], eax
cmp dword [0x43881c], 0
jne 0x40802c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a590
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_EnableWindowsMouseCursor
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x437bd0], eax
cmp dword [0x437bd0], 0
jne 0x40807c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a520
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_GetUnlockCode
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438818], eax
cmp dword [0x438818], 0
jne 0x4080cc
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a4c8
mov ax, 5
jmp 0x4081a1
mov esi, esp
push str.radll_SetTrackingMetadata
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438410], eax
cmp dword [0x438410], 0
jne 0x40811c
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov dword [0x438c44], 0x42a460
mov ax, 5
jmp 0x4081a1
cmp dword [0x438408], 0
jne 0x408144
movsx eax, word [0x42f9ec]
add eax, 0xe3
push eax
push str.c:code_reflexivearcade_sdk_developmentlib_ra_apifunctions.cpp
push str.radll_Initialize___NULL
call fcn.00418890
add esp, 0xc
mov esi, esp
mov eax, dword [0x42f9c0]
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 [0x438408]
add esp, 0x18
cmp esi, esp
call fcn.00418ecd
mov word [ebp - 0x116], ax
xor eax, eax
mov ax, word [ebp - 0x116]
test eax, eax
je 0x40819a
mov esi, esp
mov eax, dword [0x438c50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00418ecd
mov ax, word [ebp - 0x116]
pop edi
pop esi
pop ebx
add esp, 0x158
cmp ebp, esp
call fcn.00418ecd
mov esp, ebp
pop ebp
ret