Function at 0x413030
Capabilities:
Enumerate network shares

Disassembly:
push 0xffffffffffffffff
push 0x452b60
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470ee4]
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 0x413077
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 + 0xd64]
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 0x413061
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.0043bc20
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.00414eb4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4132b4
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 0x413266
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
jbe 0x41325f
lea esi, [ebp + 8]
lea ebx, [ebx]
call fcn.00414eb4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4132b4
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 0x459b30
push edx
mov byte [esp + 0x48], 1
call fcn.00401d40
mov ecx, dword [esi + 0x14]
add esp, 0xc
cmp ecx, ebx
jne 0x413169
xor eax, eax
jmp 0x41317b
mov eax, ecx
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x413170
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401a30
cmp dword [esi], 1
jne 0x4131d9
push str.hjjm.dat
lea eax, [esp + 0x30]
push 0x4723c8
push eax
call fcn.00401e20
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 0x4131d9
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 0x4132be
cmp byte [edi], 0x5c
jne 0x4131fd
push 0x45a7fc
lea ecx, [esp + 0x18]
call fcn.004119d0
mov edi, dword [esp + 0x14]
test byte [esi + 4], 2
jne 0x413209
test byte [esi - 4], 5
je 0x41321f
mov eax, dword [esp + 0x44]
lea ecx, [esi - 8]
push eax
mov dword [eax + 0xd64], ecx
call fcn.00413030
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 0x413243
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 0x413120
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 0x41328a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0x103
jne 0x4130a0
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