Function at 0x103dcc4
Capabilities:
Create directory
Get session information
Get session user name
Persist via run registry key

Disassembly:
push 0x4c
mov eax, 0x105e409
call fcn.0104dc9c
xor ebx, ebx
mov esi, 0x1066af4
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
call fcn.010442ec
mov dword [ebp - 4], ebx
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.010442ec
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.010442ec
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.010442ec
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.010442ec
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.010442ec
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.010442ec
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.010442ec
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.010442ec
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
call fcn.010455d0
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103dde4
push 0x1004858
push 0x100d850
push eax
call fcn.01048c52
add esp, 0xc
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov byte [ebp - 4], bl
jmp 0x103e343
push 0x5c
lea ecx, [ebp - 0x30]
call fcn.01030b8e
push 0x100d828
lea ecx, [ebp - 0x30]
call fcn.01030c38
mov esi, 0x1066894
push 0x5c
mov ecx, esi
call fcn.010381fa
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.010340a7
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.01030ac4
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.0102fb3e
lea eax, [ebp - 0x30]
push eax
call fcn.010400f5
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, ebx
jne 0x103de83
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, ebx
jle 0x103de5e
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x103de6c
mov dword [ebp - 0x14], 0x80004005
push 0x100d7c8
push 0x100d7a4
call esi
push eax
call fcn.01048d15
jmp 0x103dd81
push 0x1001b30
lea eax, [ebp - 0x1c]
push eax
call fcn.010450a3
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103dea7
push 0x1001ae0
push 0x100d784
jmp 0x103dd7b
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.010381fa
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.010340a7
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.01030ac4
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.0102fb3e
mov edi, 0x100d768
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.010450a3
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103deff
push 0x100d718
push 0x100d6f4
jmp 0x103dd7b
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0103ff32
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103df31
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
push 0x100d6a0
push 0x100d67c
push eax
call fcn.01048c52
add esp, 0x14
jmp 0x103dd84
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0103ff32
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103df57
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push 0x100d628
push 0x100d604
jmp 0x103df23
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.0103ff32
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103df7d
push dword [ebp - 0x30]
push dword [0x1066894]
push 0x100d5b0
push 0x100d590
jmp 0x103df23
push 0x1001b30
lea ecx, [ebp - 0x4c]
call fcn.01031375
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0xc
call fcn.010416e8
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 9
call fcn.0102fb3e
cmp dword [ebp - 0x14], ebx
jge 0x103dfce
push dword [ebp - 0x30]
push dword [ebp - 0x24]
push 0x100d528
push 0x100d508
push dword [ebp - 0x14]
jmp 0x103df24
push 0x100d4f0
lea ecx, [ebp - 0x4c]
call fcn.01031375
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0xd
call fcn.010416e8
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 9
call fcn.0102fb3e
cmp dword [ebp - 0x14], ebx
jge 0x103e019
push dword [ebp - 0x30]
push dword [ebp - 0x28]
push 0x100d488
push 0x100d464
jmp 0x103dfc6
push edi
push dword [ebp - 0x30]
mov edi, 0x1003e38
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.01030c5e
mov esi, dword [ebp - 0x38]
add esp, 0x10
push dword [0x10668bc]
lea eax, [ebp - 0x18]
push dword [0x10668dc]
push esi
push 0x100d428
push eax
call fcn.01030c5e
add esp, 0x14
mov ecx, 0x1066980
call fcn.01039f74
cmp eax, ebx
je 0x103e06b
push 0x1002c98
lea ecx, [ebp - 0x18]
call fcn.01030c38
cmp dword [0x10668f8], ebx
je 0x103e080
push 0x100d410
lea ecx, [ebp - 0x18]
call fcn.01030c38
cmp dword [0x1066900], ebx
jne 0x103e27d
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
push 5
push 0xffffffffffffffff
push ebx
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
cmp eax, ebx
jne 0x103e11a
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, ebx
jle 0x103e0b8
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x103e0c6
mov dword [ebp - 0x14], 0x80004005
push 0x100d3dc
push 0x100d3bc
call edi
push eax
call fcn.01048d15
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0102fb3e
lea ecx, [esi - 0x10]
jmp 0x103ddc1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
push eax
push 7
push 0xffffffffffffffff
push ebx
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
cmp eax, ebx
jne 0x103e163
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, ebx
jle 0x103e146
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x103e154
mov dword [ebp - 0x14], 0x80004005
push 0x100d384
push 0x100d364
jmp 0x103e0d0
push dword [ebp - 0x44]
lea eax, [ebp - 0x34]
push dword [ebp - 0x48]
push edi
push eax
call fcn.01030c5e
mov edi, dword [ebp - 0x34]
add esp, 0x10
lea eax, [ebp - 0x3c]
push eax
push edi
push ebx
call fcn.01042a46
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103e1c8
push edi
push 0x100d318
push 0x100d2f8
push eax
call fcn.01048c52
add esp, 0x10
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0102fb3e
lea ecx, [edi - 0x10]
jmp 0x103e102
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
call sub.ADVAPI32.dll_ConvertSidToStringSidW
cmp eax, ebx
jne 0x103e215
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x103e1ec
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x103e1fa
mov dword [ebp - 0x14], 0x80004005
push 0x100d2bc
push 0x100d29c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01048d15
add esp, 0xc
jmp 0x103e19f
push dword [ebp - 0x40]
lea eax, [ebp - 0x20]
push 0x100d230
push eax
call fcn.01030c5e
add esp, 0xc
push dword [ebp - 0x18]
push 0x100d218
push dword [ebp - 0x20]
push 0x80000003
call fcn.0104368a
cmp eax, ebx
jge 0x103e297
push 0x100d1b0
lea ecx, [ebp - 0x20]
call fcn.01030b1b
push dword [ebp - 0x18]
push 0x100d218
push dword [ebp - 0x20]
push 0x80000002
call fcn.0104368a
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103e297
push 0x100d178
push 0x100d158
push eax
call fcn.01048c52
jmp 0x103e210
push dword [ebp - 0x18]
push 0x100d138
push 0x100c420
push 0x80000002
call fcn.0104368a
mov edi, dword [ebp - 0x34]
push 1
push 1
push 0x100d134
push 0x100d0a8
push 0x80000002
call fcn.0104359c
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103e2b9
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0102fb3e
lea ecx, [edi - 0x10]
call fcn.0102fb3e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0102fb3e
lea ecx, [esi - 0x10]
call fcn.0102fb3e
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov dword [ebp - 4], ebx
jmp 0x103e343
cmp dword [ebp - 0x14], ebx
jge 0x103e376
push 0x100d134
push 0x100d0a8
mov esi, 0x80000002
push esi
call fcn.01043781
push 0x100d218
push 0x100d1b0
push esi
call fcn.01043781
lea eax, [ebp - 0x30]
push eax
call fcn.010400f5
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x40]
call sub.WTSAPI32.dll_WTSFreeMemory
push dword [ebp - 0x44]
call sub.WTSAPI32.dll_WTSFreeMemory
push dword [ebp - 0x48]
call sub.WTSAPI32.dll_WTSFreeMemory
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov eax, dword [ebp - 0x14]
call fcn.0104dd50
ret