Function at 0x10008250
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1002a850
push 0x1000e420
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1002d00c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x30], edx
mov ebx, ecx
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0
xor edi, edi
mov dword [ebp - 0x2c], edi
push 0x10029150
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x28], eax
push 0x10029270
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x44], eax
push 0x10029280
push dword [ebp - 0x28]
call esi
mov dword [ebp - 0x40], eax
push 0x10029290
push dword [ebp - 0x28]
call esi
mov dword [ebp - 0x48], eax
push 0x100292a0
push dword [ebp - 0x28]
call esi
mov dword [ebp - 0x4c], eax
push 0x10029228
push dword [ebp - 0x28]
call esi
mov dword [ebp - 0x38], eax
push 0x10029258
push dword [ebp - 0x28]
call esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x18]
cmp eax, 3
ja case.0x10008371.3
jmp dword [eax*4 + 0x10008458]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov esi, dword [ebp - 0x30]
push esi
push ebx
call dword [ebp - 0x44]
test eax, eax
jne case.0x10008371.3
jmp 0x10008343
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push 0
push esi
push ebx
call dword [ebp - 0x38]
test eax, eax
jne case.0x10008371.3
mov esi, dword [ebp + 0xc]
lea eax, [esi - 1]
cmp eax, 6
ja case.0x10008371.3
movzx eax, byte [eax + 0x10008474]
jmp dword [eax*4 + 0x10008468]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp - 0x3c]
push esi
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x24]
call dword [ebp - 0x40]
test eax, eax
jne case.0x10008371.3
lea edi, [eax + 1]
jmp 0x10008409
push 4
lea eax, [ebp + 0x14]
push eax
push esi
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x24]
call dword [ebp - 0x40]
test eax, eax
jne case.0x10008371.3
lea edi, [eax + 1]
jmp 0x10008409
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push 0
mov esi, dword [ebp - 0x30]
push esi
push ebx
call dword [ebp - 0x38]
test eax, eax
jne case.0x10008371.3
push dword [ebp - 0x34]
push dword [ebp - 0x24]
call dword [ebp - 0x48]
test eax, eax
jne case.0x10008371.3
lea edi, [eax + 1]
jmp 0x10008409
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push 0
mov esi, dword [ebp - 0x30]
push esi
push ebx
call dword [ebp - 0x38]
test eax, eax
jne case.0x10008371.3
push dword [ebp - 0x34]
push dword [ebp - 0x24]
call dword [ebp - 0x4c]
mov ecx, 1
test eax, eax
cmove edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.1000844a
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10008426
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000c111
mov esp, ebp
pop ebp
ret