Function at 0x47dce0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x10
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
mov dword [ebp + 0x964], edi
mov dword [esp + 0x14], edi
mov byte [esp + 0x10], 0
call fcn.004015b0
lea esi, [ebp + 0x30]
push 0x4ac580
mov ecx, esi
call fcn.0040a7c0
push 0x4ac58c
mov ecx, esi
mov dword [ebp + 0x928], eax
call fcn.0040a7c0
push 0x4ac5a0
mov ecx, esi
mov dword [ebp + 0x92c], eax
call fcn.0040a7c0
push str.sharecontrol
mov ecx, esi
mov dword [ebp + 0x930], eax
call fcn.0040a7c0
push str.sharemod
mov ecx, esi
mov dword [ebp + 0x934], eax
call fcn.0040a7c0
push str.shareread
mov ecx, esi
mov dword [ebp + 0x938], eax
call fcn.0040a7c0
push str.Filecontrol
mov ecx, esi
mov dword [ebp + 0x93c], eax
call fcn.0040a7c0
push str.Filemod
mov ecx, esi
mov dword [ebp + 0x940], eax
call fcn.0040a7c0
push str.FileReadAndExc
mov ecx, esi
mov dword [ebp + 0x944], eax
call fcn.0040a7c0
push str.FileList
mov ecx, esi
mov dword [ebp + 0x948], eax
call fcn.0040a7c0
push str.Fileread
mov ecx, esi
mov dword [ebp + 0x94c], eax
call fcn.0040a7c0
push str.FileWrite
mov ecx, esi
mov dword [ebp + 0x950], eax
call fcn.0040a7c0
push 0x4ac674
mov ecx, esi
mov dword [ebp + 0x954], eax
call fcn.0040a7c0
push 0x4ac680
mov ecx, esi
mov dword [ebp + 0x958], eax
call fcn.0040a7c0
push 0x4ac68c
mov ecx, esi
mov dword [ebp + 0x95c], eax
call fcn.0040a7c0
mov dword [ebp + 0x960], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x110]
push 1
call eax
lea ecx, [esp + 0xc]
push ecx
mov dword [ebp + 0x968], edi
mov dword [esp + 0x10], edi
push 0x1f6
lea edx, [ebp + 0x96c]
push edx
push edi
call sub.NETAPI32.dll_NetShareGetInfo
mov ecx, dword [ebp + 0x95c]
test eax, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
jne 0x47e049
push 0x4ac6a4
call edx
mov ecx, dword [ebp + 0x930]
mov edx, dword [esp + 0xc]
mov dword [ebp + 0x964], edi
mov eax, dword [ecx]
mov edx, dword [edx + 0x18]
mov eax, dword [eax + 0x2c]
push edx
call eax
mov ecx, dword [ebp + 0x928]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [eax]
mov edx, dword [edx + 0x2c]
push eax
call edx
mov ecx, dword [ebp + 0x928]
mov eax, dword [ecx]
mov edx, dword [eax + 0x110]
push edi
call edx
mov ecx, dword [ebp + 0x92c]
mov edx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [edx + 8]
mov eax, dword [eax + 0x2c]
push edx
call eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x10]
cmp eax, 0xa
ja 0x47ded4
je 0x47decf
sub eax, 1
je 0x47deca
sub eax, 4
jne 0x47ded9
push edi
push 3
jmp 0x47dee0
push edi
push 4
jmp 0x47dee0
push edi
push 2
jmp 0x47dee0
cmp eax, 0x14
je 0x47dedd
push edi
push edi
jmp 0x47dee0
push edi
push 1
mov eax, dword [ebp + 0x958]
mov edx, dword [eax + 0x698]
lea ecx, [eax + 0x698]
mov eax, dword [edx + 0xc]
call eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x4ac6b4
push ecx
call fcn.004779a0
add esp, 0x10
test eax, eax
je 0x47df2c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, ebp
call fcn.0047d6d0
jmp 0x47df65
mov ecx, dword [ebp + 0x934]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c8]
push 1
push edi
call eax
mov ecx, dword [ebp + 0x938]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c8]
push 1
push edi
call eax
mov ecx, dword [ebp + 0x93c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c8]
push 1
push edi
call eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [eax + 0x18]
lea edx, [esp + 0x18]
push edx
push 0x4ac6c8
push ecx
call fcn.00479b20
add esp, 0x10
test eax, eax
je 0x47df9b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, ebp
call fcn.0047d840
jmp 0x47e00d
mov ecx, dword [ebp + 0x940]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c8]
push 1
push edi
call eax
mov ecx, dword [ebp + 0x944]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c8]
push 1
push edi
call eax
mov ecx, dword [ebp + 0x948]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c8]
push 1
push edi
call eax
mov ecx, dword [ebp + 0x94c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c8]
push 1
push edi
call eax
mov ecx, dword [ebp + 0x950]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c8]
push 1
push edi
call eax
mov ecx, dword [ebp + 0x954]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c8]
push 1
push edi
call eax
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 4], edi
je 0x47e038
mov ecx, dword [ebp + 0x960]
mov edx, dword [ecx]
mov eax, dword [edx + 0x110]
push edi
call eax
mov ecx, dword [ebp + 4]
push 0x4ac6dc
push ecx
call fcn.004772b0
add esp, 8
mov edx, dword [esp + 0xc]
push edx
call sub.NETAPI32.dll_NetApiBufferFree
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push ebx
push 0x4ac6f4
call edx
mov eax, dword [ebp + 0x958]
lea ecx, [eax + 0x698]
mov dword [ebp + 0x964], 1
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push edi
push edi
call edx
mov ecx, dword [ebp + 0x934]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c8]
push 1
push 1
call edx
mov ecx, dword [ebp + 0x938]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c8]
push 1
push 1
call edx
mov ecx, dword [ebp + 0x93c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c8]
push 1
push 1
call edx
mov ecx, dword [ebp + 0x940]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c8]
push 1
push 1
call edx
mov ecx, dword [ebp + 0x944]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c8]
push 1
push 1
call edx
mov ecx, dword [ebp + 0x948]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c8]
push 1
push 1
call edx
mov ecx, dword [ebp + 0x94c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c8]
push 1
push 1
call edx
mov ecx, dword [ebp + 0x950]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c8]
push 1
push 1
call edx
mov ecx, dword [ebp + 0x954]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c8]
push 1
push 1
call edx
mov ecx, dword [ebp + 0x930]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
lea esi, [ebp + 0xb74]
push esi
call edx
lea ebx, [ebp + 0xf84]
mov ecx, 0x82
mov edi, ebx
push 0x208
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0xd7c]
push 0
push edi
call fcn.00487630
push edi
push ebx
call fcn.0046e980
mov ecx, dword [ebp + 0x928]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
add esp, 0x14
push edi
call edx
xor eax, eax
lea esi, [ebp + 0x118c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x208
push 0
push ebx
call fcn.00487630
push edi
push esi
push 0x4ac704
push 0x208
push ebx
call fcn.00466960
mov ebp, dword [ebp + 0x92c]
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
add esp, 0x20
push ebx
mov ecx, ebp
call eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x10
ret