Function at 0xb6974
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0001415c
mov ebx, 0x24f4f0
xor eax, eax
push ebp
push 0xb6da6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov byte [0x255190], 0
cmp dword [ebp - 4], 0
jne 0xb69b7
lea eax, [ebp - 4]
mov edx, 0xb6dc0
call fcn.00013db0
mov eax, dword [0x25518c]
call fcn.000465d8
xor eax, eax
push ebp
push 0xb6d89
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x24f4ec], 0
jne 0xb6d61
mov byte [0x255190], 0
mov byte [0x255191], 0
mov eax, dword [ebp - 4]
call fcn.0001416c
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
je 0xb6d65
push 0xb6dcc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4c4], eax
push 0xb6dd8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f454], eax
push 0xb6de8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f48c], eax
push 0xb6df4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4d0], eax
push 0xb6e00
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f494], eax
push 0xb6e10
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4d4], eax
push 0xb6e1c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f484], eax
push 0xb6e28
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4d8], eax
push 0xb6e30
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4bc], eax
push 0xb6e38
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f490], eax
push 0xb6e40
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4b0], eax
push 0xb6e4c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4e8], eax
push 0xb6e58
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f478], eax
push 0xb6e64
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4e4], eax
push 0xb6e6c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f47c], eax
push 0xb6e74
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4b8], eax
push 0xb6e80
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4a8], eax
push 0xb6e8c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f468], eax
push 0xb6e94
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4b4], eax
push 0xb6e9c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4a0], eax
push 0xb6ea4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4ac], eax
push 0xb6eac
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f45c], eax
push 0xb6eb8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4c8], eax
push 0xb6ec0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4e0], eax
push 0xb6ec8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4cc], eax
push 0xb6ed0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f470], eax
push 0xb6edc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4a4], eax
push 0xb6ee8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f49c], eax
push 0xb6ef0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f488], eax
push 0xb6f00
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f498], eax
push 0xb6f10
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f460], eax
push 0xb6f20
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4dc], eax
push 0xb6f34
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f4c0], eax
push 0xb6f44
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f458], eax
push 0xb6f54
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f474], eax
push 0xb6f60
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f464], eax
push 0xb6f6c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f46c], eax
push 0xb6f7c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f480], eax
cmp dword [0x24f464], 0
je 0xb6cca
cmp dword [0x24f46c], 0
je 0xb6cca
cmp dword [0x24f480], 0
jne 0xb6cce
xor eax, eax
jmp 0xb6cd0
mov al, 1
mov byte [0x255190], al
cmp byte [0x255190], 0
jne 0xb6d5b
push 0xb6f88
call sub.kernel32.dll_LoadLibraryA
mov dword [0x24f4f4], eax
cmp dword [0x24f4f4], 0
je 0xb6d5b
push 0xb6f60
mov eax, dword [0x24f4f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f464], eax
push 0xb6f6c
mov eax, dword [0x24f4f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f46c], eax
push 0xb6f7c
mov eax, dword [0x24f4f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x24f480], eax
cmp dword [0x24f464], 0
je 0xb6d50
cmp dword [0x24f46c], 0
je 0xb6d50
cmp dword [0x24f480], 0
jne 0xb6d54
xor eax, eax
jmp 0xb6d56
mov al, 1
mov byte [0x255191], al
mov byte [ebp - 5], 1
jmp 0xb6d65
mov byte [ebp - 5], 1
cmp byte [ebp - 5], 0
je 0xb6d71
inc dword [0x24f4ec]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb6d90
mov eax, dword [0x25518c]
call fcn.000465e0
ret