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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x583959
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x603320]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x603320]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov edi, ecx
movzx esi, word [edi + 0x9e]
mov dl, 1
push ecx
mov eax, esp
xor ecx, ecx
mov word [eax + 2], cx
lea ecx, [esp + 0xc0]
mov word [eax], si
call fcn.004b6f10
add esp, 4
mov dword [esp + 0x458], 0
cmp dword [edi + 0xa4], 2
sete byte [esp + 0x17]
cmp byte [edi + 0x99], 0
je 0x474db3
cmp byte [edi + 0x98], 0
jne 0x474db3
mov dl, 1
jmp 0x474db5
xor dl, dl
mov eax, dword [edi + 0x108]
mov esi, str.keyboard_bg_mouseRightDrag_normal.png
test eax, eax
mov byte [esp + 0x16], dl
mov ecx, str.keyboard_bg_crosshair_normal.png
cmovne ecx, esi
mov esi, str.keyboard_bg_mouseRightDrag_hot.png
mov dword [esp + 0x20], ecx
mov ecx, str.keyboard_bg_crosshair_hot.png
cmovne ecx, esi
mov esi, str.keyboard_bg_mouseRightDrag_warning.png
mov dword [esp + 0x24], ecx
mov ecx, str.keyboard_bg_crosshair_warning.png
cmovne ecx, esi
mov esi, str.keyboard_bg_mouseRightDrag_onlyread.png
mov dword [esp + 0x1c], ecx
mov ecx, str.keyboard_bg_crosshair_onlyread.png
cmovne ecx, esi
push 0x100
mov dword [esp + 0x1c], ecx
push 0
jne 0x474ecf
test dl, dl
je 0x474e76
lea eax, [esp + 0x24c]
push eax
call sub.MSVCR120.dll_memset
push 0x80
push str.mapping_single_key_focus_tip
push 0x80
lea eax, [esp + 0x25c]
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
lea eax, [esp + 0x264]
push eax
call fcn.00531580
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x474f31
lea eax, [esp + 0x244]
push eax
push eax
call fcn.00530690
lea eax, [esp + 0x24c]
jmp 0x474f26
lea eax, [esp + 0x34c]
push eax
call sub.MSVCR120.dll_memset
push 0x80
push str.mapping_mousedrag_tip
push 0x80
lea eax, [esp + 0x35c]
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
lea eax, [esp + 0x364]
push eax
call fcn.00531580
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x474f31
lea eax, [esp + 0x344]
push eax
push eax
call fcn.00530690
lea eax, [esp + 0x34c]
jmp 0x474f26
lea eax, [esp + 0x14c]
push eax
call sub.MSVCR120.dll_memset
push 0x80
push str.mapping_mousedrag_2_tip
push 0x80
lea eax, [esp + 0x15c]
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
lea eax, [esp + 0x164]
push eax
call fcn.00531580
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x474f31
lea eax, [esp + 0x144]
push eax
push eax
call fcn.00530690
lea eax, [esp + 0x14c]
push eax
call fcn.00531580
add esp, 0xc
mov esi, eax
xor eax, eax
mov dword [esp + 0x58], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0x4c], ax
lea ecx, [esp + 0x4c]
lea eax, [edi + 0x130]
mov dword [esp + 0x5c], 0
push eax
call fcn.0040d950
xor eax, eax
mov byte [esp + 0x458], 1
push 0xffffffffffffffff
push eax
mov word [esp + 0x64], ax
lea ecx, [esp + 0x64]
lea eax, [edi + 0x148]
mov dword [esp + 0x78], 7
push eax
mov dword [esp + 0x78], 0
call fcn.0040d950
push str.mainicon
lea ecx, [edi - 0x798]
mov byte [esp + 0x45c], 2
call fcn.0055b150
push str.noticelabel
lea ecx, [edi - 0x798]
mov dword [esp + 0x2c], eax
call fcn.0055b150
cmp byte [edi + 0x9a], 0
mov ebx, eax
jne 0x474fdf
cmp byte [esp + 0x17], 0
jne 0x474fdf
cmp byte [edi + 0x98], 0
je 0x474fdb
cmp dword [esp + 0x54], 0
jne 0x474fdf
xor cl, cl
jmp 0x474fe4
mov ecx, 1
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xe0]
cmp byte [esp + 0x17], 0
je 0x475068
push 0x100
lea eax, [esp + 0x148]
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x80
push str.mapping_conflict_key_warning_tip
push 0x80
lea eax, [esp + 0x15c]
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
lea eax, [esp + 0x164]
push eax
call fcn.00531580
mov ecx, eax
add esp, 0x24
test ecx, ecx
jne 0x475100
lea eax, [esp + 0x144]
push eax
push eax
call fcn.00530690
lea eax, [esp + 0x14c]
push eax
call fcn.00531580
add esp, 0xc
mov ecx, eax
jmp 0x475100
cmp dword [esp + 0x54], 0
jne 0x475075
push esi
jmp 0x475101
cmp byte [edi + 0x98], 0
je 0x4750f2
cmp dword [esp + 0x6c], 0
je 0x4750f2
push str.__v_center__i_mapping_more_description.png_
lea edx, [esp + 0x48]
lea ecx, [esp + 0xa8]
call fcn.0041f250
add esp, 4
mov ecx, eax
mov byte [esp + 0x458], 3
cmp dword [ecx + 0x14], 8
jb 0x4750af
mov ecx, dword [ecx]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x3c]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x458], 2
call fcn.0040d830
cmp dword [esp + 0x70], 8
lea ecx, [esp + 0x5c]
mov eax, dword [ebx]
cmovae ecx, dword [esp + 0x5c]
push ecx
mov ecx, ebx
call dword [eax + 0xd0]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0xf4]
jmp 0x475108
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x44]
cmovae ecx, dword [esp + 0x44]
push ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3c]
mov bl, byte [esp + 0x16]
mov ecx, dword [esp + 0x20]
test bl, bl
mov eax, dword [edi + 0xa4]
cmovne ecx, dword [esp + 0x24]
cmp eax, 4
je 0x475127
cmp eax, 1
jne 0x47512b
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
cmp byte [edi + 0x98], 0
cmovne ecx, dword [esp + 0x18]
mov eax, dword [esi]
push ecx
push 0x5b00a0
mov ecx, esi
call dword [eax + 0x128]
cmp dword [edi + 0x108], 0
jne 0x4751ba
lea ecx, [esp + 0xbc]
call fcn.0052dd00
lea ecx, [esp + 0xbc]
cmp eax, 1
jne 0x47517e
call fcn.0041dd20
push eax
mov eax, str._f_3__s__b__s__b___s___f_
mov ecx, str._f_3__b__s__b___f_
jmp 0x47518e
call fcn.0041dd20
push eax
mov eax, str._f_2__s__b__s__b___s___f_
mov ecx, str._f_2__b__s__b___f_
test bl, bl
cmove eax, ecx
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.0052dbe0
mov esi, dword [esi]
lea ecx, [esp + 0xc8]
add esp, 0xc
call fcn.0041dd20
mov ecx, dword [esp + 0x28]
push eax
call dword [esi + 0x3c]
push 0x5b37d4
lea ecx, [edi - 0x798]
call fcn.0055b150
mov esi, eax
lea ecx, [edi - 0x798]
push str.YSlider
mov dword [esp + 0x28], esi
call fcn.0055b150
test esi, esi
mov dword [esp + 0x18], eax
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
je 0x47533e
test eax, eax
je 0x47533e
push str.YLabel
lea ecx, [edi - 0x798]
call fcn.0055b150
push str.XLabel
lea ecx, [edi - 0x798]
mov dword [esp + 0x20], eax
call fcn.0055b150
push 0x5b3814
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], eax
call fcn.0040de10
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x458], 4
call fcn.00552d40
mov edx, eax
lea ecx, [esp + 0x74]
call fcn.004279c0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x464], 5
call fcn.00426a50
mov byte [esp + 0x458], 4
cmp dword [esp + 0x88], 8
jb 0x47527d
push dword [esp + 0x74]
call esi
add esp, 4
push 1
push 0x5b381c
lea ecx, [esp + 0x34]
call fcn.00426970
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x40], 8
cmovae ecx, dword [esp + 0x2c]
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0x3c]
push 2
push 0x5b3820
lea ecx, [esp + 0x34]
call fcn.0040dd10
mov ecx, dword [esp + 0x24]
call fcn.00552d40
mov edx, eax
lea ecx, [esp + 0x74]
call fcn.004279c0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x464], 6
call fcn.00426a50
mov byte [esp + 0x458], 4
cmp dword [esp + 0x88], 8
jb 0x4752fc
push dword [esp + 0x74]
call esi
add esp, 4
push 1
push 0x5b381c
lea ecx, [esp + 0x34]
call fcn.00426970
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x40], 8
cmovae ecx, dword [esp + 0x2c]
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0x3c]
mov byte [esp + 0x458], 2
cmp dword [esp + 0x40], 8
jb 0x47533e
push dword [esp + 0x2c]
call esi
add esp, 4
push str.sensitivitylabel
lea ecx, [edi - 0x798]
call fcn.0055b150
mov ebx, eax
test ebx, ebx
je 0x4754e8
cvttsd2si edx, qword [edi + 0x120]
lea ecx, [esp + 0xa4]
call fcn.004279c0
mov dword [esp + 0x1c], eax
push 0x5a639c
lea ecx, [esp + 0x78]
mov byte [esp + 0x45c], 7
call fcn.0040de10
mov dword [esp + 0x18], eax
push 0x100
lea eax, [esp + 0x148]
mov byte [esp + 0x45c], 8
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x80
push str.mapping_keyboarddrag_sensitivity
push 0x80
lea eax, [esp + 0x15c]
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
lea eax, [esp + 0x164]
push eax
call fcn.00531580
add esp, 0x24
test eax, eax
jne 0x4753f7
lea eax, [esp + 0x144]
push eax
push eax
call fcn.00530690
lea eax, [esp + 0x14c]
push eax
call fcn.00531580
add esp, 0xc
push dword [esp + 0x18]
mov edx, eax
lea ecx, [esp + 0x90]
call fcn.0042bc60
push dword [esp + 0x20]
mov edx, eax
mov byte [esp + 0x460], 9
lea ecx, [esp + 0x34]
call fcn.0045b040
add esp, 8
mov ecx, eax
mov byte [esp + 0x458], 0xa
cmp dword [ecx + 0x14], 8
jb 0x475435
mov ecx, dword [ecx]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x3c]
cmp dword [esp + 0x40], 8
jb 0x47544d
push dword [esp + 0x2c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
jb 0x47547a
push dword [esp + 0x8c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xa0], 7
cmp dword [esp + 0x88], 8
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
jb 0x4754ad
push dword [esp + 0x74]
call esi
add esp, 4
xor eax, eax
mov byte [esp + 0x458], 2
cmp dword [esp + 0xb8], 8
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
jb 0x4754e8
push dword [esp + 0xa4]
call esi
add esp, 4
cmp byte [edi + 0x98], 0
je 0x475511
push str.sensitivebgControl
lea ecx, [edi - 0x798]
call fcn.0055b150
test eax, eax
je 0x475511
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0xe0]
cmp dword [esp + 0x70], 8
jb 0x475521
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 0x475548
push dword [esp + 0x44]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
lea ecx, [esp + 0xbc]
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x458], 0xffffffff
call fcn.0052d4d0
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.00576f50
mov esp, ebp
pop ebp
ret