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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x604312
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x6af320]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push esi
push edi
mov eax, dword [0x6af320]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov edi, ecx
movzx ecx, word [edi + 0x9e]
mov dl, 1
push ecx
mov eax, esp
mov word [eax], cx
xor ecx, ecx
mov word [eax + 2], cx
lea ecx, [esp + 0x78]
call fcn.004f26c0
add esp, 4
mov dword [esp + 0x310], 0
cmp dword [edi + 0xa4], 2
sete bh
cmp byte [edi + 0x99], 0
je 0x4afd1e
cmp byte [edi + 0x98], 0
jne 0x4afd1e
mov bl, 1
jmp 0x4afd20
xor bl, bl
lea ecx, [edi - 0x798]
push str.noticelabel
call fcn.005d9340
push str.keyboardKeyName
lea ecx, [edi - 0x798]
mov esi, eax
call fcn.005d9340
mov dword [esp + 0x10], eax
push 0x100
push 0
test bl, bl
je 0x4afdaa
lea eax, [esp + 0x204]
push eax
call sub.MSVCR120.dll_memset
push 0x80
push str.mapping_single_key_focus_tip
push 0x80
lea eax, [esp + 0x214]
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
lea eax, [esp + 0x21c]
push eax
call fcn.005aaf90
mov ecx, eax
add esp, 0x24
test ecx, ecx
jne 0x4afe0c
lea eax, [esp + 0x1fc]
push eax
push eax
call fcn.005aa0a0
lea eax, [esp + 0x204]
jmp 0x4afe01
lea eax, [esp + 0x104]
push eax
call sub.MSVCR120.dll_memset
push 0x80
push str.mapping_mouseodisc_tip
push 0x80
lea eax, [esp + 0x114]
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
lea eax, [esp + 0x11c]
push eax
call fcn.005aaf90
mov ecx, eax
add esp, 0x24
test ecx, ecx
jne 0x4afe0c
lea eax, [esp + 0xfc]
push eax
push eax
call fcn.005aa0a0
lea eax, [esp + 0x104]
push eax
call fcn.005aaf90
mov ecx, eax
add esp, 0xc
test bh, bh
je 0x4afe82
push 0x100
lea eax, [esp + 0x100]
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x80
push str.mapping_conflict_key_warning_tip
push 0x80
lea eax, [esp + 0x114]
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
lea eax, [esp + 0x11c]
push eax
call fcn.005aaf90
mov ecx, eax
add esp, 0x24
test ecx, ecx
jne 0x4aff1e
lea eax, [esp + 0xfc]
push eax
push eax
call fcn.005aa0a0
lea eax, [esp + 0x104]
push eax
call fcn.005aaf90
add esp, 0xc
mov ecx, eax
jmp 0x4aff1e
cmp dword [edi + 0x12c], 0
je 0x4aff1e
cmp byte [edi + 0x98], 0
je 0x4aff0d
cmp dword [edi + 0x144], 0
je 0x4aff0d
push str.__v_center__i_mapping_more_description.png_
lea edx, [edi + 0x11c]
lea ecx, [esp + 0x30]
call fcn.00425c20
add esp, 4
mov ecx, eax
mov byte [esp + 0x310], 1
cmp dword [ecx + 0x14], 8
jb 0x4afeca
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x310], 0
call fcn.00413150
cmp dword [edi + 0x148], 8
lea ecx, [edi + 0x134]
jb 0x4afef4
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xd0]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0xf8]
jmp 0x4aff26
cmp dword [edi + 0x130], 8
lea ecx, [edi + 0x11c]
jb 0x4aff1e
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov al, byte [edi + 0x98]
test al, al
je 0x4aff3d
cmp dword [edi + 0x12c], 0
jne 0x4aff4e
test al, al
jne 0x4aff46
cmp byte [edi + 0x9a], 0
jne 0x4aff4e
test bh, bh
jne 0x4aff4e
xor cl, cl
jmp 0x4aff53
mov ecx, 1
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xe0]
test bl, bl
mov ecx, str.keyboard_bg_observedisc_normal.png
mov eax, str.keyboard_bg_observedisc_hot.png
cmove eax, ecx
mov ecx, dword [edi + 0xa4]
cmp ecx, 4
je 0x4aff7d
cmp ecx, 1
jne 0x4aff82
mov eax, str.keyboard_bg_observedisc_warning.png
mov esi, dword [esp + 0x10]
mov ecx, str.keyboard_bg_observedisc_onlyread.png
cmp byte [edi + 0x98], 0
cmove ecx, eax
mov eax, dword [esi]
push ecx
push 0x648980
mov ecx, esi
call dword [eax + 0x12c]
lea ecx, [esp + 0x74]
call fcn.005a78d0
test al, al
je 0x4affc0
mov eax, dword [esi]
mov ecx, esi
push 0x638edc
call dword [eax + 0x3c]
jmp 0x4b0007
lea ecx, [esp + 0x74]
call fcn.005a7710
lea ecx, [esp + 0x74]
cmp eax, 1
jne 0x4affe4
call fcn.00424550
push eax
mov eax, str._f_2__s__b__s__b___s___f_
mov ecx, str._f_2__b__s__b___f_
jmp 0x4afff4
call fcn.00424550
push eax
mov eax, str._f_1__s__b__s__b___s___f_
mov ecx, str._f_1__b__s__b___f_
test bl, bl
cmove eax, ecx
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.005a75f0
add esp, 0xc
mov esi, dword [esi]
lea ecx, [esp + 0x74]
call fcn.00424550
mov ecx, dword [esp + 0x10]
push eax
call dword [esi + 0x3c]
push str.sensitivitylabel
lea ecx, [edi - 0x798]
call fcn.005d9340
mov edx, dword [edi + 0x118]
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0042eb40
mov ebx, eax
mov byte [esp + 0x310], 2
lea ecx, [esp + 0x14]
push 1
xor eax, eax
mov dword [esp + 0x2c], 7
push 0x638edc
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00413650
push 0x100
lea eax, [esp + 0x100]
mov byte [esp + 0x314], 3
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x80
push str.mapping_keyboarddrag_sensitivity
push 0x80
lea eax, [esp + 0x114]
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
lea eax, [esp + 0x11c]
push eax
call fcn.005aaf90
add esp, 0x24
test eax, eax
jne 0x4b00d9
lea eax, [esp + 0xfc]
push eax
push eax
call fcn.005aa0a0
lea eax, [esp + 0x104]
push eax
call fcn.005aaf90
add esp, 0xc
lea ecx, [esp + 0x14]
mov edx, eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00434c90
push ebx
mov edx, eax
mov byte [esp + 0x318], 4
lea ecx, [esp + 0x64]
call fcn.00494390
add esp, 8
mov ecx, eax
mov byte [esp + 0x310], 5
cmp dword [ecx + 0x14], 8
jb 0x4b0112
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
cmp dword [esp + 0x70], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4b0130
push dword [esp + 0x5c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
cmp dword [esp + 0x58], 8
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jb 0x4b0157
push dword [esp + 0x44]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
cmp dword [esp + 0x28], 8
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
jb 0x4b017e
push dword [esp + 0x14]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov byte [esp + 0x310], al
cmp dword [esp + 0x40], 8
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jb 0x4b01ac
push dword [esp + 0x2c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp byte [edi + 0x98], al
je 0x4b01e7
push str.sensitivebgControl
lea ecx, [edi - 0x798]
call fcn.005d9340
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xe0]
lea ecx, [esp + 0x74]
mov dword [esp + 0x310], 0xffffffff
call fcn.005a6ee0
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret