Function at 0x4a86ec
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, 0x4dc0b4
cmp byte [0x4dc0b0], 0
jne 0x4a8aa5
mov eax, dword [0x4d4230]
cmp dword [eax], 2
jne 0x4a8aa5
mov eax, dword [0x4d3b54]
cmp dword [eax], 5
jne 0x4a8721
mov eax, dword [0x4d3f9c]
cmp dword [eax], 1
jge 0x4a872f
mov eax, dword [0x4d3b54]
cmp dword [eax], 5
jle 0x4a8aa5
mov edx, 0x8000
mov eax, 0x4a8ab0
call fcn.0040fea4
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x4a8aa5
push 0x4a8abc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dbfec], eax
push 0x4a8acc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dbff0], eax
push 0x4a8adc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dbff4], eax
push 0x4a8aec
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dbff8], eax
push 0x4a8afc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dbffc], eax
push 0x4a8b18
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc000], eax
push 0x4a8b2c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc004], eax
push 0x4a8b3c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc008], eax
push 0x4a8b5c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc00c], eax
push 0x4a8b78
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc010], eax
push 0x4a8b8c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc014], eax
push 0x4a8ba0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc018], eax
push 0x4a8bb4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc01c], eax
push 0x4a8bd0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc020], eax
push 0x4a8be8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc024], eax
push 0x4a8bf8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc028], eax
push 0x4a8c08
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc02c], eax
push 0x4a8c1c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc030], eax
push 0x4a8c44
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc034], eax
push 0x4a8c54
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc038], eax
push 0x4a8c64
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc03c], eax
push 0x4a8c74
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc040], eax
push 0x4a8c84
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc044], eax
push 0x4a8c90
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc048], eax
push 0x4a8ca4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc068], eax
push 0x4a8cb8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc04c], eax
push 0x4a8ccc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc050], eax
push 0x4a8cdc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc054], eax
push 0x4a8cec
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc058], eax
push 0x4a8cfc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc05c], eax
push 0x4a8d0c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc060], eax
push 0x4a8d24
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc064], eax
push 0x4a8d34
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc06c], eax
push 0x4a8d48
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc070], eax
push 0x4a8d60
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc074], eax
push 0x4a8d70
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc078], eax
push 0x4a8d80
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc07c], eax
push 0x4a8d90
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc080], eax
push 0x4a8da4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc084], eax
push 0x4a8db4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc088], eax
push 0x4a8dc0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc08c], eax
push 0x4a8dd0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc090], eax
push 0x4a8dec
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc094], eax
push 0x4a8e08
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc098], eax
push 0x4a8e20
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc09c], eax
push 0x4a8e38
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc0a4], eax
push 0x4a8e58
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dc0a0], eax
mov byte [0x4dbfe8], 1
mov byte [0x4dc0b0], 1
pop ebx
ret