Function at 0x4a2044
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x5c02e0], 0
jne 0x4a2489
mov eax, dword [0x5be81c]
cmp dword [eax], 2
jne 0x4a2489
mov eax, dword [0x5be2b4]
cmp dword [eax], 5
jne 0x4a2076
mov eax, dword [0x5be62c]
cmp dword [eax], 1
jge 0x4a2084
mov eax, dword [0x5be2b4]
cmp dword [eax], 5
jle 0x4a2489
push 0x4a248c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5c02dc], eax
cmp dword [0x5c02dc], 0
je 0x4a2489
push 0x4a2498
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0218], eax
push 0x4a24a8
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c021c], eax
push 0x4a24b8
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0220], eax
push 0x4a24c8
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0224], eax
push 0x4a24d8
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0228], eax
push 0x4a24f4
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c022c], eax
push 0x4a2508
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0230], eax
push 0x4a2518
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0234], eax
push 0x4a2538
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0238], eax
push 0x4a2554
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c023c], eax
push 0x4a2568
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0240], eax
push 0x4a257c
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0244], eax
push 0x4a2590
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0248], eax
push 0x4a25ac
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c024c], eax
push 0x4a25c4
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0250], eax
push 0x4a25d4
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0254], eax
push 0x4a25e4
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0258], eax
push 0x4a25f8
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c025c], eax
push 0x4a2620
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0260], eax
push 0x4a2630
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0264], eax
push 0x4a2640
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0268], eax
push 0x4a2650
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c026c], eax
push 0x4a2660
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0270], eax
push 0x4a266c
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0274], eax
push 0x4a2680
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0294], eax
push 0x4a2694
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0278], eax
push 0x4a26a8
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c027c], eax
push 0x4a26b8
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0280], eax
push 0x4a26c8
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0284], eax
push 0x4a26d8
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0288], eax
push 0x4a26e8
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c028c], eax
push 0x4a2700
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0290], eax
push 0x4a2710
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c0298], eax
push 0x4a2724
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c029c], eax
push 0x4a273c
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02a0], eax
push 0x4a274c
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02a4], eax
push 0x4a275c
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02a8], eax
push 0x4a276c
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02ac], eax
push 0x4a2780
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02b0], eax
push 0x4a2790
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02b4], eax
push 0x4a279c
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02b8], eax
push 0x4a27ac
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02bc], eax
push 0x4a27c8
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02c0], eax
push 0x4a27e4
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02c4], eax
push 0x4a27fc
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02c8], eax
push 0x4a2814
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02d0], eax
push 0x4a2834
mov eax, dword [0x5c02dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5c02cc], eax
mov byte [0x5c02d4], 1
mov byte [0x5c02e0], 1
pop ebp
ret