Function at 0x1001b51
Capabilities:
List domain servers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x648
mov eax, dword [0x1004048]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0x640], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x62c], eax
xor eax, eax
mov dword [ebp - 0x624], eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x634], eax
mov dword [ebp - 0x644], eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
push 0xa
push dword [0x1004b0c]
mov dword [ebp - 0x630], ebx
call esi
push edi
lea eax, [ebp - 0x414]
push eax
push 0xb
push dword [0x1004b0c]
call esi
lea eax, [ebp - 0x20c]
push eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
call ebx
lea eax, [ebp - 0x644]
push eax
push dword [ebp - 0x62c]
lea eax, [ebp - 0x648]
push 2
push eax
lea eax, [ebp - 0x628]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x624]
push eax
push 0x65
push 0
call sub.NETAPI32.dll_NetServerEnum
test eax, eax
mov dword [ebp - 0x62c], eax
je 0x1001c4a
cmp eax, 0xea
je 0x1001c4a
push edi
lea eax, [ebp - 0x414]
push eax
push 0xe
push dword [0x1004b0c]
call esi
push dword [ebp - 0x62c]
lea eax, [ebp - 0x414]
push eax
push 0x10011fc
jmp 0x1001dab
mov eax, dword [ebp - 0x624]
test eax, eax
mov dword [ebp - 0x638], eax
je 0x1001dde
cmp dword [ebp - 0x628], 0
jbe 0x1001d5a
mov dword [ebp - 0x620], 1
mov dword [ebp - 0x63c], 0x64
mov eax, dword [ebp - 0x638]
test eax, eax
je 0x1001d5a
push dword [eax + 4]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.ntdll.dll_wcscpy]
mov eax, dword [ebp - 0x620]
test eax, eax
pop ecx
pop ecx
jbe 0x1001cf4
xor edx, edx
mov ecx, 0x1f4
div ecx
test edx, edx
jne 0x1001cf4
push dword [ebp - 0x620]
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x63c]
div dword [ebp - 0x628]
push eax
lea eax, [ebp - 0x20c]
push 0x10011dc
push eax
call dword [sym.imp.ntdll.dll_swprintf]
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x630]
call ebx
lea eax, [ebp - 0x61c]
push eax
push 0xffffffffffffffff
push 0x18f
push dword [ebp - 0x640]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x1001d2d
lea eax, [ebp - 0x61c]
push eax
push 0
push 0x180
push dword [ebp - 0x640]
call dword [sym.imp.USER32.dll_SendMessageW]
add dword [ebp - 0x638], 0x18
inc dword [ebp - 0x634]
inc dword [ebp - 0x620]
add dword [ebp - 0x63c], 0x64
mov eax, dword [ebp - 0x620]
dec eax
cmp eax, dword [ebp - 0x628]
jb 0x1001c7f
cmp dword [ebp - 0x62c], 0xea
jne 0x1001d87
push edi
lea eax, [ebp - 0x20c]
push eax
push 0xd
push dword [0x1004b0c]
call esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x630]
call ebx
push edi
lea eax, [ebp - 0x414]
push eax
push 0xc
push dword [0x1004b0c]
call esi
push dword [ebp - 0x634]
lea eax, [ebp - 0x414]
push eax
push 0x10011cc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ntdll.dll_swprintf]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x630]
call ebx
cmp dword [ebp - 0x624], 0
je 0x1001dde
push dword [ebp - 0x624]
call sub.NETAPI32.dll_NetApiBufferFree
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.0100342a
leave
ret 0xc