Function at 0x103298e
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x1099a38]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp + 0x18]
shr eax, 8
push eax
mov dword [ebp - 0x218], ecx
mov ecx, dword [ebp + 0x1c]
push ecx
xor ebx, ebx
push 0x100a564
mov edi, 0x1106960
push edi
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
call esi
add esp, 0x14
push ebx
lea eax, [ebp - 0x210]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x1032a1e
push eax
push edi
push 0x100a520
call fcn.01071ac0
add esp, 0xc
jmp 0x1032bf2
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.ntdll.dll_NtQuerySystemTime]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.ntdll.dll_RtlTimeToTimeFields]
movsx eax, word [ebp - 0x234]
push eax
movsx eax, word [ebp - 0x230]
push eax
movsx eax, word [ebp - 0x232]
push eax
lea eax, [ebp - 0x20c]
push 0x100a510
push eax
call esi
lea eax, [ebp - 0x20c]
add esp, 0x14
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1032a71
sub eax, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc eax
push eax
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
push eax
push 1
push ebx
push 0x100a500
push dword [ebp - 0x210]
call esi
cmp eax, ebx
je 0x1032ab0
push eax
push 0x100a4b0
call fcn.01071ac0
pop ecx
pop ecx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
mov dword [ebp - 0x214], 0x104
call sub.MPR.dll_WNetGetUserA
test eax, eax
je 0x1032ae8
mov eax, dword [0x100a4a8]
mov dword [ebp - 0x108], eax
mov eax, dword [0x100a4ac]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1032af1
sub eax, edx
inc eax
push eax
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x108]
push eax
push 1
push ebx
push 0x100a49c
push dword [ebp - 0x210]
call esi
cmp eax, ebx
je 0x1032b2a
push eax
push 0x100a450
call fcn.01071ac0
pop ecx
pop ecx
cmp dword [ebp + 0x10], ebx
je 0x1032b7d
push 0xfffa
push edi
push 0x100a43c
push dword [ebp - 0x21c]
call fcn.01070fc9
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1032b4a
sub eax, ecx
inc eax
push eax
push edi
push 1
push ebx
push 0x100a428
push dword [ebp - 0x210]
mov dword [ebp - 0x214], eax
call esi
cmp eax, ebx
je 0x1032b7d
push eax
push 0x100a3d8
call fcn.01071ac0
pop ecx
pop ecx
mov eax, dword [ebp - 0x218]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1032b86
sub eax, edi
inc eax
push eax
push dword [ebp - 0x218]
mov dword [ebp - 0x214], eax
push 1
push ebx
push 0x100a3c8
push dword [ebp - 0x210]
call esi
cmp eax, ebx
je 0x1032bbe
push eax
push 0x100a3d8
call fcn.01071ac0
pop ecx
pop ecx
push 0xd
push 0x100a3b8
push 1
push ebx
push 0x100a3b0
push dword [ebp - 0x210]
call esi
cmp eax, ebx
je 0x1032be6
push eax
push 0x100a3d8
call fcn.01071ac0
pop ecx
pop ecx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0106bc50
leave
ret 0x18