Function at 0x411210
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42858b
mov eax, dword fs:[0]
push eax
sub esp, 0x8a8
mov eax, dword [0x524104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x89c], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x8b0], ecx
mov dword [ebp - 0x8ac], edx
mov dword [ebp - 0x8a8], eax
mov dword [ebp - 0x898], edi
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x630], 0xf
mov byte [ebp - 0x644], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x8a4], 0
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 0x8a0], 0
mov byte [ebp - 4], 1
test ecx, ecx
je 0x411739
test edx, edx
je 0x41172e
test ebx, ebx
je 0x41172e
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x41172e
test eax, eax
je 0x41172e
test edi, edi
je 0x41172e
push 0x5c
push ecx
call sub.VCRUNTIME140.dll_wcsrchr
add esp, 8
test eax, eax
je 0x41172e
lea ecx, [ebp - 0x424]
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x411300
mov esi, dword [ebp - 0x8a8]
lea edx, [ebp - 0x62c]
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x411320
push dword [ebp - 0x8ac]
push dword [ebp - 0x8b0]
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x4113dd
push esi
mov esi, dword [ebp - 0x89c]
mov ecx, esi
call fcn.0040f560
lea edx, [esi + 0x2b470]
lea edi, [edx - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x411363
mov eax, dword [0x42dc1c]
mov esi, ebx
mov dword [edi], eax
nop dword [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x411380
sub ebx, esi
lea edi, [edx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411390
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
add edx, 0xfffffffe
rep movsb byte es:[edi], byte [esi]
nop dword [eax]
mov ax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x4113b0
mov eax, dword [0x42dc1c]
lea ecx, [ebp - 0x644]
mov esi, dword [ebp - 0x898]
mov edi, edx
mov dword [edi], eax
call fcn.00401810
mov eax, esi
jmp 0x41173b
lea eax, [ebp - 0x644]
push eax
push 2
call fcn.0041e0f0
add esp, 8
test eax, eax
jne 0x41172e
cmp dword [ebp - 0x630], 0x10
lea esi, [ebp - 0x644]
jb 0x41140f
mov esi, dword [ebp - 0x644]
test esi, esi
je 0x41144c
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411414
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x89c], eax
cmp eax, 0x3fffffff
jle 0x411431
xor eax, eax
jmp 0x41144c
add eax, eax
call fcn.00425b70
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push dword [ebp - 0x89c]
push esi
push eax
call fcn.004019a0
lea ecx, [ebp - 0x8a4]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41172e
lea eax, [ebp - 0x8a0]
mov dword [ebp - 0x8a0], 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x8b4]
push eax
push 0
push str.OtherVCIsLogFileLocation
push dword [ebp - 0x8a4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41172e
lea ecx, [ebp - 0x21c]
mov edx, edi
mov eax, ecx
sub edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4114b4
lea eax, [ebp - 0x424]
push eax
call fcn.0041a8d0
mov edx, eax
add esp, 4
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4114d7
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4114f0
mov ecx, edx
lea eax, [ebp - 0x894]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
lea eax, [ebp - 0x21c]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x41153b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x898]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x411541
mov esi, dword [ebp - 0x898]
lea edi, [esi - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x411544
mov eax, dword [0x42dc1c]
mov dword [edi], eax
lea eax, [ebp - 0x62c]
push eax
call fcn.0041a8d0
mov edx, eax
add esp, 4
mov ecx, edx
mov dword [ebp - 0x89c], ecx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x411570
sub edx, ecx
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411580
mov esi, dword [ebp - 0x89c]
lea eax, [ebp - 0x894]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x898]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x411698
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [esi - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4115d0
mov eax, dword [0x42dc1c]
lea ecx, [esi - 2]
mov dword [edi], eax
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4115e6
mov eax, dword [str.Logs]
mov dword [ecx], eax
mov eax, dword [0x42ed70]
mov dword [ecx + 4], eax
mov ax, word [0x42ed74]
push 0
push esi
mov word [ecx + 8], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [esi - 2]
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x411620
mov eax, dword [0x42dc1c]
mov edx, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x411635
sub ebx, edx
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411645
mov ecx, ebx
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x898]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [esi - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x411673
mov eax, dword [0x42dc1c]
lea ecx, [ebp - 0x644]
mov dword [edi], eax
call fcn.00401810
mov eax, esi
jmp 0x41173b
lea ecx, [esi - 2]
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4116a0
mov eax, dword [str.Logs_]
mov edx, ebx
mov dword [ecx], eax
mov eax, dword [0x42ed7c]
mov dword [ecx + 4], eax
mov eax, dword [0x42ed80]
mov dword [ecx + 8], eax
mov ax, word [0x42ed84]
mov word [ecx + 0xc], ax
nop
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4116d0
sub ebx, edx
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4116e0
mov ecx, ebx
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x898]
lea edi, [esi - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x411705
mov ecx, dword [0x42dc1c]
mov dword [edi], ecx
lea ecx, [ebp - 0x644]
call fcn.00401810
mov eax, esi
jmp 0x41173b
lea ecx, [ebp - 0x644]
call fcn.00401810
xor eax, eax
lea esp, [ebp - 0x8c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00425b22
mov esp, ebp
pop ebp
ret 0x18