Function at 0x42d5f0
Capabilities:
Enumerate network shares

Disassembly:
push 0xffffffffffffffff
push 0x47c580
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
xor ebx, ebx
cmp eax, ebx
jne 0x42d637
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov edx, dword [eax + 0x1060]
lea ecx, [esp + 0x28]
push ecx
push edx
push ebx
push ebx
push 2
mov dword [esp + 0x2c], 0x4000
mov dword [esp + 0x30], 0xffffffff
call sub.MPR.dll_WNetOpenEnumA
test eax, eax
jne 0x42d621
mov eax, dword [esp + 0x18]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esp + 0x18]
push ecx
mov ebp, eax
push ebx
push ebp
call fcn.0045d2b0
mov ecx, dword [esp + 0x34]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push ebp
lea eax, [esp + 0x24]
push eax
push ecx
call sub.MPR.dll_WNetEnumResourceA
mov esi, eax
mov dword [esp + 0x30], esi
call fcn.00434e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x42d874
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
cmp esi, ebx
mov dword [esp + 0x3c], ebx
jne 0x42d826
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
jbe 0x42d81f
lea esi, [ebp + 8]
lea ebx, [ebx]
call fcn.00434e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x42d874
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x24]
push 0x482aa0
push edx
mov byte [esp + 0x48], 1
call fcn.00401c20
mov ecx, dword [esi + 0x14]
add esp, 0xc
cmp ecx, ebx
jne 0x42d729
xor eax, eax
jmp 0x42d73b
mov eax, ecx
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x42d730
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401910
cmp dword [esi], 1
jne 0x42d799
push str.winhjtools.dll
lea eax, [esp + 0x30]
push 0x4aa948
push eax
call fcn.00401d00
mov eax, dword [eax]
mov ecx, dword [esi + 0xc]
add esp, 0xc
push eax
push ecx
push str.Name
push str.GROUP
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d799
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], ebx
jl 0x42d87e
cmp byte [edi], 0x5c
jne 0x42d7bd
push 0x483238
lea ecx, [esp + 0x18]
call fcn.0042a7b0
mov edi, dword [esp + 0x14]
test byte [esi + 4], 2
jne 0x42d7c9
test byte [esi - 4], 5
je 0x42d7df
mov eax, dword [esp + 0x44]
lea ecx, [esi - 8]
push eax
mov dword [eax + 0x1060], ecx
call fcn.0042d5f0
add esp, 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x3c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d803
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 1
add esi, 0x20
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jb 0x42d6e0
mov esi, dword [esp + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [edi - 0x10]
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d84a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0x103
jne 0x42d660
mov ecx, dword [esp + 0x28]
push ecx
call sub.MPR.dll_WNetCloseEnum
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0x80004005
call fcn.00401000
push 0x80070057
call fcn.00401000
int3