Function at 0x44c6d0
Capabilities:
Check if file exists
Create directory
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fe90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4c448c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
push eax
push 0x20019
push eax
push eax
push eax
push str.SoftwareProcessLasso
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0xd], 0
mov word [ebx], ax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x44c73f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
push ebx
lea edx, [ebp - 0x1c]
push edx
push 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push str.ConfigFile
push eax
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44c97b
mov byte [ebp - 0xd], 1
cmp word [ebx], ax
je 0x44c97b
cmp dword [ebp - 0x14], eax
je 0x44c97b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44c97b
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c7a0
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047125f
mov edi, eax
mov edx, edi
add esp, 4
mov eax, ebx
sub edx, ebx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x44c7d1
lea esi, [ebp - 0x44]
call fcn.00453380
mov eax, edi
mov dword [ebp - 4], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c7f4
sub eax, edx
sar eax, 1
lea esi, [eax - 1]
test esi, esi
je 0x44c865
lea ebx, [ebx]
movzx eax, word [edi + esi*2]
cmp eax, 0x5c
je 0x44c81e
cmp eax, 0x2f
jne 0x44c824
xor eax, eax
mov word [edi + esi*2], ax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, edi
call fcn.00402ba0
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00453d20
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c862
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
dec esi
jne 0x44c810
cmp dword [ebp - 0x34], 0
je 0x44c950
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.004544a0
mov ecx, dword [eax]
test ecx, ecx
jne 0x44c88a
xor edx, edx
jmp 0x44c88c
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x44c8a0
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00403e10
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44c8c7
push 0
push esi
call ebx
cmp dword [ebp - 0x34], 0
je 0x44c927
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov ecx, eax
shr ecx, 2
mov ecx, dword [edx + ecx*4]
and eax, 3
lea eax, [ecx + eax*4]
mov eax, dword [eax]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44c8ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
inc eax
lea edx, [ecx*4]
mov dword [ebp - 0x38], eax
cmp edx, eax
ja 0x44c91b
mov dword [ebp - 0x38], 0
dec dword [ebp - 0x34]
jne 0x44c927
mov dword [ebp - 0x38], 0
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c943
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x34], 0
jne 0x44c875
mov ebx, dword [ebp + 8]
push edi
call fcn.00472958
add esp, 4
lea esi, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.00453e10
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00472958
add esp, 4
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0042e970
mov al, byte [ebp - 0xd]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8