Function at 0x405980
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x104
mov byte [0x415bf5], 1
xor eax, eax
mov cl, byte [eax + 0x4153a8]
mov byte [esp + eax], cl
inc eax
test cl, cl
jne 0x40598f
push ebx
push esi
push edi
mov edi, str.ReflexiveArcade.dll
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x415bf0], eax
jne 0x4059fb
pop edi
pop esi
mov dword [0x415be4], 0x411a90
mov ax, 3
pop ebx
add esp, 0x104
ret
lea ecx, [esp + 0xc]
push ecx
call fcn.00405380
add esp, 4
test al, al
jne 0x405a31
mov edx, dword [0x415bf0]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411a30
mov ax, 5
pop ebx
add esp, 0x104
ret
mov eax, dword [0x415bf0]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.radll_GetDLLVersionAsString
push eax
call esi
test eax, eax
mov dword [0x415bd8], eax
jne 0x405a72
mov ecx, dword [0x415bf0]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x4119c8
mov ax, 5
pop ebx
add esp, 0x104
ret
call eax
mov edx, dword [0x415bf0]
push str.radll_GetDLLVersionAsInt
push edx
call esi
test eax, eax
mov dword [0x4154bc], eax
jne 0x405aaf
mov eax, dword [0x415bf0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411960
mov ax, 5
pop ebx
add esp, 0x104
ret
call eax
mov ecx, dword [0x415bf0]
push str.radll_Initialize
push ecx
call esi
test eax, eax
mov dword [0x4154c0], eax
jne 0x405aed
mov edx, dword [0x415bf0]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411908
mov ax, 5
pop ebx
add esp, 0x104
ret
mov eax, dword [0x415bf0]
push str.radll_ShutDown
push eax
call esi
test eax, eax
mov dword [0x4153a0], eax
jne 0x405b28
mov ecx, dword [0x415bf0]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x4118bc
mov ax, 5
pop ebx
add esp, 0x104
ret
mov edx, dword [0x415bf0]
push str.radll_HasTheProductBeenPurchased
push edx
call esi
test eax, eax
mov dword [0x4154b4], eax
jne 0x405b63
mov eax, dword [0x415bf0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411848
mov ax, 5
pop ebx
add esp, 0x104
ret
mov ecx, dword [0x415bf0]
push str.radll_EnterMenuSession
push ecx
call esi
test eax, eax
mov dword [0x4154b8], eax
jne 0x405b9f
mov edx, dword [0x415bf0]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x4117e8
mov ax, 5
pop ebx
add esp, 0x104
ret
mov eax, dword [0x415bf0]
push str.radll_IsTheMenuSessionComplete
push eax
call esi
test eax, eax
mov dword [0x4154c4], eax
jne 0x405bda
mov ecx, dword [0x415bf0]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411778
mov ax, 5
pop ebx
add esp, 0x104
ret
mov edx, dword [0x415bf0]
push str.radll_DrawNextFrameIntoBuffer
push edx
call esi
test eax, eax
mov dword [0x41539c], eax
jne 0x405c15
mov eax, dword [0x415bf0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411708
mov ax, 5
pop ebx
add esp, 0x104
ret
mov ecx, dword [0x415bf0]
push str.radll_GetNumberOfRectsToUpdate
push ecx
call esi
test eax, eax
mov dword [0x41538c], eax
jne 0x405c51
mov edx, dword [0x415bf0]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411698
mov ax, 5
pop ebx
add esp, 0x104
ret
mov eax, dword [0x415bf0]
push str.radll_GetUpdateRect
push eax
call esi
test eax, eax
mov dword [0x4158d0], eax
jne 0x405c8c
mov ecx, dword [0x415bf0]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411640
mov ax, 5
pop ebx
add esp, 0x104
ret
mov edx, dword [0x415bf0]
push str.radll_HandleWindowsMessage
push edx
call esi
test eax, eax
mov dword [0x415bdc], eax
jne 0x405cc7
mov eax, dword [0x415bf0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x4115d8
mov ax, 5
pop ebx
add esp, 0x104
ret
mov ecx, dword [0x415bf0]
push str.radll_SetPalette
push ecx
call esi
test eax, eax
mov dword [0x4154ac], eax
jne 0x405d03
mov edx, dword [0x415bf0]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411584
mov ax, 5
pop ebx
add esp, 0x104
ret
mov eax, dword [0x415bf0]
push str.radll_GetValueAsString
push eax
call esi
test eax, eax
mov dword [0x4154b0], eax
jne 0x405d3e
mov ecx, dword [0x415bf0]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411528
mov ax, 5
pop ebx
add esp, 0x104
ret
mov edx, dword [0x415bf0]
push str.radll_GetValueAsInt
push edx
call esi
test eax, eax
mov dword [0x415390], eax
jne 0x405d79
mov eax, dword [0x415bf0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x4114d0
mov ax, 5
pop ebx
add esp, 0x104
ret
mov ecx, dword [0x415bf0]
push str.radll_GetValueAsFloat
push ecx
call esi
test eax, eax
mov dword [0x415394], eax
jne 0x405db5
mov edx, dword [0x415bf0]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411470
mov ax, 5
pop ebx
add esp, 0x104
ret
mov eax, dword [0x415bf0]
push str.radll_IsASystemUpdateRequired
push eax
call esi
test eax, eax
mov dword [0x4158cc], eax
jne 0x405df0
mov ecx, dword [0x415bf0]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411400
mov ax, 5
pop ebx
add esp, 0x104
ret
mov edx, dword [0x415bf0]
push str.radll_GetLastErrorInformation
push edx
call esi
test eax, eax
mov dword [0x4158c8], eax
jne 0x405e2b
mov eax, dword [0x415bf0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x415be4], 0x411390
mov ax, 5
pop ebx
add esp, 0x104
ret
mov ecx, dword [0x4112b8]
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push ecx
mov ecx, dword [esp + 0x120]
push edx
mov edx, dword [esp + 0x120]
push eax
mov eax, dword [esp + 0x120]
push ecx
push edx
push eax
call dword [0x4154c0]
mov esi, eax
add esp, 0x18
test si, si
je 0x405e77
mov ecx, dword [0x415bf0]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ax, si
pop edi
pop esi
pop ebx
add esp, 0x104
ret