Function at 0x5383e0
Capabilities:
Enumerate network shares
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff6b8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x948], ecx
mov dword [ebp - 0x93c], ecx
mov dword [ebp - 0x944], ecx
mov dword [ebp - 0x940], ecx
mov dword [ebp - 0x938], ecx
mov dword [ebp - 0x92c], ecx
mov dword [ebp - 0x928], ecx
mov dword [ebp - 0x18], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x538727
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5542b4]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x1a], ax
xor edx, edx
push ebp
push 0x5386ea
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x5542b4]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004623e8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
test edi, edi
je 0x53846e
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, 5
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
push eax
call sub.mpr.dll_WNetOpenEnumA
cmp dword [ebp - 0xc], 0
jbe 0x5386cc
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x800
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x821]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.mpr.dll_WNetEnumResourceA
xor edx, edx
push ebp
push 0x5386c5
push dword fs:[edx]
mov dword fs:[edx], esp
lea ebx, [ebp - 0x821]
mov dword [ebp - 0x20], 0xff
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x922]
push eax
call sub.kernel32.dll_GetComputerNameA
cmp dword [ebp - 0x20], 0
jbe 0x538560
mov eax, dword [ebp - 0x20]
mov byte [ebp + eax - 0x922], 0
lea eax, [ebp - 0x928]
lea edx, [ebp - 0x922]
mov ecx, 0x101
call fcn.004045f0
mov edx, dword [ebp - 0x928]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test edi, edi
je 0x538560
lea eax, [ebp - 0x922]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x538557
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x92c]
call fcn.00404578
mov edx, dword [ebp - 0x92c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x538560
xor edx, edx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x934], eax
xor eax, eax
mov dword [ebp - 0x930], eax
fild qword [ebp - 0x934]
fdiv dword [0x538738]
call fcn.00402c20
mov esi, eax
dec esi
test esi, esi
jl 0x5386ae
inc esi
cmp dword [ebx + 0xc], 2
jne 0x5386a4
cmp dword [ebx + 4], 0
jne 0x5386a4
cmp dword [ebx + 0x14], 0
je 0x5386a4
lea eax, [ebp - 0x18]
mov edx, dword [ebx + 0x14]
call fcn.00404578
lea eax, [ebp - 0x938]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.004048a0
mov eax, dword [ebp - 0x938]
mov edx, 0x538744
call fcn.0040478c
jne 0x538600
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404640
mov ecx, eax
sub ecx, 2
mov edx, 3
mov eax, dword [ebp - 0x18]
call fcn.004048a0
lea eax, [ebp - 0x940]
lea edx, [ebp - 0x922]
mov ecx, 0x101
call fcn.004045f0
mov eax, dword [ebp - 0x940]
lea edx, [ebp - 0x93c]
call fcn.00408c18
mov eax, dword [ebp - 0x93c]
push eax
lea edx, [ebp - 0x944]
mov eax, dword [ebp - 0x18]
call fcn.00408c18
mov edx, dword [ebp - 0x944]
pop eax
call fcn.0040478c
je 0x5386a4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test edi, edi
je 0x5386a4
mov eax, dword [ebp - 0x18]
call fcn.00404840
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x53869b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x948]
call fcn.00404578
mov edx, dword [ebp - 0x948]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x5386a4
xor edx, edx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
add ebx, 0x20
dec esi
jne 0x53858e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5386cc
mov eax, dword [ebp - 0xc]
push eax
call sub.mpr.dll_WNetCloseEnum
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5386f1
mov eax, dword [0x5542b4]
mov eax, dword [eax]
mov dx, word [ebp - 0x1a]
call fcn.004623e8
ret