Function at 0x42d0c0
Capabilities:
Access peb ldr_data
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a275c
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x464]
mov dword fs:[0], eax
mov eax, dword [esp + 0x474]
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov eax, dword [eax]
mov esi, ecx
sub eax, 0x10
mov dword [esp + 0x38], esi
call fcn.00403ce0
add eax, 0x10
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x46c], ebx
call fcn.00431730
lea eax, [esp + 0x28]
push eax
mov ecx, str.SYSTEMCurrentControlSetControlKeyboard_Layouts_
call fcn.00404460
mov byte [esp + 0x46c], 1
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x2c], ebp
lea ecx, [esp + 0x20]
push ecx
push 0x20019
mov byte [esp + 0x474], 2
mov edx, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], ebx
call edi
cmp eax, ebx
je 0x42d216
push esi
mov ecx, 0x5bce10
call fcn.0040a000
lea eax, [ebp - 0x10]
mov byte [esp + 0x46c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d1bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x46c], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d1e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x46c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d20f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x42d44d
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], ebx
push 0x208
lea ecx, [esp + 0x258]
push ebx
push ecx
mov dword [esp + 0x40], 0x104
call fcn.00580260
add esp, 0xc
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x28]
push ebx
push ebx
push ebx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x268]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x42d3ba
push 0x206
lea ecx, [esp + 0x52]
push ebx
push ecx
mov word [esp + 0x58], bx
call fcn.00580260
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea edx, [esp + 0x30]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x260]
push eax
push ecx
mov dword [esp + 0x50], 0x208
call edi
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
push ebx
push str.IME_File
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x30]
push eax
call ebp
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
call fcn.00404460
mov byte [esp + 0x46c], 3
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x42d309
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00403d50
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call fcn.0057b729
add esp, 8
cmp esi, ebx
jl 0x42d475
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x42d475
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov word [ecx + esi*2], bx
mov edx, dword [esp + 0x18]
push edx
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x42d382
add dword [esp + 0x24], 1
mov byte [esp + 0x46c], 2
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 0x42d220
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42d220
lea edx, [esp + 0x254]
lea edi, [esp + 0x2c]
call fcn.004040f0
mov byte [esp + 0x46c], 2
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 0x42d3ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call ebp
mov esi, dword [esp + 0x2c]
add esi, 0xfffffff0
mov eax, esi
call fcn.00403ce0
mov edi, dword [esp + 0x38]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x46c], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42d3f9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x46c], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d420
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x46c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d44b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x464]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.005787fd
add esp, 0x45c
ret
push 0x80070057
call fcn.00404550
int3