Function at 0x47af50
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d8
mov eax, dword [0x5d60c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x3a8], edx
push 0x100
xor edi, edi
mov dword [ebp - 0x3a4], ecx
xor esi, esi
mov dword [ebp - 0x3b8], 0
push eax
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 0x3ac], edi
mov dword [ebp - 0x3b0], esi
call fcn.0053193e
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
push str.netapi32.dll
call ebx
test eax, eax
jne 0x47afec
push str.radmin32.dll
call ebx
test eax, eax
je 0x47bd94
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push eax
call ebx
push 0x90
lea eax, [ebp - 0x39c]
push 0
push eax
call fcn.0052d9b0
add esp, 0xc
mov dword [ebp - 0x3a0], 0x94
lea eax, [ebp - 0x3a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x47bd94
cmp dword [ebp - 0x390], 2
jne 0x47b05b
mov eax, dword [ebp - 0x39c]
cmp eax, 4
jne 0x47b04a
mov dword [ebp - 0x3ac], 1
jmp 0x47b05b
cmp eax, 5
mov ecx, 1
cmovae esi, ecx
mov dword [ebp - 0x3b0], esi
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x47b0a8
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0052cf50
add esp, 8
test eax, eax
je 0x47bd94
push str._authadmin.dll
mov byte [eax], 0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00531998
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x108]
push eax
call esi
mov dword [ebp - 0x3c8], eax
test eax, eax
je 0x47b0d3
push str.CUGP
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3b8], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x47b120
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0052cf50
add esp, 8
test eax, eax
je 0x47bd94
push str.workgrpdomnt4.dll
mov byte [eax], 0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00531998
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call esi
mov dword [ebp - 0x3cc], eax
test eax, eax
je 0x47b145
push str.CUGP
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3b4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x47b192
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0052cf50
add esp, 8
test eax, eax
je 0x47bd94
push str.ldapauth.dll
mov byte [eax], 0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00531998
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call esi
mov dword [ebp - 0x3d0], eax
test eax, eax
je 0x47b1b7
push str.CUGP
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3bc], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x47b204
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0052cf50
add esp, 8
test eax, eax
je 0x47bd94
push str.ldapauthnt4.dll
mov byte [eax], 0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00531998
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call esi
mov dword [ebp - 0x3d4], eax
test eax, eax
je 0x47b229
push str.CUGP
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c0], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x47b276
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0052cf50
add esp, 8
test eax, eax
je 0x47bd94
push str.ldapauth9x.dll
mov byte [eax], 0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00531998
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call esi
mov dword [ebp - 0x3d8], eax
test eax, eax
je 0x47b29b
push str.CUGP
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c4], eax
mov ecx, dword [0x5e44e8]
mov edx, 0x5b9638
add ecx, 0xe69
nop dword [eax]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x47b2d0
test al, al
je 0x47b2cc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x47b2d0
add ecx, 2
add edx, 2
test al, al
jne 0x47b2b0
xor eax, eax
jmp 0x47b2d5
sbb eax, eax
or eax, 1
mov esi, dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x47b3c7
mov eax, dword [0x5e44e8]
mov ecx, 0x5b9638
add eax, 0xeff
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47b312
test dl, dl
je 0x47b30e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47b312
add eax, 2
add ecx, 2
test dl, dl
jne 0x47b2f2
xor eax, eax
jmp 0x47b317
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47b3c7
mov eax, dword [0x5e44e8]
mov ecx, 0x5b9638
add eax, 0xf95
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47b350
test dl, dl
je 0x47b34c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47b350
add eax, 2
add ecx, 2
test dl, dl
jne 0x47b330
xor eax, eax
jmp 0x47b355
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47b3c7
cmp dword [ebp - 0x3ac], edi
jne 0x47b369
cmp dword [ebp - 0x3b0], edi
je 0x47b3c7
mov edi, dword [ebp - 0x3b8]
push 0
test edi, edi
je 0x47b3b3
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x102c]
add eax, 0xe69
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47b892
jmp 0x47b3c7
push 0x5e2828
mov edx, str.authadmin.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
mov eax, dword [0x5e44e8]
mov ecx, 0x5b9638
add eax, 0xe69
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47b3f6
test dl, dl
je 0x47b3f2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47b3f6
add eax, 2
add ecx, 2
test dl, dl
jne 0x47b3d6
xor eax, eax
jmp 0x47b3fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x47b5cc
mov edi, dword [ebp - 0x3b4]
push 0
test edi, edi
je 0x47b44d
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x102c]
add eax, 0xe69
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47b892
jmp 0x47b461
push 0x5e2828
mov edx, str.workgrpdomnt4.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
call fcn.0047aef0
test al, al
je 0x47b4d4
cmp dword [ebp - 0x3b0], 0
je 0x47b4cb
mov eax, dword [0x5e44e8]
mov eax, dword [eax + 0x102c]
cmp eax, 2
je 0x47b488
cmp eax, 3
jne 0x47b4cb
mov edi, dword [ebp - 0x3bc]
push 0
test edi, edi
je 0x47b600
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x102c]
add eax, 0xe69
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47b892
call fcn.0047aef0
test al, al
je 0x47b550
cmp dword [ebp - 0x3ac], 0
je 0x47b547
call fcn.0047af10
test al, al
je 0x47b547
mov eax, dword [0x5e44e8]
mov eax, dword [eax + 0x102c]
cmp eax, 2
je 0x47b504
cmp eax, 3
jne 0x47b547
mov edi, dword [ebp - 0x3c0]
push 0
test edi, edi
je 0x47b619
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x102c]
add eax, 0xe69
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47b892
call fcn.0047aef0
test al, al
je 0x47b5cc
cmp dword [ebp - 0x3ac], 0
jne 0x47b5c3
cmp dword [ebp - 0x3b0], 0
jne 0x47b5c3
mov eax, dword [0x5e44e8]
mov eax, dword [eax + 0x102c]
cmp eax, 2
je 0x47b580
cmp eax, 3
jne 0x47b5c3
mov edi, dword [ebp - 0x3c4]
push 0
test edi, edi
je 0x47b632
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x102c]
add eax, 0xe69
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47b892
mov eax, dword [0x5e44e8]
mov ecx, 0x5b9638
add eax, 0xeff
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47b648
test dl, dl
je 0x47b5fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47b648
add eax, 2
add ecx, 2
test dl, dl
jne 0x47b5e0
xor eax, eax
jmp 0x47b64d
push 0x5e2828
mov edx, str.ldapauth.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
jmp 0x47b4d4
push 0x5e2828
mov edx, str.ldapauthnt4.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
jmp 0x47b550
push 0x5e2828
mov edx, str.ldapauth9x.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
jmp 0x47b5cc
sbb eax, eax
or eax, 1
test eax, eax
je 0x47b9a3
mov edi, dword [ebp - 0x3b4]
push 0
test edi, edi
je 0x47b69f
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x1030]
add eax, 0xeff
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47b892
jmp 0x47b6b3
push 0x5e2828
mov edx, str.workgrpdomnt4.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
cmp dword [ebp - 0x3ac], 0
jne 0x47b6c5
cmp dword [ebp - 0x3b0], 0
je 0x47b704
mov edi, dword [ebp - 0x3b8]
push 0
test edi, edi
je 0x47b70f
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x1030]
add eax, 0xeff
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47b892
jmp 0x47b723
push 0x5e2828
mov edx, str.authadmin.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
call fcn.0047aef0
test al, al
je 0x47b796
cmp dword [ebp - 0x3b0], 0
je 0x47b78d
mov eax, dword [0x5e44e8]
mov eax, dword [eax + 0x1030]
cmp eax, 2
je 0x47b74a
cmp eax, 3
jne 0x47b78d
mov edi, dword [ebp - 0x3bc]
push 0
test edi, edi
je 0x47b95d
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x1030]
add eax, 0xeff
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47b892
call fcn.0047aef0
test al, al
je 0x47b812
cmp dword [ebp - 0x3ac], 0
je 0x47b809
call fcn.0047af10
test al, al
je 0x47b809
mov eax, dword [0x5e44e8]
mov eax, dword [eax + 0x1030]
cmp eax, 2
je 0x47b7c6
cmp eax, 3
jne 0x47b809
mov edi, dword [ebp - 0x3c0]
push 0
test edi, edi
je 0x47b976
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x1030]
add eax, 0xeff
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47b892
call fcn.0047aef0
test al, al
je 0x47b9a3
cmp dword [ebp - 0x3ac], 0
jne 0x47b889
cmp dword [ebp - 0x3b0], 0
jne 0x47b889
mov eax, dword [0x5e44e8]
mov eax, dword [eax + 0x1030]
cmp eax, 2
je 0x47b846
cmp eax, 3
jne 0x47b889
mov edi, dword [ebp - 0x3c4]
push 0
test edi, edi
je 0x47b98f
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x1030]
add eax, 0xeff
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
jne 0x47b9a3
push 0x104
lea eax, [ebp - 0x30c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x47b8d4
lea eax, [ebp - 0x30c]
push 0x5c
push eax
call fcn.0052cf50
push str.logging.dll
push 0x104
mov byte [eax], 0
lea eax, [ebp - 0x30c]
push eax
call fcn.00531998
add esp, 0x14
lea eax, [ebp - 0x30c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
mov esi, eax
test esi, esi
je 0x47b909
push str.LOGLOGONUSER
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x3a4]
lea ecx, [ebp - 0x208]
push ecx
call eax
add esp, 8
push esi
call ebx
mov eax, dword [ebp - 0x3c8]
test eax, eax
je 0x47b916
push eax
call ebx
mov eax, dword [ebp - 0x3cc]
test eax, eax
je 0x47b923
push eax
call ebx
mov eax, dword [ebp - 0x3d0]
test eax, eax
je 0x47b930
push eax
call ebx
mov eax, dword [ebp - 0x3d4]
test eax, eax
je 0x47b93d
push eax
call ebx
mov eax, dword [ebp - 0x3d8]
test eax, eax
je 0x47b94a
push eax
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b789
mov esp, ebp
pop ebp
ret
push 0x5e2828
mov edx, str.ldapauth.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
jmp 0x47b796
push 0x5e2828
mov edx, str.ldapauthnt4.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
jmp 0x47b812
push 0x5e2828
mov edx, str.ldapauth9x.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
mov eax, dword [0x5e44e8]
mov ecx, 0x5b9638
add eax, 0xf95
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47b9d2
test dl, dl
je 0x47b9ce
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47b9d2
add eax, 2
add ecx, 2
test dl, dl
jne 0x47b9b2
xor eax, eax
jmp 0x47b9d7
sbb eax, eax
or eax, 1
test eax, eax
je 0x47bd30
mov edi, dword [ebp - 0x3b4]
push 0
test edi, edi
je 0x47ba29
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x1034]
add eax, 0xf95
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47bc1c
jmp 0x47ba3d
push 0x5e2828
mov edx, str.workgrpdomnt4.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
cmp dword [ebp - 0x3ac], 0
jne 0x47ba4f
cmp dword [ebp - 0x3b0], 0
je 0x47ba8e
mov edi, dword [ebp - 0x3b8]
push 0
test edi, edi
je 0x47ba99
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x1034]
add eax, 0xf95
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47bc1c
jmp 0x47baad
push 0x5e2828
mov edx, str.authadmin.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
call fcn.0047aef0
test al, al
je 0x47bb20
cmp dword [ebp - 0x3b0], 0
je 0x47bb17
mov eax, dword [0x5e44e8]
mov eax, dword [eax + 0x1034]
cmp eax, 2
je 0x47bad4
cmp eax, 3
jne 0x47bb17
mov edi, dword [ebp - 0x3bc]
push 0
test edi, edi
je 0x47bcea
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x1034]
add eax, 0xf95
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47bc1c
call fcn.0047aef0
test al, al
je 0x47bb9c
cmp dword [ebp - 0x3ac], 0
je 0x47bb93
call fcn.0047af10
test al, al
je 0x47bb93
mov eax, dword [0x5e44e8]
mov eax, dword [eax + 0x1034]
cmp eax, 2
je 0x47bb50
cmp eax, 3
jne 0x47bb93
mov edi, dword [ebp - 0x3c0]
push 0
test edi, edi
je 0x47bd03
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x1034]
add eax, 0xf95
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
je 0x47bc1c
call fcn.0047aef0
test al, al
je 0x47bd30
cmp dword [ebp - 0x3ac], 0
jne 0x47bc13
cmp dword [ebp - 0x3b0], 0
jne 0x47bc13
mov eax, dword [0x5e44e8]
mov eax, dword [eax + 0x1034]
cmp eax, 2
je 0x47bbd0
cmp eax, 3
jne 0x47bc13
mov edi, dword [ebp - 0x3c4]
push 0
test edi, edi
je 0x47bd1c
call esi
mov eax, dword [0x5e44e8]
push dword [eax + 0x1034]
add eax, 0xf95
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x3a8]
push dword [ebp - 0x3a4]
call edi
add esp, 0x14
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, 1
jne 0x47bd30
push 0x104
lea eax, [ebp - 0x30c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x47bc5e
lea eax, [ebp - 0x30c]
push 0x5c
push eax
call fcn.0052cf50
push str.logging.dll
push 0x104
mov byte [eax], 0
lea eax, [ebp - 0x30c]
push eax
call fcn.00531998
add esp, 0x14
lea eax, [ebp - 0x30c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
mov esi, eax
test esi, esi
je 0x47bc93
push str.LOGLOGONUSER
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x3a4]
lea ecx, [ebp - 0x208]
push ecx
call eax
add esp, 8
push esi
call ebx
mov eax, dword [ebp - 0x3c8]
test eax, eax
je 0x47bca0
push eax
call ebx
mov eax, dword [ebp - 0x3cc]
test eax, eax
je 0x47bcad
push eax
call ebx
mov eax, dword [ebp - 0x3d0]
test eax, eax
je 0x47bcba
push eax
call ebx
mov eax, dword [ebp - 0x3d4]
test eax, eax
je 0x47bcc7
push eax
call ebx
mov eax, dword [ebp - 0x3d8]
test eax, eax
je 0x47bcd4
push eax
call ebx
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b789
mov esp, ebp
pop ebp
ret
push 0x5e2828
mov edx, str.ldapauth.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
jmp 0x47bb20
push 0x5e2828
mov edx, str.ldapauthnt4.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
jmp 0x47bb9c
push 0x5e2828
mov edx, str.ldapauth9x.dll_not_found
call fcn.00425890
add esp, 8
xor edi, edi
push 0x104
lea eax, [ebp - 0x30c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x47bd72
lea eax, [ebp - 0x30c]
push 0x5c
push eax
call fcn.0052cf50
push str.logging.dll
push 0x104
mov byte [eax], 0
lea eax, [ebp - 0x30c]
push eax
call fcn.00531998
add esp, 0x14
lea eax, [ebp - 0x30c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
mov esi, eax
test esi, esi
je 0x47b909
push str.LOGFAILEDUSER
jmp 0x47b8ed
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b789
mov esp, ebp
pop ebp
ret