Function at 0x464d30
Capabilities:
Enumerate network shares

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4b39fc]
xor eax, esp
mov dword [esp + 0x128], eax
push ebp
push esi
xor ebp, ebp
push edi
mov esi, ecx
mov edi, 1
push 0x4926d0
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
call fcn.00467d80
mov eax, dword [esi + 0x89c]
lea ecx, [eax + 0x550]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
add esp, 4
call edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
push 0x1f6
push ebp
call sub.NETAPI32.dll_NetShareEnum
test eax, eax
jne 0x465004
mov dword [esp + 0x18], edi
cmp dword [esp + 0x10], edi
jb 0x464ffa
mov edi, dword [esp + 0x1c]
add edi, 0x24
push ebx
nop
mov ecx, dword [edi]
push ecx
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_IsValidSecurityDescriptor]
test eax, eax
je 0x464e37
lea edx, [esp + 0x30]
push edx
mov edx, dword [edi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
test eax, eax
je 0x464e37
mov eax, dword [esp + 0x10]
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 4]
jae 0x464e37
lea esp, [esp]
lea edx, [esp + 0x18]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x464e30
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 4]
inc esi
cmp esi, ecx
jl 0x464e10
jmp 0x464e37
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + 4]
push 0x40
lea eax, [esp + 0x7c]
push ebp
push eax
call fcn.00477820
add esp, 0xc
cmp ebx, 0x1f01ff
jne 0x464e56
push 0x4926e0
jmp 0x464e8d
cmp ebx, 0x1301bf
jne 0x464e6f
push 0x4926ec
push 0x40
lea edx, [esp + 0x80]
push edx
jmp 0x464e97
cmp ebx, 0x1200a9
jne 0x464e88
push 0x4926f4
push 0x40
lea eax, [esp + 0x80]
push eax
jmp 0x464e97
push 0x4926fc
push 0x40
lea ecx, [esp + 0x80]
push ecx
call fcn.004649e0
add esp, 0xc
push 0x40
lea edx, [esp + 0x3c]
push ebp
push edx
call fcn.00477820
mov eax, dword [edi - 0x20]
add esp, 0xc
cmp eax, 0x40000000
ja 0x464eff
je 0x464ef8
cmp eax, 3
ja case.default.0x464ec0
jmp dword [eax*4 + 0x46501c]
push 0x492704
push 0x40
lea eax, [esp + 0x40]
push eax
jmp 0x464f35
push 0x492710
jmp 0x464f2e
push 0x49271c
push 0x40
lea edx, [esp + 0x40]
push edx
jmp 0x464f35
push 0x492728
push 0x40
lea eax, [esp + 0x40]
push eax
jmp 0x464f35
push 0x492740
jmp 0x464f2e
cmp eax, 0x80000000
je 0x464f29
cmp eax, reloc.WS2_32.dll_closesocket
je 0x464f1b
push 0x492764
push 0x40
lea edx, [esp + 0x40]
push edx
jmp 0x464f35
push 0x492758
push 0x40
lea eax, [esp + 0x40]
push eax
jmp 0x464f35
push 0x49274c
push 0x40
lea ecx, [esp + 0x40]
push ecx
call fcn.004649e0
add esp, 0xc
push 0x40
lea edx, [esp + 0xfc]
push ebp
push edx
call fcn.00477820
mov eax, dword [edi - 0x10]
push eax
push 0x492770
lea ecx, [esp + 0x10c]
push 0x40
push ecx
call fcn.004649e0
push 0x40
lea edx, [esp + 0xd8]
push ebp
push edx
call fcn.00477820
mov eax, dword [edi - 0x14]
add esp, 0x28
cmp eax, 0xffffffff
jne 0x464f99
push 0x492778
lea eax, [esp + 0xbc]
push 0x40
push eax
call fcn.004649e0
add esp, 0xc
jmp 0x464fb1
push eax
push 0x492780
lea ecx, [esp + 0xc0]
push 0x40
push ecx
call fcn.004649e0
add esp, 0x10
mov edx, dword [edi - 0x1c]
push edx
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x100]
push ecx
mov ecx, dword [edi - 0xc]
lea edx, [esp + 0x44]
push edx
mov edx, dword [edi - 0x24]
lea eax, [esp + 0x88]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push edx
call fcn.00463e40
mov eax, dword [esp + 0x1c]
inc eax
add edi, 0x28
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x14]
jbe 0x464dd0
pop ebx
mov eax, dword [esp + 0x1c]
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004771de
add esp, 0x12c
ret