Function at 0x1005c92
Capabilities:
Check for time delay via gettickcount
Get domain controller name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
call fcn.01005966
cmp eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edi, 0x10020b4
je 0x1005cf3
cmp byte [ebp + 8], 0
mov ebx, 0x1002e50
jne 0x1005cd2
mov ebx, 0x1001b30
call esi
push eax
push dword [ebp - 4]
push ebx
push edi
push 0x1002dc0
push 1
call fcn.01007df2
add esp, 0x18
cmp byte [ebp + 8], 0
je 0x1006000
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov eax, dword [0x100b038]
test eax, eax
je 0x1005ea8
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x1005d0e
sub ecx, ebx
sar ecx, 1
je 0x1005ea8
xor ecx, ecx
cmp byte [0x100b711], cl
setne cl
xor ebx, ebx
dec ecx
and ecx, 0xffffffc2
add ecx, 0x61
mov dword [ebp - 8], ecx
cmp dword [0x100b028], ebx
je 0x1005d48
or dword [ebp - 8], 0x80
push eax
push edi
push 0x1002d84
push ebx
call fcn.01007df2
push dword [0x100b038]
push edi
push 0x1002d40
push ebx
call fcn.01007df2
add esp, 0x20
jmp 0x1005d6e
xor ebx, ebx
push 0x100b740
push 0x1001
push ebx
push ebx
push dword [0x100b038]
push ebx
call dword [sym.imp.logoncli.dll_DsGetDcNameW]
mov ebx, eax
test ebx, ebx
je 0x1005dbe
push 5
call esi
push eax
push ebx
push edi
push 0x1002ca0
push 2
call fcn.01007df2
add esp, 0x18
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x668a0
jb 0x1005d6c
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x1005e2c
mov eax, dword [0x100b740]
mov eax, dword [eax]
add eax, 4
push eax
push edi
push 0x1002c60
push ebx
call fcn.01007df2
mov eax, dword [0x100b038]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1005de7
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [0x100b740]
mov eax, dword [eax]
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x1005e01
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
add esi, esi
push esi
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
pop ecx
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x1005e6d
mov dword [ebp - 4], 8
push dword [ebp - 4]
push edi
push 0x1002c08
push 1
call fcn.01007df2
add esp, 0x10
cmp dword [ebp - 0x18], 0
mov esi, dword [sym.imp.msvcrt.dll_free]
je 0x1005e57
cmp dword [ebp - 0xc], 0
je 0x1005e57
push dword [ebp - 0xc]
call esi
pop ecx
cmp dword [ebp - 0x10], 0
je 0x1005e63
push dword [ebp - 0x10]
call esi
pop ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [0x100b740]
mov eax, dword [eax]
add eax, 4
push eax
push dword [0x100b038]
push 0x1002bf4
push esi
push ebx
call fcn.01005c32
add esp, 0x14
test eax, eax
jge 0x1005e9f
push eax
call fcn.01007763
mov dword [ebp - 4], eax
jmp 0x1006000
push ebx
push edi
push 0x1002ba8
jmp 0x1005eb5
mov ebx, dword [0x100b048]
push ebx
push edi
push 0x1002b6c
push 0
call fcn.01007df2
mov eax, dword [0x100b058]
add esp, 0x10
test eax, eax
je 0x1005f4f
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x1005ed1
sub ecx, esi
sar ecx, 1
je 0x1005f4f
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1005ee4
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [0x100b068]
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x1005efc
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
lea esi, [esi + esi + 4]
push esi
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 1
test eax, eax
je 0x1005e25
push dword [0x100b068]
push dword [0x100b058]
push 0x1002bf4
push esi
push eax
call fcn.01005c32
add esp, 0x14
test eax, eax
jge 0x1005f57
jmp 0x1005e91
mov eax, dword [0x100b068]
mov dword [ebp - 0xc], eax
cmp byte [ebp + 8], 0
je 0x1005f73
cmp byte [ebp + 0xc], 0
je 0x1006000
mov dword [ebp - 4], 0x1f
jmp 0x1006000
mov esi, 0x8b0
mov al, byte [0x100b711]
mov ecx, dword [0x100b028]
test al, al
jne 0x1005f8d
mov ecx, dword [0x100b078]
push dword [ebp - 8]
movzx eax, al
neg eax
sbb eax, eax
push ecx
not eax
and eax, dword [ebp - 0xc]
push eax
push dword [0x100b088]
push ebx
push 0
call sub.wkscli.dll_NetJoinDomain
mov dword [ebp - 4], eax
test eax, eax
je 0x100600a
cmp eax, esi
jne 0x1005fce
and dword [ebp - 8], 0xfffffffd
push esi
push edi
push 0x1002aa0
push 2
call fcn.01007df2
add esp, 0x10
jmp 0x1005fec
push 5
push eax
push edi
push 0x1002a18
push 2
call fcn.01007df2
add esp, 0x14
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x668a0
jb 0x1005f78
cmp dword [ebp - 4], 0
jne 0x1005e2c
push edi
push 0x10029dc
push 0
call fcn.01007df2
add esp, 0xc
jmp 0x1005e3f