Function at 0x42eaa0
Capabilities:
Delete registry key
Print debug messages
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 0x6026bf
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
lea eax, [esp + 0x4c]
push eax
mov ecx, str.SoftwareMicrosoftCTFSortOrderAssemblyItem0x0000080434745C63_B2F0_4784_8B67_5E12C8701A31_
call fcn.00409dd0
xor ebx, ebx
mov dword [esp + 0x490], ebx
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.00448b10
mov dword [esp + 0x1c], eax
mov byte [eax + 0x1d], 1
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x490], 1
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x50]
push edx
push eax
push SysReAllocStringLen
mov dword [esp + 0x5c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, ebx
je 0x42ebe4
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
push edx
lea ecx, [esp + 0x1c]
call fcn.00432730
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], eax
mov byte [esp + 0x490], bl
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x34]
push eax
mov edi, ecx
call fcn.00432ee0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.005d2367
mov dword [esp + 0x494], 0xffffffff
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ebdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42f8d6
push 0x206
lea ecx, [esp + 0x72]
push ebx
push ecx
mov word [esp + 0x78], bx
call fcn.005da970
add esp, 0xc
push 0x206
lea edx, [esp + 0x27a]
push ebx
mov esi, 0x208
push edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 4
mov word [esp + 0x280], bx
call fcn.005da970
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ecx, 0x677600
mov dword [esp + 0x34], esi
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x490], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x2c], ebx
jmp 0x42ec60
push 0x208
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.005da970
add esp, 0xc
push 0x208
lea ecx, [esp + 0x278]
push ebx
push ecx
mov dword [esp + 0x6c], ebx
call fcn.005da970
mov edx, dword [esp + 0x38]
add esp, 0xc
push edx
push str._08d
lea edi, [esp + 0x38]
call fcn.0040ac80
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
add esp, 8
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, ebx
jne 0x42ee3c
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push str.CLSID
mov edi, 0x208
push eax
mov dword [esp + 0x80], edi
call esi
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
push str.KeyboardLayout
push ecx
mov dword [esp + 0x7c], 4
call esi
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push str.Profile
push edx
mov dword [esp + 0x4c], edi
call esi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x40]
push ecx
call fcn.0042f900
lea eax, [esp + 0x6c]
mov byte [esp + 0x490], 3
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42ed53
sub eax, edx
sar eax, 1
lea edx, [esp + 0x6c]
mov ebx, eax
push edx
lea eax, [esp + 0x44]
call fcn.004037a0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x274]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42ed84
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x274]
mov ebx, eax
push ecx
lea eax, [esp + 0x4c]
call fcn.004037a0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x18]
call fcn.00431dd0
mov edi, eax
lea eax, [esp + 0x40]
call fcn.0040ab90
mov edx, dword [esp + 0x44]
mov dword [edi + 4], edx
add edi, 8
lea eax, [esp + 0x48]
call fcn.0040ab90
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [esp + 0x490], 2
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ee04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ee24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 1
xor ebx, ebx
cmp eax, 0x3e8
mov dword [esp + 0x2c], eax
jl 0x42ec60
mov byte [esp + 0x490], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ee64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
cmp eax, ebx
jbe 0x42f845
or edi, 0xffffffff
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
jbe 0x42eef0
lea ecx, [esp + 0x30]
lea edx, [esp + 0x18]
call fcn.00431dd0
mov edx, dword [eax + 4]
cmp edx, dword [0x6784b8]
jne 0x42eeae
mov edi, esi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x30]
lea edx, [esp + 0x18]
call fcn.00431dd0
cmp dword [eax + 4], 0x8040804
jne 0x42eec8
mov dword [esp + 0x2c], esi
cmp dword [esp + 0x2c], 0xffffffff
je 0x42eed8
cmp edi, 0xffffffff
jne 0x42f03d
mov eax, dword [esp + 0x20]
add esi, 1
cmp esi, eax
mov dword [esp + 0x30], esi
jb 0x42ee90
cmp edi, 0xffffffff
jne 0x42f041
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
push eax
call fcn.0042f900
push str.00000000_0000_0000_0000_000000000000
mov ebx, 0x24
lea eax, [esp + 0x38]
mov byte [esp + 0x494], 4
call fcn.004037a0
mov ecx, dword [0x6784b8]
push str.00000000_0000_0000_0000_000000000000
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], ecx
call fcn.004037a0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
call fcn.00431dd0
mov ecx, dword [esp + 0x34]
mov edi, eax
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x42ef94
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42ef89
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42ef89
call fcn.0040a210
mov dword [esp + 0x24], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42ef7e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x42ef94
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004037a0
mov edx, dword [esp + 0x38]
mov dword [edi + 4], edx
mov ecx, dword [esp + 0x3c]
mov esi, dword [edi + 8]
add edi, 8
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x42eff7
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42efe8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42efe8
call fcn.0040a210
mov dword [esp + 0x24], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42efdd
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x42eff3
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004037a0
mov ecx, dword [esp + 0x3c]
lea eax, [ecx - 0x10]
mov byte [esp + 0x490], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f01b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f03b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
cmp edi, 0xffffffff
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
je 0x42f451
add edi, 1
cmp edi, eax
jne 0x42f271
mov dword [esp + 0x24], ebx
call fcn.00431dd0
lea ecx, [esp + 0x40]
push ecx
mov ebx, eax
call fcn.0042f9a0
mov byte [esp + 0x490], 5
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x490], 6
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x24]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0042a8e0
mov esi, dword [esp + 0x28]
add esp, 4
cmp dword [esi - 0xc], 0
jl 0x42f1c3
push 0x626d6c
push esi
call fcn.005d2e73
add esp, 8
test eax, eax
je 0x42f1c3
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x42f1c3
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18]
mov dword [esp + 0x34], 1
call fcn.00431dd0
lea ecx, [esp + 0x54]
push ecx
mov ebx, eax
call fcn.0042f9a0
mov byte [esp + 0x490], 7
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x34], 1
call fcn.00431dd0
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18]
mov ebx, eax
call fcn.00431dd0
mov edi, eax
mov eax, ebx
call fcn.0040ab90
mov edx, dword [ebx + 4]
mov dword [edi + 4], edx
add edi, 8
lea eax, [ebx + 8]
call fcn.0040ab90
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
call fcn.00431dd0
mov edi, eax
lea eax, [esp + 0x54]
call fcn.0040ab90
mov eax, dword [esp + 0x58]
mov dword [edi + 4], eax
add edi, 8
lea eax, [esp + 0x5c]
call fcn.0040ab90
mov byte [esp + 0x490], 6
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f1a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f22c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42f22c
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.00431dd0
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18]
mov ebx, eax
call fcn.00431dd0
mov edi, eax
mov eax, ebx
call fcn.0040ab90
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
add edi, 8
lea eax, [ebx + 8]
call fcn.0040ab90
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
call fcn.00431dd0
mov edi, eax
lea eax, [esp + 0x40]
call fcn.0040ab90
mov edx, dword [esp + 0x44]
mov dword [edi + 4], edx
add edi, 8
lea eax, [esp + 0x48]
call fcn.0040ab90
mov byte [esp + 0x490], 5
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f250
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 1
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42f629
mov dword [esp + 0x24], edi
call fcn.00431dd0
lea ecx, [esp + 0x40]
push ecx
mov ebx, eax
call fcn.0042f9a0
mov byte [esp + 0x490], 8
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x490], 9
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x24]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0042a8e0
mov esi, dword [esp + 0x28]
add esp, 4
cmp dword [esi - 0xc], 0
jl 0x42f3df
push 0x626d6c
push esi
call fcn.005d2e73
add esp, 8
test eax, eax
je 0x42f3df
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x42f3df
mov eax, dword [esp + 0x2c]
xor edx, edx
add eax, 2
div dword [esp + 0x20]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edx
lea edx, [esp + 0x18]
call fcn.00431dd0
lea ecx, [esp + 0x54]
push ecx
mov ebx, eax
call fcn.0042f9a0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
mov byte [esp + 0x490], 0xa
call fcn.00431dd0
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18]
mov ebx, eax
call fcn.00431dd0
mov edi, eax
mov eax, ebx
call fcn.0040ab90
mov edx, dword [ebx + 4]
mov dword [edi + 4], edx
add edi, 8
lea eax, [ebx + 8]
call fcn.0040ab90
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
call fcn.00431dd0
mov edi, eax
lea eax, [esp + 0x54]
call fcn.0040ab90
mov eax, dword [esp + 0x58]
mov dword [edi + 4], eax
add edi, 8
lea eax, [esp + 0x5c]
call fcn.0040ab90
mov byte [esp + 0x490], 9
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f3b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f444
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 8
jmp 0x42f234
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x34], edi
call fcn.00431dd0
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18]
mov ebx, eax
call fcn.00431dd0
mov edi, eax
mov eax, ebx
call fcn.0040ab90
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
add edi, 8
lea eax, [ebx + 8]
call fcn.0040ab90
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
call fcn.00431dd0
mov edi, eax
lea eax, [esp + 0x40]
call fcn.0040ab90
mov edx, dword [esp + 0x44]
mov dword [edi + 4], edx
add edi, 8
lea eax, [esp + 0x48]
call fcn.0040ab90
mov byte [esp + 0x490], 8
jmp 0x42f234
mov dword [esp + 0x24], ebx
call fcn.00431dd0
lea ecx, [esp + 0x40]
push ecx
mov ebx, eax
call fcn.0042f9a0
mov byte [esp + 0x490], 0xb
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.00431dd0
mov esi, eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
mov dword [esp + 0x34], esi
call fcn.00431dd0
mov ecx, dword [esi]
mov edi, eax
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x42f4ea
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42f4df
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42f4df
call fcn.0040a210
mov dword [esp + 0x24], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42f4d4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x42f4ea
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004037a0
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov esi, dword [edi + 8]
add edi, 8
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x42f54b
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42f540
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42f540
call fcn.0040a210
mov dword [esp + 0x24], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42f535
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x42f54b
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004037a0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
call fcn.00431dd0
mov ecx, dword [esp + 0x40]
mov edi, eax
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x42f5ae
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42f5a3
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42f5a3
call fcn.0040a210
mov dword [esp + 0x24], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42f598
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x42f5ae
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004037a0
mov edx, dword [esp + 0x44]
mov dword [edi + 4], edx
mov ecx, dword [esp + 0x48]
mov esi, dword [edi + 8]
add edi, 8
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x42f611
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42f602
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42f602
call fcn.0040a210
mov dword [esp + 0x24], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42f5f7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x42f60d
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004037a0
mov ecx, dword [esp + 0x48]
lea eax, [ecx - 0x10]
mov byte [esp + 0x490], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f635
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f655
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x20], 0
jbe 0x42f843
mov ecx, dword [esp + 0x4c]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x2c]
push edx
push eax
push SysReAllocStringLen
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x42f838
cmp dword [esp + 0x2c], eax
je 0x42f838
push 0x62759c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx]
lea ebx, [esp + 0x18]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
lea esp, [esp]
test ebx, ebx
mov edi, dword [esp + 0x1c]
je 0x42f6d0
lea edx, [esp + 0x18]
cmp ebx, edx
je 0x42f6d5
call fcn.005d29f1
cmp esi, edi
je 0x42f838
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
test ebx, ebx
mov byte [esp + 0x490], 0xc
jne 0x42f704
call fcn.005d29f1
cmp esi, dword [ebx + 4]
jne 0x42f70e
call fcn.005d29f1
mov eax, dword [esi + 0xc]
push eax
push str._08d
lea edi, [esp + 0x38]
call fcn.0040ac80
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x42f7fa
cmp dword [esp + 0x14], eax
je 0x42f7fa
push 0x6275b0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, dword [ebx + 4]
jne 0x42f767
call fcn.005d29f1
cmp esi, dword [ebx + 4]
mov ecx, dword [esi + 0x10]
mov edi, dword [ecx - 0xc]
jne 0x42f777
call fcn.005d29f1
mov eax, dword [esi + 0x10]
lea edx, [edi + edi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edx
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0
push str.CLSID
push eax
call edi
cmp esi, dword [ebx + 4]
jne 0x42f79f
call fcn.005d29f1
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esi + 0x14]
push ecx
push 4
push 0
push str.KeyboardLayout
push edx
call edi
cmp esi, dword [ebx + 4]
jne 0x42f7bf
call fcn.005d29f1
cmp esi, dword [ebx + 4]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x24], ecx
jne 0x42f7d3
call fcn.005d29f1
mov edx, dword [esp + 0x24]
mov esi, dword [esi + 0x18]
mov ecx, dword [esp + 0x14]
lea eax, [edx + edx]
push eax
push esi
push 1
push 0
push str.Profile
push ecx
call edi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x490], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f822
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x34]
call fcn.00433a30
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
jmp 0x42f6c0
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00432730
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], eax
mov byte [esp + 0x490], bl
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x34]
push ecx
mov edi, esi
call fcn.00432ee0
mov edx, dword [esp + 0x1c]
push edx
call fcn.005d2367
mov dword [esp + 0x494], 0xffffffff
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f8d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.005d28b3
mov esp, ebp
pop ebp
ret