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

Disassembly:
sub esp, 0x5b8
xor eax, eax
lea edx, [esp + 0x124]
mov dword [esp], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c4]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42ceb4
push ebx
push ebp
push esi
push edi
call fcn.0042ccd0
test al, al
jne 0x42cee1
call fcn.0042cd30
test al, al
jne 0x42cee1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5b8
ret
lea eax, [esp + 0x534]
mov dword [esp + 0x534], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x42cf09
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov eax, dword [esp + 0x544]
mov esi, 1
cmp eax, 2
jne 0x42cf35
mov eax, dword [esp + 0x538]
cmp eax, 4
jne 0x42cf2c
mov dword [esp + 0x18], esi
jmp 0x42cf35
cmp eax, 5
jb 0x42cf35
mov dword [esp + 0x14], esi
call fcn.0042ca70
mov edi, eax
call fcn.0042cad0
mov dword [esp + 0x28], eax
call fcn.0042cb30
push esi
mov dword [esp + 0x30], eax
call fcn.0042cb60
mov esi, eax
push 0
mov dword [esp + 0x2c], esi
call fcn.0042cbd0
mov ebx, eax
push 0
mov dword [esp + 0x2c], ebx
call fcn.0042cc40
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x1c], ebp
xor eax, eax
mov cl, byte [eax + str.VNCACCESS]
mov byte [esp + eax + 0x234], cl
inc eax
test cl, cl
jne 0x42cf79
xor eax, eax
mov cl, byte [eax + str.Administrators]
mov byte [esp + eax + 0x434], cl
inc eax
test cl, cl
jne 0x42cf8d
xor eax, eax
mov cl, byte [eax + str.VNCVIEWONLY]
mov byte [esp + eax + 0x334], cl
inc eax
test cl, cl
jne 0x42cfa1
test edi, edi
je 0x42cfcc
lea edx, [esp + 0x234]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42cfc2
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42cfe7
lea edx, [esp + 0x434]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42cfdd
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x42d002
lea edx, [esp + 0x334]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42cff8
lea ecx, [esp + 0x234]
push ecx
call fcn.0042ca40
lea edx, [esp + 0x438]
push edx
call fcn.0042caa0
lea eax, [esp + 0x33c]
push eax
call fcn.0042cb00
push esi
call fcn.0042cba0
push ebx
call fcn.0042cc10
push ebp
call fcn.0042cc80
add esp, 0x18
test edi, edi
je 0x42d060
lea edx, [esp + 0x234]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42d04d
push edi
call fcn.00449d1e
add esp, 4
mov esi, dword [esp + 0x28]
test esi, esi
je 0x42d086
lea edx, [esp + 0x434]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42d073
push esi
call fcn.00449d1e
add esp, 4
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x42d0ac
lea edx, [esp + 0x334]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42d099
push esi
call fcn.00449d1e
add esp, 4
mov ebx, dword [esp + 0x5d0]
mov ebp, dword [sym.imp.ole32.dll_CoInitialize]
mov edi, 0x46f3a0
lea esi, [esp + 0x234]
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x42d5d6
lea eax, [esp + 0x30]
push 0x104
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42d14b
lea ecx, [esp + 0x30]
push 0x5c
push ecx
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42d107
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [str.workgrpdomnt4.dll]
mov eax, dword [0x468560]
mov ecx, dword [0x468564]
dec edi
mov dword [edi], edx
mov edx, dword [0x468568]
mov dword [edi + 4], eax
mov ax, word [0x46856c]
mov dword [edi + 8], ecx
mov cl, byte [0x46856e]
mov dword [edi + 0xc], edx
mov word [edi + 0x10], ax
mov byte [edi + 0x12], cl
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42d200
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x5cc]
lea eax, [esp + 0x234]
push edi
lea ecx, [esp + 0x138]
push eax
push ecx
push ebx
push edx
call dword [0x47fd00]
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 0x42de03
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42d1cc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42d2c9
lea eax, [esp + 0x30]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42d259
lea ecx, [esp + 0x30]
push 0x5c
push ecx
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42d21a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
push 0
push 0x480bb8
push 0x481018
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [esp + 0x24]
jmp 0x42d1b8
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [str._authadmin.dll]
mov eax, dword [0x468548]
mov ecx, dword [0x46854c]
dec edi
mov dword [edi], edx
mov dx, word [0x468550]
mov dword [edi + 4], eax
mov al, byte [0x468552]
mov dword [edi + 8], ecx
mov word [edi + 0xc], dx
mov byte [edi + 0xe], al
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42d2b5
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov ecx, dword [esp + 0x5cc]
lea edx, [esp + 0x234]
push edi
lea eax, [esp + 0x138]
push edx
push eax
push ebx
push ecx
call dword [0x47fd00]
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 0x42d2c9
push 0
push 0x480bb8
push 0x481018
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x42de03
call fcn.0042ccb0
test al, al
je 0x42d3c0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42d3c0
cmp edi, 2
je 0x42d2fb
cmp edi, 3
jne 0x42d3c0
lea edx, [esp + 0x30]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42d366
lea eax, [esp + 0x30]
push 0x5c
push eax
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42d32f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, dword [str.ldapauth.dll]
mov edx, dword [0x468538]
mov eax, dword [0x46853c]
dec edi
mov dword [edi], ecx
mov cx, word [0x468540]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov word [edi + 0xc], cx
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42d3c0
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov edx, dword [esp + 0x5cc]
lea eax, [esp + 0x234]
push edi
lea ecx, [esp + 0x138]
push eax
push ecx
push ebx
push edx
call dword [0x47fd00]
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 0x42de03
call fcn.0042ccb0
test al, al
je 0x42d4ca
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42d4ca
call fcn.0042ccf0
test al, al
je 0x42d4ca
cmp edi, 2
je 0x42d3ff
cmp edi, 3
jne 0x42d4ca
lea eax, [esp + 0x30]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42d470
lea ecx, [esp + 0x30]
push 0x5c
push ecx
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42d433
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [str.ldapauthnt4.dll]
mov eax, dword [0x468524]
mov ecx, dword [0x468528]
dec edi
mov dword [edi], edx
mov edx, dword [0x46852c]
mov dword [edi + 4], eax
mov al, byte [0x468530]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov byte [edi + 0x10], al
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42d4ca
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov ecx, dword [esp + 0x5cc]
lea edx, [esp + 0x234]
push edi
lea eax, [esp + 0x138]
push edx
push eax
push ebx
push ecx
call dword [0x47fd00]
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 0x42de03
call fcn.0042ccb0
test al, al
je 0x42d5cb
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42d5cb
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42d5cb
cmp edi, 2
je 0x42d508
cmp edi, 3
jne 0x42d5cb
lea edx, [esp + 0x30]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42d571
lea eax, [esp + 0x30]
push 0x5c
push eax
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42d53c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, dword [str.ldapauth9x.dll]
mov edx, dword [0x468514]
mov eax, dword [0x468518]
dec edi
mov dword [edi], ecx
mov ecx, dword [0x46851c]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42d5cb
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov edx, dword [esp + 0x5cc]
lea eax, [esp + 0x234]
push edi
lea ecx, [esp + 0x138]
push eax
push ecx
push ebx
push edx
call dword [0x47fd00]
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 0x42de03
mov edi, 0x46f3a0
lea esi, [esp + 0x434]
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x42daf8
lea ecx, [esp + 0x30]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42d668
lea edx, [esp + 0x30]
push 0x5c
push edx
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42d624
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [str.workgrpdomnt4.dll]
mov ecx, dword [0x468560]
mov edx, dword [0x468564]
dec edi
mov dword [edi], eax
mov eax, dword [0x468568]
mov dword [edi + 4], ecx
mov cx, word [0x46856c]
mov dword [edi + 8], edx
mov dl, byte [0x46856e]
mov dword [edi + 0xc], eax
mov word [edi + 0x10], cx
mov byte [edi + 0x12], dl
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42d6c8
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x434]
push ecx
mov ecx, dword [esp + 0x5d0]
lea eax, [esp + 0x138]
push edx
push eax
push ebx
push ecx
call dword [0x47fd00]
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 0x42d6dc
push 0
push 0x480bb8
push 0x481018
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x42de03
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42d6fb
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42d7df
lea edx, [esp + 0x30]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42d76b
lea eax, [esp + 0x30]
push 0x5c
push eax
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42d72f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, dword [str._authadmin.dll]
mov edx, dword [0x468548]
mov eax, dword [0x46854c]
dec edi
mov dword [edi], ecx
mov cx, word [0x468550]
mov dword [edi + 4], edx
mov dl, byte [0x468552]
mov dword [edi + 8], eax
mov word [edi + 0xc], cx
mov byte [edi + 0xe], dl
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42d7cb
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x434]
push ecx
mov ecx, dword [esp + 0x5d0]
lea eax, [esp + 0x138]
push edx
push eax
push ebx
push ecx
call dword [0x47fd00]
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 0x42d7df
push 0
push 0x480bb8
push 0x481018
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x42de03
call fcn.0042ccb0
test al, al
je 0x42d8da
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42d8da
mov edi, dword [esp + 0x20]
cmp edi, 2
je 0x42d815
cmp edi, 3
jne 0x42d8da
lea edx, [esp + 0x30]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42d880
lea eax, [esp + 0x30]
push 0x5c
push eax
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42d849
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, dword [str.ldapauth.dll]
mov edx, dword [0x468538]
mov eax, dword [0x46853c]
dec edi
mov dword [edi], ecx
mov cx, word [0x468540]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov word [edi + 0xc], cx
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42d8da
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov edx, dword [esp + 0x5cc]
lea eax, [esp + 0x434]
push edi
lea ecx, [esp + 0x138]
push eax
push ecx
push ebx
push edx
call dword [0x47fd00]
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 0x42de03
call fcn.0042ccb0
test al, al
je 0x42d9e8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42d9e8
call fcn.0042ccf0
test al, al
je 0x42d9e8
mov edi, dword [esp + 0x20]
cmp edi, 2
je 0x42d91d
cmp edi, 3
jne 0x42d9e8
lea eax, [esp + 0x30]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42d98e
lea ecx, [esp + 0x30]
push 0x5c
push ecx
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42d951
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [str.ldapauthnt4.dll]
mov eax, dword [0x468524]
mov ecx, dword [0x468528]
dec edi
mov dword [edi], edx
mov edx, dword [0x46852c]
mov dword [edi + 4], eax
mov al, byte [0x468530]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov byte [edi + 0x10], al
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42d9e8
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov ecx, dword [esp + 0x5cc]
lea edx, [esp + 0x434]
push edi
lea eax, [esp + 0x138]
push edx
push eax
push ebx
push ecx
call dword [0x47fd00]
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 0x42de03
call fcn.0042ccb0
test al, al
je 0x42daed
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42daed
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42daed
mov edi, dword [esp + 0x20]
cmp edi, 2
je 0x42da2a
cmp edi, 3
jne 0x42daed
lea edx, [esp + 0x30]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42da93
lea eax, [esp + 0x30]
push 0x5c
push eax
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42da5e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, dword [str.ldapauth9x.dll]
mov edx, dword [0x468514]
mov eax, dword [0x468518]
dec edi
mov dword [edi], ecx
mov ecx, dword [0x46851c]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42daed
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov edx, dword [esp + 0x5cc]
lea eax, [esp + 0x434]
push edi
lea ecx, [esp + 0x138]
push eax
push ecx
push ebx
push edx
call dword [0x47fd00]
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 0x42de03
mov edi, 0x46f3a0
lea esi, [esp + 0x334]
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x42e12c
lea ecx, [esp + 0x30]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42db8a
lea edx, [esp + 0x30]
push 0x5c
push edx
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42db46
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [str.workgrpdomnt4.dll]
mov ecx, dword [0x468560]
mov edx, dword [0x468564]
dec edi
mov dword [edi], eax
mov eax, dword [0x468568]
mov dword [edi + 4], ecx
mov cx, word [0x46856c]
mov dword [edi + 8], edx
mov dl, byte [0x46856e]
mov dword [edi + 0xc], eax
mov word [edi + 0x10], cx
mov byte [edi + 0x12], dl
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42dbea
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x334]
push ecx
mov ecx, dword [esp + 0x5d0]
lea eax, [esp + 0x138]
push edx
push eax
push ebx
push ecx
call dword [0x47fd00]
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 0x42dbfe
push 0
push 0x480bb8
push 0x481018
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x42de03
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42dc1d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42dd01
lea edx, [esp + 0x30]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42dc8d
lea eax, [esp + 0x30]
push 0x5c
push eax
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42dc51
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, dword [str._authadmin.dll]
mov edx, dword [0x468548]
mov eax, dword [0x46854c]
dec edi
mov dword [edi], ecx
mov cx, word [0x468550]
mov dword [edi + 4], edx
mov dl, byte [0x468552]
mov dword [edi + 8], eax
mov word [edi + 0xc], cx
mov byte [edi + 0xe], dl
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42dced
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x334]
push ecx
mov ecx, dword [esp + 0x5d0]
lea eax, [esp + 0x138]
push edx
push eax
push ebx
push ecx
call dword [0x47fd00]
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 0x42dd01
push 0
push 0x480bb8
push 0x481018
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x10], 1
je 0x42de03
call fcn.0042ccb0
test al, al
je 0x42ddfc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42ddfc
mov edi, dword [esp + 0x1c]
cmp edi, 2
je 0x42dd37
cmp edi, 3
jne 0x42ddfc
lea edx, [esp + 0x30]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42dda2
lea eax, [esp + 0x30]
push 0x5c
push eax
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42dd6b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, dword [str.ldapauth.dll]
mov edx, dword [0x468538]
mov eax, dword [0x46853c]
dec edi
mov dword [edi], ecx
mov cx, word [0x468540]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov word [edi + 0xc], cx
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42ddfc
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov edx, dword [esp + 0x5cc]
lea eax, [esp + 0x334]
push edi
lea ecx, [esp + 0x138]
push eax
push ecx
push ebx
push edx
call dword [0x47fd00]
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 0x42de78
lea eax, [esp + 0x30]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42de59
lea ecx, [esp + 0x30]
push 0x5c
push ecx
call fcn.0044a480
mov byte [eax], 0
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov edx, dword [str.logging.dll]
repne scasb al, byte es:[edi]
mov eax, dword [0x462c2c]
mov ecx, dword [0x462c30]
dec edi
mov dword [edi], edx
mov dl, byte [0x462c34]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov byte [edi + 0xc], dl
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42e1bb
push str.LOGLOGONUSER
jmp 0x42e198
call fcn.0042ccb0
test al, al
je 0x42df7d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42df7d
call fcn.0042ccf0
test al, al
je 0x42df7d
mov edi, dword [esp + 0x1c]
cmp edi, 2
je 0x42deb0
cmp edi, 3
jne 0x42df81
lea eax, [esp + 0x30]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42df21
lea ecx, [esp + 0x30]
push 0x5c
push ecx
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42dee4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [str.ldapauthnt4.dll]
mov eax, dword [0x468524]
mov ecx, dword [0x468528]
dec edi
mov dword [edi], edx
mov edx, dword [0x46852c]
mov dword [edi + 4], eax
mov al, byte [0x468530]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov byte [edi + 0x10], al
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42df81
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov ecx, dword [esp + 0x5cc]
lea edx, [esp + 0x334]
push edi
lea eax, [esp + 0x138]
push edx
push eax
push ebx
push ecx
call dword [0x47fd00]
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 0x42df81
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x10], 1
je 0x42e08d
call fcn.0042ccb0
test al, al
je 0x42e082
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42e082
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42e082
cmp edi, 2
je 0x42dfbf
cmp edi, 3
jne 0x42e082
lea edx, [esp + 0x30]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42e028
lea eax, [esp + 0x30]
push 0x5c
push eax
call fcn.0044a480
add esp, 8
test eax, eax
jne 0x42dff3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret
mov byte [eax], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, dword [str.ldapauth9x.dll]
mov edx, dword [0x468514]
mov eax, dword [0x468518]
dec edi
mov dword [edi], ecx
mov ecx, dword [0x46851c]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42e082
push str.CUGP
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x47fd00], eax
call ebp
mov edx, dword [esp + 0x5cc]
lea eax, [esp + 0x334]
push edi
lea ecx, [esp + 0x138]
push eax
push ecx
push ebx
push edx
call dword [0x47fd00]
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 0x42e12c
lea eax, [esp + 0x30]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42e0e3
lea ecx, [esp + 0x30]
push 0x5c
push ecx
call fcn.0044a480
mov byte [eax], 0
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov edx, dword [str.logging.dll]
repne scasb al, byte es:[edi]
mov eax, dword [0x462c2c]
mov ecx, dword [0x462c30]
dec edi
mov dword [edi], edx
mov dl, byte [0x462c34]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov byte [edi + 0xc], dl
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42e11c
push str.LOGLOGONUSER
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x5cc]
lea edx, [esp + 0x134]
push ecx
push edx
call eax
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x5b8
ret
lea eax, [esp + 0x30]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42e182
lea ecx, [esp + 0x30]
push 0x5c
push ecx
call fcn.0044a480
mov byte [eax], 0
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov edx, dword [str.logging.dll]
repne scasb al, byte es:[edi]
mov eax, dword [0x462c2c]
mov ecx, dword [0x462c30]
dec edi
mov dword [edi], edx
mov dl, byte [0x462c34]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov byte [edi + 0xc], dl
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42e1bb
push str.LOGFAILEDUSER
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x5cc]
lea edx, [esp + 0x134]
push ecx
push edx
call eax
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret