Function at 0x100027a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100424e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [esp + 0x88]
lea eax, [esp + 0x10]
push eax
push 0x100444d0
lea ecx, [esi + 0x3e8]
push 1
lea edx, [esi + 0x258]
push ecx
push edx
push esi
call sub.ACTIVEDS.dll_ADsOpenObject
test eax, eax
jne 0x10002b14
mov eax, dword [esi + 0x4b0]
lea edx, [esp + 0x50]
and al, 1
mov dword [esp + 0x50], 5
dec al
mov dword [esp + 0x58], 7
neg al
sbb eax, eax
push 1
add eax, 2
push edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jne 0x10002b30
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x34]
push 3
mov dword [esp + 0x38], str.ADsPath
mov dword [esp + 0x3c], str.Name
mov dword [esp + 0x40], str.objectGUID
mov ecx, dword [eax]
push edx
push str._objectClassorganizationalunit_
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jne 0x10002b1e
mov ebp, dword [esp + 0x90]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
mov dword [ebp], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, 0x5012
je 0x100028b6
mov edi, dword [ebp]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc edi
mov dword [ebp], edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, 0x5012
jne 0x10002899
mov esi, dword [ebp]
cmp esi, ebx
je 0x10002b28
lea eax, [esi + esi*4]
lea ecx, [eax*4 + 4]
push ecx
call fcn.1003ba7d
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov dword [esp + 0x80], ebx
je 0x100028fd
push 0x10002b50
push 0x100059b0
lea edi, [eax + 4]
push esi
push 0x14
push edi
mov dword [eax], esi
call fcn.10020c08
jmp 0x100028ff
xor edi, edi
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
mov dword [edx], edi
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
cmp eax, 0x5012
je 0x10002af9
jmp 0x10002936
mov ebp, dword [esp + 0x90]
cmp eax, 0x80004001
je 0x10002af9
mov eax, dword [esp + 0x8c]
mov edi, ebx
add ebx, 0x14
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
add edi, ecx
mov ecx, dword [ebp]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jg 0x10002af1
lea esi, [esp + 0x30]
mov ebp, 3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esi]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x1c]
push edx
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x10002ab3
mov eax, dword [esp + 0x40]
cmp eax, 3
je 0x10002a0b
cmp eax, 8
jne 0x10002aa2
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push eax
call fcn.1003bdde
mov ecx, dword [esp + 0x2c]
push 0x100501f0
push ecx
mov dword [esp + 0x88], 3
call fcn.10029e00
add esp, 8
test eax, eax
jne 0x100029f7
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x28]
push edx
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
mov edx, dword [esp + 0x28]
lea ecx, [edi + 4]
push edx
call fcn.1003bea7
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeA]
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x2c]
jmp 0x10002a9d
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x20]
push edx
call fcn.1003bdde
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x84], 1
call fcn.1003bdde
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x80], 2
push ecx
push 0x100501e8
call fcn.10029e00
add esp, 8
test eax, eax
jne 0x10002a5a
lea edx, [esp + 0x20]
mov ecx, edi
push edx
jmp 0x10002a78
mov eax, dword [esp + 0x1c]
push eax
push 0x100501e0
call fcn.10029e00
add esp, 8
test eax, eax
jne 0x10002a7d
lea ecx, [esp + 0x20]
push ecx
lea ecx, [edi + 8]
call fcn.1003be57
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 1
call fcn.1003bd1e
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.1003bd1e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
jmp 0x10002abb
mov dword [esp + 0x18], 0xfffffffe
add esi, 4
dec ebp
jne 0x1000296e
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 0x4b4]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
cmp eax, 0x5012
jne 0x1000292f
jmp 0x10002af9
mov dword [esp + 0x18], 0xfffffff9
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x10002b30
mov dword [esp + 0x18], 0xffffffff
jmp 0x10002b30
mov dword [esp + 0x18], 0xfffffffd
jmp 0x10002b30
mov dword [esp + 0x18], 0xfffffffa
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret