Function at 0x460a50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f7341
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x545628]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4a0]
mov edi, ecx
mov esi, edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x64], vtable.t_reg.0
call fcn.00410c10
xor ebx, ebx
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x70]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], VariantClear
call fcn.00410e40
push ebx
push ebx
push ebp
mov eax, esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x4a4], ebx
call fcn.00411e70
test al, al
je 0x460afa
push ebp
lea eax, [esp + 0x24]
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], ebx
call fcn.004123d0
test al, al
jne 0x460b6c
mov ecx, ebp
call fcn.0040fa50
mov edi, eax
push str.b_rN0RT
push 0x52a3bc
mov edx, edi
call fcn.004114a0
push esi
push 0x52a3bc
mov edx, edi
call fcn.004114a0
mov eax, dword [esp + 0x78]
add esp, 0x10
mov dword [esp + 0x64], vtable.t_reg.0
cmp eax, ebx
je 0x460b3b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], vtable.t_str.0
cmp byte [esp + 0x18c], bl
jne 0x460b65
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x7c]
cmp eax, ecx
je 0x460b65
push eax
call fcn.004d1d15
add esp, 4
xor al, al
jmp 0x460f38
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x20], ebx
jbe 0x460ea4
lea ecx, [esp + 0x194]
call fcn.00410c10
mov edx, dword [esp + 0x24]
push edx
push esi
push str._s_08d
lea edi, [esp + 0x1a0]
call fcn.004114c0
mov edi, vtable.t_reg.0
add esp, 0xc
lea ecx, [esp + 0x2c8]
mov dword [esp + 0x2bc], edi
call fcn.00410c10
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x2c8]
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x2c4], VariantClear
call fcn.00410e40
mov byte [esp + 0x498], 2
lea eax, [esp + 0x1a0]
cmp byte [esp + 0x2b0], bl
jne 0x460bfa
mov eax, dword [esp + 0x19c]
push ebx
push ebx
add eax, 4
push ebp
lea ecx, [esp + 0x70]
call fcn.00411e70
test al, al
jne 0x460ca0
mov eax, dword [esp + 0x2c0]
mov dword [esp + 0x2bc], edi
cmp eax, ebx
je 0x460c2a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, vtable.t_str.0
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x2c8], edi
cmp byte [esp + 0x3e4], bl
jne 0x460c61
mov eax, dword [esp + 0x2d0]
lea ecx, [esp + 0x2d4]
cmp eax, ecx
je 0x460c61
push eax
call fcn.004d1d15
add esp, 4
mov byte [esp + 0x498], bl
mov dword [esp + 0x194], edi
cmp byte [esp + 0x2b0], bl
jne 0x460e8d
mov eax, dword [esp + 0x19c]
lea edx, [esp + 0x1a0]
cmp eax, edx
je 0x460e8d
push eax
call fcn.004d1d15
add esp, 4
jmp 0x460e8d
push 0x2c
lea eax, [esp + 0x3c]
push ebx
push eax
mov dword [esp + 0x40], ebx
call fcn.004d6770
add esp, 0xc
push 0x4e
lea edx, [esp + 0x3f2]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x3f8], cx
call fcn.004d6770
add esp, 0xc
push 0x4e
lea ecx, [esp + 0x442]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x448], ax
call fcn.004d6770
add esp, 0xc
push 1
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x444]
push eax
mov edi, 0x50
push ebp
mov eax, 0x52cc40
lea ecx, [esp + 0x74]
mov dword [esp + 0x3c], edi
call fcn.00412020
test al, al
jne 0x460d68
lea ecx, [esp + 0x2bc]
call fcn.00411e20
mov byte [esp + 0x498], bl
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
cmp byte [esp + 0x2b0], bl
jne 0x460e8d
mov eax, dword [esp + 0x19c]
lea ecx, [esp + 0x1a0]
cmp eax, ecx
je 0x460e8d
push eax
call fcn.004d1d15
add esp, 4
jmp 0x460e8d
lea eax, [esp + 0x43c]
lea ecx, [esp + 0x44]
call fcn.0046ef10
test al, al
jne 0x460d9f
lea ecx, [esp + 0x2bc]
call fcn.00411e20
mov byte [esp + 0x498], bl
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jmp 0x460c6f
push 1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3f4]
push ecx
push ebp
mov eax, str.Profile
lea ecx, [esp + 0x74]
mov dword [esp + 0x3c], edi
call fcn.00412020
test al, al
je 0x460e6e
lea eax, [esp + 0x3ec]
lea ecx, [esp + 0x54]
call fcn.0046ef10
test al, al
je 0x460e6e
push str.KeyboardLayout
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x24]
mov edx, ebp
mov dword [esp + 0x24], ebx
call fcn.00412370
test al, al
je 0x460e6e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
cmp eax, ebx
jne 0x460f60
mov byte [esp + 0x1b], bl
push ebp
lea ebx, [esp + 0x1f]
lea ecx, [esp + 0x38]
call fcn.00469240
add esp, 4
test al, al
jne 0x460e4b
lea ecx, [esp + 0x2bc]
call fcn.00411e20
lea ecx, [esp + 0x194]
mov byte [esp + 0x498], 0
call fcn.004161d0
xor ebx, ebx
jmp 0x460e8d
cmp byte [esp + 0x1b], 0
je 0x460e27
xor ebx, ebx
mov ax, word [esp + 0x4a4]
mov ecx, dword [esp + 0x28]
mov word [esp + 0x40], ax
lea eax, [esp + 0x34]
call fcn.004689d0
lea ecx, [esp + 0x2bc]
call fcn.00411e20
lea ecx, [esp + 0x194]
mov byte [esp + 0x498], bl
call fcn.004161d0
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x20]
jb 0x460b7a
mov edi, dword [esp + 0x28]
mov ebx, edi
call fcn.00468be0
mov ecx, dword [esp + 0x4a4]
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
call fcn.0045fd30
add esp, 0xc
test al, al
jne 0x460ecc
mov ecx, ebp
call fcn.0040faa0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
mov dword [esp + 0x24], ebx
call fcn.00468a40
test al, al
je 0x460ef5
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
neg ecx
push edx
call fcn.00468af0
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], vtable.t_reg.0
cmp eax, ebx
je 0x460f0c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], vtable.t_str.0
cmp byte [esp + 0x18c], bl
jne 0x460f36
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x7c]
cmp eax, ecx
je 0x460f36
push eax
call fcn.004d1d15
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.004d158d
add esp, 0x488
ret
mov esi, eax
lea edi, [esp + 0x34]
call fcn.004675f0
mov esi, dword [esp + 0x30]
jmp 0x460e54