Function at 0x405350
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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
je 0x40606c
push str.ConfigNumpadEdit.ini
push 0x64
lea eax, [ebp - 0xcc]
push eax
push str.Key_Not_Found
push 0x447638
push str.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405411
push str.Numpad_2
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40546d
push str.Numpad_3
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4054c9
push str.Numpad_4
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405525
push str.Numpad_5
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405581
push str.Numpad_6
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4055dd
push str.Numpad_7
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405639
push str.Numpad_8
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405695
push str.Numpad_9
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4056f1
push str.Numpad_0
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x40574d
push str.Numpad_
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4057a9
push str.Numpad__
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405805
push str.Key_F1
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405861
push str.Key_F2
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4058bd
push str.Key_F3
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405919
push str.Key_F4
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405975
push str.Key_F5
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x4059d1
push str.Key_F6
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405a2d
push str.Key_F7
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405a89
push str.Key_F8
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405ae5
push str.Key_F9
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405b41
push str.Key_F10
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405b9d
push str.Key_F11
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405bf9
push str.Key_F12
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405c55
push str.Key_1
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405cb1
push str.Key_2
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405d0d
push 0x44a15c
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405d69
push str.Key_4
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405dc5
push str.Key_5
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405e21
push str.Key_6
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405e7d
push str.Key_7
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405ed9
push str.Key_8
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405f35
push str.Key_9
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405f91
push str.Key_0
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
cmp word [ebp - 0xcc], 0x31
jne 0x405fed
push str.Key__
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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.Option1
call esi
mov ax, word [ebp - 0xcc]
cmp ax, 0x31
jne 0x40604c
push str.Key_
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 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 0x40609f
push str.ConfigNumpadEdit.ini
push 0x447864
push 0x447614
push str.Option1
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.Numpad_1
push 0
push 0xc
push dword [0x45da04]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d5b8], 0x61
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043847c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0043847c
mov esp, ebp
pop ebp
ret