Function at 0x40bec0
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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40bf54
push str.Numpad_1
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40bfb0
push str.Numpad_2
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c00c
push str.Numpad_3
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c068
push str.Numpad_4
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c0c4
push str.Numpad_5
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c120
push str.Numpad_6
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c17c
push str.Numpad_7
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c1d8
push str.Numpad_8
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c234
push str.Numpad_9
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c290
push str.Numpad_0
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c2ec
push str.Numpad_
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c348
push str.Numpad__
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c3a4
push str.Key_F1
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c400
push str.Key_F2
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c45c
push str.Key_F3
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c4b8
push str.Key_F4
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c514
push str.Key_F5
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c570
push str.Key_F6
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c5cc
push str.Key_F7
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c628
push str.Key_F8
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c684
push str.Key_F9
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c6e0
push str.Key_F10
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c73c
push str.Key_F11
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c798
push str.Key_F12
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c7f4
push str.Key_1
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c850
push str.Key_2
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c8ac
push 0x44a15c
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c908
push str.Key_4
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c964
push str.Key_5
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40c9c0
push str.Key_6
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40ca1c
push str.Key_7
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40ca78
push str.Key_8
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40cad4
push str.Key_9
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40cb30
push str.Key_0
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40cb8c
push str.Key__
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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.Option9
call esi
mov ax, word [ebp - 0xcc]
cmp ax, 0x31
jne 0x40cbeb
push str.Key_
push 0
push 0xc
push dword [0x45d5c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5d4], 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 0x40cc15
push str.ConfigNumpadEdit.ini
push 0x447864
push 0x4476c4
push str.Option9
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.Numpad_1
jmp 0x40c206
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0043847c
mov esp, ebp
pop ebp
ret