Function at 0x10002f8a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x10002faa
mov ecx, dword [ebp - 0xc]
call fcn.1000383a
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x320], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x320], 0
jne 0x10002fce
jmp 0x100031e7
push str.MsmConn_getMsVer
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x320]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x328], eax
push str.MsmConn_getProf
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x32c], eax
push 0x1002b144
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x330], eax
push 0x1002b150
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x334], eax
push 0x1002b160
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x338], eax
push 0x1002b170
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x33c], eax
push str.MsmConn_isConn
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x32c], 0
je 0x100030e2
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x330], 0
je 0x100030e2
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x334], 0
je 0x100030e2
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x338], 0
je 0x100030e2
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x33c], 0
je 0x100030e2
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
jne 0x10003104
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x320], 0
jmp 0x100031e7
mov edx, dword [ebp - 0xc]
call dword [edx + 0x330]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 8], 0
je 0x100031dd
push 0
push 0x100
mov eax, dword [ebp + 0x18]
push eax
push 0x100
mov ecx, dword [ebp + 0x14]
push ecx
push 0x100
mov edx, dword [ebp + 0x10]
push edx
push 0x1002b190
mov eax, dword [ebp + 0xc]
push eax
push 0x1002b198
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0xc]
call dword [eax + 0x338]
add esp, 0x2c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100031a3
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0xc]
call dword [eax + 0x334]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x320], 0
jmp 0x100031e7
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], 0x304
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x114
push ecx
call fcn.1001bd70
add esp, 8
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xc]
add eax, 0x14
push eax
call fcn.1001bd70
add esp, 8
mov dword [ebp - 4], 1
xor ecx, ecx
test ecx, ecx
jne 0x10002f9a
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x14