Function at 0x40cc30
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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40ccc4
push str.Numpad_1
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40cd20
push str.Numpad_2
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40cd7c
push str.Numpad_3
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40cdd8
push str.Numpad_4
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40ce34
push str.Numpad_5
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40ce90
push str.Numpad_6
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40ceec
push str.Numpad_7
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40cf48
push str.Numpad_8
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40cfa4
push str.Numpad_9
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d000
push str.Numpad_0
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d05c
push str.Numpad_
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d0b8
push str.Numpad__
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d114
push str.Key_F1
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d170
push str.Key_F2
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d1cc
push str.Key_F3
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d228
push str.Key_F4
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d284
push str.Key_F5
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d2e0
push str.Key_F6
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d33c
push str.Key_F7
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d398
push str.Key_F8
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d3f4
push str.Key_F9
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d450
push str.Key_F10
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d4ac
push str.Key_F11
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d508
push str.Key_F12
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d564
push str.Key_1
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d5c0
push str.Key_2
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d61c
push 0x44a15c
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d678
push str.Key_4
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d6d4
push str.Key_5
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d730
push str.Key_6
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d78c
push str.Key_7
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d7e8
push str.Key_8
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d844
push str.Key_9
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d8a0
push str.Key_0
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40d8fc
push str.Key__
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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.Option10
call esi
mov ax, word [ebp - 0xcc]
cmp ax, 0x31
jne 0x40d95b
push str.Key_
push 0
push 0xc
push dword [0x45d5a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d9f8], 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 0x40d985
push str.ConfigNumpadEdit.ini
push 0x447864
push 0x4476d8
push str.Option10
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.Numpad_1
jmp 0x40cfd2
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0043847c
mov esp, ebp
pop ebp
ret