Function at 0x407d90
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cba0
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x46b074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x98], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
cmp dword [esi + 0x10], 0
je 0x4081d0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x407e1b
mov eax, dword [esi]
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x90]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x94]
push ecx
push 1
push eax
call dword [sym.imp.NETAPI32.dll_NetShareEnum]
mov dword [ebp - 0xac], eax
test eax, eax
je 0x407e57
cmp eax, 0xea
jne 0x4081ca
cmp dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], 1
jb 0x4081b3
nop word [eax + eax]
mov edx, dword [eax]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea esi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407ea0
sub eax, esi
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.00401b50
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edi, 8
mov edx, dword [ebp - 0x18]
push 1
push 0x45e898
cmovae ecx, esi
push 0
call fcn.0040a180
add esp, 0xc
cmp eax, 0xffffffff
jne 0x408149
mov esi, dword [ebp - 0xa0]
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 0x2c], 7
mov eax, dword [esi + 0x10]
add eax, 2
push eax
call fcn.0040a410
push 2
push 0x45e89c
lea ecx, [ebp - 0x40]
call fcn.00403590
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x407f27
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.00403590
push 1
push 0x45e7d8
lea ecx, [ebp - 0x40]
call fcn.00403590
mov dword [ebp - 0x60], 0
xor ecx, ecx
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x70]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00403590
mov dword [ebp - 0x48], 0
xor ecx, ecx
mov dword [ebp - 0x44], 0
push 1
movups xmm0, xmmword [eax]
push 0x45e7d8
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x58]
call fcn.00403590
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x98]
movups xmmword [ebp - 0x88], xmm0
movq qword [ebp - 0x78], xmm1
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x40800f
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm1
add dword [ecx + 4], 0x18
jmp 0x408059
lea edx, [ebp - 0x88]
push edx
push eax
call fcn.00403690
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x408059
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40804f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081ed
push edx
push ecx
call fcn.00422d4e
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x408093
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408089
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081ed
push edx
push ecx
call fcn.00422d4e
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x4080e1
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4080d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081ed
push edx
push ecx
call fcn.00422d4e
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x40812f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408125
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081ed
push edx
push ecx
call fcn.00422d4e
add esp, 8
mov edi, dword [ebp - 0x14]
xor eax, eax
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x8c]
add eax, 0xc
mov dword [ebp - 0x8c], eax
cmp edi, 8
jb 0x40818e
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x40817e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081ed
push ecx
push esi
call fcn.00422d4e
mov eax, dword [ebp - 0x8c]
add esp, 8
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, dword [ebp - 0x90]
jbe 0x407e80
mov eax, dword [ebp - 0x94]
mov esi, dword [ebp - 0xa0]
push eax
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
cmp dword [ebp - 0xac], 0xea
je 0x407e11
mov ecx, dword [ebp - 0x98]
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422d0d
mov esp, ebp
pop ebp
ret
call fcn.0043d6f9
int3