Function at 0x10042580
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x1006de68]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x20c], 0
push 0x103
push 0
lea eax, [ebp - 0x20b]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov byte [ebp - 0x310], 0
push 0x103
push 0
lea ecx, [ebp - 0x30f]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov byte [ebp - 0x414], 0
push 0x103
push 0
lea edx, [ebp - 0x413]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov byte [ebp - 0x108], 0
push 0x103
push 0
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [0x1059f35c], 0
je 0x1004261a
mov eax, dword [0x1059f35c]
jmp 0x10042992
mov dword [0x1059f35c], 2
cmp dword [0x1059f360], 0
je 0x10042636
cmp dword [0x1059f364], 0
jne 0x10042651
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0x104
call sym.CIMIO_NO_WRITE.dll_CIMIO_MGMT_GetASPENCOMMONKEYS
add esp, 0xc
cmp dword [0x1059f360], 0
jne 0x100426c8
lea eax, [ebp - 0x20c]
push eax
push str._spfwauth.dll
push 0x104
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x10
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1059f360], eax
cmp dword [0x1059f360], 0
jne 0x100426c8
lea eax, [ebp - 0x464]
push eax
call fcn.1002e7d0
add esp, 4
lea ecx, [ebp - 0x464]
push ecx
push str.CANT_LOAD_pfwauth
push 0x1005e410
call fcn.1002f2b0
add esp, 0xc
mov eax, dword [0x1059f35c]
jmp 0x10042992
cmp dword [0x1059f364], 0
jne 0x1004276f
call sym.CIMIO_NO_WRITE.dll_is64BitApp
test eax, eax
je 0x10042701
lea edx, [ebp - 0x310]
push edx
push 0x1005e414
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x10
jmp 0x10042722
lea ecx, [ebp - 0x20c]
push ecx
push str._scimioauth.dll
push 0x104
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1059f364], eax
cmp dword [0x1059f364], 0
jne 0x1004276f
lea ecx, [ebp - 0x464]
push ecx
call fcn.1002e7d0
add esp, 4
lea edx, [ebp - 0x464]
push edx
push str.CANT_LOAD_cimioauth
push 0x1005e448
call fcn.1002f2b0
add esp, 0xc
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_AddInstance
mov eax, dword [0x1059f364]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f328], eax
cmp dword [0x1059f328], 0
jne 0x10042798
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_RemInstance
mov ecx, dword [0x1059f364]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f32c], eax
cmp dword [0x1059f32c], 0
jne 0x100427c2
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_CreateTmpInstance
mov edx, dword [0x1059f364]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f330], eax
cmp dword [0x1059f330], 0
jne 0x100427ec
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_DeleteTmpInstance
mov eax, dword [0x1059f364]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f334], eax
cmp dword [0x1059f334], 0
jne 0x10042815
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_SetInstance
mov ecx, dword [0x1059f364]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f338], eax
cmp dword [0x1059f338], 0
jne 0x1004283f
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_SetAuthenticationCredential
mov edx, dword [0x1059f364]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f33c], eax
cmp dword [0x1059f33c], 0
jne 0x10042869
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_GetAuthenticatedIdentity
mov eax, dword [0x1059f364]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f340], eax
cmp dword [0x1059f340], 0
jne 0x10042892
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_SocketAuthenticationClient
mov ecx, dword [0x1059f364]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f344], eax
cmp dword [0x1059f344], 0
jne 0x100428bc
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_SocketAuthenticationServer
mov edx, dword [0x1059f364]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f348], eax
cmp dword [0x1059f348], 0
jne 0x100428e6
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_Authenticate
mov eax, dword [0x1059f364]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f34c], eax
cmp dword [0x1059f34c], 0
jne 0x1004290f
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_RevertContext
mov ecx, dword [0x1059f364]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f350], eax
cmp dword [0x1059f350], 0
jne 0x10042936
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_ImpersonateContext
mov edx, dword [0x1059f364]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f354], eax
cmp dword [0x1059f354], 0
jne 0x1004295d
mov eax, dword [0x1059f35c]
jmp 0x10042992
push str.CIMIOAUTH_AuthenticateUser
mov eax, dword [0x1059f364]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1059f358], eax
cmp dword [0x1059f358], 0
jne 0x10042983
mov eax, dword [0x1059f35c]
jmp 0x10042992
mov dword [0x1059f35c], 1
mov eax, dword [0x1059f35c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10059cde
mov esp, ebp
pop ebp
ret