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

Disassembly:
push 0xffffffffffffffff
push 0x4ccb91
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x394]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3a4]
xor ebp, ebp
push 0x2c
mov ebx, ecx
lea ecx, [esp + 0x19c]
mov esi, edx
push ebp
push ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1a0], ebp
call fcn.004a7380
mov edi, vtable.t_reg.0
add esp, 0xc
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], edi
call fcn.00430920
mov eax, str.CURRENT_USER
lea edx, [esp + 0x70]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], reloc.WS2_32.dll_accept
call fcn.00430b00
push 1
push ebp
push ebp
push esi
push ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x3b0], ebp
call fcn.00431bf0
test al, al
jne 0x456c8f
mov dword [esp + 0x39c], 0xffffffff
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], edi
cmp eax, ebp
je 0x456c62
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x18c], 0
mov dword [esp + 0x68], ebp
mov dword [esp + 0x70], vtable.t_str.0
jne 0x456cb5
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x7c]
cmp eax, edx
je 0x456cb5
push eax
call fcn.004a4a7f
add esp, 4
jmp 0x456cb5
push ebx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x68]
call fcn.00432160
lea ecx, [esp + 0x64]
test al, al
jne 0x456cea
mov dword [esp + 0x39c], 0xffffffff
call fcn.00431ba0
mov ecx, ebx
call fcn.0042c990
mov esi, eax
push str.b_rN0RT
push 0x4f0ffc
mov edx, esi
call fcn.00430eb0
mov eax, dword [esp + 0x38]
push eax
push 0x4f0ffc
mov edx, esi
call fcn.00430eb0
add esp, 0x10
xor al, al
jmp 0x4570a0
or edi, 0xffffffff
mov dword [esp + 0x39c], edi
call fcn.00431ba0
mov dword [esp + 0x2c], ebp
cmp dword [esp + 0x28], ebp
jbe 0x45703f
jmp 0x456d14
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x1c4]
call fcn.00430920
mov ecx, dword [esp + 0x2c]
push ecx
push esi
lea edx, [esp + 0x1cc]
push str._s_08d
push edx
mov dword [esp + 0x3ac], 1
call fcn.00430ed0
mov esi, vtable.t_reg.0
add esp, 0x10
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], esi
call fcn.00430920
mov eax, str.CURRENT_USER
lea edx, [esp + 0x70]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], reloc.WS2_32.dll_accept
call fcn.00430b00
mov byte [esp + 0x39c], 2
cmp byte [esp + 0x2e0], 0
lea eax, [esp + 0x1d0]
jne 0x456d92
mov eax, dword [esp + 0x1cc]
push 1
push ebp
push ebp
add eax, 4
push eax
push ebx
lea ecx, [esp + 0x78]
call fcn.00431bf0
test al, al
jne 0x456e27
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], esi
cmp eax, ebp
je 0x456dbb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x18c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x68], ebp
mov dword [esp + 0x70], esi
jne 0x456de7
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x7c]
cmp eax, ecx
je 0x456de7
push eax
call fcn.004a4a7f
add esp, 4
mov dword [esp + 0x39c], edi
mov dword [esp + 0x1c4], esi
cmp byte [esp + 0x2e0], 0
jne 0x45702c
mov eax, dword [esp + 0x1cc]
lea edx, [esp + 0x1d0]
cmp eax, edx
je 0x45702c
push eax
call fcn.004a4a7f
add esp, 4
jmp 0x45702c
push 0x2c
lea eax, [esp + 0x3c]
push ebp
push eax
mov dword [esp + 0x40], ebp
call fcn.004a7380
add esp, 0xc
push 0x4e
lea edx, [esp + 0x2f2]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x2f8], cx
call fcn.004a7380
add esp, 0xc
push 0x4e
lea ecx, [esp + 0x342]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x348], ax
call fcn.004a7380
add esp, 0xc
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x344]
push eax
mov esi, 0x50
push ebx
mov eax, 0x4e6824
lea ecx, [esp + 0x74]
mov dword [esp + 0x30], esi
call fcn.00431db0
test al, al
jne 0x456eed
lea ecx, [esp + 0x64]
call fcn.00431ba0
mov dword [esp + 0x39c], edi
cmp byte [esp + 0x2e0], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x45702c
mov eax, dword [esp + 0x1cc]
lea ecx, [esp + 0x1d0]
cmp eax, ecx
je 0x45702c
push eax
call fcn.004a4a7f
add esp, 4
jmp 0x45702c
lea eax, [esp + 0x33c]
lea ecx, [esp + 0x44]
call fcn.00461e90
test al, al
jne 0x456f21
lea ecx, [esp + 0x64]
call fcn.00431ba0
mov dword [esp + 0x39c], edi
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jmp 0x456df5
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2f4]
push ecx
push ebx
mov eax, str.Profile
lea ecx, [esp + 0x74]
mov dword [esp + 0x30], esi
call fcn.00431db0
test al, al
jne 0x456f68
lea ecx, [esp + 0x64]
call fcn.00431ba0
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x39c], edi
call fcn.00430ad0
jmp 0x45702c
lea eax, [esp + 0x2ec]
lea ecx, [esp + 0x54]
call fcn.00461e90
lea ecx, [esp + 0x64]
test al, al
je 0x456f4b
push str.KeyboardLayout
lea edx, [esp + 0x20]
push edx
push ebx
mov dword [esp + 0x28], ebp
call fcn.00432100
test al, al
je 0x456f47
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x34], esi
lea edi, [esp + 0x34]
cmp esi, ebp
jne 0x4570c8
lea eax, [esp + 0x1b]
push eax
mov byte [esp + 0x1f], 0
call fcn.00463260
add esp, 4
test al, al
jne 0x456fe6
lea ecx, [esp + 0x64]
call fcn.00431ba0
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x39c], 0xffffffff
call fcn.00430ad0
xor ebp, ebp
jmp 0x457029
cmp byte [esp + 0x1b], 0
je 0x456fc2
xor ebp, ebp
mov cx, word [esp + 0x3a8]
mov word [esp + 0x40], cx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
call fcn.00460c90
lea ecx, [esp + 0x64]
call fcn.00431ba0
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x39c], 0xffffffff
call fcn.00430ad0
or edi, 0xffffffff
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x28]
jb 0x456d10
mov edx, dword [esp + 0x24]
push edx
call fcn.00460f00
mov eax, dword [esp + 0x3ac]
mov ecx, dword [esp + 0x3a8]
push eax
push ecx
lea esi, [esp + 0x19c]
mov eax, ebx
call fcn.004562c0
add esp, 8
test al, al
jne 0x457075
mov ecx, ebx
call fcn.0042c9e0
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
lea ebx, [esp + 0x198]
mov dword [esp + 0x20], ebp
call fcn.00460da0
test al, al
je 0x45709e
mov ecx, dword [esp + 0x1c]
neg ecx
push esi
call fcn.00460e10
mov al, 1
mov ecx, dword [esp + 0x394]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.004a4a25
add esp, 0x38c
ret
call fcn.00462f20
jmp 0x456fef