Function at 0x4ae200
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], 1
je 0x4ae222
mov dword [ebp - 0xc], 2
jmp 0x4ae558
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [ebp - 8], 0
je 0x4ae3a8
cmp dword [eax + 0x10], 0x100
jne 0x4ae3a8
lea eax, [ebp + 0x10]
push eax
mov eax, 4
lea ebx, [ebp + 0x14]
call fcn.004ac560
mov eax, dword [ebp + 0x14]
xor edi, edi
add esp, 4
cmp eax, edi
je 0x4ae4d9
mov ecx, dword [eax + 0x10]
cmp ecx, 0xffff
je 0x4ae4d7
cmp ecx, 0x600
je 0x4ae4d7
mov ebx, 1
test byte [0x5ff7fc], bl
jne 0x4ae2a6
or dword [0x5ff7fc], ebx
push 0x579f20
mov dword [0x5ff7f8], edi
call fcn.00566258
mov eax, dword [ebp + 0x14]
add esp, 4
mov ecx, 2
test byte [0x5ff7fc], cl
jne 0x4ae2cf
or dword [0x5ff7fc], ecx
push 0x579f00
mov dword [0x5ff7f4], edi
call fcn.00566258
mov eax, dword [ebp + 0x14]
add esp, 4
mov ecx, dword [0x5ff7f8]
cmp ecx, edi
je 0x4ae2f9
cmp ecx, eax
jne 0x4ae2f9
mov eax, dword [0x5ff7f4]
cmp eax, edi
je 0x4ae2f9
cmp dword [eax + 0x10], 0x600
jne 0x4ae2f9
add dword [eax], ebx
mov dword [ebp - 4], eax
jmp 0x4ae4e1
lea ebx, [ebp + 0x14]
mov edi, 0x5ff7f8
call fcn.004abdf0
mov eax, dword [ebp + 0x14]
mov esi, dword [eax + 0x10]
cmp esi, 0x600
je 0x4ae35f
mov eax, ebx
call fcn.004abb10
test al, al
jne 0x4ae35c
mov ecx, dword [ebp + 0x14]
push 0x600
mov eax, esi
call fcn.00528e50
mov esi, dword [0x5ff7f4]
add esp, 4
test esi, esi
mov edi, eax
je 0x4ae342
call fcn.004ab850
test edi, edi
mov dword [0x5ff7f4], edi
mov dword [ebp - 4], edi
je 0x4ae352
add dword [edi], 1
mov esi, dword [ebp + 0x14]
test esi, esi
jmp 0x4ae4e6
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4ae36e
mov esi, dword [eax + 4]
mov edi, dword [eax + 0xc]
add esi, 1
jmp 0x4ae375
xor edi, edi
mov esi, 0x57e81c
mov eax, 0x5ff7f4
call fcn.004ab970
mov eax, dword [0x5ff7f4]
test eax, eax
je 0x4ae394
mov dword [eax + 0x10], 0x600
mov eax, dword [0x5ff7f4]
test eax, eax
mov dword [ebp - 4], eax
je 0x4ae39e
add dword [eax], 1
mov esi, dword [ebp + 0x14]
test esi, esi
jmp 0x4ae4e6
lea ecx, [ebp + 0x10]
push ecx
mov eax, 2
lea ebx, [ebp + 0x14]
call fcn.004ac560
mov eax, dword [ebp + 0x14]
xor edi, edi
add esp, 4
cmp eax, edi
je 0x4ae4d9
mov ecx, dword [eax + 0x10]
cmp ecx, 0xffff
je 0x4ae4d7
cmp ecx, 0x600
je 0x4ae4d7
mov ebx, 1
test byte [0x5ff7fc], bl
jne 0x4ae40d
or dword [0x5ff7fc], ebx
push 0x579f20
mov dword [0x5ff7f8], edi
call fcn.00566258
mov eax, dword [ebp + 0x14]
add esp, 4
mov ecx, 2
test byte [0x5ff7fc], cl
jne 0x4ae436
or dword [0x5ff7fc], ecx
push 0x579f00
mov dword [0x5ff7f4], edi
call fcn.00566258
mov eax, dword [ebp + 0x14]
add esp, 4
mov ecx, dword [0x5ff7f8]
cmp ecx, edi
je 0x4ae460
cmp ecx, eax
jne 0x4ae460
mov eax, dword [0x5ff7f4]
cmp eax, edi
je 0x4ae460
cmp dword [eax + 0x10], 0x600
jne 0x4ae460
add dword [eax], ebx
mov dword [ebp - 4], eax
jmp 0x4ae4e1
lea ebx, [ebp + 0x14]
mov edi, 0x5ff7f8
call fcn.004abdf0
mov eax, dword [ebp + 0x14]
mov esi, dword [eax + 0x10]
cmp esi, 0x600
je 0x4ae48d
mov eax, ebx
call fcn.004abb10
test al, al
je 0x4ae31f
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4ae49c
mov esi, dword [eax + 4]
mov edi, dword [eax + 0xc]
add esi, 1
jmp 0x4ae4a3
xor edi, edi
mov esi, 0x57e81c
mov eax, 0x5ff7f4
call fcn.004ab970
mov eax, dword [0x5ff7f4]
test eax, eax
je 0x4ae4c2
mov dword [eax + 0x10], 0x600
mov eax, dword [0x5ff7f4]
test eax, eax
mov dword [ebp - 4], eax
je 0x4ae352
add dword [eax], 1
mov esi, dword [ebp + 0x14]
test esi, esi
jmp 0x4ae4e6
cmp eax, edi
mov dword [ebp - 4], eax
je 0x4ae4ed
add dword [eax], 1
mov esi, dword [ebp + 0x14]
cmp esi, edi
je 0x4ae4ed
call fcn.004ab850
lea ebx, [ebp - 4]
lea edi, [ebp - 8]
call fcn.004abdf0
mov esi, dword [ebp - 4]
test esi, esi
je 0x4ae504
call fcn.004ab850
xor edi, edi
mov esi, 0x58b638
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 0
call fcn.004ab970
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x4ae528
mov dword [esi + 0x10], 0x600
lea ecx, [ebp + 0x14]
lea eax, [ebp - 8]
call fcn.004acb80
test eax, eax
sete bl
test esi, esi
je 0x4ae541
call fcn.004ab850
test bl, bl
je 0x4ae54c
mov dword [ebp - 0xc], 7
mov esi, dword [ebp - 8]
test esi, esi
je 0x4ae558
call fcn.004ab850
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0x10]
call fcn.004abc10
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4ae57f
cmp dword [eax + 0x10], 0x100
mov ebx, dword [eax + 0xc]
jne 0x4ae583
mov edi, dword [eax + 4]
add edi, 1
jmp 0x4ae5a4
xor ebx, ebx
jmp 0x4ae59f
xor esi, esi
push 0x2cf
push str.........UniversalREALstring.cpp
mov edx, 0x57e0a8
lea ecx, [esi + 4]
call fcn.004f1fc0
add esp, 8
mov edi, 0x5f4c08
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0xc]
call fcn.004abc10
mov eax, dword [eax]
test eax, eax
je 0x4ae5e3
cmp dword [eax + 0x10], 0x100
jne 0x4ae5c7
mov eax, dword [eax + 4]
add eax, 1
jmp 0x4ae5e8
xor esi, esi
push 0x2cf
push str.........UniversalREALstring.cpp
mov edx, 0x57e0a8
lea ecx, [esi + 4]
call fcn.004f1fc0
add esp, 8
mov eax, 0x5f4c08
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add ebx, 2
push ebx
push edi
push ecx
push 0
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp - 8]
test eax, eax
sete bl
test esi, esi
je 0x4ae611
call fcn.004ab850
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x4ae61d
call fcn.004ab850
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4ae629
call fcn.004ab850
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4ae635
call fcn.004ab850
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10