Function at 0xd6a27
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x55
push 0
push 0
dec ecx
jne 0xd5d65
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
lea edi, [ebp - 0xa4]
push ecx
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00014218
lea eax, [ebp - 0xa4]
mov edx, dword [0xbdcec]
call fcn.00014a44
xor eax, eax
push ebp
push 0xd6b0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x149c70]
mov eax, dword [eax]
mov edx, 0xd6b28
call fcn.00065094
xor edx, edx
push ebp
push 0xd6a86
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xd6b44
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 8]
call fcn.0001aa1c
push dword [ebp - 0xb8]
push 0xd6b64
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0xb4]
call fcn.0008546c
xor edx, edx
push ebp
push 0xd6a4a
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push eax
push 1
push 0
call sub.netapi32.dll_NetShareEnum
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0xd5e4e
cmp dword [ebp - 0x10], 0xea
jne 0xd6a27
xor edx, edx
push ebp
push 0xd6a20
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0x14], 0
jbe 0xd6a09
mov eax, dword [ebp - 0x14]
dec eax
test eax, eax
jb 0xd6a09
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x20], 0
cmp dword [ebp - 8], 0x3a6
jne 0xd5ef8
push 0xd6b70
mov ebx, dword [ebp - 0x20]
lea ebx, [ebx + ebx*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4 + 4]
lea edx, [ebp - 0xc0]
call fcn.0001aa1c
push dword [ebp - 0xc0]
push 0xd6b88
lea eax, [ebp - 0xc8]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + ebx*4]
call fcn.00013fcc
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.00082d74
push dword [ebp - 0xc4]
push 0xd6ba0
lea eax, [ebp - 0xbc]
mov edx, 5
call fcn.00014124
mov eax, dword [ebp - 0xbc]
call fcn.0008546c
jmp 0xd5f3a
push 0xd6bb8
lea eax, [ebp - 0xd0]
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + edx*4]
call fcn.00013fcc
push dword [ebp - 0xd0]
push 0xd6b64
lea eax, [ebp - 0xcc]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0xcc]
call fcn.0008546c
lea eax, [ebp - 0xd8]
mov ebx, dword [ebp - 0x20]
lea ebx, [ebx + ebx*2]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + ebx*4]
call fcn.00013fcc
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0xd4]
mov edx, 0xd6bd0
call fcn.000140b0
mov edx, dword [ebp - 0xd4]
mov eax, dword [0x149c20]
mov eax, dword [eax]
call fcn.00064894
xor edx, edx
push ebp
push 0xd69f6
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x24]
push eax
push 0x1f6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
push eax
push 0
call sub.netapi32.dll_NetShareGetInfo
test eax, eax
je 0xd5fad
cmp eax, 0xea
jne 0xd69de
xor edx, edx
push ebp
push 0xd69d7
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xd6be8
lea eax, [ebp - 0xe4]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 0x18]
call fcn.00013fcc
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xe0]
call fcn.00082d74
push dword [ebp - 0xe0]
push 0xd6bf8
lea eax, [ebp - 0xdc]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0xdc]
call fcn.0008546c
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 0x24]
test ebx, ebx
je 0xd6557
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call sub.advapi32.dll_GetSecurityDescriptorDacl
test eax, eax
je 0xd67af
cmp dword [ebp - 0x28], 0
je 0xd67af
push 2
push 0xc
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_GetAclInformation
test eax, eax
je 0xd67af
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0xd67af
mov esi, eax
dec esi
test esi, esi
jb 0xd67af
inc esi
xor edi, edi
lea eax, [ebp - 0x34]
push eax
push edi
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_GetAce
test eax, eax
je 0xd6288
mov dword [ebp - 0x38], 0x400
mov dword [ebp - 0x40], 0x400
mov eax, 0x400
call fcn.000127e0
mov ebx, eax
mov eax, 0x400
call fcn.000127e0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
call fcn.00013de4
lea eax, [ebp - 0x4c]
call fcn.00013de4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
mov eax, dword [ebp - 0x34]
add eax, 8
push eax
push 0
call sub.advapi32.dll_LookupAccountSidA
test eax, eax
je 0xd61cf
lea eax, [ebp - 0xec]
mov edx, ebx
call fcn.00013f9c
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
call fcn.0001a4b4
mov eax, dword [ebp - 0xe8]
mov edx, 0xd6c08
call fcn.00014174
jne 0xd6125
lea eax, [ebp - 0x48]
mov edx, ebx
call fcn.00013f9c
jmp 0xd61b6
lea eax, [ebp - 0xf0]
mov edx, dword [ebp - 0x3c]
call fcn.00013f9c
mov eax, dword [ebp - 0xf0]
call fcn.00014064
test eax, eax
jne 0xd616c
push dword [ebp - 4]
push 0xd6c1c
lea eax, [ebp - 0xf4]
mov edx, ebx
call fcn.00013f9c
push dword [ebp - 0xf4]
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00014124
jmp 0xd61b6
lea eax, [ebp - 0x1f8]
mov edx, dword [ebp - 0x3c]
call fcn.00012e40
lea edx, [ebp - 0x1f8]
lea eax, [ebp - 0xf8]
call fcn.00014008
push dword [ebp - 0xf8]
push 0xd6c1c
lea eax, [ebp - 0x1fc]
mov edx, ebx
call fcn.00013f9c
push dword [ebp - 0x1fc]
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00014124
push 0xd6c28
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x5c]
call fcn.000ba200
jmp 0xd61f2
lea eax, [ebp - 0x48]
mov edx, 0xd6c3c
call fcn.00013e7c
lea eax, [ebp - 0x4c]
call fcn.00013de4
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
add eax, 8
call fcn.00072430
mov eax, ebx
call fcn.000127f8
mov eax, dword [ebp - 0x3c]
call fcn.000127f8
lea eax, [ebp - 0x54]
call fcn.00013de4
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov edx, eax
and edx, 0x1f0000
cmp edx, 0x1f0000
jne 0xd622e
lea eax, [ebp - 0x54]
mov edx, 0xd6c4c
call fcn.00013e7c
jmp 0xd625c
mov edx, eax
and edx, 0x16
cmp edx, 0x16
jne 0xd6247
lea eax, [ebp - 0x54]
mov edx, 0xd6c58
call fcn.00013e7c
jmp 0xd625c
and eax, 9
cmp eax, 9
jne 0xd625c
lea eax, [ebp - 0x54]
mov edx, 0xd6c64
call fcn.00013e7c
lea eax, [ebp - 0x50]
call fcn.00013de4
mov eax, dword [ebp - 0x34]
cmp byte [eax], 0
jne 0xd627b
lea eax, [ebp - 0x50]
mov edx, 0xd6c70
call fcn.00013e7c
jmp 0xd6288
lea eax, [ebp - 0x50]
mov edx, 0xd6c80
call fcn.00013e7c
mov eax, 0xd6c90
call fcn.0008546c
lea edx, [ebp - 0x200]
mov eax, dword [ebp - 0x48]
call fcn.0001a4b4
mov eax, dword [ebp - 0x200]
mov edx, 0xd6cb0
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6ccc
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6cdc
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6cf0
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6d00
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6d14
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6d24
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6d34
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6d44
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6d54
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6d68
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6d78
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6d8c
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6da0
call fcn.00014174
je 0xd639c
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6db4
call fcn.00014174
jne 0xd6413
push 0xd6dc4
lea edx, [ebp - 0x208]
mov eax, dword [ebp - 0x48]
call fcn.00082d74
push dword [ebp - 0x208]
push 0xd6dd4
lea eax, [ebp - 0x204]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x204]
call fcn.0008546c
push 0xd6de4
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 0x4c]
call fcn.00082d74
push dword [ebp - 0x210]
push 0xd6df4
lea eax, [ebp - 0x20c]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x20c]
call fcn.0008546c
jmp 0xd64ce
lea eax, [ebp - 0x58]
call fcn.00013de4
mov eax, dword [ebp - 0x4c]
call fcn.00014064
mov ebx, eax
cmp ebx, 1
jl 0xd645c
mov eax, dword [ebp - 0x4c]
cmp byte [eax + ebx - 1], 0x2d
je 0xd645c
lea eax, [ebp - 0x214]
mov edx, dword [ebp - 0x4c]
mov dl, byte [edx + ebx - 1]
call fcn.00013f8c
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
call fcn.000140b0
dec ebx
test ebx, ebx
jne 0xd642a
push 0xd6dc4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 0x48]
call fcn.00082d74
push dword [ebp - 0x21c]
push 0xd6dd4
lea eax, [ebp - 0x218]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x218]
call fcn.0008546c
push 0xd6de4
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 0x58]
call fcn.00082d74
push dword [ebp - 0x224]
push 0xd6df4
lea eax, [ebp - 0x220]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x220]
call fcn.0008546c
push 0xd6e04
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 0x54]
call fcn.00082d74
push dword [ebp - 0x22c]
push 0xd6e18
lea eax, [ebp - 0x228]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x228]
call fcn.0008546c
push 0xd6e2c
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 0x50]
call fcn.00082d74
push dword [ebp - 0x234]
push 0xd6e44
lea eax, [ebp - 0x230]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x230]
call fcn.0008546c
mov eax, 0xd6e5c
call fcn.0008546c
inc edi
dec esi
jne 0xd6072
jmp 0xd67af
lea eax, [ebp - 0x23c]
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + edx*4]
call fcn.00013fcc
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.0001a4b4
mov eax, dword [ebp - 0x238]
push eax
lea edx, [ebp - 0x240]
mov eax, 0xd6e70
call fcn.0001a4b4
mov eax, dword [ebp - 0x240]
pop edx
call fcn.00014350
test eax, eax
jle 0xd66af
mov eax, 0xd6c90
call fcn.0008546c
push 0xd6dc4
lea edx, [ebp - 0x248]
mov eax, 0xd6e80
call fcn.00082d74
push dword [ebp - 0x248]
push 0xd6dd4
lea eax, [ebp - 0x244]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x244]
call fcn.0008546c
push 0xd6de4
lea edx, [ebp - 0x250]
mov eax, 0xd6e90
call fcn.00082d74
push dword [ebp - 0x250]
push 0xd6df4
lea eax, [ebp - 0x24c]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x24c]
call fcn.0008546c
push 0xd6e04
lea edx, [ebp - 0x258]
mov eax, 0xd6c4c
call fcn.00082d74
push dword [ebp - 0x258]
push 0xd6e18
lea eax, [ebp - 0x254]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x254]
call fcn.0008546c
push 0xd6e2c
lea edx, [ebp - 0x260]
mov eax, 0xd6c70
call fcn.00082d74
push dword [ebp - 0x260]
push 0xd6e44
lea eax, [ebp - 0x25c]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x25c]
call fcn.0008546c
mov eax, 0xd6e5c
call fcn.0008546c
jmp 0xd67af
mov eax, 0xd6c90
call fcn.0008546c
push 0xd6dc4
lea edx, [ebp - 0x268]
mov eax, 0xd6e9c
call fcn.00082d74
push dword [ebp - 0x268]
push 0xd6dd4
lea eax, [ebp - 0x264]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x264]
call fcn.0008546c
push 0xd6de4
lea edx, [ebp - 0x270]
mov eax, 0xd6ccc
call fcn.00082d74
push dword [ebp - 0x270]
push 0xd6df4
lea eax, [ebp - 0x26c]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x26c]
call fcn.0008546c
push 0xd6e04
lea edx, [ebp - 0x278]
mov eax, 0xd6eb0
call fcn.00082d74
push dword [ebp - 0x278]
push 0xd6e18
lea eax, [ebp - 0x274]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x274]
call fcn.0008546c
push 0xd6e2c
lea edx, [ebp - 0x280]
mov eax, 0xd6c70
call fcn.00082d74
push dword [ebp - 0x280]
push 0xd6e44
lea eax, [ebp - 0x27c]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x27c]
call fcn.0008546c
mov eax, 0xd6e5c
call fcn.0008546c
lea eax, [ebp - 0x284]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 0x18]
call fcn.000145e0
mov eax, dword [ebp - 0x284]
call fcn.0001463c
dec eax
jle 0xd697f
lea eax, [ebp - 0x28c]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 0x18]
call fcn.00013fcc
mov ecx, dword [ebp - 0x28c]
lea eax, [ebp - 0x288]
mov edx, 0xd6ebc
call fcn.000140b0
mov edx, dword [ebp - 0x288]
mov eax, dword [0x149c20]
mov eax, dword [eax]
call fcn.00064894
lea eax, [ebp - 0xa4]
push eax
push 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x290]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 0x18]
call fcn.00013fcc
mov ecx, dword [ebp - 0x290]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
call fcn.000c887c
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp + 0xc]
call fcn.000cc6b0
mov eax, dword [ebp - 0x64]
call fcn.0001657c
mov esi, eax
test esi, esi
jl 0xd6990
inc esi
xor ebx, ebx
lea edi, [ebx + ebx*2]
mov eax, dword [ebp - 0x64]
cmp dword [eax + edi*8 + 8], 0
je 0xd6975
mov eax, 0xd6ed4
call fcn.0008546c
push 0xd6de4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + edi*8]
lea edx, [ebp - 0x298]
call fcn.00082d74
push dword [ebp - 0x298]
push 0xd6df4
lea eax, [ebp - 0x294]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x294]
call fcn.0008546c
push 0xd6dc4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + edi*8 + 4]
lea edx, [ebp - 0x2a0]
call fcn.00082d74
push dword [ebp - 0x2a0]
push 0xd6dd4
lea eax, [ebp - 0x29c]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x29c]
call fcn.0008546c
push 0xd6e04
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + edi*8 + 8]
lea edx, [ebp - 0x2a8]
call fcn.00082d74
push dword [ebp - 0x2a8]
push 0xd6e18
lea eax, [ebp - 0x2a4]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x2a4]
call fcn.0008546c
push 0xd6e2c
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + edi*8 + 0xc]
lea edx, [ebp - 0x2b0]
call fcn.00082d74
push dword [ebp - 0x2b0]
push 0xd6e44
lea eax, [ebp - 0x2ac]
mov edx, 3
call fcn.00014124
mov eax, dword [ebp - 0x2ac]
call fcn.0008546c
mov eax, 0xd6e5c
call fcn.0008546c
inc ebx
dec esi
jne 0xd685d
jmp 0xd6990
mov eax, dword [0x149c20]
mov eax, dword [eax]
mov edx, 0xd6ef4
call fcn.00064894
push 0
lea eax, [ebp - 0x60]
mov ecx, 1
mov edx, dword [0xcefc8]
call fcn.00016730
add esp, 4
push 0
lea eax, [ebp - 0x64]
mov ecx, 1
mov edx, dword [0xcefc8]
call fcn.00016730
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xd69de
mov eax, dword [ebp - 0x24]
push eax
call sub.netapi32.dll_NetApiBufferFree_3
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xd69fd
mov eax, 0xd6f14
call fcn.0008546c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xd6a27
mov eax, dword [ebp - 0xc]
push eax
call sub.netapi32.dll_NetApiBufferFree_3
ret
cmp dword [ebp - 0x10], 0xea
je 0xd5e1d
mov eax, dword [0x149c70]
mov eax, dword [eax]
call fcn.000650e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xd6a6e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xd6a8d
mov eax, 0xd6f28
call fcn.0008546c
ret