Function at 0x4243d0
Capabilities:
Delete registry key
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x529c18
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea eax, [esp + 0x54]
mov edi, 1
push eax
mov ecx, str.Keyboard_LayoutPreload_
mov dword [esp + 0x40], edi
call fcn.00402550
xor esi, esi
mov dword [esp + 0x80], esi
call fcn.004c43b0
mov dword [esp + 0x20], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], eax
mov dword [esp + 0x24], esi
mov byte [esp + 0x80], 1
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x44]
push ecx
push edx
push 0x80000001
mov dword [esp + 0x50], esi
call dword [0x531018]
cmp eax, esi
jne 0x42472e
mov eax, dword [0x5759e8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5759e8
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], esi
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x80], 2
mov dword [esp + 0x48], edi
jmp 0x4244b0
mov eax, dword [esp + 0x48]
push eax
push 0x542480
lea edi, [esp + 0x20]
call fcn.00401f20
add esp, 8
xor eax, eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x48]
push eax
push esi
push ecx
push edx
mov dword [esp + 0x40], 0x18
call dword [0x531040]
cmp eax, esi
jne 0x424706
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x5c]
call fcn.00402550
lea edi, [esp + 0x14]
mov byte [esp + 0x80], 3
call fcn.0040d1b0
mov ecx, dword [0x576728]
mov ebx, dword [ecx]
mov esi, 0x576724
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
test esi, esi
mov edi, dword [0x576728]
je 0x424556
cmp esi, 0x576724
je 0x42455b
call fcn.00500ad0
cmp ebx, edi
je 0x42465e
test esi, esi
jne 0x42456c
call fcn.00500ad0
cmp ebx, dword [esi + 4]
jne 0x424576
call fcn.00500ad0
cmp dword [ebx + 0x10], 0
jne 0x4245f1
mov edx, dword [0x5759e8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5759e8
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x80], 4
cmp ebx, dword [esi + 4]
jne 0x4245a5
call fcn.00500ad0
mov ecx, dword [ebx + 0x54]
push ecx
push str._08X
lea edi, [esp + 0x38]
call fcn.00401f20
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
push edx
push edi
call fcn.005006a9
add esp, 0x10
test eax, eax
je 0x424607
lea eax, [edi - 0x10]
mov byte [esp + 0x80], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4245f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x34]
call fcn.00426dc0
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
jmp 0x424544
cmp ebx, dword [esi + 4]
jne 0x424611
call fcn.00500ad0
cmp dword [ebx + 0x5c], 0
je 0x424638
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x1c]
call fcn.00425de0
mov edi, eax
lea eax, [esp + 0x14]
call fcn.00401dd0
add dword [esp + 0x2c], 1
mov edi, dword [esp + 0x30]
lea eax, [edi - 0x10]
mov byte [esp + 0x80], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4246c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4246c6
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x1c]
call fcn.00425de0
mov ecx, dword [esp + 0x14]
mov edi, eax
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x4246c1
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4246b6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4246b6
call fcn.004020b0
mov dword [esp + 0x30], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4246ab
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x30]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x4246c1
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004026c0
add dword [esp + 0x2c], 1
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4246ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 1
xor esi, esi
cmp eax, 0x3e8
mov dword [esp + 0x48], eax
jl 0x4244b0
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42472e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
push ecx
call dword [0x531004]
mov edx, dword [0x576728]
mov edi, dword [edx]
mov ebx, 0x576724
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov edi, edi
cmp ebx, esi
mov eax, dword [0x576728]
mov dword [esp + 0x4c], eax
je 0x424765
cmp ebx, 0x576724
je 0x42476a
call fcn.00500ad0
cmp edi, dword [esp + 0x4c]
je 0x4248bd
cmp ebx, esi
jne 0x42477d
call fcn.00500ad0
cmp edi, dword [ebx + 4]
jne 0x424787
call fcn.00500ad0
cmp dword [edi + 0x10], esi
jne 0x4248a5
cmp edi, dword [ebx + 4]
jne 0x42479a
call fcn.00500ad0
cmp dword [edi + 0x5c], esi
je 0x4248a5
mov edx, dword [0x5759e8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5759e8
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x80], 5
cmp edi, dword [ebx + 4]
jne 0x4247cc
call fcn.00500ad0
mov ecx, dword [edi + 0x54]
push ecx
push str._08X
lea edi, [esp + 0x30]
call fcn.00401f20
mov edi, dword [esp + 0x30]
add esp, 8
cmp dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
jbe 0x42481a
nop
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
call fcn.00425de0
mov eax, dword [eax]
push edi
push eax
call fcn.005006a9
add esp, 8
test eax, eax
je 0x424881
add esi, 1
cmp esi, dword [esp + 0x24]
mov dword [esp + 0x18], esi
jb 0x4247f0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
call fcn.00425de0
mov ecx, eax
mov esi, dword [ecx]
lea eax, [edi - 0x10]
sub esi, 0x10
cmp eax, esi
mov dword [esp + 0x18], ecx
je 0x424881
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x424876
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x424876
call fcn.004020b0
mov dword [esp + 0x40], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x424867
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
add ecx, 0x10
mov dword [edx], ecx
jmp 0x424881
mov ebx, dword [edi - 0xc]
push edi
mov eax, ecx
call fcn.004026c0
lea eax, [edi - 0x10]
mov byte [esp + 0x80], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4248a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x34]
call fcn.00426dc0
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
xor esi, esi
jmp 0x424750
push str.Keyboard_LayoutPreload_
push 0x80000001
call dword [0x531014]
lea ecx, [esp + 0x50]
push ecx
push str.Keyboard_LayoutPreload_
push 0x80000001
call dword [0x53101c]
cmp eax, esi
je 0x4248ef
mov dword [esp + 0x3c], esi
jmp 0x4249b8
cmp dword [esp + 0x24], esi
mov ebx, 1
mov dword [esp + 0x14], esi
jbe 0x4249ad
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
call fcn.00425de0
mov edx, dword [eax]
cmp dword [edx - 0xc], esi
je 0x4249ad
mov eax, dword [0x5759e8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5759e8
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
push ebx
push 0x542480
lea edi, [esp + 0x30]
mov byte [esp + 0x88], 6
call fcn.00401f20
add esp, 8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
call fcn.00425de0
mov eax, dword [eax]
push 0x10
push eax
mov eax, dword [esp + 0x58]
push 1
push esi
mov esi, dword [esp + 0x38]
push esi
push eax
call dword [0x531010]
lea eax, [esi - 0x10]
add ebx, 1
mov byte [esp + 0x80], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424996
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 1
xor esi, esi
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jb 0x424902
mov ecx, dword [esp + 0x50]
push ecx
call dword [0x531004]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x20]
call fcn.00433b40
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], esi
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], eax
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edi, ecx
push edx
push edi
lea ecx, [esp + 0x44]
push ecx
call fcn.00436270
mov edx, dword [esp + 0x20]
push edx
call fcn.004ffbbe
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424a43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004ff939
mov esp, ebp
pop ebp
ret