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

Disassembly:
sub esp, 0x5b8
mov eax, dword [0x489348]
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 0x43a2c2
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.netapi32.dll
call esi
cmp eax, edi
jne 0x43a303
push str.radmin32.dll
call esi
cmp eax, edi
jne 0x43a303
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5b4]
xor ecx, esp
call fcn.0045c77f
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 0x43a2e9
cmp dword [esp + 0x38], 2
jne 0x43a340
mov eax, dword [esp + 0x2c]
cmp eax, 4
jne 0x43a337
mov dword [esp + 0x1c], ebx
jmp 0x43a340
cmp eax, 5
jb 0x43a340
mov dword [esp + 0x18], ebx
push ebp
call fcn.004399d0
mov esi, eax
call fcn.00439b10
mov edi, eax
call fcn.00439c50
mov ebx, eax
call fcn.00439cf0
mov ebp, eax
call fcn.00439e30
mov dword [esp + 0x28], eax
call fcn.00439f70
mov ecx, dword [str.VNCACCESS]
mov edx, dword [0x47fbb0]
mov dword [esp + 0x24], eax
mov ax, word [0x47fbb4]
mov dword [esp + 0x4c4], ecx
mov ecx, dword [str.Administrators]
mov dword [esp + 0x4c8], edx
mov edx, dword [0x47fbbc]
mov word [esp + 0x4cc], ax
mov eax, dword [0x47fbc0]
mov dword [esp + 0x2c4], ecx
mov cx, word [0x47fbc4]
mov dword [esp + 0x2c8], edx
mov dl, byte [0x47fbc6]
mov dword [esp + 0x2cc], eax
mov eax, dword [str.VNCVIEWONLY]
mov word [esp + 0x2d0], cx
mov ecx, dword [0x47fbcc]
mov byte [esp + 0x2d2], dl
mov edx, dword [0x47fbd0]
mov dword [esp + 0x3c4], eax
mov dword [esp + 0x3c8], ecx
mov dword [esp + 0x3cc], edx
test esi, esi
je 0x43a41a
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 0x43a410
test edi, edi
je 0x43a43a
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 0x43a430
test ebx, ebx
je 0x43a45a
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 0x43a450
lea ecx, [esp + 0x4c4]
call fcn.00439930
lea ecx, [esp + 0x2c4]
call fcn.00439a70
lea ecx, [esp + 0x3c4]
call fcn.00439bb0
mov ecx, ebp
call fcn.00439d90
mov ecx, dword [esp + 0x28]
call fcn.00439ed0
mov ecx, dword [esp + 0x24]
call fcn.0043a010
test esi, esi
je 0x43a4b9
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 0x43a4a6
push esi
call fcn.0045c7c2
add esp, 4
test edi, edi
je 0x43a4db
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 0x43a4c8
push edi
call fcn.0045c7c2
add esp, 4
test ebx, ebx
je 0x43a503
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 0x43a4f0
push ebx
call fcn.0045c7c2
add esp, 4
mov ecx, 0x47a387
lea eax, [esp + 0x4c4]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43a530
test dl, dl
je 0x43a52c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43a530
add eax, 2
add ecx, 2
test dl, dl
jne 0x43a510
xor eax, eax
jmp 0x43a535
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43aa67
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43a5bf
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
jmp 0x43a580
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43a580
mov edx, dword [str.workgrpdomnt4.dll]
mov ecx, dword [0x47fbd8]
mov dword [eax], edx
mov edx, dword [0x47fbdc]
mov dword [eax + 4], ecx
mov ecx, dword [0x47fbe0]
mov dword [eax + 8], edx
mov dx, word [0x47fbe4]
mov dword [eax + 0xc], ecx
mov cl, byte [0x47fbe6]
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 0x43a71a
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b32f
cmp dword [esp + 0x20], 0
jne 0x43a644
cmp dword [esp + 0x1c], 0
je 0x43a751
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43a6b8
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43a682
mov ecx, dword [str._authadmin.dll]
mov edx, dword [0x47fbf4]
mov dword [eax], ecx
mov ecx, dword [0x47fbf8]
mov dword [eax + 4], edx
mov dx, word [0x47fbfc]
mov dword [eax + 8], ecx
mov cl, byte [0x47fbfe]
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 0x43a73d
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
mov edi, eax
add esp, 0x14
mov dword [esp + 0x10], edi
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call ebx
jmp 0x43a751
push 0
push 0x4a6530
push 0x4a5398
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x43a632
push 0
push 0x4a6530
push 0x4a5398
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp edi, 1
je 0x43b32f
call fcn.0043a0b0
test al, al
je 0x43a84d
cmp dword [esp + 0x1c], 0
je 0x43a84d
cmp ebp, 2
je 0x43a780
cmp ebp, 3
jne 0x43a84d
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43a7ed
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43a7c0
mov ecx, dword [str.ldapauth.dll]
mov edx, dword [0x47fc04]
mov dword [eax], ecx
mov ecx, dword [0x47fc08]
mov dword [eax + 4], edx
mov dx, word [0x47fc0c]
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 0x43a84d
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b32f
call fcn.0043a0b0
test al, al
je 0x43a95b
cmp dword [esp + 0x20], 0
je 0x43a95b
call fcn.0043a0d0
test al, al
je 0x43a95b
cmp ebp, 2
je 0x43a889
cmp ebp, 3
jne 0x43a95b
push 0x104
lea edx, [esp + 0xc4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43a8fb
lea eax, [esp + 0xc0]
push 0x5c
push eax
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43a8c7
mov ecx, dword [str.ldapauthnt4.dll]
mov edx, dword [0x47fc14]
mov dword [eax], ecx
mov ecx, dword [0x47fc18]
mov dword [eax + 4], edx
mov edx, dword [0x47fc1c]
mov dword [eax + 8], ecx
mov cl, byte [0x47fc20]
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 0x43a95b
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b32f
call fcn.0043a0b0
test al, al
je 0x43aa5e
cmp dword [esp + 0x20], 0
jne 0x43aa5e
cmp dword [esp + 0x1c], 0
jne 0x43aa5e
cmp ebp, 2
je 0x43a995
cmp ebp, 3
jne 0x43aa5e
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43a9fe
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43a9d3
mov ecx, dword [str.ldapauth9x.dll]
mov edx, dword [0x47fc28]
mov dword [eax], ecx
mov ecx, dword [0x47fc2c]
mov dword [eax + 4], edx
mov edx, dword [0x47fc30]
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 0x43aa5e
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b32f
mov ecx, 0x47a387
lea eax, [esp + 0x2c4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43aa93
test dl, dl
je 0x43aa8f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43aa93
add eax, 2
add ecx, 2
test dl, dl
jne 0x43aa73
xor eax, eax
jmp 0x43aa98
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43afdc
push 0x104
lea edx, [esp + 0xc4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43ab1f
lea eax, [esp + 0xc0]
push 0x5c
push eax
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43aae0
mov ecx, dword [str.workgrpdomnt4.dll]
mov edx, dword [0x47fbd8]
mov dword [eax], ecx
mov ecx, dword [0x47fbdc]
mov dword [eax + 4], edx
mov edx, dword [0x47fbe0]
mov dword [eax + 8], ecx
mov cx, word [0x47fbe4]
mov dword [eax + 0xc], edx
mov dl, byte [0x47fbe6]
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 0x43ab87
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43ab9b
push 0
push 0x4a6530
push 0x4a5398
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x43b32f
cmp dword [esp + 0x20], 0
jne 0x43abb8
cmp dword [esp + 0x1c], 0
je 0x43aca8
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43ac2c
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43abf6
mov edx, dword [str._authadmin.dll]
mov ecx, dword [0x47fbf4]
mov dword [eax], edx
mov edx, dword [0x47fbf8]
mov dword [eax + 4], ecx
mov cx, word [0x47fbfc]
mov dword [eax + 8], edx
mov dl, byte [0x47fbfe]
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 0x43ac94
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43aca8
push 0
push 0x4a6530
push 0x4a5398
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x43b32f
call fcn.0043a0b0
test al, al
je 0x43adaf
cmp dword [esp + 0x1c], 0
je 0x43adaf
mov edi, dword [esp + 0x28]
cmp edi, 2
je 0x43acdd
cmp edi, 3
jne 0x43adaf
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43ad4d
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
jmp 0x43ad20
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43ad20
mov edx, dword [str.ldapauth.dll]
mov ecx, dword [0x47fc04]
mov dword [eax], edx
mov edx, dword [0x47fc08]
mov dword [eax + 4], ecx
mov cx, word [0x47fc0c]
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 0x43adaf
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b32f
call fcn.0043a0b0
test al, al
je 0x43aec6
cmp dword [esp + 0x20], 0
je 0x43aec6
call fcn.0043a0d0
test al, al
je 0x43aec6
mov edi, dword [esp + 0x28]
cmp edi, 2
je 0x43adf1
cmp edi, 3
jne 0x43aec6
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43ae64
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43ae30
mov ecx, dword [str.ldapauthnt4.dll]
mov edx, dword [0x47fc14]
mov dword [eax], ecx
mov ecx, dword [0x47fc18]
mov dword [eax + 4], edx
mov edx, dword [0x47fc1c]
mov dword [eax + 8], ecx
mov cl, byte [0x47fc20]
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 0x43aec6
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b32f
call fcn.0043a0b0
test al, al
je 0x43afd1
cmp dword [esp + 0x20], 0
jne 0x43afd1
cmp dword [esp + 0x1c], 0
jne 0x43afd1
mov edi, dword [esp + 0x28]
cmp edi, 2
je 0x43af06
cmp edi, 3
jne 0x43afd1
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43af6f
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43af44
mov ecx, dword [str.ldapauth9x.dll]
mov edx, dword [0x47fc28]
mov dword [eax], ecx
mov ecx, dword [0x47fc2c]
mov dword [eax + 4], edx
mov edx, dword [0x47fc30]
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 0x43afd1
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b32f
mov ecx, 0x47a387
lea eax, [esp + 0x3c4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43b008
test dl, dl
je 0x43b004
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43b008
add eax, 2
add ecx, 2
test dl, dl
jne 0x43afe8
xor eax, eax
jmp 0x43b00d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43b67e
push 0x104
lea edx, [esp + 0xc4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43b092
lea eax, [esp + 0xc0]
push 0x5c
push eax
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b053
mov ecx, dword [str.workgrpdomnt4.dll]
mov edx, dword [0x47fbd8]
mov dword [eax], ecx
mov ecx, dword [0x47fbdc]
mov dword [eax + 4], edx
mov edx, dword [0x47fbe0]
mov dword [eax + 8], ecx
mov cx, word [0x47fbe4]
mov dword [eax + 0xc], edx
mov dl, byte [0x47fbe6]
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 0x43b0fa
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b10e
push 0
push 0x4a6530
push 0x4a5398
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x43b32f
cmp dword [esp + 0x20], 0
jne 0x43b12b
cmp dword [esp + 0x1c], 0
je 0x43b222
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43b1a6
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b170
mov edx, dword [str._authadmin.dll]
mov ecx, dword [0x47fbf4]
mov dword [eax], edx
mov edx, dword [0x47fbf8]
mov dword [eax + 4], ecx
mov cx, word [0x47fbfc]
mov dword [eax + 8], edx
mov dl, byte [0x47fbfe]
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 0x43b20e
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b222
push 0
push 0x4a6530
push 0x4a5398
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x43b32f
call fcn.0043a0b0
test al, al
je 0x43b324
cmp dword [esp + 0x1c], 0
je 0x43b324
mov edi, dword [esp + 0x24]
cmp edi, 2
je 0x43b257
cmp edi, 3
jne 0x43b324
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43b2c2
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b295
mov edx, dword [str.ldapauth.dll]
mov ecx, dword [0x47fc04]
mov dword [eax], edx
mov edx, dword [0x47fc08]
mov dword [eax + 4], ecx
mov cx, word [0x47fc0c]
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 0x43b324
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b3b2
push 0x104
lea ecx, [esp + 0xc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43b390
lea edx, [esp + 0xc0]
push 0x5c
push edx
call fcn.0045cab0
mov byte [eax], 0
lea eax, [esp + 0xc8]
add esp, 8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b365
mov ecx, dword [str.logging.dll]
mov edx, dword [0x47bd8c]
mov dword [eax], ecx
mov ecx, dword [0x47bd90]
mov dword [eax + 4], edx
mov dl, byte [0x47bd94]
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 0x43b718
push str.LOGLOGONUSER
jmp 0x43b6f8
call fcn.0043a0b0
test al, al
je 0x43b4bf
cmp dword [esp + 0x20], 0
je 0x43b4bf
call fcn.0043a0d0
test al, al
je 0x43b4bf
mov edi, dword [esp + 0x24]
cmp edi, 2
je 0x43b3e9
cmp edi, 3
jne 0x43b4c3
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43b45b
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0045cab0
add esp, 8
test eax, eax
je 0x43b530
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b427
mov edx, dword [str.ldapauthnt4.dll]
mov ecx, dword [0x47fc14]
mov dword [eax], edx
mov edx, dword [0x47fc18]
mov dword [eax + 4], ecx
mov ecx, dword [0x47fc1c]
mov dword [eax + 8], edx
mov dl, byte [0x47fc20]
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 0x43b4c3
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b4c3
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
cmp ebx, 1
je 0x43b5da
call fcn.0043a0b0
test al, al
je 0x43b5d1
cmp dword [esp + 0x20], 0
jne 0x43b5d1
cmp dword [esp + 0x1c], 0
jne 0x43b5d1
cmp edi, 2
je 0x43b501
cmp edi, 3
jne 0x43b5d1
push 0x104
lea edx, [esp + 0xc4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43b56d
lea eax, [esp + 0xc0]
push 0x5c
push eax
call fcn.0045cab0
add esp, 8
test eax, eax
jne 0x43b537
xor eax, eax
jmp 0x43b71c
mov byte [eax], 0
lea eax, [esp + 0xc0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b542
mov ecx, dword [str.ldapauth9x.dll]
mov edx, dword [0x47fc28]
mov dword [eax], ecx
mov ecx, dword [0x47fc2c]
mov dword [eax + 4], edx
mov edx, dword [0x47fc30]
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 0x43b5d1
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x4a6710], 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 [0x4a6710]
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 0x43b67e
push 0x104
lea edx, [esp + 0xc4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43b63b
lea eax, [esp + 0xc0]
push 0x5c
push eax
call fcn.0045cab0
mov byte [eax], 0
lea eax, [esp + 0xc8]
add esp, 8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b610
mov ecx, dword [str.logging.dll]
mov edx, dword [0x47bd8c]
mov dword [eax], ecx
mov ecx, dword [0x47bd90]
mov dword [eax + 4], edx
mov dl, byte [0x47bd94]
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 0x43b674
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 0x43b71c
push 0x104
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43b6df
lea ecx, [esp + 0xc0]
push 0x5c
push ecx
call fcn.0045cab0
mov byte [eax], 0
lea eax, [esp + 0xc8]
add esp, 8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b6b4
mov edx, dword [str.logging.dll]
mov ecx, dword [0x47bd8c]
mov dword [eax], edx
mov edx, dword [0x47bd90]
mov dword [eax + 4], ecx
mov cl, byte [0x47bd94]
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 0x43b718
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.0045c77f
add esp, 0x5b8
ret