Function at 0x10004fd6
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2b1c
call fcn.1001c1e0
mov eax, dword [0x1006a098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x2b03]
push 0x27ff
push ebx
push eax
mov byte [ebp - 0x2b04], bl
call fcn.10019f50
mov edi, 0xfe
mov dword [ebp - 0x2b10], ebx
push edi
lea eax, [ebp - 0x203]
mov byte [ebp - 0x204], bl
push ebx
push eax
mov esi, ebx
call fcn.10019f50
push edi
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], bl
push ebx
push eax
call fcn.10019f50
add esp, 0x24
mov dword [ebp - 0x2b14], ebx
lea eax, [ebp - 0x2b14]
push eax
push ebx
push ebx
call sub.NETAPI32.dll_NetUserModalsGet
test eax, eax
jne 0x1000508d
cmp dword [0x1006d34c], 6
jl 0x10005082
mov eax, dword [ebp - 0x2b14]
xor edx, edx
mov ecx, 0x15180
mov eax, dword [eax + 4]
div ecx
push eax
push str.Maximum_password_age__d_:__d_n
call fcn.100024d3
pop ecx
pop ecx
mov eax, dword [ebp - 0x2b14]
mov ebx, dword [eax + 4]
jmp 0x100050aa
cmp dword [0x1006d34c], 6
jl 0x100050a1
push str.Could_not_find_MaxPasswordAge
call fcn.100024d3
pop ecx
mov eax, dword [ebp - 0x2b14]
or ebx, 0xffffffff
test eax, eax
je 0x100050b4
push eax
call sub.NETAPI32.dll_NetApiBufferFree
and dword [ebp - 0x2b0c], 0
lea eax, [ebp - 0x2b0c]
push eax
lea eax, [ebp - 0x2b10]
push eax
push 0xffffffffffffffff
push 0x3e8
push esi
push 1
push 0
call sub.NETAPI32.dll_NetQueryDisplayInformation
cmp dword [ebp - 0x2b10], 0
mov edi, eax
mov dword [ebp - 0x2b1c], edi
je 0x10005533
mov edi, dword [ebp - 0x2b0c]
add edi, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x204]
xor ecx, ecx
push ecx
push ecx
push 0xfe
push eax
push 0xffffffffffffffff
push dword [edi - 0xc]
mov dword [ebp - 0x2b08], ecx
push ecx
push ecx
call esi
xor ecx, ecx
lea eax, [ebp - 0x104]
push ecx
push ecx
push 0xfe
push eax
push 0xffffffffffffffff
push dword [edi - 8]
push ecx
push ecx
call esi
xor esi, esi
mov dword [ebp - 0x2b18], pe_nt_image_headers32
push esi
push esi
lea eax, [ebp - 0x2b18]
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.100092c3
add esp, 0x14
lea eax, [ebp - 0x104]
cmp byte [ebp - 0x104], 0
je 0x1000518a
mov cl, byte [eax]
cmp cl, 9
je 0x10005181
cmp cl, 0xa
je 0x10005181
cmp cl, 0xd
jne 0x10005184
mov byte [eax], 0x20
inc eax
cmp byte [eax], 0
jne 0x10005170
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x104]
push eax
push dword [edi]
lea eax, [ebp - 0x204]
push eax
push str._s_t_S___s__t_s
push 0xffffffffffffffff
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a28e
add esp, 0x20
lea eax, [ebp - 0x2b08]
push eax
push 2
push dword [edi - 0xc]
push esi
call sub.NETAPI32.dll_NetUserGetInfo
test eax, eax
jne 0x100054c7
mov eax, dword [ebp - 0x2b08]
test eax, eax
je 0x100054c7
test dword [eax + 0x18], 0x100
je 0x1000520e
push 0xffffffffffffffff
push str._tTEMP_DUPLICATE_ACCOUNT
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test dword [eax + 0x18], 0x1000
je 0x10005238
push 0xffffffffffffffff
push str._tWORKSTATION_TRUST_ACCOUNT
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test dword [eax + 0x18], 0x2000
je 0x10005262
push 0xffffffffffffffff
push str._tSERVER_TRUST_ACCOUNT
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test dword [eax + 0x18], 0x800
je 0x1000528c
push 0xffffffffffffffff
push str._tINTERDOMAIN_TRUST_ACCOUNT
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test byte [eax + 0x18], 2
je 0x100052b3
push 0xffffffffffffffff
push str._tACCOUNTDISABLE
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test byte [eax + 0x18], 0x20
je 0x100052da
push 0xffffffffffffffff
push str._tPASSWD_NOTREQD
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test byte [eax + 0x18], 0x40
je 0x10005301
push 0xffffffffffffffff
push str._tPASSWD_CANT_CHANGE
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test byte [eax + 0x18], 0x10
je 0x10005328
push 0xffffffffffffffff
push str._tLOCKOUT
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test dword [eax + 0x18], 0x10000
je 0x10005352
push 0xffffffffffffffff
push str._tDONT_EXPIRE_PASSWD
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test byte [eax + 0x18], 0x80
je 0x10005379
push 0xffffffffffffffff
push str._tENCRYPTED_TEXT_PASSWORD_ALLOWED
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test dword [eax + 0x18], 0x100000
je 0x100053a3
push 0xffffffffffffffff
push str._tNOT_DELEGATED
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test dword [eax + 0x18], 0x40000
je 0x100053cd
push 0xffffffffffffffff
push str._tSMARTCARD_REQUIRED
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test dword [eax + 0x18], 0x200000
je 0x100053f7
push 0xffffffffffffffff
push str._tUSE_DES_KEY_ONLY
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test dword [eax + 0x18], 0x400000
je 0x10005421
push 0xffffffffffffffff
push str._tDONT_REQUIRE_PREAUTH
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test dword [eax + 0x18], 0x80000
je 0x1000544b
push 0xffffffffffffffff
push str._tTRUSTED_FOR_DELEGATION
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test dword [eax + 0x18], 0x800000
je 0x10005475
push 0xffffffffffffffff
push str._tPASSWORD_EXPIRED
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
test dword [eax + 0x18], 0x1000000
je 0x1000549f
push 0xffffffffffffffff
push str._tTRUSTED_TO_AUTHENTICATE_FOR_DELEGATION
lea eax, [ebp - 0x2b04]
push 0x2800
push eax
call fcn.1001a319
mov eax, dword [ebp - 0x2b08]
add esp, 0x10
push dword [eax + 0x34]
push dword [eax + 0x3c]
push ebx
push dword [eax + 8]
lea eax, [ebp - 0x2b04]
push eax
push str._s_t_d:_d:_d:_d_n
push 0xffffffffffffffff
push 0x2800
push eax
call fcn.1001a28e
add esp, 0x24
jmp 0x100054e4
push ebx
lea eax, [ebp - 0x2b04]
push eax
push str._s_t_1:_d:_1:_1_n
push 0xffffffffffffffff
push 0x2800
push eax
call fcn.1001a28e
add esp, 0x18
cmp dword [ebp - 0x2b08], esi
je 0x100054f7
push dword [ebp - 0x2b08]
call sub.NETAPI32.dll_NetApiBufferFree
lea ecx, [ebp - 0x2b04]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005500
push esi
sub ecx, edx
lea eax, [ebp - 0x2b04]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
mov esi, dword [edi + 8]
add edi, 0x18
dec dword [ebp - 0x2b10]
jne 0x100050f8
mov edi, dword [ebp - 0x2b1c]
cmp dword [ebp - 0x2b0c], 0
je 0x10005547
push dword [ebp - 0x2b0c]
call sub.NETAPI32.dll_NetApiBufferFree
cmp edi, 0xea
je 0x100050b4
push 0
push 1
push 0x1004cc7c
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001890f
mov esp, ebp
pop ebp
ret