Function at 0x406e20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.0043ae60
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xcc]
add esp, 0xc
push str.ConfigNumpadEdit.ini
push 0x64
push eax
push str.Key_Not_Found
push 0x447614
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x406eb4
push str.Numpad_1
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x61
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447638
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x406f10
push str.Numpad_2
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x62
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x44764c
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x406f6c
push str.Numpad_3
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x63
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447660
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x406fc8
push str.Numpad_4
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x64
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447674
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407024
push str.Numpad_5
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x65
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447688
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407080
push str.Numpad_6
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x66
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x44769c
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4070dc
push str.Numpad_7
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x67
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x4476b0
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407138
push str.Numpad_8
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x68
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x4476c4
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407194
push str.Numpad_9
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x69
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x4476d8
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4071f0
push str.Numpad_0
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x60
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x4476ec
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40724c
push str.Numpad_
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x6a
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447700
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4072a8
push str.Numpad__
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x6f
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447714
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407304
push str.Key_F1
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x70
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447724
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407360
push str.Key_F2
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x71
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447734
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4073bc
push str.Key_F3
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x72
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447744
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407418
push str.Key_F4
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x73
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447754
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407474
push str.Key_F5
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x74
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447764
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4074d0
push str.Key_F6
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x75
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447774
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40752c
push str.Key_F7
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x76
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447784
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407588
push str.Key_F8
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x77
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447794
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4075e4
push str.Key_F9
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x78
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x4477a4
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407640
push str.Key_F10
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x79
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x4477b4
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40769c
push str.Key_F11
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x7a
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x4477c4
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4076f8
push str.Key_F12
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x7b
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x4477d4
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407754
push str.Key_1
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x31
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x4477e0
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4077b0
push str.Key_2
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x32
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push str.Key_3
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40780c
push 0x44a15c
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x33
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x4477f8
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407868
push str.Key_4
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x34
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447804
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4078c4
push str.Key_5
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x35
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447810
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407920
push str.Key_6
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x36
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x44781c
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40797c
push str.Key_7
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x37
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447828
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4079d8
push str.Key_8
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x38
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447834
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407a34
push str.Key_9
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x39
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447840
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407a90
push str.Key_0
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0x30
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x44784c
push str.Option3
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x407aec
push str.Key__
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0xbd
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447858
push str.Option3
call esi
mov ax, word [ebp - 0xcc]
cmp ax, 0x31
jne 0x407b4b
push str.Key_
push 0
push 0xc
push dword [0x45d5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d0], 0xbb
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
cmp ax, 0x30
jne 0x407b75
push str.ConfigNumpadEdit.ini
push 0x447864
push 0x44764c
push str.Option3
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.Numpad_1
jmp 0x406f3e
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0043847c
mov esp, ebp
pop ebp
ret