Function at 0x101cefa
Capabilities:
Delete registry key
Enumerate network shares

Disassembly:
push 0x74
mov eax, 0x10402e4
call fcn.01001f29
mov dword [ebp - 0x4c], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], ebx
mov edi, 0x20019
push edi
push 0x100c7a8
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.01003af9
test eax, eax
jne 0x101cf5a
lea eax, [ebp - 0x44]
push eax
push 0x101d6e0
lea ecx, [ebp - 0x38]
call fcn.01003b35
cmp dword [ebp - 0x44], ebx
je 0x101cf5a
lea ecx, [ebp - 0x38]
call fcn.01004400
mov eax, ebx
jmp 0x101d586
mov dword [ebp - 0x34], ebx
push edi
push 0x100af48
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.01003af9
test eax, eax
jne 0x101cf9a
lea eax, [ebp - 0x3c]
push eax
push 0x1007424
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], ebx
call fcn.01003b35
cmp dword [ebp - 0x3c], ebx
jne 0x101cf9a
lea ecx, [ebp - 0x34]
call fcn.01004400
xor ebx, ebx
inc ebx
jmp 0x101cf4b
mov byte [ebp - 0x12], bl
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x40]
push eax
push 0x10067e8
push 0x17
push ebx
push 0x101d6d0
mov byte [ebp - 4], 8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x18], edi
jl 0x101d0a8
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push 0x100b2b4
push eax
call dword [ecx + 0x28]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x18], edi
jl 0x101d0a8
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x70]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x18], edi
jl 0x101d0a8
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push 0x101d620
push esi
lea ecx, [ebp - 0x28]
call fcn.010043ac
mov edi, eax
neg edi
sbb edi, edi
and edi, 0x80004005
mov dword [ebp - 0x18], edi
jl 0x101d0a8
mov dword [ebp - 0x3c], ebx
mov esi, 0x104d19c
mov dword [ebp - 0x2c], ebx
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.01003395
push dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
push 0x1007550
push eax
mov byte [ebp - 4], 0xa
call fcn.0100930f
add esp, 0xc
push 0x20019
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x28]
call fcn.01003af9
test eax, eax
je 0x101d1ac
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.01002480
lea ecx, [ebp - 0x2c]
call fcn.01004400
cmp edi, ebx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
jl 0x101d528
push ebx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
push 2
push ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x11], bl
call sub.NETAPI32.dll_NetShareEnum
test eax, eax
jne 0x101d528
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x18], ebx
jl 0x101d224
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x48]
jae 0x101d224
mov esi, eax
mov eax, dword [ebp - 0x1c]
shl esi, 5
add eax, esi
cmp dword [eax + 4], ebx
jne 0x101d1a4
push dword [eax + 0x18]
call fcn.0101cca4
cmp al, bl
je 0x101d1a4
mov eax, dword [ebp - 0x1c]
push dword [esi + eax]
lea ecx, [ebp - 0x3c]
call fcn.01003615
push 1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
call fcn.01009243
push 0x24
push eax
call fcn.0101ca6d
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 0x14], al
call fcn.01002480
cmp byte [ebp - 0x14], bl
je 0x101d195
xor edi, edi
cmp edi, dword [ebp - 0x6c]
jae 0x101d195
push edi
lea ecx, [ebp - 0x70]
call fcn.01002989
mov ecx, dword [ebp - 0x1c]
push dword [esi + ecx + 0x18]
mov ecx, eax
call fcn.01003b74
test eax, eax
jne 0x101d21e
mov eax, dword [ebp - 0x1c]
push dword [esi + eax + 0x18]
lea ecx, [ebp - 0x80]
call fcn.0100944c
push 1
push edi
lea ecx, [ebp - 0x70]
call fcn.0101cbfe
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.01002480
inc dword [ebp - 0x2c]
jmp 0x101d0e2
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x48], 0x104
call fcn.01003395
push 0x104
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.010034bd
lea ecx, [ebp - 0x48]
push ecx
push eax
push 0x10038e8
lea ecx, [ebp - 0x2c]
call fcn.0101c7d9
test eax, eax
jne 0x101d1fb
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.0101c9ff
push dword [ebp - 0x24]
lea ecx, [ebp - 0x70]
call fcn.0100944c
inc dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.01002480
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.01002480
lea ecx, [ebp - 0x2c]
call fcn.01004400
jmp 0x101d052
inc edi
jmp 0x101d157
xor edi, edi
cmp edi, dword [ebp - 0x6c]
jae 0x101d2af
push 0x104d19c
lea ecx, [ebp - 0x3c]
call fcn.01003395
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xe
call fcn.01002989
push dword [eax]
lea eax, [ebp - 0x3c]
push 0x101d608
push eax
call fcn.0100930f
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x20]
mov byte [ebp - 0x11], bl
call fcn.0101cd57
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x48]
cmp byte [ebp - 0x11], bl
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x12], 1
je 0x101d299
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x24]
mov dword [ebp - 0x18], eax
lea ecx, [esi - 0x10]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0xc
call fcn.01002480
inc edi
jmp 0x101d226
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x70]
call fcn.01009204
cmp byte [ebp - 0x11], bl
je 0x101d2eb
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x101d2d8
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x70]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x18], ebx
jl 0x101d453
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x48]
jae 0x101d453
mov esi, eax
mov eax, dword [ebp - 0x1c]
shl esi, 5
add eax, esi
cmp dword [eax + 4], ebx
jne 0x101d44b
push dword [eax + 0x18]
call fcn.0101cca4
cmp al, bl
je 0x101d44b
mov eax, dword [ebp - 0x1c]
push dword [esi + eax]
lea ecx, [ebp - 0x3c]
call fcn.01003615
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
call fcn.01009243
push 0x24
push eax
call fcn.0101ca6d
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 0x14], al
call fcn.01002480
cmp byte [ebp - 0x14], bl
je 0x101d43c
push 0x104d19c
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], bl
call fcn.01003395
mov eax, dword [ebp - 0x1c]
push dword [esi + eax + 0x18]
lea eax, [ebp - 0x24]
push 0x101d608
push eax
mov byte [ebp - 4], 0x10
call fcn.0100930f
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
lea eax, [ebp - 0x13]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0101cd57
cmp eax, ebx
sete al
cmp al, bl
je 0x101d3bd
cmp byte [ebp - 0x13], bl
je 0x101d3bd
cmp byte [ebp - 0x14], bl
jne 0x101d431
xor edi, edi
cmp edi, dword [ebp - 0x7c]
jae 0x101d3e2
push edi
lea ecx, [ebp - 0x80]
call fcn.01002989
mov ecx, dword [ebp - 0x1c]
push dword [esi + ecx + 0x18]
mov ecx, eax
call fcn.01003b74
test eax, eax
je 0x101d431
inc edi
jmp 0x101d3bf
xor al, al
cmp al, bl
jne 0x101d431
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.0101cb61
push eax
lea ecx, [ebp - 0x24]
call fcn.0100523a
push 0x1011ab4
lea ecx, [ebp - 0x24]
call fcn.0101cbaf
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
push 1
push dword [ebp - 0x24]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
push dword [esi + eax + 0x18]
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x11], 1
mov byte [ebp - 0x12], 1
call fcn.0100944c
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.01002480
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.01002480
inc dword [ebp - 0x2c]
jmp 0x101d2ee
cmp byte [ebp - 0x11], bl
je 0x101d464
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov dword [ebp - 0x18], eax
cmp byte [ebp - 0x12], bl
je 0x101d514
xor edi, edi
cmp edi, dword [ebp - 0x54]
jae 0x101d4b3
push 0x104d19c
lea ecx, [ebp - 0x4c]
call fcn.01003395
push edi
lea eax, [ebp - 0x4c]
push 0x1007550
push eax
mov byte [ebp - 4], 0x11
call fcn.0100930f
mov esi, dword [ebp - 0x4c]
add esp, 0xc
push esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0xc
call fcn.01002480
inc edi
jmp 0x101d46f
xor edi, edi
cmp edi, dword [ebp - 0x7c]
jae 0x101d514
mov dword [ebp - 0x2c], ebx
push 0x104d19c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
call fcn.01003395
push edi
lea eax, [ebp - 0x4c]
push 0x1007550
push eax
mov byte [ebp - 4], 0x13
call fcn.0100930f
mov esi, dword [ebp - 0x4c]
add esp, 0xc
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push esi
push dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
call fcn.010043ac
test eax, eax
je 0x101d58c
lea ecx, [esi - 0x10]
call fcn.01002480
lea ecx, [ebp - 0x2c]
call fcn.01004400
mov dword [ebp - 4], 8
cmp dword [ebp - 0x1c], ebx
je 0x101d528
push dword [ebp - 0x1c]
call sub.NETAPI32.dll_NetApiBufferFree
lea ecx, [ebp - 0x28]
call fcn.01004400
lea ecx, [ebp - 0x80]
call fcn.010028a0
lea ecx, [ebp - 0x70]
call fcn.010028a0
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x101d551
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x101d562
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x101d573
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x34]
call fcn.01004400
lea ecx, [ebp - 0x38]
call fcn.01004400
mov eax, dword [ebp - 0x18]
call fcn.01001740
ret
push 0x104d19c
lea ecx, [ebp - 0x54]
call fcn.01003395
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x14
call fcn.01002989
mov eax, dword [eax]
push 1
push eax
push 0x10038e8
lea ecx, [ebp - 0x2c]
call fcn.0100755b
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.01002480
lea ecx, [esi - 0x10]
call fcn.01002480
lea ecx, [ebp - 0x2c]
call fcn.01004400
inc edi
jmp 0x101d4b5