Function at 0x1003ecb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x101a49d4]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x20], 0
push edi
xor edi, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xf
cmp dword [ebp + 0x18], ebx
jbe 0x1003ed5e
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
mov ecx, 0x101a6370
mov eax, edi
cmovae esi, dword [ebp + 8]
cmp dword [0x101a6384], 0x10
cmovae ecx, dword [0x101a6370]
xor edx, edx
div dword [0x101a6380]
mov dl, byte [edx + ecx]
xor dl, byte [esi + edi]
mov ecx, dword [esp + 0x38]
mov byte [esp + 0xc], dl
cmp ebx, ecx
jae 0x1003ed3b
lea eax, [ebx + 1]
cmp ecx, 0x10
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
mov byte [eax + ebx], dl
mov byte [eax + ebx + 1], 0
jmp 0x1003ed52
push dword [esp + 0xc]
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
call fcn.1005ba70
inc edi
cmp edi, dword [ebp + 0x18]
jae 0x1003ed5e
mov ebx, dword [esp + 0x34]
jmp 0x1003ece4
push 0x28
push str.SoftwareMicrosoftMicrosoft.DiskQuota.7
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xf
call fcn.10056190
cmp dword [esp + 0x50], 0x10
lea ecx, [esp + 0xc]
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push ecx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x1003ee77
cmp dword [esp + 0x38], 0x10
lea ecx, [esp + 0x24]
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x24]
cmovae ecx, dword [esp + 0x24]
add esi, ecx
mov dword [esp + 0x18], 0
cmp dword [esp + 0x38], 0x10
mov edx, esi
mov dword [esp + 0x1c], 0
cmovae eax, dword [esp + 0x24]
xor ebx, ebx
sub edx, eax
mov dword [esp + 0x14], eax
mov ecx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], edx
mov edi, ecx
je 0x1003ee21
push edx
lea ecx, [esp + 0x1c]
call fcn.1005d480
push dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
push ebx
push edi
call fcn.1011b630
mov ecx, edi
add esp, 0xc
sub ecx, ebx
mov ebx, dword [esp + 0x20]
add ecx, esi
sub ecx, edi
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
push ecx
cmovae eax, dword [ebp + 0x20]
push edi
push 3
push 0
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1003ee77
sub ebx, edi
cmp ebx, 0x1000
jb 0x1003ee6d
mov ecx, dword [edi - 4]
add ebx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1003ef7c
mov edi, ecx
push ebx
push edi
call fcn.1011a823
add esp, 8
mov edx, dword [esp + 0x50]
cmp edx, 0x10
jb 0x1003eead
mov ecx, dword [esp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003eea3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ef7c
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [esp + 0x38]
cmp edx, 0x10
jb 0x1003eee3
mov ecx, dword [esp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003eed9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ef81
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], 0
cmp edx, 0x10
jb 0x1003ef28
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ef1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ef81
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x1003ef6a
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ef60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ef81
push edx
push ecx
call fcn.1011a823
add esp, 8
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
call fcn.10125fc5
call fcn.10125fc5
int3