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

Disassembly:
sub esp, 0x5b8
mov eax, dword [0x4ba700]
xor eax, esp
mov dword [esp + 0x5b4], eax
mov eax, dword [esp + 0x5bc]
push ebx
push esi
mov dword [esp + 0xc], ecx
push edi
xor edi, edi
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
sub ecx, eax
mov ebx, 1
mov dl, byte [eax]
mov byte [ecx + eax], dl
add eax, ebx
test dl, dl
jne 0x441c32
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.netapi32.dll
call esi
cmp eax, edi
jne 0x441c73
push str.radmin32.dll
call esi
cmp eax, edi
jne 0x441c73
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5b4]
xor ecx, esp
call fcn.0047c3ff
add esp, 0x5b8
ret
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x441c59
cmp dword [esp + 0x38], 2
jne 0x441cb0
mov eax, dword [esp + 0x2c]
cmp eax, 4
jne 0x441ca7
mov dword [esp + 0x1c], ebx
jmp 0x441cb0
cmp eax, 5
jb 0x441cb0
mov dword [esp + 0x18], ebx
push ebp
call fcn.00441340
mov esi, eax
call fcn.00441480
mov edi, eax
call fcn.004415c0
mov ebx, eax
call fcn.00441660
mov ebp, eax
call fcn.004417a0
mov dword [esp + 0x28], eax
call fcn.004418e0
mov ecx, dword [str.VNCACCESS]
mov edx, dword [0x4b0098]
mov dword [esp + 0x24], eax
mov ax, word [0x4b009c]
mov dword [esp + 0x4c4], ecx
mov ecx, dword [str.Administrators]
mov dword [esp + 0x4c8], edx
mov edx, dword [0x4b00a4]
mov word [esp + 0x4cc], ax
mov eax, dword [0x4b00a8]
mov dword [esp + 0x2c4], ecx
mov cx, word [0x4b00ac]
mov dword [esp + 0x2c8], edx
mov dl, byte [0x4b00ae]
mov dword [esp + 0x2cc], eax
mov eax, dword [str.VNCVIEWONLY]
mov word [esp + 0x2d0], cx
mov ecx, dword [0x4b00b4]
mov byte [esp + 0x2d2], dl
mov edx, dword [0x4b00b8]
mov dword [esp + 0x3c4], eax
mov dword [esp + 0x3c8], ecx
mov dword [esp + 0x3cc], edx
test esi, esi
je 0x441d8a
lea edx, [esp + 0x4c4]
mov eax, esi
sub edx, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x441d80
test edi, edi
je 0x441daa
lea edx, [esp + 0x2c4]
mov eax, edi
sub edx, edi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x441da0
test ebx, ebx
je 0x441dca
lea edx, [esp + 0x3c4]
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x441dc0
lea ecx, [esp + 0x4c4]
call fcn.004412a0
lea ecx, [esp + 0x2c4]
call fcn.004413e0
lea ecx, [esp + 0x3c4]
call fcn.00441520
mov ecx, ebp
call fcn.00441700
mov ecx, dword [esp + 0x28]
call fcn.00441840
mov ecx, dword [esp + 0x24]
call fcn.00441980
test esi, esi
je 0x441e29
lea edx, [esp + 0x4c4]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x441e16
push esi
call fcn.0047c43d
add esp, 4
test edi, edi
je 0x441e4b
lea edx, [esp + 0x2c4]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x441e38
push edi
call fcn.0047c43d
add esp, 4
test ebx, ebx
je 0x441e73
lea edx, [esp + 0x3c4]
mov eax, ebx
sub edx, ebx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x441e60
push ebx
call fcn.0047c43d
add esp, 4
mov ecx, 0x4a3fbe
lea eax, [esp + 0x4c4]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x441ea0
test dl, dl
je 0x441e9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x441ea0
add eax, 2
add ecx, 2
test dl, dl
jne 0x441e80
xor eax, eax
jmp 0x441ea5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4423d7
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x441f2f
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
jmp 0x441ef0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x441ef0
mov edx, dword [str.workgrpdomnt4.dll]
mov ecx, dword [0x4b00c0]
mov dword [eax], edx
mov edx, dword [0x4b00c4]
mov dword [eax + 4], ecx
mov ecx, dword [0x4b00c8]
mov dword [eax + 8], edx
mov dx, word [0x4b00cc]
mov dword [eax + 0xc], ecx
mov cl, byte [0x4b00ce]
mov word [eax + 0x10], dx
mov byte [eax + 0x12], cl
lea edx, [esp + 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x44208a
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x4c8]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1cc]
push ecx
push edx
push eax
call dword [0x4f3778]
mov edi, eax
add esp, 0x14
mov dword [esp + 0x10], edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call ebx
cmp edi, 1
je 0x442c9f
cmp dword [esp + 0x20], 0
jne 0x441fb4
cmp dword [esp + 0x1c], 0
je 0x4420c1
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x442028
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x441ff2
mov ecx, dword [str._authadmin.dll]
mov edx, dword [0x4b00dc]
mov dword [eax], ecx
mov ecx, dword [0x4b00e0]
mov dword [eax + 4], edx
mov dx, word [0x4b00e4]
mov dword [eax + 8], ecx
mov cl, byte [0x4b00e6]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
lea edx, [esp + 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4420ad
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x4c8]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1cc]
push ecx
push edx
push eax
call dword [0x4f3778]
mov edi, eax
add esp, 0x14
mov dword [esp + 0x10], edi
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call ebx
jmp 0x4420c1
push 0
push 0x4f3530
push 0x4f23a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x441fa2
push 0
push 0x4f3530
push 0x4f23a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp edi, 1
je 0x442c9f
call fcn.00441a20
test al, al
je 0x4421bd
cmp dword [esp + 0x1c], 0
je 0x4421bd
cmp ebp, 2
je 0x4420f0
cmp ebp, 3
jne 0x4421bd
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x44215d
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442130
mov ecx, dword [str.ldapauth.dll]
mov edx, dword [0x4b00ec]
mov dword [eax], ecx
mov ecx, dword [0x4b00f0]
mov dword [eax + 4], edx
mov dx, word [0x4b00f4]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4421bd
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x18]
push ebp
lea ecx, [esp + 0x4c8]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x1cc]
push edx
push eax
push ecx
call dword [0x4f3778]
mov edi, eax
add esp, 0x14
mov dword [esp + 0x10], edi
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call ebx
cmp edi, 1
je 0x442c9f
call fcn.00441a20
test al, al
je 0x4422cb
cmp dword [esp + 0x20], 0
je 0x4422cb
call fcn.00441a40
test al, al
je 0x4422cb
cmp ebp, 2
je 0x4421f9
cmp ebp, 3
jne 0x4422cb
push 0x104
lea edx, [esp + 0xc4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x44226b
lea eax, [esp + 0xc0]
push 0x5c
push eax
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442237
mov ecx, dword [str.ldapauthnt4.dll]
mov edx, dword [0x4b00fc]
mov dword [eax], ecx
mov ecx, dword [0x4b0100]
mov dword [eax + 4], edx
mov edx, dword [0x4b0104]
mov dword [eax + 8], ecx
mov cl, byte [0x4b0108]
mov dword [eax + 0xc], edx
mov byte [eax + 0x10], cl
lea edx, [esp + 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4422cb
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x4c8]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1cc]
push ecx
push edx
push eax
call dword [0x4f3778]
mov edi, eax
add esp, 0x14
mov dword [esp + 0x10], edi
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call ebx
cmp edi, 1
je 0x442c9f
call fcn.00441a20
test al, al
je 0x4423ce
cmp dword [esp + 0x20], 0
jne 0x4423ce
cmp dword [esp + 0x1c], 0
jne 0x4423ce
cmp ebp, 2
je 0x442305
cmp ebp, 3
jne 0x4423ce
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x44236e
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442343
mov ecx, dword [str.ldapauth9x.dll]
mov edx, dword [0x4b0110]
mov dword [eax], ecx
mov ecx, dword [0x4b0114]
mov dword [eax + 4], edx
mov edx, dword [0x4b0118]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4423ce
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x18]
push ebp
lea ecx, [esp + 0x4c8]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x1cc]
push edx
push eax
push ecx
call dword [0x4f3778]
mov edi, eax
add esp, 0x14
mov dword [esp + 0x10], edi
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call ebx
cmp edi, 1
je 0x442c9f
mov ecx, 0x4a3fbe
lea eax, [esp + 0x2c4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442403
test dl, dl
je 0x4423ff
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442403
add eax, 2
add ecx, 2
test dl, dl
jne 0x4423e3
xor eax, eax
jmp 0x442408
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44294c
push 0x104
lea edx, [esp + 0xc4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x44248f
lea eax, [esp + 0xc0]
push 0x5c
push eax
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442450
mov ecx, dword [str.workgrpdomnt4.dll]
mov edx, dword [0x4b00c0]
mov dword [eax], ecx
mov ecx, dword [0x4b00c4]
mov dword [eax + 4], edx
mov edx, dword [0x4b00c8]
mov dword [eax + 8], ecx
mov cx, word [0x4b00cc]
mov dword [eax + 0xc], edx
mov dl, byte [0x4b00ce]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4424f7
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c8]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x1cc]
push eax
push ecx
push edx
call dword [0x4f3778]
add esp, 0x14
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x44250b
push 0
push 0x4f3530
push 0x4f23a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x442c9f
cmp dword [esp + 0x20], 0
jne 0x442528
cmp dword [esp + 0x1c], 0
je 0x442618
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x44259c
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442566
mov edx, dword [str._authadmin.dll]
mov ecx, dword [0x4b00dc]
mov dword [eax], edx
mov edx, dword [0x4b00e0]
mov dword [eax + 4], ecx
mov cx, word [0x4b00e4]
mov dword [eax + 8], edx
mov dl, byte [0x4b00e6]
mov word [eax + 0xc], cx
mov byte [eax + 0xe], dl
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442604
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c8]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x1cc]
push eax
push ecx
push edx
call dword [0x4f3778]
add esp, 0x14
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x442618
push 0
push 0x4f3530
push 0x4f23a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x442c9f
call fcn.00441a20
test al, al
je 0x44271f
cmp dword [esp + 0x1c], 0
je 0x44271f
mov edi, dword [esp + 0x28]
cmp edi, 2
je 0x44264d
cmp edi, 3
jne 0x44271f
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4426bd
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
jmp 0x442690
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442690
mov edx, dword [str.ldapauth.dll]
mov ecx, dword [0x4b00ec]
mov dword [eax], edx
mov edx, dword [0x4b00f0]
mov dword [eax + 4], ecx
mov cx, word [0x4b00f4]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
lea edx, [esp + 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x44271f
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [esp + 0x18]
push edi
lea eax, [esp + 0x2c8]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1cc]
push ecx
push edx
push eax
call dword [0x4f3778]
add esp, 0x14
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x10], 1
je 0x442c9f
call fcn.00441a20
test al, al
je 0x442836
cmp dword [esp + 0x20], 0
je 0x442836
call fcn.00441a40
test al, al
je 0x442836
mov edi, dword [esp + 0x28]
cmp edi, 2
je 0x442761
cmp edi, 3
jne 0x442836
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4427d4
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4427a0
mov ecx, dword [str.ldapauthnt4.dll]
mov edx, dword [0x4b00fc]
mov dword [eax], ecx
mov ecx, dword [0x4b0100]
mov dword [eax + 4], edx
mov edx, dword [0x4b0104]
mov dword [eax + 8], ecx
mov cl, byte [0x4b0108]
mov dword [eax + 0xc], edx
mov byte [eax + 0x10], cl
lea edx, [esp + 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442836
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [esp + 0x18]
push edi
lea eax, [esp + 0x2c8]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1cc]
push ecx
push edx
push eax
call dword [0x4f3778]
add esp, 0x14
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x10], 1
je 0x442c9f
call fcn.00441a20
test al, al
je 0x442941
cmp dword [esp + 0x20], 0
jne 0x442941
cmp dword [esp + 0x1c], 0
jne 0x442941
mov edi, dword [esp + 0x28]
cmp edi, 2
je 0x442876
cmp edi, 3
jne 0x442941
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4428df
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4428b4
mov ecx, dword [str.ldapauth9x.dll]
mov edx, dword [0x4b0110]
mov dword [eax], ecx
mov ecx, dword [0x4b0114]
mov dword [eax + 4], edx
mov edx, dword [0x4b0118]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442941
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x2c8]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x1cc]
push edx
push eax
push ecx
call dword [0x4f3778]
add esp, 0x14
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x10], 1
je 0x442c9f
mov ecx, 0x4a3fbe
lea eax, [esp + 0x3c4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442978
test dl, dl
je 0x442974
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442978
add eax, 2
add ecx, 2
test dl, dl
jne 0x442958
xor eax, eax
jmp 0x44297d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x442fee
push 0x104
lea edx, [esp + 0xc4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x442a02
lea eax, [esp + 0xc0]
push 0x5c
push eax
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4429c3
mov ecx, dword [str.workgrpdomnt4.dll]
mov edx, dword [0x4b00c0]
mov dword [eax], ecx
mov ecx, dword [0x4b00c4]
mov dword [eax + 4], edx
mov edx, dword [0x4b00c8]
mov dword [eax + 8], ecx
mov cx, word [0x4b00cc]
mov dword [eax + 0xc], edx
mov dl, byte [0x4b00ce]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442a6a
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x3c8]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x1cc]
push eax
push ecx
push edx
call dword [0x4f3778]
add esp, 0x14
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x442a7e
push 0
push 0x4f3530
push 0x4f23a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x442c9f
cmp dword [esp + 0x20], 0
jne 0x442a9b
cmp dword [esp + 0x1c], 0
je 0x442b92
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x442b16
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442ae0
mov edx, dword [str._authadmin.dll]
mov ecx, dword [0x4b00dc]
mov dword [eax], edx
mov edx, dword [0x4b00e0]
mov dword [eax + 4], ecx
mov cx, word [0x4b00e4]
mov dword [eax + 8], edx
mov dl, byte [0x4b00e6]
mov word [eax + 0xc], cx
mov byte [eax + 0xe], dl
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442b7e
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x3c8]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x1cc]
push eax
push ecx
push edx
call dword [0x4f3778]
add esp, 0x14
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x442b92
push 0
push 0x4f3530
push 0x4f23a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x442c9f
call fcn.00441a20
test al, al
je 0x442c94
cmp dword [esp + 0x1c], 0
je 0x442c94
mov edi, dword [esp + 0x24]
cmp edi, 2
je 0x442bc7
cmp edi, 3
jne 0x442c94
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x442c32
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442c05
mov edx, dword [str.ldapauth.dll]
mov ecx, dword [0x4b00ec]
mov dword [eax], edx
mov edx, dword [0x4b00f0]
mov dword [eax + 4], ecx
mov cx, word [0x4b00f4]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
lea edx, [esp + 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442c94
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [esp + 0x18]
push edi
lea eax, [esp + 0x3c8]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1cc]
push ecx
push edx
push eax
call dword [0x4f3778]
add esp, 0x14
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x10], 1
jne 0x442d22
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x442d00
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0047c410
mov byte [eax], 0
lea eax, [esp + 0xc8]
add esp, 8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442cd5
mov ecx, dword [str.logging.dll]
mov edx, dword [0x4ab480]
mov dword [eax], ecx
mov ecx, dword [0x4ab484]
mov dword [eax + 4], edx
mov dl, byte [0x4ab488]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x443088
push str.LOGLOGONUSER
jmp 0x443068
call fcn.00441a20
test al, al
je 0x442e2f
cmp dword [esp + 0x20], 0
je 0x442e2f
call fcn.00441a40
test al, al
je 0x442e2f
mov edi, dword [esp + 0x24]
cmp edi, 2
je 0x442d59
cmp edi, 3
jne 0x442e33
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x442dcb
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0047c410
add esp, 8
test eax, eax
je 0x442ea0
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442d97
mov edx, dword [str.ldapauthnt4.dll]
mov ecx, dword [0x4b00fc]
mov dword [eax], edx
mov edx, dword [0x4b0100]
mov dword [eax + 4], ecx
mov ecx, dword [0x4b0104]
mov dword [eax + 8], edx
mov dl, byte [0x4b0108]
mov dword [eax + 0xc], ecx
mov byte [eax + 0x10], dl
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442e33
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x3c8]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x1cc]
push edx
push eax
push ecx
call dword [0x4f3778]
add esp, 0x14
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x442e33
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
cmp ebx, 1
je 0x442f4a
call fcn.00441a20
test al, al
je 0x442f41
cmp dword [esp + 0x20], 0
jne 0x442f41
cmp dword [esp + 0x1c], 0
jne 0x442f41
cmp edi, 2
je 0x442e71
cmp edi, 3
jne 0x442f41
push 0x104
lea edx, [esp + 0xc4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x442edd
lea eax, [esp + 0xc0]
push 0x5c
push eax
call fcn.0047c410
add esp, 8
test eax, eax
jne 0x442ea7
xor eax, eax
jmp 0x44308c
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442eb2
mov ecx, dword [str.ldapauth9x.dll]
mov edx, dword [0x4b0110]
mov dword [eax], ecx
mov ecx, dword [0x4b0114]
mov dword [eax + 4], edx
mov edx, dword [0x4b0118]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442f41
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4f3778], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x3c8]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x1cc]
push edx
push eax
push ecx
call dword [0x4f3778]
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x10], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, 1
jne 0x442fee
push 0x104
lea edx, [esp + 0xc4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x442fab
lea eax, [esp + 0xc0]
push 0x5c
push eax
call fcn.0047c410
mov byte [eax], 0
lea eax, [esp + 0xc8]
add esp, 8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442f80
mov ecx, dword [str.logging.dll]
mov edx, dword [0x4ab480]
mov dword [eax], ecx
mov ecx, dword [0x4ab484]
mov dword [eax + 4], edx
mov dl, byte [0x4ab488]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442fe4
push str.LOGLOGONUSER
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x1c8]
push edx
call eax
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 2
jmp 0x44308c
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x44304f
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0047c410
mov byte [eax], 0
lea eax, [esp + 0xc8]
add esp, 8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x443024
mov edx, dword [str.logging.dll]
mov ecx, dword [0x4ab480]
mov dword [eax], edx
mov edx, dword [0x4ab484]
mov dword [eax + 4], ecx
mov cl, byte [0x4ab488]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
lea edx, [esp + 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x443088
push str.LOGFAILEDUSER
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x1c8]
push edx
call eax
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c4]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047c3ff
add esp, 0x5b8
ret